Merge from trunk
[emacs.git] / lisp / ChangeLog.trunk
blob05c765e08818a986bf21cd5da8de75804648f4d8
1 2011-02-21  Michael Albinus  <michael.albinus@gmx.de>
3         * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
4         `field' property of `rfn-eshadow-overlay'.
6 2011-02-21  Lars Ingebrigtsen  <larsi@gnus.org>
8         * net/netrc.el (netrc-parse): Comment fix.
10 2011-02-21  Chong Yidong  <cyd@stupidchicken.com>
12         * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
13         Autoload.  Add optional arg FRAME, and pass it to color-values.
14         (color-complement): Caller changed.  Doc fix.
15         (color-gradient): Rewrite for better clarity and efficiency.
17         * faces.el (color-values): Use cond for clarity.  Doc fix.
19         * facemenu.el (color-rgb-to-hsv): Deleted; use the version in
20         color.el instead.
21         (list-colors-sort-key, list-colors-print): Use
22         color-normalized-values.
24 2011-02-20  Drew Adams  <drew.adams@oracle.com>
26         * color.el: First part of merge from hexrgb.el.
27         (color-rgb-to-hex): Rename from color-rgb->hex.
28         (color-rgb-to-hsv): Rename from color-rgb->hsv.  Force hue and
29         saturation to zero if the value is too small.
30         (color-rgb-to-hsl): Rename from color-rgb->hsl.
31         (color-srgb-to-xyz): Rename from color-srgb->xyz.  Doc fix.
32         (color-xyz-to-srgb): Rename from color-xyz->srgb.  Doc fix.
33         (color-xyz-to-lab): Rename from color-xyz->lab.  Doc fix.
34         (color-lab-to-xyz): Rename from color-lab->xyz.  Doc fix.
35         (color-lab-to-srgb): Rename from color-lab->srgb.  Doc fix.
36         (color-cie-de2000): Doc fix.
38 2011-02-20  Alan Mackenzie  <acm@muc.de>
40         * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
41         locating the beginning of a macro.  (Bug#7595)
43 2011-02-20  Glenn Morris  <rgm@gnu.org>
45         * edmacro.el (edmacro-eight-bits): Make it a defcustom.
46         Don't autoload it.
48         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
49         (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
51 2011-02-19  Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
52             Dima Kogan <dkogan@cds.caltech.edu>  (tiny change)
54         * progmodes/hideshow.el (hs-find-block-beginning)
55         (hs-hide-level-recursive): Ignore comments when parsing braces
56         (Bug#8036).
58 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
60         * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
61         (vc-bzr-pull): Use it.
63 2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
65         * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
66         (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
67         but returning an alist.  Ignore comments in bzr conffile.
68         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
69         (vc-bzr-error-regex-alist): New var.
70         (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
72         * vc/vc-dispatcher.el (vc-do-async-command): Bind
73         inhibit-read-only to t.
75         * progmodes/compile.el (compilation--flush-directory-cache):
76         Handle the case where cdr of compilation--flush-directory-cache
77         points to no buffer, which can occur if we previously switched to
78         compilation-mode in a pregenerated buffer.
80 2011-02-19  Kenichi Handa  <handa@m17n.org>
82         * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
83         get the header copy into the temporary buffer.
84         (rmail-mime-insert-decoded-text): Ignore us-ascii.
85         (rmail-show-mime): When rmail-mime-coding-system is nil, set
86         buffer-file-coding-system to undecided.
88 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
90         * international/mule-cmds.el (read-char-by-name, ucs-insert):
91         Document completion with asterisk and a substring.
93 2011-02-19  Glenn Morris  <rgm@gnu.org>
95         * files.el (find-file-literally): Doc fix.
97         * simple.el (rfc822-goto-eoh): Give it a doc-string.
99         * log-edit.el (log-edit-insert-changelog):
100         Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
102 2011-02-19  Glenn Morris  <rgm@gnu.org>
104         * dired-x.el: Don't require dired-aux.
105         (dired-do-create-files, dired-mark-read-regexp)
106         (dired-do-create-files-regexp): Autoload from dired-aux.
108         * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
109         * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
111         * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
112         * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
114         * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
115         * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
116         (dired-clean-up-buffers-too): Declare.
118         * dired-x.el (dired-initial-position): Merge into dired.el's version.
119         * dired.el (dired-initial-position): Merge dired-x's version here.
120         (dired-find-subdir): Declare.
122         * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
123         * dired-aux.el (dired-add-entry): Give it a doc-string.
124         Merge dired-x's dired-omit handling here.
125         (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
127         * international/mule-diag.el (list-input-methods-1):
128         Indent all lines of multi-line doc-strings.  (Bug#8066)
130 2011-02-18  Chong Yidong  <cyd@stupidchicken.com>
132         Fix 2011-02-02 changes.
134         * apropos.el (apropos-print): Call apropos-mode before setting up
135         buffer variables.  Use inhibit-read-only.
137         * emacs-lisp/package.el (package--list-packages): Call
138         package-menu-mode before setting up buffer variables.
140         * play/solitaire.el (solitaire): Call solitaire-mode before
141         setting up buffer variables.  Use inhibit-read-only.
143 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
145         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
146         Bind case-fold-search to nil when looking for end of here-doc.
148 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
150         * image-mode.el (image-toggle-display-image):
151         Set find-file-literally non-nil in buffers visiting binary image
152         files.  (Bug#8047)
154 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
156         * files.el (cd): Make completion obey cd-path (bug#7924).
158 2011-02-18  Glenn Morris  <rgm@gnu.org>
160         * progmodes/prolog.el: Don't require compile when compiling.
161         (compilation-shell-minor-mode, compilation-error-regexp-alist)
162         (compilation-forget-errors, compilation-fake-loc)
163         (compilation-parse-errors-function, compilation-error-list): Declare.
164         (prolog-inferior-mode): Require 'compile.
166         * emulation/cua-base.el (pc-selection-mode): Declare.
168         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
169         (customize-object): Add autoload cookie.
170         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
171         (eieio-browse, describe-class, eieio-describe-class)
172         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
173         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
174         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
175         * Makefile.in (autoloads): Make eieio.el writable.
177         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
178         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
179         (dired-hack-local-variables): Use inhibit-read-only.
180         (dired-guess-default): Simplify.
181         (dired-make-relative-symlink): Use dotimes.
182         (dired-simultaneous-find-file): Use dolist.
183         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
184         (dired-x-hands-off-my-keys): Doc fix.
185         (dired-x-bind-find-file): Doc fix.  Use remapping.
186         (after-init-hook): No need to add dired-x-bind-find-file.
187         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
188         No need to call expand-file-name.
189         (dired-filename-at-point): Remove unused locals `end', `filename'.
191 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
193         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
195 2011-02-18  Christian Ohler  <ohler@gnu.org>
197         * emacs-lisp/ert.el (ert--setup-results-buffer)
198         (ert-results-pop-to-backtrace-for-test-at-point)
199         (ert-results-pop-to-messages-for-test-at-point)
200         (ert-results-pop-to-should-forms-for-test-at-point)
201         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
202         were incorrect and unnecessary.  This should make `make check'
203         pass again.
205 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
207         * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
208         (allout-widgets-icons-dark-subdir): Track relocations of icons
209         * lisp/allout.el: Remove commentary about remove encryption
210         passphrase mnemonic support and verification.
211         (allout-encrypt-string): (allout-encrypt-string): Recognize epg
212         failure to decrypt gpg2 armored text using gpg1, and indicate that
213         the gpg version *might* be the problem in the error message.
215 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
217         * net/rcirc.el (rcirc-float-time): New function.
218         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
219         (rcirc-ctcp-sender-PING): Use it.
221 2011-02-17  Glenn Morris  <rgm@gnu.org>
223         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
224         (speedbar-update-flag, speedbar-fetch-etags-command)
225         (speedbar-fetch-etags-arguments):
226         * term.el (term-buffer-maximum-size, term-input-chunk-size)
227         (term-completion-autolist, term-completion-addsuffix)
228         (term-completion-recexact, term-completion-fignore):
229         * term/sup-mouse.el (sup-mouse-fast-select-window):
230         * term/x-win.el (x-select-request-type):
231         Convert some defvars with "*" to defcustoms.
233         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
235         * vc/vc.el (vc-default-previous-version):
236         Remove alias that points nowhere.  (Bug#4496)
238         * dired-x.el (dired-clean-up-after-deletion):
239         kill-buffer does not need save-excursion.
240         (dired-do-run-mail): Doc fix.
241         (dired-filename-at-point): Doc fix.
242         Use looking-at, and skip-chars rather than re search.
244         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
246 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
248         * allout-widgets.el: New allout extension that shows allout
249         outline structure with graphical widgets.  'allout-widgets'
250         customize group is an 'allout' subgroup, for easy discovery.
252         * allout.el: Include PGP and GnuPG in Keywords, and other
253         commentary refinements.
254         (allout-abbreviate-flattened-numbering): Rename to
255         allout-flattened-numbering-abbreviation, and
256         define-obsolete-variable-alias the old name.
257         (allout-flattened-numbering-abbreviation): Rename from
258         allout-abbreviate-flattened-numbering.
259         (allout-mode-p): Include among autoloads, for use by other modes
260         with impunity.
261         (allout-listify-exposed):
262         Use allout-flattened-numbering-abbreviation.
263         (allout-encrypt-string): Use set-buffer-multibyte directly.
264         (allout-set-buffer-multibyte): Remove.
266 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
268         * simple.el (just-one-space): Remove useless `or' call.
270 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
272         * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
273         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
274         (soap-decoded-multi-refs, soap-current-wsdl)
275         (soap-encoded-namespaces): Rename CL-style *...* variables.
277 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
279         * net/soap-client.el: Add "comm" and "hypermedia" to the
280         keywords.  Reflow too long lines.
282         * net/soap-inspect.el: Ditto.  Require 'cl.
284 2011-02-16  Bastien Guerry  <bzg@altern.org>
286         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
287         in a `doctor-type' argument.
289 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
291         * net/soap-client.el:
292         * net/soap-inspect.el: New files.
294 2011-02-16  Leo  <sdl.web@gmail.com>
296         * dired-x.el (dired-mode-map, dired-extra-startup):
297         Remove dired-copy-filename-as-kill since it's already in dired.el.
299 2011-02-16  Glenn Morris  <rgm@gnu.org>
301         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
302         Doc fixes.  Add :set property, replacing top-level calls.
303         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
304         (dired-guess-shell-gnutar): Test tar version rather than system-type.
305         (dired-extra-startup, dired-man, dired-info): Doc fixes.
306         (dired-clean-up-after-deletion): Use when and dolist.
307         (dired-jump): Use unless and when.
308         (dired-virtual): Use line-end-position.
309         (dired-default-directory-alist): Rename from default-directory-alist.
310         (dired-default-directory): Update for above name change.
311         (dired-vm): Drop VM < 5 and simplify.
312         (dired-buffer-more-recently-used-p): Rewrite.
313         (dired-filename-at-point): Use when and or.
314         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
315         Update callers.
317 2011-02-15  Glenn Morris  <rgm@gnu.org>
319         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
321 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
323         * vc/vc-git.el (vc-git-root-log-format): New option for
324         customizing log format.
325         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
326         (vc-git-log-view-mode): Use it.
327         (vc-git-expanded-log-entry): New function.
328         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
330         * vc/vc-hg.el (vc-hg-root-log-template): New option for
331         customizing log format.
332         (vc-hg-print-log): Use it.
333         (vc-hg-expanded-log-entry): New function.
334         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
335         vc-hg-expanded-log-entry.  Truncate lines in root log.
337         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
339         * vc/log-view.el (log-view-mode-menu):
340         Add log-view-toggle-entry-display.
342 2011-02-14  Glenn Morris  <rgm@gnu.org>
344         * dired-x.el: Don't require man when compiling.
345         (dired-omit-extensions, dired-local-variables-file)
346         (dired-x-hands-off-my-keys): Make them defcustoms.
347         (Man-support-local-filenames, Man-getpage-in-background): Declare.
348         (vm-visit-folder): Declare rather than defining.
349         (dired-x-help-address, dired-x-variable-list): Remove.
350         (dired-x-submit-report): Make it an obsolete alias.
352 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
354         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
356 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
358         * net/imap.el: Bring it back.
360 2011-02-13  Alan Mackenzie  <acm@muc.de>
362         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
363         narrow-to-region call that cuts context off the end (Bug#7722).
365         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
366         Refactor nested if-forms with a simple cond.
367         (c-forward-<>-arglist): Revert 2011-01-31 change.
369 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
371         * vc/log-view.el: New command log-view-toggle-entry-display for
372         toggling log entries between concise and detailed forms.
373         (log-view-toggle-entry-display): New command.
374         (log-view-mode-map): Bind RET to it.
375         (log-view-expanded-log-entry-function): New variable.
376         (log-view-current-entry, log-view-inside-comment-p)
377         (log-view-current-tag): New functions.
378         (log-view-toggle-mark-entry): Use log-view-current-entry and
379         log-view-end-of-defun instead of searching directly with
380         log-view-message-re.
381         (log-view-end-of-defun): Likewise.  Add optional ARG for
382         compatibility with end-of-defun.
383         (log-view-end-of-defun): Ignore comments and VC buttons.
385         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
386         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
388 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
390         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
392         * net/imap-hash.el: Remove file.
394 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
396         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
398         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
399         call.
401         * net/tramp-imap.el: Remove file.
403 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
405         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
406         widget library for buttons, just use button.el.
408         * vc/log-view.el (log-view-mode-map): Don't inherit from
409         widget-keymap.
411 2011-02-12  Glenn Morris  <rgm@gnu.org>
413         * emacs-lisp/cl-seq.el (union, nunion, intersection)
414         (nintersection, set-difference, nset-difference)
415         (set-exclusive-or, nset-exclusive-or): Doc fix.
417         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
419         * faces.el (face-attr-match-p): Handle the obsolete :bold and
420         :italic props, so that frame-set-background-mode works.  (Bug#7966)
422         * simple.el (next-error): Doc fix.
424 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
426         * dired-aux.el (dired-create-files): Adapt destination name to
427         match the new behavior of copy-directory.
429 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
431         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
432         from rmail-dont-reply-to-names.  Callers changed.
433         (mail-dont-reply-to): Rename from mail-dont-reply-to.
434         (rmail-dont-reply-to): Make it an obsolete alias.
436         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
437         nil, and make obsolete (Bug#7888).
438         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
440         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
442         * mail/rmailsort.el (rmail-sort-by-correspondent)
443         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
445         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
447 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
449         * files.el (copy-directory): New argument COPY-CONTENTS for
450         copying directory contents into another existing directory.
452 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
454         * minibuffer.el (completion-table-case-fold): New function for
455         creating a case-insensitive completion table.
457 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
459         * net/tramp.el (tramp-default-method): Also check if
460         `auth-source-search' is bound.
461         (tramp-read-passwd): Use `auth-source-search' instead of
462         `auto-source-user-or-password'.
464         * net/tramp-imap.el: Autoload `auto-source-search' instead of
465         `auto-source-user-or-password.
466         (tramp-imap-passphrase-callback-function): Use it.
468         * net/imap-hash.el: Autoload `auto-source-search' instead of
469         `auto-source-user-or-password.
470         (imap-hash-open-connection): Use it.
472         * mail/smtpmail.el: Autoload `auto-source-search' instead of
473         `auto-source-user-or-password.
474         (smtpmail-try-auth-methods): Use it.
476 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
478         * emacs-lisp/package.el: Allow packages to be reinstalled.
479         (package--write-file-no-coding): Remove EXCL arg.
480         (package-unpack-single): Don't use it.
482 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
484         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
485         in each sub directory.
486         (vc-svn-registered): Use vc-svn-root.
487         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
488         (vc-svn-repository-hostname): Use "svn info".
490 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
492         * simple.el (delete-trailing-whitespace): New optional buffer
493         bound parameters.
495 2011-02-11  Bastien Guerry  <bzg@altern.org>
497         * files.el (basic-save-buffer): save unmodified buffers when
498         the file pointed by buffer-file-name doesn't exist.
500 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
502         * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
504 2011-02-11  Glenn Morris  <rgm@gnu.org>
506         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
508 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
510         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
512 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
514         * server.el (server-process-filter): Use pcase.
516         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
517         conflicting ways.
518         (smie-indent--parent): Extend to "parent of arg".
519         (smie-indent-inside-string): New function.
520         (smie-indent-functions): Use it.
522         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
523         bzr locking race condition.
525         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
526         still valid before using it.
528         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
529         `message' -> `compilation-message' rename (bug#8004).
531         Move keymap initialization into declaration.
532         * textmodes/enriched.el (enriched-mode-map):
533         * textmodes/bib-mode.el (bib-mode-map):
534         * term/lk201.el (lk201-function-map):
535         * tar-mode.el (tar-mode-map):
536         * replace.el (occur-mode-map):
537         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
538         * progmodes/idlw-help.el (idlwave-help-mode-map):
539         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
540         * play/solitaire.el (solitaire-mode-map):
541         * play/snake.el (snake-mode-map, snake-null-map):
542         * play/pong.el (pong-mode-map):
543         * play/handwrite.el (menu-bar-handwrite-map):
544         * play/gametree.el (gametree-mode-map):
545         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
546         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
547         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
548         (newsticker--url-keymap):
549         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
550         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
551         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
552         (menu-bar-edit-menu, menu-bar-custom-menu)
553         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
554         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
555         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
556         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
557         (menu-bar-tools-menu, menu-bar-describe-menu)
558         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
559         (menu-bar-help-menu):
560         * mail/rmailsum.el (rmail-summary-mode-map):
561         * kmacro.el (kmacro-step-edit-map):
562         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
563         (ibuffer-mode-operate-map):
564         * hi-lock.el (hi-lock-menu, hi-lock-map):
565         * emulation/vip.el (vip-mode-map):
566         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
567         * bookmark.el (bookmark-bmenu-mode-map):
568         * help-mode.el (help-mode-map): Move initialization into declaration.
570 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
572         * net/rcirc.el: Add PRIVMSG and CTCP functions.
573         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
574         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
575         (rcirc-cmd-me, rcirc-authenticate): Use them.
577 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
579         * allout.el: Synopsis: Change allout user configuration so
580         auto-activation is controlled solely by customization
581         `allout-auto-activation'.
583         (allout-auto-activation-helper) (allout-setup): New autoloads
584         implement new custom set procedure for allout-auto-activation.
585         Also, explicitly invoke
586         (allout-setup) after allout-auto-activation is custom-defined, to
587         effect the settings in emacs sessions besides the few where
588         allout-auto-activation customization is donea.
589         (allout-auto-activation): Use allout-auto-activation-helper to
590         :set.  Revise the docstring.
591         (allout-init): Reduce functionality to just customizing
592         allout-auto-activation, and mark obsolete.
593         (allout-mode): Respect string values for allout-auto-activation.
594         Run allout-after-copy-or-kill-hook without any args.
595         (allout-mode) (allout-layout) (allout-default-layout)
596         (outlineify-sticky): Adjust docstring for new scheme.
597         (allout-after-copy-or-kill-hook): No arguments - hook implementers
598         should concentrate on the kill ring.
600 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
602         * password-cache.el (password-cache-remove): Accept secrets that are
603         not strings.
605 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
607         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
608         of here-doc that immediately follows a comment.
610 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
612         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
614         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
615         available.
616         (rcirc-ctcp-sender-PING): New function.
618 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
620         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
621         Remove the mark/nomark handling, and activate shift-select-mode instead.
623         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
625 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
627         * calc/calc-units.el (math-logunits-quant): Add support for
628         non-logarithmic units.
630 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
632         * allout.el (allout-after-copy-or-kill-hook): New hook for
633         extension-specific processing of killed text.
634         (allout-mode): Include new allout-after-copy-or-kill-hook among
635         mentioned hooks.
636         (allout-kill-line) (allout-kill-topic): Ensure that processing
637         after kill happens even if barf-if-buffer-read-only is raised.
638         Include new allout-after-copy-or-kill-hook among that subsequent
639         processing.
640         (allout-deannotate-hidden): Actually remove the annotation text
641         properties.
643         * allout.el (allout-listify-exposed): Copy text sans text properties.
645 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
647         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
649 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
651         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
653 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
655         * calc/calc.el (calc-logunits-field-reference): Rename from
656         `calc-default-field-reference-level'.
657         (calc-logunits-power-reference): Rename from
658         `calc-default-power-reference-level'
660         * calc/calc-units.el (math-logunits-quant): Rename from
661         `math-logunits-level'
662         (math-logunits-plus): Rename from math-logcombine.
663         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
664         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
665         (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
666         New functions.
667         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
668         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
669         (calc-logunits-quantity): Rename from `calc-level'.
670         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
671         (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
672         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
673         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
674         (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
675         New functions.
677         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
678         (calc-ul-prefix-help): Remove.
679         (calc-l-prefix-help): New function.
680         (calc-full-help): Add reference to `calc-l-prefix-help'.
682         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
684         * calc/README: Mention logarithmic units.
686 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
688         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
689         non-ASCII characters (Bug#7925).
691 2011-02-05  Glenn Morris  <rgm@gnu.org>
693         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
695         * calendar/diary-lib.el (diary-font-lock-keywords):
696         Tweak diary-time-regexp match.  (Bug#7891)
698         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
699         (f90-mode): Use it for mode's `find-tag-default-function' property.
701         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
703         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
705 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
707         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
708         (Bug#6386).
710 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
712         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
713         font-lock-syntax-table remappings.
714         (sh-here-doc-markers, sh-here-doc-re): Remove.
715         (sh-font-lock-close-heredoc): Remove.
716         (sh-syntax-propertize-here-doc): New function.
717         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
718         instead of the sh-here-doc-re.
719         (sh-font-lock-paren): Don't do anything in comments or strings.
720         Handle line continuations.  Accept a few more chars.
721         Don't rely on the font-lock-syntax-table remappings.
722         `esac' is not a valid pattern.
723         (sh-syntax-propertize-function): Handle here-docs differently, so we
724         don't bother syntax-propertizing the insides.
726         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
727         Handle new bashisms ";&" and ";;&" (bug#7947).
729 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
731         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
732         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
734 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
736         * net/tramp.el (tramp-postfix-method-format)
737         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
738         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
739         (tramp-postfix-user-regexp, tramp-prefix-port-format)
740         (tramp-prefix-port-regexp, tramp-postfix-host-format)
741         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
742         Doc fix.
744 2011-02-04  Sam Steingold  <sds@gnu.org>
746         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
748 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
750         * international/mule-util.el (with-coding-priority): Doc fix.
752 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
754         * arc-mode.el (archive-mode-map): Fix a typo in last change.
756 2011-02-03  Sam Steingold  <sds@gnu.org>
758         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
759         Do not error out when `func' is nil.
761 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
763         * net/tramp-sh.el (tramp-remote-path): Add default settings for
764         `tramp-default-remote-path' to the docstring.
765         (tramp-get-remote-path): Suppress error message when `getconf
766         PATH' fails.
768         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
770 2011-02-03  Glenn Morris  <rgm@gnu.org>
772         * vc/vc-hg.el (vc-hg-command): Doc fix.
774         * term/w32-win.el (libpng-version): Declare for compiler.
776         * msb.el: No need to load dired while compiling.
778         * emacs-lisp/elint.el (elint-standard-variables):
779         Remove a couple of built-ins that now have doc-strings.
781         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
782         `require' is automatically `eval-and-compile'd.
784         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
785         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
787         * strokes.el (strokes-fill-current-buffer-with-whitespace):
788         Move definition before use.
789         (strokes-report-bug): Make it obsolete.
791 2011-02-02  Sam Steingold  <sds@gnu.org>
793         * apropos.el (apropos-print): Now that `apropos-mode' inherits
794         from `special-mode', entering it makes the buffer read-only, so
795         call it only when everything has been already inserted.
796         * emacs-lisp/ert.el (ert--setup-results-buffer)
797         (ert-results-pop-to-backtrace-for-test-at-point)
798         (ert-results-pop-to-messages-for-test-at-point)
799         (ert-results-pop-to-timings): Ditto.
800         * emacs-lisp/package.el (package--list-packages): Ditto.
801         * play/solitaire.el (solitaire): Ditto.
803 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
805         * progmodes/compile.el: Make all faces inherit.
806         (compilation-warning): Inherit from font-lock-variable-name-face.
807         (compilation-info): Inherit from font-lock-type-face.
808         (compilation-line-number): Reassign to font-lock-keyword-face.
809         (compilation-column-number): Reassign to font-lock-doc-face.
810         (compilation-leave-directory-face): Reassign to
811         font-lock-builtin-face.
813 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
815         * dired.el (dired-insert-directory): Don't invoke `ls' when
816         ls-lisp.el is used to emulate it.
818 2011-02-01  Julien Danjou  <julien@danjou.info>
820         * color.el (color-gradient): Add a color-gradient function.
822 2011-02-01  Sam Steingold  <sds@gnu.org>
824         * simple.el (special-mode-map): Bind "h" to `describe-mode';
825         bind "z" to `kill-this-buffer'.
826         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
827         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
828         (apropos-mode): Inherit from `special-mode'.
829         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
830         * bookmark.el (bookmark-bmenu-mode): Define using
831         `define-derived-mode' inheriting from `special-mode'.
832         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
833         * image-mode.el (image-mode-map): Ditto.
834         * replace.el (occur-mode): Define using
835         `define-derived-mode' inheriting from `special-mode'.
836         * tar-mode.el (tar-mode): Inherit from `special-mode'.
837         * calendar/diary-lib.el (diary-fancy-display-mode):
838         Inherit from `special-mode-map'.
839         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
840         Inherit from `special-mode'.
841         * emacs-lisp/package.el (package-menu-mode-map): Copy from
842         `special-mode-map'.
843         (package-menu-mode): Define using `define-derived-mode'
844         inheriting from `special-mode'.
845         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
846         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
847         (xesam-mode-map): Define separately.
848         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
849         * progmodes/compile.el (compilation-minor-mode-map)
850         (compilation-mode-map): Inherit from `special-mode-map'.
851         * vc/diff-mode.el (diff-mode-shared-map):
852         Inherit from `special-mode-map'.
853         * vc/log-view.el (log-view-mode-map): Add a comment.
855 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
857         * custom.el (load-theme): Define return value.  Drop use of
858         unsafep; call custom-theme-load-confirm for non-known-safe themes.
859         (custom-theme-load-confirm): Scroll in the correct window.
860         (custom-enabled-themes): Add custom-safe-themes to :set-after.
862         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
863         checkbox if load-theme fails.
865 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
867         * progmodes/compile.el (compilation-next-error): Check there's
868         a message before using it (bug#7941).
870 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
872         * calc/calc-mtx.el (math-lud-pivot-check): New function.
873         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
874         of potential pivots.
876 2011-01-31  Alan Mackenzie  <acm@muc.de>
878         * progmodes/cc-cmds.el (c-forward-over-illiterals):
879         Continue parsing if we encounter a naked # (Bug#7595).
880         (c-beginning-of-statement): Avoid loop in locating the beginning
881         of a macro.  (Not actually committed until 2011-02-20, see above).
883 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
885         * files.el (copy-directory): Fix arguments to recursive call.
887 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
889         * files.el (copy-directory): If destination is an existing
890         directory, copy into a subdirectory there.
892 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
894         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
895         files.
897 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
899         * image-dired.el (image-dired-mouse-display-image): No-op if no
900         file is found (Bug#7817).
902         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
904 2011-01-31  Kenichi Handa  <handa@m17n.org>
906         * international/quail.el (quail-keyboard-layout-alist):
907         Remove superfluous SPC for "pc105-uk" (bug#7927).
909 2011-01-31  Glenn Morris  <rgm@gnu.org>
911         * msb.el (msb-menu-bar-update-buffers): Update for changed
912         argument handling of menu-bar-select-frame.  (Bug#7902)
914 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
916         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
917         to the recursion depth (Bug#7722).
919 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
921         * term/ns-win.el (ns-find-file): Expand ns-input-file with
922         command-line-default-directory (Bug#7872).
924 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
926         * progmodes/compile.el (compilation--flush-directory-cache):
927         New function, extracted from compilation--remove-properties.
928         (compilation--remove-properties, compilation--parse-region): Use it.
929         (compilation--previous-directory): Handle one more case.
930         (compilation-enable-debug-messages): Remove.
931         (compilation-parse-errors, compilation--flush-parse): Just remove the
932         left over debug messages.
934 2011-01-31  Sam Steingold  <sds@gnu.org>
936         * progmodes/compile.el (compilation-enable-debug-messages):
937         Add a variable to make the parsing messages introduced in
938         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
939         (compilation-parse-errors, compilation--flush-parse): Use it.
941 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
943         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
944         (rcirc-nick-completion-format): New defcustom.
945         (rcirc-complete): Use it.
947 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
949         * net/rcirc.el: Clean log filenames (Bug#7933).
950         (rcirc-log-write): Use convert-standard-filename.
951         (rcirc-log-filename-function): Documentation updates.
953 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
955         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
956         Check report-emacs-bug-can-use-osx-open and use that if t.
957         (report-emacs-bug-can-use-osx-open): New function.
958         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
959         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
961 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
963         * vc/vc-dispatcher.el (vc-set-async-update): New function for
964         updating Dired or VC-dir buffers after async command completes.
966         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
967         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
969         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
970         completions if it exists.  Use vc-set-async-update.
971         (vc-git-pull): Use vc-set-async-update.
973         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
974         read-shell-command.  Use vc-set-async-update.
975         (vc-hg-merge-branch): Use vc-set-async-update.
977 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
979         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
980         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
981         (Bug#7931).
983 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
985         * progmodes/compile.el: Avoid an N² behavior in grep.
986         (compilation--previous-directory): New fun.
987         (compilation--previous-directory-cache): New var.
988         (compilation--remove-properties): Flush it.
989         (compilation-directory-properties, compilation-error-properties):
990         Use the new fun to speed up looking for the current directory.
992 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
994         * vc/vc-hg.el (vc-hg-history): New var.
995         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
996         (vc-hg-merge-branch): New function.
998         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
999         the other way around.
1001         * vc/vc-git.el (vc-git-branches, vc-git-pull)
1002         (vc-git-merge-branch): New functions.
1003         (vc-git-history): New var.
1005 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1007         * vc/vc-dispatcher.el (vc-do-async-command): New function.
1009         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1010         vc-do-async-command.
1012         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1013         Callers changed.
1015 2011-01-28  Leo  <sdl.web@gmail.com>
1017         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1018         highlighting to the "this function is advised" message.
1020         * help-mode.el (help-mode-finish): Apply highlighting here, to
1021         avoid clobbering by substitute-command-keys (Bug#6304).
1023 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1025         * woman.el (woman0-roff-buffer): Process roff escape sequences
1026         occurring prior to the first request (Bug#7843).
1028 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1030         * progmodes/compile.el: Don't use font-lock any more.
1031         (compilation-error-regexp-alist-alist): Change handling of makepp
1032         so it preserves the warning/error distinction on subsequent files.
1033         Simplify various rules.
1034         (compilation-directory-properties): Use font-lock-face.
1035         Add a compilation-message property.
1036         (compilation-internal-error-properties): Use font-lock-face.
1037         Don't set the compilation-debug property here.
1038         (compilation--put-prop, compilation--remove-properties)
1039         (compilation--parse-region, compilation--ensure-parse)
1040         (compilation--ensure-parse): New functions.
1041         (compilation-parse-errors): New function, largely inspired of
1042         compilation-mode-font-lock-keywords.  Set compilation-debug here.
1043         (compilation--parsed): New var.
1044         (compilation--flush-parse): Use compilation--ensure-parse.
1045         (compilation-start): Don't call font-lock.
1046         (compilation-turn-on-font-lock): Remove.
1047         (compilation-setup): Don't set font-lock-extra-managed-props not change
1048         other font-lock settings, other than keywords.
1049         Don't activate font-lock-mode.
1050         Set change-major-mode-hook and before-change-functions.
1051         (compilation--unsetup): Remove properties and hooks.
1052         (compilation-next-single-property-change): New function.
1053         (compilation-next-error): Use it to parse when needed.
1054         (compile-goto-error): Parse buffer as needed.
1055         (compilation--compat-error-properties): Don't need a dummy `face'
1056         property any more.
1058 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1060         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
1061         (compilation-process-setup-function): Fix docstring's false promises.
1062         (compilation-error-regexp-alist-alist): Catch omake's continuous
1063         recompilation message and avoid reuse of old markers.
1064         (compilation-parse-errors-function): Declare obsolete.
1065         (compilation-buffer-modtime): Remove.
1066         (compilation--make-cdrloc, compilation--loc->col)
1067         (compilation--loc->line, compilation--loc->file-struct)
1068         (compilation--loc->marker, compilation--loc->visited)
1069         (compilation--make-file-struct, compilation--file-struct->file-spec)
1070         (compilation--file-struct->formats)
1071         (compilation--file-struct->loc-tree): New macros.  Use them.
1072         (compilation--message): New defstruct.  Use them.
1073         (compilation-next-error-function): Don't mess with timestamps to try
1074         and guess when to reparse.
1076 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1078         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
1079         (tex-old-error-file-name): New function,
1080         extracted from tex-compilation-parse-errors.
1081         (tex-compilation-parse-errors): Remove.
1082         (tex-error-regexp-alist): New var.
1083         (tex-shell): Use it to avoid compilation-parse-errors-function.
1085         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
1086         (grep-mode-font-lock-keywords): Remove regexp that seems like
1087         a left-over from before we used compile.el.
1088         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
1089         modifying the buffer within with-silent-modifications.
1091         * progmodes/compile.el: Cleanup text-properties namespace by using
1092         `compilation-message' instead of `message', `compilation-directory'
1093         instead of `directory', and `compilation-debug' instead of `debug'.
1094         (compilation-last-buffer, compilation-parsing-end)
1095         (compilation-error-list, compilation-old-error-list): Move to the
1096         compatibility part of the code.
1097         (compilation-error-properties): If `file' is a function, let it return
1098         a file name.
1099         (compilation-mode-font-lock-keywords): Be more conservative with the
1100         omake "^ *" pattern prefix, to try and minimize the risk of
1101         pathologically slow regexp matching.
1102         (compilation-start): Use inhibit-read-only.
1103         (compilation--unsetup): New function.
1104         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
1105         (compilation-filter): Minor tweaks.
1106         (compilation-next-error-function): Try and avoid abusing variables.
1107         (compilation--flush-file-structure): New fun.
1108         (compilation-fake-loc): Use it to improve behavior when file is reused.
1109         (debug-ignored-errors): Add "Moved past last ...".
1110         (compilation--compat-error-properties)
1111         (compilation--compat-parse-errors): Rename by doubling the "-".
1113         Port features from the previous prolog.el to the new one.
1114         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
1115         (prolog-program-name, prolog-program-switches, prolog-consult-string)
1116         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
1117         variable and use a function to compute the value dynamically.
1118         (prolog-prompt-regexp): Add regexp for GNU Prolog.
1119         (prolog-continued-prompt-regexp): Remove, unused.
1120         (prolog-find-value-by-system): Try and use the value of prolog-system
1121         in the *prolog* buffer if it helps.
1122         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
1123         (prolog-zip-on): ..and check prolog-system and version here instead.
1124         (prolog-inferior-self-insert-command): New command.
1125         (prolog-inferior-mode-map): Use it.
1126         (prolog-inferior-error-regexp-alist): New var.
1127         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
1128         (prolog-input-filter): Use derived-mode-p.
1129         (prolog-inferior-guess-flavor): New function.
1130         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
1131         make-comint to avoid running comint-mode twice.
1132         (prolog-inferior-buffer): New fun.
1133         (prolog-old-process-region, prolog-old-process-file):
1134         Don't call prolog-bsts here...
1135         (prolog-build-prolog-command): ...do it here instead.
1136         (prolog-old-process-region, prolog-old-process-file):
1137         Use compilation-fake-loc and compilation-forget-errors.
1138         (prolog-consult-compile-region): Use bolp.
1140 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1142         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1144 2011-01-27  Sam Steingold  <sds@gnu.org>
1146         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1147         Remove "*server*" which is never created by emacs server.
1149 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1151         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1152         there are some diff switches.
1154 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1156         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1157         Copy change made to ruby-font-lock-syntactic-keywords.
1159         * htmlfontify.el: Make it obey the font-lock-face text property.
1160         Miscellaneous cleanup such as:
1161         - Don't hide expressions after a closing paren.
1162         - Move initial setq into let.
1163         - Hoist common parts out of ifs.
1164         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1165         (hfy-face-at): Use get-text-property instead.
1166         (hfy-prop-invisible-p): Use invisible-p if available.
1167         (htmlfontify-manual): Use \\[...].
1168         (hfy-html-quote-regex): Use [...].
1169         (hfy-combined-face-spec): Simplify.
1170         (hfy-compile-face-map): Don't presume point-min==1.
1171         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1172         match end of string.
1173         (hfy-text-p): η-reduce.
1174         (hfy-tags-for-file): Receive cache-hash directly.
1175         (hfy-mark-tag-names): Adjust call.
1177 2011-01-27  Glenn Morris  <rgm@gnu.org>
1179         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1180         (msb-after-load-hook): Remove eval-after-load wackiness.
1182 2011-01-25  Sam Steingold  <sds@gnu.org>
1184         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1185         literal "diff" (important for windows-nt).
1187 2011-01-25  Glenn Morris  <rgm@gnu.org>
1189         * emacs-lisp/copyright.el (copyright-at-end-flag)
1190         (copyright-names-regexp): Add safety properties.
1191         (copyright-year-ranges): New option.
1192         (copyright-find-end): New function, split from copyright-update-year.
1193         (copyright-update-year): Use copyright-find-end.
1194         (copyright-fix-years): Optionally, convert years to ranges.
1195         Handle years continued over comment lines.
1196         Do not mess with the fill-prefix.
1197         Do not call copyright-update.
1198         (copyright-update-directory): Optionally, fix years rather than update.
1199         Skip directories.  Find files with only safe local vars.
1201 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1203         * files.el (file-name-non-special): Only change buffer-file-name after
1204         insert-file-contents if it's `visit'ing the file (bug#7854).
1206 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1208         * dired.el (dired-revert): Doc fix (Bug#7758).
1210         * simple.el (line-move-visual): Doc fix (Bug#7594).
1212 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1214         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1215         here-doc which ends with an underscore.
1216         (ruby-mode-set-encoding): Skip shebang line always.
1217         (ruby-mode-map): Bind C-c C-c to comment-region.
1218         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1219         (ruby-forward-sexp): Stop after literal hash key labels.
1220         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1221         bracket.
1223 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1225         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1226         the correct buffer (Bug#7650).
1228 2011-01-25  Glenn Morris  <rgm@gnu.org>
1230         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1232         * simple.el (do-auto-fill): Give it a doc string.
1234         * button.el (make-text-button): Doc fix.  (See bug#7881)
1236 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1238         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1239         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1241         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1242         Handle ?" and friends differently (e.g. don't use backrefs).
1244 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1246         * calc/calc.el (calc-default-power-reference-level)
1247         (calc-default-field-reference-level): New variables.
1248         * calc/calc-units.el (math-standard-units): Add dB and Np.
1249         (math-logunits): New variable.
1250         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1251         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1252         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1253         New functions.
1254         (math-find-base-units-rec): Add entry for ln(10).
1255         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1256         (calc-ul-prefix-help): New function.
1257         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1258         functions.  Add keybindings for new units functions.
1260 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1262         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1263         rcirc buffers.  (Bug#4940)
1265 2011-01-22  Glenn Morris  <rgm@gnu.org>
1267         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1268         split out from copyright-update-year.
1269         (copyright-update): Don't mess with the GPL version if we don't own the
1270         copyright.  Update license regexp, and remove no longer needed
1271         Esperanto stuff.
1272         (copyright-fix-years): Use copyright-find-copyright.
1274 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1276         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1278 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1280         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1281         (lm): Rename to landmark.
1282         (lm-test-run): Rename to landmark-test-run.
1284 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1286         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1287         "Case sensitive" menu item.
1289 2011-01-22  Roland McGrath  <roland@frob.com>
1291         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1292         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1294 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1296         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1298 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1300         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1301         Assume foo(bar) is a manpage reference rather than some unquoted
1302         symbol (bug#7705).
1304 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1306         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1307         Suggested by Flo <sensorflo@gmail.com>.
1309 2011-01-22  Glenn Morris  <rgm@gnu.org>
1311         * progmodes/compile.el (compilation-error-regexp-alist):
1312         Fix custom type.  (Bug#7812)
1314 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1316         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1317         allout-number-siblings, in keeping with what obtained due to
1318         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1319         (prefixed) ?i.
1320         (allout-before-change-handler): Better expose spots affected by
1321         undo.
1323 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1325         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1327 2011-01-22  Phil Hagelberg  <phil@evri.com>
1329         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1330         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1331         (pcmpl-ssh-config-hosts): New function.
1332         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1333         pcmpl-ssh-known-hosts.
1335 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1337         * calc/calc-undo.el (calc-undo): Autoload it.
1338         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1339         and autoload for `calc-undo'.
1340         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1341         * calc/calc-prog.el:
1342         * calc/calc-graph.el:
1343         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1345 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1347         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1348         keybindings to `calc-undo'.
1350 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1352         Don't mess with *temp*.
1353         * obsolete/spell.el: Move from textmodes/spell.el.
1354         (spell-string):
1355         * term.el (term-read-input-ring):
1356         * startup.el (display-startup-echo-area-message):
1357         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1358         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1359         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1360         point-min==1.
1362 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1364         * allout.el (allout-institute-keymap): Use fset instead of
1365         reapplying defalias.
1367         (allout-hotspot-key-handler): Check for non-control-modified
1368         bindings for hotspot characters if there are no control-modified
1369         versions.
1371         * allout.el: Summary - migrate to defining allout mode using
1372         define-minor-mode instead of defun.  Significantly clean-up
1373         internal keymap provisions, refactoring and, in the process,
1374         removing a lot of accumulated cruft.
1376         allout-mode-map is now a keymap by virtue of being a defalias to
1377         allout-mode-map-value, which contains the actual keymap structure.
1379         (allout-mode): Use define-minor-mode rather than defun.
1380         Remove now-unnecessary minor-mode setup activities from the body.
1381         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1382         entry will be '(allout-mode . allout-mode-map) - see
1383         allout-mode-map-value, below.  Adjust docstring to track changes.
1384         (allout-minor-mode): Remove this defalias, now that we're using
1385         define-minor-mode.
1386         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1387         keymap is allout-mode-map-value, via defalias.
1388         (allout-mode-map-value): The variable holding the actual mode
1389         keymap structure, by virtue of defalias from allout-mode-map.
1390         (allout-compose-and-institute-keymap): Rename from
1391         allout-bind-keys, and including the binding-composition
1392         functionality of the former produce-allout-mode-map and
1393         allout-setup-mode-map.
1394         (allout-institute-keymap): Take over the "setup" part of the former
1395         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1396         update the defalias.
1397         (allout-command-prefix) (allout-prefixed-keybindings)
1398         (allout-unprefixed-keybindings):
1399         Use allout-compose-and-institute-keymap to process the bindings.
1400         (allout-unprefixed-keybindings): Remove extraneous '?' question
1401         marks.
1402         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1403         user can customize if they want to use that binding.
1404         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1405         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1406         elided that, previously, instead of the one for \C-h.)
1407         (allout-hotspot-key-handler): Remove attempt to resolve the key
1408         through the literal key-string lookup on allout-keybindings-list.
1409         That probably hasn't worked for a Long Time, and removal of
1410         allout-keybindings-list further simplifies the keybindings
1411         situation.
1412         (allout-pre-command-business): Use allout-mode-map-value instead
1413         of allout-mode-map.
1414         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1415         the bindings if they want to use a keybinding having a trailing
1416         \C-h.  No deprecation needed since this feature was never in a
1417         release.
1418         (allout-keybindings-list): Remove.  It's not been useful for a
1419         while.  (See allout-hotspot-key-handler changes, above.)
1420         (produce-allout-mode-map): Remove.  Consolidate into
1421         allout-compose-and-institute-keymap.
1422         (allout-mode-map-adjustments): Remove.  No longer necessary with
1423         removal of allout-preempt-trailing-ctrl-h.
1424         (allout-setup-mode-map): Remove.  Consolidate into
1425         allout-compose-and-institute-keymap and allout-institute-keymap.
1427 2011-01-20  Glenn Morris  <rgm@gnu.org>
1429         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1431         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1433 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1435         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1437         * files.el (find-alternate-file, basic-save-buffer)
1438         (basic-save-buffer-2, revert-buffer, recover-file)
1439         (kill-buffer-ask, abort-if-file-too-large)
1440         (set-visited-file-name, write-file, backup-buffer)
1441         (basic-save-buffer, save-some-buffers):
1442         * dired-aux.el (dired-compress-file): Callers changed.
1444 2011-01-19  Glenn Morris  <rgm@gnu.org>
1446         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1447         Also check the property status.  (Bug#7861)
1449 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
1451         * net/tramp.el (tramp-debug-message): Extend function exclude
1452         list.  Use `regexp-opt'.
1454 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1456         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1457         highlighting doesn't spill over subsequent lines.
1459         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1460         keymap expression.  Improve docstring.
1462         * electric.el (electric-indent-post-self-insert-function):
1463         Don't auto-indent for indent-to-left-margin, it's too often
1464         counter-productive.
1466 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
1468         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1469         spaces if the frame was resized, so that the full visible buffer
1470         serves as canvas for strokes.
1472 2011-01-16  Glenn Morris  <rgm@gnu.org>
1474         * info-xref.el (info-xref-docstrings): Replace cl function.
1475         Also skip directories.
1477 2011-01-16  Kevin Ryde  <user42@zip.com.au>
1479         * info-xref.el: Version 3.
1480         (info-xref-check, info-xref-check-all): Move commentary details
1481         into docstrings for better visibility.
1482         Use compilation-mode for the results buffer.
1483         (info-xref-output, info-xref-output-error, info-xref-with-output)
1484         (info-xref-filename, info-xref-in-progress):
1485         New internals for this.
1486         (info-xref-check-list, info-xref-check-buffer)
1487         (info-xref-check-all-custom): Use those.
1488         (info-xref-output-buffer): Rename from info-xref-results-buffer.
1489         (info-xref-output-heading): Rename from info-xref-filename-heading.
1490         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1491         (info-xref-filename-heading): Move to output managing section.
1492         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1493         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1494         (info-xref-subfile-p): Move to generic section with those two.
1495         (info-xref-check-node): New function split from
1496         info-xref-check-buffer, shared by info-xref-docstrings.
1497         (info-xref-goto-node-p): Move to a checking section with that func.
1498         (info-xref-unavail): New counter.
1499         (info-xref-check-node): Use it.
1500         (info-xref-with-output): Show count of unavailables at end of output.
1501         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
1502         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
1503         (info-xref-check-all-custom): Fix quietening viper-mode and
1504         gnus-registry-install -- use setq not let so as not to unbind
1505         after load.
1507 2011-01-16  Juri Linkov  <juri@jurta.org>
1509         * isearch.el (isearch-abort): Don't quit if search has
1510         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
1512 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
1514         * files.el (backup-buffer): Make last-resort backup file in
1515         .emacs.d (Bug#6953).
1517         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1518         make it with permission 700.
1520 2011-01-15  Kenichi Handa  <handa@m17n.org>
1522         * mail/rmailmm.el (rmail-mime-insert-header):
1523         Set rmail-mime-coding-system to a cons whose car is the last coding
1524         system used to decode the header.
1525         (rmail-mime-find-header-encoding): New function.
1526         (rmail-mime-insert-decoded-text):
1527         Override rmail-mime-coding-system if it is a cons.
1528         (rmail-show-mime): If only a header part was decoded, find the
1529         coding system while ignoring mm-charset-override-alist.
1531 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
1533         * subr.el (event-start, event-end): Doc fix (Bug#7826).
1535 2011-01-15  Kenichi Handa  <handa@m17n.org>
1537         * mail/rmailmm.el (rmail-mime-next-item)
1538         (rmail-mime-previous-item): Delete them.
1539         (rmail-mime-shown-mode): Recursively call for children.
1540         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1541         Callers changed.
1542         (rmail-mime-raw-mode): Recursively call for children.
1543         (rmail-mode-map): Change mapping of tab and backtab to
1544         forward-button and backward-button respectively.
1545         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1546         button.
1547         (rmail-mime-update-tagline): New function.
1548         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1549         body display is changed.
1550         (rmail-mime-toggle-button): Rename from rmail-mime-image.
1551         (rmail-mime-image): Delete this button type.
1552         (rmail-mime-toggle): New button type.
1553         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1554         body display is changed.  Change the save button label to "Save".
1555         Don't process show/hide button here.
1556         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1557         the body display is changed.  Unconditionally call
1558         rmail-mime-insert for children.
1559         (rmail-mime-handle): Update `display' vector of the just inserted
1560         entity.
1561         (rmail-mime-process): If mail-header-parse-content-type returns
1562         nil, use "text/plain" as the fallback type.
1563         (rmail-mime-insert): For raw-mode, recursively call
1564         rmail-mim-insert for children.
1565         (rmail-mime): Handle the case that the current buffer is not rmail
1566         buffer (e.g. in summary buffer).
1568 2011-01-15  Kenichi Handa  <handa@m17n.org>
1570         * mail/rmailmm.el (rmail-mime-next-item)
1571         (rmail-mime-previous-item): Skip the body of a non-multipart
1572         entity if a tagline is shown.
1574 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1576         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1577         (tmm-prompt): Simplify.
1578         (tmm-add-prompt): Remove unused var `win'.
1580         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1581         to minor mode which used nil accidentally to mean "turn off".
1583 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1585         * net/tramp-sh.el (tramp-find-inline-compress)
1586         (tramp-get-inline-coding): Quote command after pipe symbol for
1587         local calls under W32.  (Bug#6784)
1589 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1591         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1592         only when running under W32.
1594 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1596         * progmodes/grep.el (grep-compute-defaults): Quote the program
1597         file name after the pipe symbol in Grep templates.  (Bug#6784)
1598         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1600 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
1602         * buff-menu.el (Buffer-menu-buffer-list): New var.
1603         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1604         restricted buffer list is not lost on revert (Bug#7749).
1606 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
1608         * net/ldap.el (ldap-search-internal): Discard stderr output.
1610 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1612         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
1614 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1616         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1618 2011-01-15  Kenichi Handa  <handa@m17n.org>
1620         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1621         part as a plain text.
1622         (rmail-mime-process-multipart): Set the default content-type to
1623         nil for unknown multipart subtypes (bug#7651).
1625 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         * hexl.el (hexl-mode-old-*): Remove.
1628         (hexl-mode--old-var-vals): New var to replace them.
1629         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1630         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1631         Use them to set local vars (bug#7846).
1632         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1633         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1634         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1636         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1637         (smerge-resolve--normalize-re): New var.
1638         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1639         (smerge-resolve): Use them.
1640         * newcomment.el (comment-only-p): New function.
1641         (comment-or-uncomment-region): Use it.
1643 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1645         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1646         table, get the value before switching to the output buffer.  (Bug#7733)
1648 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1650         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1652 2011-01-14  Kim F. Storm  <storm@cua.dk>
1654         * emulation/cua-base.el (cua--init-keymaps):
1655         Remap exchange-point-and-mark in cua-global-keymap.
1657 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
1659         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1660         loop keyword.
1662 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1664         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1665         Require CL.
1666         (easy-menu-create-menu, easy-menu-convert-item-1):
1667         Use :label rather than nil for labels.  Use `case'.
1668         Add :enable as alias for :active.
1669         (easy-menu-binding): Obey :label.
1671 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1673         Use run-mode-hooks for major mode hooks (bug#513).
1674         * textmodes/reftex-toc.el (reftex-toc-mode-map):
1675         Rename from reftex-toc-map.
1676         (reftex-toc-mode): Use define-derived-mode.
1677         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1678         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1679         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
1680         (reftex-select-label-mode, reftex-select-bib-mode):
1681         Use define-derived-mode.
1682         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1683         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1684         Move init into delcaration.
1685         (reftex-index-mode, reftex-index-phrases-mode):
1686         Use define-derived-mode.
1687         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1688         speedbar-syntax-table.  Move init into declaration.
1689         (speedbar-mode-map): Rename from speedbar-key-map.
1690         Move init into declaration.
1691         (speedbar-file-key-map): Move init into declaration.
1692         (speedbar-mode): Use define-derived-mode.
1693         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1694         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1695         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1696         (chart-face-list): Move initialization into declaration.
1697         (chart-mode): Use define-derived-mode.
1698         * calculator.el (calculator-mode-map): Move init into declaration.
1699         (calculator-mode): Use define-derived-mode.
1701         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1702         work for nested comments.
1704         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
1705         (prolog-use-prolog-tokenizer-flag): Change default when
1706         syntax-propertize can be used.
1707         (prolog-syntax-propertize-function): New var.
1708         (prolog-mode-variables): Move make-local-variable into `set'.
1709         Don't make comment-column local since we don't set it.
1710         Set comment-add (as it was in previous prolog.el).  Use dolist.
1711         Set syntax-propertize-function.
1712         (prolog-mode, prolog-inferior-mode):
1713         Call prolog(-inferior)-menu directly, not through the mode-hook.
1714         (prolog-buffer-module, prolog-indent-level)
1715         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1716         (prolog-comment-limits, prolog-goto-comment-column):
1717         Use line-(end|beginning)-position.
1718         (prolog-build-prolog-command): Tighten up regexp.
1719         (prolog-consult-compile): Move make-local-variable into `set'.
1720         (prolog-consult-compile-filter, prolog-goto-next-paren)
1721         (prolog-help-on-predicate, prolog-clause-info)
1722         (prolog-mark-predicate): Don't let+setq.
1723         (prolog-indent-line): Use indent-line-to.
1724         Only call prolog-goto-comment-column if necessary.
1725         (prolog-indent-level): Use bobp.
1726         (prolog-first-pos-on-line): Remove, not used any more.
1727         (prolog-in-string-or-comment): Use syntax-ppss if available.
1728         (prolog-help-on-predicate): Use read-string.
1729         (prolog-goto-predicate-info): Simplify.
1730         (prolog-read-predicate): Use `default' rather than `initial'.
1731         (prolog-temporary-file): Use make-temp-file to close a security hole.
1732         (prolog-toggle-sicstus-sd): New command.
1733         (prolog-electric-underscore, prolog-variables-to-anonymous):
1734         Use dynamic-scoping as it was meant.
1735         (prolog-menu): Move menu definitions to top-level.
1736         Use a toggle-button for Sicstus's source debugger.
1737         Change "Code" to the more usual "Prolog", and hence change "Prolog"
1738         to "System".
1739         (prolog-inferior-menu): Reuse prolog-menu's help menu.
1740         Move other menu definition to top-level.
1742 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1744         * doc-view.el (doc-view-open-text): Use meaningful text buffer
1745         name.  Keep original document's directory as default-directory
1746         (bug#6446).
1747         (doc-view-initiate-display): Fall back to normal mode when
1748         doc-view-mode cannot be enabled, also when extracting the document
1749         text into a separate buffer (bug#6446).
1751         * simple.el (shell-command): Don't error out if shell command
1752         buffer contains text with non-nil read-only property when erasing
1753         the buffer.
1755 2011-01-13  Kim F. Storm  <storm@cua.dk>
1757         * ido.el (ido-may-cache-directory): Move "too-big" check later.
1758         (ido-next-match, ido-prev-match): Fix stray reordering of matching
1759         items when cycling through the matches.
1761 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1763         * dired-x.el (dired-omit-verbose): New defcustom that allows
1764         disabling the omit messages.
1765         (dired-omit-expunge): Use it.
1767 2011-01-13  Christian Ohler  <ohler@gnu.org>
1769         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1771 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1773         * font-lock.el (font-lock-verbose): Default to nil.
1775 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1777         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1778         (compose-mail): New arg RETURN-ACTION.
1779         (compose-mail-other-window, compose-mail-other-frame): Likewise.
1781         * mail/sendmail.el (mail-return-action): New var.
1782         (mail-mode): Make it buffer-local.
1783         (mail-bury): Obey it.  Move special Rmail window handling to
1784         rmail-mail-return.
1785         (mail, mail-setup): New arg RETURN-ACTION.
1786         (sendmail-user-agent-compose): Move from simple.el.
1788         * mail/rmail.el (rmail-mail-return): New function.
1789         (rmail-start-mail): Pass it to compose-mail.
1791 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
1793         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1794         menus.  Add menu item for customize-themes.
1796         * cus-theme.el (customize-themes):
1797         * emacs-lisp/package.el (package--list-packages):
1798         Use switch-to-buffer.
1800 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
1802         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1804 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1806         * progmodes/prolog.el: Fix up coding convention and such.
1807         (prolog-indent-width): Use the same default as in
1808         previous prolog.el rather than tab-width which depends on which buffer
1809         is current when the file is loaded.
1810         (prolog-electric-newline-flag): Only enable if electric-indent-mode
1811         is not available.
1812         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
1813         (prolog-known-systems): Remove.
1814         (prolog-mode-syntax-table, prolog-inferior-mode-map):
1815         Move initialization into declaration.
1816         (prolog-mode-map): Move initialization into declaration.
1817         Remove system-specific mode-map vars, since they referred to the same
1818         keymap anyway.
1819         (prolog-mode-variables): Obey the user's preference w.r.t
1820         adaptive-fill-mode.  Prefer symbol-value to `eval'.
1821         (prolog-mode-keybindings-edit): Add compatibility bindings.
1822         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
1823         (mercury-mode-map): New var.
1824         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1825         (prolog-ensure-process, prolog-process-insert-string)
1826         (prolog-consult-compile): Use with-current-buffer.
1827         (prolog-guess-fill-prefix): Simplify data flow.
1828         (prolog-replace-in-string): New function to use instead of
1829         replace-in-string.
1830         (prolog-enable-sicstus-sd): Don't abuse `eval'.
1831         (prolog-uncomment-region): Use `uncomment-region' when available.
1832         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1833         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1834         of int-to-char and char-to-int.
1835         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1837 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
1839         * progmodes/prolog.el: Replace by a whole new file.
1841 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1843         * subr.el (eval-after-load): Fix timing for features (bug#7769).
1844         (declare-function, undefined, insert-for-yank)
1845         (replace-regexp-in-string): Follow checkdoc's recommendations.
1847 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1849         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1850         refreshing the diary buffer.
1852 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
1854         * allout.el: Add 2011 to the file copyright.
1855         (allout-encrypt-string): Prevent encryption from adding an extra
1856         newline at the end of the topic body.
1857         (allout-version): Increment to 2.3.
1859 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
1861         * net/dbus.el (dbus-unregister-service): Complete doc.
1862         Fix call of dbus-error signal.
1863         (dbus-register-property): Use `dont-register' keyword.
1865 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1867         * net/dbus.el (dbus-unregister-service): Translate returned
1868         integer into a symbol.
1869         (dbus-register-property): Use `dbus-register-service' to do the
1870         name registration.
1872 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1874         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1875         Suggested by Joakim Verona.
1877         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1879         * wid-edit.el (visibility): Replace :on-image and :off-image
1880         widget properties with :on-glyph and :off-glyph, for consistency
1881         with the `visibility' widget.
1882         (widget-toggle-value-create, widget-visibility-value-create):
1883         Merge into a single function `widget-toggle-value-create'.
1885         * cus-edit.el (custom-variable-value-create, custom-visibility)
1886         (custom-face-edit-value-create, custom-face-value-create):
1887         Replace :on-image and :off-image widget properties with :on-glyph and
1888         :off-glyph, for consistency with the `visibility' widget.
1890 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1892         * net/ldap.el (ldap-search-internal): Don't use eval.
1894 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1896         * subr.el (read-char-choice): Use read-key.
1898         * custom.el (custom-safe-themes): Rename from
1899         custom-safe-theme-files.  Add :risky tag.
1900         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1901         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1903 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1905         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1906         from Search and add a label to Undo.
1908         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1909         inappropriate buttons and adding :vert-only tags.
1911         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1912         removal of Help tool-bar button.  Remove Undo button for space.
1914         * info.el (info-tool-bar-map): Add :vert-only tags.
1916 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
1918         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1919         image backend support.  Either of them is fine.
1921 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
1923         * subr.el (y-or-n-p): Doc fix.
1925         * custom.el (custom-safe-theme-files): New defcustom.
1926         (custom-theme-load-confirm): New function.
1927         (load-theme): Load theme using `load', confirming with
1928         custom-theme-load-confirm if necessary.
1930         * subr.el (read-char-choice): New function, factored out from
1931         dired-query and hack-local-variables-confirm.
1933         * dired-aux.el (dired-query):
1934         * files.el (hack-local-variables-confirm): Use it.
1936         * dired-aux.el (dired-compress-file):
1937         * files.el (abort-if-file-too-large, find-alternate-file)
1938         (set-visited-file-name, write-file, backup-buffer)
1939         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1940         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1941         Use new format string args for y-or-n-p and yes-or-no-p.
1943 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1945         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1946         [gcc-include]: Tighten file name match, add match for column
1947         number.  (Bug#7806)
1948         [gnu]: Remove unused group.
1950 2011-01-08  Glenn Morris  <rgm@gnu.org>
1952         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1954         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1956 2011-01-07  Sam Steingold  <sds@gnu.org>
1958         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1959         the `explicit-shell-file-name' because that is the
1960         non-interactive shell.
1962 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1964         * subr.el (y-or-n-p): Accept format string args.
1966 2011-01-07  Glenn Morris  <rgm@gnu.org>
1968         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1970 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1972         * allout.el (allout-back-to-current-heading): Ensure return to
1973         the visible containing topic, rather than a collapsed one.
1974         (allout-view-change-hook): Remove hook that was deprecated long ago.
1975         (allout-exposure-change-hook): Remove documentation remarks
1976         concerning removed allout-view-change-hook.
1977         (allout-flag-region): Remove invocation of and documentation
1978         remarks concerning allout-view-change-hook.
1980 2011-01-06  Glenn Morris  <rgm@gnu.org>
1982         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1983         (vc-bzr-annotate-extract-revision-at-line):
1984         Handle authors with embedded spaces.  (Bug#7792)
1986 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1988         * doc-view.el (doc-view-image-width): New variable.
1989         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1990         backend for PNG images, and do dynamic rescaling instead of
1991         reconverting the whole doc.
1993 2011-01-05  Glenn Morris  <rgm@gnu.org>
1995         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1997 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1999         * allout.el: Reconcile with changes in line movement behavior for
2000         long text lines that cross more than a single physical window
2001         line, ie when truncate-lines is nil.
2002         (allout-next-visible-heading): Provide for change in line-move
2003         behavior on long lines when truncate-lines is nil.  In that case,
2004         line-move can wind up on the same textual line when it moves to
2005         the next window line, and moving to the bullet position after the
2006         move yields zero advancement.  Add logic to detect and compensate
2007         for the lack of progress.
2008         (allout-current-topic-collapsed-p): move-end-of-line respect for
2009         field boundaries is different when operating with body lines
2010         shorter than window width versus ones greater than window width,
2011         which can yield false negatives in this function.  Avoid
2012         difference by applying move-end-of-line while field-text-motion is
2013         inhibited.
2015 2011-01-04  Glenn Morris  <rgm@gnu.org>
2017         * textmodes/rst.el (rst-compile-toolsets):
2018         Add pdf and s5 to option alist.
2020 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2022         * net/dbus.el (dbus-register-property): Add optional parameter
2023         dont-register-service.  Updated docstring accordingly.
2025 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
2027         * textmodes/rst.el (rst-compile-pdf-preview)
2028         (rst-compile-slides-preview): Remove extra line.
2030 2011-01-04  Glenn Morris  <rgm@gnu.org>
2032         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2033         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
2034         default to `prog' without a .py extension.
2035         (rst-compile-pdf-preview, rst-compile-slides-preview):
2036         Use program names from rst-compile-toolsets, rather than hard-coding.
2037         (rst-portable-mark-active-p): Fix presumed typo.
2039 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2041         * term/w32-win.el (dynamic-library-alist): Set up correctly for
2042         libpng versions both before and after 1.4.0.  (Bug#7716)
2044 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2046         * time.el (display-time-mode): Mention display-time-interval in
2047         the doc string.  (Bug#7713)
2049 2011-01-02  Kenichi Handa  <handa@m17n.org>
2051         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
2052         condition-case and return an error message string if something
2053         goes wrong.
2054         (rmail-show-mime): Adjust for the above change.  Insert the
2055         header by rmail-mime-insert-header.
2057 2011-01-02  Kenichi Handa  <handa@m17n.org>
2059         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
2060         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
2061         (rmail-mime-mbox-buffer)
2062         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
2063         (rmail-mime-entity): Argument changed.  All codes handling an
2064         entity object are changed.
2065         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
2066         the above change.
2067         (rmail-mime-entity-children, rmail-mime-entity-handler)
2068         (rmail-mime-entity-tagline): New functions.
2069         (rmail-mime-message-p): New function.
2070         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
2071         (rmail-mime-entity-segment, rmail-mime-next-item)
2072         (rmail-mime-previous-item, rmail-mime-shown-mode)
2073         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
2074         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
2075         (rmail-mime-insert-tagline, rmail-mime-insert-header):
2076         New functions.
2077         (rmail-mime-text-handler): Call rmail-mime-insert-text.
2078         (rmail-mime-insert-decoded-text): New function.
2079         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
2080         (rmail-mime-insert-image): Argument changed.  Caller changed.
2081         (rmail-mime-image): Call rmail-mime-toggle-hidden.
2082         (rmail-mime-set-bulk-data): New function.
2083         (rmail-mime-insert-bulk): Argument changed.
2084         (rmail-mime-multipart-handler): Return t.
2085         (rmail-mime-process-multipart): Argument changed.
2086         Handle "multipart/alternative" here.
2087         (rmail-mime-process): Argument changed.
2088         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
2089         (rmail-mime-insert): Argument changed.  Handle raw display mode.
2090         (rmail-mime): Argument changed.  Handle toggling of raw display
2091         mode.
2092         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
2093         rmail-mime-view-buffer.
2094         (rmail-insert-mime-forwarded-message): Likewise.
2095         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
2097         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
2098         non-nil, handle the header in rmail-show-mime-function.
2100 2011-01-02  Leo  <sdl.web@gmail.com>
2102         * help-fns.el (describe-variable): Fix previous change.
2104 2011-01-02  Juri Linkov  <juri@jurta.org>
2106         * isearch.el (isearch-lazy-highlight-error): New variable.
2107         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
2108         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
2109         to the current value of `isearch-error' (Bug#7468).
2111 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2113         * help-fns.el (describe-variable): Don't emit trailing whitespace
2114         (Bug#7511).
2116 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
2118         * textmodes/rst.el (rst-compile-pdf-preview)
2119         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
2121 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2123         * emulation/edt-mapper.el: Override mapping of function keys so
2124         that the later call to read-key-sequence works.
2126 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
2128         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
2129         Unix EOLs.  (Bug#7589)
2131 2011-01-02  Leo  <sdl.web@gmail.com>
2133         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
2134         if point is not behind eshell-last-output-end (Bug#7585).
2136 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2138         * files.el (file-local-variables-alist):
2139         Make permanent-local (bug#7767).
2141 2011-01-02  Glenn Morris  <rgm@gnu.org>
2143         * version.el (emacs-copyright): Set short copyright year to 2011.
2145 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2147         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2148         an existing temp buffer.  (Bug#7746)
2150 2011-01-02  Glenn Morris  <rgm@gnu.org>
2152         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2153         multiple addresses.  (Bug#7760)
2155 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2157         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2158         do-auto-fill if everything points back to allout-auto-fill.
2159         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2160         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2162 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2164         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2165         and "scpx".
2167 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2169         * doc-view.el (doc-view-set-doc-type): New function refactored
2170         from doc-view-mode.
2171         (doc-view-fallback-mode): New function.
2172         (doc-view-mode): Use it.
2173         (doc-view-mode-maybe): New function that checks if doc-view-mode
2174         can be used and falls back to the next best mode otherwise.
2176         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2177         DVI, OpenDocument, and MS Office files.
2179 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2181         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2183 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2185         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2186         on a copy of auto-mode-alist, because that deletes with side
2187         effects.
2189 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2191         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2192         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2193         fallback instead of hard coding fundamental mode.
2195 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2197         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2198         Office) files also for searching.
2200 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2202         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2203         Office) files.  Not yet enabled via auto-mode-list.
2204         (doc-view-unoconv-program): New custom variable.
2205         (doc-view-mode-p): Handle new odf document type.
2206         (doc-view-odf->pdf): New conversion function.
2207         (doc-view-convert-current-doc): Call it for odf files.
2208         (doc-view-mode): Recognize newly supported file extensions.
2210 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2212         * net/tramp.el (tramp-default-method-alist)
2213         (tramp-default-user-alist)
2214         (tramp-local-host-regexp, tramp-prefix-domain-format)
2215         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2217         * net/tramp-ftp.el:
2218         * net/tramp-gvfs.el:
2219         * net/tramp-gw.el:
2220         * net/tramp-imap.el:
2221         * net/tramp-sh.el:
2222         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2223         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2225 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2227         * saveplace.el (save-place-alist-to-file): Save list sorted and
2228         pretty-printed, so that it is mergeable by line-based text merging,
2229         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2231 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2233         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2234         (allout-mode): Argument "toggle" => "force".
2235         Refine the docstring.
2236         Remove special provisions for reactivation, besides the 'force'
2237         argument.
2238         Consolidate layout provisions coce directly into the activation
2239         condition branch, now that we've removed those provisions.
2240         (allout-unload-function): Explicitly activate the mode before
2241         deactivating, if it's initially deactivated.
2242         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2243         warnings for version of function used only where
2244         set-buffer-multibyte is unavailable.
2246 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2248         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2249         are handled by the menu-bar entries.  As before, don't use
2250         :visibile to avoid changing the tool-bar.
2252 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2254         * net/secrets.el (secrets-delete-alias): New defun.
2256 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2258         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2259         methods, otherwise ~/.ssh/config would be ignored.
2261 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2263         * emacs-lisp/rx.el: Make it a superset of sregex.
2264         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2265         of args, add `regex' alias.
2266         (rx-info): Add arg to distinguish head and standalone forms.
2267         (rx-check, rx-form): Pass the corresponding arg.
2268         (rx-**): Simplify.
2269         (rx-repeat): Make it work for any number of args.
2270         (rx-syntax): Make it accept syntax chars as is.
2271         * obsolete/sregex.el: Move from emacs-lisp/.
2272         * emacs-lisp/re-builder.el: Remove sregex support.
2273         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2275 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2277         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2278         PRIMARY first, then the clipboard.  (Bug#7699)
2280 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2282         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2283         print-number-table.
2285 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2287         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2288         .emacs.elc (Bug#7530).
2290         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2291         image spec (Bug#7480).
2293 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2295         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2296         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2297         Move from lisp/.
2299 2010-12-20  Leo  <sdl.web@gmail.com>
2301         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2302         always be performed (Bug#7680).
2304 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2306         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2307         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2308         mouse-region-match.
2310         * color.el: Move from gnus/.
2312         * vc/diff.el (diff-better-file-name): Function deleted.
2313         abbreviating file names causes problems with shell-quote-argument.
2314         (diff-no-select): Just use expand-file-name.
2316         * tool-bar.el (tool-bar--image-expression): New function.
2317         (tool-bar-local-item, tool-bar--image-exp): Use it.
2318         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2319         Use :enable instead of :visible to avoid changing the tool-bar
2320         configuration unnecessarily.
2322         * info.el (info-tool-bar-map): Add separators.
2324 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2326         * loadup.el: Use version numbers in Cygwin build.
2328 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2330         * ido.el (ido-file-internal): Ask for confirmation before
2331         overwriting an existing file (Bug#1238).
2333 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2335         * tool-bar.el (tool-bar-setup): Add separators.
2337         * menu-bar.el (featurep): Use menu-bar-separator.
2339 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2341         Migrate allout encryption provisions from pgg to epg.
2343         * allout.el (allout-toggle-current-subtree-encryption)
2344         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2345         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2346         for simpler universal argument interpretation.
2347         (allout-toggle-subtree-encryption): Adjust docstring to describe
2348         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2349         simpler universal argument interpretation.  Remove provisions for
2350         handling key type and identity - they'll all be within
2351         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2352         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2353         for keypair recipients (universal argument > 1) and, in addition,
2354         associating the specified recipients with the outline (universal
2355         argument > 4) using a file local variable setting for
2356         'epa-file-encrypt-to'.
2357         Require epa, for recipients handling.
2358         Change how regexp filtering elements are named.
2359         Describe the problem with caching of incorrect symmetric-decryption
2360         keys.
2361         Use the epa-passphrase-callback-function, in case the user is using
2362         GnuPG v1.
2363         Support saving of the selected keypair recipients when invoked with a
2364         keymode-cue > 4.
2365         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2366         Require 'epa.
2367         Establish epg-context with armoring and default epg-protocol.
2368         Remove all passphrase cache, verification, and hinting code.
2369         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2370         No longer used, delete.
2371         (allout-mode): Adjust docstring to describe changed encryption
2372         provisions.  Describe the problem with caching of incorrect
2373         symmetric-decryption keys.
2374         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2375         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2376         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2377         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2378         Obsolete, remove.
2380 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2382         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2383         key selection prompt; make 'silent as default (Bug#7487).
2385 2010-12-16  Leo  <sdl.web@gmail.com>
2387         * eshell/eshell.el (eshell-directory-name):
2388         Use locate-user-emacs-file (Bug#7578).
2390 2010-12-15  Glenn Morris  <rgm@gnu.org>
2392         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2394 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2395             Scott Evans <gse@antisleep.com>
2397         * rect.el (rectange--default-line-number-format)
2398         (rectangle-number-line-callback): New functions.
2399         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2401 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2403         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2404         Delete unused variables.
2405         (move-to-column-force): Remove function obsolete since 21.2.
2407 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2409         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2410         (tramp-handle-insert-file-contents): Do not set permanent-local
2411         property.
2413         * net/tramp-cache.el (tramp-persistency-file-name):
2414         Use `locate-user-emacs-file' if fboundp.
2416         * net/tramp-sh.el (tramp-methods): Add "ksu".
2417         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2418         method list.
2420 2010-12-14  Glenn Morris  <rgm@gnu.org>
2422         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2423         (find-tag-marker-ring): Declare.
2424         (js-find-symbol): Require etags.
2426         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2427         Require mail-utils.
2428         (mail-alias-file): Don't autoload.  Doc fix.
2429         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2430         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2431         Mark as obsolete, and risky.
2432         (mail-setup): Simplify.
2434         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2435         * mail/sendmail.el (build-mail-aliases): Update autoload.
2437         * dired.el (dired-trivial-filenames, dired-chown-program)
2438         (dired-auto-revert-buffer): Remove autoload cookies.
2439         * mail/sendmail.el (mail-recover-1): Require 'dired.
2441         * dired.el (dired-subdir-switches, dired-chown-program)
2442         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2443         Make into defcustoms.
2444         (dired-chown-program): Simplify initialization.
2446         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2448 2010-12-13  Romain Francoise  <romain@orebokech.com>
2450         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2452 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2454         * net/netrc.el (netrc-point-at-eol): Remove the unused
2455         netrc-point-at-old and netrc-bound-and-true-p bindings.
2456         (netrc-parse): Cache the netrc contents.
2458 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2460         * subr.el (posn-col-row): Evaluate header-line-format in the
2461         context of the POSITION window's buffer.
2463 2010-12-13  Glenn Morris  <rgm@gnu.org>
2465         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2466         (with-silent-modifications): Doc fixes.
2468 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2470         * net/tramp.el (tramp-action-password, tramp-process-actions):
2471         Revert previous from.  Use `save-restriction'.
2473 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
2475         * calendar/diary-lib.el (diary-list-sexp-entries):
2476         Handle case of no newline at end of file.  (Bug#7536)
2478 2010-12-13  Glenn Morris  <rgm@gnu.org>
2480         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2482 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2484         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2485         (tramp-process-actions): Do not widen.
2487         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2488         Protect buffer-modified value.  (Bug#7557)
2490 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
2492         * log-edit.el (log-edit-changelog-entries):
2493         Regexp quote filename.  (Bug#7505)
2495 2010-12-13  Tom Breton  <tehom@panix.com>
2497         * cus-edit.el (custom-save-all):
2498         Bind print-length and print-level to nil.  (Bug#7581)
2500 2010-12-13  Glenn Morris  <rgm@gnu.org>
2502         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2503         Run hooks to update menu contents.  (Bug#7586)
2505         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2506         file names, for the sake of MS Windows.  (Bug#7588)
2508 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2510         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2511         empty lines without a leading space.
2513 2010-12-13  Leo  <sdl.web@gmail.com>
2515         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2516         while mapping over marks (Bug#6810).
2518 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2520         * image-dired.el (image-dired-db-file)
2521         (image-dired-temp-image-file, image-dired-gallery-dir)
2522         (image-dired-temp-rotate-image-file): Set default values relative
2523         to image-dired-dir (Bug#7518).
2525 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
2527         * format.el (format-decode-run-method): Pass args FROM and TO, not
2528         point-min and point-max, to shell-command-on-region (Bug#7488).
2530 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2532         * frame.el (blink-cursor-mode): Make default t for ns.
2534 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2536         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2538 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2540         * comint.el (comint-dynamic-list-input-ring)
2541         (comint-dynamic-complete-filename)
2542         (comint-replace-by-expanded-filename)
2543         (comint-dynamic-simple-complete)
2544         (comint-dynamic-list-filename-completions)
2545         (comint-dynamic-list-completions): Doc fix (Bug#7499).
2547         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2548         Doc fix (Bug#7471).
2550 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
2552         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2553         (Bug#7533).
2555 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
2557         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2558         (Bug#7491).
2560 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2562         * files.el (file-relative-name): Handle UNC file names on
2563         DOS/Windows.  (Bug#4674)
2565 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
2567         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2568         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2569         (epg-context-set-passphrase-callback): Mention that the callback
2570         is not called when used with GnuPG 2.x.
2572 2010-12-13  Glenn Morris  <rgm@gnu.org>
2574         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2575         Ensure ps-footer-font-size-internal is initialized.
2576         Call ps-get-page-dimensions before trying to use ps-font-for-text.
2578 2010-12-13  Kenichi Handa  <handa@m17n.org>
2580         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2581         within condition-case.
2582         (rmail-show-mime): Don't use condition-case.
2583         (rmail-search-mime-message): New function.
2584         (rmail-search-mime-message-function): Set to
2585         rmail-search-mime-message.
2587 2010-12-13  Leo  <sdl.web@gmail.com>
2589         * ido.el (ido-common-initialization): New function.  (bug#3274)
2590         (ido-mode): Use it.
2591         (ido-completing-read): Call it.
2593 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
2595         * bookmark.el (bookmark-name-from-full-record): Rename back to
2596         this original name from `bookmark-name-from-record' reverting part
2597         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2598         As Drew Adams pointed out, there was no reason to cause churn for
2599         third-party callers.
2601 2010-12-12  Alan Mackenzie  <acm@muc.de>
2603         * progmodes/cc-engine.el (c-forward-type): Before scanning a
2604         template arglist, check that the current language supports this.
2606 2010-12-11  Glenn Morris  <rgm@gnu.org>
2608         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2609         state of the file matches.  (Bug#7544)
2610         (vc-bzr-register, vc-bzr-checkin)
2611         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2612         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2614         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2616 2010-12-11  Karel Klíč  <kklic@redhat.com>
2618         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
2620 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2622         Derive from prog-mode, use derived-mode-p, and fix up various
2623         minor style issues in lisp/progmodes.
2625         * progmodes/vhdl-mode.el (vhdl-mode):
2626         * progmodes/verilog-mode.el (verilog-mode):
2627         * progmodes/vera-mode.el (vera-mode):
2628         * progmodes/sql.el (sql-mode):
2629         * progmodes/scheme.el (scheme-mode):
2630         * progmodes/perl-mode.el (perl-mode):
2631         * progmodes/octave-inf.el (inferior-octave-mode):
2632         * progmodes/autoconf.el (autoconf-mode):
2633         * progmodes/m4-mode.el (m4-mode):
2634         * progmodes/inf-lisp.el (inferior-lisp-mode):
2635         * progmodes/idlwave.el (idlwave-mode):
2636         * progmodes/icon.el (icon-mode):
2637         * progmodes/idlw-help.el (idlwave-help-mode):
2638         * progmodes/dcl-mode.el (dcl-mode):
2639         * progmodes/idlw-shell.el (idlwave-shell-mode):
2640         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2641         (ebrowse-member-mode, ebrowse-electric-position-mode):
2642         Use define-derived-mode.
2644         * progmodes/xscheme.el (exit-scheme-interaction-mode)
2645         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2646         (xscheme-debugger-mode-p, xscheme-send-string-1):
2647         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2648         (tcl-load-file, tcl-restart-with-file):
2649         * progmodes/ps-mode.el (ps-run-running):
2650         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2651         * progmodes/js.el (js--get-all-known-symbols):
2652         * progmodes/inf-lisp.el (inferior-lisp-proc):
2653         * progmodes/idlwave.el (idlwave-beginning-of-statement)
2654         (idlwave-template, idlwave-update-buffer-routine-info)
2655         (idlwave-update-current-buffer-info)
2656         (idlwave-get-routine-info-from-buffers, idlwave-choose)
2657         (idlwave-scan-class-info, idlwave-fix-keywords)
2658         (idlwave-list-buffer-load-path-shadows):
2659         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2660         (idlwave-toolbar-remove):
2661         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2662         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2663         (idlwave-shell-menu-def):
2664         * progmodes/idlw-complete-structtag.el
2665         (idlwave-prepare-structure-tag-completion):
2666         * progmodes/gud.el (gud-set-buffer):
2667         * progmodes/f90.el (f90-backslash-not-special):
2668         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2670         * progmodes/xscheme.el (xscheme-start)
2671         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2672         * progmodes/which-func.el (which-function):
2673         * progmodes/vhdl-mode.el (vhdl-set-style):
2674         * progmodes/verilog-mode.el (verilog-set-compile-command)
2675         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2676         (verilog-set-define, verilog-auto-reeval-locals):
2677         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2678         * progmodes/simula.el (simula-mode):
2679         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2680         * progmodes/python.el (python-check, python-mode):
2681         * progmodes/prolog.el (prolog-mode-variables):
2682         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2683         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2684         * progmodes/delphi.el (delphi-mode):
2685         * progmodes/cc-styles.el (c-setup-paragraph-variables):
2686         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2687         (c-font-lock-init): Move make-local-variable to their setq.
2689         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2690         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2691         make-local-hook.
2692         * progmodes/sh-script.el (sh-require-final-newline): Remove.
2693         (sh-set-shell): Don't set require-final-newline since it's already done
2694         by prog-mode.
2695         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2696         since we never set it.
2697         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2698         Use read-string and standard prompt.
2699         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2700         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2701         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2702         (meta-common-mode-map): Rename from meta-mode-map.
2703         Remove C-m binding, which is a user preference, not mode specific.
2704         (meta-common-mode): New major mode; replace meta-common-initialization.
2705         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2706         around with font-lock.
2707         * progmodes/etags.el (select-tags-table-mode):
2708         Derive from special-mode.
2709         * progmodes/octave-mod.el (octave-mode):
2710         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2711         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2712         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2713         Let define-derived-mode do its job.
2714         * progmodes/cpp.el (cpp-edit-mode-map):
2715         Move initialization into declaration.
2716         (cpp-edit-mode): Use define-derived-mode.
2717         (cpp-edit-load): Use derived-mode-p.
2718         * progmodes/mixal-mode.el (mixal-mode):
2719         * progmodes/f90.el (f90-mode):
2720         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2721         require-final-newline since prog-mode does it already.
2722         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2723         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2724         * progmodes/antlr-mode.el: Require cc-mode upfront.
2725         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2726         the declaration.
2727         (antlr-directory-dependencies, antlr-show-makefile-rules):
2728         Use derived-mode-p.
2729         (antlr-language-option): Don't assume point-min==1.
2730         (antlr-mode): Use define-derived-mode.
2731         * progmodes/ada-mode.el: Use derived-mode-p.
2732         (ada-mode): Use define-derived-mode.
2733         Use hack-local-variables-hook.
2735 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2737         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2738         (texinfo-mode): Don't disable adaptive-fill-mode.
2739         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2740         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2741         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2742         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2743         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2744         (texinfo-insert-@quotation, texinfo-insert-@samp)
2745         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2746         (texinfo-insert-@uref): Use define-skeleton.
2747         (texinfo-insert-@-with-arg): Delete.
2749 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
2751         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2752         nil, do quote archive member names.  (Bug#6144)
2754 2010-12-10  Glenn Morris  <rgm@gnu.org>
2756         * files.el (diff-no-select): Declare.
2758         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2759         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2761         * comint.el (comint-input-ring-file-name): Doc fix.
2763 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
2765         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2766         New functions.
2767         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2768         Use them instead of `nil' and `>', respectively.
2769         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2770         instead of `nil'.
2771         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2772         and menu-bar-positive-p instead of `nil' and `>', respectively.
2773         (Bug#1077)
2775 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2777         * whitespace.el (whitespace-newline-mode): Code fix.
2779 2010-12-09  Glenn Morris  <rgm@gnu.org>
2781         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2782         Rename functions without commas, update callers.
2784 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
2786         * whitespace.el (whitespace-cleanup-region):
2787         Clean up spaces before tabs.  (Bug#7582)
2789 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
2791         * bookmark.el: Adjust parameter names and doc strings to resolve
2792         confusion over whether "bookmark" meant a bookmark name or a
2793         bookmark record.  Along the way, shorten one function's name for
2794         similar reasons.  (Issue #7548)
2795         (bookmark-name-from-record): New name for
2796         `bookmark-name-from-full-record'.  All callers changed.
2797         (bookmark-get-bookmark, bookmark-get-bookmark-record)
2798         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2799         (bookmark-get-annotation, bookmark-set-annotation)
2800         (bookmark-get-filename, bookmark-set-filename)
2801         (bookmark-get-position, bookmark-set-position)
2802         (bookmark-get-front-context-string, bookmark-set-front-context-string)
2803         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2804         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2805         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2806         Rename `bookmark' parameter to `bookmark-name-or-record', to
2807         clearly show its role, and shorten or adjust doc strings accordingly.
2808         (bookmark-set-name): Same, and pass the parameter directly to
2809         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2810         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2811         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2812         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2813         and in some cases shorten doc string accordingly.
2814         (bookmark-rename): Change `old' and `new' parameters to `old-name'
2815         and `new-name', and adjust an internal variable to avoid confusion.
2816         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2817         parameter in doc string.
2819 2010-12-08  Glenn Morris  <rgm@gnu.org>
2821         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2822         from gdb's history file.  (Bug#7575)
2824         * mail/emacsbug.el (report-emacs-bug):
2825         Try to handle some other mail clients.
2827 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2829         * files.el (dir-locals-collect-variables): Don't let errors stop us.
2830         Use string-prefix-p.
2831         (file-name-version-regexp): New var.
2832         (file-name-sans-versions):
2833         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2834         (jka-compr-get-compression-info): Use dolist.
2835         (jka-compr-compression-info-list): Don't bother specifying
2836         version/backup regexps.
2838 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
2840         * simple.el (just-one-space): Make argument n default to 1 if
2841         omitted.
2843 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2845         * electric.el (electric-indent-post-self-insert-function):
2846         Delete trailing newlines even if we don't reindent.
2848 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2850         * minibuffer.el (completion-at-point): Remove the `arg'.
2851         * bindings.el (complete-symbol): Move back from minibuffer.el.
2853 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2855         * simple.el (just-one-space): Delete newlines for negative arg.
2857 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2859         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2860         (ansi-color-filter-apply): Simplify.
2861         (ansi-color-apply): Use `font-lock-face' rather than `face'.
2863 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2865         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2867 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2869         * dired.el (dired-use-ls-dired): Set default to a special
2870         "unspecified" value.
2871         (dired-insert-directory): When called the first time, check
2872         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2874 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2876         * replace.el: Add "collect" feature to occur.
2877         (occur-collect-regexp-history): New var.
2878         (occur-read-primary-args): Return a replace string for nlines,
2879         if needed.
2880         (occur): Extend the meaning of nlines.
2882 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2884         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2885         (which-func-update-1): Distinguish symbols from strings.
2886         (which-function): Stay within 80 columns.
2888 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2890         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2892         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2893         Improve docstring.
2894         (comment-style): Use comment-styles's docs to describe values.
2896 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2898         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2899         and ns-show-prefs (Bug#7535).
2901         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2902         bindings (Bug#7535).
2904 2010-12-03  Glenn Morris  <rgm@gnu.org>
2906         * nxml/nxml-mode.el: Require rng-nxml.
2907         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2908         Remove declarations.
2910         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2911         * nxml/rng-nxml.el, nxml/rng-valid.el:
2912         Remove leading `*' from defcustom docs.
2914         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2915         (normal-top-level-add-to-load-path, tty-handle-args):
2916         Convert comments to basic doc-strings.
2918         * net/browse-url.el (browse-url-url-at-point)
2919         (browse-url-default-browser): Remove autoload cookies.
2921         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2922         Remove more undefined cl functions.
2924         * vc/diff.el (diff-sentinel): Make new arguments optional.
2925         * ibuf-ext.el (diff-sentinel): Update declaration.
2927 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2929         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2930         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2931         (epg-context-set-passphrase-callback): Mention that the callback
2932         is not called when used with GnuPG 2.x.
2934 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2936         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2937         (tramp-file-name-port): Check also for `tramp-default-port'.
2938         (tramp-get-connection-name): New defun.
2939         (tramp-get-connection-process): Use it.
2940         (tramp-debug-message): Extend function exclude list.
2941         (tramp-drop-volume-letter): Fix doc string.
2943         * net/tramp-cmds.el: Remove solved todo item.
2945         * net/tramp-efs.el:
2946         * net/tramp-ftp.el:
2947         * net/tramp-gvfs.el:
2948         * net/tramp-gw.el:
2949         * net/tramp-imap.el:
2950         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2951         and `tramp-default-user-alist', respectively.
2953         * net/tramp-gw.el (tramp-gw-open-connection):
2954         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2956         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2957         `tramp-file-name-port'.
2959         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2960         and "psftp".  Exchange "%k" marker with options.
2961         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2962         Compute size of link target.
2963         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
2964         `tramp-current-*' up due to gateway methods.  Optimize computing of
2965         copy arguments.  Use `tramp-get-connection-name' and
2966         `tramp-get-connection-buffer'.  Improve debug messages.
2967         (tramp-compute-multi-hops): Remove port determination.
2968         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2970         * net/trampver.el: Update release number.
2972 2010-12-02  Glenn Morris  <rgm@gnu.org>
2974         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2975         Avoid infinite loop over windows.  (Bug#7492)
2977         * progmodes/flymake.el (flymake-check-file-limit):
2978         Allow nil to mean "no limit".
2979         (flymake-check-patch-master-file-buffer): Update for above change.
2980         Allow a .tex file-name extension to be optional.
2981         (flymake-master-tex-init): Also match \include statements.
2983 2010-11-30  Sam Steingold  <sds@gnu.org>
2985         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2986         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2987         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2988         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2989         define-derived-mode').
2990         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2991         users who want to call `nxml-parent-document-set'.
2993 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2995         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2996         stand-alone lines, since that is handled by log-edit-match-to-eoh
2997         (Bug#6465).
2999 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
3001         * dired.el (dired-get-filename): Replace backslashes with slashes
3002         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
3003         * locate.el (locate-default-make-command-line): Don't consider
3004         drive letter and root directory part of
3005         `directory-listing-before-filename-regexp'.  (Bug#7308)
3006         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3008 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3010         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3011         of :smie-open/close-alist.
3012         (smie-next-sexp): Make it accept a "start token" as argument.
3013         (smie-indent-keyword): Be careful not to misidentify tokens that span
3014         more than one line, as empty lines.  Add argument `token'.
3016 2010-11-27  Kenichi Handa  <handa@m17n.org>
3018         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3019         multipart subtypes, insert all as usual.
3021         * mail/rmail.el: Require rfc2047.
3023 2010-11-27  Kenichi Handa  <handa@m17n.org>
3025         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3026         (rmail-mime-entity-disposition)
3027         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3028         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3029         (rmail-mime-save): Handle the case that the button's `data' is a
3030         MIME entity.
3031         (rmail-mime-insert-text): New function.
3032         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3033         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3034         (rmail-mime-insert-bulk): New function mostly copied from the old
3035         rmail-mime-bulk-handler.
3036         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3037         (rmail-mime-process-multipart): New function mostly copied from
3038         the old rmail-mime-multipart-handler.
3039         (rmail-mime-show): Just call rmail-mime-process.
3040         (rmail-mime-process): New function mostly copied from the old
3041         rmail-mime-show.
3042         (rmail-mime-insert-multipart, rmail-mime-parse)
3043         (rmail-mime-insert, rmail-show-mime)
3044         (rmail-insert-mime-forwarded-message)
3045         (rmail-insert-mime-resent-message): New functions.
3046         (rmail-insert-mime-forwarded-message-function): Set to
3047         rmail-insert-mime-forwarded-message.
3048         (rmail-insert-mime-resent-message-function): Set to
3049         rmail-insert-mime-resent-message.
3051         * mail/rmailsum.el: Require rfc2047.
3052         (rmail-header-summary): Handle multiline Subject: field.
3053         (rmail-summary-line-decoder): Change the default to
3054         rfc2047-decode-string.
3056         * mail/rmail.el (rmail-enable-mime): Change the default to t.
3057         (rmail-mime-feature): Change the default to `rmailmm'.
3058         (rmail-quit): Delete the specifal code for rmail-enable-mime.
3059         (rmail-display-labels): Likewise.
3060         (rmail-show-message-1): Check rmail-enable-mime, and use
3061         rmail-show-mime-function for a MIME message.  Decode the headers
3062         according to RFC2047.
3064 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3066         * progmodes/which-func.el (which-func-imenu-joiner-function):
3067         Return a string, as expected.
3068         (which-function-mode): Make sure we stop any previous timer before
3069         starting a new one.
3071 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
3073         * net/tramp.el (tramp-default-method-alist)
3074         (tramp-default-user-alist, tramp-default-proxies-alist):
3075         Adapt custom options type.  (Bug#7445)
3077 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3079         * progmodes/python.el: Add Ipython support (Bug#5390).
3080         (python-shell-prompt-alist)
3081         (python-shell-continuation-prompt-alist): New options.
3082         (python--set-prompt-regexp): New function.
3083         (inferior-python-mode, run-python, python-shell):
3084         Require ansi-color.  Use python--set-prompt-regexp to set the comint
3085         prompt based on the Python interpreter.
3086         (python--prompt-regexp): New var.
3087         (python-check-comint-prompt)
3088         (python-comint-output-filter-function): Use it.
3089         (run-python): Use a pipe (Bug#5694).
3091 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3093         * progmodes/python.el (run-python): Doc fix.
3094         (python-keep-current-directory-in-path): New var (Bug#7454).
3096 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
3098         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3099         Prompt user before actually printing.
3101 2010-11-27  Glenn Morris  <rgm@gnu.org>
3103         * startup.el (package-enable-at-startup, package-initialize):
3104         Remove unnecessary declarations.
3106 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
3108         * international/characters.el (glyphless-char-display-control):
3109         Exclude newline and TAB from the c0-control group.
3111 2010-11-27  Glenn Morris  <rgm@gnu.org>
3113         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
3114         (expand-mail-aliases): Remove unnecessary autoload.
3116         * allout.el (allout-command-prefix, allout-mode-map): Declare.
3118         * shell.el (shell-dir-cookie-re): Move definition before use.
3120         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3121         Replace undefined CL functions.
3123 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
3125         * simple.el (prog-mode): Set bidi-paragraph-direction to
3126         left-to-right.
3128         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
3130 2010-11-26  Glenn Morris  <rgm@gnu.org>
3132         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
3133         diary-outlook-formats can be sensitive to calendar-date-style.
3134         (diary-outlook-formats): Simplify the default setting.
3135         (diary-from-outlook-internal): Pass subject and body as arguments.
3136         Use dolist rather than dotimes.  Don't save the diary buffer.
3137         (diary-from-outlook-gnus, diary-from-outlook-rmail):
3138         Pass subject and body as explicit arguments to the -internal function.
3140 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3142         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3143         parsing them.  This makes mailto:...?subject=foo\nbar work.
3145 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3147         * vc/diff.el (diff): Fix last change.
3149 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3151         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3152         (pcase--dontcare-upats): New var.
3153         (pcase-let, pcase-let*): Generate better code.
3154         Accept the same bodies as `let'.
3155         (pcase-dolist): New macro.
3156         (pcase--trivial-upat-p): New helper function.
3157         (pcase--expand): Strip leading "(let nil" if any.
3159 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3161         * mail/mailclient.el (browse-url): Require.
3162         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3163         use the external browser function to send the mail (bug#7469).
3165         * net/browse-url.el (browse-url-browser-function): Revert the
3166         default back to the previous value, since the new value broke
3167         mailclient.el.
3168         (browse-url-mailto-function): New variable for mailto: URLs.
3169         (browse-url): Use the new variable for mailto: URLs.
3171 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3173         * eshell/esh-cmd.el (eshell-parse-command):
3174         * eshell/esh-arg.el (eshell-parse-arguments):
3175         * eshell/em-script.el (eshell-source-file):
3176         Use with-silent-modifications.
3178 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3180         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3181         for a merge location.
3183         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3184         (vc-bzr-merge-branch): Always prompt.
3185         (vc-bzr-async-command): Use the full branch filename.
3187 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3189         * shell.el (shell): Use current-buffer by default if it's already
3190         a shell mode buffer and its process is dead.
3191         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3193 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3195         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3196         Mention that the keywords should be comma separated.
3198 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3200         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3201         Accept optional prefix arg meaning to prompt for a command.
3202         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3203         prefix arg meaning to prompt for a command.
3204         (vc-pull): Alias for vc-update.
3206         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3207         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3208         (vc-bzr-merge-branch): New functions, implementing merge-branch
3209         and pull operations.
3211 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3213         * Makefile.in: Fix up last merge.
3215         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3216         (diff-sentinel): Get them as arguments instead.
3217         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3218         (diff-file-local-copy, diff-better-file-name): New funs.
3219         (diff-no-select): Rename from diff-into-buffer.
3220         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3221         Prefer closures to buffer-local variables.
3222         (diff): Adjust accordingly.
3223         (diff-buffer-with-file): Move from files.el.
3224         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3225         (diff-buffer-internal): Remove.
3226         (diff-buffer-buffer): Remove.
3227         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3228         the buffer name used, and so as not to mess up windows and frames.
3230 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3232         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3233         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3234         (diff-buffer-with-file): Use it.
3235         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3236         (diff): Use it.
3238 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3240         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3241         \ref's or \pageref's value as default instead of initial input.
3243 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3245         * files.el (backup-by-copying-when-mismatch): The default value is
3246         now t.
3248         * startup.el (normal-top-level):
3249         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3250         `backup-by-copying-when-mismatch'.
3252 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3254         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3256 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3258         * progmodes/python.el (python-font-lock-keywords):
3259         Highlight top-level augmented assignments (Bug#6445).
3261 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3263         * term/ns-win.el (ns-right-control-modifier)
3264         (ns-right-command-modifier): Defvar them.
3266         * cus-start.el (all): Add ns-right-control-modifier and
3267         ns-right-command-modifier (Bug#7458).
3269 2010-11-20  Glenn Morris  <rgm@gnu.org>
3271         * emacs-lisp/authors.el (authors-ignored-files)
3272         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3274 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3276         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3277         (report-emacs-bug-parse-query-results)
3278         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3279         keywords used for querying the bug database to show them in the
3280         existing bugs buffer.
3282 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3284         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3286         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3288 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3290         * international/characters.el (glyphless-char-display-control):
3291         Make it a defcustom, with update-glyphless-char-display as its
3292         :set attribute.
3293         (top level): Don't call update-glyphless-char-display.
3295 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3297         Sync with Tramp 2.2.0.
3299         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3300         `file-remote-p' (due to compatibility).
3302         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3303         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3305         * net/trampver.el: Update release number.
3307 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3309         * faces.el (glyphless-char): Define value for `pc'.
3311 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3313         Implemented a bug querying mechanism.
3314         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3315         (report-emacs-bug-create-existing-bugs-buffer)
3316         (report-emacs-bug-parse-query-results)
3317         (report-emacs-bug-query-existing-bugs): New functions.
3319 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3321         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3322         a \ref{} or \pageref{} macro, then use its value as initial input.
3324 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3326         * calc/calc-units.el (math-build-units-table-buffer):
3327         calc/README: Mention that the TeX specific units won't use the
3328         `tex' prefix in TeX mode.
3329         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3330         prefix for units in TeX mode.
3332 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3334         * simple.el (kill-new, kill-append, kill-region):
3335         * comint.el (comint-kill-region): Make the yank-handler argument
3336         obsolete.
3338 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3340         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3341         that are both openers (resp. closers) and something else.
3342         (smie-grammar): Loosen definition of valid values.
3343         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3344         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3345         (smie-indent-after-keyword): Adjust users.
3346         (smie-indent-keyword): Don't indent empty lines.
3348         * vc-hg.el (vc-hg-program): New var.
3349         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3350         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3352 2010-11-18  Glenn Morris  <rgm@gnu.org>
3354         * emacs-lisp/autoload.el (autoload-find-destination): The function
3355         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3357 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3359         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3361 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3363         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3365 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3367         * textmodes/picture.el (picture-mouse-set-point): Don't use
3368         posn-col-row; explicitly compute the motion based on the posn at
3369         the window-start (Bug#7390).
3371 2010-11-18  Glenn Morris  <rgm@gnu.org>
3373         * novice.el (disabled-command-function):
3374         Fix 2009-11-15 change.  (Bug#7384)
3376 2010-11-18  Glenn Morris  <rgm@gnu.org>
3378         * calendar/calendar.el (diary-iso-date-forms): Make elements
3379         mutually exclusive.  (Bug#7377)
3381 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3383         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3384         when filling the remaining "unconstrained" values.
3386 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3388         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3389         safety predicate.
3391         * files.el (safe-local-variable-p): Gracefully handle errors.
3393         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3394         Use smie-indent-virtual when indenting relative to an opener.
3395         (smie-rule-separator): Use smie-rule-parent.
3396         (smie-indent-keyword): Consult rules, even for openers at bol.
3397         (smie-indent-comment-close): Try to align closer's content.
3399 2010-11-18  Glenn Morris  <rgm@gnu.org>
3401         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3403 2010-11-18  Glenn Morris  <rgm@gnu.org>
3405         * printing.el (pr-menu-bind): Doc fix.
3407         * speedbar.el (speedbar-toggle-images): Doc fix.
3409         * progmodes/python.el (python-shell): Doc fix.
3411         * wid-edit.el (widget-field-use-before-change)
3412         (widget-use-overlay-change): Doc fixes.
3414 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3416         Minor cleanup to improve style.
3417         * textmodes/rst.el (rst-update-section): Use point-marker.
3418         (rst-get-decoration): Eliminate unneeded assignment.
3419         (rst-promote-region, rst-straighten-decorations)
3420         (rst-section-tree, rst-adjust): Use point-marker.
3421         (rst-toc-mode-mouse-goto): Avoid setq.
3422         (rst-shift-region-guts, rst-shift-region-left)
3423         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3424         (rst-convert-bullets-to-enumeration): Use copy-marker.
3426         * minibuffer.el (completion-fail-discreetly): New var.
3427         (completion--do-completion): Use it.
3429         * electric.el (electric-pair-pairs): New var.
3430         (electric-pair-post-self-insert-function): Use it.
3431         (electric-layout-post-self-insert-function): Don't insert a before
3432         newline unless it's actually needed.
3434 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3436         * progmodes/python.el (run-python): Explain why we remove the current
3437         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
3439         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3441 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3443         * progmodes/octave-mod.el: Rely on elecric-*-modes.
3444         (octave-mode-map): Don't bind ;, SPC, and LF.
3445         (octave-auto-indent, octave-auto-newline): Remove.
3446         (electric-layout-rules): Declare.
3447         (octave-mode): Set electric-layout-rules.
3448         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3449         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3450         (octave-electric-space): Remove.
3452         * electric.el (electric-layout-mode): New minor mode.
3453         (electric--after-char-pos): New function.
3454         (electric-indent-post-self-insert-function): Use it.
3455         (electric-layout-rules): New var.
3456         (electric-layout-post-self-insert-function): New function.
3457         (electric-indent-mode): Make them interact better.
3459 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3461         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3462         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3463         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3465 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
3467         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3468         Make sure to check inside the word (Bug#6761).
3470 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
3472         * startup.el (command-line): If the cursorColor resource is set,
3473         change the cursor face-spec (Bug#7392).
3475 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
3477         The main features of the following allout.el changes are:
3478         - implement user customization for the allout key bindings
3479         - add a customization control by which the user can inhibit use of
3480           a trailing Ctrl-H, so by default it's reserved for use with
3481           describe-prefix-bindings
3482         - adapt to new version of called-interactively-p, while
3483           maintaining backwards compatibility with old version
3484         - fix hotspot navigation so i works properly with meta-modified keys
3486         * allout.el (allout-keybindings, allout-bind-keys)
3487         (allout-keybindings-binding, allout-prefixed-keybindings)
3488         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3489         (allout-keybindings-list, allout-mode-map-adjustments)
3490         (allout-setup-mode-map): Establish allout-mode keymaps as user
3491         customizable settings, and also establish a customizable setting which
3492         regulates whether or not a trailing control-h is reserved for use with
3493         describe-prefix-bindings - and inhibit it by default, so that control-h
3494         *is* reserved for describe-prefix-bindings unless the user changes it.
3496         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3497         and accurately between modified and unmodified events, and handle
3498         modified events more comprehensively.
3500         * allout.el (allout-substring-no-properties):
3501         Alias to use or provide version of `substring-no-properties'.
3502         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3504         * allout.el (allout-next-single-char-property-change):
3505         Alias to use or provide version of `next-single-char-property-change'.
3506         (allout-annotate-hidden, allout-hide-by-annotation):
3507         Use `allout-next-single-char-property-change'.
3509         * allout.el (allout-select-safe-coding-system):
3510         Alias to use or provide version of `select-safe-coding-system'.
3511         (allout-toggle-subtree-encryption):
3512         Use `allout-select-safe-coding-system'.
3514         * allout.el (allout-set-buffer-multibyte):
3515         Alias to use or provide version of `set-buffer-multibyte'.
3516         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3518         * allout.el (allout-called-interactively-p): Macro for using the
3519         different versions of called-interactively-p identically, depending on
3520         the subroutine's argument signature.
3521         (allout-back-to-current-heading, allout-beginning-of-current-entry):
3522         Use `(interactive "p")' instead of `(called-interactively-p)'.
3524         * allout.el (allout-init, allout-ascend, allout-end-of-level)
3525         (allout-previous-visible-heading, allout-forward-current-level)
3526         (allout-backward-current-level, allout-show-children):
3527         Use `allout-called-interactively-p' instead of `called-interactively-p'.
3529         * allout.el (allout-before-change-handler):
3530         Exempt edits to the (overlaid) character after the allout outline
3531         bullet from edit confirmation prompt.
3533         * allout.el (allout-add-resumptions):
3534         Ensure that it respects correct buffer for keybindings.
3536         * allout.el (allout-beginning-of-line):
3537         Use `allout-previous-single-char-property-change' alias for the sake of
3538         diverse compatibility.
3540         * allout.el (allout-end-of-line):
3541         Use `allout-mark-active-p' to encapsulate respect for mark activity.
3543 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
3545         * frame.el (frame-notice-user-settings): Don't clobber other
3546         user-set parameters when calling face-set-after-frame-default in
3547         response to background-color parameter (Bug#7373).
3549 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
3551         * international/characters.el (glyphless-char-display-control):
3552         Rename from glyphless-char-control; all users changed.  Doc fix.
3553         Signal an error if display method is not one of the recognized
3554         symbols.
3556 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
3558         * net/tramp-compat.el (tramp-compat-line-beginning-position)
3559         (tramp-compat-line-end-position): Remove them.
3561         * net/tramp.el (tramp-parse-rhosts-group)
3562         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3563         (tramp-parse-hosts-group, tramp-parse-passwd-group)
3564         (tramp-parse-netrc-group, tramp-parse-putty-group)
3565         * net/tramp-cmds.el (tramp-append-tramp-buffers)
3566         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3567         (tramp-sh-handle-file-selinux-context)
3568         (tramp-sh-handle-file-name-all-completions)
3569         (tramp-sh-handle-insert-directory)
3570         (tramp-sh-handle-expand-file-name, tramp-find-executable)
3571         (tramp-wait-for-output, tramp-send-command-and-read)
3572         * net/tramp-smb.el (tramp-smb-read-file-entry)
3573         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3575         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3576         `point-at-bol'.
3577         (tramp-remote-coding-commands): Add an alternative using "base64
3578         -d -i".  This is needed for older base64 versions from GNU
3579         coreutils.  Reported by Klaus Reichl
3580         <Klaus.Reichl@thalesgroup.com>.
3582 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
3584         * simple.el (count-words-region): New function.
3586 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3588         * shell.el (shell-dir-cookie-re): New custom variable.
3589         (shell-dir-cookie-watcher): New function.
3591         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3592         and compilation-mode (bug#7350).
3594         * vc/smerge-mode.el (smerge-refine): Choose better default part to
3595         highlight when one of them is empty.
3597         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3598         trailing space.
3599         (skeleton-newline): New function.
3600         (skeleton-internal-1): Use it.
3602         * simple.el (open-line): `newline' may strip trailing space.
3604 2010-11-12  Kevin Ryde  <user42@zip.com.au>
3606         * international/mule-cmds.el (princ-list): Use mapc.
3608 2010-11-12  Glenn Morris  <rgm@gnu.org>
3610         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3611         Use it to replace all instances of "*Compile-Log*"
3613 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3615         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3616         indentation specs.
3618 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3620         * progmodes/modula2.el: Use SMIE and skeleton.
3621         (m2-mode-syntax-table): (*..*) can be nested.
3622         Add //...\n.  Fix paren syntax.
3623         (m2-mode-map): Remove LF and TAB bindings.
3624         (m2-indent): Add safety property.
3625         (m2-smie-grammar): New var.
3626         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3627         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3628         (m2-mode): Use define-derived-mode.
3629         (m2-newline, m2-tab): Remove.
3630         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3631         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3632         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3633         (m2-import): Use define-skeleton.
3635 2010-11-11  Glenn Morris  <rgm@gnu.org>
3637         * obsolete/lucid.el: Don't warn about any CL functions in this file.
3639         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3640         (ls-lisp-verbosity): Add custom :set-after property.
3641         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3642         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3643         (ls-lisp-insert-directory): Update caller.
3644         (ls-lisp-set-options): New function.
3645         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3646         Doc fix.
3648         * play/landmark.el (lm-prompt-for-move):
3649         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3651         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3653         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3654         (idlwave-study-twins): Prefix dynamic local variable `name'.
3655         (idlwave-routine-twin-compare): Update for above change.
3657         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3658         Prefix dynamic local variables `name', `kwd', and `link'.
3659         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3660         * progmodes/idlw-complete-structtag.el
3661         (idlwave-complete-structure-tag-help):
3662         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3663         (idlwave-complete-sysvar-tag-help)
3664         (idlwave-complete-class-structure-tag-help):
3665         Update for above name changes.
3667 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3669         * net/browse-url.el (browse-url-browser-function): Change the
3670         default to use `browse-url-mail' on mailto: URLs.
3672 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
3674         * emacs-lisp/package.el (package-read-all-archive-contents):
3675         Reset package-archive-contents to nil before re-reading.
3677 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
3679         * textmodes/flyspell.el (flyspell-word): Do not re-check words
3680         already found as misspellings by (flyspell-large-region), just
3681         do highlighting (bug#7322).
3683 2010-11-10  Glenn Morris  <rgm@gnu.org>
3685         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3687         * emulation/edt.el (edt-with-position): New macro.
3688         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3689         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3690         (edt-paragraph-forward, edt-paragraph-backward): Use it.
3692         * emulation/tpu-extras.el (tpu-with-position): New macro.
3693         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3695         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3697         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3698         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3699         (texinfo-master-menu, texinfo-insert-node-lines)
3700         (texinfo-multiple-files-update):
3701         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3702         Use line-beginning-position.
3704         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3705         No recent Emacs supports system-type `emx'.
3707         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3708         (ada-command-separator, ada-default-prj-properties)
3709         (ada-find-any-references): Update for above name change.
3711         * dirtrack.el (dirtrack-directory-function)
3712         (dirtrack-canonicalize-function):
3713         * filecache.el (file-cache-completion-ignore-case)
3714         (file-cache-case-fold-search, file-cache-ignore-case):
3715         * term.el (serial-port-is-file-p): Cosmetic change.
3717         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3718         Remove non-existent `windows-95' system-type.
3719         * dired.el (dired-chown-program): Remove non-existent `linux'
3720         system-type.
3722         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3723         (ping-program-options): Remove non-existent `linux' system-type.
3725         * startup.el (package-initialize): Update declaration.
3727         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3728         (ls-lisp-handle-switches): Use time-less-p.
3729         (ls-lisp-format-time): Use float-time.
3731         * textmodes/remember.el (remember-time-to-seconds): Remove.
3732         (remember-store-in-mailbox): Use float-time.
3734         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3736         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3737         never a real function.
3738         (with-no-warnings): Remove compat stub, now unused.
3739         (time-less-p): Doc fix.
3740         (time-to-number-of-days): Simplify.
3742         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3743         Remove.
3744         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3745         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3746         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3747         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3748         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3750         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3751         (eshell-shuffle-files, eshell-shorthand-tar-command)
3752         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3753         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3754         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3755         Prefix dynamic local variable `matches'.
3757         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3758         Prefix dynamic local variable `skeleton'.
3760 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
3762         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3763         in mail buffer; make yank-action always a command that yanks original
3764         buffer.
3766 2010-11-09  Glenn Morris  <rgm@gnu.org>
3768         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3770 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3772         * minibuffer.el (minibuffer-completion-help): Specify the end of the
3773         completion field (bug#7211).
3775         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3776         Fix handling of backslash escapes.
3777         (python-quote-syntax): Adjust accordingly.
3779 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
3781         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3782         (vc-mtn-workfile-branch): Adjust to new output format.
3784 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3786         * international/mule-cmds.el (princ-list): Mark as obsolete.
3788 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3790         * emacs-lisp/smie.el: New package.
3792 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
3794         * files.el (backup-by-copying-when-mismatch):
3795         Set `permanent-local' property.
3797         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3798         `permanent-local' property for `backup-by-copying-when-mismatch'.
3800 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
3802         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
3804 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
3806         * progmodes/verilog-mode.el (verilog-insert-one-definition)
3807         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3808         AUTOINOUT for SV style multidimensional arrays, bug294.
3809         Reported by Eric Mastromarchi.
3810         (verilog-preprocess): Use with-current-buffer and
3811         font-lock-fontify-buffer to cleanup style issues.
3813 2010-11-09  Glenn Morris  <rgm@gnu.org>
3815         * locate.el (locate, locate-mode): Doc fixes.
3817 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
3819         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3820         user for confirmation.
3821         (server-force-stop): Use it.
3822         (server-start): Use server-force-stop for kill-emacs-hook, to
3823         avoid user interaction while killing Emacs.
3825 2010-11-09  Glenn Morris  <rgm@gnu.org>
3827         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3828         (meta-indent-line): Simplify.
3830         * vc/emerge.el (emerge-line-number-in-buf):
3831         * textmodes/ispell.el (ispell-region):
3832         * textmodes/fill.el (current-fill-column):
3833         * progmodes/xscheme.el (xscheme-send-current-line):
3834         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3835         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3836         * progmodes/sh-script.el (sh-handle-prev-do):
3837         * progmodes/meta-mode.el (meta-indent-line):
3838         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3839         (idlwave-in-quote):
3840         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3841         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3842         * progmodes/fortran.el (fortran-looking-at-if-then):
3843         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3844         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3845         (cperl-find-pods-heres):
3846         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3847         * net/quickurl.el (quickurl-list-insert):
3848         * net/ldap.el (ldap-search-internal):
3849         * net/eudc.el (eudc-expand-inline):
3850         * mail/sendmail.el (sendmail-send-it):
3851         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3852         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3853         (viper-brac-function):
3854         * calc/calc-yank.el (calc-do-grab-region):
3855         * calc/calc-keypd.el (calc-keypad-press):
3856         * term.el (term-move-columns, term-insert-spaces):
3857         * speedbar.el (speedbar-highlight-one-tag-line):
3858         * simple.el (current-word):
3859         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3860         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3861         (Info-scroll-down):
3862         * hippie-exp.el (he-line-beg):
3863         * epa.el (epa--marked-keys):
3864         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3865         (dired-update-file-line, dired-add-entry, dired-remove-entry)
3866         (dired-relist-entry):
3867         * buff-menu.el (Buffer-menu-buffer):
3868         * array.el (current-line):
3869         * allout.el (allout-resolve-xref)
3870         (allout-latex-verbatim-quote-curr-line):
3871         Replace yet more uses of end-of-line etc with line-end-position, etc.
3873 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3875         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3876         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3877         (checkdoc-syntax-table): Initialize in the declaration.
3878         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3879         the mode on unconditionally.
3881         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3882         (extent-end-position, extent-start-position): Remove setf method for
3883         non-existing functions (bug#7319).
3885 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3887         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3888         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3889         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3890         (smie-prec2->grammar): Rename from smie-prec2-levels.
3891         (smie-grammar): Rename from smie-op-levels.
3892         (smie-indent--hanging-p): Rename from smie-hanging-p.
3893         (smie-rule-hanging-p): New alias.
3894         (smie-indent--bolp): Rename from smie-bolp.
3895         (smie-indent--hanging-p): New alias.
3896         (smie--token): New dynamically bound variable.
3897         (smie-indent--parent): New function.
3898         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3899         (smie-rule-next-p): Rename from smie-next-p.
3900         (smie-rule-prev-p): Rename from smie-prev-p.
3901         (smie-rule-sibling-p, smie-rule-parent)
3902         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3903         (smie-rule-separator-outdent): New var.
3904         (smie-indent--rule): Merge with smie-indent--column.
3905         (smie-indent-forward-token, smie-indent-backward-token):
3906         Also recognize close parens.
3907         (smie-indent-keyword): Don't use smie-indent--column any more.
3908         (smie-indent-after-keyword): Ignore closers by default.
3909         (smie-indent-line): Use with-demoted-errors.
3910         * progmodes/octave-mod.el (octave-smie-grammar):
3911         Rename from octave-smie-op-levels.
3912         (octave-smie-rules): Adjust to new behavior.
3913         * progmodes/prolog.el (prolog-smie-grammar):
3914         Rename from prolog-smie-op-levels.
3916 2010-11-07  Glenn Morris  <rgm@gnu.org>
3918         * eshell/esh-util.el (subst-char-in-string)
3919         (directory-files-and-attributes): These compatibility definitions are
3920         not needed on any version of Emacs since at least 21.4.
3922         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3923         (verilog-get-end-of-line): Remove.
3924         (verilog-within-string, verilog-re-search-forward-substr)
3925         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3926         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3927         Use point-at-bol, point-at-eol.
3928         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3929         Remove.
3930         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3931         (electric-pascal-terminate-line, pascal-set-auto-comments)
3932         (pascal-indent-paramlist, pascal-indent-declaration)
3933         (pascal-get-lineup-indent, pascal-func-completion)
3934         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3935         Use point-at-bol, point-at-eol.
3936         * progmodes/flymake.el (flymake-line-beginning-position)
3937         (flymake-line-end-position): Remove.
3938         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3939         * eshell/esh-util.el (line-end-position, line-beginning-position):
3940         Remove compat definitions.
3942         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3943         Use end-of-line N.
3944         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3945         Use line-end-position.
3947         * emacs-lisp/chart.el (chart-zap-chars):
3948         * play/decipher.el (decipher-set-map):
3949         * progmodes/ada-mode.el (ada-get-current-indent)
3950         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3951         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3952         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3953         (ada-get-all-references):
3954         * progmodes/cperl-mode.el (cperl-electric-paren)
3955         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3956         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3957         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3958         (cperl-word-at-point-hard):
3959         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3960         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3961         (idlwave-shell-display-line):
3962         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3963         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3964         * progmodes/js.el (js--re-search-forward-inner)
3965         (js--re-search-backward-inner):
3966         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3967         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3968         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3969         * textmodes/flyspell.el (flyspell-process-localwords):
3970         * textmodes/ispell.el (ispell-buffer-local-parsing)
3971         (ispell-buffer-local-dict, ispell-buffer-local-words):
3972         Use point-at-bol and point-at-eol.
3974         * speedbar.el (speedbar-generic-item-info)
3975         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3976         (speedbar-add-indicator, speedbar-check-vc-this-line)
3977         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3978         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3979         Replace more uses of end-of-line etc with line-end-position.
3981 2010-11-06  Glenn Morris  <rgm@gnu.org>
3983         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3984         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3985         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3986         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3987         (texinfo-multiple-files-update):
3988         * textmodes/table.el (table--probe-cell-left-up)
3989         (table--probe-cell-right-bottom):
3990         * textmodes/picture.el (picture-tab-search):
3991         * textmodes/page-ext.el (pages-copy-header-and-position)
3992         (pages-directory-for-addresses):
3993         * progmodes/vera-mode.el (vera-get-offset):
3994         * progmodes/simula.el (simula-calculate-indent):
3995         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3996         * progmodes/prolog.el (end-of-prolog-clause):
3997         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3998         * progmodes/icon.el (indent-icon-exp):
3999         * progmodes/etags.el (tag-re-match-p):
4000         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4001         * progmodes/ebnf2ps.el (ebnf-begin-file):
4002         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4003         (dcl-save-local-variable):
4004         * play/life.el (life-setup):
4005         * play/gametree.el (gametree-looking-at-ply):
4006         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4007         * mail/sendmail.el (mail-mode-auto-fill):
4008         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4009         * emacs-lisp/edebug.el (edebug-overlay-arrow):
4010         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4011         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4012         (woman-tab-to-tab-stop, WoMan-warn-ignored):
4013         * type-break.el (type-break-file-keystroke-count):
4014         * term.el (term-replace-by-expanded-history-before-point)
4015         (term-skip-prompt, term-extract-string):
4016         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4017         (speedbar-contract-line, speedbar-toggle-line-expansion)
4018         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4019         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4020         * sort.el (sort-skip-fields):
4021         * skeleton.el (skeleton-internal-list):
4022         * simple.el (line-move-finish, line-move-to-column):
4023         * shell.el (shell-forward-command):
4024         * misc.el (copy-from-above-command):
4025         * makesum.el (double-column):
4026         * ebuff-menu.el (electric-buffer-update-highlight):
4027         * dired.el (dired-move-to-end-of-filename):
4028         * dframe.el (dframe-popup-kludge):
4029         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4030         * arc-mode.el (archive-get-lineno):
4031         Use line-end-position and line-beginning-position.
4033         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4034         (idlwave-study-twins): Prefix dynamic local `class'.
4035         (idlwave-routine-twin-compare): Update for above name change.
4037         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
4038         Use boundp tests to silence compiler.  Update for changed name of
4039         bytecomp-filename variable.
4041         * emulation/viper-cmd.el (viper-read-string-with-history):
4042         Prefix dynamic local `initial'.
4043         (viper-minibuffer-standard-hook): Update for above name change.
4045         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
4046         (elint-init-form): Update for above name change.
4048         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
4049         local variables `cbeg' and `cend' a prefix.
4050         (mail-extr-voodoo): Update for above name change.
4052         * textmodes/reftex-toc.el (reftex-toc-do-promote)
4053         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
4054         (reftex-toc-promote-action): Doc fix.
4056         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
4057         `prompt', `data' a prefix.
4058         (reftex-select-post-command-hook, reftex-select-callback)
4059         (reftex-select-mouse-accept, reftex-select-read-cite):
4060         Update for above name changes.
4062         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
4063         `refstyle' to reftex-refstyle.
4064         (reftex-offer-label-menu): Update for above name change.
4065         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
4066         `refstyle' name change.
4068         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
4069         with with-current-buffer.
4070         (diff, template): Give dynamic local variables a prefix.
4071         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
4072         (emerge-line-number-in-buf): Update for above name change.
4073         (emerge-combine-versions-internal): Rename local `template' to
4074         emerge-combine-template.
4075         (emerge-combine-versions-edit): Update for above name change.
4077 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
4079         * textmodes/reftex-cite.el
4080         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
4081         entries with whitespace after \bibitem.
4082         (reftex-create-bibtex-file): Match entries containing numbers and
4083         symbol constituents.  Make sure that entries with whitespace at
4084         various places are found.
4086 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
4088         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
4090 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
4092         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
4094 2010-11-05  Glenn Morris  <rgm@gnu.org>
4096         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
4097         (woman2-roff-buffer): Give local variable `request' a prefix.
4098         (woman0-macro): Rename argument `request' in the same way.
4099         (woman-request): New name for `request' dynamic variable.
4100         (woman-unquote, woman-forward-arg): Update for above name change.
4101         (woman1-roff-buffer): Give local variable `unquote' a prefix.
4102         (woman1-unquote): New name for `unquote' dynamic variable.
4103         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
4104         (woman-translations): Rename from `translations'.  No longer global.
4105         (woman2-tr, woman-translate): Update for above name change.
4106         (woman-translate): Check for bound variable.
4107         (woman2-roff-buffer): Give local variable `translations' a prefix.
4109         * play/doctor.el: Give all local variables a prefix.  Update callers.
4110         (doc$, doctor-put-meaning): Use backquote.
4112         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
4113         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
4115         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
4116         variables bytes, ptr, op a prefix.
4117         (disassemble-offset): Update for above change.
4119 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4121         * emacs-lisp/package.el (package-unpack): Remove no-op.
4122         (package--builtins, package--dir): Doc fix.
4123         (package-activate-1, package-activate, package-install)
4124         (package-compute-transaction): Fix error message.
4125         (package-delete): Use delete-directory.  Omit system packages.
4126         (package-initialize): Set package-alist to nil first.
4127         (package-menu-mark-delete, package-menu-mark-install): Don't add
4128         symbols that are inconsistent with the package state.
4129         (package-menu-execute): Perform deletions and installations as
4130         single batch operations.
4132 2010-11-03  Glenn Morris  <rgm@gnu.org>
4134         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
4135         (props): Remove unnecessary declaration.
4137         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
4138         set-process-query-on-exit-flag.
4140         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
4141         (reftex-toc-do-promote): Remove unused local `mpos'.
4142         (reftex-toc-restore-region): Make `mpos' local to this function.
4144         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4146         * play/landmark.el (lm-losing-threshold): Correct spelling.
4147         (lm-human-plays): Use new name.
4149         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4150         (gomoku-human-plays): Use new name.
4152         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4153         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4154         (gomoku-score-trans-table, gomoku-winning-threshold)
4155         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4157 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4159         * emacs-lisp/package.el: Don't put built-in packages in
4160         package-alist, to avoid loading inefficiencies.
4161         (package-built-in-p): Make VERSION optional, and treat it as a
4162         minimum acceptable version.
4163         (package-activate): Search separately for built-in packages.
4164         Emit a warning if a dependency fails.
4165         (define-package): Handle most common case, where there is no
4166         obsolete package, first.
4167         (package-compute-transaction): Print required version in error.
4168         (package--initialized): New variable.
4169         (list-packages): Use it.
4170         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4171         built-in packages in packages-alist; keep it separate.
4172         Set package--initialized.
4173         (describe-package): Avoid activating packages as a side-effect.
4174         Search separately for built-in packages.
4175         (describe-package-1): Handle the case where an elpa package is
4176         simultaneously built-in and available/installed.
4177         (package-installed-p, package--generate-package-list):
4178         Search separately for built-in packages.
4179         (package-load-descriptor): Doc fix.
4181 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4183         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4184         Handle __DATA__ and __END__.
4186 2010-11-02  Noah Friedman  <friedman@splode.com>
4188         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4189         nil, do not ask to recompile files that are not already compiled,
4190         and do not recompile them.
4192 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4194         * emacs-lisp/package.el (package-initialize): Ensure that
4195         obsoleted built-in packages are not in package-activated-list
4196         during activation.
4197         (describe-package-1): Make the "installed" status override
4198         "built-in".
4200 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4202         * subr.el (version-separator, version-regexp-alist): Remove '*'
4203         from docstring.
4204         (version-list-<=, version<=, version=): Doc fix.
4206 2010-11-01  Kenichi Handa  <handa@m17n.org>
4208         * faces.el (glyphless-char): Inherit underline for tty.
4210 2010-11-01  Kenichi Handa  <handa@m17n.org>
4212         Implement various display methods for glyphless characters.
4214         * international/characters.el (char-acronym-table): New variable.
4215         (glyphless-char-control): New variable.
4216         (update-glyphless-char-display): New function.
4218         * faces.el (glyphless-char): New face.
4220 2010-11-01  Glenn Morris  <rgm@gnu.org>
4222         * calendar/holidays.el (general-holidays, oriental-holidays)
4223         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4224         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4225         the definitions of their targets.
4227         * emacs-lisp/smie.el (smie): New custom group.
4228         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4230         * faces.el (xw-defined-colors, x-setup-function-keys):
4231         * mouse-sel.el (x-select-text):
4232         * term/w32console.el (x-setup-function-keys): Update declarations.
4234         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4236         * textmodes/ispell.el (comment-add): Declare.
4238         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4239         Declare.
4241         * info.el (finder-keywords-hash, package-alist): Declare.
4243 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4245         * finder.el (finder-compile-keywords): Don't use intern-soft,
4246         since package names may not yet exist in the obarray.
4248 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4250         * vc/vc-arch.el (vc-arch-checkin):
4251         * vc/vc-cvs.el (vc-cvs-checkin):
4252         * vc/vc-mtn.el (vc-mtn-checkin):
4253         * vc/vc-rcs.el (vc-rcs-checkin):
4254         * vc/vc-sccs.el (vc-sccs-checkin):
4255         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4256         since 2010-04-21 commit by Stefan Monnier.
4258 2010-11-01  Glenn Morris  <rgm@gnu.org>
4260         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4262         * startup.el (package-enable-at-startup, package-initialize):
4263         Silence compiler.
4265         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4266         Silence compiler.
4268 2010-10-31  Julien Danjou  <julien@danjou.info>
4270         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4271         (byte-recompile-directory):
4272         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4273         Use `byte-recompile-file'.
4275 2010-10-31  Glenn Morris  <rgm@gnu.org>
4277         * cus-start.el: Handle standard values via a keyword.
4278         Only set version property if specified.
4279         (cursor-in-non-selected-windows, menu-bar-mode)
4280         (tool-bar-mode, show-trailing-whitespace):
4281         Do not specify standard values.
4282         (transient-mark-mode, temporary-file-directory): Use :standard.
4284 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4286         * term/x-win.el (x-get-selection-value): New function that gets
4287         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4289 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4291         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4292         preserve owner and group when editing files.  (Bug#7289)
4294 2010-10-31  Glenn Morris  <rgm@gnu.org>
4296         * speedbar.el (speedbar-mode):
4297         * play/fortune.el (fortune-in-buffer, fortune):
4298         * play/gomoku.el (gomoku-mode):
4299         * play/landmark.el (lm-mode):
4300         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4301         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4303         * select.el (x-selection): Mark it as an obsolete alias.
4305 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4307         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4308         major-mode (bug#7284).
4310 2010-10-31  Glenn Morris  <rgm@gnu.org>
4312         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4313         rather than just an unused variable that inherits from the real one.
4315 2010-10-31  Alan Mackenzie  <acm@muc.de>
4317         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4318         This fixes bug #7185.
4320 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4322         * startup.el (command-line): Search for package directories, and
4323         don't load package.el if none are found.
4325         * emacs-lisp/package.el (describe-package, list-packages):
4326         Call package-initialize if it has not been called yet.
4328 2010-10-30  Alan Mackenzie  <acm@muc.de>
4330         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4331         which fontifies the tail of an enum.
4332         (c-basic-matchers-after): Insert a call to the above new function.
4333         This fixes bug #7264.
4335 2010-10-30  Glenn Morris  <rgm@gnu.org>
4337         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4338         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4339         Include the :set property in the dumped Emacs.
4341 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4343         SMIE: change indent rules format, improve smie-setup.
4344         * emacs-lisp/smie.el (smie-precs-precedence-table)
4345         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4346         Mark them pure so the tables gets built at compile time.
4347         (smie-bnf-precedence-table): Store the closer-alist in the table.
4348         (smie-prec2-levels): Preserve the closer-alist.
4349         (smie-blink-matching-open): Be more forgiving in case of indentation.
4350         (smie-hanging-p): Rename from smie-indent--hanging-p.
4351         (smie-bolp): Rename from smie-indent--bolp.
4352         (smie--parent, smie--after): New dynamic vars.
4353         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4354         (smie-indent-rules): Remove.
4355         (smie-indent--offset-rule): Remove fun.
4356         (smie-rules-function): New var.
4357         (smie-indent--rule): New fun.
4358         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4359         (smie-indent-exps): Use it.
4360         (smie-setup): Setup paren blinking; add keyword args for token
4361         functions; extract closer-alist from op-levels.
4362         (smie-indent-debug-log): Remove var.
4363         (smie-indent-debug): Remove fun.
4364         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4365         (prolog-smie-rules): New fun to replace it.
4366         (prolog-mode-variables): Simplify.
4367         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4368         it's setup automatically.
4369         (octave-smie-indent-rules): Remove.
4370         (octave-smie-rules): New fun to replace it.
4371         (octave-mode): Simplify.
4373 2010-10-29  Glenn Morris  <rgm@gnu.org>
4375         * files.el (temporary-file-directory): Remove (already defined in C).
4376         * cus-start.el: Add temporary-file-directory.
4378         * abbrev.el (abbrev-mode):
4379         * composite.el (auto-composition-mode):
4380         * menu-bar.el (menu-bar-mode):
4381         * simple.el (transient-mark-mode):
4382         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4383         that they do not define the associated variables twice.
4384         * simple.el (transient-mark-mode): Remove defvar.
4385         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4386         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4387         Handle multiple groups, and also custom-delayed-init-variables.
4388         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4390 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4392         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4393         (pcase-if): Add one minor optimization.
4394         (pcase-split-equal): Rename from pcase-split-eq.
4395         (pcase-split-member): Rename from pcase-split-memq.
4396         (pcase-u1): Add strings to the member optimization.
4397         Add `guard' variant of predicates.
4398         (pcase-q1): Add string patterns.
4400 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4402         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4404 2010-10-28  Glenn Morris  <rgm@gnu.org>
4406         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4407         Move menu-bar related settings to ../menu-bar.el.
4408         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4409         Move ns-specific settings here from term/ns-win.el.
4411         * simple.el (x-selection-owner-p): Remove unused declaration.
4413 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4415         * minibuffer.el (completion-cycling): New var (bug#7266).
4416         (minibuffer-complete, completion--do-completion):
4417         Use completion--flush-all-sorted-completions.
4418         (minibuffer-complete): Only cycle if completion-cycling is set.
4419         (completion--flush-all-sorted-completions): Unset completion-cycling.
4420         (minibuffer-force-complete): Set completion-cycling.
4421         (completion-all-sorted-completions): Move declaration before first use.
4423 2010-10-28  Leo  <sdl.web@gmail.com>
4425         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4426         which changes the order of matches seen by users (bug#7231).
4428 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4430         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4431         Don't confuse -omega as "-o mega".
4433 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4435         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4436         (log-edit-author): New dynamic var.
4437         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4438         to return the author if different from committer.
4439         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4441         * play/landmark.el: Adjust commenting convention.
4442         (lm-nil-score): Rename from nil-score.
4443         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4444         (OOOOscore): Move into a let in lm-score-trans-table.
4445         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4447         * electric.el (electric-indent-chars): Autoload.
4448         * progmodes/octave-mod.el (octave-mode):
4449         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4450         (ruby-mode-abbrev-table): Merge initialization and declaration.
4452 2010-10-27  Glenn Morris  <rgm@gnu.org>
4454         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4455         variable.
4457         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4459         * term/ns-win.el: Restore require of cl when compiling.
4460         (menu-bar-final-items): Remove non-existent `windows' menu.
4461         (ns-handle-nxopen): Optionally handle the temp-case.
4462         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4463         (ns-insert-file, ns-find-file): Use `pop'.
4465 2010-10-26  Glenn Morris  <rgm@gnu.org>
4467         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4469 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
4471         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4472         global map.
4473         * term/common-win.el (x-setup-function-keys): Remove most of the
4474         keymappings.  Comment on the remaining ones.
4476 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
4478         * server.el (server-port): New option.  (Bug#854)
4479         (server-start): Use server-port.
4481 2010-10-26  Glenn Morris  <rgm@gnu.org>
4483         * term/ns-win.el (ns-version-string): Remove unused declaration.
4484         (ns-invocation-args): Change to x-invocation-args.
4485         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4486         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4487         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4488         Use x-invocation-args instead of ns-invocation-args.
4489         (ns-initialize-window-system, handle-args-function-alist):
4490         Use x-handle-args instead of ns-handle-args.
4491         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4492         * startup.el (command-line-ns-option-alist): Replace
4493         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4494         ns-handle-iconic with the x- equivalents.
4496         * term/common-win.el (x-select-enable-clipboard):
4497         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4499         * term/ns-win.el: No need to require cl when compiling.
4500         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4501         (xw-defined-colors): Use the common-win definitions.
4502         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4503         (ns-handle-iconic): Make it an alias for x-handle-iconic.
4504         * term/common-win.el (x-select-text, x-alternatives-map)
4505         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4506         * loadup.el [ns]: Load common-win.
4508 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
4510         * epa-mail.el (epa-mail-encrypt): Handle local-part only
4511         recipients; expand mail aliases (Bug#7280).
4513 2010-10-25  Glenn Morris  <rgm@gnu.org>
4515         * term/common-win.el (x-handle-switch): Simplify with pop.
4516         Optionally handle numeric switches.
4517         (x-handle-numeric-switch): Just call x-handle-switch.
4518         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4519         (x-handle-name-switch, x-handle-display, x-handle-args):
4520         Simplify with pop.
4522         * term/ns-win.el: Do not require easymenu.
4523         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4524         <spell>: Move adjustments to menu-bar.el.
4525         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4526         <separator-undo, spell>: Move ns-win's adjustments here.
4527         * loadup.el [ns]: Do not load easymenu.
4529 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4531         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4532         Delete (Bug#7222).
4534         * startup.el (fancy-startup-tail): Instead of using inline images,
4535         refer to image files from etc/.
4537         * wid-edit.el (checkbox): Likewise.
4538         (widget-image-find): Center image specs.
4540 2010-10-24  Glenn Morris  <rgm@gnu.org>
4542         * term/ns-win.el (x-select-text): Doc fix.
4543         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4544         (x-select-text): Move to term/common-win.
4545         * term/w32-win.el (xw-defined-colors): Move to common-win.
4546         * term/x-win.el (xw-defined-colors, x-alternatives-map)
4547         (x-setup-function-keys, x-select-text): Move to common-win.
4548         * term/common-win.el (x-select-text, x-alternatives-map)
4549         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4550         definitions here.
4552 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
4554         * net/mairix.el (mairix-searches-mode-map):
4555         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4557 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
4559         * verilog-mode.el (verilog-directive-re): Make this variable
4560         auto-built for efficiency of execution and updating.
4561         (verilog-extended-complete-re): Support 'pure' fucntion & task
4562         declarations (these have no bodies).
4563         (verilog-beg-of-statement): General cleanup to enable support of
4564         'pure' fucntion & task declarations (these have no bodies).
4565         These efforts together fix Verilog bug210 from veripool; which was also
4566         noticed by Steve Pearlmutter.
4567         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4568         (verilog-directive-nest-re, verilog-set-auto-endcomments):
4569         Support `elsif.  Reported by Shankar Giri.
4570         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4571         attribute handling for lining up declarations and assignments.
4572         (verilog-beg-of-statement-1): Fix issue where continued declaration
4573         is indented differently if it is after a begin..end clock.
4574         (verilog-in-attribute-p, verilog-skip-backward-comments)
4575         (verilog-skip-forward-comment-p): Support proper treatment of
4576         attributes by indent code.  Reported by Jeff Steele.
4577         (verilog-in-directive-p): Fix comment to correctly describe function.
4578         (verilog-backward-up-list, verilog-in-struct-region-p)
4579         (verilog-backward-token, verilog-in-struct-p)
4580         (verilog-in-coverage-p, verilog-do-indent)
4581         (verilog-pretty-declarations): Use verilog-backward-up-list as
4582         wrapper around backward-up-list inorder to properly skip comments.
4583         Reported by David Rogoff.
4584         (verilog-property-re, verilog-endcomment-reason-re)
4585         (verilog-beg-of-statement, verilog-set-auto-endcomments)
4586         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4587         of if).  Reported by Max Bjurling and
4588         (verilog-calc-1): Fix for clocking block in modport
4589         declaration.  Reported by Brian Hunter.
4591 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
4593         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4594         (verilog-gate-keywords, verilog-read-sub-decls)
4595         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4596         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4597         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
4598         (verilog-read-decls): Fix spaces in V2K module parameters causing
4599         mis-identification as interfaces, bug287.
4600         (verilog-read-decls): Fix not treating "parameter string" as a
4601         parameter in AUTOINSTPARAM.
4602         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4603         treating `elsif similar to `endif inside AUTOSENSE.
4604         (verilog-do-indent): Implement correct automatic or static task or
4605         function end comment highlight.  Reported by Steve Pearlmutter.
4606         (verilog-font-lock-keywords-2): Fix highlighting of single
4607         character pins, bug264.  Reported by Michael Laajanen.
4608         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4609         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4610         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4611         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
4612         (verilog-pretty-expr): Fix interactive arguments, bug272.
4613         Reported by Mark Johnson.
4614         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4615         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4616         bug269.  Suggested by Gary Delp.
4617         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4618         (verilog-preprocessor, verilog-set-compile-command):
4619         Create verilog-preprocess and verilog-preprocessor to show
4620         preprocessed output.
4621         (verilog-get-beg-of-line, verilog-get-end-of-line)
4622         (verilog-modi-file-or-buffer, verilog-modi-name)
4623         (verilog-modi-point, verilog-within-string): Move defmacro's
4624         before first use to avoid warning.  Reported by Steve Pearlmutter.
4625         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4626         (verilog-colorize-region, verilog-highlight-buffer)
4627         (verilog-highlight-includes, verilog-highlight-modules)
4628         (verilog-highlight-region, verilog-mode): Rename colorize to
4629         highlight to match other packages.  Disable module highlighting,
4630         as received speed complaints, reenable for experimentation only
4631         using new verilog-highlight-modules.
4632         (verilog-read-decls): Fix regexp stack overflow in very large
4633         AUTO_TEMPLATEs, bug250.
4634         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4635         (verilog-scan): Create verilog-save-buffer-state to standardize
4636         making insignificant changes that shouldn't call hooks.
4637         (verilog-save-no-change-functions, verilog-save-scan-cache)
4638         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4639         Create verilog-save-no-change-functions to wrap verilog-scan
4640         preservation, and fix to work with nested preserved calls.
4641         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4642         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4643         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
4644         (verilog-submit-bug-report): Update variable list to be complete.
4645         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4646         breaking on-the-fly font-locking.
4647         (verilog-colorize-buffer, verilog-colorize-include-files)
4648         (verilog-colorize-include-files-buffer, verilog-colorize-region)
4649         (verilog-load-file-at-mouse, verilog-load-file-at-point)
4650         (verilog-mode, verilog-read-inst-module-matcher): With point on a
4651         AUTOINST cell instance name, middle mouse button now finds-file on
4652         it.  Suggested by Brad Dobbie.
4653         (verilog-alw-get-temps, verilog-auto-reset)
4654         (verilog-auto-sense-sigs, verilog-read-always-signals)
4655         (verilog-read-always-signals-recurse): Fix loop indexes being
4656         AUTORESET.  AUTORESET now assumes any variables in the
4657         initialization section of a for() should be ignored.
4658         Reported by Dan Dever.
4659         (verilog-error-font-lock-keywords)
4660         (verilog-error-regexp-emacs-alist)
4661         (verilog-error-regexp-xemacs-alist): Fix error detection of
4662         Cadence HAL, reported by David Asher.  Repair drift between the
4663         three similar error variables.
4664         (verilog-modi-lookup, verilog-modi-lookup-cache)
4665         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4666         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4667         Fix slow verilog-auto expansion on very large files.
4668         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4669         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4670         "{1*2{...".  Broke in last revision.
4671         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4672         submodule connections with replications "{#{a},#{b}}".
4674 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
4676         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4677         Fix typo in docstring.
4679 2010-10-24  Kenichi Handa  <handa@m17n.org>
4681         * face-remap.el (text-scale-adjust): Call read-event with a proper
4682         prompt.
4684 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4686         * emacs-lisp/unsafep.el: Don't mark functions that display
4687         messages as safe.  Suggested by Johan Bockgård.
4689 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4691         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4692         Turn comments into docstrings.
4694         * minibuffer.el (completion--replace): Move point where it belongs
4695         when there's a common suffix (bug#7215).
4697 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4699         Merge read-color and facemenu-read-color (Bug#7242).
4701         * faces.el (read-color): Use the completion code from
4702         facemenu-read-color.  Require match in completion.  Doc fix.
4704         * facemenu.el (facemenu-read-color): Alias for read-color.
4705         (facemenu-set-foreground, facemenu-set-background):
4706         Use read-color.
4708         * frame.el (set-background-color, set-foreground-color)
4709         (set-cursor-color, set-mouse-color, set-border-color):
4710         Use read-color.
4712 2010-10-24  Leo  <sdl.web@gmail.com>
4714         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4715         argument of delete-file and delete-directory (Bug#7011).
4717 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4719         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4720         button-buffer-map.
4722 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
4724         * emacs-lisp/package.el (package--generate-package-list): Make the
4725         *Packages* buffer read-only.
4727 2010-10-24  Alan Mackenzie  <acm@muc.de>
4729         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4730         result of `c-beginning-of-decl-1' between invocations of a lambda
4731         function (Bug #7265).
4733 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
4735         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4736         executable is not available on the system (Bug#7268).
4738 2010-10-24  Glenn Morris  <rgm@gnu.org>
4740         * select.el (selection-coding-system, next-selection-coding-system):
4741         Sync doc with C versions.
4743         * w32-vars.el (x-select-enable-clipboard):
4744         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4745         * term/common-win.el (x-select-enable-clipboard): Move here.
4747         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4748         definition of C variable.
4750         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4751         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4752         Don't redefine things that are defined in C.
4753         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4754         (show-trailing-whitespace, auto-hscroll-mode)
4755         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4756         Set up the appropriate custom properties.
4758 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4760         Bind "C-c ]" to ...
4761         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4762         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4763         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4764         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4766 2010-10-23  Glenn Morris  <rgm@gnu.org>
4768         * textmodes/flyspell.el (flyspell-mode): If there was an error,
4769         say what it was.
4771         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4772         Sync docs with C version.
4774         * term/ns-win.el (xw-defined-colors):
4775         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4777         * term/pc-win.el (x-select-enable-clipboard):
4778         * term/x-win.el (x-select-enable-clipboard):
4779         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4781         * comint.el (comint-password-prompt-regexp): Make it less vague.
4782         Bump version.
4784         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4786         * help.el (finder-by-keyword): Remove unnecessary autoload.
4788 2010-10-22  Glenn Morris  <rgm@gnu.org>
4790         * loadup.el: Unconditionally load float-sup.
4791         * paren.el (show-paren-delay):
4792         * emacs-lisp/float-sup.el:
4793         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4794         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4795         (lazy-lock-stealth-verbose): Assume float support.
4796         * ps-print.el: Assume float support on Emacs.
4797         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4798         Remove non-float branch.
4800         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4801         src/Makefile no longer being pre-processed.
4803 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4805         * emacs-lisp/find-func.el (find-library): Use test-completion.
4807 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4809         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4811 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
4813         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4814         space in stat format string.
4815         (tramp-send-command): Unset $PS1 when using here documents, in
4816         order not to get several prompts.
4817         (tramp-get-inline-coding): Return `nil' in case of errors.
4819 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
4821         * hexl.el (hexl-mode, hexl-mode-exit):
4822         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4823         (hexl-revert-buffer-function): New function.
4824         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4826 2010-10-19  Alan Mackenzie  <acm@muc.de>
4828         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4829         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4830         that these keywords aren't wrongly matched as identifiers.
4832         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4833         setting of c-new-BEG and c-new-END from c-before-change to
4834         c-after-change.  (Bug#7181)
4836 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4838         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4839         Don't mark as safe.
4841         * custom.el (custom-theme-set-variables): Likewise.
4842         (load-theme): Add custom-theme-set-faces and
4843         custom-theme-set-variables to safe-functions while loading.
4844         (custom-enabled-themes): Mark as risky.
4846 2010-10-18  Julien Danjou  <julien@danjou.info>
4848         * bindings.el: Remove end dashes in default mode-line-format.
4850 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4852         * bindings.el (global-map): Bind C-d to delete-char and deletechar
4853         to delete-forward-char.
4855         * simple.el (normal-erase-is-backspace-mode): Remap delete to
4856         deletechar, and hence delete-forward-char.
4858 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4860         * repeat.el (repeat): Use read-key (bug#6256).
4862 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4864         * emacs-lisp/unsafep.el: Don't mark functions that display
4865         messages as safe.  Suggested by Johan Bockgård.
4867 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4869         * minibuffer.el (completion--replace): Move point where it belongs
4870         when there's a common suffix (bug#7215).
4872 2010-10-19  Kenichi Handa  <handa@m17n.org>
4874         * international/characters.el: Add category '|' (word breakable)
4875         to fullwidth characters.
4877 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4879         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4880         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4881         order to make stat results a float.  Patch by Andreas Schwab
4882         <schwab@linux-m68k.org>.
4884 2010-10-18  Julien Danjou  <julien@danjou.info>
4886         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4887         hidden by `make-pointer-invisible'.
4889 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4891         * files.el (locate-file-completion-table): Strip non-matching elements
4892         before checking length of list (bug#7238).
4894 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4896         * custom.el (custom-theme-set-variables): Mark as a safe function.
4897         (load-theme): Check forms using unsafep.
4899         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4901 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4903         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4904         Fix aspell data file searching (bug#7230).
4906 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4908         * cus-theme.el (custom-theme--migrate-settings): New var.
4909         (customize-create-theme): Allow editing the `user' theme.
4910         (custom-theme-add-variable, custom-theme-add-var-1)
4911         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4912         to the front of each variable or face widget.
4913         (custom-theme-write): Save theme settings in the correct order.
4914         Optionally, remove saved settings from user customizations.
4915         (custom-theme-write-variables, custom-theme-write-faces):
4916         Save only the checked widgets.
4917         (customize-themes): Add a link for migrating custom settings.
4919         * custom.el (custom-declare-theme, provide-theme):
4920         Use custom-theme-name-valid-p.
4921         (custom-theme-name-valid-p): Remove checks that are now
4922         unnecessary since themes no longer obey load-path.
4924         * cus-edit.el (custom-variable-value-create): For the simple
4925         style, hide documentation string when hidden.
4927 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4929         * cus-edit.el (custom-variable, custom-face): Combine the
4930         :inhibit-magic and :display-style properties into a single
4931         :custom-style property.
4932         (custom-toggle-hide-variable, custom-toggle-hide-face):
4933         New functions.  If hiding an edited value, save it to :shown-value.
4934         (custom-variable-value-create, custom-face-value-create): Use them.
4935         (custom-magic-reset): Allow magic property to be unset.
4937         * custom.el: Custom themes no longer use load-path.
4938         (custom-theme-load-path): New option.  Change built-in theme
4939         directory to etc/.
4940         (custom-enabled-themes): Add custom-theme-load-path dependency.
4941         (custom-theme--load-path): New function.
4942         (load-theme, custom-available-themes): Use it.
4944         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4945         (customize-themes): Link to custom-theme-load-path variable.
4946         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4947         :custom-style property.
4949         * themes/*.el: Moved to etc/.
4951 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4953         * textmodes/reftex-cite.el
4954         (reftex-extract-bib-entries-from-thebibliography): Do not move
4955         point when searching for \bibitem entries.  Match entries with
4956         spaces or tabs in front of arguments.
4958 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4960         * cus-theme.el (customize-create-theme): Delete overlays after
4961         erasing.  If given a THEME arg, display only the faces of that arg
4962         instead of custom-theme--listed-faces.
4963         (custom-theme-variable-menu, custom-theme-variable-action)
4964         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4965         (custom-theme-add-variable, custom-theme-add-face): Apply value
4966         from the theme settings, instead of the current value.
4967         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4968         (custom-theme-visit-theme): Allow calling outside theme buffers.
4969         (custom-theme-merge-theme): Don't enable the theme when merging.
4970         (custom-theme-write-variables, custom-theme-write-faces): Use the
4971         :shown-value properties to save buffer values, not global ones.
4972         (customize-themes): Display a warning about user customizations.
4974         * cus-edit.el (custom-variable-value-create)
4975         (custom-face-value-create): Obey new special properties
4976         :shown-value and :inhibit-magic.
4978 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4980         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4981         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4982         <dale@codefu.org>.
4984 2010-10-14  Kenichi Handa  <handa@m17n.org>
4986         * mail/rmail.el (rmail-show-message-1): Catch an error of
4987         base64-decode-region and just show an error message (bug#7165).
4989         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4990         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4991         a font-spec (bug#7197).
4993 2010-10-14  Glenn Morris  <rgm@gnu.org>
4995         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4997 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4999         * international/mule.el (define-coding-system):
5000         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5001         * composite.el (compose-region): Fix typo in docstring.
5003 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
5005         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5006         only after checking the theme-face property.
5008         * faces.el (face-spec-reset-face): Reset all attributes in one
5009         single call to set-face-attribute.
5010         (face-spec-match-p): Make it a defsubst.
5011         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5012         (x-create-frame-with-faces, tty-create-frame-with-faces)
5013         (tty-set-up-initial-frame-faces): Don't recompute face specs in
5014         frame-set-background-mode, since they are recomputed immediately
5015         afterwards in face-set-after-frame-default.
5016         (face-set-after-frame-default): Minor optimization.
5017         (cursor): Provide non-trivial defface spec.
5019         * custom.el (custom-theme-recalc-face): Simplify.
5021 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
5023         * calc/calc-alg.el (math-var): Rename from `var'.
5024         (math-is-polynomial, math-is-poly-rec): Replace `var'
5025         with `math-var'.
5027         * calc/calcalg2.el (math-var): Rename from `var'.
5028         (calcFunc-table, math-scan-for-limits): Replace `var'
5029         with `math-var'.
5031 2010-10-13  Glenn Morris  <rgm@gnu.org>
5033         * subr.el (last): Deal with dotted lists (reported in bug#7174).
5035 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
5037         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
5039 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5041         * net/tls.el (tls-program): Remove spurious %s from openssl.
5042         (tls-starttls-switches): Remove starttls hack.
5043         (open-tls-stream): Ditto.
5044         (tls-find-starttls-argument): Ditto.
5046 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
5048         * image.el (image-library-alist): Declare as obsolete alias.
5049         (image-type-available-p): Use `dynamic-library-alist'.
5051         * term/w32-win.el (dynamic-library-alist):
5052         Use instead of `image-library-alist'.
5054 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
5056         * subr.el (last): Make it faster.  (Bug#7174)
5058 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
5060         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
5062 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5064         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
5065         (describe-theme-1): Extract doc from unloaded themes.
5067         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
5069         * themes/tango-theme.el:
5070         * themes/tango-dark-theme.el:
5071         * themes/wheatgrass-theme.el: New files.
5073 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
5075         * cus-theme.el (describe-theme, customize-themes)
5076         (custom-theme-save): New commands.
5077         (custom-new-theme-mode-map): Bind C-x C-s.
5078         (custom-new-theme-mode): Use custom--initialize-widget-variables.
5079         (customize-create-theme): New optional arg THEME.
5080         (custom-theme-revert): Use it.
5081         (custom-theme-visit-theme): Remove dead code.
5082         (custom-theme-merge-theme): Use custom-available-themes.
5083         (custom-theme-write): Make interactive.
5084         (custom-theme-write): Use custom-theme-name-valid-p.
5085         (describe-theme-1, custom-theme-choose-revert)
5086         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
5087         New funs.
5088         (custom-theme-allow-multiple-selections): New option.
5089         (custom-theme-choose-mode): New major mode.
5091         * custom.el (custom-theme-set-variables): Remove dead code.
5092         Obey custom--inhibit-theme-enable.
5093         (custom--inhibit-theme-enable): New var.
5094         (provide-theme): Obey it.
5095         (load-theme): Replace load with manual read/eval, in order to
5096         check for correctness.  Use custom-theme-name-valid-p.
5097         (custom-theme-name-valid-p): New function.
5098         (custom-available-themes): Use it.
5100         * cus-edit.el (custom--initialize-widget-variables): New function.
5101         (Custom-mode): Use it.
5103         * cus-face.el (custom-theme-set-faces): Remove dead code.
5104         Obey custom--inhibit-theme-enable.
5106         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
5108 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
5110         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
5112 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
5114         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
5115         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
5116         (mac-right-option-modifier): New alias for ns-right-option-modifier.
5118         * cus-start.el (all): ns-right-alternate-modifier is new.
5120 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5122         * emacs-lisp/lisp.el (lisp-completion-at-point):
5123         Use emacs-lisp-mode-syntax-table for the whole function.
5125 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
5127         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
5128         instead of font-lock-mode before adding keywords.
5129         Remove hi-lock-mode off code.  Remove inhibit hack.
5130         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
5131         non-nil; removed hook inhibit hack.
5133 2010-10-12  Glenn Morris  <rgm@gnu.org>
5135         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
5136         (load-path-shadows-find): ... to this.
5137         (list-load-path-shadows): Update for above change.
5139         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
5141 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5143         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5144         Fix comment for declare-function.
5146 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5148         * custom.el (custom-fix-face-spec): New function; code moved from
5149         custom-face-edit-fix-value.
5150         (custom-push-theme): Use it when checking if a face has been
5151         changed outside customize.
5152         (custom-available-themes): New function.
5153         (load-theme): Use it.
5155         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5157         * custom.el (custom-push-theme): Cleanup (use cond).
5158         (disable-theme): Recompute the saved-face property.
5159         (custom-theme-recalc-face): Follow face alias before setting prop.
5161         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5162         New variables, containing checkbox images.
5164         * startup.el (fancy-startup-tail):
5165         * wid-edit.el (checkbox): Use them.
5167 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5169         * shell.el (shell-mode-map):
5170         * progmodes/modula2.el (m2-mode-map):
5171         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5172         * play/mpuz.el (mpuz-mode-map):
5173         * play/landmark.el (lm-mode-map):
5174         * play/decipher.el (decipher-mode-map):
5175         * play/5x5.el (5x5-mode-map):
5176         * net/telnet.el (telnet-mode-map):
5177         * net/quickurl.el (quickurl-list-mode-map):
5178         * net/mairix.el (mairix-searches-mode-map):
5179         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5180         * net/dig.el (dig-mode-map):
5181         * mail/mspools.el (mspools-mode-map):
5182         * hexl.el (hexl-mode-map):
5183         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5184         (wordstar-C-o-map, wordstar-C-q-map):
5185         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5186         * emacs-lisp/chart.el (chart-map):
5187         * edmacro.el (edmacro-mode-map):
5188         * erc/erc-list.el (erc-list-menu-mode-map):
5189         * array.el (array-mode-map): Declare and define in one step.
5191         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5193 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5195         * epa.el (epa-passphrase-callback-function): Display filename
5196         passed as the 3rd arg.
5197         * epa-file.el (epa-file-passphrase-callback-function):
5198         Pass filename to epa-passphrase-callback-function.
5200 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5202         * cus-edit.el (custom-face-widget-to-spec)
5203         (custom-face-get-current-spec, custom-face-state): New functions.
5204         (custom-face-set, custom-face-mark-to-save)
5205         (custom-face-value-create, custom-face-state-set): Use them.
5207         * cus-theme.el (custom-theme--listed-faces): New var.
5208         (customize-create-theme): Use *Custom Theme* as the buffer name.
5209         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5210         faces listed in custom-theme--listed-faces.
5211         (custom-theme-revert): New function.
5212         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5213         bottom of the list.
5214         (custom-theme-write): Prompt for theme name if empty.
5215         (custom-theme-write-variables): Use dolist.
5216         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5218 2010-10-09  Alan Mackenzie  <acm@muc.de>
5220         Enhance fontification of declarators to take account of the
5221         presence/absence of "typedef".
5223         * cc-engine.el (c-forward-type): New &optional param
5224         "brace-block-too".
5225         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5226         presence of either or both of a "struct"-like keyword and "typedef".
5228         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5229         fontification of declarators which follow a "}".
5230         (c-font-lock-declarations): Fontify declarators according to the
5231         presence/absence of "typedef".
5233         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5234         for "typedef".
5235         (c-typedef-decl-key): New lang variable built from
5236         c-typedef-decl-kwds.
5238 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5240         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5241         since that's too annoying.  Move the filter groups commands to
5242         TAB/backtab.
5244         * epa.el (epa-passphrase-callback-function): Say what we're
5245         querying the password for.
5247         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5248         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5250 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5252         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5253         (custom-magic-value-create): Pad button tags with spaces.
5254         (custom-face-edit): New variable.
5255         (custom-face-value-create): Determine whether to use the usual
5256         face editor here, instead of using custom-face-selected.
5257         Pass face defaults to custom-face-edit widget.
5258         (custom-face-selected, custom-display-unselected): Delete widgets.
5259         (custom-display-unselected-match): Function removed.
5260         (custom-face-set, custom-face-mark-to-save):
5261         Accept custom-face-edit widgets as the direct widget child.
5263         * wid-edit.el (widget--completing-widget): New var.
5264         (widget-default-complete): Bind it when doing completion.
5265         (widget-string-complete, widget-file-complete): Use it.
5267 2010-10-09  Glenn Morris  <rgm@gnu.org>
5269         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5270         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5271         (holiday-hebrew-misc): Small simplifications.
5273         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5275         * net/browse-url.el: Don't require thingatpt, term, dired,
5276         executable, or w3-auto when compiling.
5277         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5278         Declare.
5279         (browse-url-text-emacs): Require term.
5281 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5283         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5285 2010-10-08  Glenn Morris  <rgm@gnu.org>
5287         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5289         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5290         (shadows-compare-text-p): Make it an obsolete alias for...
5291         (load-path-shadows-compare-text): ... new name.
5292         (find-emacs-lisp-shadows): Update for above name change.
5293         (load-path-shadows-same-file-or-nonexistent): New name for the old
5294         shadow-same-file-or-nonexistent.
5296 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5298         * minibuffer.el (completion--some, completion--do-completion)
5299         (minibuffer-complete-and-exit, minibuffer-completion-help)
5300         (completion-basic-try-completion)
5301         (completion-basic-all-completions)
5302         (completion-pcm--find-all-completions): Use lexical-let to
5303         avoid some false matches in variable completion (Bug#7056)
5305 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5307         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5309 2010-10-08  Leo  <sdl.web@gmail.com>
5311         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5312         return non-nil if the file exists (Bug#7090).
5314 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5316         * minibuffer.el (completion--replace):
5317         Better preserve markers (bug#7138).
5319 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5321         * server.el (server-process-filter): Doc fix.
5323 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5325         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5327 2010-10-08  Glenn Morris  <rgm@gnu.org>
5329         * vc/ediff-wind.el (ediff-setup-control-frame):
5330         * vc/ediff-ptch.el (ediff-default-backup-extension):
5331         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5332         (ediff-exec-process): Remove system-types emx, windows-95.
5334         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5336 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5338         * cus-edit.el (custom-variable, custom-face): Doc fix.
5339         (custom-face-edit): Add value-create attribute.
5340         (custom-face-edit-value-create)
5341         (custom-face-edit-value-visibility-action): New functions.
5342         Hide unused face attributes by default, and add a visibility toggle.
5343         (custom-face-edit-deactivate): Show empty values with shadow face.
5344         (custom-face-selected): Only use this for face specs with default
5345         attributes.
5346         (custom-face-value-create): Cleanup.
5348         * wid-edit.el (widget-checklist-value-create): Use dolist.
5349         (widget-checklist-match-find): Make second arg optional.
5351 2010-10-07  Glenn Morris  <rgm@gnu.org>
5353         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5354         Prefix things.
5356         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5357         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5358         load-path-shadows-mode, update references.
5359         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5360         Rename variable and button.
5361         (list-load-path-shadows): Update button caller.
5363 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5365         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5366         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5367         (smie-merge-prec2s): Handle those new entries.
5368         (smie-prec2-levels): Only set precedence to nil for actual
5369         openers/closers.
5370         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5371         that is now unnecessary.
5373 2010-10-07  Miles Bader  <miles@gnu.org>
5375         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5377 2010-10-07  Glenn Morris  <rgm@gnu.org>
5379         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5380         (mail-position-on-field): Remove declarations.
5381         (mail-position-on-field): Autoload it.
5382         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5383         and mail-header-end.  Don't require sendmail.
5385         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5386         (shadow-mode): New mode.
5387         (shadow-find-file): New button.
5388         (list-load-path-shadows): Use shadow-mode and buttons.
5390         * iimage.el (iimage-version): Remove.
5391         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5392         Turn into defcustoms.
5393         (iimage-mode-map): Give it a doc string.
5395         * calendar/appt.el (appt-activate): Give a warning rather than an error
5396         if there is no diary-file.
5398 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5400         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5401         Use `tramp-handle-find-backup-file-name'.
5403 2010-10-06  Glenn Morris  <rgm@gnu.org>
5405         * font-core.el (font-lock-defaults-alist): Remove variable.
5406         (font-lock-mode): Doc fix.
5407         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5408         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5409         (font-lock-set-defaults): Doc fix.
5410         Do not consult font-lock-defaults-alist.
5412         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5414         * emacs-lisp/cl.el: No longer provide cl-19.
5416 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5418         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5419         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5420         New defuns, taken from tramp-smb.el.
5421         (tramp-coding-system-change-eol-conversion)
5422         (tramp-set-process-query-on-exit-flag): Remove.
5424         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5425         (tramp-compat-coding-system-change-eol-conversion)
5426         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5427         from tramp.el.
5429         * net/tramp-gvfs.el:
5430         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5431         by `tramp-compat-set-process-query-on-exit-flag'.
5433         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5434         Use `tramp-handle-directory-files-and-attributes',
5435         `tramp-handle-file-exists-p' and
5436         `tramp-handle-file-newer-than-file-p'.
5437         (tramp-imap-handle-file-exists-p)
5438         (tramp-imap-handle-file-executable-p)
5439         (tramp-imap-handle-file-readable-p)
5440         (tramp-imap-handle-directory-files-and-attributes)
5441         (tramp-imap-handle-file-newer-than-file-p): Remove.
5443         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5444         by `tramp-compat-set-process-query-on-exit-flag' and
5445         `tramp-coding-system-change-eol-conversion' by
5446         `tramp-compat-coding-system-change-eol-conversion'.
5448         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5449         Use `tramp-handle-directory-files-and-attributes',
5450         `tramp-handle-file-exists-p' and
5451         `tramp-handle-file-newer-than-file-p'.
5452         (tramp-smb-handle-directory-files-and-attributes)
5453         (tramp-smb-handle-file-exists-p)
5454         (tramp-smb-handle-file-newer-than-file-p): Remove.
5455         (tramp-smb-maybe-open-connection):
5456         Replace `tramp-set-process-query-on-exit-flag' by
5457         `tramp-compat-set-process-query-on-exit-flag'.
5459 2010-10-05  Glenn Morris  <rgm@gnu.org>
5461         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5463 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
5465         Continue reorganization of load dependencies.  (Bug#7156)
5467         * net/tramp.el (tramp-handle-file-local-copy-hook)
5468         (tramp-delete-temp-file-function): Move down.
5469         (tramp-exists-file-name-handler): Move up.
5470         (tramp-register-file-name-handlers): Simplify autoload.
5471         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5472         (tramp-handle-directory-files, tramp-handle-dired-uncache)
5473         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5474         (tramp-handle-file-name-completion)
5475         (tramp-handle-file-name-directory)
5476         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5477         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5478         (tramp-handle-find-backup-file-name)
5479         (tramp-handle-insert-file-contents, tramp-handle-load)
5480         (tramp-handle-substitute-in-file-name)
5481         (tramp-handle-unhandled-file-name-directory)
5482         (tramp-mode-string-to-int, tramp-local-host-p)
5483         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5485         * net/tramp-gvfs.el (top):
5486         * net/tramp-smb.el (top): Do not require 'tramp-sh.
5488         * net/tramp-sh.el (all): Move several objects to tramp.el, see
5489         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5491 2010-10-04  Glenn Morris  <rgm@gnu.org>
5493         * calendar/appt.el (appt-add): Ensure reminders are enabled.
5494         (appt-activate): Give status messages.
5496 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5498         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
5499         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5500         `gnutls-negotiate' (formerly `starttls-negotiate').
5501         Remove trivial wrapper `starttls-open-stream'.
5503 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
5505         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5506         log-outgoing commands.
5507         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5508         to create a buffer local revert-buffer-function variable.
5509         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5510         revert-buffer-function lambda.
5512 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5514         * net/gnutls.el (starttls-negotiate): Use the plist interface to
5515         `gnutls-boot'.  Make TYPE the only required parameter.
5516         Allow TRUSTFILES and KEYFILES to be lists.
5517         (open-ssl-stream): Use it.
5519 2010-10-03  Glenn Morris  <rgm@gnu.org>
5521         * subr.el (directory-sep-char): Remove obsolete variable.
5522         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5523         it is "necessary".
5525         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5526         * vc/vc.el (vc-static-header-alist): Doc fix.
5527         * vc/vc-cvs.el (vc-cvs-header):
5528         * vc/vc-rcs.el (vc-rcs-header):
5529         * vc/vc-sccs.el (vc-sccs-header):
5530         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5531         * obsolete/vc-mcvs.el (vc-mcvs-header):
5532         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5533         on XEmacs.
5535 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5537         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5538         Remove obsolete use of binary-overwrite-mode (Bug#7001).
5540 2010-10-03  Glenn Morris  <rgm@gnu.org>
5542         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5544         * textmodes/rst.el (rst-font-lock-keywords-function):
5545         Drop Emacs 20 code.
5547         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5549         * printing.el: Drop Emacs 20 code.
5551         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5552         without having used appt.el already).
5554         * subr.el (make-local-hook): Remove function obsolete since 21.1.
5555         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5556         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5557         XEmacs.
5558         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5559         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5561         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5562         (charset-width, find-charset-region, chars-in-region, forward-point)
5563         (encode-coding-string, coding-system-p, ccl-execute-on-string)
5564         (define-ccl-program, multibyte-string-p, string-make-multibyte):
5565         Remove compatibility cruft (none of these are used by ps*.el).
5567 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5569         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5571 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5573         * server.el (server-process-filter, server-return-error):
5574         Give emacsclient time to shut down after receiving an error string.
5576 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
5578         * files.el (remote-file-name-inhibit-cache): New defcustom.
5580         * time.el (display-time-file-nonempty-p):
5581         Use `remote-file-name-inhibit-cache'.
5583         * net/tramp.el (tramp-completion-reread-directory-timeout):
5584         Fix docstring.
5586         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5587         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5588         `remote-file-name-inhibit-cache'.  Check also for an integer
5589         value.  Add/increase counter when `tramp-verbose' >= 10.
5590         (tramp-set-file-property): Add/increase counter when
5591         `tramp-verbose' >= 10.
5593         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5594         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5595         (tramp-bug): Set tramp-autoload cookie.  Report all interned
5596         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
5597         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
5598         characters only in strings.
5600         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5601         to backward compatibility.
5603         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5604         (tramp-handle-file-name-all-completions)
5605         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5606         (tramp-open-connection-setup-interactive-shell):
5607         Call `tramp-cleanup-connection' directly.
5609 2010-10-02  Glenn Morris  <rgm@gnu.org>
5611         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5613         * subr.el (char-bytes): Remove obsolete function.
5615         * isearch.el (isearch-return-char): Remove obsolete function.
5617         * mouse.el: No longer provide mldrag.
5618         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5619         Remove obsolete aliases.
5621         * comint.el (comint-kill-output): Remove obsolete alias.
5623         * composite.el (decompose-composite-char): Remove obsolete function.
5624         * ps-def.el (decompose-composite-char): Remove unused function.
5626         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5628         * outline.el (outline-visible): Remove obsolete function.
5630         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5631         * faces.el (internal-find-face, internal-get-face)
5632         (frame-update-faces, frame-update-face-colors)
5633         (x-frob-font-weight, x-frob-font-slant)
5634         (internal-frob-font-weight, internal-frob-font-slant)
5635         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5636         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5637         (x-make-font-bold-italic): Remove functions and aliases, obsolete
5638         since Emacs 21.1.
5639         * emulation/viper-util.el (viper-get-face):
5640         * obsolete/lucid.el (find-face, get-face): Use facep.
5641         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5642         Remove unused functions.
5643         * vc/ediff-util.el (ediff-submit-report): Doc fix.
5645         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5646         delete tempfile if interrupted during compilation.
5648 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5650         * net/tls.el (tls-starttls-switches): Give up on using starttls with
5651         gnutls-cli.
5652         (tls-program): Add --insecure to be consistent with the defaults from
5653         openssl s_client.  Now all three commands are insecure.
5655 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
5657         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5658         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5659         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5661 2010-10-01  Glenn Morris  <rgm@gnu.org>
5663         * obsolete/sc.el: Remove file.
5665         * files.el (temporary-file-directory): On darwin, also try
5666         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5668 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
5670         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5671         Let's not break compatibility gratuitously, shall we?
5673 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5675         * net/tls.el (tls-starttls-switches): New variable.
5676         (tls-find-starttls-argument): Use it.
5677         (open-tls-stream): Ditto.
5679         * net/netrc.el (netrc-credentials): Return the value of the "default"
5680         entry.
5681         (netrc-machine): Ditto.
5683 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
5685         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5687 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
5689         * server.el (server-start): Don't write pid to the authentication file.
5690         (server-create-tty-frame): Don't send pid.
5691         (server-process-filter): Send pid at the start of every connection.
5693 2010-09-30  Glenn Morris  <rgm@gnu.org>
5695         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5696         (show-all-diary-entries): Remove obsolete function aliases.
5698         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5699         Remove options, obsolete since 22.1.
5700         (appt-display-format, appt-display-message):
5701         Remove backwards-compatibility code.
5702         (appt-check): No longer check appt-issue-message.
5703         (appt-make-list): No longer autoload it.  Doc fix.  No longer
5704         activate the package.
5706 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5708         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5709         (starttls-negotiate): Just call boot, and let the handshake be
5710         triggered from the read loop.
5712 2010-09-29  Glenn Morris  <rgm@gnu.org>
5714         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5715         not displaying the diary.
5716         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5717         * calendar/appt.el (appt-check): No longer need to kill diary.
5719         * calendar/diary-lib.el (diary-list-entries): Move the
5720         "Preparing..." message entirely here.
5721         (diary-simple-display, diary-fancy-display): Move "Preparing..."
5722         messages to diary-list-entries.
5723         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5724         diary-display-function.
5726         * calendar/diary-lib.el (diary-include-other-diary-files):
5727         Trap some recursive includes.
5729         * calendar/appt.el (appt-activate): Check diary file.
5731 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5733         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5734         construction.
5736         * calendar/time-date.el: No need to require cl for Emacs 21.
5738 2010-09-28  Glenn Morris  <rgm@gnu.org>
5740         * calendar/appt.el (appt-check): Minor simplification.
5742 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
5744         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5745         citation prefix.
5747 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
5749         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5750         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
5752 2010-09-27  Kenichi Handa  <handa@m17n.org>
5754         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5755         "ustar" format.
5757 2010-09-27  Kenichi Handa  <handa@m17n.org>
5759         * international/mule.el (define-coding-system): Docstring fixed.
5761         * international/mule-diag.el (describe-character-set): Use princ
5762         with proper print-length and print-level instead of insert.
5764 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
5766         * window.el (walk-windows): Doc fix (bug#7105).
5768 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5770         * emacs-lisp/float-sup.el (e): Remove.
5772 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
5774         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5775         variable.
5776         (starttls-negotiate): Use it.
5778 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5780         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5781         back.
5783 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5785         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5787 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5789         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5791         * net/netrc.el (netrc-store-data): New function.
5793 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
5795         * net/gnutls.el: GnuTLS glue code to set up a connection.
5797 2010-09-25  Julien Danjou  <julien@danjou.info>
5799         * notifications.el: Call dbus-register-signal only if it is bound.
5801 2010-09-25  Glenn Morris  <rgm@gnu.org>
5803         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5804         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5805         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5806         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5807         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5808         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5809         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5810         * eshell/esh-util.el, eshell/esh-var.el:
5811         Remove leading `*' from docs of faces and defcustoms.
5813 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
5815         * eshell/em-ls.el (eshell-ls-archive-regexp):
5816         * eshell/esh-util.el (eshell-tar-regexp):
5817         * ibuffer.el (ibuffer-compressed-file-name-regexp):
5818         * info.el (Info-suffix-list):
5819         * international/mule.el (auto-coding-alist):
5820         * woman.el (woman-file-regexp, woman-file-compression-regexp):
5821         * progmodes/etags.el (tags-compression-info-list):
5822         Support xz compression.
5824 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
5826         * files.el (get-free-disk-space): Don't assume the "df" output
5827         columns line up (Bug#6995).
5829 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5831         * finder.el (finder-unknown-keywords):
5832         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5833         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5835 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5837         * server.el (server-start): Revert part of 2010-08-08 change.  Using
5838         address 127.0.0.1 for local host is now done in Fmake_network_process.
5840 2010-09-24  Glenn Morris  <rgm@gnu.org>
5842         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5843         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5844         * textmodes/css-mode.el, textmodes/dns-mode.el:
5845         Move autoloaded auto-mode-alist entries to files.el.
5846         * files.el (auto-mode-alist): Move entries here.
5848 2010-09-23  Glenn Morris  <rgm@gnu.org>
5850         * isearch.el (isearch-lazy-highlight-cleanup)
5851         (isearch-lazy-highlight-initial-delay)
5852         (isearch-lazy-highlight-interval)
5853         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5854         * net/net-utils.el (ipconfig-program-options):
5855         Move aliases to options before the associated definitions.
5857 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5859         * newcomment.el (comment-normalize-vars): Better test validity of
5860         comment-end-skip.
5862 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5864         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5865         (float-e): New name for `e'.
5866         (degrees-to-radians, radians-to-degrees):
5867         * calendar/solar.el (solar-longitude):
5868         * calculator.el (calculator-registers, calculator-funcall):
5869         * textmodes/artist.el (artist-spray-random-points):
5870         * play/bubbles.el (bubbles--initialize-images): Use new names.
5872 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5874         Update to CEDET 1.0's version of EIEIO.
5876         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5877         New function.
5878         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5879         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5880         (class-precedence-list): If class is nil, return nil.
5881         (eieio-generic-call): If class of first input arg is nil, don't
5882         look up static methods, and do check for primary methods.
5883         (initialize-instance): See if the default needs to be evaluated
5884         during the constructor.
5885         (eieio-perform-slot-validation-for-default): Don't do the check
5886         for values that will eventually be evaluated.
5887         (eieio-eval-default-p): New function.
5888         (eieio-default-eval-maybe): Use it.
5890 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5892         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5893         method-invocation-order.
5894         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5895         (eieio-class-precedence-dfs): Compute class precedence list using
5896         dfs algorithm.
5897         (eieio-class-precedence-bfs): Compute class precedence list using
5898         bfs algorithm.
5899         (eieio-class-precedence-c3): Compute class precedence list using
5900         c3 algorithm.
5901         (class-precedence-list): New function.
5902         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5903         (inconsistent-class-hierarchy): New error symbol.
5904         (call-next-method): Stow the replacement argument list for future
5905         call-next-method invocations.
5907 2010-09-23  Glenn Morris  <rgm@gnu.org>
5909         * calendar/appt.el (appt-check): If not displaying the diary,
5910         use (diary 1) to only get the entries we need.
5911         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5912         that it is in day order.  (Bug#7019)
5914         * calendar/appt.el (appt-check): Rather than showing the diary,
5915         just turn off invisible display, and only if needed.
5917         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
5919 2010-09-23  Glenn Morris  <rgm@gnu.org>
5921         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5922         (byte-compile-defvar, byte-compile-cl-warn):
5923         Start warnings with lower-case, like the majority.
5925         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5927         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5929         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5930         * files.el (auto-mode-alist): Move ld-script entries here, further down
5931         the list.
5933         * vc/add-log.el: Don't require timezone when compiling.
5934         (timezone-make-date-sortable): Autoload it.
5935         (change-log-sortable-date-at): Don't require timezone.
5936         Use `ignore-errors'.
5938         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5939         Move alias before definition, so it does not need autoloading.
5941         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5942         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5943         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5944         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5945         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5946         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5947         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5948         * textmodes/tex-mode.el, textmodes/two-column.el:
5949         Remove leading `*' from docs of defcustoms etc.
5951 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5953         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5955 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5957         * calendar/time-date.el (date-to-time): Try using parse-time-string
5958         first before using the slower timezone-make-date-arpa-standard.
5960 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5962         * calendar/time-date.el (format-seconds): Comment fix.
5964 2010-09-22  Glenn Morris  <rgm@gnu.org>
5966         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5967         is not automatically buffer-local.
5969 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5971         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5972         (smie-indent-comment): Be more careful with comment-start-skip.
5973         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5974         (smie-indent-functions): Use them.
5976 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5978         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5980 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5982         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5983         tool-bar-position.  Don't modify frame parameters here.
5984         (menu-bar-options-save): Add tool-bar-position.
5986         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5988 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5990         * textmodes/reftex-parse.el (reftex-what-macro)
5991         (reftex-context-substring): Let-bind forward-sexp-function to nil
5992         since we don't need/want to treat \begin...\end as a block (bug#7053).
5994         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5996         * simple.el (blink-matching-open): Use syntax-class.
5998         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5999         Set invisibility spec for pascal's outline mode.
6000         (pascal-outline-change): Clean up calling convention.
6001         (pascal-show-all, pascal-hide-other-defuns): Update callers.
6003         * progmodes/prolog.el (prolog-smie-forward-token)
6004         (prolog-smie-backward-token): New functions.
6005         (prolog-mode-variables): Use them to parse "!," correctly.
6006         Set up smie-blink-matching for ".".
6008         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6009         and `end'.
6010         (ispell-region, ispell-process-line): Update users.
6012         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6013         point-min==1.
6015         * textmodes/ispell.el: Fix commenting convention.
6016         (ispell-parse-output): Simplify, use push.
6017         (ispell-region): Use match-string-no-properties.
6018         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6019         (ispell-minor-mode): Use define-minor-mode.
6020         (ispell-message): Remove unused var `skip-regexp'.
6021         (ispell-add-per-file-word-list): Use dynamic let-binding.
6022         Try and use the proper comment marker.
6024         * mail/sendmail.el: Fix commenting convention.
6025         (sendmail-send-it): Use line-beginning-position.
6027         * help-fns.el (describe-variable): Add original value, if applicable.
6029 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
6031         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6033         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6035 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6037         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
6038         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
6039         (smie-prec2-levels): Use them to better diagnose precedence cycles.
6040         (smie-blink-matching-check): Don't signal a mismatch if car is t.
6041         (smie-blink-matching-open): Rewrite to remove assumptions, so that
6042         something like "." can also be a closer.
6043         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
6044         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
6045         Rename internal functions to use "--".  Update callers.
6047         * frame.el (make-frame-names-alist): Don't list frames on other displays.
6049         * fringe.el (fringe-styles): New var.
6050         (fringe-mode, fringe-query-style): Use it.
6052 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
6054         * progmodes/sql.el: Version 2.8
6055         (sql-login-params): Update widget structure; changes still needed.
6056         (sql-product-alist): Add :list-all and :list-table features for
6057         SQLite, Postgres and MySQL products.
6058         (sql-redirect): Handle default value.
6059         (sql-execute, sql-execute-feature): New functions.
6060         (sql-read-table-name): New function.
6061         (sql-list-all, sql-list-table): New functions.  User API.
6062         (sql-mode-map, sql-interactive-mode-map): Add key definitions
6063         for above functions.
6064         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
6065         for above functions.
6066         (sql-postgres-login-params): Add user and database defaults.
6067         (sql-buffer-live-p): Bug fix.
6068         (sql-product-history): New variable.
6069         (sql-read-product): New function.  Use it.
6070         (sql-set-product, sql-product-interactive): Use it.
6071         (sql-connection-history): New variable.
6072         (sql-read-connection): New function.  Use it.
6073         (sql-connect): New function.
6074         (sql-for-each-login): Redesign function interface.
6075         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
6076         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
6077         (sql-comint): Check for program.  Existing live buffer.
6078         (sql-comint-postgres): Add port parameter.
6080 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6082         * emacs-lisp/warnings.el: Fix commenting convention.
6083         (display-warning): Use special mode and make the buffer read-only.
6085 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
6087         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
6088         empty string when it follows a repeated or optional pattern.
6090 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6092         * indent.el (indent-according-to-mode): Apply syntax-propertize.
6093         (indent-region): Use indent-according-to-mode.
6095 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
6097         * fringe.el (fringe-mode): Doc fix.
6099 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
6101         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
6102         refreshing the preview buffer.
6104 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6106         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
6107         (latex-syntax-propertize-rules): New consts; replace
6108         tex-font-lock-syntactic-keywords.
6109         (tex-env-mark, latex-env-before-change): New functions.
6110         (latex-electric-env-pair-mode): New minor mode.
6111         (tex-font-lock-verb): Change arguments; do move point.
6112         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
6113         representation as a form of comment.
6114         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
6115         (doctex-syntax-propertize-rules): New const; replaces
6116         doctex-font-lock-syntactic-keywords.
6117         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
6119         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
6120         (fortran-make-syntax-propertize-function): New function; replaces
6121         fortran-font-lock-syntactic-keywords.
6122         (fortran-mode): Use it.
6123         (fortran-line-length): Use it.  Improve interactive spec.
6125         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
6126         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
6127         when adding surrounding \(..\).
6129         * progmodes/js.el (js-mode): Fix last change (bug#7054).
6131 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
6134         Use with-current-buffer.
6136         * isearch.el (isearch-face): Rename from `isearch'.
6137         (isearch-highlight): Use new name.
6139 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
6141         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6142         5, for `half' width fringes.  (Bug#6933)
6144 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6146         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6147         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6149         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6151 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6153         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6154         in calculating new frame position.  Add more space between new and
6155         parent on the left (Bug#7048).
6157 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6159         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6160         defmacro.
6162 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6164         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6166         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6167         obsolete alias for x-selection-value.
6169         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6171 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6173         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6174         cookie.
6176 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6178         * net/tramp-compat.el (tramp-compat-with-temp-message)
6179         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6180         (tramp-compat-process-put): New defuns.
6182         * net/tramp.el (top):
6183         * net/tramp-gvfs.el (top):
6184         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6186         * net/tramp.el (tramp-progress-reporter-update):
6187         Use `tramp-compat-funcall'.
6189         * net/tramp.el (tramp-process-actions):
6190         * net/tramp-gvfs.el (tramp-handle-vc-registered):
6191         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6192         (tramp-get-remote-stat, tramp-get-remote-readlink):
6193         Use `tramp-compat-with-temp-message'.
6195         * net/tramp-sh.el (top): Require 'cl.
6196         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6197         (tramp-open-connection-setup-interactive-shell):
6198         Use `tramp-compat-process-put'.
6200 2010-09-15  Alan Mackenzie  <acm@muc.de>
6202         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6203         indentation.
6204         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6206 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6208         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6209         `lexical' for warnings related to lexical scoping.
6210         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6211         global vars which don't have a prefix and could hence affect lexical
6212         scoping in unrelated files.
6214 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6216         * net/imap.el: Revert back to version
6217         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6218         seem problematic.
6220 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6222         * obsolete/old-whitespace.el (whitespace-unload-function):
6223         Explicitly pass `obarray' to `unintern' to avoid a warning.
6225 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6227         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6228         Add `when' argument.  Update callers.
6230         * subr.el (unintern): Declare the obarray arg mandatory.
6232 2010-09-14  Glenn Morris  <rgm@gnu.org>
6234         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6235         Doc fixes.
6237         * calendar/diary-lib.el (diary-included-files): New variable.
6238         (diary-list-entries): Maybe initialize diary-included-files.
6239         (diary-include-other-diary-files): Append to diary-included-files.
6240         * calendar/appt.el (appt-update-list): Also check the members of
6241         diary-included-files.  (Bug#6999)
6242         (appt-check): Doc fix.
6244 2010-09-14  David Reitter  <david.reitter@gmail.com>
6246         * simple.el (line-move-visual): Do not truncate goal column to
6247         integer size.  (Bug#7020)
6249 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6251         * repeat.el (repeat): Allow repeating when the last event is a click.
6252         Suggested by Drew Adams (bug#6256).
6254 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6256         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6257         Replace setting HGRCPATH to "" by some less invasive --config options.
6259 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6261         * font-lock.el (font-lock-beginning-of-syntax-function):
6262         Mark as obsolete.
6264 2010-09-14  Glenn Morris  <rgm@gnu.org>
6266         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6267         and tool-bar modes.  (Bug#6211)
6268         (menu-bar-mode): Move setting of standard-value after the
6269         minor-mode definition, otherwise it seems to have no effect.
6271 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6273         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6274         Fix typo.  (Bug#6976)
6276 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6278         * whitespace.el: Allow cleaning up blanks without blank
6279         visualization (Bug#6651).  Adjust help window for
6280         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6281         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6282         (whitespace-style): Add new value 'face.  Adjust docstring.
6283         (whitespace-space, whitespace-hspace, whitespace-tab):
6284         Adjust foreground property face.
6285         (whitespace-line-column): Adjust docstring and type declaration.
6286         (whitespace-style-value-list, whitespace-toggle-option-alist)
6287         (whitespace-help-text): Adjust const initialization.
6288         (whitespace-toggle-options, global-whitespace-toggle-options):
6289         Adjust docstring.
6290         (whitespace-display-window, whitespace-interactive-char)
6291         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6292         (whitespace-help-scroll): New fun.
6294 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6296         * calendar/time-date.el (format-seconds): Comment fix.
6298 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6300         * progmodes/sql.el: Version 2.7.
6301         (sql-buffer-live-p): Improve detection.
6302         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6303         (sql-set-sqli-buffer): Use it.
6304         (sql-product-interactive): Run `sql-set-sqli-hook'.
6305         (sql-rename-buffer): Code cleanup.
6306         (sql-redirect, sql-redirect-value): New functions.  More to come.
6308 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6310         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.
6311         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6312         (TRAMP_SRC): New macro.
6313         ($(lisp)/net/tramp-loaddefs.el): New target.
6315 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6317         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6319         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6321         * net/tramp.el (top): Don't show loading message.  Require just
6322         'tramp-compat, everything else is required there.
6323         Use `ignore-errors' where appropriate.
6324         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6325         (tramp-terminal-type, tramp-end-of-output)
6326         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6327         (tramp-completion-function-alist-ssh)
6328         (tramp-completion-function-alist-telnet)
6329         (tramp-completion-function-alist-su)
6330         (tramp-completion-function-alist-putty, tramp-remote-path)
6331         (tramp-remote-process-environment, tramp-sh-extra-args)
6332         (tramp-actions-before-shell, tramp-uudecode)
6333         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6334         (tramp-perl-file-attributes)
6335         (tramp-perl-directory-files-and-attributes)
6336         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6337         (tramp-perl-encode, tramp-perl-decode)
6338         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6339         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6340         (tramp-handle-make-symbolic-link, tramp-handle-load)
6341         (tramp-handle-file-name-as-directory)
6342         (tramp-handle-file-name-directory)
6343         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6344         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6345         (tramp-do-file-attributes-with-ls)
6346         (tramp-do-file-attributes-with-perl)
6347         (tramp-do-file-attributes-with-stat)
6348         (tramp-handle-set-visited-file-modtime)
6349         (tramp-handle-verify-visited-file-modtime)
6350         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6351         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6352         (tramp-handle-file-selinux-context)
6353         (tramp-handle-set-file-selinux-context)
6354         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6355         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6356         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6357         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6358         (tramp-handle-file-ownership-preserved-p)
6359         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6360         (tramp-handle-directory-files-and-attributes)
6361         (tramp-do-directory-files-and-attributes-with-perl)
6362         (tramp-do-directory-files-and-attributes-with-stat)
6363         (tramp-handle-file-name-all-completions)
6364         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6365         (tramp-handle-copy-file, tramp-handle-copy-directory)
6366         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6367         (tramp-do-copy-or-rename-file-via-buffer)
6368         (tramp-do-copy-or-rename-file-directly)
6369         (tramp-do-copy-or-rename-file-out-of-band)
6370         (tramp-handle-make-directory, tramp-handle-delete-directory)
6371         (tramp-handle-delete-file)
6372         (tramp-handle-dired-recursive-delete-directory)
6373         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6374         (tramp-handle-insert-directory)
6375         (tramp-handle-unhandled-file-name-directory)
6376         (tramp-handle-expand-file-name)
6377         (tramp-handle-substitute-in-file-name)
6378         (tramp-handle-executable-find, tramp-process-sentinel)
6379         (tramp-handle-start-file-process, tramp-handle-process-file)
6380         (tramp-handle-call-process-region, tramp-handle-shell-command)
6381         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6382         (tramp-handle-insert-file-contents)
6383         (tramp-handle-insert-file-contents-literally)
6384         (tramp-handle-find-backup-file-name)
6385         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6386         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6387         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6388         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6389         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6390         (tramp-find-file-exists-command, tramp-open-shell)
6391         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6392         (tramp-open-connection-setup-interactive-shell)
6393         (tramp-local-coding-commands, tramp-remote-coding-commands)
6394         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6395         (tramp-inline-compress-commands, tramp-find-inline-compress)
6396         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6397         (tramp-send-command, tramp-wait-for-output)
6398         (tramp-send-command-and-check, tramp-barf-unless-okay)
6399         (tramp-send-command-and-read, tramp-mode-string-to-int)
6400         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6401         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6402         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6403         (tramp-method-out-of-band-p, tramp-local-host-p)
6404         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6405         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6406         (tramp-get-test-command, tramp-get-test-nt-command)
6407         (tramp-get-file-exists-command, tramp-get-remote-ln)
6408         (tramp-get-remote-perl, tramp-get-remote-stat)
6409         (tramp-get-remote-readlink, tramp-get-remote-trash)
6410         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6411         (tramp-get-local-uid, tramp-get-local-gid)
6412         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6413         tramp-sh.el.
6414         (tramp-methods, tramp-default-method-alist)
6415         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6416         Move initialization to tramp-sh.el.
6417         (tramp-temp-name-prefix): Make it a defconst.
6418         (tramp-dissect-file-name): Don't check anymore for multi-hop
6419         methods.
6420         (tramp-debug-outline-regexp): Add a docstring.
6421         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6422         (tramp-get-debug-buffer): Use it.
6424         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6425         initialization forms.
6426         (tramp-set-connection-property): Don't protect `tramp-message'
6427         call, it isn't necessary any longer.
6428         (tramp-dump-connection-properties): Use `ignore-errors'.
6430         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6431         'password-cache and 'auth-source.
6433         * net/tramp-gvfs.el (top):
6434         * net/tramp-smb.el (top): Require 'tramp-sh.
6436         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6438         * net/tramp-sh.el: New file, derived from tramp.el.
6439         (top): Initialize `tramp-methods', `tramp-default-method-alist',
6440         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6441         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6442         Use `ignore-errors' where appropriate.
6443         (tramp-sh-file-name-handler-alist): Rename from
6444         `tramp-file-name-handler-alist'.
6445         (tramp-send-command-and-check): Return t or nil.  Remove all
6446         `zerop' checks, where called.
6447         (tramp-handle-set-file-modes)
6448         (tramp-do-copy-or-rename-file-directly)
6449         (tramp-handle-delete-directory, tramp-handle-delete-file)
6450         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6451         (tramp-sh-file-name-handler, tramp-send-command-and-check)
6452         (tramp-get-remote-ln): Set tramp-autoload cookie.
6454         * net/tramp-fish.el: Remove file.
6456 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
6458         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6459         buffer-file-name to avoid file-locking.  (Bug#7026)
6461 2010-09-13  Julien Danjou  <julien@danjou.info>
6463         * notifications.el (notifications-notify): Add support for
6464         image-path and sound-name.
6465         (notifications-specification-version): Add this variable.
6467 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6469         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6471 2010-09-12  Leo  <sdl.web@gmail.com>
6473         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6474         (rcirc-completion-start): New variables.
6475         (rcirc-nick-completions): Rename to rcirc-completions.
6476         (rcirc-nick-completion-start-offset): Delete.
6477         (rcirc-completion-at-point): New function for constructing
6478         completion data for both nicks and irc commands.  Add to
6479         completion-at-point-functions in rcirc mode.
6480         (rcirc-complete): Rename from rcirc-nick-complete; use
6481         rcirc-completion-at-point.
6482         (defun-rcirc-command): Update rcirc-client-commands.
6484 2010-09-11  Glenn Morris  <rgm@gnu.org>
6486         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6487         atomically, to avoid parallel build errors.  (Bug#4196)
6489 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
6491         * progmodes/sql.el: Version 2.6
6492         (sql-dialect): Synonym for "sql-product".
6493         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6494         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6495         Set "sql-buffer" to buffer name not buffer object so multiple sql
6496         interactive buffers work properly.  Reverts misguided changes in
6497         earlier work.
6498         (sql-comint): Make sure different buffer name is used if "*SQL*"
6499         buffer is for a different product.
6500         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6501         login param.
6502         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6503         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6504         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6505         Accept new buffer name or prompt for one.
6506         (sql-port): Default to zero.
6507         (sql-comint-mysql): Handle "sql-port" as a numeric.
6508         (sql-port-history): Delete unused variable.
6509         (sql-get-login): Default "sql-port" to a number.
6510         (sql-product-alist): Correct Postgres prompt and terminator regexp.
6511         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6512         "sqlite3" executables.
6513         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6514         (sql-buffer-live-p): New function.
6515         (sql-mode-menu, sql-send-string): Use it.
6516         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6517         syntax pattern.
6518         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6519         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6521 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6523         * net/netrc.el (netrc-credentials): New convenience function.
6525 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6527         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6528         to replace texinfo-font-lock-syntactic-keywords.
6529         (texinfo-mode): Use it.
6531         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6532         Use syntax-propertize-function.
6534         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6535         replace sgml-font-lock-syntactic-keywords.
6536         (sgml-mode): Use it.
6538         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6539         since we don't use it.
6541         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6543         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6544         if available.
6545         (vhdl-fontify-buffer): Adjust.
6547         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6548         replace tcl-font-lock-syntactic-keywords.
6549         (tcl-mode): Use it.
6551         * progmodes/simula.el (simula-syntax-propertize-function): New var to
6552         replace simula-font-lock-syntactic-keywords.
6553         (simula-mode): Use it.
6555         * progmodes/sh-script.el (sh-st-symbol): Remove.
6556         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6557         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6558         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6559         (sh-font-lock-paren): Set syntax-multiline.
6560         (sh-font-lock-syntactic-keywords): Remove.
6561         (sh-syntax-propertize-function): New function to replace it.
6562         (sh-mode): Use it.
6564         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6565         Define while compiling.
6566         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6567         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6568         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6569         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6570         (ruby-here-doc-end-syntax): Only define when
6571         syntax-propertize is not available.
6572         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6573         New functions.
6574         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6575         (electric-indent-chars): Silence bytecompiler.
6576         (ruby-mode): Use prog-mode, syntax-propertize-function, and
6577         electric-indent-chars.
6579         * progmodes/python.el (python-syntax-propertize-function): New var to
6580         replace python-font-lock-syntactic-keywords.
6581         (python-mode): Use it.
6582         (python-quote-syntax): Simplify and adjust to new use.
6584         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6585         replace perl-font-lock-syntactic-keywords.
6586         (perl-syntax-propertize-special-constructs): New fun to replace
6587         perl-font-lock-special-syntactic-constructs.
6588         (perl-font-lock-syntactic-face-function): New fun.
6589         (perl-mode): Use it.
6591         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6592         to replace octave-font-lock-close-quotes.
6593         (octave-syntax-propertize-function): New function to replace
6594         octave-font-lock-syntactic-keywords.
6595         (octave-mode): Use it.
6597         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6598         replaces mixal-font-lock-syntactic-keywords.
6599         (mixal-mode): Use it.
6601         * progmodes/make-mode.el (makefile-syntax-propertize-function):
6602         New var; replaces makefile-font-lock-syntactic-keywords.
6603         (makefile-mode): Use it.
6604         (makefile-imake-mode): Adjust.
6606         * progmodes/js.el (js--regexp-literal): Define while compiling.
6607         (js-syntax-propertize-function): New var; replaces
6608         js-font-lock-syntactic-keywords.
6609         (js-mode): Use it.
6611         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6612         replaces gdb-script-font-lock-syntactic-keywords.
6613         (gdb-script-mode): Use it.
6615         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6616         (fortran--font-lock-syntactic-keywords): New var.
6617         (fortran-line-length): Update syntax-propertize-function and
6618         fortran--font-lock-syntactic-keywords.
6620         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6622         * progmodes/cfengine.el (cfengine-mode):
6623         Use syntax-propertize-function.
6624         (cfengine-font-lock-syntactic-keywords): Remove.
6626         * progmodes/autoconf.el (autoconf-mode):
6627         Use syntax-propertize-function.
6628         (autoconf-font-lock-syntactic-keywords): Remove.
6630         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6631         (ada-after-change-function, ada-initialize-syntax-table-properties)
6632         (ada-handle-syntax-table-properties): Only define when
6633         syntax-propertize is not available.
6634         (ada-mode): Use syntax-propertize-function.
6636         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6637         (font-lock-fontify-syntactic-keywords-region): Move handling of
6638         font-lock-syntactically-fontified to...
6639         (font-lock-default-fontify-region): ...here.
6640         Let syntax-propertize-function take precedence.
6641         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6643         * emacs-lisp/syntax.el (syntax-propertize-function)
6644         (syntax-propertize-chunk-size, syntax-propertize--done)
6645         (syntax-propertize-extend-region-functions): New vars.
6646         (syntax-propertize-wholelines, syntax-propertize-multiline)
6647         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6648         (syntax-propertize): New functions.
6649         (syntax-propertize-rules): New macro.
6650         (syntax-ppss-flush-cache): Set syntax-propertize--done.
6651         (syntax-ppss): Call syntax-propertize.
6653         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6655 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
6657         * textmodes/ispell.el (ispell-init-process): Improve comments.
6658         XEmacs compatibility changes regarding (add-hook) 'local option
6659         and (set-process-query-on-exit-flag).
6661 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
6663         * net/tramp-cache.el (tramp-parse-connection-properties):
6664         Set tramp-autoload cookie.
6666 2010-09-09  Glenn Morris  <rgm@gnu.org>
6668         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6669         (imagemagick-register-types): Doc fix.
6671 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6673         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6675         * progmodes/js.el (require): Require is already "eval-and-compile".
6676         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
6677         (js--re-search-backward): Use js--re-search-forward.
6679         * progmodes/fortran.el (fortran-line-length): Don't recompute
6680         syntactic keywords redundantly a second time.
6682         * progmodes/ada-mode.el: Replace "(set '" with setq.
6683         (ada-mode): Simplify.
6684         (ada-create-case-exception, ada-adjust-case-interactive)
6685         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6686         (ada-search-ignore-string-comment, ada-move-to-start)
6687         (ada-move-to-end): Use with-syntax-table.
6689         * font-lock.el (save-buffer-state): Remove `varlist' arg.
6690         (font-lock-unfontify-region, font-lock-default-fontify-region):
6691         Update usage correspondingly.
6692         (font-lock-fontify-syntactic-keywords-region):
6693         Set parse-sexp-lookup-properties buffer-locally here.
6694         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6696         * simple.el (blink-matching-open): Don't burp if we can't find a match.
6698 2010-09-08  Glenn Morris  <rgm@gnu.org>
6700         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6701         Error if not compiled with -DBYTE_CODE_METER.
6703         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6704         Ignore dir-locals-file.
6706 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6708         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6709         Not a const.
6710         (compilation-error-regexp-alist-alist): Rule out ": " in file names
6711         for the `gnu' messages.
6712         (compilation-set-skip-threshold): New command.
6713         (compilation-start): Use \' rather than $.
6714         (compilation-forget-errors): Use clrhash.
6716 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
6718         * textmodes/ispell.el (ispell-valid-dictionary-list):
6719         Simplify logic.
6721 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
6723         Migrate to Tramp 2.2.  Rearrange load dependencies.
6724         (Bug#1529, Bug#5448, Bug#5705)
6726         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6727         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6728         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6730         * net/tramp.el (top): Remove all other tramp-* loads except
6731         tramp-compat.el.  Remove all changes to tramp-unload-hook for
6732         other tramp-* packages.  Rearrange defun order.  Change calls of
6733         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6734         `tramp-compat-octal-to-decimal' to new function names.
6735         (tramp-terminal-type, tramp-initial-end-of-output)
6736         (tramp-methods, tramp-foreign-file-name-handler-alist)
6737         (tramp-tramp-file-p, tramp-completion-mode-p)
6738         (tramp-send-command-and-check, tramp-get-remote-path)
6739         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6740         (tramp-shell-quote-argument): Set tramp-autoload cookie.
6741         (with-file-property, with-connection-property): Move to
6742         tramp-cache.el.
6743         (tramp-local-call-process, tramp-decimal-to-octal)
6744         (tramp-octal-to-decimal): Move to tramp-compat.el.
6745         (tramp-handle-shell-command): Do not require 'shell.
6746         (tramp-compute-multi-hops): No special handling for tramp-gw-*
6747         symbols.
6748         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6750         * net/tramp-cache.el (top): Require 'tramp.  Add to
6751         `tramp-unload-hook'.
6752         (tramp-cache-data, tramp-get-file-property)
6753         (tramp-set-file-property, tramp-flush-file-property)
6754         (tramp-flush-directory-property, tramp-get-connection-property)
6755         (tramp-set-connection-property, tramp-flush-connection-property)
6756         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6757         cookie.
6758         (with-file-property, with-connection-property): New defuns, moved
6759         from tramp.el.
6760         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6761         macro.
6763         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6764         (tramp-version): Set tramp-autoload cookie.
6766         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
6767         changes to tramp-unload-hook for other tramp-* packages.  Add to
6768         `tramp-unload-hook'.
6769         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6770         (tramp-compat-call-process): New defuns, moved from tramp.el.
6772         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
6773         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6774         Add to `tramp-unload-hook'.  Change call of
6775         `tramp-compat-decimal-to-octal' to new function name.
6776         (tramp-fish-method): Make it a defconst.
6777         (tramp-fish-file-name-p): Make it a defsubst.
6778         (tramp-fish-method, tramp-fish-file-name-handler)
6779         (tramp-fish-file-name-p): Set tramp-autoload cookie.
6781         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6782         `tramp-foreign-file-name-handler-alist'.  Add to
6783         `tramp-unload-hook'.
6784         (tramp-ftp-method): Make it a defconst.
6785         (tramp-ftp-file-name-p): Make it a defsubst.
6786         (tramp-ftp-method, tramp-ftp-file-name-handler)
6787         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6789         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6790         `tramp-foreign-file-name-handler-alist'.  Add to
6791         `tramp-unload-hook'.  Change checks, whether package can be
6792         loaded.
6793         (tramp-gvfs-file-name-p): Make it a defsubst.
6794         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6795         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6796         (tramp-gvfs-handle-file-directory-p): New defun.
6797         (tramp-gvfs-file-name-handler-alist): Use it.
6799         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6800         `tramp-foreign-file-name-handler-alist'.  Add to
6801         `tramp-unload-hook'.
6802         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6803         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6804         defconst.
6805         (tramp-gw-tunnel-method, tramp-gw-socks-method)
6806         (tramp-gw-open-connection): Set tramp-autoload cookie.
6808         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
6809         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6810         Add to `tramp-unload-hook'.  Change checks, whether package can be
6811         loaded.
6812         (tramp-imap-file-name-p): Make it a defsubst.
6813         (tramp-imap-method, tramp-imaps-method)
6814         (tramp-imap-file-name-handler)
6815         (tramp-imap-file-name-p): Set tramp-autoload cookie.
6817         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
6818         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6819         Add to `tramp-unload-hook'.  Change checks, whether package can be
6820         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
6821         function name.
6822         (tramp-smb-tunnel-method): Make it a defconst.
6823         (tramp-smb-file-name-p): Make it a defsubst.
6824         (tramp-smb-method, tramp-smb-file-name-handler)
6825         (tramp-smb-file-name-p): Set tramp-autoload cookie.
6827         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6828         (tramp-uuencode-region): Set tramp-autoload cookie.
6830         * net/trampver.el (top) Add to `tramp-unload-hook'.
6831         (tramp-version, tramp-bug-report-address): Set tramp-autoload
6832         cookie.  Update release number.
6834 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
6836         * textmodes/ispell.el (ispell-start-process): Make sure original
6837         arg list is properly initialized (Bug#6993, Bug#6994).
6839 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6841         * files.el (directory-abbrev-alist): Use \` as default regexp.
6843         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6844         chars like - or ] (bug#6984).
6845         (rx-any-condense-range): Explode 2-char ranges.
6847 2010-09-06  Glenn Morris  <rgm@gnu.org>
6849         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6851 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6853         * textmodes/bibtex.el:
6854         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6856 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6858         * net/imap.el (imap-message-map): Remove optional buffer parameter,
6859         since no callers use it.
6860         (imap-message-get): Ditto.
6861         (imap-message-put): Ditto.
6862         (imap-mailbox-map): Ditto.
6863         (imap-mailbox-put): Ditto.
6864         (imap-mailbox-get): Ditto.
6865         (imap-mailbox-get): Revert last change for this function.
6867 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6869         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6870         callers to use `imap-fetch' instead.  According to the comments, this
6871         should be safe, since all other IMAP clients use the 1:* syntax.
6872         (imap-enable-exchange-bug-workaround): Remove.
6873         (imap-debug): Remove -- doesn't seem very useful.
6875 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6877         * net/imap.el (imap-log): New convenience function used throughout
6878         instead of repeating the same code all over the place.
6880 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6882         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6883         when mouse-drag-copy-region is non-nil (Bug#6956).
6885 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6887         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6888         Improve regexps (Bug#6987).
6889         (dired-sort-toggle): Search more robustly for -t flag.
6891         * files.el (get-free-disk-space): Search more robustly for
6892         "available" column.  Suggested by Ehud Karni
6893         <ehud@unix.mvs.co.il>.
6895 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6897         * international/uni-bidi.el:
6898         * international/uni-category.el:
6899         * international/uni-combining.el:
6900         * international/uni-decimal.el:
6901         * international/uni-mirrored.el:
6902         * international/uni-name.el: Regenerate.
6904 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6906         * electric.el (electric-indent-post-self-insert-function):
6907         Don't reindent with a sloppy indentation function.
6909         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6910         border case in change-log-mode.
6912 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6914         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6915         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6916         Recognize leading tab in gcc-include regexp.  Ignore names with
6917         leading "from" or "in" in gnu regexp (Bug#6937).
6919 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6921         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6922         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6923         (ispell-start-process): Avoid setq and simplify logic.
6924         (ispell-init-process): Setup kill-buffer-hook locally when needed.
6925         (kill-buffer-hook): Don't use it globally with code that uses
6926         expand-file-name since that may call kill-buffer via
6927         code_conversion_restore.
6929 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6931         * emacs-lisp/package.el (package-directory-list): Only call
6932         file-name-nondirectory on a string.
6934 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6936         * emacs-lisp/package.el (package--download-one-archive):
6937         Ensure that archive-contents is valid before saving it.
6938         (package-activate-1, package-mark-obsolete, define-package)
6939         (package-compute-transaction, package-list-maybe-add): Use push.
6941 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6943         Use SMIE's blink-paren for octave-mode.
6944         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6945         Backslashes do not escape single-quotes, single-quotes do.
6946         (octave-block-else-regexp, octave-block-end-regexp)
6947         (octave-block-match-alist): Remove.
6948         (octave-smie-bnf-table): New var, with old content.
6949         (octave-smie-op-levels): Use it.
6950         (octave-smie-closer-alist): New var.
6951         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6952         (octave-blink-matching-block-open): Remove.
6953         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6954         (octave-electric-space): Let self-insert-command run expand-abbrev and
6955         blink parens.
6957         * electric.el (electricity): New group.
6958         (electric-indent-chars): New var.
6959         (electric-indent-post-self-insert-function): New fun.
6960         (electric-indent-mode): New minor mode.
6961         (electric-pair-skip-self): New custom.
6962         (electric-pair-post-self-insert-function): New function.
6963         (electric-pair-mode): New minor mode.
6965         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6966         calcAlg-blink-matching-open.
6967         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6968         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6969         Use the new blink-matching-check-function.
6971         Provide blink-matching support to SMIE.
6972         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6973         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6974         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6976         * simple.el (newline): Fix last change to properly remove itself from
6977         the hook.
6979 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6981         * simple.el (newline): Eliminate optimization.
6982         Use post-self-insert-hook to set hard-newline and things before
6983         running post-self-insert-hook.
6984         (blink-matching-check-mismatch): New function.
6985         (blink-matching-check-function): New variable.
6986         (blink-matching-open): Use them.
6987         Skip back forward over prefix chars skipped by forward-sexp.
6988         Don't check if the parens are backslash escaped.
6989         (blink-paren-post-self-insert-function): Check backslash escaping here.
6991 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6993         * emacs-lisp/package.el (package-menu-mode-map):
6994         Change package-menu-revert bindings to revert-buffer.
6995         (package-menu-mode): Set revert-buffer-function.
6996         (package-menu-revert): Doc fix.
6998 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
7000         * textmodes/ispell.el (ispell-init-process): Use "~/" as
7001         `default-directory' unless using Ispell per-directory personal
7002         dictionaries and not in a mini-buffer under XEmacs.
7003         (kill-buffer-hook): Do not kill ispell process on exit when
7004         `ispell-process-directory' is "~/".  (Bug#6143)
7006 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
7008         * simple.el (kill-new): Call interprogram-cut-function with only
7009         one argument.
7011         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7012         Remove cut buffer from error message.
7014         * term/x-win.el (x-select-text):
7015         * term/pc-win.el (x-selection-value):
7016         * term/ns-win.el (x-selection-value):
7017         * eshell/em-term.el:
7018         * w32-fns.el (x-get-selection-value):
7019         * mouse-sel.el (mouse-sel-set-selection-function):
7020         * frame.el (display-selections-p): Remove cut-buffer in documentation.
7022         * term/x-win.el: Update documentation for x-last-selected-text-*.
7023         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7024         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7025         (x-select-text): Remove argument PUSH, update documentation.
7026         Remove cut-buffer code.
7027         (x-selection-value-internal): Was previously x-selection-value.
7028         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7029         Update documentation, remove cut-buffer code.
7030         Call x-selection-value-internal.
7031         (x-clipboard-yank): Call x-selection-value-internal.
7032         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7034         * term/pc-win.el (x-last-selected-text):
7035         x-cut-buffer-or-selection-value renamed to x-selection-value
7036         (x-select-text): Remove argument PUSH, update documentation.
7038         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
7039         x-cut-buffer-or-selection-value renamed to x-selection-value
7040         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7041         (x-select-text): Remove argument PUSH, update documentation.
7043         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
7045         * w32-fns.el (x-last-selected-text):
7046         x-cut-buffer-or-selection-value renamed to x-selection-value.
7047         (x-cut-buffer-max): Remove.
7048         (x-select-text): Remove argument PUSH, update documentation.
7050         * simple.el (interprogram-cut-function): Remove mention of PUSH.
7052         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
7054         * mouse-sel.el (mouse-sel-get-selection-function):
7055         x-cut-buffer-or-selection-value renamed to x-selection-value.
7056         (x-select-text): Remove optional push.
7058 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7060         * simple.el (blink-paren-function): Move from C to here.
7061         (blink-paren-post-self-insert-function): New function.
7062         (post-self-insert-hook): Use it.
7064         * emacs-lisp/pcase.el (pcase-split-memq):
7065         Fix overenthusiastic optimisation.
7066         (pcase-u1): Handle the case of a lambda pred.
7068 2010-08-31  Kenichi Handa  <handa@m17n.org>
7070         * international/mule-cmds.el (standard-display-european-internal):
7071         Setup standard-display-table for 8-bit characters by storing 8-bit
7072         characters in the element vector.
7074         * disp-table.el (standard-display-8bit):
7075         Setup standard-display-table for 8-bit characters by storing 8-bit
7076         characters in the element vector.
7077         (standard-display-european): Likewise.
7079 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
7081         * textmodes/nroff-mode.el (nroff-view): New command.
7082         (nroff-mode-map): Bind it to C-c C-c.
7084 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7086         * emacs-lisp/smie.el (smie-down-list): New command.
7088         Remove old indentation and navigation code on octave-mode.
7089         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
7090         smie-down-list rather than add a binding for octave-down-block.
7091         (octave-mark-block, octave-blink-matching-block-open):
7092         Rely on forward-sexp-function.
7093         (octave-fill-paragraph): Don't narrow, so you can use
7094         indent-according-to-mode.
7095         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
7096         (octave-in-block-p, octave-re-search-forward-kw)
7097         (octave-re-search-backward-kw, octave-indent-calculate)
7098         (octave-end-as-array-index-p, octave-block-end-offset)
7099         (octave-scan-blocks, octave-forward-block, octave-backward-block)
7100         (octave-down-block, octave-backward-up-block, octave-up-block)
7101         (octave-before-magic-comment-p, octave-indent-line): Remove.
7103 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
7105         * emacs-lisp/package.el (package--read-archive-file): Just use
7106         `read', to avoid copying an additional string.
7107         (package-menu-mode): Set header-line-format here.
7108         (package-menu-refresh, package-menu-revert): Signal an error if
7109         not in the Package Menu.
7110         (package-menu-package-list): New var.
7111         (package--generate-package-list): Operate on the current buffer;
7112         don't assume that it is *Packages*, since the user may rename it.
7113         Allow persistent package listings and sort keys using
7114         package-menu-package-list and package-menu-package-sort-key.
7115         (package-menu--version-predicate): Fix version calculation.
7116         (package-menu-sort-by-column): Don't select the window.
7117         (package--list-packages): Create the *Packages* buffer.
7118         Set package-menu-package-list-key.
7119         (list-packages): Sorting by status is now the default.
7120         (package-buffer-info): Use match-string-no-properties.
7121         (define-package): Add a &rest argument for future proofing, but
7122         don't use it yet.
7123         (package-install-from-buffer, package-install-buffer-internal):
7124         Merge into a single function, package-install-from-buffer.
7125         (package-install-file): Change caller.
7127         * finder.el: Load finder-inf using `require'.
7128         (finder-list-matches): Sorting by status is now the default.
7129         (finder-compile-keywords): Simpify printing.
7131 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7133         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7134         (octave-mode-map): Remove special bindings for forward/backward-block
7135         and octave-backward-up-block.  Use smie-close-block.
7136         (octave-continuation-marker-regexp): New var.
7137         (octave-continuation-regexp): Use it.
7138         (octave-operator-table, octave-smie-op-levels)
7139         (octave-operator-regexp, octave-smie-indent-rules): New vars.
7140         (octave-smie-backward-token, octave-smie-forward-token): New funs.
7141         (octave-mode): Use SMIE.
7142         (octave-close-block): Delete.
7144 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7146         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7147         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7149 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7151         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7152         a list of parents.
7153         (smie-indent-column): Allow indirection through variables.
7155         * composite.el (save-buffer-state): Delete, unused.
7156         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7157         (font-lock-default-fontify-region): Use with-syntax-table.
7158         * jit-lock.el (with-buffer-unmodified): Remove.
7159         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7161         Use `declare' in defmacros.
7162         * window.el (save-selected-window):
7163         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7164         * progmodes/python.el (def-python-skeleton):
7165         * net/dbus.el (dbus-ignore-errors):
7166         * jka-cmpr-hook.el (with-auto-compression-mode):
7167         * international/mule.el (with-category-table):
7168         * emacs-lisp/timer.el (with-timeout):
7169         * emacs-lisp/lisp-mnt.el (lm-with-file):
7170         * emacs-lisp/eieio.el (with-slots):
7171         * emacs-lisp/easymenu.el (easy-menu-define):
7172         * emacs-lisp/debug.el (debugger-env-macro):
7173         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7174         (Multiple-value-call, Multiple-value-prog1):
7175         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7176         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7177         edebug rule to definition.
7178         * emacs-lisp/lisp-mode.el (save-selected-window)
7179         (with-current-buffer, combine-after-change-calls)
7180         (with-output-to-string, with-temp-file, with-temp-buffer)
7181         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7182         (dolist, dotimes, when, unless):
7183         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7185 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7187         * finder.el: Require `package'.
7188         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7189         (finder-package-info): Var deleted.
7190         (finder-keywords-hash, finder--builtins-alist): New vars.
7191         (finder-compile-keywords): Compute package--builtins and
7192         finder-keywords-hash instead of finder-keywords-hash, respecting
7193         the "Package" header.
7194         (finder-unknown-keywords, finder-list-matches):
7195         Use finder-keywords-hash and package--list-packages.
7196         (finder-mode): Don't set font-lock-defaults.
7197         (finder-exit): We don't use "*Finder-package*" and "*Finder
7198         Category*" buffers anymore.
7200         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7201         (package--builtins): Set default value to nil.
7202         (package-initialize): Load precomputed value of package--builtins
7203         from finder-inf.el.
7204         (package-alist, package-compute-transaction)
7205         (package-download-transaction): Improve docstring.
7206         (package-read-all-archive-contents): Do not change
7207         package--builtins here.
7208         (list-packages): Make package-list-packages an alias for this.
7209         Sort by status by default.
7210         (package--list-packages): Add optional PACKAGES arg.
7211         (describe-package-1): Use font-lock-face property.  For built-in
7212         packages, insert file commentary.
7213         (package--generate-package-list): Rename from
7214         package-list-packages-internal; all callers changed.  Add optional
7215         PACKAGES arg.  Add alphabetical sort fallbacks.
7216         (package-menu--version-predicate, package-menu--status-predicate)
7217         (package-menu--description-predicate)
7218         (package-menu--name-predicate): New functions.
7220         * info.el (Info-finder-find-node): Search package-alist instead of
7221         finder-package-info.
7223 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7225         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7226         "alpha" and "beta".
7227         (version-to-list): Handle versions like "10.3d".
7229 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7231         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7232         (macroexp-accumulate): Use `declare'.
7234 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7236         * whitespace.el (whitespace-style): Adjust type declaration.
7238 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
7240         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7241         empty argument to gvfs-copy.
7243 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7245         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7246         handle new TRASH arg of `delete-file'.
7248 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7250         * net/tramp.el (tramp-handle-insert-directory): Don't use
7251         `forward-word', its default syntax could be changed.
7253 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7254             Michael Albinus  <michael.albinus@gmx.de>
7256         Implement compression for inline methods.
7258         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7259         (tramp-copy-size-limit): Allow also nil.
7260         (tramp-inline-compress-commands): New defconst.
7261         (tramp-find-inline-compress, tramp-get-inline-compress)
7262         (tramp-get-inline-coding): New defuns.
7263         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7264         replaced by `tramp-get-inline-coding'.
7265         (tramp-handle-file-local-copy, tramp-handle-write-region)
7266         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7268 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
7270         Detect ssh 'ControlMaster' argument automatically in some cases.
7272         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7273         (tramp-default-method): Use it.
7275 2010-08-26  Karel Klíč  <kklic@redhat.com>
7277         * net/tramp.el (tramp-file-name-for-operation):
7278         Add file-selinux-context.
7280 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7282         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7284 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7286         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7287         (Bug#6907).
7289 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7291         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7292         (js-paren-indent-offset, js-square-indent-offset)
7293         (js-curly-indent-offset): New options.
7294         (js--proper-indentation): Use them.
7296 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7298         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7299         instead of inspecting font-lock properties (Bug#6916).
7301 2010-08-26  David Reitter  <david.reitter@gmail.com>
7303         * server.el (server-visit-files): Run pre-command-hook and
7304         post-command-hook for each buffer while it is current (Bug#6910).
7305         (server-execute): Do not run hooks here.
7307 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7309         Sync with Tramp 2.1.19.
7311         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7312         (tramp-reporter-dump-variable, tramp-load-report-modules)
7313         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7314         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7316         * net/tramp-compat.el (top): Do not autoload
7317         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7318         only when `start-file-process' is not bound.
7319         (byte-compile-not-obsolete-vars): Define if not bound.
7320         (tramp-compat-funcall): New defmacro.
7321         (tramp-compat-line-beginning-position)
7322         (tramp-compat-line-end-position)
7323         (tramp-compat-temporary-file-directory)
7324         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7325         (tramp-compat-copy-file, tramp-compat-copy-directory)
7326         (tramp-compat-delete-file, tramp-compat-delete-directory)
7327         (tramp-compat-number-sequence, tramp-compat-process-running-p):
7328         Use it.
7329         (tramp-advice-file-expand-wildcards): Do not use
7330         `tramp-handle-file-remote-p'.
7331         (tramp-compat-make-temp-file): Simplify fallback implementation.
7332         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7333         (tramp-compat-copy-tree): Remove function.
7334         (tramp-compat-delete-file): New defun.
7335         (tramp-compat-delete-directory): Provide implementation for older
7336         Emacsen.
7337         (tramp-compat-file-attributes): Handle only
7338         `wrong-number-of-arguments' error.
7340         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7341         Add PRESERVE_SELINUX_CONTEXT.
7342         (tramp-fish-handle-delete-file): Add TRASH arg.
7343         (tramp-fish-handle-directory-files-and-attributes):
7344         Do not use `tramp-fish-handle-file-attributes.
7345         (tramp-fish-handle-file-local-copy)
7346         (tramp-fish-handle-insert-file-contents)
7347         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7349         * net/tramp-gvfs.el (top): Require url-util.
7350         (tramp-gvfs-mount-point): Remove.
7351         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7352         and `set-file-selinux-context'.
7353         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7354         (tramp-gvfs-handle-file-selinux-context)
7355         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7356         (with-tramp-dbus-call-method): Format trace message.
7357         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7358         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7359         Implement backup call, when operation on local files fails.
7360         Use progress reporter.  Flush properties of changed files.
7361         (tramp-gvfs-handle-delete-file): Add TRASH arg.
7362         Use `tramp-compat-delete-file'.
7363         (tramp-gvfs-handle-expand-file-name): Expand "~/".
7364         (tramp-gvfs-handle-make-directory): Make more traces.
7365         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7366         (tramp-gvfs-url-file-name): Hexify file name in url.
7367         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7368         into account for the resulting file name.
7369         (tramp-gvfs-handler-askquestion): Preserve current message, in
7370         order to let progress reporter continue afterwards.  (Bug#6257)
7371         Return dummy mountpoint, when the answer is "no".
7372         See `tramp-gvfs-maybe-open-connection'.
7373         (tramp-gvfs-handler-mounted-unmounted)
7374         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7375         attribute "default_location".  Set "prefix" property.
7376         Handle default-location.
7377         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7378         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7379         exists.  Raise an error, if not (due to a corresponding answer
7380         "no" in interactive questions, for example).
7381         Use `tramp-compat-funcall'.
7383         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7384         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7385         (tramp-imap-do-copy-or-rename-file)
7386         (tramp-imap-handle-insert-file-contents)
7387         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7388         (tramp-imap-handle-delete-file): Add TRASH arg.
7390         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7391         Add PRESERVE-SELINUX-CONTEXT.
7392         (tramp-smb-handle-copy-file)
7393         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7394         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7395         Use `with-progress-reporter'.
7396         (tramp-smb-handle-delete-file): Add TRASH arg.
7398         * net/tramp.el (tramp-methods): Move hostname to the end in all
7399         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
7400         appropriate.
7401         (tramp-verbose): Describe verbose level 9.
7402         (tramp-completion-function-alist)
7403         (tramp-file-name-regexp, tramp-chunksize)
7404         (tramp-local-coding-commands, tramp-remote-coding-commands)
7405         (with-connection-property, tramp-completion-mode-p)
7406         (tramp-action-process-alive, tramp-action-out-of-band)
7407         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7408         (tramp-exists-file-name-handler): Fix docstring.
7409         (tramp-remote-process-environment): Use `format' instead of
7410         `concat'.  Protect version string by apostroph.
7411         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7412         XEmacs.
7413         (tramp-file-name-regexp-unified)
7414         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7415         not regard the volume letter as remote filename.  (Bug#5447)
7416         (tramp-perl-file-attributes)
7417         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7418         (tramp-vc-registered-read-file-names): Read input as
7419         here-document, otherwise the command could exceed maximum length
7420         of command line.
7421         (tramp-file-name-handler-alist): Add `file-selinux-context' and
7422         `set-file-selinux-context'.
7423         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7424         backtrace functions.
7425         (tramp-error-with-buffer): Don't show the connection buffer when
7426         we are in completion mode.
7427         (tramp-progress-reporter-update, tramp-remote-selinux-p)
7428         (tramp-handle-file-selinux-context)
7429         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7430         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7431         New defuns.
7432         (with-progress-reporter): New defmacro.
7433         (tramp-debug-outline-regexp): New defconst.
7434         (top, tramp-rfn-eshadow-setup-minibuffer)
7435         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7436         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7437         (tramp-completion-mode-p, tramp-check-for-regexp)
7438         (tramp-open-connection-setup-interactive-shell)
7439         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7440         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7441         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7442         Use `tramp-compat-funcall'.
7443         (tramp-handle-make-symbolic-link): Flush file properties.
7444         (tramp-handle-load, tramp-handle-file-local-copy)
7445         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7446         (tramp-handle-vc-registered, tramp-maybe-send-script)
7447         (tramp-find-shell): Use `with-progress-reporter'.
7448         (tramp-do-file-attributes-with-stat): Add space in format string,
7449         in order to work around a bug in pdksh.  Reported by Gilles Pion
7450         <gpion@lfdj.com>.
7451         (tramp-handle-verify-visited-file-modtime): Do not send a command
7452         when the connection is not established.
7453         (tramp-handle-set-file-times): Simplify the check for utc.
7454         (tramp-handle-directory-files-and-attributes)
7455         (tramp-get-remote-path): Use `copy-tree'.
7456         (tramp-completion-handle-file-name-all-completions): Ensure, that
7457         non remote files are still checked.  Oops.
7458         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7459         Handle PRESERVE-SELINUX-CONTEXT.
7460         (tramp-do-copy-or-rename-file): Add progress reporter.
7461         (tramp-do-copy-or-rename-file-directly): Do not use
7462         `tramp-handle-file-remote-p'.
7463         (tramp-do-copy-or-rename-file-out-of-band):
7464         Use `tramp-compat-delete-directory'.
7465         (tramp-do-copy-or-rename-file-out-of-band)
7466         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7467         Use `format-spec-make'.
7468         (tramp-handle-delete-file): Add TRASH arg.
7469         (tramp-handle-dired-uncache): Flush directory cache, not only file
7470         cache.
7471         (tramp-handle-expand-file-name)
7472         (tramp-completion-handle-file-name-all-completions)
7473         (tramp-completion-handle-file-name-completion):
7474         Use `tramp-connectable-p'.
7475         (tramp-handle-start-file-process): Set connection property "vec".
7476         Use it, in order to invalidate file caches.  Check only for
7477         `remote-tty' process property.
7478         Implement tty setting.  (Bug#4604, Bug#6360)
7479         (tramp-file-name-for-operation): Add `call-process-region' and
7480         `set-file-selinux-context'.
7481         (tramp-find-foreign-file-name-handler)
7482         (tramp-advice-make-auto-save-file-name)
7483         (tramp-set-auto-save-file-modes): Remove superfluous check for
7484         `stringp'.  This is done inside `tramp-tramp-file-p'.
7485         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
7486         operations when we are in completion mode.  This gives the user
7487         the chance to correct the file name in the minibuffer.
7488         (tramp-completion-mode-p): Use `non-essential'.
7489         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7490         compatibility: Use `completion-ignore-case' if
7491         `read-file-name-completion-ignore-case' does not exist.
7492         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7493         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7494         `tramp-open-shell'.
7495         (tramp-action-password): Hide password prompt before next run.
7496         (tramp-process-actions): Widen connection buffer for the trace.
7497         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7498         process property.  Trace stty settings if `tramp-verbose' >= 9.
7499         Apply workaround for IRIX64 bug.  Move argument of last
7500         `tramp-send-command' where it belongs to.
7501         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7502         front of `login-args'.
7503         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7504         on "/dev/null" instead of "/".
7505         (tramp-get-ls-command-with-dired): Make test for "--dired"
7506         stronger.
7507         (tramp-set-auto-save-file-modes): Adapt version check.
7508         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7509         (tramp-handle-process-file): Call the program in a subshell, in
7510         order to preserve working directory.
7511         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7512         `tramp-remote-sh' from `tramp-methods'.
7513         (tramp-get-ls-command): Make test for "--color=never" stronger.
7514         (tramp-check-for-regexp): Use (forward-line 1).
7516         * net/trampver.el: Update release number.
7518 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7520         * help.el (help-map): Bind `C-h P' to describe-package.
7522         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7524         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7525         when downloading archives.
7526         (describe-package-1): Add package commentary.
7527         (package-install-button-action): New function.
7528         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7529         (package-menu-view-commentary): Function removed.
7530         (package-list-packages-internal): Hide the `package' package too.
7532 2010-08-25  Kenichi Handa  <handa@m17n.org>
7534         * language/misc-lang.el ("Arabic"): New language environment.
7535         Setup composition-function-table for Arabic characters.
7537         * international/fontset.el (setup-default-fontset): Fix typo for
7538         arabic OTF spec (fini->fina).
7540 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7542         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7543         on all frames.
7545 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7547         * whitespace.el: Allow cleaning up blanks without blank
7548         visualization (Bug#6651).  Adjust help window for
7549         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7550         instead of whitespace-line-column (from EmacsWiki).  New version
7551         13.1.
7552         (whitespace-style): Add new value 'face.  Adjust docstring.
7553         (whitespace-space, whitespace-hspace, whitespace-tab):
7554         Adjust foreground property face.
7555         (whitespace-line-column): Adjust docstring and type declaration.
7556         (whitespace-style-value-list, whitespace-toggle-option-alist)
7557         (whitespace-help-text): Adjust const initialization.
7558         (whitespace-toggle-options, global-whitespace-toggle-options):
7559         Adjust docstring.
7560         (whitespace-display-window, whitespace-interactive-char)
7561         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7562         (whitespace-help-scroll): New fun.
7564 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7566         * emacs-lisp/package.el (list-packages): Alias for
7567         package-list-packages.
7569 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7571         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7572         (Bug#5651).
7574         * progmodes/ruby-mode.el (ruby): Add defgroup.
7576 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7578         * progmodes/python.el: Add Ipython support (Bug#5390).
7579         (python-shell-prompt-alist)
7580         (python-shell-continuation-prompt-alist): New options.
7581         (python--set-prompt-regexp): New function.
7582         (inferior-python-mode, run-python, python-shell):
7583         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7584         prompt based on the Python interpreter.
7585         (python--prompt-regexp): New var.
7586         (python-check-comint-prompt)
7587         (python-comint-output-filter-function): Use it.
7588         (run-python): Use a pipe (Bug#5694).
7590 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7592         * progmodes/python.el (python-send-region): Send a different
7593         Python command if Ipython is in use.
7594         (python-check-version): Use a Python command to find the version.
7596 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7598         * mouse.el (mouse-yank-primary): Avoid setting primary when
7599         deactivating the mark (Bug#6872).
7601 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7603         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7604         with "else" (Bug#3991).
7606 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7608         * net/dbus.el: Accept UNIX domain sockets as bus address.
7609         (top): Don't initialize `dbus-registered-objects-table' anymore,
7610         this is done in dbusbind,c.
7611         (dbus-check-event): Adapt test for bus.
7612         (dbus-return-values-table, dbus-unregister-service)
7613         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7614         Adapt doc string.
7616 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7618         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7620 2010-08-22  Juri Linkov  <juri@jurta.org>
7622         * simple.el (read-extended-command): New function with the logic
7623         for `completing-read' moved to Elisp from `execute-extended-command'.
7624         Use `function-called-at-point' in `minibuffer-default-add-function'
7625         to get a command name for M-n (bug#5364, bug#5214).
7627 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7629         * startup.el (command-line-1): Issue warning for ignored arguments
7630         --unibyte, etc (Bug#6886).
7632 2010-08-22  Leo  <sdl.web@gmail.com>
7634         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7635         (ignore, bright, dim, keyword): Split list of nicknames before
7636         passing to rcirc-add-or-remove (Bug#6894).
7638 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7640         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7642 2010-08-22  Leo  <sdl.web@gmail.com>
7644         Fix buffer-list rename&refresh after killing a buffer in ido.
7645         * ido.el: Revert Óscar's.
7646         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7647         Remember the buffers at head, rather than their name.
7648         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7650 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7651             Stefan Monnier  <monnier@iro.umontreal.ca>
7653         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7654         extra backslash added to each line (bug#6890).
7656 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7658         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7660 2010-08-22  Glenn Morris  <rgm@gnu.org>
7662         * menu-bar.el (menu-bar-games-menu): Add landmark.
7664 2010-08-22  Glenn Morris  <rgm@gnu.org>
7666         * align.el (align-regexp): Make group and spacing arguments
7667         use the interactive defaults when non-interactive.  (Bug#6698)
7669         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7670         expansion, so as not to need sendmail.
7671         (mail-text-start): Remove declaration.
7672         (rmail-retry-failure): Require sendmail.
7674 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7676         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7678 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
7680         * progmodes/flymake.el (flymake-start-syntax-check-process):
7681         Use `start-file-process' in order to let it run also on remote hosts.
7683 2010-08-22  Kenichi Handa  <handa@m17n.org>
7685         * files.el: Add `word-wrap' as safe local variable.
7687 2010-08-22  Glenn Morris  <rgm@gnu.org>
7689         * woman.el (woman-translate): Case matters.  (Bug#6849)
7691 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7693         * simple.el (kill-region): Doc fix (Bug#6787).
7695 2010-08-22  Glenn Morris  <rgm@gnu.org>
7697         * calendar/diary-lib.el (diary-header-line-format):
7698         Fit it to the window, not the frame.
7700 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
7702         * subr.el (ignore-errors): Add debug declaration.
7704 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
7706         * whitespace.el (whitespace-color-off): Remove post-command-hook
7707         locally.
7709 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7711         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7713 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7715         * cus-edit.el (custom-group-value-create): Add extra newline
7716         before end line (Bug#6876).
7718 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7720         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7721         when extending it.  Before killing on the second click, check if
7722         the buffer is the correct one.  Doc fix.
7723         (mouse-secondary-save-then-kill): Allow usage without first
7724         calling mouse-start-secondary, by defaulting to point.  Don't save
7725         an empty secondary selection.  Doc fix.
7727 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7729         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
7730         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7731         New version 13.0.
7732         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7733         Adjust initialization.
7734         (whitespace-bob-marker, whitespace-eob-marker)
7735         (whitespace-buffer-changed): New vars.
7736         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7737         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7738         (whitespace-post-command-hook, whitespace-display-char-on):
7739         Adjust code.
7740         (whitespace-looking-back, whitespace-buffer-changed): New funs.
7741         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7743 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7745         * files.el (locate-file-completion-table): Only list the .el and .elc
7746         extensions if there's no other choice (bug#5955).
7748         * facemenu.el (facemenu-self-insert-data): New var.
7749         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7750         New functions.
7751         (facemenu-add-face): Use them.
7753         * simple.el (blink-matching-open): Obey forward-sexp-function.
7755 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7757         * simple.el (prog-mode-map): New var.
7758         (prog-indent-sexp): New command.
7760         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7762         * progmodes/prolog.el (smie): Require.
7764         * emacs-lisp/smie.el (smie-default-backward-token)
7765         (smie-default-forward-token): Strip properties.
7766         (smie-next-sexp): Be more careful with associative operators.
7767         (smie-forward-sexp-command): Generalize.
7768         (smie-backward-sexp-command): Simplify.
7769         (smie-closer-alist): New var.
7770         (smie-close-block): New command.
7771         (smie-indent-debug-log): New var.
7772         (smie-indent-offset-rule): Add a few more cases.
7773         (smie-indent-column): New function.
7774         (smie-indent-after-keyword): Use it.
7775         (smie-indent-keyword): Use it.
7776         Fix up the opener code's point position.
7777         (smie-indent-comment): Only applies at BOL.
7778         (smie-indent-debug): New command.
7780         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7781         declarations that are useful before running the macro.
7783 2010-08-18  Joakim Verona  <joakim@verona.se>
7785         * image.el (imagemagick-types-inhibit): New variable.
7786         (imagemagick-register-types): New function.
7787         * image-mode.el (image-transform-properties): New function.
7788         (image-transform-set-scale, image-transform-fit-to-height)
7789         (image-transform-set-rotation, image-transform-set-resize)
7790         (image-transform-fit-to-width, image-transform-fit-to-height):
7791         New functions.
7792         (image-toggle-display-image): Support image transforms.
7794 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
7796         * image.el (create-animated-image): Don't add heuristic mask to image
7797         (Bug#6839).
7799 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
7801         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7802         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7804 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7806         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7808         Font-lock '...' strings, plus various simplifications and fixes.
7809         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7810         (octave-font-lock-close-quotes): New function.
7811         (octave-font-lock-syntactic-keywords): New var.
7812         (octave-mode): Use it.  Set beginning-of-defun-function.
7813         (octave-mode-map): Don't override the <foo>-defun commands.
7814         (octave-mode-menu): Pass it directly to easy-menu-define;
7815         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7816         (octave-block-match-alist): Fix up last change so that
7817         octave-close-block uses the more specific keyword.
7818         (info-lookup-mode): Silence byte-compiler.
7819         (octave-beginning-of-defun): Not interactive any more.
7820         Optimize slightly.
7821         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7822         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7823         (octave-completion-at-point-function): Make sure point is within
7824         beg..end.
7825         (octave-reindent-then-newline-and-indent):
7826         Use reindent-then-newline-and-indent.
7827         (octave-add-octave-menu): Remove.
7829 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7831         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7832         (report-emacs-bug-can-use-xdg-email): New functions.
7833         (report-emacs-bug): Set can-xdg-email to result of
7834         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7835         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7836         about it.
7838         * net/browse-url.el (browse-url-default-browser): Add cond
7839         for browse-url-xdg-open.
7840         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7842 2010-08-17  Glenn Morris  <rgm@gnu.org>
7844         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7845         (c-fontify-recorded-types-and-refs): Define for compiler.
7846         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7847         before use.
7849         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7850         Fix format call.
7852 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7854         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7855         properties.
7856         (tramp-handle-process-file): Call the program in a subshell, in
7857         order to preserve working directory.
7858         (tramp-action-password): Hide password prompt before next run.
7859         (tramp-process-actions): Widen connection buffer for the trace.
7861 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7863         * net/rcirc.el (rcirc-log-process-buffers): New option.
7864         (rcirc-print): Use it.
7865         (rcirc-generate-log-filename): New function.
7866         (rcirc-log-filename-function): Change default to
7867         rcirc-generate-log-filename (Bug#6828).
7869 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7871         * simple.el (deactivate-mark): If select-active-regions is `only',
7872         only set selection for temporarily active regions.
7874         * cus-start.el: Change defcustom for select-active-regions.
7876 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7878         * mouse.el (mouse--drag-set-mark-and-point): New function.
7879         (mouse-drag-track): Use LOCATION arg to push-mark.
7880         Use mouse--drag-set-mark-and-point to take click-count into
7881         consideration when updating point and mark (Bug#6840).
7883 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7885         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7886         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7888 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7890         * font-lock.el (lisp-font-lock-keywords-2):
7891         Add combine-after-change-calls, condition-case-no-debug,
7892         with-demoted-errors, and with-silent-modifications (Bug#6025).
7894 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7896         * emacs-lisp/copyright.el (copyright-update-year)
7897         (copyright-update): Temporary switch-to-buffer to ensure the
7898         buffer change being queried is visible (Bug#5394).
7900 2010-08-14  Tom Tromey  <tromey@redhat.com>
7902         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7903         (Bug#6733).
7905 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7907         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7908         MS-DOS.  (Bug#6689)
7910 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7912         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7913         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7914         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7915         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7916         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7917         Call menu-bar-set-tool-bar-position.
7919 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7921         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7922         comment style (bug#6834).
7923         * progmodes/scheme.el (scheme-mode-syntax-table):
7924         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7925         "b" flag in "' 14b" syntax.
7927         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7928         for (un)commenting the region and performing completion.
7929         (octave-mode-menu): Use standard commands for help and completion.
7930         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7931         (octave-mode): Use define-derived-mode.
7932         Set completion-at-point-functions and don't set columns.
7933         Don't disable adaptive-fill-regexp.
7934         (octave-describe-major-mode, octave-comment-region)
7935         (octave-uncomment-region, octave-comment-indent)
7936         (octave-indent-for-comment): Remove.
7937         (octave-indent-calculate): Rename from calculate-octave-indent.
7938         (octave-indent-line, octave-fill-paragraph): Update caller.
7939         (octave-initialize-completions): No need to make an alist.
7940         (octave-completion-at-point-function): New function.
7941         (octave-complete-symbol): Use it.
7942         (octave-insert-defun): Use define-skeleton.
7944         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7945         (octave-mode-map): Use comment-dwim (bug#6829).
7947 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7949         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7950         indentation of inserted comment.
7952 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7954         * faces.el (region): Add type gtk that uses gtk colors.
7956         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7957         Handle theme-name change.
7959 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7961         * progmodes/sql.el: Version 2.5
7962         (sql-product-alist): Add :prompt-cont-regexp property for several
7963         database products.
7964         (sql-prompt-cont-regexp): New variable.
7965         (sql-output-newline-count, sql-output-by-send):
7966         New variables.  Record number of newlines in input text.
7967         (sql-send-string): Handle multiple filters and count newlines.
7968         (sql-send-magic-terminator): Count terminator newline.
7969         (sql-interactive-remove-continuation-prompt): Filters output to
7970         remove continuation prompts; one for each newline.
7971         (sql-interactive-mode): Set up new variables, prompt regexp and
7972         output filter.
7973         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7974         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7976 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7978         * emacs-lisp/pcase.el: New file.
7980 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7982         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7983         as here-document, otherwise the command could exceed maximum
7984         length of command line.
7985         (tramp-handle-vc-registered): Call script accordingly.
7986         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7988 2010-08-10  Kenichi Handa  <handa@m17n.org>
7990         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7991         composable pattern.
7993 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7995         * emacs-lisp/package.el (package-version-split)
7996         (package--version-first-nonzero, package-version-compare):
7997         Functions removed.
7998         (package-directory-list, package-load-all-descriptors)
7999         (package--built-in, package-activate, define-package)
8000         (package-installed-p, package-compute-transaction)
8001         (package-read-all-archive-contents)
8002         (package--add-to-archive-contents, package-buffer-info)
8003         (package-tar-file-info, package-list-packages-internal):
8004         Use version-to-list and version-list-*.
8006         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8007         Use version-to-list.
8008         (package-upload-buffer-internal): Use version-list-<=.
8010 2010-08-09  Kenichi Handa  <handa@m17n.org>
8012         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8013         composable pattern.
8015 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
8017         * tutorial.el (tutorial--default-keys): C-d is now bound to
8018         delete-forward-char (Bug#6826).
8020         * mouse.el (mouse-drag-track): Remove accidentally-removed check
8021         for `double' value of mouse-1-click-follows-link (Bug#6807).
8023 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
8025         * replace.el (replace-highlight): Bind isearch-forward and
8026         isearch-error, ensuring that highlighting is updated if the user
8027         switches the search direction (Bug#6808).
8029         * isearch.el (isearch-lazy-highlight-forward): New var.
8030         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8031         (isearch-lazy-highlight-update): Use it.
8033 2010-08-08  Kenichi Handa  <handa@m17n.org>
8035         * international/mule.el (define-charset): Store NAME as :base property.
8036         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8037         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8038         current priority.  Force using the designation of the specific
8039         charset by adding `charset' text property.  Improve the whole algorithm.
8041 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8043         * emulation/pc-select.el (pc-selection-mode-hook)
8044         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8045         (pc-selection-mode): Fix typos in docstrings.
8047 2010-08-08  Kenichi Handa  <handa@m17n.org>
8049         * language/cyrillic.el: Don't add "microsoft-cp1251" to
8050         ctext-non-standard-encodings-alist here.
8052         * international/mule.el (ctext-non-standard-encodings-alist):
8053         Add "koi8-r" and "microsoft-cp1251".
8054         (ctext-standard-encodings): New variable.
8055         (ctext-non-standard-encodings-table): List only elements for
8056         non-standard encodings.
8057         (ctext-pre-write-conversion): Adjust for the above change.
8058         Check ctext-standard-encodings.
8060         * international/mule-conf.el (compound-text): Doc fix.
8061         (ctext-no-compositions): Doc fix.
8062         (compound-text-with-extensions): Doc fix.
8064 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8066         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8068 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8070         * progmodes/which-func.el (which-func-format): Split help-echo text
8071         into lines, like other mode-line tooltips.
8073         * server.el (server-start): When using TCP sockets, force IPv4
8074         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
8076 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8078         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8080 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8082         * term.el (term-delimiter-argument-list): Reflow docstring.
8083         (term-read-input-ring, term-write-input-ring, term-send-input)
8084         (term-bol, term-erase-in-display, serial-supported-or-barf):
8085         Fix typos in docstrings.
8087 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8089         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8091 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8093         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8095 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
8097         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8098         Fix typo in docstring (bug#6747).
8100 2010-08-08  Leo  <sdl.web@gmail.com>
8102         * eshell/esh-io.el (eshell-get-target): Better detection of
8103         read-only file (Bug#6762).
8105 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
8107         * align.el (align-default-spacing): Doc fix.
8108         (align-region-heuristic, align-regexp): Fix typos in docstrings.
8110 2010-08-08  Stephen Peters  <speters@itasoftware.com>
8112         * calendar/icalendar.el
8113         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
8114         (icalendar--get-weekday-numbers): New.
8115         (icalendar--convert-recurring-to-diary): Handle multiple byday
8116         values in weekly rules.  (Bug#6766)
8118 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
8120         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8121         (icalendar--create-uid, icalendar-export-region)
8122         (icalendar--parse-summary-and-rest): Code formatting.
8124 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
8126         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
8127         to italicize headers.
8128         (calc-highlight-selections-with-faces): New variable.
8129         (calc-selected-face, calc-nonselected-face): New faces.
8131         * calc/calccomp.el (math-comp-highlight-string): Use
8132         `calc-highlight-selections-with-faces' to determine how to highlight
8133         sub-formulas.
8135         * calc/calc-sel.el (calc-show-selections): Change message to when
8136         using faces to highlight selections.
8138 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
8140         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8141         Add SQLite 3 keywords, functions and datatypes.
8142         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8143         (Bug#6686).
8145 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8147         * simple.el (select-active-regions): Move to keyboard.c.
8148         (deactivate-mark): Used saved-region-selection.
8149         (select-active-region): Function removed.
8150         (activate-mark, set-mark, push-mark-command)
8151         (handle-shift-selection): Don't call it.
8152         (keyboard-quit): Avoid adding the region to the window selection.
8154         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8155         select-active-regions implementation.
8156         (mouse-yank-at-click): Doc fix.
8158         * cus-start.el: Add custom declaration for select-active-regions.
8160 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8162         * simple.el (delete-forward-char): Doc fix.
8164         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8165         after reading the tutorial.
8167 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8169         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8170         Fix for the case that a C style comment has its delimiters alone on
8171         their respective lines.
8173 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8175         * net/tramp.el (tramp-handle-start-file-process): Set connection
8176         property "vec".
8177         (tramp-process-sentinel): Use it for flushing the cache.
8178         We cannot do it via the process buffer, the buffer could be deleted
8179         already when running the sentinel.
8181 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8183         * comint.el (comint-mode): Make directory tracking functions
8184         functional on remote files.  (Bug#6764)
8186 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8188         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8190 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8192         * emacs-lisp/find-gc.el (find-gc-source-files):
8193         Rename unexec.c => unexcoff.c.
8195         * emacs-lisp/authors.el (authors-fixed-entries):
8196         Rename unexec.c => unexcoff.c.
8198 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8200         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8201         cache, not only file cache.
8202         (tramp-process-sentinel): New defun.
8203         (tramp-handle-start-file-process): Use it, in order to invalidate
8204         file caches.
8206 2010-08-03  Leo  <sdl.web@gmail.com>
8208         * server.el (server-start): Simplify loop.
8210 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8212         * frame.el (screen-height, screen-width, set-screen-width)
8213         (set-screen-height): Remove ancient compatibility aliases.
8215         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8216         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8218         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8219         that change current buffer.
8221 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8223         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8224         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8226 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8228         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8230 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8232         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8233         (package--builtins): Tweak descriptions.
8234         (package-print-package): Upcase descriptions if necessary.
8235         Show all built-in packages in font-lock-builtin-face.
8236         (package-list-packages-internal): Omit "emacs" package.
8237         Show status of built-in packages as "built-in".
8239 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8241         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8242         before killing to preserve the primary selection (Bug#6701).
8244         * term/x-win.el (x-select-text): Doc fix.
8246 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8248         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8249         (objc-font-lock-extra-types):
8250         * progmodes/cc-mode.el (c-basic-common-init):
8251         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8252         (c++-make-template-syntax-table)
8253         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8254         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8255         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8256         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8257         * progmodes/cc-fonts.el (c-make-inverse-face)
8258         (c-basic-matchers-after):
8259         * progmodes/cc-engine.el (c-forward-keyword-clause)
8260         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8261         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8262         (c-guess-continued-construct, c-guess-basic-syntax):
8263         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8264         The above functions were modified or created.
8266 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8268         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8270 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8272         * files.el (bidi-paragraph-direction): Define safe local values.
8274         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8275         language-info-alist.  Remove outdated FIXME in a comment.
8277 2010-07-31  Alan Mackenzie  <acm@muc.de>
8279         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8280         Auto-fill broken in C/C++ modes.
8282 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8284         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8285         (menu-bar-showhide-tool-bar-menu-customize-disable)
8286         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8287         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8288         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8289         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8290         make a menu for Options => toolbar that can move it.
8292 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8294         * emacs-lisp/package-x.el (package--make-rss-entry):
8295         (package-maint-add-news-item, package--update-news)
8296         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8298         * emacs-lisp/package.el (package-archive-url): Rename from
8299         package-archive-id.
8300         (package-install): Doc fix.
8301         (package-download-single, package-download-tar, package-install)
8302         (package-menu-view-commentary): Callers changed.
8304 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8306         * net/tramp.el (tramp-handle-start-file-process): Check only for
8307         `remote-tty' process property.
8308         (tramp-open-shell): Don't check for tty.
8309         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8310         process property.
8312         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8313         host.
8315 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8317         * emacs-lisp/package.el (package-load-list, package-archives)
8318         (package-archive-contents, package-user-dir)
8319         (package-directory-list, package--builtins, package-alist)
8320         (package-activated-list, package-obsolete-alist): Mark as risky.
8322 2010-07-28  Phil Hagelberg  <phil@evri.com>
8324         Add support for non-default package repositories.
8325         * emacs-lisp/package.el (package-archive-base): Var deleted.
8326         (package-archives): New variable.
8327         (package-archive-contents): Doc fix.
8328         (package-load-descriptor): Do nothing if descriptor file is missing.
8329         (package--write-file-no-coding): New function.
8330         (package-unpack-single): Use it.
8331         (package-archive-id): New function.
8332         (package-download-single, package-download-tar)
8333         (package-menu-view-commentary): Use it.
8334         (package-installed-p): Make second argument optional.
8335         (package-read-all-archive-contents): New function.
8336         (package-initialize): Use it.
8337         (package-read-archive-contents): Add ARCHIVE argument.
8338         (package--add-to-archive-contents): New function.
8339         (package-install): Don't call package-read-archive-contents.
8340         (package--download-one-archive): Store archive file in a
8341         subdirectory of package-user-dir.
8342         (package-menu-execute): Remove spurious line movement.
8344 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8346         * cus-start.el (tool-bar-style): Add text-image-horiz.
8348 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8350         * progmodes/gud.el (gud-common-init): Check for remoteness of
8351         `file', and not of `default-directory'.
8353 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8355         * net/tramp.el (tramp-methods): Move hostname to the end in all
8356         ssh `tramp-login-args'.
8357         (tramp-verbose): Describe verbose level 9.
8358         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8359         (tramp-open-connection-setup-interactive-shell): Trace stty
8360         settings if `tramp-verbose' >= 9.
8361         (tramp-handle-start-file-process): Implement tty setting.
8362         (Bug#4604, Bug#6360)
8364         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8365         `tramp-verbose' to 9.
8367 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8369         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8370         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8371         Remove references to package `lisp-re' (bug#4369).
8373 2010-07-27  Tom Tromey  <tromey@redhat.com>
8375         * progmodes/js.el (js-mode):
8376         * progmodes/make-mode.el (makefile-mode):
8377         * progmodes/simula.el (simula-mode):
8378         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8380 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8382         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8384         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8385         (display-time-world-buffer-name, display-time-world-mode-map):
8386         Fix typos in docstrings.
8388 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8390         * image-mode.el (image-display-size): New function.
8391         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8392         (image-mode-fit-frame): Use it (Bug#6639).
8394 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8396         * dired.el (dired-buffers-for-dir): Handle list values of
8397         dired-directory (Bug#6636).
8399 2010-07-26  Sam Steingold  <sds@gnu.org>
8401         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8402         Do not call `x-get-selection' the second time, reuse the value.
8404 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8406         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8407         which consist of control chars only.  Suggested by Richard Stallman.
8409 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8411         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8412         exists before passing an error to find-file-not-found-functions
8413         (bug#6723).
8415 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8417         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8418         Remove leading nil element, adjust values.
8419         (tetris-shapes, tetris-shape-scores):
8420         Change representation of shapes and remove some redundancy.
8421         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8422         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8423         Adjust for working with new representation of shapes.
8424         (tetris-shape-rotations): New function.
8425         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8426         (tetris-rotate-prev, tetris-rotate-next):
8427         Adjust for working with the new version of tetris-test-shape.
8429 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8431         * progmodes/ps-mode.el: Use comint (bug#5954).
8432         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8433         (ps-mode-other-newline): Simplify.
8434         (ps-run-mode): Derive from comint-mode instead of
8435         fundamental-mode, yielding input history etc.
8436         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8437         (ps-run-send-string): Adapt for comint-mode.
8438         (ps-run-newline): Remove now unneeded function.
8440 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8442         * net/tramp.el (tramp-methods): Move hostname to the end in all
8443         plink `tramp-login-args'.
8445 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8447         * net/tramp.el (tramp-open-shell): New defun.
8448         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8449         Use it.
8451 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8453         * net/tramp.el (tramp-file-name-regexp-unified)
8454         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8455         not regard the volume letter as remote filename.  (Bug#5447)
8457 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8459         * custom.el (custom-declare-variable): Give a clearer error message
8460         when the docstring is missing (bug#6476).
8462 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8464         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8465         (sql-login-params): New widget definition.
8466         (sql-oracle-login-params, sql-mysql-login-params)
8467         (sql-solid-login-params, sql-sybase-login-params)
8468         (sql-informix-login-params, sql-ingres-login-params)
8469         (sql-ms-login-params, sql-postgres-login-params)
8470         (sql-interbase-login-params, sql-db2-login-params)
8471         (sql-linter-login-params): Use it.
8472         (sql-sqlite-login-params): Use it; Define "database" parameter as
8473         a file name.
8474         (sql-sqlite-program): Change to "sqlite3".
8475         (sql-comint-sqlite): Make sure database name is complete.
8476         (sql-for-each-login): New function.
8477         (sql-connect, sql-save-connection): Use it.
8478         (sql-get-login-ext): New function.
8479         (sql-get-login): Use it.
8480         (sql-make-alternate-buffer-name): Handle :file parameters.
8482 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8484         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8485         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8487 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8489         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8491 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8493         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8495 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8497         * net/tramp.el (tramp-get-ls-command)
8498         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8499         instead of "/".
8501 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8503         * progmodes/sql.el: Version 2.3.
8504         (sql-connection-alist): Change keys from symbols to strings;
8505         enhanced the widget definition.
8506         (sql-mode-menu): Add submenu to select connections.
8507         (sql-interactive-mode-menu): Add "Save Connection" item.
8508         (sql-add-product): Fix menu item.
8509         (sql-get-product-feature): Improved error handling.
8510         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8511         (sql-make-alternate-buffer-name): Simplified.
8512         (sql-product-interactive): Handle missing product.
8513         (sql-connect): Support string keys, minor improvements.
8514         (sql-save-connection): New function.
8515         (sql-connection-menu-filter): New function.
8517 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8519         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8520         (tramp-open-connection-setup-interactive-shell):
8521         Apply workaround for IRIX64 bug.  Move argument of last
8522         `tramp-send-command' where it belongs to.
8524 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8526         * net/tramp.el (tramp-perl-file-attributes)
8527         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8528         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8529         front of `login-args'.
8531 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8533         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8534         Set `show-trailing-whitespace' to nil.
8535         (display-time-world-display): Simplify.
8537 2010-07-18  Alan Mackenzie  <acm@muc.de>
8539         Enhance `c-file-style' in file/directory local variables.
8540         * progmodes/cc-mode.el (c-count-cfss): New function.
8541         (c-before-hack-hook): Call `c-set-style' differently according to
8542         whether c-file-style was set in file or directory local
8543         variables.
8545 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8547         * progmodes/sql.el: Version 2.2.
8548         (sql-product, sql-user, sql-database, sql-server, sql-port):
8549         Use defcustom :safe keyword rather than putting safe-local-variable
8550         property.
8551         (sql-password): Use defcustom :risky keyword rather than putting
8552         risky-local-variable property.
8553         (sql-oracle-login-params, sql-sqlite-login-params)
8554         (sql-solid-login-params, sql-sybase-login-params)
8555         (sql-informix-login-params, sql-ingres-login-params)
8556         (sql-ms-login-params, sql-postgres-login-params)
8557         (sql-interbase-login-params, sql-db2-login-params)
8558         (sql-linter-login-params): Add `port' option.
8559         (sql-get-product-feature): Add NO-INDIRECT parameter.
8560         (sql-comint-oracle, sql-comint-sybase)
8561         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8562         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8563         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8564         (sql-comint-linter): Rename sql-connect-* functions to
8565         sql-comint-*.
8566         (sql-product-alist, sql-mode-menu): Rename as above and
8567         :sqli-connect-func to :sqli-comint-func.
8568         (sql-connection): New variable.
8569         (sql-interactive-mode): Set it.
8570         (sql-connection-alist): New variable.
8571         (sql-connect): New function.
8572         (sql--alt-buffer-part, sql--alt-if-not-empty)
8573         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8575 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8577         * image-mode.el (image-bookmark-make-record): Do not set context
8578         in an image (Bug#6650).
8580 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8582         * simple.el (select-active-region): New function.
8583         (push-mark-command, set-mark, activate-mark)
8584         (handle-shift-selection): Use it.
8585         (deactivate-mark): Don't check for size of region.
8587         * mouse.el (mouse-drag-track): Use select-active-region.
8589 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8591         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8592         "--dired" stronger.
8594 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8596         * term/x-win.el (x-select-enable-primary): Change default to nil.
8597         (x-select-enable-clipboard): Add :version keyword.
8599         * mouse.el (mouse-drag-copy-region):
8600         * simple.el (select-active-regions): Likewise.
8602 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8604         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8605         (vc-coding-system-for-diff): Use it to decide whether to inherit
8606         from the file the EOL format for reading the diffs of that file.
8607         (Bug#4451)
8609 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8611         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8612         unibyte, so compressed attachments are not compressed again.
8614 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8616         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8617         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8618         (tramp-find-shell): Simplify setting connection property.
8619         (tramp-get-ls-command): Make test for "--color=never" stronger.
8621 2010-07-15  Simon South  <ssouth@member.fsf.org>
8623         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8624         blocks within record declarations (i.e. variant parts) correctly.
8626 2010-07-15  Simon South  <ssouth@member.fsf.org>
8628         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8629         over literal tokens when parsing so newlines aren't "absorbed" by
8630         single-line comments.  Corrects the indentation of case blocks
8631         that have a comment on the first line.
8633 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8635         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8636         by Drew Adams (Bug#5504).
8638 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8640         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8641         now that Unicode is used (Bug#6594).
8643 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8645         * term/x-win.el (x-select-enable-clipboard): Default to t.
8646         (x-initialize-window-system): Don't overwrite Paste menu item.
8648         * simple.el (select-active-regions): Default to t.
8649         (push-mark-command): Don't overwrite primary with empty string.
8651         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8652         (mouse-drag-copy-region): Default to nil.
8654         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8655         Cut/Copy/Paste menu bar items.
8657 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8659         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8660         Patch applied by Karl Fogel.
8662         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8663         and `bookmark-current-buffer' if they have been already set in
8664         another buffer (e.g gnus-art).
8666 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8667             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8669         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8671         * bookmark.el (bookmark-make-record-default): Allow unneeded
8672         information to be omitted from the record.
8674         Adjust declarations and calls:
8676         * info.el (bookmark-make-record-default): Adjust declaration.
8677         (Info-bookmark-make-record): Adjust call.
8679         * woman.el (bookmark-make-record-default): Adjust declaration.
8680         (woman-bookmark-make-record): Adjust call.
8682         * man.el (bookmark-make-record-default): Adjust declaration.
8683         (Man-bookmark-make-record): Adjust call.
8685         * image-mode.el (bookmark-make-record-default): Adjust declaration.
8687         * doc-view.el (bookmark-make-record-default): Adjust declaration.
8689 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8691         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8692         This is also from Thierry Volpiatto's patch in bug #6444.  However,
8693         because it was extraneous to the functional change in that patch,
8694         and causes a re-indendation, I am committing it separately.
8696 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8698         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8699         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8700         Patch applied by Karl Fogel (Bug#6444).
8702 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
8704         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8706 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
8708         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8709         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
8710         (ns-alternatives-map): Change S-tab binding to backtab
8711         (bug#6616).
8713         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8714         under ns.
8716 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8718         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8719         (Bug#5806)
8721         * language/tv-util.el (tai-viet-re): Remove format.
8723 2010-07-12  Kenichi Handa  <handa@m17n.org>
8725         * language/hebrew.el: Remove no-byte-compile declaration.
8726         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
8727         composition-function-table for 3-character looking back.
8728         (hebrew-font-get-precomposed): New function.
8729         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8731 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
8733         * mouse.el (mouse-drag-track): Handle select-active-regions
8734         (Bug#6612).
8736 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
8738         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8739         empty argument to gvfs-copy.
8741 2010-07-10  Glenn Morris  <rgm@gnu.org>
8743         * calendar/calendar.el (calendar-week-end-day): New function.
8744         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8745         Respect calendar-week-start-day.  (Bug#6606)
8746         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8747         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8748         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8749         respect calendar-week-start-day.
8751 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
8753         * simple.el (use-region-p): Doc fix (Bug#6607).
8755 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
8757         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8758         Add regexps for cucumber and ruby.
8760 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
8762         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8763         (epa-file-insert-file-contents): Hack to prevent
8764         find-file from opening empty buffer when decryption failed
8765         (bug#6568).
8767 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
8769         * textmodes/ispell.el (ispell-alternate-dictionary):
8770         Use file-readable-p.
8771         Return nil if no word-list is found at default locations.
8772         (ispell-complete-word-dict): Default to nil.
8773         (ispell-command-loop): Use 'word-list' when using lookup-words.
8774         (lookup-words): Use ispell-complete-word-dict or
8775         ispell-alternate-dictionary.  Check for word-list availability
8776         and handle errors if needed with better messages (Bug#6539).
8777         (ispell-complete-word): Use ispell-complete-word-dict or
8778         ispell-alternate-dictionary.
8780 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
8782         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8783         builtins (BufferError, BytesWarning, WindowsError; callables
8784         bin, bytearray, bytes, format, memoryview, next, print; __package__).
8786 2010-07-07  Glenn Morris  <rgm@gnu.org>
8788         * play/zone.el (top-level): Do not require timer, tabify, or cl.
8789         (zone-shift-left): Ignore intangibility, and any errors from
8790         forward-char.
8791         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
8792         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8793         deleting, and copying text properties.
8794         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8795         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8796         to point-max is hard.
8797         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8798         (zone-fill-out-screen): Ignore intangibility.
8800 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8802         * menu-bar.el (menu-bar-mode):
8803         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8804         if it has been set.
8806         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8807         word/line selection (Bug#6565).
8809 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8811         * net/dbus.el (dbus-send-signal): Declare function.
8813 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8815         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8816         (dbus-register-property): New optional argument EMITS-SIGNAL.
8817         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8819 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8821         * mouse.el (mouse-drag-overlay): Variable deleted.
8822         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8823         (mouse--remap-link-click-p): New function.
8824         (mouse-drag-track): Handle dragging by using temporary Transient
8825         Mark mode, instead of a special overlay.
8826         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8827         mouse-show-mark.
8829         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8830         deleted.
8832 2010-07-02  Juri Linkov  <juri@jurta.org>
8834         * autoinsert.el (auto-insert-alist): Fix readability
8835         by using dotted pair notation for lambda.
8837 2010-07-02  Juri Linkov  <juri@jurta.org>
8839         * faces.el (read-face-name): Rename arg `string-describing-default'
8840         to `default'.  Doc fix.  Display the default value in quotes
8841         in the prompt.  With empty input, return the `default' arg,
8842         unless the default value is a string (in which case return nil).
8843         (describe-face): Replace the string `default' arg of `read-face-name'
8844         with the symbol `default'.
8846 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8848         * emulation/viper-cmd.el (viper-delete-backward-char)
8849         (viper-del-backward-char-in-insert)
8850         (viper-del-backward-char-in-replace, viper-change)
8851         (viper-backward-indent): Replace delete-backward-char with
8852         delete-char (Bug#6552).
8854 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8856         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8858 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8860         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8861         argument passed to frame-creation-function (Bug#5378).
8863         * faces.el (x-handle-named-frame-geometry)
8864         (x-handle-reverse-video, x-create-frame-with-faces)
8865         (face-set-after-frame-default, tty-create-frame-with-faces):
8866         Don't separately consult default-frame-alist.  It is now passed as the
8867         PARAMETER argument.
8869 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8871         * startup.el (command-line): Don't call tool-bar-setup in a
8872         tty-only build.
8874 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8876         * ruler-mode.el (ruler--save-header-line-format): New fun.
8877         (ruler-mode): Use it as a setter function, so as not to overwrite
8878         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8880 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8882         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8883         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8884         (vc-log-outgoing): Use it.
8885         (vc-diff-internal): Set diff-vc-backend.
8887         * vc/diff-mode.el (diff-vc-backend): New var.
8889 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8891         * dynamic-setting.el (font-setting-change-default-font):
8892         Remove call to message.
8894 2010-06-28  Kenichi Handa  <handa@m17n.org>
8896         * international/quail.el (quail-insert-kbd-layout): Fix the
8897         showing of untranslated characters.
8899 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8901         * simple.el (delete-active-region): New option.
8902         (delete-backward-char): Implement in Lisp.
8903         (delete-forward-char): New command.
8905         * mouse.el (mouse-region-delete-keys): Deleted.
8906         (mouse-show-mark): Simplify.
8908         * bindings.el (global-map): Bind delete and DEL, the former to
8909         delete-forward-char.
8911 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8913         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8914         (ruby-mode): Bind indent-line-function (Bug#5119).
8916 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8918         * startup.el (command-line): Recognize "0" X resource value.
8920 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8922         * startup.el (command-line): Use X resources to set the value of
8923         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8925         * menu-bar.el (menu-bar-mode):
8926         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8927         Set init-value to t.
8929         * frame.el (frame-notice-user-settings): Don't change
8930         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8931         vice versa (Bug#2249).
8933 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8935         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8937 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8939         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8940         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8942         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8943         default directories are expanded (Bug#6143).
8945 2010-06-24  Juri Linkov  <juri@jurta.org>
8947         * minibuffer.el (completions-format): Change default from nil to
8948         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8950 2010-06-24  Juri Linkov  <juri@jurta.org>
8952         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8953         buffer-locally to lambda that re-runs the vc diff command.
8954         (Bug#6447)
8956 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8958         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8959         echo area is in use (Bug#3412).
8961 2010-06-22  Glenn Morris  <rgm@gnu.org>
8963         * textmodes/texinfmt.el (texinfo-format-region)
8964         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8965         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8966         (texinfo-format-option, texinfo-noindent):
8967         Use line-beginning-position and line-end-position.
8969         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8970         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8971         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8972         utf-8 characters.
8974 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8976         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8977         forward-line fallout.
8979 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8981         * mouse.el (mouse-appearance-menu): Add docstring.
8983         * help.el (describe-key): Print up-event using key-description.
8985 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8987         * net/zeroconf.el (zeroconf-resolve-service)
8988         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8989         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8991 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8993         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8995 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8997         Avoid displaying files with a nil state in vc-dir.
8998         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8999         cases that cause insertion.
9000         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9001         with a nil state.
9003 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
9005         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9007 2010-06-29  Leo  <sdl.web@gmail.com>
9009         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
9011 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
9013         * generic-x.el (bat-generic-mode): Fix regexp for command line
9014         switches (Bug#5719).
9016 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
9018         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9019         of nconc to avoid pure storage error (Bug#6239).
9021 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
9023         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9024         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9025         bindings of bookmark-automatically-show-annotations (Bug#6515).
9027 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
9029         * arc-mode.el (archive-zip-extract): Don't quote the file name on
9030         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
9032 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9034         * comint.el (make-comint, make-comint-in-buffer): Mention return
9035         value in the docstrings.  (Bug#6498)
9037 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
9039         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9040         since it is not present when using some non-default switches.
9042 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
9044         * simple.el (compose-mail): Fix doc string to refer to
9045         `compose-mail-user-agent-warnings', instead of to the
9046         nonexistent `compose-mail-check-user-agent'.
9048 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
9050         Fix an indentation bug:
9052         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9053         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9054         of existing values.
9056         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9057         (c-clear->-pair-props-if-match-before): now return t when they've
9058         cleared properties, nil otherwise.
9059         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9060         by taking account of the existing value.
9062         * progmodes/cc-defs.el
9063         (c-clear-char-property-with-value-function): Fix this to clear the
9064         property rather than overwriting it with nil.
9066 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
9068         * emacs-lisp/package.el (package-print-package): Add link to
9069         package description via describe-package.
9070         (describe-package-1): List package requirements.  Add button to
9071         perform installation.
9072         (package-menu-describe-package): New command.
9074         * help-mode.el (help-package): New button type.
9076 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
9078         * emacs-lisp/package.el: Move package-list-packages binding to
9079         menu-bar.el.
9080         (describe-package, describe-package-1, package--dir): New funs.
9081         (package-activate-1): Use package--dir.
9083         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9085         * help-mode.el (help-package-def): New button type.
9087         * menu-bar.el: Move package-list-packages binding here from
9088         package.el.
9090 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
9092         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
9094 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9096         * emacs-lisp/edebug.el (edebug-read-list):
9097         Phase out old-style backquotes.
9099 2010-06-17  Juri Linkov  <juri@jurta.org>
9101         * help-mode.el (help-mode): Set buffer-local variable
9102         revert-buffer-function to help-mode-revert-buffer.
9103         (help-mode-revert-buffer): New function.
9105         * info.el (Info-revert-find-node): Check for major-mode Info-mode
9106         before popping to "*info*" (like in other Info functions).
9107         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
9108         old-history-forward.  Pop to old-buffer-name or "*info*" to
9109         recreate the killed buffer.  Set Info-history-forward from
9110         old-history-forward.
9111         (Info-breadcrumbs-depth): Add :group and :version.
9113 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
9115         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9117 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
9119         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9120         for languages like Portuguese with pt_{BR,PT} and no plain pt.
9122 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
9124         * emacs-lisp/package.el (package-menu-mode-map):
9125         Move initialization into declaration.
9127         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9129 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
9131         * emacs-lisp/package.el (package-archive-base): Point to
9132         elpa.gnu.org.
9133         (package-enable, package-load-list): New defcustoms.
9134         (package-user-dir, package-directory-list): Turn into defcustoms.
9135         Don't include package-user-dir in package-directory-list.
9136         (package--builtins-base): Don't include Emacs as a "package".
9137         (package-subdirectory-regexp): New var.
9138         (package-load-all-descriptors, package-compute-transaction)
9139         (package-download-transaction): Obey package-load-list.
9140         (package-activate-1): Rename from package-do-activate.
9141         (package-list-packages-internal): Check package-load-list.
9142         (package-load-descriptor, package-generate-autoloads)
9143         (package-unpack, package-unpack-single)
9144         (package--read-archive-file, package-delete):
9145         Use expand-file-name.
9147         * emacs-lisp/package-x.el: New file.  Package uploading
9148         functionality split out from package.el.
9150         * startup.el (command-line): Load packages after reading init file.
9152 2010-06-17  Tom Tromey  <tromey@redhat.com>
9154         * emacs-lisp/package.el: New file.
9156 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9158         Fix vc-annotate for renamed files when using Git.
9159         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9160         ls-files.  Doe not pass the object as a file name to cat-file, it
9161         is not a file name.
9162         (vc-git-annotate-command): Pass the file name using -- to avoid
9163         ambiguity with the revision.
9164         (vc-git-previous-revision): Pass a relative file name.
9166 2010-06-22  Glenn Morris  <rgm@gnu.org>
9168         * progmodes/js.el (js-mode-map): Use standard capitalization and
9169         ellipses for menu entries.
9171         * wid-edit.el (widget-complete): Doc fix.
9173 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9175         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9177 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9179         Fix annotating other revisions for renamed files in vc-annotate.
9180         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9181         VC backend.  Use it when non-nil.
9182         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9183         (Bug#6487).
9185         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9186         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9187         Do not pass the file name to the 'previous-revision call when we
9188         don't want a file diff.  (Bug#6489)
9190 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9192         Fix finding revisions for renamed files in vc-annotate.
9193         * vc/vc.el (vc-find-revision): Add an optional argument for
9194         the VC backend.  Use it when non-nil.
9195         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9196         backend to vc-find-revision.  (Bug#6487)
9198 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9200         Fix reading file names in Git annotate buffers.
9201         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9202         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9204 2010-06-20  Alan Mackenzie  <acm@muc.de>
9206         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9207         in file local variables, set it first.
9209 2010-06-19  Glenn Morris  <rgm@gnu.org>
9211         * descr-text.el (describe-char-unicode-data): Insert separating
9212         space when needed.  (Bug#6422)
9214         * progmodes/idlwave.el (idlwave-action-and-binding):
9215         Fix typo in 2009-12-03 change.  (Bug#6450)
9217 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9219         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9220         handling for `lambda' (misunderstanding).
9222 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9224         * calc/calc-poly.el (math-accum-factors): Make sure that
9225         constants aren't distributed after they are factored out.
9227 2010-06-16  Juri Linkov  <juri@jurta.org>
9229         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9230         `list-colors-print'.  (Bug#6332)
9232         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9234 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9236         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9237         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9239         * font-lock.el (font-lock-major-mode): Rename from
9240         font-lock-mode-major-mode to distinguish it from
9241         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9242         (font-lock-set-defaults):
9243         * font-core.el (font-lock-default-function): Adjust users.
9244         (font-lock-mode): Don't set it at all.
9246 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9248         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9250 2010-06-16  Glenn Morris  <rgm@gnu.org>
9252         * calendar/appt.el (appt-time-msg-list): Doc fix.
9253         (appt-check): Let-bind appt-warn-time.
9254         (appt-add): Make the 3rd argument optional.
9255         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9256         Only add WARNTIME to the output list if non-nil.
9258 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9260         * calendar/appt.el (appt-check): Let the 3rd element of
9261         appt-time-msg-list specify the warning time.
9262         (appt-add): Add new argument with the warning time.  (Bug#5176)
9264 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9266         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9267         older than version 1.6.  (Bug#6361)
9269 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9271         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9272         used by cl-do-arglist.  (Bug#6408)
9274 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9276         * textmodes/ispell.el (ispell-dictionary-base-alist):
9277         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9278         Suggested by Rolando Pereira (bug#6434).
9280 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9282         * facemenu.el (list-colors-sort): Doc fix.
9284 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9286         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9288 2010-06-14  Juri Linkov  <juri@jurta.org>
9290         Add sort option `list-colors-sort'.  (Bug#6332)
9291         * facemenu.el (color-rgb-to-hsv): New function.
9292         (list-colors-sort): New defcustom.
9293         (list-colors-sort-key): New function.
9294         (list-colors-display): Doc fix.  Sort list according to the option
9295         `list-colors-sort'.
9296         (list-colors-print): Add HSV values to `help-echo' property of
9297         RGB strings.
9299 2010-06-14  Juri Linkov  <juri@jurta.org>
9301         * compare-w.el: Move to the "vc" subdirectory.
9303 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9305         * image-mode.el (image-mode-map): Remap left-char and right-char.
9307         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9309 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9311         * term/common-win.el (x-colors): Add all the color names defined
9312         in rgb.txt (Bug#6332).
9314         * facemenu.el (list-colors-print): Don't print extra names if it
9315         will overflow the window width.
9317         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9318         change (Bug#6343).
9320 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9322         * files.el (make-directory): Doc fix (bug#6396).
9324 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9326         * net/tramp.el (tramp-remote-process-environment): Protect version
9327         string by apostroph.
9328         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9329         XEmacs.
9330         (tramp-file-name-for-operation): Add `call-process-region'.
9331         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9333         * net/tramp-compat.el (top): Do not autoload
9334         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9335         only when `start-file-process' is not bound.
9336         (tramp-advice-file-expand-wildcards): Do not use
9337         `tramp-handle-file-remote-p'.
9338         (tramp-compat-make-temp-file): Handle the case, that
9339         `make-temp-file' has no third argument EXTENSION.
9341 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9343         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9345         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9347 2010-06-11  Juri Linkov  <juri@jurta.org>
9349         * finder.el (finder-known-keywords): Add keyword "vc"
9350         for version control.
9352         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9353         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9354         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9355         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9357 2010-06-11  Juri Linkov  <juri@jurta.org>
9359         Move version control related files to the "vc" subdirectory.
9360         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9361         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9362         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9363         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9364         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9365         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9366         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9367         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9368         Move files to the "vc" subdirectory.
9370 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9372         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9373         (Bug#6367).
9375 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9377         * shell.el: Bind `shell-resync-dirs' to M-RET.
9379 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9381         * notifications.el: Move file from lisp/net, because it is
9382         supposed to talk locally to the user.
9384 2010-06-10  Julien Danjou  <julien@danjou.info>
9386         * net/notifications.el (notifications-on-action-signal)
9387         (notifications-on-closed-signal): Pass notification id as first
9388         argument to the callback functions.  Add docstrings.
9389         (notifications-notify): Fix docstring.
9391 2010-06-10  Glenn Morris  <rgm@gnu.org>
9393         * emacs-lisp/authors.el (authors-ignored-files)
9394         (authors-valid-file-names): Add some files.
9396 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9398         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9399         merge conflict, giving preference to the emacs-23 version of the code.
9401 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9403         * emacs-lisp/advice.el (ad-compile-function):
9404         Define warning-suppress-types before we let-bind it (bug#6275).
9406         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9407         declare it, make it buffer-local and permanent-local (bug#6324).
9408         (vc-resynch-window): Adjust name.
9409         * vc-hooks.el (vc-find-file-hook): Adjust name.
9411 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9413         * net/notifications.el (notifications-notify): Fix docstring.
9415 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9417         Update to Unicode 6.0.0 beta.
9418         * international/charprop.el: Update copyright.
9419         * international/mule-cmds.el (ucs-names): Update character ranges.
9420         * international/uni-bidi.el:
9421         * international/uni-category.el:
9422         * international/uni-combining.el:
9423         * international/uni-comment.el:
9424         * international/uni-decimal.el:
9425         * international/uni-decomposition.el:
9426         * international/uni-digit.el:
9427         * international/uni-lowercase.el:
9428         * international/uni-mirrored.el:
9429         * international/uni-name.el:
9430         * international/uni-numeric.el:
9431         * international/uni-old-name.el:
9432         * international/uni-titlecase.el:
9433         * international/uni-uppercase.el: Regenerate.
9435 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9437         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9438         (smie-precs-precedence-table): Fix typo in docstring.
9440         * vc-mtn.el (log-edit-extract-headers): Declare function.
9442         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9444         * net/notifications.el (dbus-register-signal): Declare function.
9445         (notifications-notify): Fix typos and reflow docstring.
9447 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9449         Improve VC create/retrieve tag/branch.
9450         * vc.el (vc-create-tag): Do not read the directory name for VCs
9451         with repository revision granularity.  Adjust the tag/branch
9452         prompt.  Reset VC properties.
9453         (vc-retrieve-tag): Do not read the directory name for VCs
9454         with repository revision granularity.  Reset VC properties.
9456 2010-06-09  Julien Danjou  <julien@danjou.info>
9458         * net/notifications.el: New file.
9460 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9462         Add optional support for resetting VC properties.
9463         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9464         call vc-file-clearprops when true.
9465         (vc-resynch-buffer): Add new optional argument, pass it down.
9466         (vc-resynch-buffers-in-directory): Likewise.
9468         Improve support for special markup in the VC commit message.
9469         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9470         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9471         * vc-git.el (vc-git-checkin):
9472         * vc-bzr.el (vc-bzr-checkin): Likewise.
9474 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9476         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9477         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9479 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9481         * iimage.el: Remove images as soon as the underlying text is modified.
9482         (iimage-modification-hook): New function.
9483         (iimage-mode-buffer): Use it.
9485 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9487         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9488         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9489         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9490         (smie-indent-keyword): Add handling of open-paren keywords.
9491         (smie-indent-comment-continue): Don't assume comment-continue.
9493 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9495         * window.el (pop-to-buffer): Remove the conditional that
9496         compares new-window and old-window, so it will reselect
9497         the selected window unconditionally.
9498         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9500 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9502         * emacs-lisp/smie.el (smie-indent-offset-after)
9503         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9504         (smie-indent-after-keyword): Use them.
9505         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9506         (smie-indent-keyword): Tweak the black magic.
9507         (smie-indent-comment-continue): Strip comment-continue before use.
9508         (smie-indent-functions): Indent comments before keywords.
9510 2010-06-06  Juri Linkov  <juri@jurta.org>
9512         * isearch.el (isearch-lazy-highlight-search): Fix looping
9513         by checking for empty match.  This syncs this loop with the
9514         similar loop in `isearch-search'.  (Bug#6362)
9516 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9518         * net/dbus.el (dbus-register-method): Declare function.
9519         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9520         (dbus-introspect): Doc fix.
9521         (dbus-event-bus-name, dbus-introspect-get-interface)
9522         (dbus-introspect-get-argument): Reflow docstrings.
9524 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9526         vc-log-incoming/vc-log-outgoing fixes for Git.
9527         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9528         incoming/outgoing logs.
9529         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9530         instead of vc-git-compute-remote.
9531         (vc-git-compute-remote): Remove.
9533 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9535         * term/common-win.el (x-colors): Add "dark green" and "dark
9536         turquoise" (Bug#6332).
9538 2010-06-04  Juri Linkov  <juri@jurta.org>
9540         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9541         Instead of setting `replace' to t and replacing the same string
9542         with itself, don't do certain actions when
9543         kill-do-not-save-duplicates is non-nil and string is equal to car
9544         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9545         interprogram-paste strings to kill-ring, and don't push the input
9546         argument `string' to kill-ring.
9547         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9549 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9551         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9553 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9555         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9556         (tramp-gvfs-handler-mounted-unmounted)
9557         (tramp-gvfs-connection-mounted-p): Handle default-location.
9559         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9560         move files to trash.
9562 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9564         * international/mule-cmds.el (nonascii-insert-offset)
9565         (nonascii-translation-table): Add obsolescence information.
9567         * international/mule.el (make-translation-table-from-vector): Doc fix.
9569 2010-06-03  Glenn Morris  <rgm@gnu.org>
9571         * desktop.el (desktop-clear-preserve-buffers):
9572         Add "*Warnings*" buffer.  (Bug#6336)
9574 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9576         vc-log-incoming/vc-log-outgoing improvements for Git.
9577         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9578         short log.
9579         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9581         Add bindings for vc-log-incoming and vc-log-outgoing.
9582         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9583         and vc-log-outgoing.
9584         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9585         and vc-log-outgoing.
9587 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9589         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9590         (rcirc-handler-366): Always sort nicknames.
9592 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9594         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9596 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9598         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9600 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9602         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9603         (rcirc-sort-nicknames-join): Avoid setq.
9605 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9607         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9608         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9609         (rcirc-handler-366): Use them.
9611 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9613         Split smie-indent-calculate into more manageable chunks.
9614         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9615         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9616         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9617         (smie-indent-exps): Extract from smie-indent-calculate.
9618         (smie-indent-functions): New var.
9619         (smie-indent-functions): Use them.
9621 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9623         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9624         (smie-indent-calculate): Simplify and cleanup.
9626 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9628         * net/tramp-gvfs.el (top): Require url-util.
9629         (tramp-gvfs-mount-point): Remove.
9630         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9631         New defuns.
9632         (with-tramp-dbus-call-method): Format trace message.
9633         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9634         Implement backup call, when operation on local files fails.
9635         Use progress reporter.  Flush properties of changed files.
9636         (tramp-gvfs-handle-make-directory): Make more traces.
9637         (tramp-gvfs-url-file-name): Hexify file name in url.
9638         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9639         into account for the resulting file name.
9640         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9641         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9642         (tramp-gvfs-handler-mounted-unmounted)
9643         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9644         attribute "default_location".  Set "prefix" property.
9645         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9646         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9647         exists.  Raise an error, if not (due to a corresponding answer
9648         "no" in interactive questions, for example).
9650 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9652         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9654 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9656         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9657         right-*.  (Bug#6265)
9659 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9661         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9662         * vc-git.el (vc-git-compute-remote): New function.
9663         (vc-git-log-outgoing): Use it instead of hard coding a value.
9664         (vc-git-log-incoming): New function.
9666         Improve state updating for VC tag commands.
9667         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9668         to update the state of all buffers in the directory.
9670         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9672 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9674         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9675         `file-directory-p' to the filename part rather than to the whole text.
9677 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9679         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9681 2010-05-31  Drew Adams  <drew.adams@oracle.com>
9683         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9685 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
9687         * subr.el (momentary-string-display): Just use read-event to read
9688         the exit event (Bug#6238).
9690 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
9692         * international/mule.el (define-coding-system): Doc fix (bug#6313).
9694 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9696         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9697         Suggested by Eli Zaretskii <eliz@gnu.org>.
9699 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9701         * minibuffer.el (completion-file-name-table): Don't return a boundary
9702         past the end of `string' (bug#6299).
9703         (completion--file-name-table): Delegate to completion-file-name-table
9704         for the `boundaries' case.
9706 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9708         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9709         movement commands.
9711         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9712         `path-separator', but maintain compatibility with Emacs 20.2.
9714 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9716         * server.el (server-process-filter): Receive parent-id argument
9717         from emacsclient.
9718         (server-create-window-system-frame): New arg.  Pass parent-id as
9719         frame parameter.
9721 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
9723         Bidi-sensitive word movement with arrow keys.
9724         * subr.el (right-arrow-command, left-arrow-command): Move to
9725         bindings.el.
9727         * bindings.el (right-char, left-char): Move from subr.el and
9728         rename from right-arrow-command and left-arrow-command.
9729         (right-word, left-word): New functions.
9730         (global-map) <right>: Bind to right-char.
9731         (global-map) <left>: Bind to left-char.
9732         (global-map) <C-right>: Bind to right-word.
9733         (global-map) <C-left>: Bind to left-word.
9735         * ls-lisp.el (ls-lisp-classify-file): New function.
9736         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9737         (ls-lisp-classify): Call ls-lisp-classify-file.
9738         (insert-directory): Remove blanks from switches.
9740 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9742         * ansi-color.el: Delete unused escape sequences (Bug#6085).
9743         (ansi-color-drop-regexp): New constant.
9744         (ansi-color-apply, ansi-color-filter-region)
9745         (ansi-color-apply-on-region): Delete unrecognized control sequences.
9746         (ansi-color-apply): Build string list before calling concat.
9748 2010-05-28  Juri Linkov  <juri@jurta.org>
9750         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9751         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9752         (Bug#5270)
9754 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9756         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9757         to ignored backtrace functions.
9758         (with-progress-reporter): Expand docstring.
9759         (tramp-handle-delete-file): Implement TRASH argument.
9760         (tramp-get-remote-trash): New defun.
9762 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9764         * net/tramp-compat.el (tramp-compat-delete-file):
9765         Use `symbol-value' for backward compatibility.
9767         * net/tramp.el (tramp-handle-make-symbolic-link)
9768         (tramp-handle-load)
9769         (tramp-do-copy-or-rename-file-via-buffer)
9770         (tramp-do-copy-or-rename-file-directly)
9771         (tramp-do-copy-or-rename-file-out-of-band)
9772         (tramp-handle-process-file, tramp-handle-call-process-region)
9773         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9774         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9775         (tramp-delete-temp-file-function): Use `delete-file' instead
9776         of `tramp-compat-delete-file'.
9778         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9779         (tramp-fish-handle-make-symbolic-link)
9780         (tramp-fish-handle-process-file): Use `delete-file' instead
9781         of `tramp-compat-delete-file'.
9783         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9784         Use `delete-file' instead of `tramp-compat-delete-file'.
9786         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9787         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9788         `tramp-compat-delete-file'.
9790         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9791         Use `delete-file' instead of `tramp-compat-delete-file'.
9793         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9794         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9795         (tramp-smb-handle-write-region): Use `delete-file' instead of
9796         `tramp-compat-delete-file'.
9797         (tramp-smb-handle-delete-directory): Use 'trash as arg.
9799 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9801         * dired.el (dired-delete-file): New arg TRASH.
9802         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9803         (dired-do-flagged-delete, dired-do-delete): Use trash.
9805         * speedbar.el (speedbar-item-delete): Allow trashing.
9807         * files.el (delete-directory): New arg TRASH.
9809         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9810         (ange-ftp-rename-remote-to-remote)
9811         (ange-ftp-rename-local-to-remote)
9812         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9813         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9814         `delete-file'.
9815         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9816         allow trashing.
9818         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9819         handle new TRASH arg of `delete-file'.
9821         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9822         (tramp-handle-make-symbolic-link, tramp-handle-load)
9823         (tramp-do-copy-or-rename-file-via-buffer)
9824         (tramp-do-copy-or-rename-file-directly)
9825         (tramp-do-copy-or-rename-file-out-of-band)
9826         (tramp-handle-process-file, tramp-handle-call-process-region)
9827         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9828         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9829         (tramp-delete-temp-file-function): Use null TRASH arg in
9830         tramp-compat-delete-file call.
9832         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9833         (tramp-fish-handle-delete-file)
9834         (tramp-fish-handle-make-symbolic-link)
9835         (tramp-fish-handle-process-file): Use null TRASH arg in
9836         `tramp-compat-delete-file' call.
9838         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9839         arg in `tramp-compat-delete-file' call.
9841         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9842         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9843         `tramp-compat-delete-file' call.
9845         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9846         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9847         `tramp-compat-delete-file' call.
9849         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9850         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9851         (tramp-smb-handle-write-region): Use null TRASH arg in
9852         tramp-compat-delete-file call.
9853         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9854         (tramp-smb-handle-delete-file): Rename arg.
9856         * diff.el (diff-sentinel):
9857         * epg.el (epg--make-temp-file, epg-decrypt-string)
9858         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9859         * jka-compr.el (jka-compr-partial-uncompress)
9860         (jka-compr-call-process, jka-compr-write-region):
9861         * server.el (server-sentinel): Remove optional arg from
9862         delete-file, reverting 2010-05-03 change.
9864 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9866         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9867         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9869 2010-05-27  Kenichi Handa  <handa@m17n.org>
9871         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9872         element of GSTRING is nil.
9874 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9876         * emacs-lisp/smie.el (smie-forward-token-function)
9877         (smie-backward-token-function): New vars.
9878         (smie-backward-sexp, smie-forward-sexp)
9879         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9880         (smie-default-backward-token): Rename from smie-backward-token and
9881         skip comments.
9882         (smie-default-forward-token): Rename from smie-forward-token and
9883         skip comments.
9884         (smie-next-sexp): Handle nil results from next-token.
9885         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9887 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9889         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9890         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9892 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9894         * htmlfontify.el (hfy-face-resolve-face): New function.
9895         (hfy-face-to-style): Use it (Bug#6279).
9897 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9899         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9900         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9902 2010-05-26  Glenn Morris  <rgm@gnu.org>
9904         * emulation/edt.el (edt-load-keys): Use locate-library.
9906 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9908         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9909         (log-edit-changelog-entries): Doc fix.
9910         (log-edit-changelog-insert-entries): Args changed.
9911         Rename relative filenames in ChangeLog entries.  Delete tabs.
9912         (log-edit-insert-changelog-entries): Reorganize return value of
9913         `log-edit-changelog-entries' to pass filenames to
9914         log-edit-changelog-insert-entries.
9916 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9918         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9919         `image-dired-dired-insert-marked-thumbs' to
9920         `image-dired-dired-toggle-marked-thumbs'.
9922         * image-dired.el: Require cl when compiling.
9923         (image-dired-dired-toggle-marked-thumbs): Rename from
9924         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9925         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9926         to 'no-dir.  Skip files whose names don't match
9927         `image-file-name-regexp'.  When file has a thumbnail overlay,
9928         delete it.  (Bug#5270)
9930 2010-05-25  Juri Linkov  <juri@jurta.org>
9932         * image-mode.el (image-mode): Add image-after-revert-hook to
9933         after-revert-hook.
9934         (image-after-revert-hook): New function.  (Bug#5669)
9936 2010-05-25  Juri Linkov  <juri@jurta.org>
9938         * image.el (image-animated-p): When delay between animated images
9939         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9941 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9943         * net/tramp.el (tramp-handle-insert-directory): Don't use
9944         `forward-word', its default syntax could be changed.
9946 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9948         * net/tramp.el (tramp-progress-reporter-update): New defun.
9949         (with-progress-reporter): Use it.
9950         (tramp-process-actions):
9951         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9952         Preserve current message, in order to let progress reporter continue
9953         afterwards.  (Bug#6257)
9955 2010-05-25  Glenn Morris  <rgm@gnu.org>
9957         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9958         Add :version.
9960 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9962         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9963         (rcirc-default-full-name): Change to "unknown".
9964         (rcirc-user-name-history): Add variable.
9966 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9967             Jonathan Rockway  <jon@jrock.us>
9969         * net/rcirc.el (rcirc-server-alist): Add :pass.
9970         (rcirc): When prompting for connection parameters, also prompt for
9971         username and password.
9972         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9973         value to server when connecting.
9975 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9977         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9978         (smie-merge-prec2s): Pass the tables as separate args.
9979         (smie-bnf-precedence-table): Adjust call accordingly.
9980         (smie-prec2-levels): Set levels at the end.
9982         Replace Lisp calls to delete-backward-char by delete-char.
9983         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9984         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9985         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9986         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9987         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9988         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9989         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9990         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9991         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9992         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9993         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9994         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9995         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9996         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9997         delete-backward-char by calls to delete-char.
9999 2010-05-25  Kenichi Handa  <handa@m17n.org>
10001         * language/hebrew.el (hebrew-shape-gstring): New function.
10002         Register it in composition-function-table for all Hebrew combining
10003         characters.
10005 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10007         * epa.el (epa--select-keys): Don't explicitly delete the window since
10008         that can fail (e.g. sole window in frame).  Use dedication instead.
10010 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
10012         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10014 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
10016         * image.el (image-refresh): Define as an alias for image-flush.
10018         * image-mode.el (image-toggle-display-image): Caller changed.
10020 2010-05-21  Juri Linkov  <juri@jurta.org>
10022         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10023         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
10024         whitespace, call wildcard-to-regexp on substrings and concat them
10025         with "\\|".  (Bug#6114)
10027 2010-05-21  Alan Mackenzie  <acm@muc.de>
10029         * progmodes/cc-engine.el (c-parse-state-get-strategy):
10030         Replace parameter `here' with `here-' and `here-plus', which sandwich
10031         any pertinent CPP construct.
10032         (c-remove-stale-state-cache-backwards): Fix a bug which happens
10033         when doing (c-parse-state) in a CPP construct: Exclude any "new"
10034         CPP construct from taking part in the scanning.
10036 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
10038         * net/tramp.el (tramp-do-copy-or-rename-file)
10039         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10040         Tune `with-progress-reporter' messages.
10041         (tramp-handle-vc-registered):
10042         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10043         (tramp-fish-handle-insert-file-contents)
10044         (tramp-fish-maybe-open-connection):
10045         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10046         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10047         (tramp-imap-handle-insert-file-contents)
10048         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10050 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
10052         * add-log.el (change-log-font-lock-keywords):
10053         Highlight all authors in multi-author entries.
10055         * smerge-mode.el (smerge-refine-ignore-whitespace)
10056         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10057         Fix typos in docstrings.
10058         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10060 2010-05-21  Glenn Morris  <rgm@gnu.org>
10062         * progmodes/fortran.el (fortran-mode):
10063         * progmodes/f90.el (f90-mode): Derive from prog-mode.
10065         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10066         having a relative path in src/Makefile.in.
10068 2010-05-20  Kevin Ryde  <user42@zip.com.au>
10070         * help-mode.el (help-make-xrefs): For Info node links turn
10071         newlines into spaces.  Link node names with newlines are matched
10072         by help-xref-info-regexp and buttonized, this change ensures they
10073         can be followed successfully with RET.  (Bug#6206)
10075 2010-05-20  Juri Linkov  <juri@jurta.org>
10077         * locate.el (locate): Use pop-to-buffer instead of
10078         switch-to-buffer-other-window.  (Bug#6204)
10080 2010-05-20  Juri Linkov  <juri@jurta.org>
10082         * replace.el (replace-highlight): Fix lazy-highlighting
10083         for `M-s w str M-% str RET'.
10085 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
10087         * isearch.el (isearch-yank-word-or-char): Pull next subword
10088         when `subword-mode' is activated.  (Bug#6220)
10090 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
10092         * isearch.el (isearch-update-post-hook): New hook.
10093         (isearch-update): Use the new hook.  (Bug#6225)
10095 2010-05-20  Juri Linkov  <juri@jurta.org>
10097         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10098         [f1], [help], and (char-to-string help-char) instead of "\C-h".
10099         (Bug#6222)
10101 2010-05-20  Juri Linkov  <juri@jurta.org>
10103         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10104         (Bug#6223)
10106 2010-05-20  Juri Linkov  <juri@jurta.org>
10108         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10109         FILE-NAME to read from the minibuffer when called interactively
10110         with prefix argument instead of using buffer-file-name.
10111         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10113         * dired.el: Update autoloads.
10115 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
10117         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10118         nxml-finish-element, for consistency with SGML mode.
10120         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10121         octave-close-block.
10123 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
10125         * composite.el: Require cl when compiling.
10126         (reference-point-alist, compose-gstring-for-graphic)
10127         (compose-gstring-for-terminal): Fix typos in docstrings.
10129 2010-05-19  Juri Linkov  <juri@jurta.org>
10131         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10132         set-window-parameter.
10134 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10136         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10137         where appropriate.
10138         (tramp-maybe-open-connection): Use it.
10140 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10142         * simple.el (move-end-of-line): Make sure we are at line beginning
10143         before backing up to end of previous line.
10145 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10147         * password-cache.el (password-cache-remove): Fix docstring.
10149         * net/secrets.el: Autoload the widget functions.
10150         (secrets-search-items, secrets-create-item)
10151         (secrets-get-attributes, secrets-expand-item): Attributes will be
10152         stored on the password database without leading ":", as all other
10153         clients do as well.
10154         (secrets-mode): Fix docstring.
10155         (secrets-show-secrets): Provide it as autoloaded command only when
10156         D-Bus support is available.  Check existence of Secret Service API.
10158 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10160         * indent.el (indent-region): Deactivate region (bug#6200).
10162 2010-05-19  Glenn Morris  <rgm@gnu.org>
10164         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10166 2010-05-19  Kenichi Handa  <handa@m17n.org>
10168         * composite.el: Register compose-gstring-for-graphic in
10169         composition-function-table only for combining characters (Mn, Mc, Me).
10171 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10173         * calc/calc-trail.el (calc-trail-isearch-forward)
10174         (calc-trail-isearch-backward): Ensure that the new window
10175         point is set correctly.
10177 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10179         * subr.el (read-quoted-char): Resolve modifiers after key
10180         remapping (bug#6212).
10182 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10184         Add visualization code for secrets.
10185         * net/secrets.el (secrets-mode): New major mode.
10186         (secrets-show-secrets, secrets-show-collections)
10187         (secrets-expand-collection, secrets-expand-item)
10188         (secrets-tree-widget-after-toggle-function)
10189         (secrets-tree-widget-show-password): New defuns.
10191 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10193         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10194         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10195         handled in smie-next-sexp.
10196         (smie-indent-calculate): Provide a starting indentation (so the
10197         recursion is well-founded ;-).
10199         Fix handling of non-associative equal levels.
10200         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10201         when it's not needed.
10202         (smie-op-left, smie-op-right): New functions.
10203         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10204         Better handle equal levels to distinguish the associative case from
10205         the "multi-keyword construct" case.
10206         (smie-backward-sexp, smie-forward-sexp): Use it.
10208 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10210         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10212         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10213         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10215 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10217         Provide a simple generic indentation engine and use it for Prolog.
10218         * emacs-lisp/smie.el: New file.
10219         * progmodes/prolog.el (prolog-smie-op-levels)
10220         (prolog-smie-indent-rules): New var.
10221         (prolog-mode-variables): Use them to configure SMIE.
10222         (prolog-indent-line, prolog-indent-level): Remove.
10224 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10226         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10227         order before computing the averages.
10229 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10231         * calc/calc-vec.el (calc-histogram):
10232         (calcFunc-histogram): Allow vectors as inputs.
10233         (math-vector-avg): New function.
10235         * calc/calc-ext.el (math-group-float): Have the number of digits
10236         being grouped depend on the radix (Bug#6189).
10238 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10240         * version.el (emacs-copyright, emacs-version): Don't define here,
10241         now that emacs.c defines it.
10243 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10245         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10246         "Describe Language Environment" menu item.
10248         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10250         Bidi-sensitive movement with arrow keys.
10251         * subr.el (right-arrow-command, left-arrow-command): New functions.
10253         * bindings.el (global-map): Bind them to right and left arrow keys.
10255         Don't override standard definition of convert-standard-filename.
10256         * files.el (convert-standard-filename):
10257         Call w32-convert-standard-filename and dos-convert-standard-filename on
10258         the corresponding systems.
10260         * w32-fns.el (w32-convert-standard-filename): Rename from
10261         convert-standard-filename.  Doc fix.
10263         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10264         (convert-standard-filename): Don't defalias.
10265         (register-name-alist, make-register, register-value)
10266         (set-register-value, intdos): Obsolete aliases for the
10267         corresponding dos-* functions and variables.
10268         (dos-intdos): Add a doc string.
10270 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10272         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10273         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10274         (math-compose-tex-func):
10275         * calc/calccomp.el (math-compose-expr):
10276         * calc/calc-ext.el (math-format-flat-expr-fancy):
10277         * calc/calc-store.el (calc-read-var-name):
10278         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10280         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10281         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10282         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10283         (math-standard-units): Add units.
10285 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10287         * progmodes/asm-mode.el (asm-mode):
10288         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10290         * pcomplete.el (pcomplete-completions-at-point): New function,
10291         extracted from pcomplete-std-complete.
10292         (pcomplete-std-complete): Use it.
10294 2010-05-15  Glenn Morris  <rgm@gnu.org>
10296         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10297         Remove references to CVS, RCS and Old directories.
10299 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10301         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10302         appropriate.
10304 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10306         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10307         (sh-mode-syntax-table): Give it a default value instead.
10308         (sh-header-marker): Make buffer-local.
10309         (sh-mode): Move make-local-variable to the corresponding setq.
10310         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10311         Use complete-with-action.
10313         * simple.el (prog-mode): New (abstract) major mode.
10314         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10315         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10317 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10319         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10320         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10321         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10322         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10323         (sql-escape-newlines-filter, sql-input-sender)
10324         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10326 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10328         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10330         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10331         latex-open-block and C-c / to latex-close-block.
10333         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10334         and C-c C-e to sgml-close-tag.
10336 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10338         * net/tramp.el (with-progress-reporter): Create reporter object
10339         only when the message would be displayed.  Handle nested calls.
10340         (tramp-handle-load, tramp-handle-file-local-copy)
10341         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10342         (tramp-maybe-send-script, tramp-find-shell):
10343         Use `with-progress-reporter'.
10344         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10345         Fix message text.
10347         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10348         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10349         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10350         Use `with-progress-reporter'.
10352 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10354         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10355         process everytime when spellchecking from the minibuffer (bug#6143).
10357 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10359         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10361         * dos-fns.el: Add "dos-" prefix for namespace control.
10362         (convert-standard-filename): Define as alias for
10363         dos-convert-standard-filename but only if applicable.
10365 2010-05-12  Alan Mackenzie  <acm@muc.de>
10367         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10368         Push the mark at the start of these functions when appropriate.
10370 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10372         * minibuffer.el (completion-cycle-threshold): New custom var.
10373         (completion--do-completion): Use it.
10374         (minibuffer-complete): Use cycling if appropriate.
10376 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10378         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10379         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10381 2010-05-11  Juri Linkov  <juri@jurta.org>
10383         * scroll-all.el (scroll-all-check-to-scroll):
10384         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10386 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10388         * iimage.el (iimage-mode-map): Move initialization into declaration.
10389         (iimage-mode-buffer): Use with-silent-modifications.
10390         Simplify calling convention.  Adjust callers.
10391         (iimage-mode): Don't run hook redundantly.
10393         * minibuffer.el (completion-pcm--pattern->regex):
10394         Fix last change (bug#6160).
10396 2010-05-10  Juri Linkov  <juri@jurta.org>
10398         Remove nodes visited during Isearch from the Info history.
10399         * info.el (Info-isearch-initial-history)
10400         (Info-isearch-initial-history-list): New variables.
10401         (Info-isearch-start): Record initial values of
10402         Info-isearch-initial-history and Info-isearch-initial-history-list.
10403         Add Info-isearch-end to isearch-mode-end-hook.
10404         (Info-isearch-end): New function.
10406 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10408         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10409         format string, in order to work around a bug in pdksh.
10410         Reported by Gilles Pion <gpion@lfdj.com>.
10411         (tramp-handle-verify-visited-file-modtime): Do not send a command
10412         when the connection is not established.
10413         (tramp-handle-set-file-times): Simplify the check for utc.
10415 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10417         Fix use of `filter-buffer-substring' (rework previous change).
10418         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10419         (cua-repeat-replace-region):
10420         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10421         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10422         (cua-cut-region-to-global-mark): Use it.
10424 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10426         * progmodes/sql.el: Version 2.1.
10427         (sql-product-alist): Redesign structure of product info.
10428         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10429         (sql-port, sql-port-history): New variables.
10430         (sql-interactive-product): New variable.
10431         (sql-send-terminator): New variable.
10432         (sql-imenu-generic-expression): Add "Types" imenu entry.
10433         (sql-oracle-login-params, sql-sqlite-login-params)
10434         (sql-mysql-login-params, sql-solid-login-params)
10435         (sql-sybase-login-params, sql-informix-login-params)
10436         (sql-ingres-login-params, sql-ms-login-params)
10437         (sql-postgres-login-params, sql-interbase-login-params)
10438         (sql-db2-login-params, sql-linter-login-params)
10439         (sql-oracle-scan-on): New variables.
10440         (sql-mode-map): Add C-c C-i to start interactive mode.
10441         (sql-mode-menu): Update existing menu entries.
10442         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10443         (sql-mode-oracle-font-lock-keywords)
10444         (sql-mode-postgres-font-lock-keywords)
10445         (sql-mode-ms-font-lock-keywords)
10446         (sql-mode-sybase-font-lock-keywords)
10447         (sql-mode-informix-font-lock-keywords)
10448         (sql-mode-interbase-font-lock-keywords)
10449         (sql-mode-ingres-font-lock-keywords)
10450         (sql-mode-solid-font-lock-keywords)
10451         (sql-mode-mysql-font-lock-keywords)
10452         (sql-mode-sqlite-font-lock-keywords)
10453         (sql-mode-db2-font-lock-keywords)
10454         (sql-mode-linter-font-lock-keywords): Update initialization to
10455         reduce run-time complexity.
10456         (sql-add-product, sql-del-product): New functions.
10457         (sql-set-product-feature, sql-get-product-feature): New functions.
10458         (sql-product-font-lock): Update product API.
10459         (sql-add-product-keywords): New function.
10460         (sql-highlight-product): Update product API.
10461         (sql-help-list-products): New function.
10462         (sql-help): Dynamically lists free and non-free products.
10463         (sql-get-login): Correct bug in handling history and added
10464         prompt for port.
10465         (sql-copy-column): Copy without properties.
10466         (sqli-input-sender): Apply filters to SQLi input.
10467         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10468         Implement as a filter.
10469         (sql-escape-newlines-filter): Implement as a filter.
10470         (sql-remove-tabs-filter): New function.
10471         (sql-send-magic-terminator): New function.
10472         (sql-send-string): Implement magic terminator.
10473         (sql-send-region): Use `sql-send-string'.
10474         (sql-interactive-mode): Use product API.
10475         (sql-product-interactive): Use product API.
10476         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10477         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10478         (sql-db2, sql-linter): Use `sql-product-interactive'.
10479         (sql-connect): New function.
10480         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10481         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10482         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10483         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10484         Use `sql-connect'.
10486 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10488         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10489         New custom variable.
10490         (completion-pcm--string->pattern): Use it.
10491         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10492         Make it handle any symbol as `any'.
10493         (completion-pcm--merge-completions): Extract common suffix for the new
10494         `prefix' symbol as well.
10495         (completion-substring--all-completions): Use the new `prefix' symbol.
10497 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10499         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10500         not bound.
10501         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10502         (tramp-compat-funcall): New defmacro.
10503         (tramp-compat-line-beginning-position)
10504         (tramp-compat-line-end-position)
10505         (tramp-compat-temporary-file-directory)
10506         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10507         (tramp-compat-copy-file, tramp-compat-copy-directory)
10508         (tramp-compat-delete-file, tramp-compat-delete-directory)
10509         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10510         * net/tramp.el (top, with-progress-reporter)
10511         (tramp-rfn-eshadow-setup-minibuffer)
10512         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10513         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10514         (tramp-completion-mode-p, tramp-check-for-regexp)
10515         (tramp-open-connection-setup-interactive-shell)
10516         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10517         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10518         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10519         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10520         (tramp-reporter-dump-variable, tramp-load-report-modules)
10521         (tramp-append-tramp-buffers)
10522         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10524         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10526 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10528         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10529         buffer-modtime.  Adjust users.
10531 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10533         * international/mule.el (auto-coding-alist): Only purecopy
10534         car of each item, not the whole list (Bug#6083).
10536 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10538         * progmodes/js.el (js-mode): Make paragraph variables local before
10539         calling c-setup-paragraph-variables (Bug#6071).
10541 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10543         * composite.el (compose-region, reference-point-alist): Fix typos
10544         in the doc strings.
10546 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10548         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10549         gnuplot's "set" command.
10551 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10553         * abbrev.el (last-abbrev-text): Doc fix.
10554         (abbrev-prefix-mark): Don't escape parenthesis.
10556 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10558         * composite.el (find-composition): Doc fix.
10560 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10562         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10563         (sql-oracle-program, sql-sqlite-options)
10564         (sql-query-placeholders-and-send): Doc fixes.
10565         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10566         (sql-imenu-generic-expression, sql-buffer)
10567         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10568         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10569         (sql-mode-sybase-font-lock-keywords)
10570         (sql-mode-informix-font-lock-keywords)
10571         (sql-mode-interbase-font-lock-keywords)
10572         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10573         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10574         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10575         (sql-product-feature, sql-highlight-product)
10576         (comint-line-beginning-position, sql-rename-buffer)
10577         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10578         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10579         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10580         Fix typos in docstrings.
10582 2010-05-08  Juri Linkov  <juri@jurta.org>
10584         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10585         property instead of `invisible' and `after-string' (bug#5998).
10587 2010-05-08  Juri Linkov  <juri@jurta.org>
10589         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10591 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10593         * filecache.el (file-cache-add-directory-list)
10594         (file-cache-add-directory-recursively): Fix typos in docstrings.
10596 2010-05-08  Kenichi Handa  <handa@m17n.org>
10598         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10599         (gujarati-composable-pattern): Fix typo.
10601 2010-05-08  Kenichi Handa  <handa@m17n.org>
10603         * language/indian.el (oriya-composable-pattern)
10604         (tamil-composable-pattern, malayalam-composable-pattern):
10605         Add two-part vowels to "v" (vowel sign).
10607 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10609         * files.el (copy-directory): Handle symlinks (Bug#5982).
10611 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10613         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10614         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10615         (Bug#5846).
10617 2010-05-08  Glenn Morris  <rgm@gnu.org>
10619         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10621         * minibuffer.el (completion-at-point): Doc fix.
10623 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10625         * electric.el (Electric-command-loop): Minor tweak.
10627         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10628         better with dedicated windows.
10630 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10632         * Version 23.2 released.
10634 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10635             Stefan Monnier  <monnier@iro.umontreal.ca>
10637         Highlight vendor specific properties.
10638         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10639         (css-proprietary-property): New face.
10640         (css-font-lock-keywords): Use them.
10642 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10644         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10646 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10648         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10649         * files.el (auto-mode-alist): Remove redundant entries.
10651         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10652         * simple.el (auto-save-mode): Move from files.el.
10653         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10655 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10657         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10659 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10661         * mail/binhex.el (binhex-decode-region-internal)
10662         * mail/uudecode.el (uudecode-decode-region-internal)
10663         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10664         (dns-read-type, dns-query)
10665         * pgg-parse.el (pgg-parse-armor)
10666         * pgg.el (pgg-verify-region)
10667         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10668         XEmacs.
10670         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10672 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10674         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10676         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10677         * emulation/cua-base.el (cua-repeat-replace-region):
10678         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10679         (cua-cut-region-to-global-mark):
10680         Remove text properties with `set-text-properties'.
10682 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
10684         * net/tramp.el (top, with-progress-reporter):
10685         Use `symbol-function' inside `funcall'.
10687         * net/tramp-compat.el (tramp-compat-file-attributes)
10688         (tramp-compat-delete-file, tramp-compat-delete-directory):
10689         Handle only `wrong-number-of-arguments' error.
10691         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10692         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10693         inside `funcall'.
10695 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10697         * minibuffer.el (completion--sreverse, completion--common-suffix):
10698         New functions.
10699         (completion-pcm--merge-completions): Extract common suffix when safe.
10701         * emacs-lisp/easy-mmode.el (define-minor-mode):
10702         Make :variable more flexible.
10703         * files.el (auto-save-mode): Use it to define using define-minor-mode.
10705 2010-05-05  Juri Linkov  <juri@jurta.org>
10707         Add `slow' and `history' tags to the desktop data.
10709         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10710         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10711         (Info-finder-find-node): Require `finder.el' to be able
10712         to restore node from the desktop.
10713         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
10714         data `Info-history' and `slow' tag in the assoc list.
10715         (Info-restore-desktop-buffer): Don't restore nodes with the
10716         `slow' tag.  Restore `Info-history'.
10718 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
10720         Add FORCE argument to `delete-file'.
10722         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10723         forcing to delete the temporary file.
10724         (ange-ftp-delete-file): Add FORCE arg.
10725         (ange-ftp-rename-remote-to-remote)
10726         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10727         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10728         Force file deletion.
10730         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10732         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10733         (tramp-handle-make-symbolic-link, tramp-handle-load)
10734         (tramp-do-copy-or-rename-file-via-buffer)
10735         (tramp-do-copy-or-rename-file-directly)
10736         (tramp-do-copy-or-rename-file-out-of-band)
10737         (tramp-handle-process-file, tramp-handle-call-process-region)
10738         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10739         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10740         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10742         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10743         (tramp-fish-handle-make-symbolic-link)
10744         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10746         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10747         Use `tramp-compat-delete-file'.
10749         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10750         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10752         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10753         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10755         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10756         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10757         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10758         Use `tramp-compat-delete-file'.
10760 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10762         Minor cleanups.
10763         * subr.el (add-minor-mode): Use push.
10764         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10765         * emulation/edt.el (edt-select-mode): Simplify.
10767         Use define-minor-mode in more cases.
10768         * term/tvi970.el (tvi970-set-keypad-mode):
10769         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10770         (normal-erase-is-backspace-mode):
10771         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10772         (set-scroll-bar-mode-1): (Re)move to its sole caller.
10773         (get-scroll-bar-mode): New function.
10774         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10776         Use define-minor-mode for less obvious cases.
10777         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10778         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10779         * international/iso-ascii.el (iso-ascii-mode):
10780         * frame.el (auto-raise-mode, auto-lower-mode):
10781         * composite.el (global-auto-composition-mode): Use define-minor-mode.
10783 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
10785         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10786         in order to see error messages for failed logins.
10788 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
10790         * diff.el (diff-sentinel):
10792         * epg.el (epg--make-temp-file, epg-decrypt-string)
10793         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10795         * jka-compr.el (jka-compr-partial-uncompress)
10796         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10798         * server.el (server-sentinel): Use delete-file's new FORCE arg
10799         (Bug#6070).
10801 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10803         Use define-minor-mode where applicable.
10804         * view.el (view-mode):
10805         * type-break.el (type-break-query-mode)
10806         (type-break-mode-line-message-mode):
10807         * textmodes/reftex.el (reftex-mode):
10808         * term/vt100.el (vt100-wide-mode):
10809         * tar-mode.el (tar-subfile-mode):
10810         * savehist.el (savehist-mode):
10811         * ibuf-ext.el (ibuffer-auto-mode):
10812         * composite.el (auto-composition-mode):
10813         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10814         Use define-minor-mode.
10815         (vhdl-mode): Use static mode-line format.
10816         (vhdl-mode-line-update): Delete.
10817         (vhdl-create-mode-menu, vhdl-activate-customizations)
10818         (vhdl-hs-minor-mode): Don't bother calling it.
10820 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10822         * simple.el (with-wrapper-hook): Move.
10823         (buffer-substring-filters): Mark obsolete.
10824         (filter-buffer-substring-functions): New variable.
10825         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10827 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10828             Michael Albinus  <michael.albinus@gmx.de>
10830         Implement compression for inline methods.
10832         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10833         (tramp-copy-size-limit): Allow also nil.
10834         (tramp-inline-compress-commands): New defconst.
10835         (tramp-find-inline-compress, tramp-get-inline-compress)
10836         (tramp-get-inline-coding): New defuns.
10837         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10838         replaced by `tramp-get-inline-coding'.
10839         (tramp-handle-file-local-copy, tramp-handle-write-region)
10840         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10842 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10844         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10845         Remove unused functions.
10847         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10848         Set find-tag-default-function as a variable rather than a property.
10850         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10851         * progmodes/etags.el (tags-completion-at-point-function):
10852         Remove left over interactive spec.  Add autoloading stub.
10853         (complete-tag): Use tags-completion-at-point-function.
10855 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10857         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10859 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10861         * ido.el (ido-init-completion-maps): Remove C-v binding.
10862         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10864 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10866         * minibuffer.el (tags-completion-at-point-function): New function.
10867         (completion-at-point-functions): Use it.
10869         * progmodes/etags.el (complete-tag): Revert last change.
10871 2010-04-29  Alan Mackenzie  <acm@muc.de>
10873         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10874         off-by-one error (in end of macro position).
10876 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10878         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10879         firefox is absent.  Don't autoload.
10880         (browse-url-galeon-program): Don't autoload.
10882 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10884         * bindings.el (complete-symbol): Move into minibuffer.el.
10886         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10887         completion cannot be performed, return nil instead of signalling
10888         an error.
10889         (completion-at-point): Make it an alias for complete-symbol.
10890         (complete-symbol): Move from bindings.el, and replace with the
10891         body of completion-at-point.
10893         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10895 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10897         * net/tramp.el (tramp-remote-selinux-p): New defun.
10898         (tramp-handle-file-selinux-context)
10899         (tramp-handle-set-file-selinux-context): Use it.
10901 2010-04-28  Sam Steingold  <sds@gnu.org>
10903         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10904         `safe-local-variable' if the value is a string or a symbol with
10905         the property `bug-reference-url-format'.
10907 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10909         * progmodes/bug-reference.el (bug-reference-url-format):
10910         Revert 2010-04-27 change due to security risk.
10912 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10914         Make it possible to locally disable a globally enabled mode.
10915         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10916         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10917         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10918         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10919         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10920         that subsequent hooks get a chance to disable it.
10922 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10924         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10925         Avoid re-enabling a minor mode after the user turned the minor mode
10926         off if MODE-enable-in-buffers is run twice (typically once from
10927         fundamental-mode's after-change-major-mode-hook and a second time from
10928         run-mode-hook's own after-change-major-mode-hook).
10930         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10932 2010-04-27  Sam Steingold  <sds@gnu.org>
10934         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10935         `safe-local-variable' if the value is a string or a function, as
10936         documented and implemented on 2010-04-02.
10938 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10940         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10941         when method is 'kill.
10943 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10945         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10946         condition in default directory check.
10947         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10948         Kill ispell process when killing its associated buffer.
10950 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10952         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10953         but we aren't using it.
10955 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10957         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10958         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10960 2010-04-24  Glenn Morris  <rgm@gnu.org>
10962         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10963         Ignore VCS-ignore files, and deleted nextstep preferences files.
10964         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10965         (authors-ambiguous-files): New list.
10966         (authors-valid-file-names): Add some deleted files.
10967         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10968         (authors-disambiguate-file-name): New function.  (Bug#5501)
10969         (authors-canonical-file-name): Doc fix.
10970         Don't warn about obsolete files.
10971         (authors-canonical-file-name, authors-scan-el):
10972         Use authors-disambiguate-file-name.
10974         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10975         Add autoload cookies.
10976         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10977         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10978         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10979         They have definitions / compiler macros in cl.el.
10980         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10981         Replace manual autoloads with generated ones.
10982         (htmlfontify-unload-rgb-file): Remove autoload.
10983         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10985 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10987         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10988         (byte-compile-setq-default): Optimize for the
10989         single-var case and don't call byte-compile-form in this case to avoid
10990         inf-loop with byte-compile-set-default.
10992         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10994 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10996         Implement SELINUX backends.
10998         * net/tramp.el (tramp-file-name-handler-alist):
10999         Add `file-selinux-context' and `set-file-selinux-context'.
11000         (tramp-handle-file-selinux-context)
11001         (tramp-handle-set-file-selinux-context): New defuns.
11002         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11003         Handle PRESERVE-SELINUX-CONTEXT.
11005         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11006         Add `file-selinux-context' and `set-file-selinux-context'.
11007         (tramp-gvfs-handle-file-selinux-context)
11008         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11009         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11011         * net/ange-ftp.el (ange-ftp-copy-file):
11012         * net/tramp-fish.el (tramp-fish-handle-copy-file):
11013         * net/tramp-imap.el (tramp-imap-handle-copy-file):
11014         * net/tramp-smb.el (tramp-smb-handle-copy-file):
11015         Add PRESERVE-SELINUX-CONTEXT.
11017 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11019         Synchronize with Tramp repository.
11021         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11022         (tramp-action-process-alive, tramp-action-out-of-band)
11023         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11024         (tramp-exists-file-name-handler): Fix docstring.
11025         (with-progress-reporter): New defmacro.
11026         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11027         (tramp-maybe-open-connection): Use it.
11029 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
11031         Detect ssh 'ControlMaster' argument automatically in some cases.
11033         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11034         (tramp-default-method): Use it.
11036 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11038         * net/tramp.el (tramp-handle-copy-file): Add new optional
11039         parameter `preserve-selinux-context'.
11040         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11042 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
11044         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11045         Ensure, that non remote files are still checked.  Oops.
11047 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
11049         Fix Bug#5840.
11051         * icomplete.el (icomplete-completions): Use `non-essential'.
11053         * net/tramp.el (tramp-connectable-p): New defun.
11054         (tramp-handle-expand-file-name)
11055         (tramp-completion-handle-file-name-all-completions)
11056         (tramp-completion-handle-file-name-completion): Use it.
11058 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11060         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11062 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
11064         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11066         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11068         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11069         is present.
11071         * info.el (info-tool-bar-map): Add labels.
11073         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11075         * cus-edit.el (custom-commands): Add labels for tool bar.
11076         (custom-buffer-create-internal, Custom-mode): Adjust for
11077         labels in custom-commands.
11079         * dynamic-setting.el: Renamed from font-setting.el.
11081 2010-04-21  John Wiegley  <jwiegley@gmail.com>
11083         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11084         toggles the use of virtual buffers.
11085         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11086         (ido-toggle-virtual-buffers): New function.
11088 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
11090         Use `define-derived-mode'; fix window selection; doc fixes.
11091         * play/tetris.el (tetris, tetris-update-speed-function)
11092         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11093         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11094         (tetris-rotate-next, tetris-end-game, tetris-start-game)
11095         (tetris-pause-game): Fix typos in docstrings.
11096         (tetris-mode-map, tetris-null-map):
11097         Move initialization into declaration.
11098         (tetris-mode): Define with `define-derived-mode';
11099         set show-trailing-whitespace to nil.
11100         (tetris): Prefer window already displaying the "*Tetris*" buffer.
11102 2010-04-21  Karel Klíč  <kklic@redhat.com>
11104         * files.el (backup-buffer): Handle SELinux context, and return it
11105         if a backup was made by renaming.
11106         (backup-buffer-copy): Set SELinux context to the target file.
11107         (basic-save-buffer): Set SELinux context of the newly written file.
11108         (basic-save-buffer-1): Now it also returns any SELinux context.
11109         (basic-save-buffer-2): Set SELinux context of the newly created file,
11110         and return it.
11111         * net/tramp.el (tramp-file-name-for-operation):
11112         Add file-selinux-context.
11114 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11116         Make the log-edit comments use RFC822 format throughout.
11118         * vc.el (vc-checkin, vc-modify-change-comment):
11119         Adjust to new vc-start/finish-logentry.
11120         (vc-find-conflicted-file): New command.
11121         (vc-transfer-file): Adjust to new vc-checkin.
11122         (vc-next-action): Improve scoping.
11124         * vc-hg.el (vc-hg-log-edit-mode): Remove.
11125         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
11127         * vc-git.el (vc-git-log-edit-mode): Remove.
11128         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
11129         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11131         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11132         (vc-start-logentry): Remove argument `extra'.
11133         (vc-finish-logentry): Remove extra args.
11135         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11136         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
11137         (vc-bzr-conflicted-files): New function.
11139         * log-edit.el (log-edit-extra-flags)
11140         (log-edit-before-checkin-process): Remove.
11141         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11142         (log-edit-headers-alist): New var.
11143         (log-edit-header-contents-regexp): New const.
11144         (log-edit-match-to-eoh): New function.
11145         (log-edit-font-lock-keywords): Use them.
11146         (log-edit): Insert a "Summary:" header as default.
11147         (log-edit-mode): Mark font-lock rules as case-insensitive.
11148         (log-edit-done): Cleanup headers.
11149         (log-view-process-buffer): Remove.
11150         (log-edit-extract-headers): New function to replace it.
11152 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11154         * subr.el (default-direction-reversed): Remove obsolescence info.
11156 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11158         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11159         windows/frames.
11161         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11162         I.e. include text after point in the completion region.
11163         Also, return nil when we're not after/in a symbol.
11165         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11166         default enable-multibyte-characters.
11168 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11170         * international/mule.el: Help the user choose a valid coding-system.
11171         (read-buffer-file-coding-system): New function.
11172         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11173         coding-system cannot encode all the chars.
11175         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11176         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11177         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11178         Don't use *vc-bzr-shelve*.
11180 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11182         Fix the version number for added files.
11183         * vc-hg.el (vc-hg-working-revision): Check if the file is
11184         registered after hg parent fails (Bug#5961).
11186 2010-04-19  Glenn Morris  <rgm@gnu.org>
11188         * htmlfontify.el (htmlfontify-buffer)
11189         (htmlfontify-copy-and-link-dir): Autoload entry points.
11191 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11193         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11194         name relative to the project root (Bug#5960).
11196 2010-04-19  Glenn Morris  <rgm@gnu.org>
11198         * vc-git.el (vc-git-print-log): Doc fix.
11200 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11202         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11204 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
11206         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11207         default settings (Bug#5928).
11209 2010-04-19  Glenn Morris  <rgm@gnu.org>
11211         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11212         New function.
11213         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11215 2010-04-19  Kenichi Handa  <handa@m17n.org>
11217         * language/indian.el (malayalam-composable-pattern): Fix previous
11218         change (add U+0D4D "SIGN VIRAMA").
11219         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11220         (tamil-composable-pattern): Fix typo in the regexp.
11221         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11222         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11223         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11225 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11227         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11228         paragraph-separate (Bug#5821).
11230 2010-04-19  Juri Linkov  <juri@jurta.org>
11232         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11234         * info.el (Info-find-node-2): Comment out code that skips
11235         breadcrumbs line.
11236         (Info-mouse-follow-link): New command.
11237         (Info-link-keymap): New keymap.
11238         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11239         Return a string with links instead of inserting breadcrumbs
11240         to the Info buffer.
11241         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11242         Instead of putting the `invisible' text property over the Info
11243         header, make an overlay over the Info header with the `invisible'
11244         property and `after-string' set to the string returned by
11245         `Info-breadcrumbs'.
11247 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11249         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11250         Reported by monkey@sandpframing.com.
11252 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11254         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11255         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11256         available in the "keyseq cache" any more.
11258         * custom.el (defcustom): Add edebug spec.
11260 2010-04-18  Juri Linkov  <juri@jurta.org>
11262         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11264         * view.el (view-file, view-buffer): Move test for special mode-class
11265         from view-file to view-buffer.
11267         * tar-mode.el (tar-extract): Turn if's into one cond
11268         like in arc-mode.el.
11270 2010-04-18  Juri Linkov  <juri@jurta.org>
11272         Add 7z archive format support (bug#5475).
11274         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11275         (archive-7z-extract): New defcustom.
11276         (archive-find-type): Add magic string for 7z.
11277         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11278         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11279         `buffer' arg of `call-process'.
11280         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11281         call the function `archive-7z-extract' with the variable
11282         `archive-7z-extract' let-bound to `archive-zip-extract'.
11283         (archive-7z-summarize, archive-7z-extract): New functions.
11285         * international/mule.el (auto-coding-alist):
11286         * files.el (auto-mode-alist): Add 7z file extension.
11288 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11290         * loadup.el: Setup hash-cons for pure data.
11292         Fix duplicate entries in cedet's loaddefs.el files.
11293         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11294         Should make most file-local generated-autoload-file unnecessary.
11295         (print-readably): Silence warnings.
11296         (autoload-find-destination): Take load-name as an arg to make sure
11297         it's the same as the one that will be in the file.
11298         (autoload-generate-file-autoloads): Adjust to above changes.
11299         Try to make the dataflow a bit simpler.
11301         * cvs-status.el (cvs-refontify): Remove unused.
11303 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11305         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11307         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11308         twos-complement mode.
11310 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11312         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11313         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11314         (calc-inverse): Add "Option" to message, as appropriate.
11315         (calc-hyperbolic): Add "Option" to message, as appropriate.
11316         (calc-option, calc-is-option): New functions.
11318         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11319         (calc-option-prefix-help): New function.
11321         * calc/calc-misc.el (calc-help): Add "Option" entry.
11323         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11324         (calc-option-flag): New variable.
11325         (calc-do): Set `calc-option-flag to nil.
11326         (calc-set-mode-line): Add "Opt " as appropriate.
11328 2010-04-16  Juri Linkov  <juri@jurta.org>
11330         Move scrolling commands from simple.el to window.el
11331         because their primitives are implemented in window.c.
11333         * simple.el (scroll-error-top-bottom)
11334         (scroll-up-command, scroll-down-command, scroll-up-line)
11335         (scroll-down-line, scroll-other-window-down)
11336         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11337         * window.el (scroll-error-top-bottom)
11338         (scroll-up-command, scroll-down-command, scroll-up-line)
11339         (scroll-down-line, scroll-other-window-down)
11340         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11341         Move from simple.el to window.el because their primitives are
11342         implemented in window.c.
11344 2010-04-16  Juri Linkov  <juri@jurta.org>
11346         * isearch.el (isearch-lookup-scroll-key): Check both
11347         `isearch-scroll' and `scroll-command' properties.
11348         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11350         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11352         * simple.el (scroll-up-command, scroll-down-command)
11353         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11355 2010-04-15  Juri Linkov  <juri@jurta.org>
11357         * simple.el (scroll-up-command, scroll-down-command)
11358         (scroll-up-line, scroll-down-line): Put `scroll-command'
11359         property on the these symbols.  Remove them from
11360         `scroll-preserve-screen-position-commands'.
11362         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11363         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11364         Remove it from `scroll-preserve-screen-position-commands'.
11366         * isearch.el (isearch-allow-scroll): Doc fix.
11368 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11370         * net/tramp.el (tramp-error-with-buffer): Don't show the
11371         connection buffer when we are in completion mode.
11372         (tramp-file-name-handler): Catch the error for some operations
11373         when we are in completion mode.  This gives the user the chance to
11374         correct the file name in the minibuffer.
11376 2010-04-15  Glenn Morris  <rgm@gnu.org>
11378         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11380 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11382         Simplify by using `define-derived-mode'.
11383         * info.el (Info-mode):
11384         * calendar/todo-mode.el (todo-mode):
11385         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11386         (gomoku-mode-map): Move initialization into declaration.
11388 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11390         Fix Bug#5840.
11391         * ido.el (ido-file-name-all-completions-1):
11392         * minibuffer.el (minibuffer-completion-help):
11393         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11395 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11397         * simple.el (non-essential): New var.
11399         Add a new field `location' to bookmarks for non-file bookmarks.
11400         * bookmark.el (bookmark-location): Use the new field, if present.
11401         (bookmark-insert-location): Undo last change, not needed any more.
11402         * man.el (Man-bookmark-make-record):
11403         * woman.el (woman-bookmark-make-record): Add `location' field.
11405 2010-04-14  Juri Linkov  <juri@jurta.org>
11407         * simple.el (scroll-error-top-bottom): New defcustom.
11408         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11410         * emulation/pc-select.el (pc-select-override-scroll-error):
11411         Obsolete in favor of `scroll-error-top-bottom'.
11413 2010-04-14  Juri Linkov  <juri@jurta.org>
11415         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11416         `scroll-up-command' and `M-v' to `scroll-down-command'.
11418         * emulation/cua-rect.el (cua--init-rectangles):
11419         * forms.el (forms--change-commands):
11420         * image-mode.el (image-mode-map):
11421         Remap scroll-down-command and scroll-up-command
11422         in addition to scroll-down and scroll-up.
11424 2010-04-14  Juri Linkov  <juri@jurta.org>
11426         * mwheel.el (scroll-preserve-screen-position-commands):
11427         Add mwheel-scroll to this list of commands.
11429         * simple.el (scroll-preserve-screen-position-commands):
11430         Add scroll-up-command, scroll-down-command, scroll-up-line,
11431         scroll-down-line to this list of commands.
11433 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11435         * obsolete/complete.el: Move from lisp/complete.el.
11437         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11439         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11440         to the minor mode function now turns the mode ON unconditionally.
11442 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11444         * vc-dir.el (vc-dir-kill-line): New command.
11445         (vc-dir-mode-map): Bind it to C-k.
11447         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11449         * woman.el: Add bookmark declarations to silence the compiler.
11450         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11451         step to compatibility between man and woman bookmarks.
11452         Adjust for Man-default-bookmark-title renaming.
11453         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11455         * man.el: Add bookmark declarations to silence the compiler.
11456         (Man-name-local-regexp): Make it match NAME as well.
11457         (Man-getpage-in-background): Return the buffer.
11458         (Man-notify-when-ready): Use `case'.
11459         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11460         Don't hardcode "NAME".  Simplify.
11461         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11462         Rename from Man-bookmark-make-record.
11463         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11464         we have the actual man-args.  Use Man-getpage-in-background rather
11465         than `man' since the arg is already processed.  Let bookmark.el do the
11466         window handling.  Only wait for the relevant process.
11467         Don't forget to autoload.
11469         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11471 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11473         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11474         New functions.
11475         (woman-mode): Setup bookmark support.
11477         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11478         (man-bookmark-jump): New functions.
11479         (Man-mode): Setup bookmark support.
11481 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11483         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11484         recognize ssh-keygen prompt (Bug#2817).
11486 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11488         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11490 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11492         Synchronize with Tramp repository.
11494         * net/tramp.el (tramp-completion-function-alist)
11495         (tramp-file-name-regexp, tramp-chunksize)
11496         (tramp-local-coding-commands, tramp-remote-coding-commands):
11497         Fix docstring.
11498         (tramp-remote-process-environment): Use `format' instead of `concat'.
11499         (tramp-handle-directory-files-and-attributes)
11500         (tramp-get-remote-path): Use `copy-tree'.
11501         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11502         compatibility: Use `completion-ignore-case' if
11503         `read-file-name-completion-ignore-case' does not exist.
11504         (tramp-do-copy-or-rename-file-directly): Do not use
11505         `tramp-handle-file-remote-p'.
11506         (tramp-do-copy-or-rename-file-out-of-band):
11507         Use `tramp-compat-delete-directory'.
11508         (tramp-do-copy-or-rename-file-out-of-band)
11509         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11510         Use `format-spec-make'.
11511         (tramp-find-foreign-file-name-handler)
11512         (tramp-advice-make-auto-save-file-name)
11513         (tramp-set-auto-save-file-modes): Remove superfluous check for
11514         `stringp'.  This is done inside `tramp-tramp-file-p'.
11515         (tramp-debug-outline-regexp): New defconst.
11516         (tramp-get-debug-buffer): Use it.
11517         (tramp-check-for-regexp): Use (forward-line 1).
11518         (tramp-set-auto-save-file-modes): Adapt version check.
11520         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11521         Wrap call of `featurep' for 2nd argument.
11522         (tramp-compat-make-temp-file): Simplify fallback implementation.
11523         (tramp-compat-copy-tree): Remove function.
11524         (tramp-compat-delete-directory): Provide implementation for older
11525         Emacsen.
11527         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11528         Do not use `tramp-fish-handle-file-attributes.
11530         * net/trampver.el: Update release number.
11532 2010-04-10  Glenn Morris  <rgm@gnu.org>
11534         * progmodes/compile.el (compilation-save-buffers-predicate):
11535         Add missing :version tag.
11537 2010-04-09  Sam Steingold  <sds@gnu.org>
11539         * progmodes/compile.el (compilation-save-buffers-predicate):
11540         Remove the "autoload" cookie.
11542         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11543         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11544         and `bug-reference-prog-mode' can be used in hooks directly.
11546 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11548         Add --author support to git commit.
11549         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11550         (vc-git-log-edit-mode): New minor mode.
11551         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11552         New declarations.
11554 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11556         * vc-hooks.el, vc-git.el: Improve documentation comments.
11558 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11560         Fix some of the problems in defsubst* (bug#5728).
11561         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11562         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11564 2010-04-07  Sam Steingold  <sds@gnu.org>
11566         * progmodes/compile.el (compilation-save-buffers-predicate):
11567         New custom variable.
11568         (compile, recompile): Pass it to `save-some-buffers'.
11570 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11572         * wid-edit.el (widget-choose): Move cursor to the second line of
11573         the buffer (Bug#5695).
11575 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11577         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11578         * vc.el (vc-print-log-setup-buttons): New function split out from
11579         vc-print-log-internal.
11580         (vc-log-internal-common): New function, a parametrized version of
11581         vc-print-log-internal.
11582         (vc-print-log-internal): Just call vc-log-internal-common with the
11583         right arguments.
11584         (vc-incoming-outgoing-internal):
11585         (vc-log-incoming, vc-log-outgoing): New functions.
11586         (vc-log-view-type): New permanent local variable.
11588         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11590         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11591         of the dynamic bound vc-short-log.
11592         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11594         * vc-git.el (vc-git-log-outgoing): New function.
11595         (vc-git-log-view-mode): Use vc-log-view-type instead
11596         of the dynamic bound vc-short-log.
11598         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11599         of the dynamic bound vc-short-log.  Highlight the tag.
11600         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11601         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11602         (vc-hg-incoming-mode): Remove.
11603         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11605 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11607         Fix default-directory for vc-root-diff.
11608         * vc.el (vc-root-diff): Bind default-directory to the root
11609         directory for the diff command.
11611 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11613         * progmodes/verilog-mode.el (verilog-forward-sexp):
11614         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11615         word keywords, suggested by Steve Pearlmutter.
11616         (verilog-pretty-declarations): Support lineup of declarations in
11617         port lists.
11618         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11619         fix bug for /* / comments.
11620         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11621         Speed up and simplfy as this is never called with a bound.
11622         (verilog-pretty-declarations): Enhance to line up declarations
11623         inside a parameter list, suggested by Alan Morgan.
11624         (verilog-pretty-expr): Tune assignment regular expression match
11625         string for corner cases; also use markers instead of character
11626         number as indent changes the later.
11628 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11630         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11631         as missing keyword.
11632         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11633         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11634         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11635         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11636         Tennant.
11637         (verilog-keywords):
11638         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11639         1800-2009 keywords, including "global.".
11641 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11643         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11644         appearing in buffer list (if a live buffer name matched a recentf
11645         file basename).  Should use uniquify to offer a real solution.
11647 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11649         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11650         comment to code, and add a :version tag.
11651         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11653 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11655         Enable recentf-mode if using virtual buffers.
11656         * ido.el (recentf-list): Declare for byte-compiler.
11657         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11658         (ido-make-buffer-list): Simplify.
11659         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11661 2010-04-05  Juri Linkov  <juri@jurta.org>
11663         Scrolling commands which scroll a line instead of full screen.
11664         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11666         * simple.el (scroll-up-line, scroll-down-line): New commands.
11667         Put property isearch-scroll=t on them.
11669         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11670         Remove commands.
11672 2010-04-05  Juri Linkov  <juri@jurta.org>
11674         Scrolling commands which do not signal errors at top/bottom.
11675         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11677         * simple.el (scroll-up-command, scroll-down-command): New commands.
11678         Put property isearch-scroll=t on them.
11680         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11681         `scroll-down-command' and [next] from `scroll-up' to
11682         `scroll-up-command'.
11684         * emulation/cua-base.el: Put property CUA=move on
11685         `scroll-up-command' and `scroll-down-command'.
11686         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11687         and `scroll-down-command' to `cua-scroll-down'.
11689 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
11691         * help.el (describe-mode): Return nil.
11693 2010-04-04  John Wiegley  <jwiegley@gmail.com>
11695         * ido.el (ido-use-virtual-buffers): New variable to indicate
11696         whether "virtual buffer" support is enabled for IDO.
11697         (ido-virtual): Face used to indicate virtual buffers in the list.
11698         (ido-buffer-internal): If a buffer is chosen, and no such buffer
11699         exists, but a virtual buffer of that name does (which would be why
11700         it was in the list), recreate the buffer by reopening the file.
11701         (ido-make-buffer-list): If virtual buffers are being used, call
11702         `ido-add-virtual-buffers-to-list' before the make list hook.
11703         (ido-virtual-buffers): New variable which contains a copy of the
11704         current contents of the `recentf-list', albeit pared down for the
11705         sake of speed, and with proper faces applied.
11706         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11707         create a list of "virtual buffers" to present to the user in
11708         addition to the currently open set.  Note that this logic could
11709         get rather slow if that list is too large.  With the default
11710         `recentf-max-saved-items' of 200, there is little speed penalty.
11712 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11714         * font-lock.el: Require CL when compiling.
11715         (font-lock-turn-on-thing-lock): Use `case'.
11717 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
11719         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11720         Zaretskii.
11722 2010-04-02  Juri Linkov  <juri@jurta.org>
11724         * ehelp.el (electric-help-orig-major-mode):
11725         New buffer-local variable.
11726         (electric-help-mode): Set it to original major-mode.  Doc fix.
11727         (with-electric-help): Use `electric-help-orig-major-mode' instead
11728         of (default-value 'major-mode).  Doc fix.
11729         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11731 2010-04-02  Sam Steingold  <sds@gnu.org>
11733         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11734         `vc-hg-command' with a list of flags.
11736         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11737         Also accept "patch" and "RFE".
11738         (bug-reference-fontify): `bug-reference-url-format' can also be a
11739         function to be able to handle the bug kind.
11740         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11742 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
11744         * tmm.el (tmm-get-keymap): Check with symbolp before passing
11745         value to fboundp, it may not be a symbol.
11747 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11749         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11751 2010-03-31  Juri Linkov  <juri@jurta.org>
11753         * simple.el (next-line, previous-line): Re-throw a signal
11754         with `signal' instead of using `ding'.
11755         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11757 2010-03-31  Juri Linkov  <juri@jurta.org>
11759         * simple.el (keyboard-escape-quit): Raise deselecting the active
11760         region higher than exiting the minibuffer.
11761         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11763 2010-03-31  Juri Linkov  <juri@jurta.org>
11765         * image.el (image-animated-p): Use `image-metadata' instead of
11766         `image-extension-data'.  Get GIF extenstion data from metadata
11767         property `extension-data'.
11769 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11771         * simple.el (append-to-buffer): Simplify.
11773 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
11775         * textmodes/artist.el (artist-mode): Fix typo in docstring.
11776         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
11778 2010-03-31  Kenichi Handa  <handa@m17n.org>
11780         * language/sinhala.el (composition-function-table): Fix regexp for
11781         the new Unicode specification.
11783         * language/indian.el (devanagari-composable-pattern)
11784         (tamil-composable-pattern, kannada-composable-pattern)
11785         (malayalam-composable-pattern): Adjust for the new Unicode
11786         specification.
11787         (bengali-composable-pattern, gurmukhi-composable-pattern)
11788         (gujarati-composable-pattern, oriya-composable-pattern)
11789         (telugu-composable-pattern): New variables to cope with the new
11790         Unicode specification.  Use them in composition-function-table.
11792 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11794         Make tmm-menubar work for the Buffers menu again (bug#5726).
11795         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11796         vectors rather than cons cells, as used in menu-bar-update-buffers.
11798 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11800         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11801         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11802         electric punctuation for "{}();,:" (Bug#5586).
11804         * mail/sendmail.el (mail-default-directory): Doc fix.
11806 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11808         * mail/sendmail.el (mail-default-directory): Doc fix.
11810 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11812         * subr.el (version-regexp-alist, version-to-list)
11813         (version-list-<, version-list-=, version-list-<=)
11814         (version-list-not-zero, version<, version<=, version=): Doc fix.
11815         (Bug#5744).
11817 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11819         * vc.el (vc-root-diff): Doc fix.
11821 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11823         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11825         * simple.el (append-to-buffer): Fix last change.
11827 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11829         * simple.el (append-to-buffer): Ensure that point is preserved if
11830         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11831         (Bug#5749)
11833 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11835         * files.el (auto-mode-case-fold): Change default to t.
11837 2010-03-30  Juri Linkov  <juri@jurta.org>
11839         * dired-x.el (dired-omit-mode): Doc fix.
11841 2010-03-30  Juri Linkov  <juri@jurta.org>
11843         * replace.el (occur-accumulate-lines): Move occur-engine related
11844         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11845         to be located after `occur-engine'.
11847 2010-03-30  Juri Linkov  <juri@jurta.org>
11849         Make occur handle multi-line matches cleanly with context.
11850         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11852         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11853         (occur-engine): Add local variables `ret', `prev-after-lines',
11854         `prev-lines'.  Use more arguments for `occur-context-lines'.
11855         Set first elem of its returned list to `data', and the second elem
11856         to `prev-after-lines'.  Don't print the separator line.
11857         In the end, print remaining context after-lines.
11858         (occur-context-lines): Add new arguments `begpt', `endpt',
11859         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11860         after-lines of the previous match with before-lines of the
11861         current match and not overlap them.  Return a list with two
11862         values: the output line and the list of context after-lines.
11864 2010-03-30  Juri Linkov  <juri@jurta.org>
11866         * replace.el (occur-accumulate-lines): Fix a bug where the first
11867         context line at the beginning of the buffer was missing.
11869 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11871         * files.el: Make bidi-display-reordering safe variable for boolean
11872         values.
11874 2010-03-29  Phil Hagelberg  <phil@evri.com>
11875             Chong Yidong  <cyd@stupidchicken.com>
11877         * subr.el: Extend progress reporters to perform "spinning".
11878         (progress-reporter-update, progress-reporter-do-update):
11879         Handle non-numeric value arguments.
11880         (progress-reporter--pulse-characters): New var.
11882 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11884         * progmodes/compile.el (compilation-start): Fix regexp detection
11885         of initial cd command (Bug#5771).
11887 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11889         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11891 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11893         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11894         * progmodes/gdb-mi.el: Restore.
11895         * progmodes/gdb-ui.el: Remove.
11896         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11898 2010-03-25  Glenn Morris  <rgm@gnu.org>
11900         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11901         all dired buffers, even tramp ones.  (Bug#5755)
11903 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11905         Add "union tags" in mpc.el.
11906         * mpc.el: Remove backward compatibility code.
11907         (mpc-browser-tags): Change default.
11908         (mpc--find-memoize-union-tags): New var.
11909         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11910         (mpc-cmd-find): Handle the case where the playlist does not exist.
11911         Handle union-tags.
11912         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11913         (mpc-cmd-add): Use mpc-cmd-flush.
11914         (mpc-tagbrowser-tag-name): New fun.
11915         (mpc-tagbrowser-buf): Use it.
11916         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11918 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11920         Misc cleanup.
11921         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11922         Use replace-regexp-in-string.
11923         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11924         (makefile-imake-mode-syntax-table): Move init into defvar.
11925         (makefile-mode): Use define-derived-mode.
11927         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11928         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11929         not be present any more.
11931 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11933         * faces.el (set-face-attribute): Fix typo in docstring.
11934         (face-valid-attribute-values): Reflow docstring.
11936 2010-03-24  Glenn Morris  <rgm@gnu.org>
11938         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11940 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11942         * indent.el (indent-for-tab-command): Doc fix.
11944 2010-03-24  Alan Mackenzie  <acm@muc.de>
11946         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11947         Fix off-by-one error.  Fixes bug #5747.
11949 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11951         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11952         (image-dired-read-comment): Doc fix.
11954         * json.el (json-object-type, json-array-type, json-key-type)
11955         (json-false, json-null, json-read-number):
11956         * minibuffer.el (completion-in-region-functions):
11957         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11958         (cal-tex-cursor-week):
11959         * emacs-lisp/trace.el (trace-function):
11960         * eshell/em-basic.el (eshell/printnl):
11961         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11962         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11963         * obsolete/levents.el (allocate-event, event-key, event-object)
11964         (event-point, event-process, event-timestamp, event-to-character)
11965         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11966         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11967         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11968         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11969         (reftex-highlight-selection): Fix typos in docstrings.
11971 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11973         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11975 2010-03-24  Glenn Morris  <rgm@gnu.org>
11977         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11978         2008-02-13 without comment; mark it obsolete.
11979         (rmail-highlight-headers): Use rmail-highlight-face once more.
11981 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11983         * woman.el (woman2-process-escapes): Only consume the newline if
11984         the filler character is on a line by itself (Bug#5729).
11986 2010-03-24  Kenichi Handa  <handa@m17n.org>
11988         * language/indian.el (devanagari-composable-pattern): Add more
11989         consonants.
11991 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11993         * net/trampver.el: Update release number.
11995 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11997         * net/tramp.el (tramp-find-executable):
11998         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11999         output of "wc -l" more robust.
12000         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12001         (tramp-open-connection-setup-interactive-shell): Remove workaround
12002         for OpenSolaris bug, it is not needed anymore.
12004 2010-03-24  Glenn Morris  <rgm@gnu.org>
12006         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
12008 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
12010         * files.el (auto-mode-alist): Accept more verilog file patterns.
12012 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12014         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12016 2010-03-24  Glenn Morris  <rgm@gnu.org>
12018         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12019         log-edit-before-checkin-process.
12021         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12023         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12025         * vc-dispatcher.el (vc-start-logentry): Doc fix.
12026         (log-view-process-buffer, log-edit-extra-flags): Declare.
12028         * log-edit.el (log-edit-before-checkin-process): Doc fix.
12030 2010-03-23  Sam Steingold  <sds@gnu.org>
12032         Fix bug#5620: recalculate all markers on compilation buffer
12033         modifications, not on file modifications.
12034         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12035         variable: the buffer modification time, for buffers not associated with
12036         files.
12037         (compilation-mode): Create it.
12038         (compilation-filter): Update it.
12039         (compilation-next-error-function): Use it instead of
12040         `visited-file-modtime' for timestamp.
12042 2010-03-23  Juri Linkov  <juri@jurta.org>
12044         Implement Occur multi-line matches.
12045         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12047         * replace.el (occur): Doc fix.
12048         (occur-engine): Set `begpt' to the beginning of the first line.
12049         Set `endpt' to the end of the last match line.  At first, count
12050         line numbers between `origpt' and `begpt'.  Split out code from
12051         `out-line' variable to new let-bindings `match-prefix' and
12052         `match-str'.  In `out-line' add non-numeric prefix to all
12053         non-first lines of multi-line matches.  Finally, count lines
12054         between `begpt' and `endpt' and add to `lines'.
12056 2010-03-23  Juri Linkov  <juri@jurta.org>
12058         * replace.el (occur-accumulate-lines, occur-engine):
12059         Use `occur-engine-line' instead of duplicate code.
12060         (occur-engine-line): New function created from duplicate code
12061         in `occur-accumulate-lines' and `occur-engine'.
12063         * replace.el (occur-engine-line): Add optional arg `keep-props'.
12064         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12066 2010-03-23  Juri Linkov  <juri@jurta.org>
12068         * finder.el: Remove TODO tasks.
12070         * info.el (Info-finder-find-node): Add node "all"
12071         with all package info.  Handle a list of multiple keywords
12072         separated by comma.
12073         (info-finder): In interactive use with a prefix argument,
12074         use `completing-read-multiple' to read a list of keywords
12075         separated by comma.
12077 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12079         Add a new completion style `substring'.
12080         * minibuffer.el (completion-basic--pattern): New function.
12081         (completion-basic-try-completion, completion-basic-all-completions):
12082         Use it.
12083         (completion-substring--all-completions)
12084         (completion-substring-try-completion)
12085         (completion-substring-all-completions): New functions.
12086         (completion-styles-alist): New style `substring'.
12088 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12090         Get rid of .elc files after removal of the corresponding .el.
12091         * Makefile.in (compile-clean): New target.
12092         (compile-main): Use it.
12094 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
12096         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12097         don't do make there.  When compiling with separate object dir, there
12098         is no Makefile there.
12100 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12102         Get rid of the ELCFILES abomination, again.
12103         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12104         (all, compile): Don't call compile-last.
12105         (compile-main): Build the "elcfiles" list dynamically.
12106         (compile-targets): New (internal) target.
12108 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12110         * Makefile.in (top_srcdir): Define.
12111         (abs_top_builddir): Define.
12112         (srcdir): Don't append `/..'.
12113         (EMACS): Use ${abs_top_builddir}.
12114         (all, compile, compile-always, compile-last): Don't set emacswd.
12115         (update-subdirs, update-authors): Use $(top_srcdir) instead of
12116         $(srcdir).
12117         (lisp): Use $(srcdir) instead of @srcdir@.
12119 2010-03-21  Juri Linkov  <juri@jurta.org>
12121         Fix message of multi-line occur regexps and multi-buffer header lines.
12122         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12124         * replace.el (occur-1): Don't display regexp if it is longer
12125         than window-width.  Use `query-replace-descr' to display regexp.
12126         (occur-engine): Don't display regexp in the buffer header for
12127         multi-buffer occur.  Display a separate header line with total
12128         match count and regexp for multi-buffer occur.
12129         Use `query-replace-descr' to display regexp.
12131 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
12133         * net/secrets.el: Fix parenthesis.
12134         (secrets-enabled): Fix parenthesis.
12136 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12138         Use more relative file and directory names.
12139         * Makefile.in (EMACS): Arrange for it to work when we chdir.
12140         (setwins, setwins_almost, setwins_for_subdirs):
12141         Don't `cd'; output relative names.
12142         (all, compile, compile-always, compile-last): Set emacswd.
12143         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12144         Just cd to the lisp source dir so we can use relative file names.
12146         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12148 2010-03-20  Glenn Morris  <rgm@gnu.org>
12150         * textmodes/rst.el: Use faces for font-lock customization, and make the
12151         old -face variables obsolete.
12152         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12153         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12154         (rst-block-face, rst-external-face, rst-definition-face)
12155         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12156         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12157         Make obsolete.
12158         (rst-font-lock-keywords-function): Update for above changes.
12160 2010-03-20  Juri Linkov  <juri@jurta.org>
12162         * s-region.el:
12163         * obsolete/s-region.el: Move to obsolete.
12165 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12167         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12169 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12171         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12173 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12175         Add special markup processing for commit logs.
12176         * log-edit.el (log-edit-extra-flags): New variable.
12177         (log-edit): Add new argument MODE.  Use that mode when non-nil
12178         instead of the log-view-mode.
12179         (log-view-process-buffer): New function.
12181         * vc.el: Document that the checkin method takes optional
12182         arguments.  Document new backend specific method: log-view-mode.
12183         (vc-default-log-edit-mode): New function.
12184         (vc-checkin): Use a backend specific log-view-mode.
12185         Pass extra arguments to the checkin method.
12186         (vc-modify-change-comment): Pass a dummy extra argument.
12188         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12189         log-edit.
12190         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12191         (vc-finish-logentry): Process the log buffer before passing it
12192         down.  Pass log-edit-extra-flags.
12194         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12195         command.
12196         (log-edit-extra-flags, log-edit-before-checkin-process):
12197         New declarations.
12199         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12200         command.
12201         (log-edit-extra-flags, log-edit-before-checkin-process):
12202         New declarations.
12203         (vc-hg-log-edit-mode): New derived mode.
12205         * vc-arch.el (vc-arch-checkin):
12206         * vc-cvs.el (vc-cvs-checkin):
12207         * vc-git.el (vc-git-checkin):
12208         * vc-mtn.el (vc-mtn-checkin):
12209         * vc-rcs.el (vc-rcs-checkin):
12210         * vc-sccs.el (vc-sccs-checkin):
12211         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12213 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12215         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12216         parent typo).
12218 2010-03-19  Glenn Morris  <rgm@gnu.org>
12220         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12222 2010-03-18  Glenn Morris  <rgm@gnu.org>
12224         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12226         * replace.el (query-replace-history): Give it a doc string.
12227         (map-query-replace-regexp): Use query-replace-from-history-variable
12228         and query-replace-to-history-variable.
12230         * mail/hashcash.el (declare-function): Remove duplicate definition.
12232         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12233         Make it an obsolete alias for report-emacs-bug-address.
12234         (message-strip-special-text-properties): Declare.
12235         (report-emacs-bug): Remove test for a pretest bug address.
12236         Combine message-mode-specific code.
12238         * mail/supercite.el: Don't require sendmail.
12239         (mh-in-header-p): Declare rather than using with-no-warnings.
12240         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12241         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12243         * calendar/cal-french.el: Convert to utf-8.
12245         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12246         Emacs scripts.
12248 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12250         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12251         of a subfeature.
12253 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12255         * net/secrets.el (top): Register the D-Bus signals only when the
12256         service "org.freedesktop.secrets" can be pinged.
12257         Provide subfeature `enabled'.
12259 2010-03-14  Juri Linkov  <juri@jurta.org>
12261         Add finder unknown keywords.
12263         * finder.el (finder-unknown-keywords): New function.
12265         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12266         to create a Finder node with unknown keywords.
12268 2010-03-14  Juri Linkov  <juri@jurta.org>
12270         * finder.el (finder-compile-keywords): Replace `princ' with
12271         `prin1' on a list of symbols interned from keyword strings.
12273         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12274         a comma, then split keywords using a comma and optional whitespace.
12275         Otherwise, split by whitespace.
12277         * complete.el:
12278         * face-remap.el:
12279         * log-view.el:
12280         * net/hmac-def.el:
12281         * net/hmac-md5.el:
12282         * net/netrc.el:
12283         * progmodes/mixal-mode.el: Fix keywords.
12285 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12287         * Makefile.in (ELCFILES): Add net/secrets.elc.
12289         * net/secrets.el: New file.
12291 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12293         * facemenu.el (list-colors-display, list-colors-print): New arg
12294         callback.  Use it to allow selecting colors.
12296         * wid-edit.el (widget-image-insert): Insert image prop even if the
12297         current display is non-graphic.
12298         (widget-field-value-set): New fun.
12299         (editable-field): Use it.
12300         (widget-field-value-get): Clean up unused var.
12301         (widget-color-value-create, widget-color--choose-action):
12302         New funs.  Allow using list-colors-display to choose color.
12304 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12306         * cus-edit.el: Resort topmost custom groups.
12307         (custom-buffer-sort-alphabetically): Default to t.
12308         (customize-apropos): Use apropos-parse-pattern.
12309         (custom-search-field): New var.
12310         (custom-buffer-create-internal): Add custom-apropos search field.
12311         (custom-add-parent-links): Don't display parent doc.
12312         (custom-group-value-create): Don't sort top-level custom group.
12313         (custom-magic-value-create): Show visibility button before option name.
12315         (custom-variable-state): New fun, from custom-variable-state-set.
12316         (custom-variable-state-set): Use it.
12317         (custom-group-value-create): Hide options with standard values
12318         using the :hidden-states property.  Use progress reporter.
12320         (custom-show): Simplify.
12321         (custom-visibility): Disable images by default.
12322         (custom-variable): New property :hidden-states.
12323         (custom-variable-value-create): Enable images for
12324         custom-visibility widgets.  Use :hidden-states property to
12325         determine initial visibility.
12327         * wid-edit.el (widget-image-find): Give images center ascent.
12328         (visibility): Add :on-image and :off-image properties.
12329         (widget-visibility-value-create): Use them.
12331 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12333         * cus-edit.el (processes): Remove from development group.
12334         (oop, hypermedia): Delete group.
12335         (comm): Promote to top-level group.
12337         * net/browse-url.el (browse-url):
12338         * net/xesam.el (xesam):
12339         * net/tramp.el (tramp):
12340         * net/goto-addr.el (goto-address):
12341         * net/ange-ftp.el (ange-ftp): Put in comm group.
12343         * view.el (view): Remove from editing group.
12345         * uniquify.el (uniquify): Put in files group.
12347         * net/browse-url.el (browse-url):
12348         * ps-print.el (postscript): Put in external group.
12350         * cus-edit.el (outlines):
12351         * textmodes/text-mode.el (text-mode-hook):
12352         * textmodes/table.el (table):
12353         * textmodes/picture.el (picture):
12354         * outline.el (outlines): Put in wp group.
12356         * nxml/nxml-mode.el (nxml): Remove from wp group.
12358         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12360         * mail/metamail.el (metamail): Remove from hypermedia group.
12362         * cus-edit.el (abbrev):
12363         * whitespace.el (whitespace):
12364         * vcursor.el (vcursor):
12365         * reveal.el (reveal):
12366         * hl-line.el (hl-line): Put in convenience group.
12368         * epg-config.el (epg): Put in data group.
12370         * emulation/pc-select.el (pc-select): Put in emulations group.
12372         * calculator.el (calculator): Put in applications group.
12374 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12376         Add .dir-locals.el support for file-less buffers.
12377         * files.el (hack-local-variables): Split out code to apply local
12378         variable settings ...
12379         (hack-local-variables-apply): ... here.  New function.
12380         (hack-dir-local-variables): Use the default directory for when the
12381         buffer does not have an associated file.
12382         (hack-dir-local-variables-non-file-buffer): New function.
12383         * diff-mode.el (diff-mode):
12384         * vc-annotate.el (vc-annotate-mode):
12385         * vc-dir.el (vc-dir-mode):
12386         * log-edit.el (log-edit-mode):
12387         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12389 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12391         Add support for shelving snapshots and for showing shelves.
12392         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12393         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12394         New functions.
12395         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12396         (vc-bzr-extra-menu-map): Map them.
12398 2010-03-11  Glenn Morris  <rgm@gnu.org>
12400         * cus-edit.el (customize-changed-options-previous-release):
12401         Bump to 23.1.
12403         * image.el (image-animate-max-time): Fix :version tag.
12405 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12407         * Branch for 23.2.
12409 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12411         * vc-git.el (vc-git-revision-table): Include remote branches.
12413 2010-03-10  Kim F. Storm  <storm@cua.dk>
12415         Animated image API.
12416         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12418         * image.el (image-animate-max-time): New defcustom.
12419         (image-animated-types): New defconst.
12420         (create-animated-image, image-animate-timer)
12421         (image-animate-start, image-animate-stop, image-animate-timeout)
12422         (image-animated-p): New functions.
12424         * image-mode.el (image-toggle-display-image):
12425         Replace `create-image' with `create-animated-image'.
12427 2010-03-09  Miles Bader  <miles@gnu.org>
12429         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12430         instead of "format:"; this ensures that the output is
12431         newline-terminated.
12433 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12435         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12436         that all errors are caught, and that the return value is always a
12437         list (Bug#5692).
12439 2010-03-08  Kenichi Handa  <handa@m17n.org>
12441         * language/misc-lang.el (windows-1256): New coding system.
12442         (cp1256): New alias of windows-1256 (bug#5690).
12444 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12446         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12447         call to rfc822-bad-address.  (Bug#5692)
12449 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12451         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12452         Use vc-git-root as default directory for revision path (Bug#5657).
12454 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12456         * calculator.el (calculator): Don't bind split-window-keep-point
12457         (Bug#5674).
12459 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12461         * vc-git.el: Re-flow to fit into 80 columns.
12462         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12463         Remove spurious `quote' element in each case alternative.
12464         (vc-git-show-log-entry): Use prog1.
12465         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12467 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12469         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12471 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12473         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12474         definition, not the name (Bug#5481).
12476 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12478         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12479         argument with a local variable.  (Bug#5670)
12481 2010-03-02  Juri Linkov  <juri@jurta.org>
12483         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12485 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12487         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12488         error when FILENAME and NEWNAME are existing remote directories.
12490         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12491         parameter DIR-FLAG.
12493 2010-03-02  Glenn Morris  <rgm@gnu.org>
12495         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12496         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12498 2010-03-01  Kenichi Handa  <handa@m17n.org>
12500         * language/burmese.el (burmese-composable-pattern): Rename from
12501         myanmar-composable-pattern.
12503         * international/characters.el (script-list):
12504         * international/fontset.el (script-representative-chars):
12505         Change myanmar to burmese.
12506         (otf-script-alist): Likewise.
12507         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12509 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12511         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12513 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12515         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12517 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12519         * net/tramp.el (tramp-handle-write-region): START can be a string.
12520         Take care in the checks.  Reported by Dan Davison
12521         <davison@stats.ox.ac.uk>.
12523 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12525         * net/dbus.el (dbus-introspect, dbus-get-property)
12526         (dbus-set-property, dbus-get-all-properties):
12527         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12529 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12531         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12532         * emacs-lisp/elint.el (elint-add-required-env):
12533         * calendar/icalendar.el (icalendar--add-diary-entry):
12534         * calc/calcalg2.el (math-tracing-integral):
12535         * files.el (recover-session-finish): Use with-current-buffer
12536         instead of save-excursion.
12538 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12540         Fix in-buffer completion when after-change-functions modify the buffer.
12541         * minibuffer.el (completion--replace): New function.
12542         (completion--do-completion): Use it and use relative movement.
12544 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12546         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12548 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12550         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12551         Allow the characters _<> in the stack entry (Bug#5653).
12553 2010-02-26  Kenichi Handa  <handa@m17n.org>
12555         * language/burmese.el: Fix entries in composition-function-table.
12556         (myanmar-composable-pattern): New variable.
12558         * international/fontset.el (setup-default-fontset): Add an entry
12559         for myanmar.
12561         * international/characters.el (script-list): Add Myanmar
12562         Extended-A.
12564 2010-02-26  Glenn Morris  <rgm@gnu.org>
12566         * custom.el (custom-initialize-delay): Doc fix.
12568         * mail/sendmail.el (send-mail-function): Autoload the call
12569         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12571 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12573         * files.el (hack-local-variables-filter): For eval forms, also
12574         check safe-local-variable-p (Bug#5636).
12576 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12578         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12579         setting the modes by `ignore-errors'.  It might fail, for example
12580         if the file is not owned by the user but the group.
12581         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12583 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12585         * files.el (directory-listing-before-filename-regexp):
12586         Use stricter matching for iso-style dates, to avoid false matches with
12587         date-like filenames (Bug#5597).
12589         * htmlfontify.el (htmlfontify): Doc fix.
12591         * eshell/eshell.el (eshell): Doc fix.
12593         * startup.el (fancy-about-screen): In mode-line, apply
12594         mode-line-buffer-id face only to the buffer name (Bug#5613).
12596 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12598         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12599         In `watcom' anchor regexp to start of line, to avoid slowness
12600         (Bug#5599).
12602 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12604         * subr.el (remove-yank-excluded-properties): Explain in a comment
12605         why `category' property is removed.
12607 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12609         * isearch.el (isearch-update-post-hook, isearch-update):
12610         Revert 2010-02-17 change.
12612 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12614         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12615         (icalendar--convert-weekly-to-ical)
12616         (icalendar--convert-yearly-to-ical)
12617         (icalendar--convert-block-to-ical)
12618         (icalendar--convert-cyclic-to-ical)
12619         (icalendar--convert-anniversary-to-ical): Take care of time
12620         specifications where hour has 1-digit only (Bug#5549).
12622 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12624         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12625         of disassemble output in GDB 7.1.
12627 2010-02-19  Glenn Morris  <rgm@gnu.org>
12629         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12630         property.  (Bug#5593)
12632 2010-02-18  Sam Steingold  <sds@gnu.org>
12634         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12636 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12638         Use abbreviated file names in bookmarks (bug#5591).
12639         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12640         calls to expand-file-name.
12641         (bookmark-relocate): Use abbreviated file names in bookmarks.
12642         (bookmark-load): Use abbreviated file names in messages.
12644 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12646         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12647         expand "." and "..".  Reported by Thierry Volpiatto
12648         <thierry.volpiatto@gmail.com>.
12650 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12652         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12653         permissions of the temporary file to "0600".  In case the remote
12654         file has no read permissions for the owner, there might be
12655         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12657 22010-02-18  Glenn Morris  <rgm@gnu.org>
12659         * emacs-lisp/authors.el (authors-renamed-files-alist):
12660         Add entries for INSTALL.CVS.
12662 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12664         * vc-bzr.el: Fix typo in Known Bugs section.
12666         * isearch.el (isearch-update-post-hook): New hook.
12667         (isearch-update): Use the new hook.
12669 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12671         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12672         Fix errors in copying directories.
12673         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12674         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12675         (tramp-handle-delete-file)
12676         (tramp-handle-dired-recursive-delete-directory)
12677         (tramp-handle-write-region): Flush also the cache for the upper
12678         directory.
12680 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
12682         * simple.el (save-interprogram-paste-before-kill): Doc fix.
12684         * cus-edit.el (hardware): Doc fix.
12686         * man.el (man): Add to external custom group.
12688         * delim-col.el (columns): Move to wp custom group.
12690         * doc-view.el (doc-view): Add to data custom group.
12692         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12694         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12695         by ispell-parse-output (Bug#5575).
12697 2010-02-16  Kenichi Handa  <handa@m17n.org>
12699         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12700         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12701         (skkdic-convert): Use `euc-japan' coding system for writing.
12703 2010-02-16  Glenn Morris  <rgm@gnu.org>
12705         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12706         tex-main-file before using it.  (Bug#5562)
12708 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12710         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12711         warnings, since it is annoying for the user to see them each time he
12712         runs the code.
12714 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
12716         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12717         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12718         instead of PROC for caching "first-password-request".  Otherwise,
12719         new processes would not profit from passwords already entered.
12721         * net/tramp-cache.el (tramp-dump-connection-properties):
12722         Don't save "first-password-request" property.
12724 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
12726         * outline.el (outline-head-from-level):
12727         * simple.el (with-wrapper-hook):
12728         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12729         (elint-defun, elint-buffer-env, elint-top-form-logged)
12730         (elint-unbound-variable):
12731         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12732         Fix typos in docstrings.
12734 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
12736         * files.el (insert-directory): When WILDCARD-REGEXP and
12737         FULL-DIRECTORY-P are nil, insert the file entry instead of the
12738         whole directory.  (Bug#5551)
12740         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
12741         dired's alignment sanity.  (Bug#5516)
12743 2010-02-14  Juri Linkov  <juri@jurta.org>
12745         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12746         Remove remaining ^H with their preceding chars.  (Bug#5566)
12748 2010-02-13  Glenn Morris  <rgm@gnu.org>
12750         * simple.el (transpose-subr): Give it a doc-string.
12752         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12753         Doc fixes.
12755 2010-02-12  Juri Linkov  <juri@jurta.org>
12757         * arc-mode.el (archive-unique-fname): Make directories for nested
12758         archives.  (Bug#5540)
12760 2010-02-12  Juri Linkov  <juri@jurta.org>
12762         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
12764 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12766         * subr.el (copy-overlay): Handle deleted overlays.
12768         * man.el (Man-completion-table): Don't signal an error if we can't run
12769         manual-program (bug#4056).
12771 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
12773         * textmodes/artist.el (artist-mt): Fix typos in docstring.
12775 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12777         * info.el (Info-bookmark-jump): Simplify.
12779         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12780         (bookmark-default-handler): Accept new bookmark field `buffer'.
12782 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
12784         * iswitchb.el (iswitchb-completions): Revert last change.
12786 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
12788         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12789         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12790         This prevents file names like "~/" being listed literally.
12792 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12794         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12795         Remove dead code.  (Bug#5546)
12797 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
12799         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12800         correctly (Bug#5548).
12802 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12804         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12805         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12807 2010-02-08  Kenichi Handa  <handa@m17n.org>
12809         * international/mule-util.el (with-coding-priority): Add autoload
12810         cookie for putting `lisp-indent-function'.
12812 2010-02-07  Glenn Morris  <rgm@gnu.org>
12814         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12815         Move F2003 named interfaces from keywords-2 to keywords-1, and
12816         use function-name-face rather than constant-face.
12817         Simplify "abstract interface" regexp.
12819 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12821         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12822         ID-FORMAT.  Pass it to `file-attributes'.
12824         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12826 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12828         * faces.el (set-face-attribute): Allow calling
12829         internal-set-lisp-face-attribute with 'unspecified family and
12830         foundry argument (Bug#5536).
12832 2010-02-07  Glenn Morris  <rgm@gnu.org>
12834         * progmodes/f90.el (f90-font-lock-keywords-2)
12835         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12836         Handle F2003 named interfaces.
12838 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12840         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12841         beg and end before calling c-get-state-before-change-functions.
12843 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12845         * vc-bzr.el (vc-bzr-dir-extra-headers):
12846         Disable the pending merges header.
12848 2010-02-05  Juri Linkov  <juri@jurta.org>
12850         * doc-view.el (doc-view-mode):
12851         * image-mode.el (image-mode): Put property mode-class=special.
12852         (Bug#4896)
12854 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12856         * vc-svn.el (vc-svn-revision-table): New function.
12858 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12860         * net/ange-ftp.el (ange-ftp-insert-directory):
12861         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12862         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12863         Handle also directories.  (Bug#5478)
12865 2010-02-05  Glenn Morris  <rgm@gnu.org>
12867         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12869 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12871         * startup.el (command-line-1): Convert options beginning with a
12872         single dash as well (Bug#5519).
12874 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12876         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12877         * minibuffer.el (completion-initials-expand): Only check the presence
12878         of delims *within* the boundaries, since otherwise the / delim is
12879         always found for files.
12881         Fix up various corner case problems.
12882         * doc-view.el (doc-view-last-page-number): New function.
12883         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12884         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12885         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12886         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12887         (doc-view-convert-current-doc): Don't create the resolution.el file
12888         here any more.
12889         (doc-view-pdf/ps->png): Do it here instead.
12890         (doc-view-already-converted-p): Check that resolution.el is present.
12891         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12892         windows that are not yet showing images.
12894 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12896         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12897         `dired-uncache' for every elemnt which is an absolute file name.
12899         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12900         directory, handle its directory component.
12901         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12902         function is called permanently and creates noise, otherwise.
12904         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12905         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12906         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12908 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12910         * macros.el (apply-macro-to-region-lines):
12911         Minor simplification.  (Bug#5485)
12913 2010-02-04  Glenn Morris  <rgm@gnu.org>
12915         * mail/rmail.el (rmail-show-message-1): Handle malformed
12916         quoted-printable text.  (Bug#5441)
12918         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12920         * simple.el (visual-line-mode): Capitalize lighter.
12922 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12924         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12925         list of files considered for "virtual buffer" completions.
12927 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12929         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12930         also in case of (and (not full) (not wildcard)).  This is needed
12931         when dired is called with a list of files, which are not in
12932         `default-directory'.  (Bug#5478)
12934 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12936         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12938 2010-02-02  Juri Linkov  <juri@jurta.org>
12940         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12941         from unidiff to allow function-line after @@.
12943 2010-02-02  Juri Linkov  <juri@jurta.org>
12945         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12946         '(RCS SCCS) with inverted condition.
12948 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12950         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12951         messages.
12953 2010-02-01  Juri Linkov  <juri@jurta.org>
12955         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12956         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12957         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12958         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12960 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12962         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12963         (doc-view-revert-buffer): New command.
12964         (doc-view-mode-map): Use it.
12966 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12968         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12969         pending merge is detected.
12971 2010-01-31  Juri Linkov  <juri@jurta.org>
12973         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12974         beginning of interactive spec like all other grep commands do.
12975         Put "all" in front of "gz".  (Bug#5260)
12977 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12979         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12981 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12983         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12984         regexp is incorrect (Bug#5476).
12986 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12988         * net/tramp.el (tramp-handle-insert-directory): Handle also
12989         symlinks, when FILENAME is not in `default-directory'.
12991 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12993         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12994         FILE is not in `default-directory'.  (Bug#5478)
12996         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12997         of SWITCHES.  Handle the case, FILENAME is not in
12998         `default-directory'.  (Bug#5478)
12999         (tramp-register-file-name-handlers): Add safe-magic property.
13001 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
13003         * arc-mode.el (archive-zip-extract): Quote the argument passed to
13004         unzip (Bug#5475).
13006 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
13008         * progmodes/flymake.el (flymake-allowed-file-name-masks)
13009         (flymake-master-make-header-init): Add other C++ filename masks.
13010         (flymake-find-possible-master-files)
13011         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13013 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
13015         Fix some busybox annoyances.
13017         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13018         not responding." string.
13019         (tramp-open-connection-setup-interactive-shell): Dump stty
13020         settings.  Enable "neveropen" arg for all `tramp-send-command'
13021         calls.  Handle "=" in variable values properly.
13022         (tramp-find-inline-encoding): Raise an error, when no encoding is
13023         found.
13024         (tramp-wait-for-output): Check, whether PROC buffer is available.
13025         Remove spurious " ^H" sequences, sent by busybox.
13026         (tramp-get-ls-command): Suppress coloring, if possible.
13028 2010-01-28  Glenn Morris  <rgm@gnu.org>
13030         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
13032         * log-edit.el (log-edit-strip-single-file-name): Add missing
13033         :safe, :group, and :version tags.
13035 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
13037         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13038         buffers.  (Bug#5477)
13040 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
13042         * files.el (delete-directory): Handle moving to trash without
13043         first doing recursion (Bug#5436).
13045 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
13047         * vc-hooks.el (vc-path): Mark as obsolete.
13049 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
13051         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13052         names too.
13054         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13055         for the short log.
13056         (vc-bzr-log-view-mode): Adjust regexp for the above change.
13058 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
13060         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13062         * vc-bzr.el (vc-bzr-revision-table): New function.
13064 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
13066         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13067         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
13069 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
13071         Remove support for adding --signoff on commit.
13072         Future support will use an incompatible generic mechanism.
13073         * vc-git.el (vc-git-add-signoff): Remove variable.
13074         (vc-git-toggle-signoff): Remove function.
13075         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13077         * term/xterm.el (xterm-maybe-set-dark-background-mode):
13078         Rename from xterm-set-background-mode.  Return t if the background mode
13079         was set.
13080         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13081         earlier, call it again in case the background mode has changed.
13083 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
13085         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13086         (Bug#3541).
13088 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
13090         * emacs-lisp/assoc.el (aelement): Doc fix.
13091         (aput, adelete, amake): Use lexical-let (Bug#5450).
13093 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
13095         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13096         is the same as subprogram call, not declaration.  (Bug#5435).
13098 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
13100         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13101         (tramp-smb-maybe-open-connection): Use it.
13103 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
13105         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
13107 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13109         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13110         just because we see "encoding: 8bit".
13111         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13113 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
13115         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13117 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
13119         * jka-compr.el (jka-compr-load): If load-file is not in
13120         load-history, try its file-truename version.  (bug#5447)
13122 2010-01-21  Alan Mackenzie  <acm@muc.de>
13124         Fix a situation where deletion of a cpp construct throws an error.
13125         * progmodes/cc-engine.el (c-invalidate-state-cache):
13126         Before invoking c-with-all-but-one-cpps-commented-out, check that the
13127         special cpp construct is still in the buffer.
13128         (c-parse-state): Record the special cpp with markers, not numbers.
13130 2010-01-21  Kenichi Handa  <handa@m17n.org>
13132         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13133         process last-command-event, as it is now decoded first (Bug#5380).
13135 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
13137         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13139 2010-01-20  Glenn Morris  <rgm@gnu.org>
13141         * indent.el (tab-always-indent): Fix custom-type.
13143 2010-01-19  Alan Mackenzie  <acm@muc.de>
13145         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13146         buffer throws "args out of range".
13147         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13148         playing the role of delimiter.
13150 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13152         * progmodes/ada-mode.el: Fix bug#5400.
13153         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13154         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13155         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13156         Improve comments in "is" portion.  Handle null procedure declaration.
13157         (ada-move-to-end): Improve doc string.
13159 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13161         * ido.el (ido-cur-list): Initialize to nil.
13162         Remove obsolete information from commentary.
13163         (ido-choice-list): Initialize to nil.
13164         (ido-get-bufname): Reject minibuffers.
13165         (ido-make-buffer-list): If "default" is a nonexistent
13166         buffer, ignore it, as per the function's comment.
13167         (ido-kill-buffer-internal): New function.
13168         (ido-kill-buffer-at-head): Use it.
13169         (ido-visit-buffer): Likewise.
13171 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13173         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13175 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13177         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13178         Fix typos in chart titles.
13180         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13181         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13182         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13183         (describe-class, eieio-describe-generic, describe-generic):
13184         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13185         (eieio-speedbar-expand):
13186         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13187         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13188         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13189         (viper-del-backward-char-in-replace, viper-backward-indent)
13190         (viper-brac-function, viper-register-to-point, viper-submit-report):
13191         * net/tramp.el (tramp-remote-coding-commands):
13192         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13193         Fix typos in docstrings.
13195 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13197         * mail/sendmail.el (mail-yank-original): Set the mark if the
13198         specified function for yanking does not do it.
13200 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13202         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13204         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13205         resyncing a directory.
13207 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13209         * progmodes/ada-mode.el: Fix bug#1920.
13210         (ada-ident-re): Delete ., allow multibyte characters.
13211         (ada-goto-label-re): New; matches goto labels.
13212         (ada-block-label-re): New; matches block labels.
13213         (ada-label-re): New; matches both.
13214         (ada-named-block-re): Deleted; callers changed to use
13215         `ada-block-label-re' instead.
13216         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13217         Use `ada-block-label-re'.
13218         (ada-indent-on-previous-lines): Improve handling of goto labels.
13219         (ada-get-indent-block-start): Special-case block label.
13220         (ada-get-indent-label): Split into `ada-indent-block-label' and
13221         `ada-indent-goto-label'.
13222         (ada-goto-stmt-start, ada-goto-next-non-ws):
13223         Optionally ignore goto labels.
13224         (ada-goto-next-word): Simplify.
13225         (ada-indent-newline-indent-conditional): Insert newline before
13226         trying to fix indentation; doc fix.
13228 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13230         * calc/calc.el (calc-command-flags): Give it an initial value.
13232 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13234         * files.el (minibuffer-with-setup-hook):
13235         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13236         (artist-key-draw-continously, artist-key-do-continously-continously)
13237         (artist-key-set-point-continously, artist-mouse-draw-continously):
13238         Fix typos in docstrings.
13240 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13242         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13243         Never return t (Bug#3898).
13245 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13247         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13248         can parse the output of the external commands (Bug#5279).
13250 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13252         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13254 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13256         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13258         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13260         * startup.el (command-line): Remove unused --icon-type arg.
13261         Handle --display arg, passing it to command-line-1 (Bug#5392).
13263 2010-01-16  Mario Lang  <mlang@delysid.org>
13265         * emacs-lisp/chart.el (chart-translate-namezone):
13266         * textmodes/artist.el (artist-compute-popup-menu-table):
13267         Remove duplicated words in doc-strings.
13269 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13271         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13272         to mairix-search to suppress threading (Bug#5342).
13274 2010-01-15  Kenichi Handa  <handa@m17n.org>
13276         * international/mule-cmds.el (canonicalize-coding-system-name):
13277         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13279 2010-01-15  Glenn Morris  <rgm@gnu.org>
13281         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13283         * wid-edit.el (widget-keymap): Doc fix.
13285         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13286         former seems to be more widely accepted by various svn versions.
13288 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13290         * find-cmd.el (find-constituents):
13291         * vc-arch.el (vc-arch-root):
13292         * window.el (window-body-height, pop-up-frames):
13293         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13294         * progmodes/ada-stmt.el (ada-if):
13295         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13296         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13297         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13298         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13300         * progmodes/flymake.el (flymake-post-syntax-check):
13301         Fix typo in error message.
13303 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13305         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13306         which is always a string.  (Bug#5313)
13308 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13310         * progmodes/ada-xref.el (ada-default-prj-properties):
13311         Simplify previous change.
13313 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13315         * progmodes/ada-xref.el (ada-default-prj-properties):
13316         Default ada_project_path to $ADA_PROJECT_PATH.
13318 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13320         * progmodes/ada-mode.el (ada-create-keymap):
13321         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13323 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13325         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13326         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13327         (ada-get-current-indent, ada-imenu-generic-expression)
13328         (ada-which-function): Check for it.
13330 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13332         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13333         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13335 2010-01-14  Glenn Morris  <rgm@gnu.org>
13337         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13339 2010-01-14  Kenichi Handa  <handa@m17n.org>
13341         * composite.el (auto-composition-mode): Make it a buffer local
13342         variable (permanent-local).
13343         (auto-composition-function): Set the default value to
13344         auto-compose-chars.
13345         (auto-composition-mode): Make it a simple function, not a minor mode.
13346         (global-auto-composition-mode): Likewise.
13347         (turn-on-auto-composition-if-enabled): Delete it.
13349 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13351         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13353 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13355         * files.el (copy-directory): Compute target for recursive
13356         directories with identical names.  (Bug#5343)
13358 2010-01-12  Glenn Morris  <rgm@gnu.org>
13360         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13361         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13363 2010-01-11  Sam Steingold  <sds@gnu.org>
13365         * imenu.el (imenu-default-create-index-function): Detect infinite
13366         loops caused by imenu-prev-index-position-function.
13368 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13370         * htmlfontify.el (htmlfontify-load-rgb-file)
13371         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13372         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13373         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13374         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13375         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13376         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13377         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13378         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13379         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13380         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13381         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13382         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13383         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13384         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13385         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13386         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13387         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13388         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13389         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13390         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13391         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13392         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13393         backslash-quoting from parentheses, etc.
13395 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13397         * progmodes/js.el: Autoload javascript-mode alias.
13399 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13401         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13402         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13403         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13404         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13405         Fix typos in docstrings.
13406         (ffap-url-regexp): Doc fix.
13407         (ffap-at-mouse): Fix typo in message.
13409 2010-01-11  Glenn Morris  <rgm@gnu.org>
13411         * version.el (emacs-copyright): Set copyright year to 2010.
13413 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13415         * format.el (format-annotate-function): Only set
13416         write-region-post-annotation-function after running to-fn so as not to
13417         affect nested write-region calls (bug#5273).
13419 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13421         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13422         wisent/python.el.
13424 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13426         * man.el (Man-goto-section): Signal error if the section is not
13427         found (Bug#5317).
13429 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13431         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13432         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13434 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13436         * progmodes/compile.el: Don't treat compile-command as safe if
13437         compilation-read-command might be nil (Bug#4218).
13439 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13441         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13442         NS options.
13444 2010-01-08  Kenichi Handa  <handa@m17n.org>
13446         * international/fontset.el (build-default-fontset-data):
13447         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13449 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13451         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13452         to `create-file-buffer' as it expects, not just a buffer name.
13453         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13454         to help uniquify.  (Bug#3224)
13456 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13458         * font-setting.el (font-setting-change-default-font): Use user-spec
13459         instead of name.
13461 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13463         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13465 2010-01-05  Tom Tromey  <tromey@redhat.com>
13467         * progmodes/python.el (python-font-lock-keywords):
13468         Handle qualified decorators (Bug#881).
13470 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13472         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13473         in a lightweight checkout.
13475 2010-01-05  Kenichi Handa  <handa@m17n.org>
13477         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13479 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13481         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13483 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13485         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13486         checkouts.  (Bug#618)
13487         (vc-bzr-log-view-mode): Also highlight the author.
13488         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13489         (vc-bzr-shelve-menu-map):
13490         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13491         (vc-bzr-shelve-apply): Make prompt more explicit.
13493 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13495         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13496         They are valid characters in URL paths (rfc3986), and at least
13497         Firefox does not understand the encoded version (Bug#3166).
13499 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13501         * progmodes/octave-mod.el (octave-end-keywords)
13502         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13503         Add "end" keyword (Bug#3061).
13504         (octave-end-as-array-index-p): New function.
13505         (calculate-octave-indent): Use it.
13507 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13509         * bookmark.el: Consistently put the text property on the bookmark name.
13510         (bookmark-bmenu-marks-width): Bump back to 2, to include
13511         annotation marks.
13512         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13513         property on the bookmark name, instead of not putting it at all.
13514         (bookmark-bmenu-list): Fix where we put the text property.
13516 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13518         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13519         for showing buffer modified state (as added in the previous change).
13521 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13523         * bookmark.el: Show modified state of bookmark buffer more accurately.
13524         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13525         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13526         (with-buffer-modified-unmodified): New macro.
13527         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13528         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13529         Use new macro to preserve the buffer modified state.
13531 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13533         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13534         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13535         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13536         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13537         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13538         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13539         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13541 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13543         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13544         Make the lines in the generated doc string shorter.  (Bug#4668)
13546 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13548         * net/rcirc.el: Add follow-link binding (Bug#4738).
13550 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13552         * Makefile.in (bzr-update): Rename from cvs-update.
13553         (cvs-update): New target for backward compatibility.
13555         * makefile.w32-in (bzr-update): Rename from cvs-update.
13556         (cvs-update): New target for backward compatibility.
13558 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13560         * bookmark.el: Remove gratuitous gratitude.
13562 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13564         * bookmark.el (bookmark-bmenu-any-marks): New function.
13565         (bookmark-bmenu-save): Clear buffer modification if no marks.
13567 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13569         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13570         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13571         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13572         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13574         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13575         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13576         To: emacs-devel {_AT_} gnu.org
13577         Subject: bookmark.el bug report
13578         Date: Mon, 28 Dec 2009 14:19:16 +0800
13579         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13581 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13583         * bookmark.el: Improvements suggested by Drew Adams:
13584         (bookmark-bmenu-ensure-position): New name for
13585         `bookmark-bmenu-check-position'.  Just ensure the position,
13586         don't return any meaningful value.
13587         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13588         New constants.
13590 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13592         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13593         (bookmark-yank-point, bookmark-bmenu-check-position):
13594         Fix typos in docstrings.
13595         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13596         (bookmark-name-from-full-record, bookmark-get-position)
13597         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13598         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13599         Remove useless quoting of parenthesis, etc. in docstrings.
13601         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13602         (ediff-append-custom-diff): Fix typo in error message.
13603         (ediff-meta-mark-equal-files): Fix typos in messages.
13605         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13607         * net/imap-hash.el (imap-hash-make): Doc fix.
13608         (imap-hash-test): Fix typo in error message; reflow docstring.
13609         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13610         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13611         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13612         Fix typos in docstrings.
13613         (imap-hash-open-connection): Fix typo in error message.
13615         * play/gomoku.el (gomoku): Fix typos in docstring.
13617         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13618         (gdb-jsonify-buffer): Fix typos in docstring.
13619         (gdb-goto-breakpoint): Fix typo in error message.
13620         ("Display Other Windows"): Fix typo in help message.
13621         (gdb-speedbar-expand-node): Fix typo in question.
13623         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13624         (idlwave-html-system-help-location, idlwave-html-help-location)
13625         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13626         (idlwave-help-browser-generic-args, idlwave-help-directory)
13627         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13628         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13629         (idlwave-online-help, idlwave-help-html-link)
13630         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13631         Fix typos in docstrings.
13632         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13633         Reflow docstrings.
13634         (idlwave-help-assistant-start): Fix typo in error message.
13636         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13637         (octave-electric-space): Fix typos in docstrings.
13639 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13641         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13643 2010-01-01  Juri Linkov  <juri@jurta.org>
13645         * comint.el (comint-input-ring-size): Make it a defcustom and
13646         increase the default to 500 (Bug#5148).
13648 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13650         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13651         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13652         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13654 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13656         Show working revision correctly for mercurial.
13657         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13658         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13660 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13662         Declare some functions for the byte-compiler.
13663         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13664         (speedbar-timer-fn, speedbar-change-expand-button-char)
13665         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13667 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13669         This changeset reverts GDB Graphical Interface to use annotations.
13670         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13672 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13674         Make vc-dir work on subdirectories of the bzr root.
13675         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13676         Return file names relative to it.
13677         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13678         relative directory to vc-bzr-after-dir-status.
13680 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
13682         * font-lock.el (font-lock-refresh-defaults): New function, which
13683         can be used to let font-lock react to external changes in
13684         variables like font-lock-defaults and keywords.
13685         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13687 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
13689         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13691         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13693 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
13695         Supersede color.diff settings in git log (bug#5211).
13697         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13698         escape chars in its output when the user has color.diff set to `always'.
13699         This fix works on git 1.4.2 and newer (released on 2006-08-13).
13701 2009-12-26  Kevin Ryde  <user42@zip.com.au>
13703         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13704         node.  Keep previous "Index" name to work with past coreutils too.
13706         * man.el (man): Revise docstring a bit to show -a and -l as
13707         examples.  Add -k description since support for it has otherwise
13708         been a secret.  (Further to bug#3717.)
13709         (Man-bgproc-sentinel): When "-k foo" produces no output show error
13710         "no matches" rather than "Can't find manpage", as the latter reads
13711         like -k was interpreted as a page name, which is not so.  (Bug#5431)
13713 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
13715         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13716         switches.  Check also for //SUBDIRED// line.
13718 2009-12-25  Kenichi Handa  <handa@m17n.org>
13720         * language/indian.el (devanagari-composable-pattern): Fix to
13721         handle ZWNJ and ZWJ.  Use it in composition-function-table for
13722         Devanagari.
13723         (malayalam-composable-pattern): Fix previous change.
13725 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13727         * ps-print.el (ps-face-attributes): It was not returning the
13728         attribute face for faces specified as string.  Reported by harven
13729         <harven@free.fr>.  (Bug#5254)
13730         (ps-print-version): New version 7.3.5.
13732 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
13734         * calendar/icalendar.el (icalendar--convert-tz-offset):
13735         Fix timezone names.
13736         (icalendar--convert-tz-offset): Fix the "last-day-problem".
13737         (icalendar--add-diary-entry): Remove the trailing blank that
13738         diary-make-entry inserts.
13740 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
13742         Make `file-expand-wildcards' work for remote files.
13744         * files.el (file-expand-wildcards): In case of remote files, check
13745         only local file name part for wildcards.  Provide feature 'files
13746         and subfeature 'remote-wildcards.  (Bug#5198)
13748         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13749         if there is already an established connection.
13750         (tramp-advice-file-expand-wildcards): Remove it.
13752         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13753         (tramp-advice-file-expand-wildcards): Move from tramp.el.
13754         Activate advice for older GNU Emacs versions.  (Bug#5237)
13756 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
13758         Some doc fixes (more needed).
13760         * find-cmd.el (find-constituents): Reflow docstring.
13761         (find-cmd, find-prune, find-command): Fix typos in docstrings.
13762         (find-generic): Doc fix.
13764 2009-12-17  Juri Linkov  <juri@jurta.org>
13766         Fix regression from 23.1 to allow multiple modes in Local Variables.
13768         * files.el (hack-local-variables-filter): While ignoring duplicates,
13769         don't take `mode' into account.
13770         (hack-local-variables-filter, hack-dir-local-variables):
13771         Don't remove duplicate `mode' from local-variables-alist (like `eval').
13773 2009-12-17  Juri Linkov  <juri@jurta.org>
13775         Make `dired-diff' safer.  (Bug#5225)
13777         * dired-aux.el (dired-diff): Signal an error when `file' equals to
13778         `current' or when `file' is a directory of the `current' file.
13780 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
13782         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13783         unconditionally preloaded files.
13785 2009-12-16  Juri Linkov  <juri@jurta.org>
13787         Revert to old 23.1 logic of using the file at the mark as default.
13788         * dired-aux.el (dired-diff): Use the file at the mark as default
13789         if it's not the same as the current file, and the target dir is
13790         the current dir or the mark is active.  Add the current file
13791         as the arg of `dired-dwim-target-defaults'.  Use the default file
13792         in the prompt.  (Bug#5225)
13794 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
13796         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13797         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13798         (tramp-check-for-regexp): Check also, when an echoing shell stops
13799         to echo sent commands.
13801 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13803         * Makefile.in: Revert last change (Bug#5191).
13805 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13807         * vc-hg.el (vc-hg-print-log): Fix argument order.
13808         (vc-hg-working-revision): Make sure the command is executed in a
13809         known environment so that we can parse the output.  (Bug#4417)
13811 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13813         * progmodes/python.el (python-symbol-completions): Remove text
13814         properties from symbol string before calling python-send-receive.
13816 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13818         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13819         when there are values for both file and line.  (Bug#5060)
13821 2009-12-14  Juri Linkov  <juri@jurta.org>
13823         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13824         whitespace after the file name of the first line of unified format,
13825         because git-diff doesn't output whitespace and file modification time
13826         after the file name.
13828 2009-12-14  David Kastrup  <dak@gnu.org>
13830         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13831         check if it already has the `display' property added by
13832         `Info-display-images-node', and not put the `invisible' property
13833         in this case.
13835 2009-12-13  Glenn Morris  <rgm@gnu.org>
13837         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13838         (report-emacs-bug): In message-mode, sort manually before storing
13839         original report text.  (Bug#5178)
13840         Remove superfluous save-excursion.
13842 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13844         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13845         when responding to "GetAll" properties.
13847 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13849         * simple.el (compose-mail): Remove mail-setup-with-from from
13850         customization checks.
13852 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13854         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13855         RAR archives created on Unix systems.
13857 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13859         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13860         the varalias that was accidentally removed by the 2009-11-19 change
13861         (bug#5186).
13863 2009-12-12  Kenichi Handa  <handa@m17n.org>
13865         * language/indian.el (indian-compose-regexp): New function.
13866         (malayalam-composable-pattern): Fix the pattern.
13867         (composition-function-table): Set malayalam-composable-pattern for
13868         Malayalam characters.
13870 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13872         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13873         rather than down-mouse-1, based on follow-link conventions.
13875         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13876         are compiled.
13878 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13880         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13881         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13882         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13883         (verilog-leap-to-head, verilog-backward-token):
13884         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13886 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13888         * progmodes/verilog-mode.el (verilog-auto-lineup)
13889         (verilog-nameable-item-re): Cleanup user-visible spelling and
13890         documentation errors.  One reported by Gary Delp.
13891         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13892         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13893         package, bug195.  Reported by Pierre-David Pfister.
13895 2009-12-11  Glenn Morris  <rgm@gnu.org>
13897         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13899         * mail/emacsbug.el: No longer require sendmail.
13900         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13901         (report-emacs-bug-orig-text): Doc fix.
13902         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13903         New local variables, to adapt to different mail-user-agents.
13904         (report-emacs-bug): Fix test for a gnu.org address.
13905         Use overlays for emphasis, since font-lock defeats 'face property.
13906         Pretest bugs also end up at the newsgroup these days.
13907         Stop message-mode stripping text properties.
13908         Set and use the new buffer-local variables.
13909         (report-emacs-bug-hook): Add doc-string.
13910         Remove some unnecessary save-excursions and simplify.
13911         Use the appropriate hook and send-command.
13913         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13914         capitalization of some menu entries.
13916 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13918         * whitespace.el (whitespace-display-char-on):
13919         Ensure `buffer-display-table' is unique when two or more windows are
13920         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13921         New version 12.1.
13923 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13925         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13926         characters in the Attribute field.
13928 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13930         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13932 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13934         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13935         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13936         Disregard autoload-excludes.
13937         (update-directory-autoloads): Obey autoload-excludes here instead.
13938         But don't store its contents in no-autoloads and remove entries that
13939         refer to excludes files.
13941 2009-12-10  Glenn Morris  <rgm@gnu.org>
13943         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13944         (expand-mail-aliases): Define for compiler.
13946         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13947         Define for compiler.
13949         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13950         appropriate for the mail-user-agent in use.
13952 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13954         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13956 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13958         Fix short log parsing and fontification.
13959         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13960         Fix fontification for the [merge] label.
13962 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13964         Drop some properties to avoid surprises (bug#5002).
13965         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13966         (hfy-fontify-buffer): Use it.
13968 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13970         Minor cleanup.
13971         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13972         Adjust all callers.
13973         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13974         args compulsory.  Adjust callers.
13975         (ffap-gopher-at-point): Remove unused var `name'.
13977         Get rid of the ELCFILES abomination.
13978         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13979         (compile-elcfiles): New phony target.
13980         (compile-main): Compute ELCFILES dynamically.
13981         (compile-clean): New target to remove left-over elc files.
13982         (compile, all): Use it.
13984 2009-12-09  Kenichi Handa  <handa@etlken>
13986         * international/mule-diag.el: Require help-mode instead of help-fns.
13988 2009-12-09  Kenichi Handa  <handa@m17n.org>
13990         * international/mule-cmds.el (ucs-names): Supply sufficiently
13991         fine ranges instead of pre-calculating accurate ranges.
13992         Iterate with bigger gc-cons-threshold.
13994 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13996         Add support for stashing a snapshot of the current tree.
13997         * vc-git.el (vc-git-stash-snapshot): New function.
13998         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14000 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
14002         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14003         instead of `(beginning|end)-of-line'.
14005 2009-12-08  Glenn Morris  <rgm@gnu.org>
14007         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14009         * Makefile.in (ELCFILES): Regenerate.
14011 2009-12-07  Juri Linkov  <juri@jurta.org>
14013         Don't lazy-highlight the comint output in history Isearch mode.
14015         * comint.el (comint-history-isearch-search): Instead of
14016         `comint-line-beginning-position', use `comint-after-pmark-p'
14017         to check if point if before the process mark, and go to
14018         `process-mark' in this case.
14020 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14022         * textmodes/tex-mode.el (latex-complete)
14023         (latex-indent-or-complete): Remove.
14024         (latex-mode): Set completion-at-point-functions instead.
14026         Provide a standard completion command and hook it into TAB.
14027         * minibuffer.el (completion-at-point-functions): New var.
14028         (completion-at-point): New command.
14029         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14030         * progmodes/python.el (python-mode-map): Use completion-at-point.
14031         (python-completion-at-point): Rename from python-partial-symbol and
14032         adjust for use in completion-at-point-functions.
14033         (python-mode): Setup completion-at-point for Python completion.
14034         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14035         extracted from lisp-complete-symbol.
14036         (lisp-complete-symbol): Use it.
14037         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14038         setup completion-at-point for Elisp completion.
14039         (emacs-lisp-mode-map, lisp-interaction-mode-map):
14040         Use completion-at-point.
14041         * ielm.el (ielm-map): Use completion-at-point.
14042         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14043         * progmodes/sym-comp.el: Move to...
14044         * obsolete/sym-comp.el: Move from progmodes.
14046 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
14048         Prevent save-buffer in Rmail buffers from using the coding-system
14049         of the current message, and from clobbering the encoding mnemonics
14050         in the mode line (Bug#4623).
14052         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14053         flag, too.
14054         (rmail-message-encoding): New variable.
14055         (rmail-write-region-annotate): Record the encoding of the current
14056         message in rmail-message-encoding.
14057         (rmail-after-save-hook): New function, restores the encoding of
14058         the current message after the message collection is saved.
14060 2009-12-07  Juri Linkov  <juri@jurta.org>
14062         * progmodes/grep.el (grep-read-files): Use `completing-read'
14063         instead of `read-string'.  Set its `collection' arg to
14064         `read-file-name-internal'.  (Bug#4301)
14066 2009-12-07  Juri Linkov  <juri@jurta.org>
14068         Correctly restore original Isearch point.  (Bug#4994)
14070         * isearch.el (isearch-mode): Move `isearch-push-state' after
14071         `(run-hooks 'isearch-mode-hook)'.
14072         (isearch-cancel): When `isearch-push-state-function' is defined,
14073         let-bind `isearch-cmds' to the first state (the last element of
14074         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14075         function and restores the original point).  Otherwise, move point
14076         to `isearch-opoint'.
14078 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14080         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14081         chars that don't have names, so the table can be built much faster at
14082         run-time.
14084 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
14086         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14087         change.  Suggested by David Kastrup.
14089         * simple.el (compose-mail): Check for incompatibilities and warn.
14090         (compose-mail-user-agent-warnings): New option.
14092 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14094         Support showing a single log entry from vc-annotate.
14095         * vc.el (print-log): Add a new argument: START-REVISION.
14096         (vc-print-log-internal): Add a new optional argument and
14097         pass it to the backend.
14098         (vc-print-log, vc-print-root-log): Adjust callers.
14099         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14100         buffer already displays the requested log entry, use it.
14101         Otherwise display only the log entry in question.
14102         * vc-svn.el (vc-svn-print-log):
14103         * vc-mtn.el (vc-mtn-print-log):
14104         * vc-hg.el (vc-hg-state):
14105         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14106         (vc-git-show-log-entry): Return t on success.
14107         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14108         (vc-bzr-show-log-entry): Return t on success.
14109         * vc-rcs.el (vc-rcs-print-log):
14110         * vc-sccs.el (vc-sccs-print-log):
14111         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14113 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14115         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14116         Add menus to the meta mode.  (Bug#5043)
14118 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
14120         * ediff-init.el (ediff-event-key): Use event-to-character instead of
14121         event-key.
14123         * ediff.el (ediff-buffers-internal): Add unwind-protect.
14125 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
14127         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
14128         Berbain <raphael.berbain@gmail.com>.
14130         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
14131         characters.
14132         (tramp-initial-end-of-output): New defconst.
14133         (tramp-methods, tramp-find-shell)
14134         (tramp-open-connection-setup-interactive-shell)
14135         (tramp-maybe-open-connection): Use it.
14136         (tramp-shell-prompt-pattern, tramp-wait-for-output):
14137         Handle existence of `#' and `$'.
14139         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14140         Use `tramp-initial-end-of-output'.
14142 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14144         Get the background mode from the terminal for xterm, and set
14145         faces accordingly.
14146         * term/xterm.el (xterm-set-background-mode): New function.
14147         (terminal-init-xterm): Use it in case xterm supports background
14148         color queries.  Recompute faces after getting the background
14149         color.
14151 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14153         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14154         number comment back on its own line, for easier parsing.
14156 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14158         Make it work for non-file buffers (bug#5102).
14159         * doc-view.el (doc-view-current-cache-dir):
14160         Use doc-view-buffer-file-name rather than buffer-file-name.
14161         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14163 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14165         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14166         author field is too short.
14168 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14170         * vc-git.el (vc-git-print-log): Handle a limit argument.
14171         Display the short log in graph form and with labels.
14172         (vc-git-log-view-mode): Handle labels.
14174         Make vc-revert change VC state from 'added to 'unregistered.
14175         * vc-git.el (vc-git-revert): Call git reset first.
14177 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14179         * net/newst-backend.el, net/newst-plainview.el:
14180         * net/newst-reader.el, net/newst-ticker.el:
14181         * net/newst-treeview.el, net/newsticker.el:
14182         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14184 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14186         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14188         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14189         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14190         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14191         Update annotation regexp.
14193         * simple.el (beginning-of-visual-line): Constrain to field
14194         boundaries (Bug#5106).
14196 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14198         * xml.el (xml-substitute-numeric-entities):
14199         Move newsticker--decode-numeric-entities in newst-backend.el to
14200         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14201         * net/newst-backend.el (newsticker--parse-generic-feed)
14202         (newsticker--parse-generic-items)
14203         (newsticker--decode-numeric-entities):
14204         Move newsticker--decode-numeric-entities in newst-backend.el to
14205         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14207 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14209         * progmodes/js.el (js--js-not): Add null to the list of values.
14211 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14213         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14215 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14217         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14218         delimiter if it is at the end of the current line.
14219         (bibtex-generate-url-list): Fix docstring.
14221 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14223         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14224         minibuffer's content with itself.
14225         Fold the confirm-after-completion case into the `confirm' case.
14226         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14228 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14230         * ffap.el (ffap-rfc-path): Make this a defcustom since
14231         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14233         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14234         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14236 2009-12-05  Juri Linkov  <juri@jurta.org>
14238         Save and restore dired buffer's point positions too.  (Bug#4880)
14240         * dired.el (dired-save-positions): Return in the first element
14241         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14242         Doc fix.
14243         (dired-restore-positions): First restore buffer's position.
14244         While restoring window's positions, check if window still displays
14245         the original buffer.
14247 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14249         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14250         if possible.
14252         * shell.el (shell): Require ansi-color (Bug#5113).
14254         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14256         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14258 2009-12-05  Alan Mackenzie  <acm@muc.de>
14260         * progmodes/cc-mode.el (c-before-hack-hook)
14261         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14262         `c-file-style' to work again.  This reversion restores the current
14263         software to its state in Emacs 23.1.  (Bug#4146)
14265 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14267         * textmodes/sgml-mode.el (sgml-lexical-context):
14268         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14270 2009-12-05  Juri Linkov  <juri@jurta.org>
14272         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14273         for virtual nodes.  (Bug#4147)
14274         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14275         when moving from a virtual node.
14276         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14277         (Info-mode): Add `Info-virtual-index' to the docstring.
14279 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14281         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14282         track of the buffer position of the end of a BibTeX entry as this
14283         position may change during reformatting.
14284         (bibtex-format-entry): Remove whitespace before processing
14285         numerical fields so that we recognize the latter properly.
14286         (bibtex-reformat): Do not use push which changes the global value
14287         of bibtex-entry-format.
14288         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14289         (bibtex-field-re-init): Replace only space characters by regexp
14290         for whitespace.
14291         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14292         (bibtex-initialize): Also update bibtex-strings.
14293         (bibtex-kill-field): Preserve white space at end of entry.
14294         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14295         Update bibtex-reference-keys.
14297 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14300         point after a star, if that's the only place where modifications can
14301         make progress.
14303 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14305         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14306         in docstrings.
14308 2009-12-04  Juri Linkov  <juri@jurta.org>
14310         * proced.el (proced): Call `(proced-update t)' to update process
14311         information instead of only running proced-post-display-hook.
14312         (proced-send-signal): Add a leading space to the buffer name
14313         " *Marked Processes*" to make this buffer ephemeral.
14315 2009-12-04  Juri Linkov  <juri@jurta.org>
14317         * dired.el (dired-auto-revert-buffer): New defcustom.
14318         (dired-internal-noselect): Use it.
14320 2009-12-04  Juri Linkov  <juri@jurta.org>
14322         Change roles of modes and functions in image-mode.el (Bug#5062).
14324         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14325         in `auto-mode-alist'.
14326         (image-mode-previous-major-mode): New variable.
14327         (image-minor-mode-map): Rename from `image-mode-text-map'.
14328         (image-mode): Move graceful error-handling code from
14329         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14330         (image-minor-mode): Remove all image-handling code.
14331         Replace `image-mode-text-map' with `image-minor-mode-map'.
14332         Check for `image-type' in mode-line format string.
14333         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14334         (image-mode-as-text): New function with most code from
14335         `image-mode-maybe'.
14336         (image-toggle-display-text): Move code that removes image
14337         properties from `image-toggle-display' to here.
14338         (image-toggle-display-image): New function with code that adds
14339         image properties copied from `image-toggle-display'.
14340         (image-toggle-display): Remove most code with leaving only code
14341         that toggles between `image-mode-as-text' and `image-mode'.
14343 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14345         * net/newst-treeview.el
14346         (newsticker--treeview-list-highlight-start): Restored call to
14347         save-excursion: Selected item was stuck.
14348         (newsticker--treeview-list-select): New.
14349         (newsticker--treeview-item-show-text)
14350         (newsticker--treeview-item-show)
14351         (newsticker--treeview-item-update): Use new
14352         newsticker-treeview-item-mode.
14353         (newsticker-treeview-update): Keep current item.
14354         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14355         (newsticker--treeview-first-feed): Doc change.
14356         (newsticker-treeview-list-menu)
14357         (newsticker-treeview-item-menu): Add menu entries.
14358         (newsticker-treeview-item-mode): New.
14360         * net/newst-backend.el (newsticker-customize): Delete other
14361         windows.
14363 2009-12-04  Sam Steingold  <sds@gnu.org>
14365         * log-view.el (log-view-mode-map): "q" calls quit-window,
14366         like in all the other non-self-insert buffers.
14368 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14370         Minor cleanup.
14371         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14372         key decoding rather than do it manually via last-input-event +
14373         ascii-character.
14374         (term-exec): Use delete-and-extract-region.
14375         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14376         (term-process-pager): Remove unused var `i'.
14377         (term-dynamic-simple-complete): Make obsolete.
14378         (serial-update-config-menu): Remove unused vars `y' and `str'.
14379         (term-update-mode-line): Remove unused var `temp'.
14381 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14383         Limit the number of log entries displayed by default.
14384         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14385         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14386         using a prefix argument.
14388 2009-12-03  Glenn Morris  <rgm@gnu.org>
14390         * progmodes/idlwave.el (class): Restore still useful declaration.
14392 2009-12-03  Alan Mackenzie  <acm@muc.de>
14394         Enhance `c-parse-state' to run efficiently in "brace deserts".
14396         * progmodes/cc-mode.el (c-basic-common-init):
14397         Call c-state-cache-init.
14398         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14399         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14400         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14402         * progmodes/cc-langs.el (c-before-font-lock-function):
14403         c-extend-and-neutralize-syntax-in-CPP has been renamed
14404         c-neutralize-syntax-in-and-mark-CPP.
14406         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14407         with `category' properties now, not `syntax-table' ones.
14409         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14410         enhanced (but slower) version of c-end-of-macro that won't land
14411         inside a literal or on another awkward character.
14412         (c-state-cache-too-far, c-state-cache-start)
14413         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14414         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14415         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14416         (c-state-min-scan-pos, c-state-brace-pair-desert)
14417         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14418         buffer local variables.
14419         (c-state-literal-at, c-state-lit-beg)
14420         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14421         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14422         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14423         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14424         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14425         (c-renarrow-state-cache)
14426         (c-append-lower-brace-pair-to-state-cache)
14427         (c-state-push-any-brace-pair, c-append-to-state-cache)
14428         (c-remove-stale-state-cache)
14429         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14430         (c-invalidate-state-cache-1, c-parse-state-1)
14431         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14432         (c-parse-state): Enhance and refactor.
14433         (c-debug-parse-state): Amend to deal with all the new variables.
14435         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14436         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14437         modify to use category text properties rather than syntax-table ones.
14438         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14439         to switch off/on the syntactic paren property of C++ template
14440         delimiters using the category property.
14441         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14442         template delims suppressed.
14443         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14444         New constant/macros which apply category properties to the start
14445         and end of preprocessor constructs.
14446         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14447         "comment out" the syntactic value of characters in preprocessor
14448         constructs.
14449         (c-with-cpps-commented-out)
14450         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14451         with characters in all or all but one preprocessor constructs
14452         "commented out".
14454 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14456         * proced.el (proced-filter-alist): Use regexp-quote.
14458 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14460         Cleanup.
14461         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14462         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14463         arguments.  Expand `default-directory'.
14465         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14466         the benefit of returning an expanded localname.
14467         (tramp-tramp-file-p): Handle the case NAME is not a string.
14469 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14471         Add support for bzr shelve/unshelve.
14472         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14473         (vc-bzr-extra-menu-map): New variables.
14474         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14475         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14476         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14477         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14478         (vc-bzr-dir-extra-headers): Display shelves.
14480         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14482 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14484         * textmodes/bibtex.el (bibtex-complete-internal):
14485         Use completion-in-region.
14486         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14488 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14490         Support applying stashes.  Improve UI.
14491         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14492         (vc-git-stash-apply, vc-git-stash-pop)
14493         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14494         (vc-git-stash-menu): New functions.
14495         (vc-git-stash-menu-map): New variable.
14496         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14498 2009-12-03  Glenn Morris  <rgm@gnu.org>
14500         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14501         (vc-print-log-internal): Fix previous change.
14502         (vc-revert): Correct pluralization.
14504 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14506         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14507         it to be an alist any more.
14508         (makefile-complete): Use completion-in-region.
14510         * progmodes/octave-mod.el (octave-complete-symbol):
14511         Use completion-in-region.
14513         Misc cleanup.
14514         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14515         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14516         (idlwave-complete-class): Don't quote lambda.
14517         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14518         (idlwave-mode-map): Move initialization into declaration.
14519         (idlwave-action-and-binding): Use backquotes.
14520         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14521         Simplify.
14522         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14523         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14524         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14525         `parts', and `all-parts'.
14526         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14527         (idlwave-convert-xml-system-routine-info): Remove unused string
14528         `version-string'.
14529         (idlwave-display-user-catalog-widget): Use dolist.
14530         (idlwave-scanning-lib): Declare dynamically-scoped var.
14531         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14532         (completion-highlight-first-word-only): Declare to silence bytecomp.
14533         (idlwave-popup-select): Tighten scope of `resp'.
14534         (idlwave-find-struct-tag): Remove unused var `beg'.
14535         (idlwave-after-load-rinfo-hook): Declare.
14536         (idlwave-sintern-class-info): Remove unused var `taglist'.
14537         (idlwave-find-class-definition): Remove unused var `list'.
14538         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14539         (idlwave-what-module-find-class): Remove unused var `classes'.
14541 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14543         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14545 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14547         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14548         buffers visited.  Remove redundant current-buffer-saving.
14550 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14552         Use completion-in-buffer and remove uses of dynamic scoping.
14553         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14554         (pascal-buffer-to-use, pascal-flag): Don't declare.
14555         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14556         (pascal-get-completion-decl, pascal-keyword-completion):
14557         Add `pascal-str' argument, save-excursion,
14558         return the found completions, and don't filter with pascal-pred.
14559         (pascal-completion-cache): New var.
14560         (pascal-completion): Don't switch buffer any more (it was never
14561         necessary).  Don't save-excursion any more (it's done by the called
14562         subroutines).  Use a cache to avoid redundant computations.
14563         Use complete-with-action rather than pascal-completion-response and
14564         let it apply the predicate as well.
14565         (pascal-complete-word): Use completion-in-buffer when
14566         pascal-toggle-completions is nil.
14567         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14568         not used any more.
14569         (pascal-comp-defun): Don't change buffer any more.
14570         Use complete-with-action rather than pascal-completion-response and
14571         let it apply the predicate as well.
14572         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14573         when neded.
14575 2009-12-02  Kenichi Handa  <handa@m17n.org>
14577         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14578         shape for all Indic scripts.
14580 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14582         Use completion-in-buffer.
14583         * wid-edit.el (widget-field-text-end): New function.
14584         (widget-field-value-get): Use it.
14585         (widget-string-complete, widget-file-complete)
14586         (widget-color-complete): Use it and completion-in-region.
14587         (widget-complete): Don't narrow the buffer.
14589 2009-12-02  Glenn Morris  <rgm@gnu.org>
14591         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14592         (rmail-select-summary): Use rmail-pop-to-buffer.
14593         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14594         rmail-pop-to-buffer, to prevent horizontal splits.
14596         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14597         save-excursion with save-current-buffer.
14598         Widen before searching.  (Bug#5093)
14599         (diary-list-sexp-entries): Remove superfluous save-excursion.
14601 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14603         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14604         name.  (Bug#5038)
14606 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14608         * ido.el (ido-file-internal): Handle filenames at point that do
14609         not have a directory part.  (Bug#5049)
14611 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14613         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14614         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14616 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14618         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14619         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14620         any more.
14622 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14624         * comint.el (comint-insert-input): Ignore clicks to the right of
14625         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14627         * vc.el (vc-print-log-internal): Don't wait for the process to
14628         terminate before setting up the major mode.
14630         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14631         in case.
14633         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14634         the last element.
14636         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14638 2009-12-01  Glenn Morris  <rgm@gnu.org>
14640         * window.el (window--display-buffer-2): Fix previous changes.
14642 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14644         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14646 2009-12-01  Glenn Morris  <rgm@gnu.org>
14648         * Makefile.in (ELCFILES): Add mpc.elc.
14650 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14652         * mpc.el: New file.
14654 2009-12-01  Glenn Morris  <rgm@gnu.org>
14656         * window.el (window-to-use): Define for compiler.
14658         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14659         consistent with others (no final period).
14661         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14662         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14664 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14666         Make vc-print-log buttons work.
14667         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14669 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14671         * savehist.el (savehist-autosave-interval): Allow setting to nil
14672         through customize.  (Bug#5056)
14674 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14676         Fix references to jit-lock properties.
14677         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14678         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14679         (perl-font-lock-special-syntactic-constructs):
14680         Quote jit-lock-defer-multiline property.
14682 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
14684         * vc-git.el (vc-git-registered): Call vc-git-root only once.
14686 2009-11-30  Juri Linkov  <juri@jurta.org>
14688         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14689         value `buffer' of `multi-isearch-next-buffer-current-function'.
14690         Use `(current-buffer)' when `buffer' is nil.
14691         (multi-isearch-next-buffer-from-list): Don't fallback to
14692         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
14694 2009-11-30  Juri Linkov  <juri@jurta.org>
14696         * misearch.el (multi-isearch-read-buffers): Move canonicalization
14697         of buffers with `get-buffer' to `multi-isearch-buffers'.
14698         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14699         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
14700         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14701         FILES with `expand-file-name' converting relative file names
14702         to absolute.  Doc fix.  (Bug#4727)
14704 2009-11-30  Juri Linkov  <juri@jurta.org>
14706         * misearch.el (multi-isearch-read-buffers)
14707         (multi-isearch-read-matching-buffers): New functions.
14708         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14709         Use them in the `interactive' spec.  Doc fix.
14710         (multi-isearch-read-files, multi-isearch-read-matching-files):
14711         New functions.
14712         (multi-isearch-files, multi-isearch-files-regexp):
14713         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
14715 2009-11-30  Juri Linkov  <juri@jurta.org>
14717         * doc-view.el (doc-view-continuous):
14718         Rename from `doc-view-continuous-mode'.
14719         (doc-view-menu): Move "Toggle display" to the top.
14720         Add submenu "Continuous" with radio buttons "Off"/"On"
14721         and "Save as Default".
14722         (doc-view-scroll-up-or-next-page)
14723         (doc-view-scroll-down-or-previous-page)
14724         (doc-view-next-line-or-next-page)
14725         (doc-view-previous-line-or-previous-page):
14726         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
14728 2009-11-30  Juri Linkov  <juri@jurta.org>
14730         * comint.el (comint-mode-map): Rebind `M-r' from
14731         `comint-previous-matching-input' to
14732         `comint-history-isearch-backward-regexp'.
14733         Unbind `M-s' to allow global key binding `M-s'.
14734         Add menu items for `comint-history-isearch-backward' and
14735         `comint-history-isearch-backward-regexp'.  (Bug#3746)
14737 2009-11-30  Juri Linkov  <juri@jurta.org>
14739         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14740         For def=recenter, replace `recenter' with `recenter-top-bottom'
14741         that is called with `this-command' and `last-command' let-bound
14742         to `recenter-top-bottom'.  When the last `def' was not `recenter',
14743         set `recenter-last-op' to nil.  (Bug#4981)
14745 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14747         Minor cleanup and simplification.
14748         * filecache.el (file-cache-add-directory)
14749         (file-cache-add-directory-recursively)
14750         (file-cache-add-from-file-cache-buffer)
14751         (file-cache-delete-file-regexp, file-cache-delete-directory)
14752         (file-cache-files-matching-internal, file-cache-display): Use dolist.
14753         (file-cache-temp-minibuffer-message): Delete function.
14754         (file-cache-minibuffer-complete): Use minibuffer-message instead.
14756         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14757         Don't signal an error when bumping into EOB in tr, s, or y.
14759 2009-11-29  Juri Linkov  <juri@jurta.org>
14761         * startup.el (fancy-about-text): Fix wording of Guided Tour.
14762         (Bug#4960)
14764         * descr-text.el (describe-char-unidata-list): Use lowercase name
14765         for "Unicode name" like in other tags.
14767 2009-11-29  Juri Linkov  <juri@jurta.org>
14769         * ediff-util.el (ediff-minibuffer-with-setup-hook):
14770         New compatibility macro.
14771         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14773 2009-11-29  Juri Linkov  <juri@jurta.org>
14775         Add defcustom to define the cycling order of `recenter-top-bottom'.
14776         (Bug#4981)
14778         * window.el (recenter-last-op): Doc fix.
14779         (recenter-positions): New defcustom.
14780         (recenter-top-bottom): Rewrite to use `recenter-positions'.
14781         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14783 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
14785         Improve integration of Tramp and ange-ftp in eshell.
14787         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14788         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
14789         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
14791         * eshell/esh-util.el (top): Require also Tramp when compiling.
14792         (eshell-directory-files-and-attributes): Check for FTP remote
14793         connection.
14794         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14795         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14796         (eshell-file-attributes): Handle ".".  Return `entry'.
14798         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14799         (ange-ftp-directory-files-and-attributes)
14800         (ange-ftp-real-directory-files-and-attributes): New defuns.
14802         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14803         shell with "exec" when possible.  This prevents trailing prompts
14804         in `start-file-process'.
14806 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14808         Try and remove assumptions about point-min==1.
14809         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14810         (rng-compute-mode-line-string): Show the validation percentage in
14811         terms of the narrowed text, not the widened text.
14812         (rng-do-some-validation): Don't catch internal errors when debugging.
14813         (rng-first-error): Simplify.
14814         (rng-after-change-function): Remove work around.  AFAIK the bug has
14815         been fixed a while ago.
14817         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14818         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14820         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14822         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14823         `cd' doesn't always do it for us (bug#5067).
14825         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14826         on 2009-10-25 as part of some other change (bug#5067).
14828 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14830         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14831         `suspicious'.
14832         (byte-compile-warnings): Use byte-compile-warning-types.
14833         (byte-compile-save-excursion): Warn about use of set-buffer right
14834         after save-excursion.
14836         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14837         the excursion as well.
14839 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14841         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14842         providing a Tramp related implementation of "su" and "sudo".
14843         (eshell-unix-initialize): Add "su" and "sudo".
14845 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14847         * net/socks.el (socks-send-command): Convert binary request to
14848         unibyte before sending.  This fixes mishandling of some port
14849         numbers such as 129.
14851 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14853         * help.el (describe-bindings-internal): Remove `interactive'.
14855         * man.el (Man-completion-table): Trim a terminating "(".
14856         Remove the space between name page a section.
14857         Add the command's description on the `help-echo' property.
14858         Remove `process-connection-type' binding since it's unused by
14859         call-process.
14860         Provide completion for the "<section> <name>" format as well.
14861         (Man-default-man-entry): Remove spurious var shadowing the argument.
14863 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14865         * log-view.el: Add "Keywords: tools", since its other keywords
14866         aren't in finder-known-keywords, and following vc.el.
14868         * sha1.el (sha1-string-external): default-directory "/" in case
14869         otherwise non-existent.  process-connection-type pipe for touch of
14870         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14872 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14874         Misc coding convention cleanups.
14875         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14876         hfy-init-kludge-hooks.
14877         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14878         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14879         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14880         and push.
14881         (hfy-slant, hfy-weight): Use tables rather than code.
14882         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14883         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14884         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14885         (hfy-face-to-css): Remove `nconc' with single arg.
14886         (hfy-p-to-face-lennart): Use `or'.
14887         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14888         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14889         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14890         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14891         (hfy-force-fontification): Use run-hooks.
14893 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14895         Various minor fixes.
14896         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14897         Javascript belongs in the header, not the body.
14898         (hfy-javascript): Remove.
14899         (hfy-fontify-buffer): Don't insert it any more.
14900         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14901         Fix bug in invis handling when there were no invis props in a chunk.
14903 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14905         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14907 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14909         * finder.el (finder-mode-map): Add a menu.
14911 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14913         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14914         "unsigned" structs.
14916         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14917         fork" statement better.
14919 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14921         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14922         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14923         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14924         Reported by Clay Douglass.
14926         (verilog-auto-inst, verilog-auto-star-safe)
14927         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14928         Fix removing "// Interfaces" when saving .* expansions.
14929         Reported by Pierre-David Pfister.
14931 2009-11-26  Glenn Morris  <rgm@gnu.org>
14933         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14934         the scope.
14936 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14938         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14939         Really use previous revision.
14941 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14943         * man.el (Man-completion-table): default-directory "/" in case
14944         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14945         not to truncate long names.  process-connection-type pipe to avoid
14946         any chance of hitting the pseudo-tty TIOCGWINSZ.
14947         (man): completion-ignore-case t for friendliness and since man
14948         itself is case-insensitive on the command line.
14949         Further to Bug#3717.
14951         * arc-mode.el: Add "Keywords: files", so the details in its
14952         commentary can be reached from finder-by-keyword.
14953         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14954         editing mode, but it's comms related and sgml-mode.el has "comm"
14955         on that basis too.
14956         * textmodes/bibtex-style.el: Add "Keywords: tex".
14957         * international/isearch-x.el, international/ja-dic-cnv.el:
14958         * international/ja-dic-utl.el, international/kkc.el:
14959         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14961 2009-11-25  Juri Linkov  <juri@jurta.org>
14963         * man.el (Man-completion-table): Modify regexp to include
14964         section names to completion strings.  (Bug#3717)
14966 2009-11-25  Juri Linkov  <juri@jurta.org>
14968         Search recursively in gzipped files.  (Bug#4982)
14970         * progmodes/grep.el (grep-highlight-matches): Add new options
14971         `always' and `auto'.  Doc fix.
14972         (grep-process-setup): Check `grep-highlight-matches' for
14973         `auto-detect' to determine the need to compute grep defaults.
14974         Move Windows/DOS specific --colors settings handling
14975         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14976         to get the value of "--color=".
14977         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14978         has the value `auto-detect'.  Move Windows/DOS specific settings
14979         from `grep-process-setup'.
14980         (zrgrep): New command with alias `rzgrep'.
14982 2009-11-25  Juri Linkov  <juri@jurta.org>
14984         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14985         to nil instead of switching off view-mode.  (Bug#4896)
14987 2009-11-25  Juri Linkov  <juri@jurta.org>
14989         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14991         * mwheel.el (mwheel-scroll-up-function)
14992         (mwheel-scroll-down-function): New defvars.
14993         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14994         `scroll-up', and `mwheel-scroll-down-function' instead of
14995         `scroll-down'.
14997         * doc-view.el (doc-view-scroll-up-or-next-page)
14998         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14999         Use this ARG in the call to image-scroll-up/image-scroll-down.
15000         Change `interactive' spec to "P".  Goto next/previous page only
15001         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15002         SPC/DEL case).  Doc fix.
15003         (doc-view-next-line-or-next-page)
15004         (doc-view-previous-line-or-previous-page): Rename arg to ARG
15005         for consistency.
15006         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15007         `doc-view-scroll-up-or-next-page', and buffer-local
15008         `mwheel-scroll-down-function' to
15009         `doc-view-scroll-down-or-previous-page'.
15011 2009-11-25  Juri Linkov  <juri@jurta.org>
15013         Provide additional default values (directories at other Dired
15014         windows) via M-n in the minibuffer of some Dired commands.
15016         * dired-aux.el (dired-diff, dired-compare-directories)
15017         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15018         `minibuffer-default' in `minibuffer-with-setup-hook'.
15019         (dired-dwim-target-directory): Find a window that displays Dired
15020         buffer instead of failing when the next window is not Dired.
15021         Use `get-window-with-predicate' to find for the next Dired window.
15022         (dired-dwim-target-defaults): New function.
15024         * ediff-util.el (ediff-read-file-name):
15025         Use `dired-dwim-target-defaults' to set `minibuffer-default'
15026         in `minibuffer-with-setup-hook'.
15028 2009-11-25  Juri Linkov  <juri@jurta.org>
15030         Provide additional default values (file name at point or at the
15031         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
15033         * minibuffer.el (read-file-name-defaults): New function.
15034         (read-file-name): Reset `minibuffer-default' to nil when
15035         it duplicates initial input `insdef'.
15036         Bind `minibuffer-default-add-function' to lambda that
15037         calls `read-file-name-defaults' in `minibuffer-selected-window'.
15038         (minibuffer-insert-file-name-at-point): New command.
15040         * files.el (file-name-at-point-functions): New defcustom.
15041         (find-file-default): Remove defvar.
15042         (find-file-read-args): Don't use `find-file-default'.
15043         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15044         to `read-file-name'.
15045         (find-file-literally): Use `read-file-name' with
15046         `confirm-nonexistent-file-or-buffer'.
15048         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15050         * dired.el (dired-read-dir-and-switches):
15051         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15052         to `read-file-name'.
15053         (dired-file-name-at-point): New function.
15054         (dired-mode): Add hook `dired-file-name-at-point' to
15055         `file-name-at-point-functions'.
15057 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15059         Really make the *Completions* window soft-dedicated (bug#5030).
15060         * window.el (window--display-buffer-2): Add `dedicated' argument.
15061         (display-buffer): Pass it when needed so the dedicated flag is set
15062         after calling set-window-buffer, which would otherwise reset it.
15064 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15066         * progmodes/meta-mode.el (meta-complete-symbol):
15067         * progmodes/etags.el (complete-tag):
15068         * mail/mailabbrev.el (mail-abbrev-complete-alias):
15069         Use completion-in-region.
15071         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15072         (dabbrev-completion): Use completion-in-region.
15073         (dabbrev--abbrev-at-point): Simplify regexp.
15075         * abbrev.el (abbrev--before-point): Use word-motion functions
15076         if :regexp is not specified (bug#5031).
15078         * subr.el (string-prefix-p): New function.
15080         * man.el (Man-completion-cache): New var.
15081         (Man-completion-table): Use it.
15083         * vc.el (vc-print-log-internal): Make `limit' optional for better
15084         compatibility (e.g. with vc-annotate.el).
15086 2009-11-24  Kevin Ryde  <user42@zip.com.au>
15088         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15089         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
15091         * emacs-lisp/elint.el (elint-add-required-env): Better error message
15092         when .el source file not found or other error.
15094 2009-11-24  Markus Triska  <markus.triska@gmx.at>
15096         * linum.el (linum-update-window): Ignore intangible (bug#4996).
15098 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15100         Handle the [back] button properly (bug#4979).
15101         * descr-text.el (describe-text-properties): Add a `buffer' argument.
15102         Use help-setup-xref, help-buffer, and with-help-window.
15103         (describe-char): Add `buffer' argument.
15104         Pass proper command to help-setup-xref.  Don't meddle with
15105         help-xref-stack-item directly.
15106         (describe-text-category): Use with-help-window and help-buffer.
15108         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15109         for the displayed buffer (bug#4887).
15111         * man.el (Man-completion-table): New function.
15112         (man): Use it.
15114 2009-11-24  David Reitter  <david.reitter@gmail.com>
15116         * vc-git.el (vc-git-registered): Use checkout directory (where
15117         .git is) rather than the file's directory and a relative path spec
15118         to work around a bug in git.
15120 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
15122         Improve handling of processes on remote hosts.
15124         * eshell/esh-util.el (eshell-path-env): New defvar.
15125         (eshell-parse-colon-path): New defun.
15126         (eshell-file-attributes): Use `eshell-parse-colon-path'.
15128         * eshell/esh-ext.el (eshell-search-path):
15129         Use `eshell-parse-colon-path'.
15130         (eshell-remote-command): Remove argument HANDLER.
15131         (eshell-external-command): Check for FTP remote connection.
15133         * eshell/esh-proc.el (eshell-gather-process-output):
15134         Use `file-truename', in order to start also symlinked files.
15135         Apply `start-file-process' instead of `start-process'.
15136         Shorten `command' to the local file name part.
15138         * eshell/em-cmpl.el (eshell-complete-commands-list):
15139         Use `eshell-parse-colon-path'.
15141         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15143         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15144         to `eshell-directory-change-hook'.
15146 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15148         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15149         because it could be enabled automatically if view-read-only is non-nil.
15151 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15153         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15154         made on 2009-11-22.
15156 2009-11-24  Glenn Morris  <rgm@gnu.org>
15158         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15159         deleted variable bookmark-bmenu-bookmark-column.
15161 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15163         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15165 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15167         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15168         two slashes to the "file:" prefix.
15169         (browse-url-file-url): De-munge Cygwin filenames before passing
15170         them to Windows browser.
15171         (browse-url-default-windows-browser): Use call-process.
15173 2009-11-23  Juri Linkov  <juri@jurta.org>
15175         Implement DocView Continuous mode.  (Bug#4896)
15176         * doc-view.el (doc-view-continuous-mode): New defcustom.
15177         (doc-view-mode-map): Bind C-n/<down> to
15178         `doc-view-next-line-or-next-page', C-p/<up> to
15179         `doc-view-previous-line-or-previous-page'.
15180         (doc-view-next-line-or-next-page)
15181         (doc-view-previous-line-or-previous-page): New commands.
15183 2009-11-23  Juri Linkov  <juri@jurta.org>
15185         Implement Isearch in comint input history.  (Bug#3746)
15186         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15187         `isearch-mode-hook'.
15188         (comint-history-isearch): New defcustom.
15189         (comint-history-isearch-backward)
15190         (comint-history-isearch-backward-regexp): New commands.
15191         (comint-history-isearch-message-overlay): New buffer-local variable.
15192         (comint-history-isearch-setup, comint-history-isearch-end)
15193         (comint-goto-input, comint-history-isearch-search)
15194         (comint-history-isearch-message, comint-history-isearch-wrap)
15195         (comint-history-isearch-push-state)
15196         (comint-history-isearch-pop-state): New functions.
15198 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15200         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15201         return.
15202         (tramp-handle-make-symbolic-link)
15203         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15204         Quote file names.
15205         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15206         (tramp-handle-process-file): Use it.
15208 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15210         * window.el (move-to-window-line-last-op): Remove.
15211         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15213 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15215         Make M-r mirror the new cycling behavior of C-l.
15216         * window.el (move-to-window-line-last-op): New var.
15217         (move-to-window-line-top-bottom): New command.
15218         (global-map): Bind M-r move-to-window-line-top-bottom.
15220 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15222         * dired-x.el (dired-guess-shell-alist-default):
15223         Support xz format.  (Bug#4953)
15225 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15227         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15228         last-command-char/last-command-event.
15229         (viper-prefix-arg-value): Do correct conversion of event-char for
15230         XEmacs.
15232         * emulation/viper-util.el, emulation/viper.el:
15233         Use viper-last-command-char instead of
15234         last-command-char/last-command-event.
15236         * ediff-init.el, ediff-mult.el, ediff-util.el:
15237         Replace last-command-char and last-command-event
15238         with (ediff-last-command-char) everywhere.
15240         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15241         created in fundamental mode.
15243         * ediff.el (ediff-version): Revert the change of interactive-p to
15244         called-interactively-p.
15246 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15248         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15249         generation from word-movement command names.
15251 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15253         * cus-start.el (all): Add native condition for font-use-system-font.
15255 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15257         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15258         Correct the patch from 2009-11-18.  (Bug#3910)
15260 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15262         * progmodes/subword.el: Rename from lisp/subword.el.
15264         * subword.el: Rename to progmodes/subword.el.
15266         * Makefile.in (ELCFILES): Adapt to subword.el move.
15268 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15269             Stefan Monnier  <monnier@iro.umontreal.ca>
15271         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15272         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15273         (bookmark-bmenu-show-filenames): Use push.
15274         (bookmark-bmenu-hide-filenames): Use local var instead of
15275         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15276         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15277         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15278         filenames now that the bookmark names are always available.
15280 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15282         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15283         (bookmark-search-pattern): Move and leave unbound.
15284         (bookmark-bmenu-mode-map): Change binding.
15285         (bookmark-read-search-input): Simplify.
15286         Don't use text-char-description.  Don't error on non-char events.
15287         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15288         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15289         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15290         Use a local var for the timer.
15291         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15292         (i.e. bookmark-bmenu-search).
15294 2009-11-21  Glenn Morris  <rgm@gnu.org>
15296         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15298 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15300         * net/browse-url.el (browse-url-default-windows-browser):
15301         Use cygstart for cygwin.
15303 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15305         * bookmark.el: Formatting and doc fixes only:
15306         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15307         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15308         Minor grammar and punctuation fixes in doc string.
15309         (bookmark-read-search-input): Adjust to fit within 80 columns.
15311 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15313         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15314         (c-backward-into-nomenclature): Adapt to subword renaming.
15316         * subword.el (subword-forward, subword-backward, subword-mark)
15317         (subword-kill, subword-backward-kill, subword-transpose)
15318         (subword-downcase, subword-upcase, subword-capitalize)
15319         (subword-forward-internal, subword-backward-internal):
15320         Rename from forward-subword, backward-subword, mark-subword,
15321         kill-subword, backward-kill-subword, transpose-subwords,
15322         downcase-subword, upcase-subword, capitalize-subword,
15323         forward-subword-internal, backward-subword-internal.
15325 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15327         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15328         New options.
15329         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15330         New vars.
15331         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15332         (bookmark-bmenu-filter-alist-by-regexp)
15333         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15334         (bookmark-bmenu-search): New command.
15335         (bookmark-bmenu-mode-map): Bind it.
15337 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15339         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15340         backward-subword to quit the byte-compiler.
15342         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15344         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15346         * progmodes/cc-cmds.el (c-update-modeline)
15347         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15348         Refer to subword.el functions instead of cc-subword.el.
15350         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15351         subword.el functions instead of cc-subword.el.
15353         * progmodes/cc-subword.el: Rename to subword.el.
15354         * subword.el: Rename from progmodes/cc-subword.el.
15355         (subword-mode-map): Rename from c-subword-mode-map.
15356         (subword-mode): Rename from c-subword-mode.
15357         (global-subword-mode): New global minor mode.
15358         (forward-subword): Rename from c-forward-subword.
15359         (backward-subword): Rename from c-backward-subword.
15360         (mark-subword): Rename from c-mark-subword.
15361         (kill-subword): Rename from c-kill-subword.
15362         (backward-kill-subword): Rename from c-backward-kill-subword.
15363         (transpose-subwords): Rename from c-tranpose-subword.
15364         (downcase-subword): Rename from c-downcase-subword.
15365         (capitalize-subword): Rename from c-capitalize-subword.
15366         (forward-subword-internal): Rename from c-forward-subword-internal.
15367         (backward-subword-internal): Rename from c-backward-subword-internal.
15369 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15371         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15372         from a dired buffer.
15373         (vc-dired-deduce-fileset): New function.
15374         (vc-root-diff, vc-print-root-log): Use it.
15376         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15377         nil LIMIT argument to vc-print-log-internal.
15379 2009-11-20  Glenn Morris  <rgm@gnu.org>
15381         * Makefile.in (ELCFILES): Regenerate.
15383 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15385         * calc/calc.el (calc-set-mode-line):
15386         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15387         (math-format-number): Rename `math-format-complement-signed' to
15388         `math-format-twos-complement'.
15390         * calc/calc-bin.el (math-format-twos-complement): Rename from
15391         math-format-complement-signed.
15392         (calc-radix): Rename `calc-complement-signed-mode' to
15393         `calc-twos-complement-mode'.
15394         (calc-octal-radix, calc-hex-radix): Add an argument for
15395         two's complement.
15397         * calc/calc-embed.el (calc-embedded-mode-vars):
15398         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15400         * calc/calc-ext.el (calc-init-extensions):
15401         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15402         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15404         * calc/calc-units.el (math-build-units-table-buffer):
15405         Let `calc-twos-complement-mode' be nil.
15407         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15408         entries.
15410         * calc/calc-vec.el (calcFunc-vunpack):
15411         * calc/calc-aent.el (calc-do-calc-eval):
15412         * calc/calc-forms.el (math-format-date):
15413         * calc/calc-graph.el (calc-graph-plot):
15414         * calc/calc-math.el (math-use-emacs-fn):
15415         * calc/calccomp.el (math-compose-expr):
15416         Let `calc-twos-complement-mode' be nil.
15418 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15420         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15421         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15422         * minibuffer.el (completion-in-region-functions): New hook.
15423         (completion-in-region): New function.
15424         * emacs-lisp/lisp.el (lisp-complete-symbol):
15425         * pcomplete.el (pcomplete-std-complete): Use it.
15427 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15429         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15430         (latex-complete-alist): New vars.
15431         (latex-string-prefix-p, latex-complete-bibtex-keys)
15432         (latex-complete-envnames, latex-complete-refkeys)
15433         (latex-complete-data): New functions.
15434         (latex-complete, latex-indent-or-complete): New commands.
15436         * window.el (display-buffer-mark-dedicated): New var.
15437         (display-buffer): Obey it.
15438         * minibuffer.el (minibuffer-completion-help): Use it.
15440         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15442         * filecache.el (file-cache-add-file): Use push and cons.
15443         (file-cache-delete-file-regexp): Use push.
15444         (file-cache-complete): Use completion-in-region.
15446         * simple.el (with-wrapper-hook): Fix thinko.
15448         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15449         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15450         Use with-current-buffer and string-to-number.
15451         (hfy-fallback-colour-values): Use assoc-string.
15452         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15453         (hfy-face-at): Remove unused var `found-face'.
15454         (hfy-compile-stylesheet): Remove unused var `css'.
15455         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15456         and `orig-buffer'.
15457         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15458         Use with-current-buffer.
15459         (hfy-text-p): Use expand-file-name and fewer setq.
15461 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15463         * htmlfontify.el, hfy-cmap.el: New files.
15465 2009-11-19  Juri Linkov  <juri@jurta.org>
15467         * minibuffer.el (completions-format): New defcustom.
15468         (completion--insert-strings): Implement vertical format.
15470         * simple.el (switch-to-completions): Move point to the first
15471         completion when point was at the beginning of the buffer.
15473 2009-11-19  Juri Linkov  <juri@jurta.org>
15475         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15477         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15479 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15481         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15482         (mail-signature): Change default to t.
15483         (mail-from-style): Deprecate `system-default' value.
15484         (mail-insert-from-field): For default value of mail-from-style,
15485         default to `angles' unless `angles' needs quoting and `parens'
15486         does not.
15487         (mail-citation-prefix-regexp): Use citation regexp from
15488         message-mode.
15490 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15492         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15493         Set variables for computing the prompt for reading password.
15495 2009-11-19  Glenn Morris  <rgm@gnu.org>
15497         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15499         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15501         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15502         (newsticker-treeview-listwindow-height): Fix custom type.
15504 2009-11-19  Kenichi Handa  <handa@m17n.org>
15506         * descr-text.el (describe-char-padded-string): Compose with TAB
15507         only if there's a font for CH.
15508         (describe-char): Fix the condition for detecting a trivial composition.
15510 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15512         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15513         more accurate version of the regexp.  (Bug#3910)
15515 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15517         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15519 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15521         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15522         (font-setting-change-default-font): Fix typo in docstring.
15524 2009-11-18  Alan Mackenzie  <acm@muc.de>
15526         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15528 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15530         * font-setting.el (font-use-system-font): Move ...
15532         * cus-start.el (all): ... to here.
15534 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15536         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15537         Don't set `ad-return-value' if `ad-do-it' doesn't.
15539         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15540         modification time.
15542 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15544         * menu-bar.el: Put "Use system font" in Option-menu.
15545         (menu-bar-options-save): Add font-use-system-font.
15547         * loadup.el: If feature system-font-setting or font-render-setting is
15548         there, load font-setting.
15550         * Makefile.in (ELCFILES): Add font-settings.el.
15551         * font-setting.el: New file.
15553 2009-11-17  Glenn Morris  <rgm@gnu.org>
15555         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15557         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15558         Preserve point in the list buffer.  (Bug#4939)
15559         Use point-at-eol.
15560         (newsticker--treeview-list-update-highlight)
15561         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15563 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15565         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15566         Remove.
15568         * calc/calc-ext.el (calc-init-extensions): Remove references to
15569         symclip.
15571         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15573         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15574         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15575         `calc-symclip'.
15577 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15579         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15580         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15582         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15583         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15584         Ignore trailing spaces by omit-nulls to split-string (fixing
15585         regression from Emacs 21 due to the incompatible split-string
15586         change).  (Bug #4928.)
15588 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15590         * vc.el (vc-log-show-limit): Default to 2000.
15591         (vc-print-log-internal): Insert buttons to request more entries
15592         when limiting the output.
15594         * vc-sccs.el (vc-sccs-print-log):
15595         * vc-rcs.el (vc-rcs-print-log):
15596         * vc-cvs.el (vc-cvs-print-log):
15597         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15598         LIMIT is non-nil.
15600 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15602         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15603         error when `tramp-gvfs-dbus-event-vector' is set.
15604         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15606 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15608         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15610 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15612         * net/dbus.el (dbus-unregister-service): New defun.
15613         (dbus-register-property): Register the handlers of
15614         "org.freedesktop.DBus.Properties" for SERVICE.
15615         (dbus-property-handler): Fix docstring.
15617 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15619         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15620         Quote doc string reference in defvaralias as it is not in special form.
15621         (byte-compile-output-docform): Doc fix.
15623 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15625         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15626         (calc-complement-signed-mode): New variables.
15627         (calc-set-mode-line): Add indicator for twos-complements.
15628         (math-format-number): Format twos-complement notation.
15630         * calc/calc-bin.el (calc-word-size): Reset the variables
15631         `math-2-word-size' and `math-half-2-word-size'.
15632         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15633         (calc-symclip): New functions.
15635         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15637         * calc/calc-embed.el (calc-embedded-mode-vars):
15638         Add `calc-complement-signed-mode' to the list of modes.
15640         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15641         (calc-b-oper-keys): Add `calc-symclip' to list.
15643         * calc/calc-ext.el (math-read-number-fancy): Read complement
15644         signed numbers.
15645         (calc-init-extensions): Add binding for `calc-symclip'.
15646         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15648         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15649         `calc-symclip'.
15650         (calc-modes-menu): Add item for twos complement mode.
15652         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15654 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15656         * register.el (jump-to-register, insert-register): Handle Semantic
15657         tags.  From commented-out advice in semantic/senator.el.
15659 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15661         * vc.el (vc-log-show-limit): New variable.
15662         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15663         when using a prefix argument.
15664         (vc-print-log-internal): Add new argument LIMIT.
15666         * vc-svn.el (vc-svn-print-log):
15667         * vc-mtn.el (vc-mtn-print-log):
15668         * vc-hg.el (vc-hg-print-log):
15669         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15670         pass it to the log command when set.  Make the BUFFER argument
15671         non-optional.
15673         * vc-sccs.el (vc-sccs-print-log):
15674         * vc-rcs.el (vc-rcs-print-log):
15675         * vc-git.el (vc-git-print-log):
15676         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15677         ignore it.  Make the BUFFER argument non-optional
15679         * bindings.el (mode-line-buffer-identification): Do not purecopy.
15681 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15683         * dired.el (dired-mode-map): Move encryption items to "Operate"
15684         menu (Bug#4703).
15686         * strokes.el (strokes-update-window-configuration): Make strokes
15687         buffer current before erasing (Bug#4906).
15689 2009-11-15  Juri Linkov  <juri@jurta.org>
15691         * simple.el (set-mark-default-inactive): Add :type, :group
15692         and :version.  (Bug#4876)
15694 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
15696         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15697         (archive-unique-fname): ... here.  (Bug#4929)
15699 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15701         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15702         with a real fix.
15704         * novice.el (disabled-command-function): Add useful args.
15705         Setup the help buffer so that [back] works.
15706         Remove redundant call to help-mode.
15707         (disabled-command-function): Use `case'.
15708         (en/disable-command): New function extracted from enable-command.
15709         (enable-command, disable-command): Use it.
15711 2009-11-14  Glenn Morris  <rgm@gnu.org>
15713         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15714         constants.  (Bug#4913)
15716         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15718 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
15720         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15721         defined in C that have no doc-strings.  (Bug#1063)
15723 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
15725         * cus-edit.el (data, files):
15726         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
15728 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
15730         * simple.el (shell-command): Doc fix (Bug#4891).
15732         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15734 2009-11-14  Glenn Morris  <rgm@gnu.org>
15736         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15737         statements for vc-diff, emerge-quit, and rmail-cease-edit.
15738         If they are already loaded, eval-after-load will do the right thing.
15740         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15741         compiling.
15743         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15745         * simple.el (x-selection-owner-p): Declare.
15746         (read-mail-command): Use custom radio type rather than choice.
15747         (completion-no-auto-exit): Doc fix.
15749         * custom.el (defgroup):
15750         * epg-config.el (epg): Doc fixes.
15752 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
15754         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15755         * international/ccl.el (define-ccl-program): Do not purecopy the
15756         docstring, defconst does it anyway.
15758 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15760         * add-log.el (add-change-log-entry): Avoid displaying the changelog
15761         a second time.
15763         * x-dnd.el (x-dnd-maybe-call-test-function):
15764         * window.el (split-window-vertically):
15765         * whitespace.el (whitespace-help-on):
15766         * vc-rcs.el (vc-rcs-consult-headers):
15767         * userlock.el (ask-user-about-lock-help)
15768         (ask-user-about-supersession-help):
15769         * type-break.el (type-break-force-mode-line-update):
15770         * time-stamp.el (time-stamp-conv-warn):
15771         * terminal.el (te-set-output-log, te-more-break, te-filter)
15772         (te-sentinel, terminal-emulator):
15773         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15774         (term-write-input-ring, term-check-source, term-start-output-log):
15775         (term-display-buffer-line, term-dynamic-list-completions):
15776         (term-ansi-make-term, serial-term):
15777         * subr.el (selective-display):
15778         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15779         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15780         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15781         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15782         (speedbar-remove-localized-speedbar-support)
15783         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15784         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15785         (speedbar-buffers-line-directory):
15786         * simple.el (shell-command-on-region, append-to-buffer)
15787         (prepend-to-buffer):
15788         * shadowfile.el (shadow-save-todo-file):
15789         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15790         (scroll-bar-maybe-set-window-start):
15791         * sb-image.el (speedbar-image-dump):
15792         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15793         (load-save-place-alist-from-file):
15794         * ps-samp.el (ps-print-message-from-summary):
15795         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15796         (ps-background-image, ps-begin-job, ps-do-despool):
15797         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15798         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15799         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15800         (pr-call-process, pr-file-list, pr-interface-save):
15801         * novice.el (disabled-command-function)
15802         (enable-command, disable-command):
15803         * mouse.el (mouse-buffer-menu-alist):
15804         * mouse-copy.el (mouse-kill-preserving-secondary):
15805         * macros.el (kbd-macro-query):
15806         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15807         * informat.el (batch-info-validate):
15808         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15809         * hippie-exp.el (try-expand-dabbrev-visible):
15810         * help-mode.el (help-make-xrefs):
15811         * help-fns.el (describe-variable):
15812         * generic-x.el (bat-generic-mode-run-as-comint):
15813         * finder.el (finder-mouse-select):
15814         * find-dired.el (find-dired-sentinel):
15815         * filesets.el (filesets-file-close):
15816         * files.el (list-directory):
15817         * faces.el (list-faces-display, describe-face):
15818         * facemenu.el (list-colors-display):
15819         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15820         * epg.el (epg--process-filter, epg-cancel):
15821         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15822         (epa--read-signature-type):
15823         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15824         (emerge-file-names):
15825         * ehelp.el (electric-helpify):
15826         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15827         * ediff-vers.el (rcs-ediff-view-revision):
15828         * ediff-util.el (ediff-setup):
15829         * ediff-mult.el (ediff-append-custom-diff):
15830         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15831         (ediff-wordify):
15832         * echistory.el (Electric-command-history-redo-expression):
15833         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15834         * disp-table.el (describe-display-table):
15835         * dired.el (dired-find-buffer-nocreate):
15836         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15837         * dabbrev.el (dabbrev--same-major-mode-p):
15838         * chistory.el (list-command-history):
15839         * apropos.el (apropos-documentation):
15840         * allout.el (allout-obtain-passphrase):
15841         (allout-copy-exposed-to-buffer):
15842         (allout-verify-passphrase): Use with-current-buffer.
15844 2009-11-13  Glenn Morris  <rgm@gnu.org>
15846         * Makefile.in (ELCFILES): Regenerate.
15848 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15850         * net/dbus.el (dbus-registered-objects-table): Rename from
15851         `dbus-registered-functions-table', because it contains also properties.
15852         (dbus-unregister-object): Unregister also properties.
15853         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15854         Use a timeout of 500 msec, in order to not block.
15855         (dbus-register-property, dbus-property-handler): New defuns.
15857 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15859         * simple.el (minibuffer-default-add-completions): Drop deprecated
15860         4th arg.
15862 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15864         * textmodes/artist.el (artist-mouse-choose-operation):
15865         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15866         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15867         (artist-compute-up-event-key): New function.
15868         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15870 2009-11-13  Kenichi Handa  <handa@m17n.org>
15872         * language/japan-util.el: Make sure that the value of jisx0208
15873         property is jisx0208 character.
15875 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15877         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15878         car or each item, not the whole list.
15880 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15882         * minibuffer.el (minibuffer-completion-help):
15883         Use minibuffer-hide-completions.
15885 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15887         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15888         (dired-revert): Use them (bug#4880).
15890 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15892         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15894 2009-11-12  Juri Linkov  <juri@jurta.org>
15896         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15897         New functions.
15898         (find-file-literally-at-point): Alias of `ffap-literally'.
15900 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15902         * textmodes/ispell.el (ispell-skip-region-alist):
15903         * textmodes/css-mode.el (auto-mode-alist):
15904         * progmodes/compile.el (auto-mode-alist):
15905         * international/mule.el (ctext-non-standard-encodings-alist)
15906         (ctext-non-standard-encodings-regexp):
15907         * simple.el (shell-command-switch, text-read-only):
15908         * replace.el (occur-mode-map):
15909         * paths.el (rmail-file-name):
15910         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15911         * find-file.el (ff-special-constructs):
15912         * files.el (file-name-handler-alist):
15913         * composite.el: Purecopy strings.
15915         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15917 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15919         * widget.el (define-widget): Purecopy the docstring.
15920         * international/mule-cmds.el (charset): Do not purecopy the
15921         docstring here, define-widget does it.
15923         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15924         * textmodes/bibtex-style.el (auto-mode-alist):
15925         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15926         * progmodes/compile.el (compile-command):
15927         * language/korea-util.el (default-korean-keyboard):
15928         * international/mule-conf.el (file-coding-system-alist):
15929         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15930         * tooltip.el (tooltip-frame-parameters):
15931         * newcomment.el (comment-end, comment-padding):
15932         * dired.el (dired-trivial-filenames):
15933         * comint.el (comint-file-name-prefix): Purecopy initial values.
15935 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15937         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15938         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15939         `tramp-unload'.
15940         (tramp-advice-make-auto-save-file-name)
15941         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15942         after removing the advice.
15944 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15946         * progmodes/grep.el (grep-regexp-alist):
15947         * international/mule-cmds.el (iso-2022-control-alist):
15948         * emacs-lisp/timer.el (timer-duration-words):
15949         * subr.el (version-separator, version-regexp-alist):
15950         * minibuffer.el (completion-styles-alist):
15951         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15952         Change defvars to defconsts.
15954         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15955         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15956         * international/mule-conf.el: Allow to be byte compiled.
15958         * international/mule.el (define-charset): Purecopy props.
15959         (load-with-code-conversion): Purecopy doc string and file name.
15960         (put-charset-property): Purecopy strings.
15961         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15963         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15964         (define-char-code-property): Correctly purecopy the table.
15966         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15968         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15970         * subr.el (add-hook): Purecopy strings.
15971         (eval-after-load): Purecopy load-history-regexp and the form.
15973         * custom.el (custom-declare-group): Purecopy load-file-name.
15975         * subr.el (menu-bar-separator): New defconst.
15976         * net/eudc.el (eudc-tools-menu):
15977         * international/mule-cmds.el (set-coding-system-map)
15978         (mule-menu-keymap):
15979         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15980         * vc-hooks.el (vc-menu-map):
15981         * replace.el (occur-mode-map):
15982         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15983         (menu-bar-edit-menu, menu-bar-goto-menu)
15984         (menu-bar-custom-menu, menu-bar-showhide-menu)
15985         (menu-bar-options-menu, menu-bar-tools-menu)
15986         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15987         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15988         (menu-bar-help-menu):
15989         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15990         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15992         * term/x-win.el (x-gtk-stock-map):
15993         * progmodes/vera-mode.el (auto-mode-alist):
15994         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15995         (inferior-lisp-program, inferior-lisp-load-command):
15996         * progmodes/hideshow.el (hs-special-modes-alist):
15997         * progmodes/gud.el (same-window-regexps):
15998         * progmodes/grep.el (grep-program, find-program, xargs-program):
15999         * net/telnet.el (same-window-regexps):
16000         * net/rlogin.el (same-window-regexps):
16001         * language/ethiopic.el (font-ccl-encoder-alist):
16002         * vc-sccs.el (vc-sccs-master-templates):
16003         * vc-rcs.el (vc-rcs-master-templates):
16004         * subr.el (cl-assertion-failed):
16005         * simple.el (next-error-overlay-arrow-position):
16006         * lpr.el (lpr-command):
16007         * locate.el (locate-ls-subdir-switches):
16008         * info.el (same-window-regexps, info)
16009         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16010         * image-mode.el (image-mode, auto-mode-alist):
16011         * hippie-exp.el (hippie-expand-ignore-buffers):
16012         * format.el (format-alist):
16013         * find-dired.el (find-ls-subdir-switches, find-grep-options)
16014         (find-name-arg):
16015         * facemenu.el (facemenu-keybindings):
16016         * dired.el (dired-listing-switches, dired-chown-program):
16017         * diff.el (diff-switches, diff-command):
16018         * cus-edit.el (same-window-regexps):
16019         * bindings.el (mode-line-mule-info)
16020         (mode-line-buffer-identification): Purecopy strings.
16022 2009-11-11  Juri Linkov  <juri@jurta.org>
16024         * simple.el (dired-get-filename) <declare-function>:
16025         Tell the byte-compiler about dired-get-filename.
16026         (shell-command): In Dired mode, get filename from the current line
16027         as the default value.
16029 2009-11-10  Glenn Morris  <rgm@gnu.org>
16031         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16032         * calendar/holidays.el, progmodes/cperl-mode.el:
16033         Update x-popup-menu declarations.
16035         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16036         (list-load-path-shadows): Use dolist.
16037         (list-load-path-shadows): Use with-current-buffer.
16039 2009-11-10  Juri Linkov  <juri@jurta.org>
16041         * minibuffer.el (read-file-name): Support a list of default values
16042         in `default-filename'.  Use the first file name where only one
16043         element is required.  Doc fix.
16045 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
16047         * net/dbus.el (dbus-unregister-object): Release service, if no
16048         other method is registered for it.
16050 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
16052         * bookmark.el (bookmark-completing-read): Sort bookmark names if
16053         bookmark-sort-flag is non-nil (Bug#4653).
16055 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16057         * emulation/cua-base.el: Add CUA property to some CC mode commands
16058         (Bug#4100).
16060 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16062         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16063         at end of sentence (Bug#4818).
16065 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
16067         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16068         Handle "see declaration of" MSFT statements (Bug#4100).
16070 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
16072         * net/tramp.el (tramp-advice-make-auto-save-file-name)
16073         (tramp-advice-file-expand-wildcards): Unload via
16074         `ad-remove-advice'.
16076         * net/trampver.el: Update release number.
16078 2009-11-08  Kevin Ryde  <user42@zip.com.au>
16080         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16081         `ad-do-it'.
16083 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
16085         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16086         in order to keep context in SELinux.
16088 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
16090         * dired-aux.el (dired-query): Place cursor in echo area and allow
16091         C-g.
16093         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16094         menu item if not on a directory (Bug#4701).
16096 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
16098         Sync with Tramp 2.1.17.
16100         * net/tramp.el (tramp-handle-copy-directory): Don't use
16101         `file-remote-p' (due to compatibility).
16103         * net/tramp-compat.el (tramp-compat-copy-directory)
16104         (tramp-compat-delete-directory): New defuns.
16106         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16107         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16108         Use `tramp-compat-delete-directory'.
16110         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16111         (tramp-smb-handle-delete-directory):
16112         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16114         * net/trampver.el: Update release number.
16116 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
16118         * tar-mode.el (tar-copy): Call write-region on the right buffer
16119         (Bug#4857).
16121         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16122         by hand, if necessary (Bug#4878).
16124 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
16126         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16127         align size column (Bug#4839).
16129         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16130         statement.
16132 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16134         * progmodes/ld-script.el (auto-mode-alist):
16135         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16137         * cus-face.el (custom-declare-face): Purecopy face spec.
16139 2009-11-06  Kenichi Handa  <handa@m17n.org>
16141         * international/uni-bidi.el: Re-generated.
16142         * international/uni-category.el: Re-generated.
16143         * international/uni-combining.el: Re-generated.
16144         * international/uni-mirrored.el: Re-generated.
16146 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16148         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16149         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16150         (tex-start-options, slitex-run-command, latex-run-command)
16151         (tex-run-command, tex-directory):
16152         * textmodes/ispell.el (ispell-html-skip-alists)
16153         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16154         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16155         (adaptive-fill-regexp):
16156         * textmodes/dns-mode.el (auto-mode-alist):
16157         * progmodes/python.el (interpreter-mode-alist):
16158         * progmodes/etags.el (tags-compression-info-list):
16159         * progmodes/etags.el (tags-file-name):
16160         * net/browse-url.el (browse-url-galeon-program)
16161         (browse-url-firefox-program):
16162         * mail/sendmail.el (mail-signature-file)
16163         (mail-citation-prefix-regexp):
16164         * international/mule-conf.el (eight-bit):
16165         * international/latexenc.el (latex-inputenc-coding-alist):
16166         * international/fontset.el (x-pixel-size-width-font-regexp):
16167         * emacs-lisp/warnings.el (warning-type-format):
16168         * emacs-lisp/trace.el (trace-buffer):
16169         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16170         (emacs-lisp-mode-map):
16171         * calendar/holidays.el (holiday-solar-holidays)
16172         (holiday-bahai-holidays, holiday-islamic-holidays)
16173         (holiday-christian-holidays, holiday-hebrew-holidays)
16174         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16175         (hebrew-holidays-1, holiday-oriental-holidays)
16176         (holiday-general-holidays):
16177         * x-dnd.el (x-dnd-known-types):
16178         * tool-bar.el (tool-bar):
16179         * startup.el (site-run-file):
16180         * shell.el (shell-dumb-shell-regexp):
16181         * rfn-eshadow.el (file-name-shadow-tty-properties)
16182         (file-name-shadow-properties):
16183         * paths.el (remote-shell-program, news-directory):
16184         * mouse.el ([C-down-mouse-3]):
16185         * menu-bar.el (menu-bar-tools-menu):
16186         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16187         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16188         (jka-compr-compression-info-list):
16189         * isearch.el (search-whitespace-regexp):
16190         * image-file.el (image-file-name-extensions):
16191         * find-dired.el (find-ls-option):
16192         * files.el (directory-listing-before-filename-regexp)
16193         (directory-free-space-args, insert-directory-program)
16194         (list-directory-brief-switches, magic-fallback-mode-alist)
16195         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16196         (automount-dir-prefix):
16197         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16198         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16199         (face-font-registry-alternatives, face-font-registry-alternatives)
16200         (face-font-family-alternatives):
16201         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16202         (facemenu-foreground-menu, facemenu-face-menu):
16203         * epa-hook.el (epa-file-name-regexp):
16204         * dnd.el (dnd-protocol-alist):
16205         * textmodes/rst.el (auto-mode-alist):
16206         * button.el (default-button): Purecopy strings.
16208 2009-11-06  Glenn Morris  <rgm@gnu.org>
16210         * Makefile.in (ELCFILES): Update.
16212 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16214         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16215         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16217         * nxml/xsd-regexp.el (xsdre-gen-categories):
16218         * nxml/xmltok.el (xmltok-parse-entity):
16219         * nxml/rng-parse.el (rng-parse-validate-file):
16220         * nxml/rng-maint.el (rng-format-manual)
16221         (rng-manual-output-force-new-line):
16222         * nxml/rng-loc.el (rng-save-schema-location-1):
16223         * nxml/rng-cmpct.el (rng-c-parse-file):
16224         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16225         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16227 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16229         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16230         Remove extra save-excursions and make-variable-buffer-local's.
16231         Suggested by Stefan Monnier.
16233         (verilog-getopt-file, verilog-module-inside-filename-p)
16234         (verilog-set-define): Merge GNU 1.35 and repair changes from
16235         switching to using with-current-buffer.
16237         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16238         being treated as a number and confusing AUTORESET.
16239         Reported by Dan Dever.
16241         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16242         Add verilog-auto-ignore-concat to fix backward compatibility with
16243         older verilog-modes.  Reported by Dan Katz.
16245         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16246         containing closing anchors "...$".
16248         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16249         Reported by Wade Smith.
16251         (verilog-batch-execute-func): Comment on function usage.
16253 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16255         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16256         for labels.
16258         (verilog-label-re, verilog-calc-1): Support proper indent of named
16259         asserts.
16261         (verilog-backward-token, verilog-basic-complete-re)
16262         (verilog-beg-of-statement, verilog-indent-re): Support proper
16263         indent of the assert statement at the beginning of a block of text.
16265         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16266         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16267         tokens as begins.
16269 2009-11-05  Glenn Morris  <rgm@gnu.org>
16271         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16272         Emacs 19.  (Bug#1531)
16273         (byte-compile-fix-header): Update for the above change.
16274         Drop test for epoch::version.
16276         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16277         * cus-dep.el (custom-make-dependencies):
16278         * finder.el (finder-compile-keywords):
16279         Use autoload-rubric's feature argument.
16281         * calendar/diary-lib.el (top-level): Make load behave more like require.
16283         * vc-git.el (vc-git-stash-map): Move definition before use.
16285 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16287         * custom.el (custom-declare-group): Purecopy standard-value.
16288         (custom-declare-group): Purecopy custom-prefix.
16290         * international/mule.el (load-with-code-conversion):
16291         Call do-after-load-evaluation unconditionally.
16293         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16295 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16297         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16299 2009-11-04  Glenn Morris  <rgm@gnu.org>
16301         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16302         (byte-compile-compatibility): Remove option.
16303         (byte-compile-close-variables, byte-compile-fix-header)
16304         (byte-compile-insert-header, byte-compile-output-docform)
16305         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16306         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16307         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16308         (byte-compile-insert, byte-compile-defun):
16309         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16310         (byte-defop-compiler19): Remove.
16311         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16312         used by anything.  Replace all calls with byte-defop-compiler.
16314 2009-11-04  Juri Linkov  <juri@jurta.org>
16316         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16317         (menu-bar-options-menu): Don't quote the `prop' arg of
16318         `menu-bar-make-mm-toggle'.
16320 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16322         * calendar/calendar.el (cal-loaddefs):
16323         * calendar/diary-lib.el (diary-loaddefs):
16324         * calendar/holidays.el (hol-loaddefs):
16325         * eshell/esh-module.el (esh-groups): Load rather than require.
16327 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16329         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16330         point-min==1.
16331         (todo-top-priorities): Only display-buffer when called interactively.
16332         (todo-item-start): Don't save excursion point.
16333         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16334         (todo-insert-item-here, todo-file-item, todo-remove-item):
16335         Adjust uses of todo-item-start and todo-item-end.
16337         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16338         (autoload-rubric): Don't use any more.
16340         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16341         and only put a prop if it is non-nil.
16343 2009-11-03  Juri Linkov  <juri@jurta.org>
16345         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16346         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16348         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16349         and "Menu" to make top-level menu item visually one unit (like
16350         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16351         multi-word menu items).  Fix :help string for quit-window.
16353 2009-11-03  Glenn Morris  <rgm@gnu.org>
16355         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16356         (byte-compile-file-form-define-abbrev-table)
16357         (byte-compile-file-form-custom-declare-variable)
16358         (byte-compile-variable-ref, byte-compile-defvar):
16359         Whether or not a warning is enabled should only affect whether we issue
16360         the warning, not whether or not we collect the relevant data.
16361         Eg warnings can be turned on and off throughout the course of a file.
16363         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16364         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16366 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16368         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16369         * play/mpuz.el (mpuz-create-buffer):
16370         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16371         (lm-print-y,s,noise, lm-print-w0, lm-init):
16372         * play/gomoku.el (gomoku-prompt-for-move):
16373         * play/fortune.el (fortune-in-buffer):
16374         * play/dissociate.el (dissociated-press):
16375         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16376         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16377         * mail/supercite.el (sc-eref-show):
16378         * mail/smtpmail.el (smtpmail-send-it):
16379         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16380         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16381         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16382         (rmail-summary-goto-msg, rmail-summary-expunge)
16383         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16384         (rmail-summary-add-label, rmail-summary-output-menu)
16385         (rmail-summary-output-body):
16386         * mail/rfc822.el (rfc822-addresses):
16387         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16388         * mail/mailpost.el (post-mail-send-it):
16389         * mail/hashcash.el (hashcash-generate-payment):
16390         * mail/feedmail.el (feedmail-run-the-queue)
16391         (feedmail-queue-send-edit-prompt-help-first)
16392         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16393         (feedmail-deduce-address-list):
16394         * eshell/esh-ext.el (eshell-remote-command):
16395         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16396         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16397         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16398         (viper-save-string-in-file, viper-valid-marker):
16399         * emulation/viper-keym.el (viper-toggle-key):
16400         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16401         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16402         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16403         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16404         (viper-exec-form-in-emacs, viper-brac-function):
16405         * emulation/viper.el (viper-delocalize-var):
16406         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16407         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16408         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16409         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16410         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16411         * emulation/edt.el (edt-electric-helpify):
16412         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16413         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16414         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16415         (cua-indent-to-global-mark-column):
16416         * calendar/diary-lib.el (calendar-mark-1):
16417         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16418         Use with-current-buffer.
16419         * emulation/viper.el (viper-delocalize-var): Use dolist.
16421 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16423         * comint.el (comint-replace-by-expanded-history-before-point):
16424         Replace !! with the previous input string literally (Bug#1795).
16426 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16428         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16429         to be made up of whitespace.
16431 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16433         * minibuffer.el (read-file-name): Don't use file dialogs for
16434         remote directories (Bug#99).
16436 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16438         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16440 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16442         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16443         instead of deleting the window or frame.
16445 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16447         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16448         Support face colors.
16450         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16451         New function.  Support face colors (Bug#1168).
16452         (tex-common-initialization): Use it.
16454         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16455         mode allows it (Bug#1168).
16457 2009-10-31  Juri Linkov  <juri@jurta.org>
16459         * facemenu.el (list-colors-display): Don't mark buffer as
16460         modified (Bug#3948).
16462 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16464         * international/mule-diag.el (list-character-sets-1):
16465         Minor message fix (Bug#3526).
16467         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16468         Fix face property (Bug#4834).
16469         (etags-list-tags, etags-tags-apropos-additional)
16470         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16471         property.
16473         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16474         items.
16476 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16478         * textmodes/two-column.el (2C-split):
16479         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16480         * textmodes/tex-mode.el (tex-set-buffer-directory):
16481         * textmodes/spell.el (spell-region, spell-string):
16482         * textmodes/reftex.el (reftex-erase-buffer):
16483         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16484         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16485         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16486         (reftex-select-item):
16487         * textmodes/reftex-ref.el (reftex-label-info-update)
16488         (reftex-offer-label-menu):
16489         * textmodes/reftex-index.el (reftex-index-change-entry)
16490         (reftex-index-phrases-info):
16491         * textmodes/reftex-global.el (reftex-create-tags-file)
16492         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16493         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16494         (reftex-view-crossref-from-bibtex):
16495         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16496         (reftex-extract-bib-entries-from-thebibliography)
16497         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16498         * textmodes/refbib.el (r2b-capitalize-title):
16499         (r2b-convert-buffer, r2b-help):
16500         * textmodes/page-ext.el (pages-directory)
16501         (pages-directory-goto-with-mouse):
16502         * textmodes/bibtex.el (bibtex-validate-globally):
16503         * textmodes/bib-mode.el (bib-capitalize-title):
16504         * textmodes/artist.el (artist-clear-buffer, artist-system):
16505         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16506         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16507         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16508         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16509         (xscheme-send-control-g-interrupt, xscheme-start-process)
16510         (xscheme-process-sentinel, xscheme-cd):
16511         * progmodes/verilog-mode.el (verilog-read-always-signals)
16512         (verilog-set-define, verilog-getopt-file)
16513         (verilog-module-inside-filename-p):
16514         * progmodes/sh-script.el:
16515         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16516         (python-pdbtrack-grub-for-buffer, python-execute-file):
16517         * progmodes/octave-inf.el (inferior-octave):
16518         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16519         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16520         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16521         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16522         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16523         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16524         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16525         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16526         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16527         (idlwave-shell-examine-display, idlwave-shell-run-region)
16528         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16529         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16530         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16531         (idlwave-help-get-help-buffer):
16532         * progmodes/gud.el (gud-basic-call, gud-find-class)
16533         (gud-tooltip-activate-mouse-motions-if-enabled):
16534         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16535         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16536         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16537         (ebrowse-tags-next-file):
16538         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16539         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16540         (ebnf-eps-finish-and-write):
16541         * progmodes/cpp.el (cpp-edit-save):
16542         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16543         * progmodes/cc-defs.el (c-emacs-features):
16544         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16545         (antlr-directory-dependencies):
16546         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16547         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16548         (ada-find-any-references, ada-make-filename-from-adaname)
16549         (ada-make-body-gnatstub):
16550         * obsolete/rnews.el (news-list-news-groups):
16551         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16552         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16553         * net/rcirc.el (rcirc-debug):
16554         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16555         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16556         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16557         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16558         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16559         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16560         (newsticker--treeview-list-clear-highlight)
16561         (newsticker--treeview-list-update-highlight)
16562         (newsticker--treeview-list-highlight-start)
16563         (newsticker--treeview-tree-update-highlight)
16564         (newsticker--treeview-get-selected-item)
16565         (newsticker-treeview-mark-list-items-old)
16566         (newsticker--treeview-set-current-node):
16567         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16568         * net/newst-backend.el (newsticker--get-news-by-funcall)
16569         (newsticker--get-news-by-wget, newsticker--image-get)
16570         (newsticker--image-sentinel):
16571         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16572         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16573         (eudc-ph-close-session):
16574         * net/eudc.el (eudc-save-options):
16575         * language/thai-word.el (thai-update-word-table):
16576         * language/japan-util.el (japanese-string-conversion):
16577         * international/titdic-cnv.el (tsang-quick-converter)
16578         (ziranma-converter, ctlau-converter):
16579         * international/mule-cmds.el (describe-language-environment):
16580         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16581         (skkdic-convert-postfix, skkdic-convert-prefix):
16582         (skkdic-convert-okuri-nasi, skkdic-convert):
16583         * emacs-lisp/re-builder.el (reb-update-overlays):
16584         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16585         * emacs-lisp/gulp.el (gulp-send-requests):
16586         * emacs-lisp/find-gc.el (trace-call-tree):
16587         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16588         (eieio-describe-generic):
16589         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16590         * emacs-lisp/edebug.el (edebug-outside-excursion):
16591         * emacs-lisp/debug.el (debugger-make-xrefs):
16592         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16593         * emacs-lisp/chart.el (chart-new-buffer):
16594         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16595         Use with-current-buffer.
16596         * textmodes/artist.el (artist-system): Don't call
16597         copy-sequence on a fresh string.
16598         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16600 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16602         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16603         is no item to edit.  (Bug#4820)
16604         (todo-top-priorities): Restore point and restore narrowing in Todo
16605         buffer.  (Bug#4820)
16607 2009-10-31  Glenn Morris  <rgm@gnu.org>
16609         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16610         (comint-last-output-start, comint-last-input-start)
16611         (comint-last-input-end): Don't defvar when compiling.
16612         (ange-ftp-process-file): Use bound-and-true-p.
16614         * pcmpl-rpm.el (top-level): Move provide statement to end.
16615         (pcmpl-rpm): Remove unused custom group.
16617         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16619         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16621         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16622         (byte-compile-warnings): Add `constants' as an option.
16623         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16624         (display-call-tree): Update for byte-compile-fdefinition possibly
16625         returning `(macro lambda ...)'.  (Bug#4778)
16626         (byte-compile-variable-ref, byte-compile-setq-default):
16627         Respect `constants' member of byte-compile-warnings.
16629 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16631         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16632         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16633         to "submit:".
16635 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16637         * textmodes/ispell.el (ispell-skip-region-alist):
16638         * international/mule-conf.el (eight-bit):
16639         * international/fontset.el (font-encoding-alist):
16640         * startup.el (pure-space-overflow-message):
16641         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16642         * paths.el (gnus-nntp-service, rmail-spool-directory)
16643         (term-file-prefix):
16644         * files.el (save-some-buffers-action-alist):
16645         * cmuscheme.el (same-window-buffer-names):
16646         * ielm.el (same-window-buffer-names):
16647         * shell.el (same-window-buffer-names):
16648         * mail/sendmail.el (same-window-buffer-names):
16649         * progmodes/inf-lisp.el (same-window-buffer-names):
16650         * bindings.el (mode-line-client)
16651         (mode-line-column-line-number-mode-map):
16652         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16653         (tibetan-precomposed-regexp): Purecopy string arguments.
16655 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16657         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16658         (calcDigit-nondigit):
16659         * calc/calc-yank.el (calc-copy-to-buffer):
16660         * calc/calc-units.el (calc-invalidate-units-table):
16661         * calc/calc-trail.el (calc-trail-yank):
16662         * calc/calc-store.el (calc-insert-variables):
16663         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16664         * calc/calc-prog.el (calc-read-parse-table):
16665         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16666         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16667         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16668         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16669         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16670         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16671         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16672         * calc/calc-ext.el (calc-realign):
16673         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16674         (calc-embedded-finish-edit, calc-embedded-make-info)
16675         (calc-embedded-finish-command, calc-embedded-stack-change):
16676         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16678         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16679         shell-dynamic-complete-filename in preference to
16680         comint-dynamic-complete-filename.
16682         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16683         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16684         Don't consider whether the display supports colors.
16685         (bookmark-import-new-list): Use dolist.
16686         (bookmark-bmenu-mode-map): Move initialization into declaration.
16687         (bookmark-bmenu-list): Use dolist, simplify.
16688         (bookmark-show-all-annotations): Use save-selected-window and dolist.
16689         (menu-bar-final-items): Use push.
16691 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16693         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16694         it works on remote files.
16695         (vc-hg-diff): Don't pass any `--cwd' argument.
16697 2009-10-27  Kevin Ryde  <user42@zip.com.au>
16699         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16700         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16701         (Further to Bug#3921).
16703 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
16705         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16706         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16707         calling `tramp-imap-put-file'.  Add file size to the call.
16708         (tramp-imap-get-file-entries): Compute also user name, file size,
16709         and date.
16710         (tramp-imap-handle-insert-directory): Insert uid and gid.
16711         (tramp-imap-handle-file-attributes): Transform uid and gid
16712         according to `id-format'.
16713         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
16714         size in header X-Size.
16716 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
16718         * simple.el (transpose-subr): Give clearer error when the mark
16719         is not set.  (Bug#4807)
16721 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
16723         * net/tramp.el (tramp-perl-file-truename): New defconst.
16724         Perl code contributed by yary <not.com@gmail.com> (tiny change).
16725         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16726         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16727         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16729         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16730         Ignore `dired-call-process'.
16731         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16733 2009-10-26  Julian Scheid  <julians37@gmail.com>
16735         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16736         (tramp-get-remote-readlink): New defun.
16737         (tramp-handle-file-truename): Use it.
16738         (tramp-handle-file-exists-p): Check file-attributes cache, assume
16739         file exists if cache value present.
16740         (tramp-check-cached-permissions): New defun.
16741         (tramp-handle-file-readable-p): Use it.
16742         (tramp-handle-file-writable-p): Likewise.
16743         (tramp-handle-file-executable-p): Likewise.
16744         (tramp-handle-file-name-all-completions): Try using Perl to get
16745         partial completions.  When perl not available, combine `cd' and
16746         `ls' into single remote operation and use shell expansion to get
16747         partial remote directory contents.  Set `file-exists-p' cache for
16748         directory and any files returned by ls.  Change cache handling to
16749         support partial directory contents.  Use error message emitted by
16750         remote `cd' or Perl code for local tramp-error.
16751         (tramp-do-copy-or-rename-file-directly): Avoid separate
16752         tramp-send-command-and-check call.
16753         (tramp-handle-process-file): Merge three remote ops into one.
16754         Do not flush all caches when `process-file-side-effects' is set.
16755         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16756         file-attributes shows uid/gid to be set already.
16758 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
16760         * textmodes/tex-mode.el (tex-dvi-view-command)
16761         (tex-show-queue-command, tex-open-quote):
16762         * progmodes/ruby-mode.el (auto-mode-alist)
16763         (interpreter-mode-alist): Purecopy strings.
16765         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16767         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16768         string for the hook, keymap and abbrev table.
16770         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16772         * x-dnd.el (x-dnd-xdnd-to-action):
16773         * startup.el (fancy-startup-text, fancy-about-text): Change to
16774         defconst from defvar.
16776         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16778         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16779         Purecopy initialization strings.
16781         * mail/sendmail.el (mail-header-separator)
16782         (mail-personal-alias-file):
16783         * mail/rmail.el (rmail-default-dont-reply-to-names)
16784         (rmail-ignored-headers, rmail-retry-ignored-headers)
16785         (rmail-highlighted-headers, rmail-secondary-file-directory)
16786         (rmail-secondary-file-regexp):
16787         * files.el (null-device, file-name-invalid-regexp)
16788         (locate-dominating-stop-dir-regexp)
16789         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16790         (interpreter-mode-alist): Use mapcar instead of mapc.
16792         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16794         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16795         (completion-ignored-extensions):
16796         (debug-ignored-errors): Purecopy strings.
16798 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16800         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16801         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16802         (pcomplete--here): Use push.
16804         * subr.el (all-completions): Declare the 4th arg obsolete.
16806 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16808         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16809         (pcomplete-unquote-argument): New function.
16810         (pcomplete--common-suffix): Always pay attention to case.
16811         (pcomplete--table-subvert): Quote and unquote the text.
16812         (pcomplete--common-quoted-suffix): New function.
16813         (pcomplete-std-complete): Use it and pcomplete-begin.
16815         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16816         we're inside a dedicated or minibuffer window.
16818 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16820         * bookmark.el: Update documentation, especially documentation
16821         of `bookmark-alist' and of the bookmark file format.
16822         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16824 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16826         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16827         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16828         window to buffer.
16830         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16831         (global-whitespace-mode, global-whitespace-newline-mode)
16832         (whitespace-toggle-options, global-whitespace-toggle-options):
16833         Doc fix (Bug#3660).
16835         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16836         of xmltok-start before the end tag was inserted (Bug#2840).
16838         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16839         patterns that are preceded by an open-paren (Bug#1320).
16841 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16843         * files.el (delete-directory): Delete symlinks to directories with
16844         delete-file (Bug#4739).
16846 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16848         * vc.el (vc-backend-for-registration): Rename from
16849         vc-get-backend-for-registration.  Update callers.
16851         * international/mule-cmds.el (set-language-info-alist):
16852         Purecopy lang-env.
16853         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16854         (charset): Purecopy the name.
16855         (define-char-code-property): Purecopy string arguments.
16857         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16858         Purecopy string arguments.
16860         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16861         * ediff-hook.el (menu-bar-ediff-menu):
16862         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16863         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16865 2009-10-24  Glenn Morris  <rgm@gnu.org>
16867         * comint.el (comint-dynamic-list-completions):
16868         * term.el (term-dynamic-list-completions): Use choose-completion rather
16869         than obsolete alias mouse-choose-completion.
16871         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16872         file-cache-choose-completion.
16873         (file-cache-choose-completion): Handle an optional event argument.
16874         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16876         * progmodes/octave-mod.el (octave-complete-symbol):
16877         Use choose-completion if mouse-choose-completion is ever removed.
16879         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16880         use.
16882         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16883         compiler.
16885         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16887 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16889         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16890         Ignore `pred' now that we receive one.
16891         Handle test-completion specially.
16893 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16895         * vc.el (vc-responsible-backend): Throw an error if not backend is
16896         found.  Remove the REGISTER argument.  Move the code dealing with
16897         REGISTER ...
16898         (vc-get-backend-for-registration): ... here.  New function.
16899         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16900         of vc-responsible-backend, pass the file name instead of the
16901         directory name.
16903 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16905         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16906         New funs.
16907         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16908         (pcomplete-comint-setup): Don't modify a global var via
16909         accidental side-effects.
16910         (pcomplete-shell-setup): Adjust call accordingly.
16911         (pcomplete-parse-comint-arguments): Use push.
16913 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16915         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16916         Allow uncapitalized info node names (Bug#3921).
16918         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16919         to the DEBUG file (Bug#3781).
16921 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16923         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16924         dictionary entry (Bug#4579).
16926 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16928         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16929         from `rfn-eshadow-update-overlay-hook' when unloading.
16930         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16931         "rsyncc".  Adjust doc string.
16932         (tramp-temp-buffer-file-name): New buffer-local defvar.
16933         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16934         Keep temporary file when indicated by method ("rsync" and
16935         "rsyncc").
16936         (tramp-handle-write-region): Handle APPEND.
16937         (tramp-delete-temp-file-function): New defun.  Added to
16938         `kill-buffer-hook'.
16940 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16942         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16944 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16946         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16947         (color-name-rgb-alist, tty-standard-colors)
16948         (tty-color-mode-alist): Change to defconst.
16950         * simple.el (mark-inactive): Purecopy message.
16952         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16953         (global-map, yank-menu):
16954         * textmodes/ispell.el (ispell-menu-map):
16955         * net/eudc.el (eudc-tools-menu):
16956         * international/mule-cmds.el (describe-language-environment-map)
16957         (setup-language-environment-map, set-coding-system-map)
16958         (mule-menu-keymap):
16959         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16960         * replace.el (occur-mode-map):
16961         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16963 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16965         * calc/calc.el (math-read-number, math-read-number-simple):
16966         Use `save-match-data'.
16968 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16970         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16971         rather than fiddling with global-map bindings, since it should only
16972         affect per-terminal settings.
16973         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16975         * minibuffer.el (completion-table-with-terminator): Allow to specify
16976         the terminator-regexp.
16978         * simple.el (switch-to-completions): Look for *Completions* in other
16979         frames as well.
16981         * pcomplete.el: Allow the use of completion-tables.
16982         (pcomplete-std-complete): New command.
16983         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16984         (pcomplete--here): Use a function for `form' rather than an expression,
16985         so it can be byte-compiled.
16986         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16987         Add edebug declaration.
16988         (pcomplete-show-completions): Remove unused var `curbuf'.
16989         (pcomplete-do-complete, pcomplete-stub):
16990         Don't assume `completions' is a list of strings any more.
16992 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16994         * find-dired.el (find-name-arg): Fix typo in docstring.
16996 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16998         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16999         (pcmpl-linux-fs-types): Same, and update to new modules layout.
17001         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17002         pcomplete-entries.
17004         * comint.el (comint-read-input-ring, comint-write-input-ring)
17005         (comint-substitute-in-file-name)
17006         (comint-dynamic-complete-as-filename)
17007         (comint-dynamic-simple-complete)
17008         (comint-dynamic-list-filename-completions)
17009         (comint-dynamic-list-completions)
17010         (comint-redirect-results-list-from-process): Minor simplifications.
17012 2009-10-21  Kevin Ryde  <user42@zip.com.au>
17014         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17015         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17016         the first form.  And insert a blank line after ";;; Code" since
17017         that's usual style.  (Bug#4612)
17019         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17021 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17023         * minibuffer.el (completion-table-with-terminator): Properly implement
17024         boundaries, in case `terminator' appears in the suffix.
17025         (completion--embedded-envvar-table): Don't return boundaries if
17026         there's no valid completion.  Simplify.
17027         (completion-file-name-table): New completion table extracted from
17028         completion--file-name-table.
17029         (completion--file-name-table): Use it.
17030         (read-file-name-predicate): Declare obsolete.
17031         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17032         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17033         completion-file-name-table, and use the `pred' argument.
17034         * files.el (locate-file-completion-table): Use the `pred' arg rather
17035         than read-file-name-predicate.
17036         (abbreviate-file-name): Use \` rather than ^ for BOS.
17038 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
17040         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17041         vc-responsible-backend to register, it causes problems.
17043 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17045         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17047 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
17049         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17050         (tramp-smb-handle-file-attributes): Use it.
17051         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17052         (tramp-smb-handle-insert-directory): Use `mapc' rather than
17053         `mapcar'.  Use `tramp-smb-get-stat-capability'.
17054         Add `dired-filename' text properties.
17055         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17056         (tramp-smb-maybe-open-connection): Simplify check for smbclient
17057         version.
17059 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17061         * subr.el (read-key-delay): Reduce to 0.01.
17062         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17063         (bug#4751).
17065 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17067         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17069         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17070         (Info-menu): Remove unused vars `last' and `completions'.
17071         (Info-index-nodes): Remove unused var `node'.
17073         * info.el (Info-complete-menu-item): Use complete-with-action.
17075 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
17077         Make vc-annotate work through copies and renames.
17078         * vc-annotate.el (vc-annotate-extract-revision-at-line):
17079         Return the file name too.
17080         (vc-annotate-revision-at-line)
17081         (vc-annotate-find-revision-at-line)
17082         (vc-annotate-revision-previous-to-line)
17083         (vc-annotate-show-log-revision-at-line): Update to get the file
17084         name from vc-annotate-extract-revision-at-line.
17085         (vc-annotate-show-diff-revision-at-line-internal): Change the
17086         argument to mean whether to show a file diff or not.  Get the file
17087         name from vc-annotate-extract-revision-at-line.
17088         (vc-annotate-show-diff-revision-at-line):
17089         Update vc-annotate-show-diff-revision-at-line call.
17090         (vc-annotate-warp-revision): Add an optional file argument.
17092         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17093         (vc-git-annotate-extract-revision-at-line): Also return the file
17094         name if found.
17096         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17097         command.  Remove unused code.
17098         (vc-hg-annotate-re): Update to match --follow output.
17099         (vc-hg-annotate-extract-revision-at-line): Also return the file
17100         name if found.
17102         * vc.el: Update annotate-extract-revision-at-line documentation.
17104 2009-10-18  Kevin Ryde  <user42@zip.com.au>
17106         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17107         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17109         * net/browse-url.el (browse-url): Identify alist with "consp and
17110         not functionp" and let all other things go down the `apply' leg,
17111         as suggested by Stefan.  (Further to bug#4531.)
17113 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
17115         * minibuffer.el (read-file-name): Check for repeat before putting
17116         a default argument in file-name-history (Bug#4657).
17118         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17119         read syntax (Bug#4737).
17121         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17123 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17125         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17126         (html-tag-alist, html-tag-help): Add descriptions for undocumented
17127         entries and make note of obsolete tags.
17129 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17131         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17133 2009-10-18  Glenn Morris  <rgm@gnu.org>
17135         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17136         grep, so that binary files (eg international/uni-bidi.el) can match.
17137         Remove test for "UnicodeData" files, since it is hopefully unnecessary
17138         now, and in any case the file header format has changed.
17140 2009-10-17  Glenn Morris  <rgm@gnu.org>
17142         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17143         (flyspell-get-word, flyspell-large-region)
17144         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17146 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17148         * Makefile.in (ELCFILES): Add ede/shell.
17150 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17152         * term/common-win.el (x-colors): Purecopy it.
17154 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17156         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17157         permissive for when the buffer is empty.
17158         (tar-header-block-tokenize): Decode the username and groupname.
17159         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17161 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17163         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17164         contains multibyte characters, choose first applicable coding
17165         system automatically.
17167 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17169         * international/mule-cmds.el (select-safe-coding-system): If the file
17170         has a coding cookie, use it regardless of any other setting (bug#4712).
17172 2009-10-17  Glenn Morris  <rgm@gnu.org>
17174         * foldout.el (foldout-mouse-swallow-events):
17175         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17177         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17178         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17179         (dired-keep-marker-symlink, dired-dwim-target)
17180         (dired-copy-preserve-time): Do not autoload these defcustoms.
17182         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17183         messages from messing up the file coding.  (Bug#4623)
17185 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17187         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17188         if no match is found for the current dictionary.  (Bug#4578)
17190         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17191         optional, since that is how it is documented, and this is often called
17192         with a nil argument.  (Bug#4577)
17193         (flyspell-external-point-words, flyspell-auto-correct-word)
17194         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17195         (flyspell-word-search-backward): Remove nil argument in calls to
17196         flyspell-get-word, since it is not needed now.
17198 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17200         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17202 2009-10-16  Glenn Morris  <rgm@gnu.org>
17204         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17206 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17208         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17209         (ange-ftp-file-size): New function.
17210         (ange-ftp-file-attributes): Use it.
17212 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17214         * net/tramp-smb.el (tramp-smb-version): New defvar.
17215         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17216         repeated checks.
17218 2009-10-16  Glenn Morris  <rgm@gnu.org>
17220         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17221         Maybe copy some custom properties from old to new name.  (Bug#4706)
17223 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17225         * subr.el (error, sit-for, start-process-shell-command)
17226         (start-file-process-shell-command): Set the calling convention
17227         after the function definition.
17229 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17231         * subr.el (error, sit-for, start-process-shell-command)
17232         (start-file-process-shell-command): Use the new
17233         set-advertised-calling-convention feature.
17235 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17237         * international/ucs-normalize.el (ucs-normalize-version):
17238         Change to 1.2.
17239         (check-range): Adjust for Unicode 5.2.
17241 2009-10-15  Juri Linkov  <juri@jurta.org>
17243         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17244         to the `menu-item' format.
17246 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17248         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17249         if the environment variable does not exist.
17251         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17252         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17253         parameter.
17254         (tramp-smb-handle-add-name-to-file)
17255         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17256         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17257         (tramp-smb-handle-file-attributes)
17258         (tramp-smb-do-file-attributes-with-stat)
17259         (tramp-smb-handle-file-local-copy)
17260         (tramp-smb-handle-insert-directory)
17261         (tramp-smb-handle-make-directory)
17262         (tramp-smb-handle-make-directory-internal)
17263         (tramp-smb-handle-make-symbolic-link)
17264         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17265         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17266         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17267         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17268         Handle long file names.
17269         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17270         process is running.
17271         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17272         Read share names with "-g" option.
17274 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17276         * net/rcirc.el (rcirc-view-log-file): New command.
17277         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17278         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17279         specified.
17281 2009-10-15  Glenn Morris  <rgm@gnu.org>
17283         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17284         from the second command-line argument.
17285         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17286         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17287         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17288         w32-batch-update-autoloads.
17289         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17290         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17292         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17293         the headers cannot be located.  Simplify, subtracting superflous
17294         save-excursions.
17296 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17298         Replace completion-base-size by completion-base-position to fix bugs
17299         such as (bug#4699).
17300         * simple.el (completion-base-position): New var.
17301         (completion-base-size): Mark as obsolete.
17302         (choose-completion): Make it work for mouse events as well.
17303         Pass the new base-position to choose-completion-string.
17304         (choose-completion-guess-base-position): New function, extracted from
17305         choose-completion-delete-max-match.
17306         (choose-completion-delete-max-match): Use it.  Make obsolete.
17307         (choose-completion-string): Use the new base-position info.
17308         (completion-root-regexp): Delete.
17309         (completion-setup-function): Preserve completion-base-position.
17310         Eliminate obsolete base-size manipulation.
17311         * minibuffer.el (display-completion-list): Don't mess with base-size.
17312         (minibuffer-completion-help): Set completion-base-position instead.
17313         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17314         choose-completion.
17315         * textmodes/bibtex.el (bibtex-complete):
17316         * emacs-lisp/crm.el (crm--choose-completion-string):
17317         Adjust to new calling convention.
17318         * complete.el (partial-completion-mode): Use minibufferp to avoid
17319         bumping into incompatible change to choose-completion-string-functions.
17320         * ido.el (ido-choose-completion-string): Make its calling convention
17321         more permissive.
17322         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17323         base-size manipulation.
17324         (comint-dynamic-list-input-ring): Use dotimes and push.
17325         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17326         fundamental-mode.  Use `or'.
17328 2009-10-14  Juri Linkov  <juri@jurta.org>
17330         * misearch.el (multi-isearch-next-buffer-from-list)
17331         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17333 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17335         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17336         `bytecomp.el'.
17338         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17339         string we return is all made up of text from the completions rather
17340         than part from the completions and part from the input (bug#4219).
17342         * ido.el (ido-everywhere): Use define-minor-mode.
17344         * buff-menu.el (list-buffers, ctl-x-map):
17345         Mark the entry points with ;;;###autoload cookies.
17347 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17349         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17350         correctly in the detached head case.
17351         (vc-git-print-log): Remove unused binding.
17353         * vc.el (vc-responsible-backend): When a directory is passed for
17354         for registration create a VC repository if no backend is
17355         responsible for the directory argument.
17356         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17358         * vc.el: Move comments about RCS and SCCS ...
17359         * vc-rcs.el:
17360         * vc-sccs.el: ... here, respectively.
17362 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17364         * minibuffer.el (completion--file-name-table): Return nil if there's
17365         no file completion, even if substitute-in-file-name changed
17366         the string (bug#4708).
17368 2009-10-13  Juri Linkov  <juri@jurta.org>
17370         * files-x.el (read-file-local-variable-value): Don't filter out
17371         minor modes from mode name completion (bug#4664).
17373 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17375         * international/mule-cmds.el (ucs-names): Remove exclusion of
17376         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17378 2009-10-13  Kenichi Handa  <handa@m17n.org>
17380         * international/uni-name.el: Regenerated.
17382 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17384         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17385         should be automatically buffer-local, but isn't.)
17387 2009-10-12  Sam Steingold  <sds@gnu.org>
17389         * progmodes/compile.el (compilation-next-error-function): Fix the
17390         timestamps if the buffer has been visited before.
17391         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17392         non-anchored patterns, like the perl one (bug#3928).
17394 2009-10-12  Glenn Morris  <rgm@gnu.org>
17396         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17397         Let-bind `size'.
17399 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17401         * proced.el (proced-unload-function): New function.
17403         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17404         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17405         Doc fix.
17407         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17409 2009-10-11  Juri Linkov  <juri@jurta.org>
17411         * files-x.el (read-file-local-variable-value):
17412         Provide default value only for bound variables (bug#4664).
17414 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17416         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17417         connection methods like smb.
17419         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17420         can be empty.
17422         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17423         (tramp-smb-file-name-handler-alist): Add handlers for
17424         `add-name-to-file', `make-symbolic-link'.
17425         (tramp-smb-handle-add-name-to-file)
17426         (tramp-smb-do-file-attributes-with-stat)
17427         (tramp-smb-handle-make-symbolic-link)
17428         (tramp-smb-get-cifs-capabilities): New defuns.
17429         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17430         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17431         (tramp-smb-handle-file-local-copy)
17432         (tramp-smb-handle-make-directory-internal)
17433         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17434         The file name syntax depends on cifs capabilities.
17435         (tramp-smb-handle-file-attributes):
17436         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17437         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17438         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17440 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17442         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17443         (eieio-defclass): Apply deftype handler and setf-method properties
17444         directly.
17445         (eieio-add-new-slot): Avoid union function from cl library.
17446         (eieio--typep): New function.
17447         (eieio-perform-slot-validation): Use it.
17449 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17451         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17452         Update documentation to refer to the variables documented in r1.135.
17453         (Bug#4188)
17455 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17457         * bookmark.el (Info-suffix-list): Remove this unused variable.
17458         (bookmark-current-point): Remove this obsolete variable.
17459         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17460         Adjust for removal of bookmark-current-point.
17462         (bookmarks-already-loaded, bookmark-current-buffer)
17463         (bookmark-yank-point): Document.  (Bug#4188)
17465 2009-10-10  Glenn Morris  <rgm@gnu.org>
17467         * frame.el (frame-height): Doc fix.
17469         * calendar/calendar.el (calendar-split-width-threshold): New option.
17470         (calendar-basic-setup): Use calendar-split-width-threshold.
17472 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17474         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17475         Ideographic Supplement" range (U+1F200..U+1F2FF).
17477 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17479         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17480         since the list will have been rebuilt anyway.  (Bug#4349)
17482 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17484         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17485         (bookmark-bmenu-execute-deletions): Don't save here, as
17486         bookmark-delete will now do so if necessary.
17487         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17488         (Bug#4348)
17490 2009-10-09  Glenn Morris  <rgm@gnu.org>
17492         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17494 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17496         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17497         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17498         argument now, so the two function's behaviors will match.  (Bug#3645)
17500 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17502         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17503         (tramp-file-name-real-host, tramp-file-name-port):
17504         Apply `save-match-data'.
17506         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17507         case both directories are remote.
17508         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17509         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17511 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17513         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17515 2009-10-07  Glenn Morris  <rgm@gnu.org>
17517         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17518         of concat.
17520 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17522         * files-x.el (read-file-local-variable): Include some
17523         non-user-variables in the completion table (bug#4664).
17525 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17527         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17528         message.
17530         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17531         (tramp-smb-file-name-handler-alist): Add handler for
17532         `copy-directory', `expand-file-name', `set-file-modes'.
17533         (tramp-smb-handle-copy-directory)
17534         (tramp-smb-handle-expand-file-name)
17535         (tramp-smb-handle-set-file-modes): New defuns.
17536         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17537         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17538         entry.
17539         (tramp-smb-handle-insert-directory): Don't flush the cache.
17540         (tramp-smb-maybe-open-connection): Check for samba client and
17541         server versions.
17543 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17545         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17546         to not error out of search for "^lisp=" fails.
17548 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17550         * makefile.w32-in (WINS_UPDATES): New macro.
17551         (custom-deps, finder-data, autoloads): Use it.
17553 2009-10-07  Glenn Morris  <rgm@gnu.org>
17555         * Makefile.in (autoloads): Revert previous change.
17556         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17557         the list of preloaded files passed on the command-line, get
17558         it from src/Makefile.
17560         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17561         show the original buffer rather than a random one.
17563 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17565         * help.el (describe-no-warranty): Place point in a slightly better
17566         position in the GPLv3 text.
17568 2009-10-06  Sam Steingold  <sds@gnu.org>
17570         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17571         the comm attribute is present before calling regexp-quote.
17573 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17575         * play/animate.el (animate-string): For good effect, make sure
17576         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17578         * play/animate.el (animate-sequence, animate-birthday-present):
17579         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17581 2009-10-06  Glenn Morris  <rgm@gnu.org>
17583         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17585         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17586         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17587         (batch-update-autoloads): Process a string value of autoload-excludes,
17588         set during the build process.
17589         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17591         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17592         inside with-parsed...  macro so that `v' is defined.
17594         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17595         * progmodes/fortran.el (fortran-end-of-block)
17596         (fortran-beginning-of-block):
17597         Also push mark in the macro case.
17599         * emerge.el (emerge-show-file-name):
17600         * calc/calc.el (calc-quit):
17601         * calc/calc-misc.el (calc-big-or-small):
17602         * calc/calc-graph.el (calc-graph-view):
17603         * calc/calc-ext.el (calc-reset):
17604         * calendar/calendar.el (calendar-basic-setup):
17605         Use window-full-height-p.
17607         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17608         header we don't understand, don't insert another.  (Bug#4624)
17609         If changing mime charset, insert the new one in the right place.
17611 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17613         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17614         (cal-tex-cursor-month): Correctly increment the end date for diary and
17615         holiday listing.  (Bug#4626)
17617 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17619         * help-fns.el (describe-function-1): Don't burp if the function is not
17620         a symbol.
17622 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17624         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17625         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17626         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17627         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17629         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17630         (eieio-default-superclass): Reflow docstrings.
17631         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17632         (eieio-unbind-method-implementations, defmethod)
17633         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17634         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17635         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17636         (eieio-slot-originating-class-p, eieio-slot-name-index)
17637         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17638         (constructor, initialize-instance, no-next-method, object-print)
17639         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17640         Fix typos in docstrings.
17641         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17642         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17643         (next-method-p): Doc fixes.
17644         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17645         Fix typos in error messages.
17646         (eieio-defmethod): Fix typo in description of generic method.
17648         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17649         (eieio-persistent-save-interactive, slot-missing):
17650         Fix typos in docstrings.
17651         (eieio-instance-inheritor-slot-boundp): Doc fix.
17653         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17654         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17656         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17657         (eieio-custom-object-apply-reset):
17658         Fix typos in docstrings and error messages.
17660         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17661         Fix typo in docstring.
17663         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17664         (eieio-browse-tree): Doc fix.
17665         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17666         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17667         Fix typos in docstrings.
17669         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17670         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17671         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17672         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17673         Reflow docstrings.
17675 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
17677         * vc-hg.el (log-view-vc-backend): Declare for compiler.
17678         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17679         Set log-view-vc-backend so that diff can work.
17681         * log-view.el (log-view-diff): Use vc-diff-internal instead of
17682         vc-version-diff.
17683         (vc-diff-internal): Autoload this instead of vc-version-diff.
17685 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
17687         * simple.el (eval-expression): Doc fix.
17689         * progmodes/cwarn.el (cwarn-mode): Doc fix.
17691 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
17693         * files.el (directory-files-no-dot-files-regexp): New defconst.
17694         (delete-directory): Use it.
17695         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
17697         * net/tramp.el (tramp-verbose): Fix docstring.
17698         (tramp-methods): Add recursive option to `tramp-copy-args'.
17699         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
17700         "scp1_old", "scp2_old", "rsync", "rsyncc".
17701         (tramp-default-method): Check also for `auth-source-user-or-password'.
17702         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17703         Add handler for `copy-directory'.
17704         (tramp-handle-copy-directory): New defun.
17705         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17706         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17707         Optimize sent command.
17709 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17711         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17712         window if necessary.
17714         * calendar/calendar.el (calendar-basic-setup): Don't call
17715         switch-to-buffer in a dedicated window.
17717 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
17719         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17720         don't do anything related to relocating, just return nil.
17721         (bookmark-error-no-filename): New error.
17722         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17723         bookmark has no file.  Don't even attempt to handle things that
17724         are not files; the whole point of custom handlers is to keep that
17725         knowledge elsewhere anyway.  Tighten some comments.
17726         (bookmark-file-or-variation-thereof): Remove now-unused function.
17727         (bookmark-location): Doc string fix.
17728         (Bug#4250)
17730 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17732         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17733         don't use a file dialog, because they usually don't know how to read
17734         a directory target from the user.  (Bug#4230)
17735         Also, make sure the prompt can display directories as well as files.
17737 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17739         * bookmark.el (bookmark-set, bookmark-buffer-name):
17740         Improve doc strings.  (Bug#1193)
17742 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17744         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17745         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17746         (bookmark-get-annotation, bookmark-set-annotation)
17747         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17748         (bookmark-set-position, bookmark-get-front-context-string)
17749         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17750         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17751         (bookmark-jump-other-window, bookmark-handle-bookmark)
17752         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17753         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17754         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17755         Improve doc strings to say whether bookmark can be a string or
17756         a record or both, and make other consistency and clarity fixes.
17757         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17758         (bookmark-default-annotation-text, bookmark-yank-word)
17759         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17760         (bookmark-import-new-list, bookmark-maybe-rename)
17761         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17762         (bookmark-bmenu-bookmark): Give these doc strings.
17763         (bookmark-bmenu-check-position): Give this a doc string, but also
17764         add a FIXME comment about how the function may be pointless.
17765         (bookmark-default-handler): Rework doc string and change a
17766         parameter name, to clarify that this takes a bookmark record
17767         not a bookmark name.
17768         (bookmark-set): Change a parameter name to indicate its meaning,
17769         and improve the doc string a bit.
17770         (Bug#4188)
17772 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17774         * bookmark.el (bookmark-alist): Document the new `handler' element
17775         in the param alist.
17776         (bookmark-make-record-function): Adjust documentation for above.
17777         (Bug#4193)
17779 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17781         * info.el (Info-bookmark-make-record): Document this function.
17782         (Info-bookmark-jump): Document with a doc string, not just a comment.
17783         (Bug#4203)
17785 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
17787         * files.el (copy-directory): New defun.
17789         * dired-aux.el (dired-copy-file-recursive): Use it.
17791 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
17793         * files-x.el (modify-dir-local-variable)
17794         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17795         docstrings.
17797         * recentf.el (recentf-unload-function): New function.
17799 2009-10-04  Glenn Morris  <rgm@gnu.org>
17801         * window.el (window-full-height-p): Add doc string.
17803 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17805         * window.el (window-full-height-p): New function.  (Bug#4543)
17807 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17809         * vc.el: Remove commented out code.
17810         (vc-derived-from-dir-mode): Remove, unused.
17811         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17813 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17815         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17816         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17817         there could be recursive loading when `default-directory' is a
17818         remote file name.  (Bug#4614)
17820 2009-10-03  Glenn Morris  <rgm@gnu.org>
17822         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17823         the frame is wide.
17824         (calendar-generate-window): Test for shrinkability rather than width.
17826         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17827         reusing existing buffers, in case we happen to visit two files with the
17828         same basename.  (Bug#4593)
17830 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17832         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17833         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17834         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17835         subdirs of cedet as well.
17836         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17838 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17840         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17841         Obey advertised-signature-table.
17843         * help-fns.el (help-function-arglist): Don't check
17844         advertised-signature-table.
17845         (describe-function-1): Do it here instead so it also applies to subrs.
17847 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17849         * simple.el (start-file-process): Say in the doc-string, that file
17850         handlers might not support pty association, if PROGRAM is nil.
17852         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17853         HOST and USER are strings.  They are nil, when there are
17854         incomplete entries in ~/.netrc, for example.
17855         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17856         root directory ("device busy" error otherwise).
17858         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17859         Flush file properties of created directory.
17861 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17863         * makefile.w32-in (WINS_BASIC): Remove cedet.
17864         (WINS_CEDET): Add cedet.
17865         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17867 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17869         * net/browse-url.el (browse-url): Pass any symbol in
17870         browse-url-browser-function to `apply', since if you've mistakenly put
17871         an unbound symbol then the error is clearer.  (Bug#4531)
17873 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17875         * allout.el (allout-init, allout-back-to-current-heading)
17876         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17877         (allout-ascend, allout-up-current-level, allout-end-of-level)
17878         (allout-previous-visible-heading, allout-forward-current-level)
17879         (allout-backward-current-level, allout-show-children):
17880         * apropos.el (apropos-describe-plist):
17881         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17882         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17883         * completion.el (add-completion, add-permanent-completion):
17884         * descr-text.el (describe-text-category, describe-char):
17885         * desktop.el (desktop-lazy-abort):
17886         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17887         * dired.el (dired-build-subdir-alist):
17888         * ediff.el (ediff-version):
17889         * elide-head.el (elide-head, elide-head-show):
17890         * emerge.el (emerge-version):
17891         * env.el (getenv):
17892         * face-remap.el (variable-pitch-mode):
17893         * faces.el (describe-face):
17894         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17895         (dired-at-point):
17896         * files.el (find-file-existing, auto-save-mode):
17897         * font-lock.el (font-lock-fontify-buffer):
17898         * help-fns.el (describe-function, describe-variable)
17899         (describe-syntax, describe-categories):
17900         * help.el (view-lossage, describe-bindings, describe-key)
17901         (describe-mode):
17902         * hexl.el (hexl-current-address):
17903         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17904         * info.el (Info-goto-emacs-key-command-node):
17905         * log-edit.el (log-edit-insert-cvs-template)
17906         (log-edit-insert-cvs-rcstemplate):
17907         * menu-bar.el (menu-bar-mode):
17908         * mouse.el (mouse-appearance-menu):
17909         * newcomment.el (comment-indent-new-line):
17910         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17911         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17912         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17913         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17914         * recentf.el (recentf-mode):
17915         * savehist.el (savehist-mode, savehist-save):
17916         * shadowfile.el (shadow-copy-files):
17917         * simple.el (kill-ring-save, next-line, previous-line)
17918         (normal-erase-is-backspace-mode):
17919         * strokes.el (strokes-update-window-configuration)
17920         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17921         (strokes-xpm-for-stroke):
17922         * time.el (emacs-uptime, emacs-init-time):
17923         * tutorial.el (tutorial--describe-nonstandard-key)
17924         (tutorial--detailed-help):
17925         * type-break.el (type-break-mode)
17926         (type-break-mode-line-message-mode, type-break-query-mode)
17927         (type-break-guesstimate-keystroke-threshold):
17928         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17929         * version.el (emacs-version):
17930         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17931         * winner.el (winner-mode):
17932         * calendar/timeclock.el (timeclock-in, timeclock-out)
17933         (timeclock-status-string, timeclock-change)
17934         (timeclock-workday-remaining-string)
17935         (timeclock-workday-elapsed-string)
17936         (timeclock-when-to-leave-string):
17937         * calendar/todo-mode.el (todo-add-category):
17938         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17939         * emacs-lisp/autoload.el (update-file-autoloads):
17940         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17941         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17942         (checkdoc-message-text, checkdoc-defun):
17943         * emacs-lisp/debug.el (debugger-list-functions):
17944         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17945         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17946         (eieio-describe-generic):
17947         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17948         * emacs-lisp/shadow.el (list-load-path-shadows):
17949         * emulation/cua-base.el (cua-mode):
17950         * emulation/edt.el (edt-set-scroll-margins):
17951         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17952         (tpu-toggle-regexp, tpu-toggle-search-direction)
17953         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17954         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17955         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17956         (viper-set-parsing-style-toggling-macro)
17957         (viper-set-emacs-state-searchstyle-macros):
17958         * emulation/viper.el (viper-set-hooks):
17959         * eshell/esh-mode.el (eshell-truncate-buffer):
17960         * international/mule-cmds.el (prefer-coding-system)
17961         (describe-input-method, describe-language-environment):
17962         * international/mule-diag.el (list-character-sets)
17963         (describe-character-set, describe-coding-system)
17964         (describe-fontset, list-fontsets, list-input-methods):
17965         * mail/sendmail.el (mail-signature):
17966         * net/ange-ftp.el (ange-ftp-copy-file):
17967         * net/browse-url.el (browse-url):
17968         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17969         * net/quickurl.el (quickurl-add-url):
17970         * net/rcirc.el (names, topic):
17971         * net/xesam.el (xesam-mode):
17972         * play/5x5.el (5x5-new-game):
17973         * play/yow.el (apropos-zippy):
17974         * progmodes/ada-mode.el (ada-mode-version):
17975         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17976         (f90-end-of-block)
17977         (f90-beginning-of-block):
17978         * progmodes/fortran.el (fortran-end-of-block)
17979         (fortran-beginning-of-block):
17980         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17981         * progmodes/python.el (python-describe-symbol, python-shell):
17982         * term/ns-win.el (ns-print-buffer):
17983         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17984         * textmodes/flyspell.el (flyspell-mode-on):
17985         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17986         (pages-directory-for-addresses):
17987         * textmodes/table.el (table-recognize-cell)
17988         (table-query-dimension, table-generate-source)
17989         (table-insert-sequence, table--warn-incompatibility):
17990         * textmodes/tex-mode.el (tex-validate-buffer):
17991         * textmodes/texinfmt.el (texinfmt-version)
17992         (texinfo-format-buffer):
17993         Use `called-interactively-p' instead of `interactive-p'.
17995 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17997         * image-mode.el (image-toggle-display):
17998         * emacs-lisp/elp.el (elp-instrument-function):
17999         * emacs-lisp/advice.el (ad-make-advised-definition):
18000         * emacs-lisp/easy-mmode.el (define-minor-mode):
18001         * net/browse-url.el (browse-url-maybe-new-window):
18002         * progmodes/sh-script.el (sh-learn-buffer-indent):
18003         Pass new argument 'any to `called-interactively-p'.
18005 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
18007         * international/uni-bidi.el:
18008         * international/uni-category.el:
18009         * international/uni-combining.el:
18010         * international/uni-comment.el:
18011         * international/uni-decimal.el:
18012         * international/uni-decomposition.el:
18013         * international/uni-digit.el:
18014         * international/uni-lowercase.el:
18015         * international/uni-mirrored.el:
18016         * international/uni-name.el:
18017         * international/uni-numeric.el:
18018         * international/uni-old-name.el:
18019         * international/uni-titlecase.el:
18020         * international/uni-uppercase.el:
18021         Regenerate from Unicode 5.2.0 data.
18023 2009-10-01  Glenn Morris  <rgm@gnu.org>
18025         * Makefile.in (ELCFILES): Regenerate.
18027 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18029         * subr.el (interactive-p): Mark obsolete.
18030         (called-interactively-p): Make the optional-ness of `kind' obsolete.
18031         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18032         advertised-signature-table for subroutines as well.
18034         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18035         (set-advertised-calling-convention): New function.
18036         (make-obsolete, define-obsolete-function-alias)
18037         (make-obsolete-variable, define-obsolete-variable-alias):
18038         Make the optional-ness of `when' obsolete.
18039         (define-obsolete-face-alias): Make `when' non-optional.
18040         * help-fns.el (help-function-arglist):
18041         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18042         Use advertised-signature-table.
18044 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
18046         * files.el (delete-directory): New defun.  The original function
18047         in fileio.c has been renamed to `delete-directory-internal'.
18049         * dired.el (dired-delete-file): Call `delete-directory' with
18050         RECURSIVE parameter.
18052         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18053         parameter RECURSIVE.  Implementation is missing.
18055         * net/tramp.el (tramp-handle-make-directory): Flush upper
18056         directory's file properties.
18057         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18058         (tramp-handle-dired-recursive-delete-directory): Flush directory
18059         properties after the remove command only.
18061         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18062         Handle optional parameter RECURSIVE.
18064         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18065         Handle optional parameter RECURSIVE.
18067         * net/tramp-smb.el (tramp-smb-errors): Add error message for
18068         connection timeout.
18069         (tramp-smb-handle-delete-directory): Handle optional parameter
18070         RECURSIVE.
18072 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18074         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18075         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18076         (byte-compile-defmacro): Use backquotes.
18078         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18080         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18081         has no associated file.
18082         (vc-resynch-buffer): Use vc-dir-buffers.
18084 2009-10-01  Glenn Morris  <rgm@gnu.org>
18086         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18087         (chart-file-count):
18088         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18089         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18090         * emacs-lisp/eieio-opt.el (eieio-describe-class):
18091         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18092         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18093         (eieio-copy-parents-into-subclass, make-instance, class-children)
18094         (eieio-generic-form):
18096         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18097         match-data.  (Bug#4555).
18099         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18100         rather than parsing it as a regexp.  This relaxes the layout
18101         requirements and makes errors easier to detect.
18102         (check-declare-verify): Check file is regular.
18103         (check-declare-directory): Doc fix.
18104         * subr.el (declare-function): Doc fix.
18106         * ibuffer.el (ibuffer-format-qualifier):
18107         * isearch.el (hi-lock-regexp-okay):
18108         * calc/calc.el (math-zerop):
18109         * mail/uce.el (rmail-msgbeg, rmail-msgend):
18110         * term/w32-win.el (setup-default-fontset, set-fontset-font):
18111         Remove unused declarations.
18113 2009-09-30  Eric Ludlam  <zappo@gnu.org>
18115         * emacs-lisp/eieio.el (boolean-p): Delete.
18117 2009-09-30  Glenn Morris  <rgm@gnu.org>
18119         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18121         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18122         filename is not a string.
18124 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
18126         * files.el (safe-local-eval-forms): Fix typo.
18128 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18130         * vc-hooks.el (vc-dir-buffers): New var.
18131         (vc-state-refresh): New function.
18132         (vc-state): Use it.
18133         (vc-after-save): Always ask the backend to recompute the new state.
18134         Always call vc-dir if necessary, using vc-dir-buffers.
18135         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18136         Use vc-dir-buffers.
18137         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18138         (vc-dir-prepare-status-buffer, vc-dir-update)
18139         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18140         Don't call expand-file-name on default-directory.
18142 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18144         * speedbar.el (speedbar-item-delete):
18145         * calc/calc-prog.el (calc-kbd-if):
18146         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18148         * epa.el (epa-key-list-mode-map):
18149         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18151         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18152         (hs-show-hook): Fix typo in docstring.
18154 2009-09-29  Glenn Morris  <rgm@gnu.org>
18156         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18157         file-name-nondirectory call preventing location of cedet files.
18158         (check-declare-verify): Use literal search rather than re-search.
18159         Add basic defmethod and defclass, and define-overloadable-function.
18161         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18162         Use tramp-compat-file-attributes rather than nonexistent
18163         tramp-compat-handle-file-attributes.
18165         * Makefile.in (lisptagsfiles4): New.
18166         (AUTOGENEL): Add cedet loaddefs files.
18167         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18168         (update-elclist, compile-always, backup-compiled-files)
18169         (bootstrap-clean): Add yet another directory level.
18170         (update-elclist): Use LC_COLLATE rather than COLLATE.
18171         (ELCFILES): Update, via `make update-elclist'.
18173 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18175         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18176         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18177         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18179 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18181         * Makefile.in (lisptagsfiles3): Define.
18182         (TAGS, TAGS-LISP): Use it.
18183         (update-elclist): Add third directory level to look for elc files.
18184         (compile-always): Likewise.
18185         (backup-compiled-files): Likewise.
18186         (bootstrap-clean): Likewise.
18187         (ELCFILES): Update.
18189 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18191         * Makefile.in (ELCFILES): Add CEDET files.
18193 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18195         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18197         * net/tramp.el (top): Require tramp-imap.
18199         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18200         Use `tramp-compat-handle-file-attributes'.
18202 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18204         * net/tramp-imap.el: New package.
18206 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18208         * emacs-lisp/chart.el:
18209         * emacs-lisp/eieio-base.el:
18210         * emacs-lisp/eieio-comp.el:
18211         * emacs-lisp/eieio-custom.el:
18212         * emacs-lisp/eieio-datadebug.el:
18213         * emacs-lisp/eieio-opt.el:
18214         * emacs-lisp/eieio-speedbar.el:
18215         * emacs-lisp/eieio.el: New files.
18217 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18219         * whitespace.el (whitespace-trailing-regexp)
18220         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18221         Fix doc string.
18223 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18225         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18226         menu.
18228         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18229         menu-bar-ediff-menu.
18231         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18232         define-overloadable-function.
18234         * progmodes/autoconf.el: Provide autoconf as well, so that this
18235         file can be `require'd.
18237         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18239         * emacs-lisp/autoload.el (generated-autoload-feature)
18240         (generated-autoload-load-name): New vars.
18241         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18242         (make-autoload): Recognize define-overloadable-function and
18243         defclass forms (for EIEIO).
18245         * Makefile.in (update-subdirs): Exclude cedet directory.
18247 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18249         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18251         * faces.el: Default light-background background for region face to
18252         ns_selection_color under NS.
18254 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18256         * net/imap-hash.el: New library, see NEWS.
18258         * Makefile.in (ELCFILES): Add imap-hash.el.
18260 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18262         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18263         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18264         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18265         definition where the docstring could be taken for the return value.
18267 2009-09-26  Glenn Morris  <rgm@gnu.org>
18269         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18270         Add option to only show images below a certain size.
18271         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18272         save-excursion calls.
18274 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18276         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18277         subdirectories) and eieio.
18279 2009-09-26  Alan Mackenzie  <acm@muc.de>
18281         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18282         Correct buggy bracketing.  (Bug#4289)
18284         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18285         character constants (as case labels).  (Bug#4289)
18287 2009-09-25  Juri Linkov  <juri@jurta.org>
18289         * files.el (safe-local-eval-forms): Allow time-stamp in
18290         before-save-hook (Bug#4554).
18292 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18294         * menu-bar.el (list-buffers-directory): Doc fix.
18296 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18298         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18299         Try and avoid copying twice the same paragraph.
18300         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18301         Remove save-excursion.
18302         (log-edit-changelog-entry): Do it here instead.
18304 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18306         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18307         when available, instead of hardcoding mode names.  Doc fix.
18309         * menu-bar.el (list-buffers-directory): Add docstring.
18310         Make automatically buffer-local.
18312         * dired.el (dired-mode):
18313         * files.el (cd-absolute):
18314         * pcvs.el (cvs-temp-buffer):
18315         * pcvs-util.el (cvs-get-buffer-create):
18316         * shell.el (shell-mode):
18317         * vc-dir.el (vc-dir-mode):
18318         Don't make `list-buffers-directory' buffer local.
18320 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18322         * comint.el (comint-exec, comint-run, make-comint):
18323         Doc fixes (Bug#4542).
18325 2009-09-25  Glenn Morris  <rgm@gnu.org>
18327         * mail/rmailmm.el (rmail-mime): New custom group.
18328         Move all defcustoms in this file into this group.
18329         (rmail-mime-media-type-handlers-alist): Revert previous change.
18330         (rmail-mime-show-images): New option.
18331         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18332         references to it, since it wasn't actually used for anything.
18333         (rmail-mime-insert-image): New function.
18334         (rmail-mime-image): Use rmail-mime-insert-image.
18335         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18336         obey the value of `rmail-mime-show-images' option.  Print the size of
18337         attachments.
18339 2009-09-25  David Engster  <deng@randomsample.de>
18341         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18343 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18345         * whitespace.el: Does not highlight trailing spaces While point is
18346         at end of line.  Does not highligt spaces at beginning of buffer
18347         while point is at beginning of buffer.  Does not highlight spaces
18348         at end of buffer while point is at end of buffer.  (Bug#4177)
18349         New version 12.0.
18350         (whitespace-display-mappings): Adjust initialization.
18351         (whitespace-point, whitespace-font-lock-refontify): New vars.
18352         (whitespace-color-on, whitespace-color-off): Adjust code.
18353         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18354         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18355         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18357 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18359         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18361         * textmodes/sgml-mode.el: Remove xml-mode alias.
18363         * files.el (auto-mode-alist, conf-mode-maybe)
18364         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18366 2009-09-24  Alan Mackenzie  <acm@muc.de>
18368         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18369         c-forward-conditionals, but it doesn't move point and doesn't set
18370         the mark.
18371         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18372         (c-down-conditional-with-else, c-backward-conditional)
18373         (c-forward-conditional): Refactor to use c-scan-conditionals.
18375 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18377         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18378         (help-default-arg-highlight): Remove.
18379         (help-highlight-arg): New function.
18380         (help-do-arg-highlight): Use it.
18381         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18383 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18385         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18386         Undo last change, which didn't fix the problem and introduced others.
18388 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18390         * progmodes/gdb-mi.el: Don't require speedbar.
18391         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18393 2009-09-24  Glenn Morris  <rgm@gnu.org>
18395         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18397         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18399         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18400         there is no newline after the final mime boundary.  (Bug#4539)
18401         Move markers on insertion so that any buttons inserted don't end up in
18402         the next part of a multipart message.
18403         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18404         (rmail-mime-bulk-handler): Optionally handle images.
18405         (rmail-mime-image): New button action.
18406         (rmail-mime-image-handler): New function.
18407         (rmail-mime-mode): New mode.
18408         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18410 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18412         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18413         than just dropping elements from it (bug#4504).
18415         * term.el (term-set-scroll-region): Don't move cursor any more.
18416         (term-handle-ansi-escape): Call term-goto here instead.
18417         Suggested by Ivan Kanis <apple@kanis.eu>.
18419         * term.el: Require CL.
18420         (term-ansi-reset): New function.
18421         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18422         (term-handle-colors-array): Simplify.
18424 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18426         * allout.el (allout-overlay-interior-modification-handler)
18427         (allout-obtain-passphrase):
18428         * epa-file.el (epa-file-write-region):
18429         * ps-print.el (ps-begin-job):
18430         * vc-hooks.el (vc-toggle-read-only):
18431         * vc-rcs.el (vc-rcs-rollback):
18432         * vc-sccs.el (vc-sccs-rollback):
18433         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18434         (vc-version-diff, vc-revert, vc-rollback):
18435         * wdired.el (wdired-check-kill-buffer):
18436         * emacs-lisp/authors.el (authors):
18437         * net/socks.el (socks-open-connection):
18438         * net/zeroconf.el (zeroconf-service-add-hook):
18439         * obsolete/vc-mcvs.el (vc-mcvs-register):
18440         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18441         (gdb-select-frame):
18442         * progmodes/grep.el (lgrep, rgrep):
18443         * progmodes/idlw-help.el (idlwave-help-check-locations)
18444         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18445         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18446         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18447         (reftex-toc-rename-label): Fix typos in error messages.
18449         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18450         (dired-copy-how-to-fn): Doc fix.
18451         (dired-files-attributes, dired-read-shell-command):
18452         Fix typos in docstrings.
18454         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18455         (dired-x-find-file-other-window): Reflow docstrings.
18456         (dired-omit-marker-char, dired-read-shell-command)
18457         (dired-x-submit-report): Fix typos in docstrings.
18459         * shell.el (shell-mode-hook):
18460         * view.el (View-scroll-line-forward):
18461         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18462         Fix typos in docstrings.
18464         * net/dig.el (dig-invoke): Fix typo in docstring.
18465         (query-dig): Reflow docstring.
18467         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18468         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18469         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18470         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18471         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18472         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18473         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18474         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18475         (idlwave-completion-map, idlwave-current-indent)
18476         (idlwave-custom-ampersand-surround, idlwave-customize)
18477         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18478         (idlwave-define-abbrev, idlwave-determine-class-special)
18479         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18480         (idlwave-end-block-reg, idlwave-end-of-statement)
18481         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18482         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18483         (idlwave-explicit-class-listed, idlwave-file-header)
18484         (idlwave-fill-paragraph, idlwave-find-class-definition)
18485         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18486         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18487         (idlwave-in-quote, idlwave-indent-action-table)
18488         (idlwave-indent-expand-table, idlwave-indent-line)
18489         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18490         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18491         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18492         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18493         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18494         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18495         (idlwave-outlawed-buffers, idlwave-popup-select)
18496         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18497         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18498         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18499         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18500         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18501         (idlwave-statement-type, idlwave-struct-skip)
18502         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18503         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18504         (idlwave-what-module-find-class): Fix typos in docstrings.
18505         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18506         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18507         (idlwave-find-module, idlwave-find-structure-definition)
18508         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18509         (idlwave-list-load-path-shadows, idlwave-next-statement)
18510         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18511         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18512         (idlwave-template): Reflow docstrings.
18514         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18515         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18516         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18517         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18518         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18519         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18520         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18521         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18522         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18523         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18524         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18525         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18526         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18527         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18528         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18529         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18530         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18531         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18532         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18533         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18534         Fix typos in docstrings.
18535         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18536         (idlwave-shell-hide-output, idlwave-shell-mode)
18537         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18538         Reflow docstrings.
18540         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18542 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18544         * term.el (term-bold-attribute): New var.
18545         (term-handle-colors-array): Use it.
18547 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18549         * progmodes/gdb-mi.el (gdb-version): New variable.
18550         (gdb-non-stop-handler): Set gdb-version.
18551         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18552         Condition "--thread" option on gdb-version.
18553         (gdb-invalidate-threads): Remove unused argument.
18555 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18557         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18558         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18560 2009-09-23  Glenn Morris  <rgm@gnu.org>
18562         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18563         replying to mail without References or Message-Id.  (Bug#4525)
18565 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18567         * term/ns-win.el (ns-reg-to-script): New variable.
18569 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18571         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18573 2009-09-22  Sam Steingold  <sds@gnu.org>
18575         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18576         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18577         to 1 because hg returns status 1 when nothing is found.
18578         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18580 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18582         * textmodes/fill.el: Convert to utf-8 encoding.
18583         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18584         pre-Unicode days.
18586         * add-log.el (change-log-fill-forward-paragraph): New function.
18587         (change-log-mode): Use it so fill-region DTRT.
18588         Set fill-indent-according-to-mode here rather than in
18589         change-log-fill-paragraph.
18590         (change-log-fill-paragraph): Remove.
18592 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18594         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18595         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18597 2009-09-22  Glenn Morris  <rgm@gnu.org>
18599         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18600         the scroll-bar scroll the calendar window rather than the buffer.
18602         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18603         commands that move point (as opposed to scrolling).
18605         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18607         * emacs-lisp/elint.el (elint): New custom group.
18608         (elint-log-buffer): Make it a defcustom.
18609         (elint-scan-preloaded, elint-ignored-warnings)
18610         (elint-directory-skip-re): New options.
18611         (elint-builtin-variables): Doc fix.
18612         (elint-preloaded-env): New variable.
18613         (elint-unknown-builtin-args): Add an entry for encode-time.
18614         (elint-extra-errors): Make it a variable rather than a constant.
18615         (elint-preloaded-skip-re): New constant.
18616         (elint-directory): Skip files matching elint-directory-skip-re.
18617         (elint-features): New variable, local to linted buffers.
18618         (elint-update-env): Initialize elint-features.  Possibly add
18619         elint-preloaded-env to the buffer's environment.
18620         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18621         Skip quoted forms.
18622         (elint-init-form): New function, extracted from elint-init-env.
18623         Make non-list forms a warning rather than an error.
18624         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18625         easy-menu-define, put that adds an error-condition, and provide.
18626         When requiring cl, also require cl-macs.  Really require cl, to handle
18627         some cl macros.  Store required libraries in the list elint-features,
18628         so as not to re-load them.  Treat cc-require like require.
18629         (elint-init-env): Call elint-init-form to do the work.
18630         Handle eval-and-compile and such like.
18631         (elint-add-required-env): Do not clear messages.
18632         (elint-special-forms): Add handlers for function, defalias, if, when,
18633         unless, and, or.
18634         (elint-form): Add optional argument to ignore elint-special-forms,
18635         useful to prevent recursive calls from handlers.  Doc fix.
18636         Respect elint-ignored-warnings.
18637         (elint-form): Respect elint-ignored-warnings.
18638         (elint-bound-variable, elint-bound-function): New variables.
18639         (elint-unbound-variable): Respect elint-bound-variable.
18640         (elint-get-args): Respect elint-bound-function.
18641         (elint-check-cond-form): Add some simple handling for (f)boundp and
18642         featurep tests.
18643         (elint-check-defalias-form): New handler.
18644         (elint-check-let-form): Make an empty let a warning rather than an
18645         error.
18646         (elint-check-setq-form): Make an empty setq a warning rather than an
18647         error.  Respect elint-ignored-warnings.
18648         (elint-check-defvar-form): Accept null doc-strings.
18649         (elint-check-conditional-form): New handler.  Does some simple-minded
18650         checking of featurep and (f)boundp tests.
18651         (elint-put-function-args): New function.
18652         (elint-initialize): Use elint-scan-doc-file rather than
18653         elint-find-builtin-variables.  Use elint-put-function-args.
18654         Possibly scan preloaded-file-list.
18655         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18656         extend to handle functions as well.
18658 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18660         * linum.el (linum-delete-overlays, linum-update-window):
18661         Do not modify the right margin.  (Bug#3971)
18663 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18665         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18666         Use nxml-mode instead of xml-mode.
18668 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18670         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18672 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18674         * net/dig.el (dig-mode): Use define-derived-mode.
18676 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
18678         * vc-dispatcher.el (vc-do-command): Return the process object in
18679         the asynchronous case.  Use when instead of if.  Do not run
18680         vc-exec-after to display a message if not enabled.  (Bug#4463)
18682         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18683         properties to the stash strings.
18684         (vc-git-stash-list): Return a list of strings.
18685         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18686         (vc-git-stash-show-at-point): New functions.
18687         (vc-git-stash-map): New keymap.
18689         * register.el (ctl-x-r-map): Define the keys here instead of
18690         using autoload.
18692 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
18694         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18695         list, to workaround performance problem (bug#4485).
18697 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
18699         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18701 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
18703         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18704         Document that this option is not recommended to use.
18706 2009-09-19  Glenn Morris  <rgm@gnu.org>
18708         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18709         variable `var'.
18711         * calc/calc-alg.el (var):
18712         * calc/calcalg2.el (var): Define for compiler.
18714 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
18716         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18717         Doc fix (Bug#3932).
18719         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18721         * time-stamp.el (time-stamp-month-dd-yyyy)
18722         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18723         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18724         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18725         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18726         Remove functions that have been obsolete since 1995 (Bug#4436).
18728         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18729         indent buffer only if called interactively (Bug#4452).
18731 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
18732             Eli Zaretskii  <eliz@gnu.org>
18734         This fixes bug#4197 (merged to bug#865, though not identical).
18735         * server.el (server-auth-dir): Add docstring note about FAT32.
18736         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18737         but warn against using them.
18739 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
18741         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18742         older GDB where there is no has_more field.
18744 2009-09-19  Glenn Morris  <rgm@gnu.org>
18746         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18748 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
18750         * files.el (auto-mode-alist): Change default for XML files to nXML
18751         mode (Bug#4169).
18753 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
18755         * server.el (server-ensure-safe-dir): Pass 'integer
18756         to `file-attributes', as suggested.
18758 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18760         * dired-aux.el (dired-query-alist): Remove spurious backslash.
18761         (dired-query): Use read-key.
18763 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
18765         * cus-start.el (ns-use-qd-smoothing): Remove.
18767 2009-09-18  Glenn Morris  <rgm@gnu.org>
18769         * allout.el (top-level): Remove unnecessary progn.
18771         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18773         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18774         definition of abbrev table.
18776         * speedbar.el (speedbar-track-mouse):
18777         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18778         * net/eudc.el (eudc-expand-inline):
18779         * net/newst-backend.el (newsticker--cache-read-feed):
18780         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18781         condition-case handlers.
18783 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
18785         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18786         (gdb-var-list): Add an element for has_more field.
18787         (gdb-non-stop-handler): Enable pretty printing for STL containers.
18788         (gdb-var-create-handler, gdb-var-list-children-handler-1)
18789         (gdb-var-update-handler-1): Parse output of dynamic variable
18790         objects (STL containers).
18791         (gdb-var-delete-1): Pass var1 as an explicit second argument.
18792         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
18794         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18795         gdb-var-list.
18796         (gud-speedbar-buttons): Make node expandable if expression "has more"
18797         children.
18799 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
18801         * startup.el (emacs-quick-startup): Remove variable and all uses.
18802         (command-line): Set `inhibit-x-resources' instead.
18803         (command-line-1): Use `inhibit-x-resources' instead.
18805 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18807         * subr.el: Fix last change to avoid using the `unless' macro,
18808         which breaks bootstrapping.
18810 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18812         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18813         extended definitions, in case we reload subr.el after having
18814         loaded CL.
18815         (eval-next-after-load): Mark as obsolete.
18817 2009-09-17  Juri Linkov  <juri@jurta.org>
18819         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18820         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18821         (menu-bar-showhide-menu, menu-bar-tools-menu)
18822         (menu-bar-describe-menu, menu-bar-help-menu)
18823         (minibuffer-local-completion-map, minibuffer-local-map):
18824         Fix list quoting.
18826 2009-09-17  Glenn Morris  <rgm@gnu.org>
18828         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18829         arguments, whether or not it has a handler.
18831         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18833         * simple.el (hard-newline): Give it a doc-string.
18835         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18836         (lisp-mode-syntax-table): Give them doc-strings.
18838 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18840         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18841         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18842         (menu-bar-options-menu, menu-bar-showhide-menu)
18843         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18844         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18845         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18846         (menu-bar-options-menu, menu-bar-tools-menu)
18847         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18848         (menu-bar-help-menu):
18849         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18850         string arguments.
18852         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18853         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18854         calls for the menu names and :help.
18856 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18858         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18859         to :minor-mode-function (bug#4455).
18861 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18863         * startup.el (command-line): Initialize the window-system after
18864         processing the command-line.
18866         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18867         page-delimiter matches the empty string.
18869 2009-09-16  Glenn Morris  <rgm@gnu.org>
18871         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18872         byte-compile-not-obsolete-var.  It's a list now.
18873         (byte-compile-not-obsolete-funcs): New variable.
18874         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18875         byte-compile-not-obsolete-funcs.
18876         (byte-compile-variable-ref, byte-compile-defvar): Update for
18877         byte-compile-not-obsolete-vars name-change and list nature.
18878         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18879         and variables behind (f)boundp tests.
18880         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18882 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18884         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18886 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18888         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18889         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18890         Don't autoload.
18892 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18894         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18895         the virtual-buffers, use the name of the buffer specified by
18896         find-file-noselect, as the match may be a symlink.  (This was a
18897         problem if the target and the symlink had different names.)
18899 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18901         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18903         * desktop.el (desktop-path): Check user-emacs-directory.
18905         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18907         * loadup.el: Use after-load-functions to GC after loading each file.
18908         Remove the explicit GC calls that used to be sprinkled around.
18910         * subr.el (after-load-functions): New hook.
18911         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18912         `obsolete' packages, rather than painfully extracting the relevant
18913         directory name.
18915 2009-09-15  Glenn Morris  <rgm@gnu.org>
18917         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18918         free variable `doc'.
18920         * dired.el (dired-mode-map): Add menu entry for async shell command.
18922         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18923         variables, also consider the .elc files, since the .el files are
18924         normally gzipped (subsequent code locates the .el.gz from the .elc).
18926         * calc/calc-prog.el (arglist): Define for compiler.
18928         * calendar/diary-lib.el (diary-display-function): Change the default to
18929         fancy display.
18930         (body): Define for compiler.
18932         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18933         (byte-compile-file-form, byte-compile-lambda)
18934         (byte-compile-top-level-body, byte-compile-form)
18935         (byte-compile-variable-ref, byte-compile-setq)
18936         (byte-compile-setq-default, byte-compile-body)
18937         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18938         (batch-byte-compile): Give some more local variables with common names
18939         a "bytecomp-" prefix to avoid masking warnings about free variables.
18941         * startup.el (command-line-1): Give local variables with common names a
18942         distinguishing prefix, so as not to hide free variable warnings during
18943         bootstrap.
18945         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18946         clever and add a suffix to make a unique name, just let the user decide
18947         whether or not to overwrite it.  If the input is a directory, write the
18948         default filename to that directory.  (Bug#4388)
18949         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18950         is a filename-as-a-directory.
18952 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18954         * textmodes/page.el (what-page): Don't move to beginning of line.
18955         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18957 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18959         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18961 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18963         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18964         * help.el (help-for-help-internal): Add purecopy calls for text.
18966         * vc.el (top): print-log method now takes an optional SHORTLOG
18967         argument.  Add a new method: root.
18968         (vc-root-diff, vc-print-root-log): New functions.
18969         (vc-log-short-style): New variable.
18970         (vc-print-log-internal): Add support for showing short logs.
18972         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18973         vc-print-root-log and vc-print-root-diff.
18975         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18976         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18977         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18978         short logs.
18980         * vc-cvs.el (vc-cvs-print-log):
18981         * vc-mtn.el (vc-mtn-print-log):
18982         * vc-rcs.el (vc-rcs-print-log):
18983         * vc-sccs.el (vc-sccs-print-log):
18984         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18985         that is ignored for now.
18987         * vc-mtn.el (vc-mtn-annotate-command):
18988         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18990 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18992         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18993         to function-key-map, and give them ascii-character property.
18994         * term/x-win.el (x-alternatives-map):
18995         * term/ns-win.el (ns-alternatives-map):
18996         * term/internal.el (msdos-key-remapping-map):
18997         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18999 2009-09-14  Glenn Morris  <rgm@gnu.org>
19001         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19002         temp-buffers (2009-09-12).
19004 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19006         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19007         the new read-key function.
19009 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19011         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19012         is defined (Bug#4405).
19014 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
19016         * recentf.el (recentf-cleanup): Use a hash table to find
19017         duplicates (Bug#4407).
19019 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
19021         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19022         kp-0 to ascii equivalents (Bug#4325).
19024 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
19026         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19028         * eshell/em-hist.el:
19029         * eshell/em-dirs.el (eshell-complete-user-reference):
19030         Declare pcomplete functions and variables to avoid compiler warnings.
19032 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
19034         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19035         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19036         * eshell/em-alias.el (eshell-aliases-file):
19037         * eshell/em-hist.el (eshell-history-file-name):
19038         Use expand-file-name instead of concat to make file names (Bug#4308).
19040 2009-09-13  Glenn Morris  <rgm@gnu.org>
19042         * ediff-merg.el (ediff-do-merge):
19043         * filesets.el (filesets-run-cmd):
19044         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19045         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19046         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19047         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19048         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19049         Replace empty `let's with `progn'.
19051 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19053         * mail/sendmail.el (send-mail-function):
19054         * tooltip.el (tooltip-mode):
19055         * simple.el (transient-mark-mode):
19056         * rfn-eshadow.el (file-name-shadow-mode):
19057         * frame.el (blink-cursor-mode):
19058         * font-core.el (global-font-lock-mode):
19059         * files.el (temporary-file-directory)
19060         (small-temporary-file-directory, auto-save-file-name-transforms):
19061         * epa-hook.el (auto-encryption-mode):
19062         * composite.el (global-auto-composition-mode):
19063         Use custom-initialize-delay.
19064         * startup.el (command-line): Don't explicitly call
19065         custom-reevaluate-setting for all the above vars.
19066         * custom.el (custom-initialize-safe-set)
19067         (custom-initialize-safe-default): Delete.
19069 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19071         * term/x-win.el (x-initialize-window-system):
19072         * term/w32-win.el (w32-initialize-window-system):
19073         * term/ns-win.el (ns-initialize-window-system): Don't call
19074         mouse-wheel-mode since it's enabled globally by default already.
19076         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19077         actually define the variable, but only silences the byte-compiler.
19078         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19079         before looking it up.
19080         (mouse-wheel-scroll-amount): Also reset the bindings if this value
19081         is changed.
19083 2009-09-12  Glenn Morris  <rgm@gnu.org>
19085         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19086         1000.
19087         (elint-add-required-env): Don't beep on error.
19088         (elint-forms): In case of error, return ENV unchanged.
19089         (elint-init-env): Skip non-list forms.
19090         (elint-log): Handle unknown file positions.
19092 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
19094         * epg.el (epg-make-context): Add autoload cookie.
19095         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19096         (epg-decrypt-string, epg-start-verify, epg-verify-file)
19097         (epg-verify-string, epg-start-sign, epg-sign-file)
19098         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19099         (epg-encrypt-string, epg-start-export-keys)
19100         (epg-export-keys-to-file, epg-export-keys-to-string)
19101         (epg-start-import-keys, epg-import-keys-from-file)
19102         (epg-import-keys-from-string, epg-start-receive-keys)
19103         (epg-receive-keys, epg-import-keys-from-server)
19104         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19105         (epg-sign-keys, epg-start-generate-key)
19106         (epg-generate-key-from-file, epg-generate-key-from-string):
19107         Remove autoload cookie.
19109 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
19111         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19112         reevaluation of trash-directory.
19114         * mwheel.el: Fix last change.
19115         (mouse-wheel-mode): New defvar.
19116         (mouse-wheel-mode): Remove autoload cookie.
19118 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19120         * mwheel.el (mwheel-installed-bindings): New var.
19121         (mouse-wheel-mode): Use it, so as to make sure we really remove all
19122         the bindings we set last time.  Use custom-initialize-delay.
19123         * loadup.el: Load mwheel after term/*-win.el.
19124         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19125         and mouse-wheel-up-event now that their first evaluation is done
19126         sufficiently late to be correct.
19128         * startup.el (tutorial-directory): Make it a defcustom.
19129         Use custom-initialize-delay rather than eval-at-startup to set it.
19130         * image.el (image-load-path): Make it a defcustom.
19131         Use custom-initialize-delay rather than eval-at-startup to set it.
19132         * subr.el (eval-at-startup): Remove.
19133         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19135         * subr.el (do-after-load-evaluation): Warn the user after loading an
19136         obsolete package.
19138 2009-09-12  Glenn Morris  <rgm@gnu.org>
19140         * proced.el (proced-mark-alt): Remove alias.
19141         (proced-mode-map): Remove proced-mark-alt.
19143         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19144         Elint file and directory.  Remove initialization entry.
19146         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19147         commands.
19148         (elint-current-buffer): Set mode-line-process.
19149         (elint-init-env): Handle define-derived-mode.
19150         Fix declare-function with unspecified arglist.  Guard against odd
19151         defalias statements (eg iso-insert's 8859-1-map).
19152         (elint-add-required-env): Use a temp buffer.
19153         (elint-form): Just print the function/macro name, not the whole form.
19154         Return env unchanged if we fail to parse a macro.
19155         (elint-forms): Guard against parse errors.
19156         (elint-output): New function, to handle batch mode.
19157         (elint-log-message): Add optional argument.  Use elint-output.
19158         (elint-set-mode-line): New function.
19160 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19162         * emacs-lisp/elp.el (elp-not-profilable): Add more
19163         functions (Bug#4233).
19165 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19167         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19168         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19170 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19172         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19173         (gdb-var-list-children): Use json parsing.
19175 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19177         * progmodes/js.el (js--proper-indentation): Handle the case where
19178         char-before is null.  Reported by Deniz Dogan.
19180 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19182         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19184 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19186         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19187         (epg-digest-algorithm-alist): Add SHA224.
19188         (epg-context-set-passphrase-callback)
19189         (epg-context-set-progress-callback): Add description about
19190         callback function.
19192 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19194         * custom.el (custom-delayed-init-variables): New var.
19195         (custom-initialize-delay): New function.
19196         * startup.el (command-line): "Re"evaluate all vars in
19197         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19198         explicitly any more.
19199         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19200         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19202         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19204 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19206         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19207         (gdb-var-update-handler): Use json parsing.
19209 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19211         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19212         decode annotated text, regardless of language environment.  (Bug#2741)
19214 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19216         * Makefile.in (autoloads): Make rmail.el writable as well.
19218 2009-09-11  Glenn Morris  <rgm@gnu.org>
19220         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19221         loaddefs.el.
19222         * dired.el: Regenerate with extracted autoloads.
19223         * Makefile.in (autoloads): Make dired.el writable.
19225         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19226         * ibuffer.el: Regenerate with extracted autoloads.
19227         * Makefile.in (autoloads): Make ibuffer.el writable.
19229         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19230         * version.el (emacs-copyright, emacs-major-version)
19231         (emacs-minor-version): Reformat doc-strings for make-docfile.
19233         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19234         functions and variables, since they must be stuff specific to some other
19235         platform.
19236         (apropos-print): Make mouse-click message less specific about button.
19238         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19239         that records where a macro was defined.
19240         * help-fns.el (describe-function-1): Mention if a function has a
19241         compiler-macro.
19242         * help-mode.el (help-function-cmacro): New button.
19244         * locate.el (top-level): Always require dired.
19245         (locate-mode-map): Initialize inside the defvar.
19247         * net/ange-ftp.el (dired-compress-file): Declare.
19248         (ange-ftp-dired-compress-file): Add doc string.
19250         * term/ns-win.el (x-display-name, x-setup-function-keys):
19251         Unify doc-strings with X versions.
19253 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19255         * emulation/crisp.el (crisp-mode-map): Move initialization
19256         into declaration.
19257         (crisp-mode): Use define-minor-mode.
19259         * progmodes/xscheme.el (xscheme-evaluation-commands):
19260         Put a :advertised-binding property rather than using
19261         advertised-xscheme-send-previous-expression.
19262         (advertised-xscheme-send-previous-expression): Declare obsolete.
19263         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19264         `advertised-undo'.
19265         (crisp-mode): Add corresponding bindings to
19266         undo's :advertised-binding instead.
19267         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19268         than using dired-advertised-find-file.
19269         (dired-advertised-find-file):
19270         * simple.el (advertised-undo):
19271         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19272         (widget-keymap): Put a :advertised-binding property rather
19273         than using advertised-widget-backward.
19274         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19275         than using advertised-undo.
19276         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19278 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19280         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19281         Mark mode is enabled and region is active; otherwise indent or
19282         insert TAB as usual.
19283         (delphi-mode): Update description of TAB-key binding.
19285 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19287         * subr.el (define-key-rebound-commands): Mark obsolete.
19288         * startup.el (precompute-menubar-bindings): Remove.
19289         (normal-top-level): Remove obsolete code that tried to precompute
19290         menubar bindings.
19291         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19292         define-key-rebound-commands and precompute-menubar-bindings.
19294 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19296         * net/imap.el (imap-interactive-login): Better messages.
19297         (imap-open): Fix bug with renamed buffer on reconnect.
19298         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19299         for easier debugging and cleaner code.  On successful (guessed based on
19300         server capabilities) secondary authentication, set imap-state
19301         correctly.
19302         (imap-last-authenticator): Define imap-last-authenticator as a variable
19303         to avoid warnings.
19305 2009-09-10  Glenn Morris  <rgm@gnu.org>
19307         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19309         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19310         (byte-compile-file-form-autoload): Don't warn about unknown functions
19311         where the autoload statement comes after the use.
19312         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19313         that any handlers inside the body (eg require) are in turn respected.
19315         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19316         effects.
19318         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19319         and syntax and abbrev tables basic docs, if they don't have any.
19321         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19323         * international/mule-cmds.el (top-level): Require cl when compiling.
19324         (view-hello-file): Use default-value rather than
19325         default-enable-multibyte-characters.
19327         * progmodes/fortran.el: Move all safe and risky properties into the
19328         defcustoms.
19330         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19331         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19332         * mail/undigest.el:
19333         Put autoloads in rmail.el rather than loaddefs.el.
19334         * mail/rmail.el: Regenerate with extracted autoloads.
19336         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19337         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19339 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19341         Reported in thread for Bug#4375.
19342         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19343         "-data-evaluate-expression" instead of print.
19344         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19345         (gdb-tooltip-print): Parse output from above MI command.
19346         (gdb): Revert 2009-08-11 change.  User should detach inferior
19347         manually.
19349         Remove the word "separate" from IO functions as inferior
19350         output is now never displayed in the GUD buffer.
19352 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19354         * startup.el (command-line-normalize-file-name): On Windows and
19355         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19357 2009-09-10  Juri Linkov  <juri@jurta.org>
19359         * isearch.el (isearch-text-char-description): Propertize escape
19360         character sequences with the `escape-glyph' face.  (Bug#4344)
19362         * simple.el (shell-command): Set asynchronous process filter to
19363         `comint-output-filter'.  (Bug#4343)
19365         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19366         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19367         the list.  Move "asm" to the bottom.
19368         (grep-find-ignored-directories): Add `choice' with nil value
19369         to empty the list easily.
19370         (grep-find-ignored-files): New option.
19371         (grep-files-history): Set to nil by default instead of '("ch" "el").
19372         (grep-compute-defaults): Add "<X>" to `grep-template'.
19373         (grep-read-files): Bind new local variables `default-alias' and
19374         `default-extension'.  Use a list of default values for the file prompt.
19375         (lgrep): Add `--exclude=' command line options composed from
19376         `grep-find-ignored-files'.
19377         (rgrep): Add `-name' command line options composed from
19378         `grep-find-ignored-files'.  (Bug#4301)
19380 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19382         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19383         (bug#4368).
19385 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19387         * calendar/time-date.el (autoload):
19388         Expand define-obsolete-function-alias into defalias and make-obsolete
19389         for old Emacsen that Gnus supports.
19390         (with-no-warnings): Define it for old Emacsen.
19391         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19392         is available.
19393         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19394         float-time is available; suppress compile warning for time-to-seconds.
19396 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19398         * net/imap.el (imap-message-map): Docstring fix.
19400 2009-09-09  Glenn Morris  <rgm@gnu.org>
19402         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19403         line numbers too.  (Bug#4374)
19405 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19407         * smerge-mode.el (smerge-remove-props, smerge-refine):
19408         Use with-silent-modifications (bug#4342).
19410         * subr.el (with-silent-modifications): New macro.
19412 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19414         * files.el (top-level): Require `cl' when compiling.
19416 2009-09-07  Glenn Morris  <rgm@gnu.org>
19418         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19420         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19421         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19423 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19425         * vc-git.el (vc-git-annotate-command): Use separator to parse
19426         arguments correctly.
19428 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19430         * proced.el (proced-mode): Doc fix.
19432 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19434         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19435         lstat fails.
19436         (tramp-do-file-attributes-with-ls): Check for file existence at
19437         remote end.
19438         (tramp-do-file-attributes-with-stat): Likewise.
19439         (tramp-convert-file-attributes): Return nil when attr is nil.
19441 2009-09-05  Glenn Morris  <rgm@gnu.org>
19443         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19444         properties to this button.
19445         (diary-fancy-display): Don't extend the button to the final newline.
19446         (diary-fancy-display-mode): Continue to define "q" as a local key.
19448         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19449         efficient.
19451         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19453         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19454         (byte-compile-dest-file-function): New option.
19455         (byte-compile-dest-file): Doc fix.
19456         Obey byte-compile-dest-file-function.
19457         (byte-compile-cl-file-p): New function.
19458         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19459         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19460         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19461         than for file being previously loaded.
19462         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19463         (byte-compile-file-form-require): Handle the case where requiring a file
19464         indirectly causes CL to be loaded.
19466 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19468         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19469         before killing the old buffer, since by the time `kill-buffer' is
19470         run so many buffer variables have been set to nil that it may not
19471         behave as expected.  (Bug#4061)
19473 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19475         * files.el (find-alternate-file): If the old buffer is modified
19476         and visiting a file, behave similarly to `kill-buffer' when
19477         killing it, thus reverting to the pre-1.878 behavior; see
19478         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19479         for discussion.  Also, consult `buffer-file-name' as a variable
19480         not as a function, for consistency with the rest of the code.
19482 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19484         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19485         also when adding a new directory.
19487         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19488         New defun.
19490 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19492         * files.el (locate-file-completion-table): Make it provide boundary
19493         information, so partial-completion works better.
19495 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19497         * mail/footnote.el (Footnote-text-under-cursor):
19498         Check footnote-text-marker-alist before using it (bug#4324).
19500 2009-09-04  Glenn Morris  <rgm@gnu.org>
19502         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19503         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19504         * play/solitaire.el, play/tetris.el:
19505         Remove leading * from defcustom and defface docs.
19507         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19508         necessary.
19509         (diary-fancy-overriding-map): New variable.
19510         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19511         Use view-mode.
19513         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19514         goto-line.
19516 2009-09-03  Glenn Morris  <rgm@gnu.org>
19518         * arc-mode.el (archive-mode):
19519         * dos-fns.el (set-default-process-coding-system):
19520         * man.el (Man-getpage-in-background):
19521         * menu-bar.el (menu-bar-describe-menu):
19522         * server.el (server-process-filter):
19523         * startup.el (command-line):
19524         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19525         * w32-fns.el (set-default-process-coding-system):
19526         * x-dnd.el (x-dnd-handle-file-name):
19527         * international/mule-cmds.el (mule-menu-keymap)
19528         (set-default-coding-systems, language-info-alist, set-language-info)
19529         (set-language-environment, standard-display-european-internal)
19530         (set-locale-environment):
19531         * international/mule-diag.el (mule-diag):
19532         * mail/emacsbug.el (report-emacs-bug):
19533         * mail/rmail.el (rmail-mode):
19534         * mail/sendmail.el (mail-setup):
19535         Use default-value rather than default-enable-multibyte-characters.
19537         * progmodes/f90.el: Move all safe properties into the defcustoms.
19538         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19540         * calendar/appt.el (appt-check):
19541         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19542         (diary-check-diary-file, diary-list-entries)
19543         (diary-include-other-diary-files, diary-simple-display)
19544         (diary-fancy-display, diary-print-entries)
19545         (diary-mark-included-diary-files, diary-make-entry):
19546         Don't call substitute-in-file-name on diary-file.
19548 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19549             Stefan Monnier  <monnier@iro.umontreal.ca>
19551         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19552         (footnote-mode-map): Move initialization into the declaration.
19553         (footnote-minor-mode-map): Define it rather than changing global-map.
19554         (footnote-mode): Use define-minor-mode.
19556 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19558         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19559         (tramp-do-file-attributes-with-perl)
19560         (tramp-do-file-attributes-with-stat): Rename from
19561         `tramp-handle-file-attributes-with-*'.
19562         (tramp-handle-file-attributes): Use them.
19563         (tramp-do-directory-files-and-attributes-with-perl)
19564         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19565         `tramp-handle-directory-files-and-attributes-with-*'.
19566         (tramp-handle-directory-files-and-attributes): Use them.
19567         (tramp-method-out-of-band-p): Additional parameter SIZE.
19568         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19569         (tramp-handle-write-region): Use it.
19570         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19571         (tramp-handle-vc-registered): Check, whether the first run did
19572         return files to be tested.
19573         (tramp-advice-make-auto-save-file-name): Do not call directly
19574         `tramp-handle-make-auto-save-file-name', because this would bypass
19575         the locking mechanism.
19577         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19578         (file-remote-p, process-file, start-file-process, set-file-times)
19579         (tramp-compat-file-attributes): Compatibility functions shall not
19580         call directly `tramp-handle-*', because this would bypass the
19581         locking mechanism.
19582         (tramp-compat-number-sequence): New defun.
19584 2009-09-02  Glenn Morris  <rgm@gnu.org>
19586         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19587         alias for float-time.
19588         (time-to-number-of-days): In Emacs, use float-time.
19589         * net/newst-backend.el (time-add): Suppress warnings from compat
19590         function.
19591         * time.el (emacs-uptime, emacs-init-time):
19592         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19593         Use float-time rather than time-to-seconds.
19595         * minibuffer.el (completion-initials-expand): Fix typo.
19597         * faces.el (modeline, modeline-inactive, modeline-highlight)
19598         (modeline-buffer-id):
19599         * info.el (info-menu-5): Mark these face aliases as obsolete.
19601 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19603         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19604         space ...
19605         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19606         no "--thread" option.
19607         (gdb-stopped): Don't print "Switched to thread" message when it is
19608         unchanged.
19610 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19612         * minibuffer.el (completion-try-completion)
19613         (completion-all-completions): Remove ill-defined (and
19614         mistakenly installed and luckily never used nor documented)
19615         `completion-styles' property.
19616         (completion-initials-expand, completion-initials-all-completions)
19617         (completion-initials-try-completion): New functions.
19618         (completion-styles-alist): Add doc to each entry.
19619         Add new `initials' entry.
19621 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19623         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19624         MI command -var-evaluate-expression.
19625         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19626         and tweak for case of string child.
19627         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19629 2009-09-01  Glenn Morris  <rgm@gnu.org>
19631         * add-log.el (change-log-date-face, change-log-name-face)
19632         (change-log-email-face, change-log-file-face, change-log-list-face)
19633         (change-log-conditionals-face, change-log-function-face)
19634         (change-log-acknowledgement-face):
19635         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19636         (custom-modified-face, custom-set-face, custom-changed-face)
19637         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19638         (custom-documentation-face, custom-state-face, custom-comment-face)
19639         (custom-comment-tag-face, custom-variable-tag-face)
19640         (custom-variable-button-face, custom-face-tag-face)
19641         (custom-group-tag-face-1, custom-group-tag-face):
19642         * diff-mode.el (diff-header-face, diff-file-header-face)
19643         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19644         (diff-added-face, diff-changed-face, diff-function-face)
19645         (diff-context-face, diff-nonexistent-face):
19646         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19647         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19648         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19649         (Info-title-4-face):
19650         * isearch.el (isearch-lazy-highlight-face):
19651         * log-view.el (log-view-file-face, log-view-message-face):
19652         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19653         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19654         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19655         (cvs-msg-face):
19656         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19657         (smerge-base-face, smerge-markers-face):
19658         * wid-edit.el (widget-documentation-face, widget-button-face)
19659         (widget-field-face, widget-single-line-field-face)
19660         (widget-inactive-face, widget-button-pressed-face):
19661         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19662         (woman-addition-face):
19663         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19664         (eshell-ls-executable-face, eshell-ls-readonly-face)
19665         (eshell-ls-unreadable-face, eshell-ls-special-face)
19666         (eshell-ls-missing-face, eshell-ls-archive-face)
19667         (eshell-ls-backup-face, eshell-ls-product-face)
19668         (eshell-ls-clutter-face):
19669         * eshell/em-prompt.el (eshell-prompt-face):
19670         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19671         * obsolete/old-whitespace.el (whitespace-highlight-face):
19672         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19673         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19674         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19675         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19676         (antlr-font-lock-literal-face):
19677         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19678         (ebrowse-root-class-face, ebrowse-file-name-face)
19679         (ebrowse-default-face, ebrowse-member-attribute-face)
19680         (ebrowse-member-class-face, ebrowse-progress-face):
19681         * progmodes/make-mode.el (makefile-space-face):
19682         * progmodes/sh-script.el (sh-heredoc-face):
19683         * textmodes/flyspell.el (flyspell-incorrect-face)
19684         (flyspell-duplicate-face):
19685         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19686         * textmodes/texinfo.el (texinfo-heading-face):
19687         Mark face aliases with "-face" suffix as obsolete.
19689         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19690         compiler.
19692         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19693         (eudc-bob-sound-menu): Use defvar rather than defconst, since
19694         easy-menu-define wants to modify these.
19696         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19698         * net/browse-url.el (browse-url-file-url):
19699         * term/internal.el (dos-codepage-setup):
19700         Use default-value rather than default-enable-multibyte-characters.
19702         * progmodes/etags.el (etags-goto-tag-location):
19703         * progmodes/flymake.el (flymake-highlight-line)
19704         (flymake-goto-file-and-line, flymake-goto-line):
19705         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19706         (gdb-goto-breakpoint):
19707         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19708         * progmodes/python.el (python-find-function)
19709         (python-pdbtrack-track-stack-file):
19710         * progmodes/verilog-mode.el (verilog-surelint-off):
19711         * term/ns-win.el (ns-open-file-select-line):
19712         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19713         Use forward-line rather than goto-line.
19715         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19716         * textmodes/reftex-index.el (reftex-display-index):
19717         * textmodes/reftex-ref.el (reftex-offer-label-menu):
19718         * textmodes/reftex-toc.el (reftex-toc):
19719         Remove unnecessary bindings of default-major-mode (all are followed by
19720         major-mode check and possible mode switch).
19722 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19724         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19725         Handle watchpoints (bug#4282).
19726         (def-gdb-thread-buffer-command): Enable thread to be selected by
19727         clicking without selecting threads buffer first.
19728         (gdb-current-context-command): Use selected frame so that "up",
19729         "down" etc work in the GUD buffer.
19730         (gdb-update): Find selected frame before rendering stack buffer.
19731         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19733 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19735         * progmodes/sym-comp.el (displayed-completions): Remove.
19736         (symbol-complete): Use minibuffer-complete.
19738 2009-08-31  Glenn Morris  <rgm@gnu.org>
19740         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19742         * apropos.el (apropos-symbols-internal):
19743         Handle (obsolete) face aliases.
19745         * faces.el (describe-face): Adjust the output format to be more like
19746         describe-variable, and to mention (obsolete) face aliases.
19747         Adjust the whitespace so that help-setup-xref works.
19749         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19750         * calendar/diary-lib.el (diary-button-face):
19751         Mark these face aliases as obsolete.
19753         * calendar/calendar.el (calendar-today): Doc fix.
19755 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19757         * progmodes/gdb-mi.el (gdb-control-all-threads)
19758         (gdb-control-current-thread): Force tool bar update.
19759         (gdb-non-stop-handler): New function.
19760         (gdb-init-1): Use it to test if non-stop mode is supported.
19761         Remove unused gdbmi buffer type.
19763 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
19765         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19766         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
19768 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
19770         * comint.el (comint-exec-1): Check command is non-null first.
19771         Part of gdb-mi.el change (2009-08-28).
19773 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19775         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19777 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
19779         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19780         instead of `dolist' to avoid a recursive require when bootstrapping.
19782 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19784         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19786         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19788         * net/imap.el (imap-send-command): Simplify.
19789         (imap-wait-for-tag): point-max -> buffer-size.
19791         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19793         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19794         with constant argument.
19796         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19798         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19800         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19801         Change default, since most of our files don't have a history.
19802         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19803         the user.
19805         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19806         Add comint-run.
19808         * calc/calc.el: Improve commenting convention.
19809         (calc-digit-map, toplevel): Simplify.
19811         * comint.el (comint-insert-input): Be careful to only set point if we
19812         don't delegate to some other command.
19814         * proced.el (proced-signal-list): Make it an alist.
19815         (proced-grammar-alist): Capitalize names.
19816         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19817         Disable undo manually and make it read-only.
19818         Use completion-annotate-function.
19820         * minibuffer.el (minibuffer-message): If the current buffer is not
19821         a minibuffer, insert the message in the echo area rather than at the
19822         end of the buffer.
19823         (completion-annotate-function): New variable.
19824         (minibuffer-completion-help): Use it.
19825         (completion--embedded-envvar-table): Environment vars are
19826         always case-sensitive.
19828 2009-08-30  Glenn Morris  <rgm@gnu.org>
19830         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19831         from fortran-current-defun.
19832         (fortran-beginning-of-subprogram): Be more precise about finding the
19833         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19834         (fortran-end-of-subprogram): Simplify.
19835         (fortran-current-defun): Use fortran-start-prog-re.
19837 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19839         * subr.el (do-after-load-evaluation): Simplify.
19841 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19843         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19845         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19846         (vc-rcs-print-log): Use it.
19848         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19850 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19852         * paths.el (abbrev-file-name): Move to abbrev.el.
19853         * abbrev.el (abbrev-file-name): Move from paths.el.
19854         Obey user-emacs-directory.
19855         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19856         user-emacs-directory.
19857         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19858         abbrev-file-name and calc-settings-file any more.
19859         * startup.el (command-line): Recompute abbrev-file-name and
19860         abbreviated-home-dir.
19861         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19862         of the special code for when C-h bindings haven't been changed.
19863         (display-startup-echo-area-message): Use with-current-buffer.
19864         (command-line-1): Use a list of strings, rather than a list of lists
19865         of strings for longopts.
19867         * files.el (get-free-disk-space): Use / for default-directory.
19869         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19870         Use with-current-buffer.
19872         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19873         Recognize immutable variables like most-positive-fixnum.
19874         (byte-compile-setq-default): Check and warn if trying to assign
19875         to an immutable variable, or a non-variable.
19877         * progmodes/cc-vars.el (c-comment-continuation-stars):
19878         * progmodes/cc-engine.el (c-looking-at-bos):
19879         * progmodes/cc-cmds.el (c-toggle-auto-state)
19880         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19881         (c-comment-line-break-function): Add version of obsolescence.
19883 2009-08-28  Juri Linkov  <juri@jurta.org>
19885         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19886         associated with `archive-mode'.
19888         * image.el (image-type-header-regexps): Use only JPEG magic number
19889         to determine JPEG images, and don't use `image-jpeg-p' because
19890         Emacs can display non-JFIF non-Exif JPEG images.
19892 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19894         * arc-mode.el (archive-mode):
19895         * emacs-lisp/re-builder.el (re-builder-unload-function):
19896         Protect against the default value of `major-mode' being nil.
19898 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19900         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19901         Fix typos in docstrings.
19903         * progmodes/js.el (js--macro-decl-re): Doc fix.
19904         (js--plain-method-re, js--split-name): Refloc docstring.
19905         (js--class-styles, js--make-merged-item, js--splice-into-items):
19906         Fix typos in docstrings; reflow docstrings.
19907         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19908         (js--variable-decl-matcher, js--inside-pitem-p)
19909         (js--parse-state-at-point, js--get-all-known-symbols)
19910         (js--symbol-history, js-find-symbol, js--js-references)
19911         (js--moz-interactor, js--js-encode-value, js--read-tab):
19912         Fix typos in docstrings.
19914 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19916         * textmodes/reftex.el (reftex-get-file-buffer-force):
19917         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19918         * emulation/viper.el (viper-go-away, viper-set-hooks):
19919         * emacs-lisp/re-builder.el (re-builder-unload-function):
19920         * emacs-lisp/bytecomp.el (byte-compile-file):
19921         * ses.el (ses-unload-function):
19922         * hexl.el (hexl-find-file):
19923         * files.el (normal-mode):
19924         * ehelp.el (with-electric-help):
19925         * autoinsert.el (auto-insert-alist):
19926         * arc-mode.el (archive-mode):
19927         Use (default-value 'major-mode) instead of default-major-mode.
19929         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19930         * international/mule.el (load-with-code-conversion):
19931         * emacs-lisp/debug.el (debug):
19932         * ediff-vers.el (ediff-rcs-get-output-buffer):
19933         * dired.el (dired-internal-noselect): Don't let-bind
19934         default-major-mode around code that doesn't use it.
19935         E.g. buffer creation via get-buffer-create doesn't use it.
19937 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19939         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19940         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19941         when writing the temp file.  Otherwise, epa-file gets confused.
19942         (tramp-register-file-name-handlers): Make it a defun.  Move also
19943         `epa-file-handler' to the front of `file-name-handler-alist'.
19945 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19947         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19948         start right after a ^M.
19949         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19950         (tramp-completion-file-name-regexp-separate)
19951         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19952         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19953         Don't modify last-coding-system-used by accident.
19954         (tramp-completion-file-name-handler): Apply the checks here,
19955         instead during registration.
19956         (tramp-register-file-name-handlers): Rename from
19957         `tramp-register-file-name-handler'.  Register both
19958         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19959         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19961 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19963         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19964         Remove variable ...
19965         (gdb-init-1, gdb-display-separate-io-buffer)
19966         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19967         references to it.
19968         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19969         (gdb-inferior-filter): Use comint-output-filter to stop
19970         echoing and remove ^M characters.
19972 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19974         * emulation/viper-init.el (viper-restore-cursor-type):
19975         * emulation/cua-base.el (cua--update-indications):
19976         Replace default-cursor-type with (default-value 'cursor-type).
19978         * mail/sendmail.el (mail-recover-1):
19979         * international/mule-diag.el (describe-current-coding-system-briefly)
19980         (describe-current-coding-system):
19981         * international/mule-cmds.el (select-safe-coding-system)
19982         (select-message-coding-system)
19983         (set-language-environment-coding-systems, set-locale-environment):
19984         * hexl.el (hexl-insert-multibyte-char):
19985         * dos-w32.el (find-buffer-file-type-coding-system):
19986         * simple.el (what-cursor-position):
19987         Replace uses of default-buffer-file-coding-system
19988         with (default-value 'buffer-file-coding-system).
19990         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19991         Replace uses of default-cursor-in-non-selected-windows
19992         with (default-value 'cursor-in-non-selected-windows).
19993         Use with-current-buffer.
19995         * mail/feedmail.el: Use CL macros.
19996         (feedmail-run-the-queue, feedmail-send-it-immediately):
19997         * dos-w32.el (find-buffer-file-type): Replace uses of
19998         default-buffer-file-type with (default-value 'buffer-file-type).
20000 2009-08-28  Glenn Morris  <rgm@gnu.org>
20002         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20003         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20004         Use default-value of major-mode rather than default-major-mode.
20006 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20008         * Makefile.in (update-elcfiles): Report left over elc files.
20010         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20011         expand-file-name and with-current-buffer.
20012         (mail-get-names, mail-directory): Use with-current-buffer.
20014         * vc.el (vc-read-revision): New function.
20015         (vc-version-diff, vc-merge): Use it.
20017 2009-08-27  Sam Steingold  <sds@gnu.org>
20019         * simple.el (kill-do-not-save-duplicates): New user option.
20020         (kill-new): When it is non-nil, and the new string is the same as
20021         the latest kill, set replace to t to avoid duplicates in kill-ring.
20023 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
20025         * net/tramp.el (tramp-handle-process-file): Do not flush all
20026         caches when `process-file-side-effects' is set.
20027         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20028         instead of `tramp-find-file-exists-command'.
20029         Unset `process-file-side-effects'.
20031 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
20033         * net/tramp.el (tramp-methods): New method "rsyncc".
20034         (top): Add completion function for "rsyncc".
20035         (tramp-message-show-message): New defvar.
20036         (tramp-message, tramp-error): Use it.
20037         (tramp-do-copy-or-rename-file-directly): Extend check for direct
20038         remote copying.
20039         (tramp-do-copy-or-rename-file-out-of-band): Handle new
20040         `tramp-methods' entry `copy-env' of "rsyncc".
20041         (tramp-vc-registered-read-file-names): New defconst.
20042         (tramp-vc-registered-file-names): New defvar.
20043         (tramp-handle-vc-registered): Implement optimization strategy.
20044         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20045         (tramp-vc-file-name-handler): New defun.
20046         (tramp-get-ls-command, tramp-get-test-command)
20047         (tramp-get-file-exists-command, tramp-get-remote-ln)
20048         (tramp-get-remote-perl, tramp-get-remote-stat)
20049         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20051         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20052         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
20053         timestamps.
20054         (tramp-get-file-property): Check for timestamps in
20055         `tramp-cache-inhibit-cache'.
20056         (tramp-set-file-property): Write timestamp.
20058 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20060         * language/japan-util.el (japanese-symbol-table): Add entries for
20061         cp932-2-byte.
20063         * international/characters.el: Add category `j' to cp932-2-byte.
20065 2009-08-27  Kenichi Handa  <handa@m17n.org>
20067         * international/fontset.el (build-default-fontset-data): New macro.
20068         (setup-default-fontset): Use build-default-fontset-data for CJK,
20069         tibetan, ethiopic, and ipa.
20071 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
20073         * cus-start.el (default-major-mode): Customize `major-mode' instead.
20074         (enable-multibyte-characters): Not customizable any more.
20076         * subr.el (default-mode-line-format, default-header-line-format)
20077         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20078         (default-direction-reversed, default-truncate-lines)
20079         (default-left-margin, default-tab-width, default-case-fold-search)
20080         (default-left-margin-width, default-right-margin-width)
20081         (default-left-fringe-width, default-right-fringe-width)
20082         (default-fringes-outside-margins, default-scroll-bar-width)
20083         (default-vertical-scroll-bar, default-indicate-empty-lines)
20084         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20085         (default-fringe-cursor-alist, default-scroll-up-aggressively)
20086         (default-scroll-down-aggressively, default-fill-column)
20087         (default-cursor-type, default-buffer-file-type)
20088         (default-cursor-in-non-selected-windows)
20089         (default-buffer-file-coding-system, default-major-mode)
20090         (default-enable-multibyte-characters): Mark as obsolete.
20092 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
20094         * vc-dir.el (vc-dir-update): Remove debug helper.
20096         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20098 2009-08-26  Sam Steingold  <sds@gnu.org>
20100         * simple.el (save-interprogram-paste-before-kill): New user option.
20101         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20102         save the interprogram-paste into kill-ring before overriding it
20103         with the Emacs kill.
20105 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20107         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20108         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20109         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20110         and move to vc-rcs.el.
20111         (vc-default-next-revision): Rename to vc-rcs-next-revision and
20112         move to vc-rcs.el.
20113         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20114         (vc-rcs-update-changelog): Remove.
20115         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20116         and move to vc-rcs.el.
20118         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20119         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20120         renaming.
20121         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20122         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20123         vc.el, renamed to be RCS specific.
20125         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20126         New functions.
20127         (vc-cvs-update-changelog): Move here from vc.el.
20129         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20130         New functions.
20132 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
20134         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20136 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
20138         * vc-git.el (vc-git-register): Use "git add" for directories.
20139         (vc-git-stash, vc-git-stash-show): New functions.
20140         (vc-git-extra-menu-map): Bind them.
20142         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20143         directory correctly in case the item is a directory itself.
20145         * vc.el: Document the desired behavior for reverted files in the
20146         `added' state.
20147         (vc-default-prettify-state-info): Remove function, unused.
20149         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20151 2009-08-26  Glenn Morris  <rgm@gnu.org>
20153         * bindings.el (standard-mode-line-format): Reposition dashes in
20154         which-func entry.  (Bug#4217)
20156         * files.el (enable-local-variables, enable-local-eval)
20157         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20158         the defcustoms.
20159         (auto-mode-alist, ignored-local-variables)
20160         (save-some-buffers-action-alist): Move risky declarations to the
20161         definitions.
20162         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20163         (font-lock-defaults, format-alist, imenu--index-alist)
20164         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20165         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20166         (mode-line-modified, mode-line-mule-info, mode-line-position)
20167         (mode-line-process, mode-line-remote, outline-level)
20168         (parse-time-rules, rmail-output-file-alist)
20169         (special-display-buffer-names, vc-mode):
20170         Move risky declarations to the relevant files.
20171         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20172         (mode-line-modified, mode-line-process, mode-line-position)
20173         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20174         * font-core.el (font-lock-defaults):
20175         * format.el (format-alist):
20176         * vc-hooks.el (vc-mode):
20177         * window.el (special-display-buffer-names):
20178         * international/mule-cmds.el (input-method-alist):
20179         Define riskiness here (dumped file) rather than in files.el.
20180         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20181         * imenu.el (imenu-generic-expression, imenu--index-alist):
20182         * outline.el (outline-level):
20183         * time.el (display-time-string):
20184         * calendar/parse-time.el (parse-time-rules):
20185         * mail/rmailout.el (rmail-output-file-alist):
20186         Autoload riskiness here, rather than placing in files.el.
20188 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20190         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20192 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20194         * simple.el (process-file-side-effects): New defvar.
20196         * dired-aux.el (dired-show-file-type):
20197         * vc.el (vc-diff-internal):
20198         * vc-arch.el (vc-arch-diff):
20199         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20200         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20201         * vc-git.el (vc-git-registered, vc-git-working-revision)
20202         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20203         (vc-git--empty-db-p):
20204         * vc-hooks.el (vc-user-login-name):
20205         * vc-svn.el (vc-svn-registered, vc-svn-state)
20206         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20207         * progmodes/grep.el (grep-probe): Let-bind
20208         `process-file-side-effects' with nil.
20210         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20212         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20213         daemon.  Replace ping by checking for running service for bluez
20214         and zeroconf.  (Bug#4239)
20216 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20218         * net/dig.el (dig): Add autoload cookie.
20220 2009-08-25  Glenn Morris  <rgm@gnu.org>
20222         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20223         load-history for absolute file-names.
20224         (byte-compile-file-form-require): Warn about use of the cl package.
20226         * format.el (format-alist): Doc fix.
20228         * play/bubbles.el (top-level): Don't require cl at run-time.
20230         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20231         run-time cl).
20233 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20235         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20236         from cl package.
20237         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20239 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20241         * calc/calc-alg.el (math-trig-rewrite)
20242         (math-hyperbolic-trig-rewrite): New functions.
20243         (calc-simplify): Simplify trig functions when asked.
20245 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20247         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20249 2009-08-24  Kenichi Handa  <handa@m17n.org>
20251         * language/ind-util.el (mapthread): Delete it.
20252         (combinatorial): New function.
20253         (indian--puthash-cv): Use combinatorial instead of mapthread.
20255 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20257         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20258         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20259         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20260         Clarify docstring that the value is strings not symbols.
20261         (checkdoc-list-of-strings-p): New function.
20263 2009-08-22  Glenn Morris  <rgm@gnu.org>
20265         * files.el (auto-mode-alist):
20266         * hippie-exp.el (he-concat-directory-file-name):
20267         * lpr.el (lpr-windows-system, printer-name):
20268         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20269         * ps-print.el (ps-windows-system):
20270         * startup.el (command-line):
20271         * emulation/viper-ex.el (viper-glob-function):
20272         * international/mule-cmds.el (set-language-environment-coding-systems):
20273         * net/ange-ftp.el (ange-ftp-write-region):
20274         * obsolete/fast-lock.el (fast-lock-cache-name):
20275         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20276         unisoft-unix, vax-vms, win32, w32.
20278         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20279         given name if the pattern is not more specific.
20281         * calendar/lunar.el (lunar-phase-names): New option.
20282         (lunar-phase): Doc fix.
20283         (lunar-cycles-per-year): New constant.
20284         (lunar-index): New function.
20285         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20286         (lunar-phase-name): Use lunar-phase-names.
20287         (calendar-lunar-phases): Use format.
20288         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20290         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20291         Copy imenu-example--name-and-position function here for own use.
20292         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20294         * bs.el (bs--redisplay):
20295         * cus-edit.el (custom-redraw):
20296         * ibuffer.el (ibuffer-bury-buffer):
20297         * server.el (server-goto-line-column):
20298         * startup.el (command-line-1):
20299         * strokes.el (strokes-xpm-for-stroke):
20300         * term.el (term-display-buffer-line):
20301         * view.el (View-goto-line):
20302         * calc/calc.el (calc-do, calc-trail-buffer):
20303         * play/gamegrid.el (gamegrid-add-score-insecure):
20304         * progmodes/ada-mode.el (ada-compile-goto-error):
20305         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20306         (ebrowse-select-1st-to-9nth):
20307         * progmodes/cperl-mode.el (cperl-time-fontification):
20308         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20309         * progmodes/gud.el (gud-display-line):
20310         (idlwave-shell-display-line):
20311         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20312         * progmodes/make-mode.el (makefile-browser-toggle):
20313         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20314         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20315         * textmodes/picture.el (picture-draw-rectangle):
20316         * textmodes/reftex-index.el (reftex-index-goto-letter):
20317         (reftex-select-jump-to-previous):
20318         * textmodes/reftex-sel.el (reftex-find-start-point)
20319         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20320         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20321         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20322         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20323         * textmodes/two-column.el (2C-associated-buffer):
20324         Use forward-line rather than goto-line.
20326         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20327         goto-line.
20329         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20330         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20331         (quick-check-list-to-regexp): Declare.
20333         * progmodes/make-mode.el (makefile-browser-insert-selection):
20334         Use goto-char rather than goto-line.
20336         * progmodes/prolog.el (compilation-error-regexp-alist)
20337         (compilation-forget-errors): Declare.
20339 2009-08-22  Juri Linkov  <juri@jurta.org>
20341         * progmodes/grep.el (lgrep, rgrep): At the beginning
20342         set `dir' to `default-directory' unless `dir' is a non-nil
20343         readable directory.  (Bug#4052)
20344         (lgrep, rgrep): Change a weird way to report an error
20345         from using `read-string' to using `error'.
20346         Instead of using interactive arguments in the function body,
20347         add new argument `confirm'.
20349 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20351         * textmodes/remember.el (remember-buffer):
20352         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20353         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20354         (icalendar-extract-ical-from-buffer):
20355         * net/newst-treeview.el (newsticker-groups-filename):
20356         * net/newst-backend.el (newsticker-cache-filename):
20357         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20358         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20359         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20360         (speedbar-buffers-line-path, speedbar-path-line)
20361         (speedbar-buffers-line-path):
20362         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20363         (epg-sign-keys):
20364         * epa.el (epa-display-verify-result):
20365         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20367 2009-08-21  Glenn Morris  <rgm@gnu.org>
20369         * progmodes/js.el (inferior-moz-process): Fix declaration.
20371         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20373         * obsolete/rnewspost.el (news-mail-reply):
20374         Use goto-char rather than goto-line.
20376         * term/ns-win.el (ns-open-file-select-line):
20377         Use line-beginning-position rather than goto-line.
20379         * apropos.el (apropos-command):
20380         * ehelp.el (electric-helpify):
20381         * printing.el (pr-show-setup):
20382         * strokes.el (strokes-help):
20383         * tutorial.el (tutorial--describe-nonstandard-key)
20384         (tutorial--detailed-help):
20385         * woman.el (woman-mini-help, woman-display-extended-fonts):
20386         * calc/calc-help.el (calc-describe-key):
20387         * emulation/edt.el (edt-electric-helpify):
20388         * international/mule-diag.el (mule-diag):
20389         * play/yow.el (apropos-zippy):
20390         * progmodes/python.el (python-describe-symbol):
20391         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20392         * textmodes/table.el (*table--cell-describe-mode)
20393         (*table--cell-describe-bindings):
20394         Use help-print-return-message rather than the now obsolete alias.
20396         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20397         (calendar-cursor-to-visible-date):
20398         * play/5x5.el (5x5-position-cursor):
20399         * play/decipher.el (decipher):
20400         * play/gomoku.el (gomoku-goto-xy):
20401         * play/landmark.el (lm-goto-xy):
20402         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20403         (mpuz-paint-digit):
20404         Use forward-line, not goto-line.
20406         * mail/rmail.el (rmail-obsolete): Delete custom group.
20407         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20408         (rmail-remote-password, rmail-remote-password-required):
20409         Remove unneeded :set-after and :set properties.
20411 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20413         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20415 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20417         * loadup.el: Remove leftover macos code.
20419         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20420         Explicitly pass the date format to git blame so that user local
20421         so that the output format can be parsed.
20423 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20425         * net/dbus.el (top): Don't check for (getenv
20426         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20428 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20430         * log-edit.el (log-edit-strip-single-file-name): New var.
20431         (log-edit-insert-changelog): Use it.  Bug#3571
20433 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20435         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20436         Bug#3287
20438         * help.el (help-print-return-message): Rename from
20439         print-help-return-message.
20441         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20442         cvs-mode-map parent hack.
20443         (log-view-mode): Derive from special-mode.
20445         * linum.el (linum-mode): window-size-change-functions is redundant.
20446         Adapt to new window-configuration-change-hook behavior.
20447         (linum-after-size, linum-after-config): Remove.
20449         * imenu.el (imenu-example--name-and-position)
20450         (imenu-example--lisp-extract-index-name)
20451         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20452         Mark as obsolete.
20454         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20455         (inferior-prolog-mode): Use it.
20456         (inferior-prolog-load-file): Reset list of errors.
20458 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20460         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20462         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20464 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20466         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20467         is running already.
20469 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20471         * subr.el (listify-key-sequence-1): Use normal syntax since those
20472         integers are nowadays always represented by the same (positive) number
20473         on all platforms.
20474         (read-key-empty-map): New const.
20475         (read-key-delay): New var.
20476         (read-key): New function.
20477         (force-mode-line-update): Use with-current-buffer.
20478         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20479         (start-process-shell-command, start-file-process-shell-command):
20480         Discourage the use of command-args.
20482 2009-08-19  Glenn Morris  <rgm@gnu.org>
20484         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20486 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20488         * simple.el (choose-completion-string): Don't rely on
20489         minibuffer-completing-file-name and ad-hoc checks to decide whether
20490         to continue completion or not.
20492         * minibuffer.el (minibuffer-hide-completions): New function.
20493         (completion--do-completion): Use it.
20494         (completions-annotations): New face.
20495         (completion--insert-strings): Use it.
20496         (completion-pcm--delim-wild-regex): Add docstring.
20497         (completion-pcm--string->pattern): Add support for 0-width delimiters
20498         in completion-pcm--delim-wild-regex.
20500 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20502         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20503         Remove unused var `buffer-modified-p'.
20505         * minibuffer.el (completion--do-completion): Move point for the #b001
20506         case as well (bug#4176).
20507         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20509 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20511         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20512         and :session buses.
20514 2009-08-18  Kenichi Handa  <handa@m17n.org>
20516         * international/ucs-normalize.el (ucs-normalize-version):
20517         Change to 1.1.
20518         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20519         (utf-8-hfs): Make it perform normalization on encoding too.
20521         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20522         (sentence-end-without-space): Delete duplicated chars.
20523         (sentence-end-base): Likewise.
20525         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20526         (html-mode): Delete duplicated chars from sentence-end-base.
20528         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20529         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20531 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20533         * files.el (hack-one-local-variable): If the mode function is for
20534         a minor mode, pass it an argument (Bug#4148).
20536 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20538         * net/tramp.el (tramp-register-completion-file-name-handler):
20539         Check also for (member 'partial-completion completion-styles).
20541 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20543         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20544         abbrev (Bug#3943).
20546 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20548         * progmodes/cperl-mode.el: Merge upstream 6.2.
20549         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20550         (cperl-forward-re): Check cperl-brace-recursing.
20551         (cperl-highlight-charclass): New function.
20552         (cperl-find-pods-heres): Use it.
20553         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20554         (cperl-beautify-regexp-piece): Fix column calculation.
20555         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20556         (cperl-beautify-level): Don't process entire regexp.
20557         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20558         calling man.
20559         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20560         (cperl-init-faces): Build a list in the normal way.
20562 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20564         * calendar/parse-time.el (parse-time-string-chars): Save match
20565         data.
20567 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20569         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20570         (sql-product): Use it.
20571         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20572         (sql-set-product): Add completion.
20573         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20574         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20575         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20576         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20577         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20578         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20579         (sql-highlight-db2-keywords): Remove.
20580         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20581         (sql-highlight-product): Use derived-mode-p.
20582         (sql-set-sqli-buffer): Use with-current-buffer.
20583         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20584         Simplify.
20586         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20588         * term.el: Fix commenting convention, turn comments into docstrings.
20590 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20592         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20594 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20596         * calendar/parse-time.el (parse-time-string-chars): Compute using
20597         character classes, to handle non-ascii characters (Bug#3190).
20599 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20601         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20602         another heredoc if the user adds another < (Bug#3226).
20604         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20605         Don't initialize based on window-system (Bug#4124).
20607         * facemenu.el (facemenu-read-color): Use a completion function
20608         that accepts any defined color, such as RGB triplets (Bug#3677).
20610         * files.el (get-free-disk-space): Change fallback default
20611         directory to /.  Expand DIR argument before switching to fallback.
20612         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20614 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20616         * files.el (load-library): Doc fix.
20618 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20620         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20621         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20622         incremental search string.
20624         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20625         XEmacs.
20627         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20628         (ediff-merge-region-is-non-clash)
20629         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20630         Also check if the job is really a merge job.
20632         * ediff.el (ediff-current-file): New function.
20634 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20636         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20637         conventions.
20638         (js-insert-and-indent): Delete function.
20639         (js-mode-map): Don't bind keys to js-insert-and-indent.
20640         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20641         (js-end-of-defun): Rename from js--end-of-defun.
20642         (js-auto-indent-flag): Delete variable.
20644 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20646         * progmodes/js.el: Remove proclaim statement.
20647         Defvar which-func-imenu-joiner-function to silence compiler.
20649         * files.el (auto-mode-alist): Use js-mode for .js files.
20651         * progmodes/js2-mode.el: Remove file.
20653         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20655         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20657         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20659 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20660             Karl Landstrom  <karl.landstrom@brgeight.se>
20662         * progmodes/js.el: New file.
20664 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20666         * timezone.el (timezone-parse-date): Add ability to understand ISO
20667         basic format (minimal separators) dates in addition to the
20668         already-supported extended format dates.
20670 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20672         * international/ucs-normalize.el: Add a `coding' file variable.
20674         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20676 2009-08-14  Sam Steingold  <sds@gnu.org>
20678         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20680 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
20682         * faces.el (help-argument-name): Define it here instead of
20683         help-fns.el, because in daemon mode help-fns.el may be loaded when
20684         faces are still uninitialized (Bug#1078).
20686         * help-fns.el (help-argument-name): Move defface to faces.el.
20688 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
20690         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20691         create buffer with a pty but no process so that GDB can make the
20692         inferior the controlling process.
20694 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
20696         * international/ucs-normalize.el: New file.
20698 2009-08-13  Richard Stallman  <rms@gnu.org>
20700         * mail/rmail.el (rmail-get-attr-names):
20701         Accept an attribute header that is too short.
20703         * mail/rmail.el (rmail-forget-messages):
20704         Ignore nil elt in rmail-message-vector.  Use dotimes.
20706         * progmodes/compile.el (compilation-goto-locus):
20707         Use next-error-move-function.
20709         * simple.el (next-error-move-function): New variable.
20711 2009-08-12  Juri Linkov  <juri@jurta.org>
20713         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20714         always non-nil.  (Bug#4052)
20716         * replace.el (read-regexp): Return empty string when
20717         `default-value' is nil.
20718         (keep-lines-read-args): Don't use empty string as the
20719         default value for `read-regexp'.  (Bug#2495)
20721 2009-08-12  Juri Linkov  <juri@jurta.org>
20723         * international/mule-cmds.el (ucs-insert): Change arguments
20724         from `arg' to `character', `count', `inherit' to be the same
20725         as in `insert-char'.  Doc fix.  (Bug#4039)
20727         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20729 2009-08-12  Juri Linkov  <juri@jurta.org>
20731         * files-x.el: New file.
20733         * files.el: Move code that deals with adding/deleting
20734         file/directory-local variables to files-x.el.
20736         * Makefile.in (ELCFILES): Add files-x.elc.
20738 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
20740         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20741         to use `goto-line'.
20742         (gdb-place-breakpoints, gdb-get-location): Rewritten without
20743         `goto-line'.
20744         (gdb-invalidate-disassembly): Do not refresh upon receiving
20745         'update signal.  Instead, update all disassembly buffers only after
20746         threads list.
20747         (gdb): Send -target-detach when buffer is killed (Bug#3794).
20748         (gdb-starting): Move -data-list-register-names...
20749         (gdb-stopped): ...here so it's sent when first thread stops.
20750         (gdb-registers-handler-custom): Do nothing if register names are
20751         unknown yet.
20753         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20754         from `gdb-mi.el' to avoid extra tangling.
20756         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20757         change which breaks `gud-def' definitions used in `gdb'.
20758         (gdb-update-gud-running): No extra fuss for updating frame number.
20760 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20762         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20763         (describe-language-environment-map, setup-language-environment-map)
20764         (set-coding-system-map): Move initialization into declaration.
20765         (set-language-info-alist): Last arg to define-key-after can be skipped.
20767         * international/quail.el (quail-completion-1): Simplify.
20768         (quail-define-rules): Use slightly more compact code.
20769         (quail-insert-decode-map): Propertize keys, compact columns.
20771         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20772         Add goto-line.
20774 2009-08-10  Miles Bader  <miles@gnu.org>
20776         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20777         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20778         (js2-instance-member, js2-private-member, js2-private-function-call)
20779         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20780         (js2-magic-paren, js2-external-variable):
20781         Remove "-face" suffix from face names.
20782         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20783         (js2-highlight-undeclared-vars, js2-peek-token)
20784         (js2-parse-function-params, js2-mode-show-errors)
20785         (js2-mode-show-warnings, js2-make-magic-delimiter)
20786         (js2-mode-highlight-magic-parens): Update to use new face names.
20788 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
20790         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20791         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
20793 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
20795         * subr.el: Provide hashtable-print-readable.
20797         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20798         hs-c-like-adjust-block-beginning.
20799         (hs-hide-block-at-point): Stop hiding at the beginning of
20800         hs-block-end-regexp (Bug#700).
20802 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20804         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20805         a macro.
20806         (gdb-registers-handler-custom): Do not fail when register names
20807         are unavailable.
20809 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20811         * progmodes/gdb-mi.el (gdb-control-all-threads)
20812         (gdb-control-current-thread): Interactive setters for
20813         `gdb-gud-control-all-threads' to use in menu.
20814         (gdb-show-run-p): Show «Go» when process is not active.
20815         (gud-tool-bar-map): Add non-stop/A,T indicator.
20816         Uses gud/thread.xpm and gud/all.xpm.
20818 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20820         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20821         (nslookup-font-lock-keywords): Make it a variable.
20822         (net-utils-mode): New mode for viewing diagnostic network output.
20823         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20824         (net-utils-run-simple): New function.
20825         (ifconfig, iwconfig, netstat, arp, route): Use it.
20827 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20829         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20830         (gdb-memory-set-address, def-gdb-set-positive-number)
20831         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20832         after changing settings.
20833         (gdb-invalidate-disassembly): Update when first shown.
20834         (gdb-edit-locals-value): Fixed.
20835         (gdb-registers-handler-custom): Print registers in right order and
20836         allow changing register values (only for current thread yet).
20837         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20838         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20839         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20840         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20841         Thread info in mode name.
20842         (gdb-registers-mode-map): TAB to switch to locals.
20844 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20846         * mail/rmail.el (rmail-add-mbox-headers)
20847         (rmail-set-message-counters-counter): Search for
20848         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20850 2009-08-08  Glenn Morris  <rgm@gnu.org>
20852         * Makefile.in (ELCFILES): Update.
20854 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20856         * mail/sendmail.el (mail-yank-original):
20857         Set buffer-file-coding-system from the one used by the message whose
20858         text is yanked.
20860         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20861         to "windows" when "pgnuplot" is used.
20862         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20863         Don't call accept-process-output if "pgnuplot" is used.
20864         (calc-graph-init): Don't send -display and -geometry to
20865         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20866         running "pgnuplot -V" with shell-command-to-string.
20868         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20869         the default.
20871 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20873         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20874         org/org-latex.elc.
20876 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20878         * vc-dispatcher.el (vc-resynch-window): Update comment.
20880         * term.el (term-handle-ansi-escape): Add comments with the
20881         terminfo capabilities implemented.
20883 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20885         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20886         (gdb-var-create-handler): Rewritten using JSON parser.
20887         (gdb-propertize-header): Move earlier.
20888         (gdb-set-header): Remove to avoid duplication.
20889         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20890         Refresh disassembly buffers only after threads list have been
20891         update.
20892         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20893         variables.
20895 2009-08-04  Juri Linkov  <juri@jurta.org>
20897         * files.el: Commands to add/delete file/directory-local variables.
20898         (read-file-local-variable, read-file-local-variable-value)
20899         (read-file-local-variable-mode, modify-file-local-variable)
20900         (modify-file-local-variable-prop-line)
20901         (modify-dir-local-variable): New functions.
20902         (add-file-local-variable, delete-file-local-variable)
20903         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20904         (add-dir-local-variable, delete-dir-local-variable)
20905         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20906         (copy-dir-locals-to-file-locals-prop-line): New commands.
20908 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20910         * abbrev.el (insert-abbrev-table-description): Prettify output.
20911         Suggested by Karl Chen.
20913 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20915         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20916         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20917         (gdb-overlay-arrow-position, gdb-thread-position)
20918         (gdb-disassembly-position): Declare variables.
20919         (gdb-wait-for-pending): Function now.
20920         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20921         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20922         compilation goes smoothly.
20923         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20924         (gdb-non-stop-setting): New customization setting which replaces
20925         `gdb-non-stop' so changing it doesn't break active GDB session.
20926         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20927         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20928         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20929         (gdb-show-threads-by-default): New customization options.
20930         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20931         routines.
20932         (gdb-get-buffer-create): Send buffers update signal when they are
20933         created.
20934         (gdb-invalidate-locals, gdb-invalidate-registers)
20935         (gdb-invalidate-breakpoints)
20936         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20937         (gdb-invalidate-memory): Accept update signal.
20938         (gdb-current-context-command): Use --frame option.
20939         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20940         Implement `gdb-frame-number' selection logic.
20941         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20942         whether to show GUD toolbar buttons.
20943         (gdb-thread-exited): Unselect current thread when it exits.
20944         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20945         (gdb-mark-line): Routine which sets overlay arrow or inverses
20946         video on fringeless displays.
20947         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20948         to build aligned columns of data in GDB buffers and set text
20949         properties line-by-line.
20950         (gdb-invalidate-breakpoints)
20951         (gdb-breakpoints-list-handler-custom)
20952         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20953         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20954         (gdb-registers-handler-custom): Align data columns.
20955         (gdb-locals-handler-custom): Now prints data like in variable
20956         declarations.
20957         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20958         Remove confusing buttons.
20959         (gdb-invalidate-threads): Append --frame.
20960         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20961         between breakpoints/threads buffers.
20962         (gdb-set-window-buffer): Now can ignore dedicated windows.
20963         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20964         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20965         (def-gdb-thread-buffer-gud-command): Replaces
20966         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20967         for fine thread control.
20968         (gdb-preempt-existing-or-display-buffer): New function used to
20969         display bound buffers without breaking window layout.
20970         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20971         (gdb-select-frame): New version of `gdb-frames-select' which now
20972         sets `gdb-frame-number' so commands may use --frame option instead
20973         of inner debugger state.
20974         (gdb-frame-handler): Do not set `gdb-frame-number'.
20975         (gdb-threads-mode-map): Select threads with mouse.
20977         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20978         avoid compilation warning.
20979         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20980         `gdb-show-stop-p`.
20982         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20983         Argument `key' renamed to `buffer-type'.
20984         (gdb-current-context-buffer-name): Do not add thread info to
20985         buffer name when no thread is selected.
20986         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20987         command (bug 3794).
20988         (gdb-thread-selected): Handle `=thread-selected' notification.
20989         (gdb-wait-for-pending): New macro to deal with congestion problems.
20990         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20991         breakpoints.
20992         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20993         This fixes problem similar to one described in bug 3947.
20994         (gud-menu-map): More menu items.
20995         (gdb-init-1): Reset `gdb-thread-number' to nil.
20997         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20998         non-stop settings.
21000         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21001         (gdb-current-context-command): Do not append --thread if
21002         `gdb-thread-number' is nil.
21003         (gdb-running-threads-count, gdb-stopped-threads-count):
21004         New variables.
21005         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21006         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21007         New customization options.
21008         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21009         GUD commands.
21010         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21011         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21012         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21013         set `gdb-thread-number' and update `gud-running' properly.
21014         (gdb-running): Update threads list when new threads appear.
21015         (gdb-stopped): Support non-stop operation and new thread switching
21016         logic.
21017         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21018         (gdb-json-partial-output): New set of JSON routines.
21019         (def-gdb-auto-update-trigger): New `signal-list' optional
21020         argument.
21021         (gdb-thread-list-handler-custom): Update `gud-running',
21022         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21023         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21024         (gdb-continue-thread, gdb-step-thread): New commands for fine
21025         thread execution control.
21026         (gud-menu-map): New menu items to switch non-stop options.
21027         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21028         (gdb-send): Mimic RET properly (bug 3794).
21030         * progmodes/gdb-mi.el (gdb-rules-name-maker)
21031         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21032         gdb-buffer-rules.
21033         (def-gdb-auto-update-handler): New nopreserve optional argument.
21034         (gdb-stack-list-frames-custom): Print stack from top to bottom.
21036         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21037         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21038         (gdb-parent-mode): New mode to derive other GDB modes from.
21039         (gdb-display-disassembly-for-thread)
21040         (gdb-frame-disassembly-for-thread): New commands for threads
21041         buffer.
21043         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21044         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21045         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21046         (gdb-update): We now store all GDB buffers in a list so that they
21047         can be updated by traversing a list instead of calling invalidate
21048         triggers explicitly.
21049         (def-gdb-trigger-and-handler): New macro to define trigger-handler
21050         pair for GDB buffer.
21051         (gdb-stack-buffer-name): Add thread information.
21052         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21053         handle pending triggers.
21054         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21055         (def-gdb-thread-buffer-simple-command)
21056         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21057         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21058         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21059         New commands which show buffers bound to thread.
21060         (gdb-stack-list-locals-regexp): Remove unused regexp.
21062         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21063         (gdb-locals-buffer-name, gdb-registers-buffer-name)
21064         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21065         to (gud-comint-buffer) in *-buffer-name functions
21066         because (gdb-get-target-string) already does that.
21067         (gdb-locals-handler-custom, gdb-registers-handler-custom)
21068         (gdb-changed-registers-handler): Rewritten without regexps.
21070         * progmodes/gdb-mi.el: Basic thread selection support.
21071         (gdb-thread-number): New variable.
21072         (gdb-current-context-command): New macro which adds --thread
21073         option to command.
21074         (gdb-threads-mode-map): Select thread with SPC.
21075         (gdb-thread-list-handler-custom): Mark current thread with overlay
21076         arrow.  Synchronize GDB thread and Emacs thread.
21077         (gdb-select-thread): New command which selects current thread.
21078         (gdb-invalidate-frames, gdb-invalidate-locals)
21079         (gdb-invalidate-registers): Use --thread option.
21081 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
21083         * net/tramp.el (top): Make check for tramp-gvfs loading more
21084         robust.  (Bug#3977)
21085         (tramp-handle-insert-file-contents): `unwind-protect' must be
21086         inside `with-parsed-tramp-file-name'.
21088         * net/tramp-gvfs.el (top): Remove superfluous message when loading
21089         fails.
21091 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
21093         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21094         directory if CLASSPATH is not set.
21096 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
21098         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21099         New defconst.
21100         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
21102 2009-08-02  Kevin Ryde  <user42@zip.com.au>
21104         * net/newst-backend.el (newsticker--raw-url-list-defaults):
21105         Update freshmeat link.  Delete newsforge.com as it seems gone.
21107 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21109         * select.el (x-set-selection): Doc fix (Bug#4021).
21111         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21113         * help-fns.el (describe-variable): Treat list return values from
21114         dir-locals-find-file properly (Bug#4005).
21116 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
21118         * net/tramp.el (tramp-debug-message): Print also microseconds.
21120 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
21122         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21123         or END is non-nil.
21124         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21125         (tramp-get-debug-buffer): Change `outline-regexp' according to new
21126         format.
21128         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21129         (tramp-get-file-property): Use it.
21131         * autorevert.el (auto-revert-handler):
21132         Allow `auto-revert-tail-mode' for remote files.
21134 2009-08-02  Jason Rumney  <jasonr@gnu.org>
21136         * minibuffer.el (read-file-name): Treat confirm options to
21137         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
21139 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
21141         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21142         (font-lock-variable-name-face, font-lock-constant-face):
21143         Darken the colors for light backgrounds.
21145 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21147         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21148         month names.  (Bug#3987)
21150 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21152         * simple.el (line-move-finish): Pass whole number to
21153         line-move-to-column.
21154         (line-move-visual): Perform hscroll to the recorded position.
21156 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21158         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21160 2009-07-29  Alan Mackenzie  <acm@muc.de>
21162         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21164 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21166         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21167         (gdb-place-breakpoints): Use full path when setting breakpoints.
21169 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21171         * calc/calc.el (calc-mode-map): Add keybinding for
21172         `calc-transpose-lines'.
21174 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21176         * calc/calc-misc.el (calc-transpose-lines): New function.
21178 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21180         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21181         Simplify check for out-of-band methods.
21182         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21183         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21185 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21187         * vc-git.el (vc-git-checkin): Fix typo.
21189 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21191         * progmodes/js2-mode.el: New file.
21193 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21195         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21196         (gud-menu-map): Adjust tooltip accordingly.
21198 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21200         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21201         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21203         * add-log.el (change-log-mode-map): Add a menu.
21205 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21207         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21208         function returns nil.
21209         (dbus-handle-event): Handle special return value :ignore.
21210         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21212 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21214         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21215         it's not needed.
21217 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21219         Fix Bug#3888:
21221         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21223         * term/pc-win.el (x-display-name, x-colors)
21224         (x-select-enable-clipboard, x-select-text): Doc fix.
21226         * term/common-win.el (x-display-name, x-colors): Doc fix.
21228         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21229         (xw-defined-colors): Doc fix.
21231         * w32-fns.el (x-select-text, x-setup-function-keys)
21232         (x-get-selection, x-set-selection): Doc fix.
21234         * term/x-win.el (x-select-text, x-setup-function-keys)
21235         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21237         * select.el (x-set-selection): Doc fix.
21239 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21241         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21242         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21243         "IsNSSSupportAvailable" method is not available.
21244         Reported by Steve Youngs <steve@sxemacs.org>.
21246 2009-07-24  Kenichi Handa  <handa@m17n.org>
21248         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21249         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21250         (build-unicode-category-table): Fix range checks.
21252 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21254         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21255         the buffer we try to sync is current when calling
21256         vc-resynch-buffer.
21258         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21259         not show up to date files.
21261 2009-07-24  Glenn Morris  <rgm@gnu.org>
21263         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21264         Add autoload cookies.  If necessary, initialize.
21265         (elint-log): Handle non-file buffers.
21266         (elint-initialize): Add optional argument to reinitialize.
21267         (elint-find-builtin-variables): Save excursion.
21269 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21271         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21272         for Lint.
21274 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21276         * vc.el (vc-print-log-internal): New function, split out from ...
21277         (vc-print-log): ... here.
21278         (vc-dir-move-to-goal-column): Declare.
21280         * vc-git.el (vc-git-add-signoff): New variable.
21281         (vc-git-checkin): Use it.
21282         (vc-git-toggle-signoff): New function.
21283         (vc-git-extra-menu-map): Bind it to menu.
21284         (vc-git--run-command-string): Accept a nil FILE argument.
21285         (vc-git-stash-list): New function.
21286         (vc-git-dir-extra-headers): Use it.
21288 2009-07-23  Glenn Morris  <rgm@gnu.org>
21290         * help-fns.el (describe-variable): Describe ignored and risky local
21291         variables in a similar way to that in which we describe safe ones.
21293         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21294         (byte-compile-output-file-form, byte-compile-output-docform)
21295         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21296         Give some more local variables with common names a "bytecomp-" prefix,
21297         so as not to shadow things during compilation.
21298         * emacs-lisp/cl-macs.el (load-time-value)
21299         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21300         `outbuffer' to `bytecomp-outbuffer'.
21302         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21303         since the next two variables cover them automatically now.
21304         (elint-builtin-variables, elint-autoloaded-variables): New.
21305         (elint-unknown-builtin-args): Remove all members, since they can be
21306         parsed automatically now.
21307         (elint-extra-errors): New.
21308         (elint-env-add-env, elint-env-add-macro): Use cadr.
21309         (elint-current-buffer): Use or.  Change final message.
21310         (elint-get-top-forms): Use line-end-position.
21311         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21312         and defalias.
21313         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21314         (regexp-assoc): Remove unused function.
21315         (elint-top-form): Set elint-current-pos, to record the start of the
21316         top-level form, for compilation-mode.
21317         (elint-form): Trap errors in macro expansion.  Use dolist.
21318         (elint-unbound-variable): Use elint-builtin-variables and
21319         elint-autoloaded-variables.
21320         (elint-get-args): Use cadr, or.
21321         (elint-check-cond-form): Use dolist, cadr.
21322         (elint-check-condition-case-form): Doc fix.  Use cadr.
21323         Use elint-extra-errors.
21324         (elint-log): New function.
21325         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21326         Distinguish errors and warnings.
21327         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21328         Use a bytecomp-style format.
21329         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21330         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21331         Don't truncate lines.
21332         (elint-initialize): Set builtin and autoloaded variable lists.
21333         Only process elint-unknown-builtin-args if non-nil.
21334         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21335         New functions.
21336         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21338 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21340         * net/newst-backend.el (newsticker--parse-atom-1.0)
21341         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21342         (newsticker--parse-rss-1.0):
21343         * progmodes/idlwave.el (idlwave-mode):
21344         * progmodes/idlw-shell.el (idlwave-shell-mode):
21345         * progmodes/vera-mode.el (vera-mode):
21346         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21347         * progmodes/vhdl-mode.el (vhdl-mode):
21348         * textmodes/table.el (table-generate-source)
21349         (table--warn-incompatibility):
21350         Hyperlink urls in docstrings with URL `...'.
21352 2009-07-22  Glenn Morris  <rgm@gnu.org>
21354         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21355         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21356         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21357         Remove leading * from defcustom docs.
21359         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21361         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21362         defcustom doc.
21363         (list-load-path-shadows): Optionally, just return shadows as a string.
21365         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21367 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21369         * mail/rmailedit.el (rmail-edit-mode):
21370         Use auto-save-include-big-deletions.
21372         * mail/rmail.el (rmail-variables):
21373         Use auto-save-include-big-deletions.
21375         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21376         changes.
21378 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21380         * calc/calc.el (calc-undo-length): New variable.
21381         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21383 2009-07-21  Richard Stallman  <rms@gnu.org>
21385         * files.el (auto-save-mode): Handle buffer-save-size = -2
21386         for toggling mode.
21388 2009-07-21  Glenn Morris  <rgm@gnu.org>
21390         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21392         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21394         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21395         silence compiler.  Instead...
21396         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21397         (ps-print-ensure-fontified): Update for above function name changes.
21399         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21400         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21401         silence compiler.  Instead...
21402         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21403         (mh-show-buffer): Only define for compiler.
21404         (pr-mh-current-message): Update for above function name changes.
21406         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21407         as an argument.
21408         (find-file-noselect, insert-file-1): Update for above change.
21410         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21412         * mail/mailclient.el (mailclient-send-it): Fix message.
21414         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21415         (edebug-eval): Check cl-debug-env is bound.
21416         (print-level, print-circle): Don't redefine built-in variables.
21418         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21419         (custom-print-vectors): Remove old comments from doc.
21421         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21422         (emerge-version): Make the variable an obsolete alias for the
21423         emacs-version variable.  Make the function obsolete.
21424         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21425         Emerge options, rather than merging in into the main Options menu.
21426         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21427         and auto advance modes.  Disable edit/fast items when not relevant.
21429 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21431         * term/vt420.el (terminal-init-vt420): Fix typo.
21433 2009-07-20  Sam Steingold  <sds@gnu.org>
21435         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21436         variable (removed from compile.el on 2004-03-11).
21438 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21440         * files.el (hack-local-variables-filter): Fix last change.
21442 2009-07-19  Juri Linkov  <juri@jurta.org>
21444         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21445         (dir-local-variables-alist): New buffer-local variable.
21446         (hack-local-variables-filter): If variable is not dir-local,
21447         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21448         because file-local overrides dir-local.
21449         (c-postprocess-file-styles) <declare-function>:
21450         Remove obsolete declaration.
21451         (hack-dir-local-variables): Add dir-local variable/value pair to
21452         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21454         * help-fns.el (describe-variable): Add information about
21455         file-local and dir-local variables.
21457 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21459         * files.el (hack-local-variables-filter): Rewrite.
21461 2009-07-19  Glenn Morris  <rgm@gnu.org>
21463         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21464         Silence compiler by only defining on XEmacs.
21466         * international/mule.el (auto-coding-regexp-alist): Only match
21467         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21469         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21470         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21471         (cal-menu-context-mouse-menu): Doc fix.
21473         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21475         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21477 2009-07-18  Juri Linkov  <juri@jurta.org>
21479         * info.el: Virtual Info keyword finder.
21480         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21481         (Info-finder-file): New variable.
21482         (Info-finder-find-file): New function.
21483         (finder-known-keywords, finder-package-info)
21484         (find-library-name, lm-commentary): Use defvar and
21485         declare-function to silence compiler warnings.
21486         (Info-finder-find-node): New function.
21487         (info-finder): New command.
21489         * subr.el (process-kill-buffer-query-function): New function.
21490         (add-hook)<kill-buffer-query-functions>: Add hook
21491         `process-kill-buffer-query-function'.
21493 2009-07-18  Alan Mackenzie  <acm@muc.de>
21495         * progmodes/cc-mode.el (c-before-hack-hook)
21496         (c-postprocess-file-styles): Give invocation of `c-set-style'
21497         DONT-OVERRIDE parameter of t.  Already set style variables will
21498         thus not be overridden by style settings given by `c-file-syle'.
21500         * files.el (hack-local-variables-filter): Remove entries with
21501         duplicate keys from `file-local-variables-alist'.
21503 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21505         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21506         x-set-selection if display-selections-p returns nil for the
21507         current frame.
21509 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21511         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21513 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21515         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21516         Accept nil in addition to a regexp.
21517         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21518         Accept nil in addition to a regexp.
21519         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21520         buffers that have an associated file.  Handle nil values of
21521         desktop-buffers-not-to-save and desktop-files-not-to-save.
21522         (Bug#3833)
21524         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21525         (x-disown-selection-internal): New functions.
21527 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21529         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21530         warning.
21531         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21532         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21534 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21536         * simple.el (set-mark): Revert last change.
21538 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21540         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21541         rendering of pngs is not possible instead of messaging a long
21542         description.
21544 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21546         * w32-fns.el (x-selection-owner-p): New function.
21548         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21549         (mouse-yank-at-click, mouse-yank-primary):
21550         If select-active-regions is non-nil, deactivate the mark before
21551         insertion.
21553         * simple.el (deactivate-mark, set-mark): Only save selection if we
21554         own it.
21556 2009-07-17  Kenichi Handa  <handa@m17n.org>
21558         * case-table.el (describe-buffer-case-table): Fix for the case
21559         that KEY is a cons.
21561 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21563         * vc-rcs.el (vc-rcs-find-file-hook):
21564         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21566 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21568         * net/tramp.el (tramp-wait-for-output): Handle the case when
21569         commands do not return a newline but a null byte before the shell
21570         prompt.  (Bug#3858)
21572 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21574         * term/ns-win.el (ns-set-alpha): Don't declare.
21575         (ns-set-background-alpha): Remove function.
21577 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21579         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21580         y-or-n-p, for safety.
21582 2009-07-16  Richard Stallman  <rms@gnu.org>
21584         * files.el (auto-save-mode): If buffer-saved-size is -2,
21585         don't clobber it.
21587         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21588         (rmail-retry-ignored-headers): Add more uninteresting fields.
21590 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21592         * net/rcirc.el (rcirc): Use history variables.
21593         (rcirc-server-name-history, rcirc-nick-name-history)
21594         (rcirc-server-port-history): New variables.
21596 2009-07-15  Kenichi Handa  <handa@m17n.org>
21598         * international/mule-cmds.el (set-language-environment-charset):
21599         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21600         ignore them.
21602         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21603         Delete unibyte-display.
21605 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21607         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21609 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21611         * simple.el (deactivate-mark): Optional argument FORCE.
21612         (set-mark): Use deactivate-mark.
21614         * info.el (Info-search): No need to check transient-mark-mode
21615         before calling deactivate-mark.
21617         * select.el (x-set-selection): Doc fix.
21618         (x-valid-simple-selection-p): Allow buffer values.
21619         (xselect--selection-bounds): Handle buffer values.
21620         Suggested by David De La Harpe Golden.
21622         * mouse.el (mouse-set-region, mouse-drag-track):
21623         Call copy-region-as-kill before setting the mark, to let
21624         select-active-regions work.
21626 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21628         * simple.el (deactivate-mark): If select-active-regions is
21629         non-nil, copy the selection data into a string.
21630         (activate-mark): If select-active-regions is non-nil, set the
21631         selection to the current buffer.
21632         (set-mark): Update selection if select-active-regions is non-nil.
21634         * select.el (x-valid-simple-selection-p): Allow buffer values.
21636 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21638         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21639         and more featureful message-mode.
21641 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21643         * select.el (x-set-selection): Doc fix.
21644         (x-valid-simple-selection-p): Disallow selection data consisting
21645         of a list or cons of integers, since that is not used.
21646         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21647         (xselect-convert-to-string, xselect-convert-to-length)
21648         (xselect-convert-to-filename, xselect-convert-to-charpos)
21649         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21651 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21653         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21654         output in -break-info command (Emacs bug #3794).
21656 2009-07-14  Glenn Morris  <rgm@gnu.org>
21658         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21659         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21660         (edebug-print-length, edebug-print-level, edebug-print-circle)
21661         (edebug-sit-for-seconds, edebug-view-outside)
21662         (edebug-bounce-point, edebug-set-global-break-condition)
21663         (edebug-Go-nonstop-mode, edebug-trace-mode)
21664         (edebug-Trace-fast-mode, edebug-continue-mode)
21665         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21666         (edebug-visit-eval-list): Doc fixes.
21668         * subr.el (def-edebug-spec): Doc fix.
21670 2009-07-14  Kenichi Handa  <handa@m17n.org>
21672         * international/characters.el: Fix setting of category ?C.
21674 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21676         * term/ns-win.el (x-select-font): defalias x-select-font to
21677         ns-popup-font-panel instead of generate-fontset-menu.
21679 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
21681         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
21683 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
21685         * arc-mode.el (archive-find-type): Allow for a PK00 string before
21686         the PK\003\004 header (Bug#3770).
21688 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
21690         * pcomplete.el (pcomplete-comint-setup): Check for
21691         shell-dynamic-complete-filename too.
21693 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
21695         * simple.el (temporary-goal-column): Change the value for
21696         line-move-visual to a cons cell.
21697         (line-move-visual): Record or set the window hscroll, if
21698         necessary (Bug#3494).
21699         (line-move-1): Handle cons value of temporary-goal-column.
21701 2009-07-11  Kenichi Handa  <handa@m17n.org>
21703         * international/mule-diag.el (describe-character-set): Don't show
21704         width.
21706 2009-07-10  Sam Steingold  <sds@gnu.org>
21708         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21709         Omake sometimes indents the errors it prints, so allow all
21710         regexps to start with spaces.
21712 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
21714         * cus-edit.el (customize-changed-options-previous-release):
21715         Bump value to 22.1.  (Bug#3804)
21717 2009-07-08  Sam Steingold  <sds@gnu.org>
21719         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21720         to be a cons cell (test . ignored-directory) to selectively ignore
21721         some directories depending on the location of the search.
21723 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
21725         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21726         remote user is root, on the local host.
21727         (tramp-local-host-p): Either the local user or the remote user
21728         must be root.  (Bug#3771)
21730 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21732         * progmodes/gdb-mi.el (gdb): Remove description of
21733         gdb-use-separate-io-buffer.
21734         (menu): Don't allow toggling of or enable
21735         gdb-use-separate-io-buffer from menubar.
21737 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21739         * mail/unrmail.el (unrmail): Make sure the message ends with two
21740         newlines (Bug#3769).
21742 2009-07-08  Glenn Morris  <rgm@gnu.org>
21744         * calendar/calendar.el (calendar-current-date): Rework previous change.
21746 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
21748         * calendar/calendar.el (calendar-current-date):
21749         Add an optional argument giving an offset from today.
21751 2009-07-08  Glenn Morris  <rgm@gnu.org>
21753         * tutorial.el (tutorial--describe-nonstandard-key):
21754         Adjust the message for when a key has been unbound.
21755         (help-with-tutorial): Hide the arch-tag.
21757 2009-07-08  Kenichi Handa  <handa@m17n.org>
21759         * international/fontset.el (setup-default-fontset): For each
21760         script, append (not set) font-specs.
21762         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21763         docstring.
21765 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21767         * progmodes/gdb-mi.el (gdb-init-1): Move sending
21768         -data-list-register-names to ...
21769         (gdb-starting): ... here because GDB 7.0 requires execution to
21770         have started when using this MI command.
21771         (gdb-set-header): New function to distinguish select and
21772         unselected tabs in gdb buffers.
21773         (gdb-propertize-header): New macro that uses gdb-set-header.
21774         (gdb-breakpoints-header, gdb-locals-header): Use it.
21775         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21777 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
21779         * Makefile.in (ELCFILES): Remove fadr.elc.
21781 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
21783         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21784         may contain frame information, so `string-match' should be used.
21785         (gdb-update): Disassembly is invalidated through
21786         `gdb-get-selected-frame'.
21787         (gdb-pad-string): New function to pad string with spaces.
21788         (gdb-invalidate-disassembly): Invalidate only if the buffer
21789         exists.
21790         (gdb-disassembly-handler-custom): Column alignment.
21791         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21792         placing new ones.
21793         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21794         end of line, too.
21795         (gdb-frame-handler): Match convention to for disassembly buffer
21796         mode name.
21797         (gdb-stack-list-frames-handler): Rewritten without regexps.
21798         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21799         not highlight breakpoints without line information.
21800         (gdb-input): Add trailing newline to command.
21802         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21803         buffer properly.
21804         (gdb-breakpoints-list-handler-custom): Replacement for
21805         `gdb-break-list-handler'.  Using real parser instead of regexps
21806         now.
21807         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21808         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21809         to place breakpoints.
21810         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21811         functions.
21812         (gdb-disassembly-handler-custom): Show overlay arrow.
21813         (gdb-disassembly-place-breakpoints): Show breakpoints in
21814         disassembly buffer.
21815         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21816         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21817         instead of parsing breakpoints buffer.  Fixed old menu references
21818         in `gud-menu-map'.
21820         * fadr.el: Remove.
21822         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21823         (gdb-memory-address): New variable which holds top address of
21824         memory page shown in memory buffer.
21825         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21826         New customization variables.
21827         New functions:
21828         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21829         display the memory buffer.
21830         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21831         buffer display parameters.
21832         (def-gdb-memory-format, gdb-memory-format-binary)
21833         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21834         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21835         Functions for setting memory buffer format.
21836         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21837         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21838         unit size used in memory buffer.
21839         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21840         Switch to next/previous page of memory buffer.
21841         Now using (bindat-get-field) instead of fadr functions.
21843 2009-07-07  Sam Steingold  <sds@gnu.org>
21845         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21846         non-top-level files.
21848 2009-07-07  Kenichi Handa  <handa@m17n.org>
21850         * international/mule-cmds.el (reset-language-environment):
21851         Put the highset priority to the charset iso-8859-1.
21853 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21855         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21856         to the end of the line when locating the block (Bug#700).
21858 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21860         * net/tramp.el (tramp-handle-write-region): Flush file properties
21861         in case of short track.
21863 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21865         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21866         Coded custom representation of verilog error regular expressions
21867         to work with Emacs-22's new format.
21868         (verilog-error-regexp-xemacs-alist): Coded custom representation
21869         of verilog error regular expressions to work with XEmacs format.
21870         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21871         error recognition into XEmacs.
21872         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21873         error recognition into Emacs-22.
21875 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21877         * woman.el: Remove stand-alone closing parentheses.
21878         (woman-file-name, woman2-format-paragraphs)
21879         (woman-leave-blank-lines): Code cleanup.
21880         (woman-use-own-frame): Change default to nil.
21881         (woman-italic, woman-bold, woman-unknown, woman-addition):
21882         Change defaults to inherit from default faces.
21883         (woman2-process-escapes): Consume the newline after a stand-alone
21884         filler character (Bug#3651).
21886 2009-07-06  Glenn Morris  <rgm@gnu.org>
21888         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21889         (top-level): Move provide to the end.
21890         (ffap): Remove defunct URL from custom group.
21892         * subr.el (eval-after-load): Doc fix.
21894 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21896         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21897         `calc-embedded-word' is called twice.
21899 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21901         * files.el (find-alternate-file-other-window, find-alternate-file):
21902         Obey confirm-nonexistent-file-or-buffer.
21904 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21906         * dired-aux.el (dired-show-file-type): Handle remote files.
21908 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21910         * desktop.el (desktop-globals-to-save):
21911         Add file-name-history (Bug#2750).
21913 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21915         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21917 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21919         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21920         property on entire argument since this is what eshell-lisp-command
21921         expects.
21923 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21925         * net/tramp-gvfs.el (tramp-gvfs-methods)
21926         (tramp-gvfs-zeroconf-domain)
21927         (tramp-bluez-discover-devices-timeout): Add version flag.
21928         (tramp-gvfs-handler-mounted-unmounted)
21929         (tramp-gvfs-connection-mounted-p): Polish handling of
21930         incompatibilities between GVFS 0.2 and 1.0.
21932 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21934         * cus-start.el (all): Add make-pointer-invisible.
21936 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21938         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21939         formatted correctly.
21941 2009-07-02  Juri Linkov  <juri@jurta.org>
21943         * info.el: Virtual Info files and nodes.
21944         (Info-virtual-files, Info-virtual-nodes): New variables.
21945         (Info-current-node-virtual): New variable.
21946         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21947         New functions.
21948         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21949         to check for a virtual file instead of checking a fixed list
21950         of node names.
21951         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21952         instead of ad-hoc processing of "dir" and (apropos history toc).
21953         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21954         instead of ad-hoc processing of "dir" and (apropos history toc).
21955         Reread a file when moving from a virtual node.
21956         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21957         (Info-directory-toc-nodes, Info-directory-find-file)
21958         (Info-directory-find-node): New functions.
21959         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21960         (Info-history): Move part of code to
21961         `Info-history-find-node'.
21962         (Info-history-toc-nodes, Info-history-find-file)
21963         (Info-history-find-node): New functions.
21964         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21965         (Info-toc): Move part of code to `Info-toc-find-node'.
21966         (Info-toc-find-node): New function.
21967         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21968         the current Info file name to references because now the node
21969         "*TOC*" belongs to the same Info manual.
21970         (Info-toc-build): Rename from `Info-build-toc'.
21971         (Info-toc-nodes): Rename input argument `file' to `filename'.
21972         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21973         instead of ad-hoc processing of ("dir" apropos history toc).
21974         (Info-index-nodes): Use Info-virtual-file-p
21975         to check for a virtual file instead of checking a fixed list
21976         of node names.
21977         (Info-index-node): Add check for `Info-current-node-virtual'.
21978         Raise `save-match-data' higher up the tree to contain
21979         `search-forward' too (bug fix).
21980         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21981         (Info-virtual-index-nodes): New variable.
21982         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21983         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21984         (Info-apropos-file, Info-apropos-nodes): New variables.
21985         (Info-apropos-toc-nodes, Info-apropos-find-file)
21986         (Info-apropos-find-node, Info-apropos-matches): New functions.
21987         (info-apropos): Move part of code to `Info-apropos-find-node' and
21988         `Info-apropos-matches'.
21989         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21990         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21991         for a virtual file instead of checking a fixed list of node names.
21993         * simple.el (async-shell-command): New command.
21995         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21997         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21998         instead of `mount-info'.
22000 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
22002         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22003         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22005 2009-07-02  Kenichi Handa  <handa@m17n.org>
22007         * international/mule.el (set-keyboard-coding-system): Force *-unix
22008         coding-system to avoid eol conversion.
22010 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
22012         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22013         Add handler for `process-file', `shell-command' and
22014         `start-file-process'.
22015         (tramp-gvfs-handle-shell-command)
22016         (tramp-gvfs-handle-start-file-process)
22017         (tramp-gvfs-handle-process-file): New defuns.
22018         (tramp-synce-list-devices): Simplify check for existence of property.
22020 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
22022         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22024 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
22026         * language/korean.el (set-language-info-alist): Add korean-cp949,
22027         cp949 to spec.
22029 2009-07-01  Kenichi Handa  <handa@m17n.org>
22031         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22033         * international/encoded-kb.el: Deleted.
22035         * international/mule.el (set-keyboard-coding-system): Perform the
22036         necessary setup here instead of calling encoded-kbd-setup-display.
22038 2009-07-01  Glenn Morris  <rgm@gnu.org>
22040         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22042 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
22044         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
22046 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
22048         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22049         Handle also the 'rename case, when setting file modes.  (Bug#3712)
22050         (tramp-default-file-modes): Remove execute permissions.
22052         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22053         (top): Add a default for "synce" in `tramp-default-user-alist'.
22054         Add completion function for "synce" method.
22055         (tramp-hal-service, tramp-hal-path-manager)
22056         (tramp-hal-interface-manager, tramp-hal-interface-device):
22057         New defconst.
22058         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22059         (tramp-synce-list-devices, tramp-synce-parse-device-names):
22060         New defuns.
22062         * net/trampver.el: Update release number.
22064 2009-06-30  Kenichi Handa  <handa@m17n.org>
22066         * international/fontset.el (setup-default-fontset): Add CJK fonts
22067         for symbols and the other miscellaneous characters.
22069         * language/korea-util.el (setup-korean-environment-internal):
22070         Make char-width-table suitable for Korean environments.
22071         (exit-korean-environment): Cancel above.
22073         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22074         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22075         setup-function to make char-width-table suitable for respective
22076         environments, and an exit-function to cancel that.
22078         * language/japan-util.el (setup-japanese-environment-internal):
22079         Call use-cjk-char-width-table with arg `ja_JP'.
22081         * international/characters.el (cjk-char-width-table): Delete it.
22082         (cjk-char-width-table-list): New variable.
22083         (use-cjk-char-width-table): New arg local-name.
22084         (use-default-char-width-table): Fix for the case that Emacs is
22085         already using the default char-width-table.
22087 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
22089         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22090         modes mandatory.  (Bug#3712)
22092 2009-06-29  Alan Mackenzie  <acm@muc.de>
22094         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22095         correction between the visible width of TABs and their number of bytes.
22097 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
22099         * server.el (server-buffer-done): Prevent kill-buffer from
22100         prompting by clearing the buffer modification flag (Bug#3696).
22102 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
22104         * progmodes/verilog-mode.el (verilog-beg-of-statement)
22105         (verilog-endcomment-reason-re): Support unique case and priority case.
22106         (verilog-basic-complete-re): Support localparam lineup.
22107         (verilog-beg-of-statement-1): Fix for robustness, unique case.
22108         (verilog-set-auto-endcomments): Fix for unique case, always_comb
22109         commenting.
22110         (verilog-leap-to-case-head): Now support *nested* unique &
22111         priority case statements.
22112         (verilog-auto-lineup): Make just declarations the default (as it
22113         had been).
22114         (verilog-leap-to-case-head): Support priority/unique case statements.
22115         (verilog-auto-lineup): Rework to give users radio buttons to
22116         select the various styles of automatic lineup.
22117         (verilog-error-regexp-alist): Rework to support the XEmacs style
22118         of error regular expressions from compilers, lint tools &
22119         simulators.  Note that GNU Emacs has made it impossible for a mode
22120         to load such things.
22121         (electric-verilog-terminate-line, verilog-indent-declaration)
22122         (verilog-auto-wiure): Rework for radio button selection of
22123         auto-lineup selection of specification of auto lineup.
22124         (verilog-beg-of-statement-1): Redesign to support proper operation
22125         in additional code, based on testing with auto-lineup.
22126         (verilog-calculate-indent, assignments & declarations)
22127         (verilog-backward-token): Enhance to support auto-lineup of
22128         assignments & declarations.
22129         (verilog-in-directive-p, verilog-at-struct-p): New function for
22130         easy test of whether we are.
22131         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22132         to support safe execution at almost anyline.
22133         (verilog-calc-1): Properly support indenting deep inside generate
22134         blocks.
22135         (verilog-init-font): Remove definition & use of verilog-init-font,
22136         as it is redundant with font-lock-defaults.
22137         (verilog-mode): Alter the definition of verilog-font-lock-defaults
22138         to avoid circular calls if syntax-ppss is a function (as is the
22139         case now in 22.x GNU Emacs) as that function would sometimes call
22140         itself, leading to (nearly) infinite recursion.
22141         (verilog-ovm-begin-re, verilog-ovm-end-re)
22142         (verilog-ovm-statement-re, verilog-leap-to-head)
22143         (verilog-backward-token): Add support for OVM macros.  Some are
22144         complete statements, and others open and close scopes like begin
22145         and end.
22146         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22147         (verilog-defun-level-generate-only-re): Really fix the defun-list
22148         compilation issue.
22149         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22150         coverpoint, constraint and cross statements.
22151         (verilog-defun-level-list, verilog-generate-defun-level-list)
22152         (verilog-all-defun-level-list): Redo these specifications - it is
22153         too hard to support eval-when compile aggregation of lists also
22154         built at when-compile time.
22155         (verilog-defun-level-list): Place defconsts of variables used in
22156         building regular expressions which are built in eval-when-compile
22157         bodies in the same eval-when-compile body to facilitate compile
22158         without load.
22159         (verilog-beg-block-re-ordered): Support indenting
22160         virtual/protected tasks and functions.
22161         (verilog-defun-level-list, verilog-in-generate-region-p)
22162         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22163         indentation of some module items (generate items).
22164         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22165         across virtual/protected tasks and functions.
22167 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22169         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22170         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22171         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22172         in concatenations.  Reported by Yishay Belkind.
22173         (verilog-auto-ascii-enum): Support one-hot state machines in
22174         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22175         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22176         modport in AUTOINST and add vl-modport for users.
22177         Reported by David Rogoff.
22178         (verilog-auto-inout-module, verilog-auto-inst)
22179         (verilog-decls-get-interfaces, verilog-insert-definition)
22180         (verilog-insert-one-definition, verilog-read-decls)
22181         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22182         (verilog-sig-modport, verilog-signals-combine-bus)
22183         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22184         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22185         Suggested by David Rogoff.
22186         (verilog-repair-open-comma): Fix non-insertion of comma when
22187         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22188         (verilog-make-width-expression): Simplify [A-1:0] expression
22189         widths to just {A{1'b0}}.
22190         (verilog-mode): Cleanup checkdoc warnings.
22191         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22192         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22193         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22194         (next-error-last-buffer): Fix byte-compiler warning.
22195         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22196         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22197         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22198         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22199         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22200         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22201         in AUTOINOUT.  Reported by Matthew Lovell.
22202         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22203         causing use of <= assignments.  Reported by Alex Reed.
22204         (verilog-read-decls): Fix triand, trior, wand, wor to be
22205         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22206         (verilog-extended-complete-re): Support import "DPI-C" functions.
22207         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22208         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22209         (verilog-insert-date, verilog-insert-year)
22210         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22211         Windows systems.  Reported by Michael Potts.
22212         (verilog-read-module-name): Fix AUTOINST when the child module
22213         declaration's name is a tick define.  Reported by Elliot Mednick.
22214         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22215         passed to next parameter's definition.  Reported by Bruce T.
22216         (verilog-read-decls): Fix detecting "parameter int" when using
22217         AUTOINSTPARAM.  Reported by Bruce T.
22218         (verilog-goto-defun): Fix goto not finding modules unless first
22219         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22220         (verilog-mode): Expand -f flag arguments on entry to mode so
22221         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22222         (verilog-getopt): Expand environment variables in -f file
22223         arguments.  Suggested by Lawrence Butcher.
22224         (verilog-set-define): Fix "Symbol's value as variable is void"
22225         when reading enumerations.
22226         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22227         Suggested by Stephen Peltan.
22228         (verilog-read-defines): Fix reading of enumerations in include
22229         files.  Reported by Steve Peltan.
22231 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22233         * files.el (trash-directory): Fix defcustom type.
22235 2009-06-28  Juri Linkov  <juri@jurta.org>
22237         * help-fns.el (describe-function-1): Correctly locate adviced
22238         functions in hyperlink (Bug#2438).
22240 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22242         * files.el (trash-directory): Change default to nil.
22243         (move-file-to-trash): If trash-directory is nil and
22244         system-move-file-to-trash is unbound, perform freedesktop-style
22245         trashing.
22247 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22249         * files.el (move-file-to-trash): Add freedesktop trash
22250         support (Bug#973).
22252 2009-06-28  Glenn Morris  <rgm@gnu.org>
22254         * autorevert.el (global-auto-revert-non-file-buffers)
22255         (global-auto-revert-mode): Doc fixes.
22257 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22259         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22261 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22263         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22264         opened an X connection before calling x-get-resource (Bug#3194).
22266         * play/doctor.el: Remove reference to obsolete website.
22267         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22269 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22271         Remove find-file-not-found-hook VC method.  (Bug#2757)
22272         * vc-hooks.el (vc-file-not-found-hook)
22273         (vc-default-find-file-not-found-hook): Remove functions.
22274         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22275         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22276         * vc.el:
22277         * vc-hg.el:
22278         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22280 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22282         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22283         compatibility function for `looking-back'.
22285         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22286         Use `ispell-looking-back'.
22288 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22290         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22291         rather than `filename'.
22293 2009-06-23  Miles Bader  <miles@gnu.org>
22295         * face-remap.el (text-scale-set): New function.
22297 2009-06-23  Glenn Morris  <rgm@gnu.org>
22299         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22301         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22303         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22305         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22307         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22308         Simplify Persian conditionals.
22310         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22311         variable `filename'.
22313         * comint.el (comint-insert-input): Doc fix.
22315         * Makefile.in (ELCFILES): Fix typo in previous change.
22317 2009-06-23  Miles Bader  <miles@gnu.org>
22319         * cus-start.el: Add entry for `recenter-redisplay'.
22321 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22323         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22324         Add an optional argument for the backend, use it instead of
22325         calling vc-backend.
22326         (vc-mode-line): Add an optional argument for the backend.
22327         Pass the backend to vc-state and vc-working-revision.  Move code for
22328         special handling for vc-state being a buffer to ...
22330         * vc-rcs.el (vc-rcs-find-file-hook):
22331         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22333         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22334         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22335         vc-stay-local-p and vc-mode-line calls.
22337         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22338         (vc-cvs-diff, vc-cvs-annotate-command)
22339         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22340         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22341         vc-mode-line calls.
22343         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22344         direct comparison.
22345         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22346         backend when calling vc-mode-line.
22347         (vc-register): Do not create a closure for calling the vc register
22348         function, call it directly.
22350 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22352         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22353         to make it obvious item can be clicked.
22355         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22357 2009-06-23  Kenichi Handa  <handa@m17n.org>
22359         * language/korea-util.el (korean-key-bindings): Change the binding
22360         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22361         same command.
22363 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22365         Sync with Tramp 2.1.16.
22367         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22369         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22370         when a loading of a package fails.  Completion function for rsync
22371         is `tramp-completion-function-alist-ssh'.
22372         (all): Replace all calls of `split-string' and
22373         `tramp-split-string' by `tramp-compat-split-string'.
22374         (tramp-default-method): Use `tramp-compat-process-running-p'.
22375         (tramp-default-proxies-alist): Allow also Lisp forms.
22376         (tramp-remote-path): Add choice "Private Directories".
22377         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22378         (tramp-domain-regexp): Allow also "-", "_" and ".".
22379         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22380         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22381         (tramp-debug-message): Insert header line in debug buffer.
22382         (tramp-handle-directory-files-and-attributes-with-stat):
22383         Care about filenames with spaces, or starting with "-".
22384         (tramp-handle-dired-uncache): New defun.
22385         (tramp-handle-insert-directory): Don't flush the directory from
22386         cache, this is handled by `dired-uncache' now.
22387         (tramp-handle-insert-file-contents): Improve error handling.
22388         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22389         Quote `tramp-end-of-output'.
22390         (tramp-action-password): Improve trace message.
22391         (tramp-check-for-regexp): Both echoes must be present, before removing.
22392         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22393         (tramp-compute-multi-hops): Eval cons cells of
22394         `tramp-default-proxies-alist'.
22395         (tramp-maybe-open-connection): Use the same command pattern for
22396         first hop and further hops.
22397         (tramp-wait-for-output): Remove handling of newlines.
22398         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22399         (tramp-split-string): Remove function.  It is handled in
22400         tramp-compat now.
22402         * net/tramp-cmds.el (tramp-bug):
22403         Recommend `tramp-cleanup-all-connections' in the bug mail.
22405         * net/tramp-compat.el (tramp-compat-split-string)
22406         (tramp-compat-process-running-p): New defuns.
22408         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22409         for `dired-uncache'.
22411         * net/tramp-gvfs.el: New package.
22413         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22414         Add handler for `dired-uncache'.
22415         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22417         * net/trampver.el: Update release number.  Make version check fit
22418         for SXEmacs 22.
22420 2009-06-22  Jim Meyering  <meyering@redhat.com>
22422         Automatically handle .xz suffix (XZ-compressed files), too.
22423         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22424         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22426 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22427             Nick Roberts  <nickrob@snap.net.nz>
22429         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22430         repository (http://sphinx.net.ru/hg/gdb-mi/).
22432 2009-06-22  Glenn Morris  <rgm@gnu.org>
22434         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22435         `mode' and `eval' entries.  (Bug#3430)
22437         * Makefile.in (ELCFILES): Add fadr.elc.
22439         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22440         differing behavior of \n and ^ in strings.  (Bug#3385)
22442         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22444         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22445         property.
22446         (lisp-indent-function): Make it a defcustom.
22448 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22450         * progmodes/gdb-ui.el: Replace with ...
22451         * progmodes/gdb-mi.el: ... this file.
22452         * progmodes/gud.el: Modify for gdb-mi.el.
22454 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22456         * fadr.el: New file.
22458 See ChangeLog.14 for earlier changes.
22460 ;; Local Variables:
22461 ;; coding: utf-8
22462 ;; End:
22464   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22466   This file is part of GNU Emacs.
22468   GNU Emacs is free software: you can redistribute it and/or modify
22469   it under the terms of the GNU General Public License as published by
22470   the Free Software Foundation, either version 3 of the License, or
22471   (at your option) any later version.
22473   GNU Emacs is distributed in the hope that it will be useful,
22474   but WITHOUT ANY WARRANTY; without even the implied warranty of
22475   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22476   GNU General Public License for more details.
22478   You should have received a copy of the GNU General Public License
22479   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.