* lisp/progmodes/sh-script.el (sh-syntax-propertize-here-doc):
[emacs.git] / lisp / ChangeLog
blob0f6fac51a95a1cfd22d0c025bd959a8019c1fdcb
1 2011-02-18  Lawrence Mitchell  <wence@gmx.li>
3         * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
4         Bind case-fold-search to nil when looking for end of here-doc.
6 2011-02-18  Eli Zaretskii  <eliz@gnu.org>
8         * image-mode.el (image-toggle-display-image):
9         Set find-file-literally non-nil in buffers visiting binary image
10         files.  (Bug#8047)
12 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14         * files.el (cd): Make completion obey cd-path (bug#7924).
16 2011-02-18  Glenn Morris  <rgm@gnu.org>
18         * progmodes/prolog.el: Don't require compile when compiling.
19         (compilation-shell-minor-mode, compilation-error-regexp-alist)
20         (compilation-forget-errors, compilation-fake-loc)
21         (compilation-parse-errors-function, compilation-error-list): Declare.
22         (prolog-inferior-mode): Require 'compile.
24         * emulation/cua-base.el (pc-selection-mode): Declare.
26         * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
27         (customize-object): Add autoload cookie.
28         * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
29         (eieio-browse, describe-class, eieio-describe-class)
30         (eieio-describe-constructor, describe-generic, eieio-describe-generic)
31         (eieio-help-mode-augmentation-maybee): Add autoload cookies.
32         * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
33         * Makefile.in (autoloads): Make eieio.el writable.
35         * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
36         (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
37         (dired-hack-local-variables): Use inhibit-read-only.
38         (dired-guess-default): Simplify.
39         (dired-make-relative-symlink): Use dotimes.
40         (dired-simultaneous-find-file): Use dolist.
41         (dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
42         (dired-x-hands-off-my-keys): Doc fix.
43         (dired-x-bind-find-file): Doc fix.  Use remapping.
44         (after-init-hook): No need to add dired-x-bind-find-file.
45         (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
46         No need to call expand-file-name.
47         (dired-filename-at-point): Remove unused locals `end', `filename'.
49 2011-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
51         * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
53 2011-02-18  Christian Ohler  <ohler@gnu.org>
55         * emacs-lisp/ert.el (ert--setup-results-buffer)
56         (ert-results-pop-to-backtrace-for-test-at-point)
57         (ert-results-pop-to-messages-for-test-at-point)
58         (ert-results-pop-to-should-forms-for-test-at-point)
59         (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
60         were incorrect and unnecessary.  This should make `make check'
61         pass again.
63 2011-02-17  Ken Manheimer  <ken.manheimer@gmail.com>
65         * lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
66         (allout-widgets-icons-dark-subdir): Track relocations of icons
67         * lisp/allout.el: Remove commentary about remove encryption
68         passphrase mnemonic support and verification.
69         (allout-encrypt-string): (allout-encrypt-string): Recognize epg
70         failure to decrypt gpg2 armored text using gpg1, and indicate that
71         the gpg version *might* be the problem in the error message.
73 2011-02-17  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
75         * net/rcirc.el (rcirc-float-time): New function.
76         (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
77         (rcirc-ctcp-sender-PING): Use it.
79 2011-02-17  Glenn Morris  <rgm@gnu.org>
81         * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
82         (speedbar-update-flag, speedbar-fetch-etags-command)
83         (speedbar-fetch-etags-arguments):
84         * term.el (term-buffer-maximum-size, term-input-chunk-size)
85         (term-completion-autolist, term-completion-addsuffix)
86         (term-completion-recexact, term-completion-fignore):
87         * term/sup-mouse.el (sup-mouse-fast-select-window):
88         * term/x-win.el (x-select-request-type):
89         Convert some defvars with "*" to defcustoms.
91         * shell.el (shell-delimiter-argument-list): Set it to nil.  (Bug#8027)
93         * vc/vc.el (vc-default-previous-version):
94         Remove alias that points nowhere.  (Bug#4496)
96         * dired-x.el (dired-clean-up-after-deletion):
97         kill-buffer does not need save-excursion.
98         (dired-do-run-mail): Doc fix.
99         (dired-filename-at-point): Doc fix.
100         Use looking-at, and skip-chars rather than re search.
102         * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
104 2011-02-16  Ken Manheimer  <ken.manheimer@gmail.com>
106         * allout-widgets.el: New allout extension that shows allout
107         outline structure with graphical widgets.  'allout-widgets'
108         customize group is an 'allout' subgroup, for easy discovery.
110         * allout.el: Include PGP and GnuPG in Keywords, and other
111         commentary refinements.
112         (allout-abbreviate-flattened-numbering): Rename to
113         allout-flattened-numbering-abbreviation, and
114         define-obsolete-variable-alias the old name.
115         (allout-flattened-numbering-abbreviation): Rename from
116         allout-abbreviate-flattened-numbering.
117         (allout-mode-p): Include among autoloads, for use by other modes
118         with impunity.
119         (allout-listify-exposed):
120         Use allout-flattened-numbering-abbreviation.
121         (allout-encrypt-string): Use set-buffer-multibyte directly.
122         (allout-set-buffer-multibyte): Remove.
124 2011-02-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
126         * simple.el (just-one-space): Remove useless `or' call.
128 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
130         * soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
131         (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
132         (soap-decoded-multi-refs, soap-current-wsdl)
133         (soap-encoded-namespaces): Rename CL-style *...* variables.
135 2011-02-16  Michael Albinus  <michael.albinus@gmx.de>
137         * net/soap-client.el: Add "comm" and "hypermedia" to the
138         keywords.  Reflow too long lines.
140         * net/soap-inspect.el: Ditto.  Require 'cl.
142 2011-02-16  Bastien Guerry  <bzg@altern.org>
144         * play/doctor.el (doctor-mode): Bugfix: escape the "," character
145         in a `doctor-type' argument.
147 2011-02-16  Alex Harsanyi  <AlexHarsanyi@gmail.com>
149         * net/soap-client.el:
150         * net/soap-inspect.el: New files.
152 2011-02-16  Leo  <sdl.web@gmail.com>
154         * dired-x.el (dired-mode-map, dired-extra-startup):
155         Remove dired-copy-filename-as-kill since it's already in dired.el.
157 2011-02-16  Glenn Morris  <rgm@gnu.org>
159         * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
160         Doc fixes.  Add :set property, replacing top-level calls.
161         (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
162         (dired-guess-shell-gnutar): Test tar version rather than system-type.
163         (dired-extra-startup, dired-man, dired-info): Doc fixes.
164         (dired-clean-up-after-deletion): Use when and dolist.
165         (dired-jump): Use unless and when.
166         (dired-virtual): Use line-end-position.
167         (dired-default-directory-alist): Rename from default-directory-alist.
168         (dired-default-directory): Update for above name change.
169         (dired-vm): Drop VM < 5 and simplify.
170         (dired-buffer-more-recently-used-p): Rewrite.
171         (dired-filename-at-point): Use when and or.
172         (dired-x-read-filename-at-point): Rename from read-filename-at-point.
173         Update callers.
175 2011-02-15  Glenn Morris  <rgm@gnu.org>
177         * dired-x.el: Use easymenu for menu items.  Fix item capitalization.
179 2011-02-14  Chong Yidong  <cyd@stupidchicken.com>
181         * vc/vc-git.el (vc-git-root-log-format): New option for
182         customizing log format.
183         (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
184         (vc-git-log-view-mode): Use it.
185         (vc-git-expanded-log-entry): New function.
186         (vc-git-log-view-mode): Use it.  Truncate lines in root log.
188         * vc/vc-hg.el (vc-hg-root-log-template): New option for
189         customizing log format.
190         (vc-hg-print-log): Use it.
191         (vc-hg-expanded-log-entry): New function.
192         (vc-hg-log-view-mode): Use vc-hg-root-log-template and
193         vc-hg-expanded-log-entry.  Truncate lines in root log.
195         * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
197         * vc/log-view.el (log-view-mode-menu):
198         Add log-view-toggle-entry-display.
200 2011-02-14  Glenn Morris  <rgm@gnu.org>
202         * dired-x.el: Don't require man when compiling.
203         (dired-omit-extensions, dired-local-variables-file)
204         (dired-x-hands-off-my-keys): Make them defcustoms.
205         (Man-support-local-filenames, Man-getpage-in-background): Declare.
206         (vm-visit-folder): Declare rather than defining.
207         (dired-x-help-address, dired-x-variable-list): Remove.
208         (dired-x-submit-report): Make it an obsolete alias.
210 2011-02-14  Juanma Barranquero  <lekktu@gmail.com>
212         * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
214 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
216         * net/imap.el: Bring it back.
218 2011-02-13  Alan Mackenzie  <acm@muc.de>
220         * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
221         narrow-to-region call that cuts context off the end (Bug#7722).
223         * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
224         Refactor nested if-forms with a simple cond.
225         (c-forward-<>-arglist): Revert 2011-01-31 change.
227 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
229         * vc/log-view.el: New command log-view-toggle-entry-display for
230         toggling log entries between concise and detailed forms.
231         (log-view-toggle-entry-display): New command.
232         (log-view-mode-map): Bind RET to it.
233         (log-view-expanded-log-entry-function): New variable.
234         (log-view-current-entry, log-view-inside-comment-p)
235         (log-view-current-tag): New functions.
236         (log-view-toggle-mark-entry): Use log-view-current-entry and
237         log-view-end-of-defun instead of searching directly with
238         log-view-message-re.
239         (log-view-end-of-defun): Likewise.  Add optional ARG for
240         compatibility with end-of-defun.
241         (log-view-end-of-defun): Ignore comments and VC buttons.
243         * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
244         (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
246 2011-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
248         * net/imap.el: Remove file.  All the functionality is in nnimap.el.
250         * net/imap-hash.el: Remove file.
252 2011-02-13  Michael Albinus  <michael.albinus@gmx.de>
254         * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
256         * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
257         call.
259         * net/tramp-imap.el: Remove file.
261 2011-02-13  Chong Yidong  <cyd@stupidchicken.com>
263         * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
264         widget library for buttons, just use button.el.
266         * vc/log-view.el (log-view-mode-map): Don't inherit from
267         widget-keymap.
269 2011-02-12  Glenn Morris  <rgm@gnu.org>
271         * emacs-lisp/cl-seq.el (union, nunion, intersection)
272         (nintersection, set-difference, nset-difference)
273         (set-exclusive-or, nset-exclusive-or): Doc fix.
275         * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
277         * faces.el (face-attr-match-p): Handle the obsolete :bold and
278         :italic props, so that frame-set-background-mode works.  (Bug#7966)
280         * simple.el (next-error): Doc fix.
282 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
284         * dired-aux.el (dired-create-files): Adapt destination name to
285         match the new behavior of copy-directory.
287 2011-02-12  Chong Yidong  <cyd@stupidchicken.com>
289         * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
290         from rmail-dont-reply-to-names.  Callers changed.
291         (mail-dont-reply-to): Rename from mail-dont-reply-to.
292         (rmail-dont-reply-to): Make it an obsolete alias.
294         * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
295         nil, and make obsolete (Bug#7888).
296         (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
298         * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
300         * mail/rmailsort.el (rmail-sort-by-correspondent)
301         (rmail-select-correspondent): Doc fix.  Use mail-dont-reply-to.
303         * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
305 2011-02-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
307         * files.el (copy-directory): New argument COPY-CONTENTS for
308         copying directory contents into another existing directory.
310 2011-02-12  Tassilo Horn  <tassilo@member.fsf.org>
312         * minibuffer.el (completion-table-case-fold): New function for
313         creating a case-insensitive completion table.
315 2011-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
317         * net/tramp.el (tramp-default-method): Also check if
318         `auth-source-search' is bound.
319         (tramp-read-passwd): Use `auth-source-search' instead of
320         `auto-source-user-or-password'.
322         * net/tramp-imap.el: Autoload `auto-source-search' instead of
323         `auto-source-user-or-password.
324         (tramp-imap-passphrase-callback-function): Use it.
326         * net/imap-hash.el: Autoload `auto-source-search' instead of
327         `auto-source-user-or-password.
328         (imap-hash-open-connection): Use it.
330         * mail/smtpmail.el: Autoload `auto-source-search' instead of
331         `auto-source-user-or-password.
332         (smtpmail-try-auth-methods): Use it.
334 2011-02-12  Phil Hagelberg  <phil@hagelb.org>
336         * emacs-lisp/package.el: Allow packages to be reinstalled.
337         (package--write-file-no-coding): Remove EXCL arg.
338         (package-unpack-single): Don't use it.
340 2011-02-12  Karl Pflästerer  <k@rl.pflaesterer.de>  (tiny change)
342         * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
343         in each sub directory.
344         (vc-svn-registered): Use vc-svn-root.
345         (vc-svn-root): New function.  Make vc-svn-responsible-p an alias.
346         (vc-svn-repository-hostname): Use "svn info".
348 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
350         * simple.el (delete-trailing-whitespace): New optional buffer
351         bound parameters.
353 2011-02-11  Bastien Guerry  <bzg@altern.org>
355         * files.el (basic-save-buffer): save unmodified buffers when
356         the file pointed by buffer-file-name doesn't exist.
358 2011-02-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
360         * net/rcirc.el (defun-rcirc-join): Accept multiple channels.
362 2011-02-11  Glenn Morris  <rgm@gnu.org>
364         * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
366 2011-02-11  Juanma Barranquero  <lekktu@gmail.com>
368         * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
370 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
372         * server.el (server-process-filter): Use pcase.
374         * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
375         conflicting ways.
376         (smie-indent--parent): Extend to "parent of arg".
377         (smie-indent-inside-string): New function.
378         (smie-indent-functions): Use it.
380         * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
381         bzr locking race condition.
383         * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
384         still valid before using it.
386         * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
387         `message' -> `compilation-message' rename (bug#8004).
389         Move keymap initialization into declaration.
390         * textmodes/enriched.el (enriched-mode-map):
391         * textmodes/bib-mode.el (bib-mode-map):
392         * term/lk201.el (lk201-function-map):
393         * tar-mode.el (tar-mode-map):
394         * replace.el (occur-mode-map):
395         * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
396         * progmodes/idlw-help.el (idlwave-help-mode-map):
397         * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
398         * play/solitaire.el (solitaire-mode-map):
399         * play/snake.el (snake-mode-map, snake-null-map):
400         * play/pong.el (pong-mode-map):
401         * play/handwrite.el (menu-bar-handwrite-map):
402         * play/gametree.el (gametree-mode-map):
403         * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map
404         (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
405         * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
406         (newsticker--url-keymap):
407         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
408         * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
409         (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
410         (menu-bar-edit-menu, menu-bar-custom-menu)
411         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
412         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
413         (menu-bar-line-wrapping-menu, menu-bar-options-menu)
414         (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
415         (menu-bar-tools-menu, menu-bar-describe-menu)
416         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
417         (menu-bar-help-menu):
418         * mail/rmailsum.el (rmail-summary-mode-map):
419         * kmacro.el (kmacro-step-edit-map):
420         * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
421         (ibuffer-mode-operate-map):
422         * hi-lock.el (hi-lock-menu, hi-lock-map):
423         * emulation/vip.el (vip-mode-map):
424         * emacs-lisp/re-builder.el (reb-lisp-mode-map):
425         * bookmark.el (bookmark-bmenu-mode-map):
426         * help-mode.el (help-mode-map): Move initialization into declaration.
428 2011-02-10  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
430         * net/rcirc.el: Add PRIVMSG and CTCP functions.
431         (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
432         (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
433         (rcirc-cmd-me, rcirc-authenticate): Use them.
435 2011-02-10  Ken Manheimer  <ken.manheimer@gmail.com>
437         * allout.el: Synopsis: Change allout user configuration so
438         auto-activation is controlled solely by customization
439         `allout-auto-activation'.
441         (allout-auto-activation-helper) (allout-setup): New autoloads
442         implement new custom set procedure for allout-auto-activation.
443         Also, explicitly invoke
444         (allout-setup) after allout-auto-activation is custom-defined, to
445         effect the settings in emacs sessions besides the few where
446         allout-auto-activation customization is donea.
447         (allout-auto-activation): Use allout-auto-activation-helper to
448         :set.  Revise the docstring.
449         (allout-init): Reduce functionality to just customizing
450         allout-auto-activation, and mark obsolete.
451         (allout-mode): Respect string values for allout-auto-activation.
452         Run allout-after-copy-or-kill-hook without any args.
453         (allout-mode) (allout-layout) (allout-default-layout)
454         (outlineify-sticky): Adjust docstring for new scheme.
455         (allout-after-copy-or-kill-hook): No arguments - hook implementers
456         should concentrate on the kill ring.
458 2011-02-09  Teodor Zlatanov  <tzz@lifelogs.com>
460         * password-cache.el (password-cache-remove): Accept secrets that are
461         not strings.
463 2011-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
465         * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
466         of here-doc that immediately follows a comment.
468 2011-02-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
470         * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
472         * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
473         available.
474         (rcirc-ctcp-sender-PING): New function.
476 2011-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
478         * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
479         Remove the mark/nomark handling, and activate shift-select-mode instead.
481         * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
483 2011-02-07  Jay Belanger  <jay.p.belanger@gmail.com>
485         * calc/calc-units.el (math-logunits-quant): Add support for
486         non-logarithmic units.
488 2011-02-07  Ken Manheimer  <ken.manheimer@gmail.com>
490         * allout.el (allout-after-copy-or-kill-hook): New hook for
491         extension-specific processing of killed text.
492         (allout-mode): Include new allout-after-copy-or-kill-hook among
493         mentioned hooks.
494         (allout-kill-line) (allout-kill-topic): Ensure that processing
495         after kill happens even if barf-if-buffer-read-only is raised.
496         Include new allout-after-copy-or-kill-hook among that subsequent
497         processing.
498         (allout-deannotate-hidden): Actually remove the annotation text
499         properties.
501         * allout.el (allout-listify-exposed): Copy text sans text properties.
503 2011-02-07  Michael Albinus  <michael.albinus@gmx.de>
505         * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
507 2011-02-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
509         * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
511 2011-02-06  Jay Belanger  <jay.p.belanger@gmail.com>
513         * calc/calc.el (calc-logunits-field-reference): Rename from
514         `calc-default-field-reference-level'.
515         (calc-logunits-power-reference): Rename from
516         `calc-default-power-reference-level'
518         * calc/calc-units.el (math-logunits-quant): Rename from
519         `math-logunits-level'
520         (math-logunits-plus): Rename from math-logcombine.
521         (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
522         (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
523         (calcFunc-lufieldsub,calc-logunits-add calc-logunits-sub):
524         New functions.
525         (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
526         (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
527         (calc-logunits-quantity): Rename from `calc-level'.
528         (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
529         (calcFunc-nppowerlevel,calc-logunits-dblevel, calc-logunits-nplevel)
530         (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
531         (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
532         (calcFunc-lupowerdiv,calc-logunits-divide,math-logunits-level):
533         New functions.
535         * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
536         (calc-ul-prefix-help): Remove.
537         (calc-l-prefix-help): New function.
538         (calc-full-help): Add reference to `calc-l-prefix-help'.
540         * calc/calc-ext.el (calc-init-extensions): Update autoloads.
542         * calc/README: Mention logarithmic units.
544 2011-02-06  Chong Yidong  <cyd@stupidchicken.com>
546         * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
547         non-ASCII characters (Bug#7925).
549 2011-02-05  Glenn Morris  <rgm@gnu.org>
551         * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
553         * calendar/diary-lib.el (diary-font-lock-keywords):
554         Tweak diary-time-regexp match.  (Bug#7891)
556         * progmodes/f90.el (f90-find-tag-default): New function.  (Bug#7919)
557         (f90-mode): Use it for mode's `find-tag-default-function' property.
559         * ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)
561         * faces.el (set-face-attribute): Doc fix.  (Bug#2659)
563 2011-02-05  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
565         * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
566         (Bug#6386).
568 2011-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
570         * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
571         font-lock-syntax-table remappings.
572         (sh-here-doc-markers, sh-here-doc-re): Remove.
573         (sh-font-lock-close-heredoc): Remove.
574         (sh-syntax-propertize-here-doc): New function.
575         (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
576         instead of the sh-here-doc-re.
577         (sh-font-lock-paren): Don't do anything in comments or strings.
578         Handle line continuations.  Accept a few more chars.
579         Don't rely on the font-lock-syntax-table remappings.
580         `esac' is not a valid pattern.
581         (sh-syntax-propertize-function): Handle here-docs differently, so we
582         don't bother syntax-propertizing the insides.
584         * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
585         Handle new bashisms ";&" and ";;&" (bug#7947).
587 2011-02-05  Michael Albinus  <michael.albinus@gmx.de>
589         * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
590         Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
592 2011-02-05  Era Eriksson  <era+tramp@iki.fi>  (tiny change)
594         * net/tramp.el (tramp-postfix-method-format)
595         (tramp-postfix-method-regexp, tramp-prefix-domain-format)
596         (tramp-prefix-domain-regexp, tramp-postfix-user-format)
597         (tramp-postfix-user-regexp, tramp-prefix-port-format)
598         (tramp-prefix-port-regexp, tramp-postfix-host-format)
599         (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
600         Doc fix.
602 2011-02-04  Sam Steingold  <sds@gnu.org>
604         * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
606 2011-02-04  Andreas Schwab  <schwab@linux-m68k.org>
608         * international/mule-util.el (with-coding-priority): Doc fix.
610 2011-02-04  Eli Zaretskii  <eliz@gnu.org>
612         * arc-mode.el (archive-mode-map): Fix a typo in last change.
614 2011-02-03  Sam Steingold  <sds@gnu.org>
616         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
617         Do not error out when `func' is nil.
619 2011-02-03  Michael Albinus  <michael.albinus@gmx.de>
621         * net/tramp-sh.el (tramp-remote-path): Add default settings for
622         `tramp-default-remote-path' to the docstring.
623         (tramp-get-remote-path): Suppress error message when `getconf
624         PATH' fails.
626         * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
628 2011-02-03  Glenn Morris  <rgm@gnu.org>
630         * vc/vc-hg.el (vc-hg-command): Doc fix.
632         * term/w32-win.el (libpng-version): Declare for compiler.
634         * msb.el: No need to load dired while compiling.
636         * emacs-lisp/elint.el (elint-standard-variables):
637         Remove a couple of built-ins that now have doc-strings.
639         * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
640         `require' is automatically `eval-and-compile'd.
642         * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
643         (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
645         * strokes.el (strokes-fill-current-buffer-with-whitespace):
646         Move definition before use.
647         (strokes-report-bug): Make it obsolete.
649 2011-02-02  Sam Steingold  <sds@gnu.org>
651         * apropos.el (apropos-print): Now that `apropos-mode' inherits
652         from `special-mode', entering it makes the buffer read-only, so
653         call it only when everything has been already inserted.
654         * emacs-lisp/ert.el (ert--setup-results-buffer)
655         (ert-results-pop-to-backtrace-for-test-at-point)
656         (ert-results-pop-to-messages-for-test-at-point)
657         (ert-results-pop-to-timings): Ditto.
658         * emacs-lisp/package.el (package--list-packages): Ditto.
659         * play/solitaire.el (solitaire): Ditto.
661 2011-02-02  Chong Yidong  <cyd@stupidchicken.com>
663         * progmodes/compile.el: Make all faces inherit.
664         (compilation-warning): Inherit from font-lock-variable-name-face.
665         (compilation-info): Inherit from font-lock-type-face.
666         (compilation-line-number): Reassign to font-lock-keyword-face.
667         (compilation-column-number): Reassign to font-lock-doc-face.
668         (compilation-leave-directory-face): Reassign to
669         font-lock-builtin-face.
671 2011-02-02  Eli Zaretskii  <eliz@gnu.org>
673         * dired.el (dired-insert-directory): Don't invoke `ls' when
674         ls-lisp.el is used to emulate it.
676 2011-02-01  Julien Danjou  <julien@danjou.info>
678         * color.el (color-gradient): Add a color-gradient function.
680 2011-02-01  Sam Steingold  <sds@gnu.org>
682         * simple.el (special-mode-map): Bind "h" to `describe-mode';
683         bind "z" to `kill-this-buffer'.
684         (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
685         * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
686         (apropos-mode): Inherit from `special-mode'.
687         * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
688         * bookmark.el (bookmark-bmenu-mode): Define using
689         `define-derived-mode' inheriting from `special-mode'.
690         * dired.el (dired-mode-map): Inherit from `special-mode-map'.
691         * image-mode.el (image-mode-map): Ditto.
692         * replace.el (occur-mode): Define using
693         `define-derived-mode' inheriting from `special-mode'.
694         * tar-mode.el (tar-mode): Inherit from `special-mode'.
695         * calendar/diary-lib.el (diary-fancy-display-mode):
696         Inherit from `special-mode-map'.
697         * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
698         Inherit from `special-mode'.
699         * emacs-lisp/package.el (package-menu-mode-map): Copy from
700         `special-mode-map'.
701         (package-menu-mode): Define using `define-derived-mode'
702         inheriting from `special-mode'.
703         * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
704         * net/xesam.el (xesam-mode): Inherit from `special-mode'.
705         (xesam-mode-map): Define separately.
706         * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
707         * progmodes/compile.el (compilation-minor-mode-map)
708         (compilation-mode-map): Inherit from `special-mode-map'.
709         * vc/diff-mode.el (diff-mode-shared-map):
710         Inherit from `special-mode-map'.
711         * vc/log-view.el (log-view-mode-map): Add a comment.
713 2011-02-01  Chong Yidong  <cyd@stupidchicken.com>
715         * custom.el (load-theme): Define return value.  Drop use of
716         unsafep; call custom-theme-load-confirm for non-known-safe themes.
717         (custom-theme-load-confirm): Scroll in the correct window.
718         (custom-enabled-themes): Add custom-safe-themes to :set-after.
720         * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
721         checkbox if load-theme fails.
723 2011-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
725         * progmodes/compile.el (compilation-next-error): Check there's
726         a message before using it (bug#7941).
728 2011-02-01  Jay Belanger  <jay.p.belanger@gmail.com>
730         * calc/calc-mtx.el (math-lud-pivot-check): New function.
731         (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
732         of potential pivots.
734 2011-01-31  Alan Mackenzie  <acm@muc.de>
736         * progmodes/cc-cmds.el (c-forward-over-illiterals):
737         Continue parsing if we encounter a naked # (Bug#7595).
738         (c-beginning-of-statement): Avoid loop in locating the beginning
739         of a macro.
741 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
743         * files.el (copy-directory): Fix arguments to recursive call.
745 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
747         * files.el (copy-directory): If destination is an existing
748         directory, copy into a subdirectory there.
750 2011-01-31  Andreas Schwab  <schwab@linux-m68k.org>
752         * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
753         files.
755 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
757         * image-dired.el (image-dired-mouse-display-image): No-op if no
758         file is found (Bug#7817).
760         * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
762 2011-01-31  Kenichi Handa  <handa@m17n.org>
764         * international/quail.el (quail-keyboard-layout-alist):
765         Remove superfluous SPC for "pc105-uk" (bug#7927).
767 2011-01-31  Glenn Morris  <rgm@gnu.org>
769         * msb.el (msb-menu-bar-update-buffers): Update for changed
770         argument handling of menu-bar-select-frame.  (Bug#7902)
772 2011-01-31  Chong Yidong  <cyd@stupidchicken.com>
774         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
775         to the recursion depth (Bug#7722).
777 2011-01-31  Roy Liu  <carsomyr@gmail.com>  (tiny change)
779         * term/ns-win.el (ns-find-file): Expand ns-input-file with
780         command-line-default-directory (Bug#7872).
782 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
784         * progmodes/compile.el (compilation--flush-directory-cache):
785         New function, extracted from compilation--remove-properties.
786         (compilation--remove-properties, compilation--parse-region): Use it.
787         (compilation--previous-directory): Handle one more case.
788         (compilation-enable-debug-messages): Remove.
789         (compilation-parse-errors, compilation--flush-parse): Just remove the
790         left over debug messages.
792 2011-01-31  Sam Steingold  <sds@gnu.org>
794         * progmodes/compile.el (compilation-enable-debug-messages):
795         Add a variable to make the parsing messages introduced in
796         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
797         (compilation-parse-errors, compilation--flush-parse): Use it.
799 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
801         * net/rcirc.el: New customizable nick completion format.  (Bug#6314)
802         (rcirc-nick-completion-format): New defcustom.
803         (rcirc-complete): Use it.
805 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
807         * net/rcirc.el: Clean log filenames (Bug#7933).
808         (rcirc-log-write): Use convert-standard-filename.
809         (rcirc-log-filename-function): Documentation updates.
811 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
813         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
814         Check report-emacs-bug-can-use-osx-open and use that if t.
815         (report-emacs-bug-can-use-osx-open): New function.
816         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
817         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
819 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
821         * vc/vc-dispatcher.el (vc-set-async-update): New function for
822         updating Dired or VC-dir buffers after async command completes.
824         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
825         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
827         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
828         completions if it exists.  Use vc-set-async-update.
829         (vc-git-pull): Use vc-set-async-update.
831         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
832         read-shell-command.  Use vc-set-async-update.
833         (vc-hg-merge-branch): Use vc-set-async-update.
835 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
837         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
838         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
839         (Bug#7931).
841 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
843         * progmodes/compile.el: Avoid an N² behavior in grep.
844         (compilation--previous-directory): New fun.
845         (compilation--previous-directory-cache): New var.
846         (compilation--remove-properties): Flush it.
847         (compilation-directory-properties, compilation-error-properties):
848         Use the new fun to speed up looking for the current directory.
850 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
852         * vc/vc-hg.el (vc-hg-history): New var.
853         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
854         (vc-hg-merge-branch): New function.
856         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
857         the other way around.
859         * vc/vc-git.el (vc-git-branches, vc-git-pull)
860         (vc-git-merge-branch): New functions.
861         (vc-git-history): New var.
863 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
865         * vc/vc-dispatcher.el (vc-do-async-command): New function.
867         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
868         vc-do-async-command.
870         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
871         Callers changed.
873 2011-01-28  Leo  <sdl.web@gmail.com>
875         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
876         highlighting to the "this function is advised" message.
878         * help-mode.el (help-mode-finish): Apply highlighting here, to
879         avoid clobbering by substitute-command-keys (Bug#6304).
881 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
883         * woman.el (woman0-roff-buffer): Process roff escape sequences
884         occurring prior to the first request (Bug#7843).
886 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
888         * progmodes/compile.el: Don't use font-lock any more.
889         (compilation-error-regexp-alist-alist): Change handling of makepp
890         so it preserves the warning/error distinction on subsequent files.
891         Simplify various rules.
892         (compilation-directory-properties): Use font-lock-face.
893         Add a compilation-message property.
894         (compilation-internal-error-properties): Use font-lock-face.
895         Don't set the compilation-debug property here.
896         (compilation--put-prop, compilation--remove-properties)
897         (compilation--parse-region, compilation--ensure-parse)
898         (compilation--ensure-parse): New functions.
899         (compilation-parse-errors): New function, largely inspired of
900         compilation-mode-font-lock-keywords.  Set compilation-debug here.
901         (compilation--parsed): New var.
902         (compilation--flush-parse): Use compilation--ensure-parse.
903         (compilation-start): Don't call font-lock.
904         (compilation-turn-on-font-lock): Remove.
905         (compilation-setup): Don't set font-lock-extra-managed-props not change
906         other font-lock settings, other than keywords.
907         Don't activate font-lock-mode.
908         Set change-major-mode-hook and before-change-functions.
909         (compilation--unsetup): Remove properties and hooks.
910         (compilation-next-single-property-change): New function.
911         (compilation-next-error): Use it to parse when needed.
912         (compile-goto-error): Parse buffer as needed.
913         (compilation--compat-error-properties): Don't need a dummy `face'
914         property any more.
916 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
918         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
919         (compilation-process-setup-function): Fix docstring's false promises.
920         (compilation-error-regexp-alist-alist): Catch omake's continuous
921         recompilation message and avoid reuse of old markers.
922         (compilation-parse-errors-function): Declare obsolete.
923         (compilation-buffer-modtime): Remove.
924         (compilation--make-cdrloc, compilation--loc->col)
925         (compilation--loc->line, compilation--loc->file-struct)
926         (compilation--loc->marker, compilation--loc->visited)
927         (compilation--make-file-struct, compilation--file-struct->file-spec)
928         (compilation--file-struct->formats)
929         (compilation--file-struct->loc-tree): New macros.  Use them.
930         (compilation--message): New defstruct.  Use them.
931         (compilation-next-error-function): Don't mess with timestamps to try
932         and guess when to reparse.
934 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
936         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
937         (tex-old-error-file-name): New function,
938         extracted from tex-compilation-parse-errors.
939         (tex-compilation-parse-errors): Remove.
940         (tex-error-regexp-alist): New var.
941         (tex-shell): Use it to avoid compilation-parse-errors-function.
943         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
944         (grep-mode-font-lock-keywords): Remove regexp that seems like
945         a left-over from before we used compile.el.
946         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
947         modifying the buffer within with-silent-modifications.
949         * progmodes/compile.el: Cleanup text-properties namespace by using
950         `compilation-message' instead of `message', `compilation-directory'
951         instead of `directory', and `compilation-debug' instead of `debug'.
952         (compilation-last-buffer, compilation-parsing-end)
953         (compilation-error-list, compilation-old-error-list): Move to the
954         compatibility part of the code.
955         (compilation-error-properties): If `file' is a function, let it return
956         a file name.
957         (compilation-mode-font-lock-keywords): Be more conservative with the
958         omake "^ *" pattern prefix, to try and minimize the risk of
959         pathologically slow regexp matching.
960         (compilation-start): Use inhibit-read-only.
961         (compilation--unsetup): New function.
962         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
963         (compilation-filter): Minor tweaks.
964         (compilation-next-error-function): Try and avoid abusing variables.
965         (compilation--flush-file-structure): New fun.
966         (compilation-fake-loc): Use it to improve behavior when file is reused.
967         (debug-ignored-errors): Add "Moved past last ...".
968         (compilation--compat-error-properties)
969         (compilation--compat-parse-errors): Rename by doubling the "-".
971         Port features from the previous prolog.el to the new one.
972         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
973         (prolog-program-name, prolog-program-switches, prolog-consult-string)
974         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
975         variable and use a function to compute the value dynamically.
976         (prolog-prompt-regexp): Add regexp for GNU Prolog.
977         (prolog-continued-prompt-regexp): Remove, unused.
978         (prolog-find-value-by-system): Try and use the value of prolog-system
979         in the *prolog* buffer if it helps.
980         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
981         (prolog-zip-on): ..and check prolog-system and version here instead.
982         (prolog-inferior-self-insert-command): New command.
983         (prolog-inferior-mode-map): Use it.
984         (prolog-inferior-error-regexp-alist): New var.
985         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
986         (prolog-input-filter): Use derived-mode-p.
987         (prolog-inferior-guess-flavor): New function.
988         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
989         make-comint to avoid running comint-mode twice.
990         (prolog-inferior-buffer): New fun.
991         (prolog-old-process-region, prolog-old-process-file):
992         Don't call prolog-bsts here...
993         (prolog-build-prolog-command): ...do it here instead.
994         (prolog-old-process-region, prolog-old-process-file):
995         Use compilation-fake-loc and compilation-forget-errors.
996         (prolog-consult-compile-region): Use bolp.
998 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
1000         * image-mode.el (image-display-size): Doc fix (Bug#7820).
1002 2011-01-27  Sam Steingold  <sds@gnu.org>
1004         * midnight.el (clean-buffer-list-kill-never-buffer-names):
1005         Remove "*server*" which is never created by emacs server.
1007 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1009         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
1010         there are some diff switches.
1012 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1014         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1015         Copy change made to ruby-font-lock-syntactic-keywords.
1017         * htmlfontify.el: Make it obey the font-lock-face text property.
1018         Miscellaneous cleanup such as:
1019         - Don't hide expressions after a closing paren.
1020         - Move initial setq into let.
1021         - Hoist common parts out of ifs.
1022         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
1023         (hfy-face-at): Use get-text-property instead.
1024         (hfy-prop-invisible-p): Use invisible-p if available.
1025         (htmlfontify-manual): Use \\[...].
1026         (hfy-html-quote-regex): Use [...].
1027         (hfy-combined-face-spec): Simplify.
1028         (hfy-compile-face-map): Don't presume point-min==1.
1029         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
1030         match end of string.
1031         (hfy-text-p): η-reduce.
1032         (hfy-tags-for-file): Receive cache-hash directly.
1033         (hfy-mark-tag-names): Adjust call.
1035 2011-01-27  Glenn Morris  <rgm@gnu.org>
1037         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
1038         (msb-after-load-hook): Remove eval-after-load wackiness.
1040 2011-01-25  Sam Steingold  <sds@gnu.org>
1042         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
1043         literal "diff" (important for windows-nt).
1045 2011-01-25  Glenn Morris  <rgm@gnu.org>
1047         * emacs-lisp/copyright.el (copyright-at-end-flag)
1048         (copyright-names-regexp): Add safety properties.
1049         (copyright-year-ranges): New option.
1050         (copyright-find-end): New function, split from copyright-update-year.
1051         (copyright-update-year): Use copyright-find-end.
1052         (copyright-fix-years): Optionally, convert years to ranges.
1053         Handle years continued over comment lines.
1054         Do not mess with the fill-prefix.
1055         Do not call copyright-update.
1056         (copyright-update-directory): Optionally, fix years rather than update.
1057         Skip directories.  Find files with only safe local vars.
1059 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1061         * files.el (file-name-non-special): Only change buffer-file-name after
1062         insert-file-contents if it's `visit'ing the file (bug#7854).
1064 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
1066         * dired.el (dired-revert): Doc fix (Bug#7758).
1068         * simple.el (line-move-visual): Doc fix (Bug#7594).
1070 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1072         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
1073         here-doc which ends with an underscore.
1074         (ruby-mode-set-encoding): Skip shebang line always.
1075         (ruby-mode-map): Bind C-c C-c to comment-region.
1076         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
1077         (ruby-forward-sexp): Stop after literal hash key labels.
1078         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
1079         bracket.
1081 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
1083         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
1084         the correct buffer (Bug#7650).
1086 2011-01-25  Glenn Morris  <rgm@gnu.org>
1088         * comint.el (comint-mode): Doc fix.  (Bug#7897)
1090         * simple.el (do-auto-fill): Give it a doc string.
1092         * button.el (make-text-button): Doc fix.  (See bug#7881)
1094 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1096         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1097         Don't move backward, so as not to fall in an inf-loop (bug#7736).
1099         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
1100         Handle ?" and friends differently (e.g. don't use backrefs).
1102 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
1104         * calc/calc.el (calc-default-power-reference-level)
1105         (calc-default-field-reference-level): New variables.
1106         * calc/calc-units.el (math-standard-units): Add dB and Np.
1107         (math-logunits): New variable.
1108         (math-extract-logunits, math-logcombine, calcFunc-luplus)
1109         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
1110         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
1111         New functions.
1112         (math-find-base-units-rec): Add entry for ln(10).
1113         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
1114         (calc-ul-prefix-help): New function.
1115         * calc/calc-ext.el (calc-init-extensions): Autoload new units
1116         functions.  Add keybindings for new units functions.
1118 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
1120         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
1121         rcirc buffers.  (Bug#4940)
1123 2011-01-22  Glenn Morris  <rgm@gnu.org>
1125         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
1126         split out from copyright-update-year.
1127         (copyright-update): Don't mess with the GPL version if we don't own the
1128         copyright.  Update license regexp, and remove no longer needed
1129         Esperanto stuff.
1130         (copyright-fix-years): Use copyright-find-copyright.
1132 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1134         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
1136 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1138         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
1139         (lm): Rename to landmark.
1140         (lm-test-run): Rename to landmark-test-run.
1142 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1144         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
1145         "Case sensitive" menu item.
1147 2011-01-22  Roland McGrath  <roland@frob.com>
1149         * comint.el (comint-replace-by-expanded-history-before-point): Fix
1150         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
1152 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1154         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
1156 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
1158         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1159         Assume foo(bar) is a manpage reference rather than some unquoted
1160         symbol (bug#7705).
1162 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1164         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
1165         Suggested by Flo <sensorflo@gmail.com>.
1167 2011-01-22  Glenn Morris  <rgm@gnu.org>
1169         * progmodes/compile.el (compilation-error-regexp-alist):
1170         Fix custom type.  (Bug#7812)
1172 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
1174         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
1175         allout-number-siblings, in keeping with what obtained due to
1176         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
1177         (prefixed) ?i.
1178         (allout-before-change-handler): Better expose spots affected by
1179         undo.
1181 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
1183         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
1185 2011-01-22  Phil Hagelberg  <phil@evri.com>
1187         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
1188         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
1189         (pcmpl-ssh-config-hosts): New function.
1190         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
1191         pcmpl-ssh-known-hosts.
1193 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
1195         * calc/calc-undo.el (calc-undo): Autoload it.
1196         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
1197         and autoload for `calc-undo'.
1198         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
1199         * calc/calc-prog.el:
1200         * calc/calc-graph.el:
1201         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
1203 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
1205         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
1206         keybindings to `calc-undo'.
1208 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1210         Don't mess with *temp*.
1211         * obsolete/spell.el: Move from textmodes/spell.el.
1212         (spell-string):
1213         * term.el (term-read-input-ring):
1214         * startup.el (display-startup-echo-area-message):
1215         * progmodes/antlr-mode.el (antlr-directory-dependencies):
1216         * comint.el (comint-read-input-ring): Use with-temp-buffer.
1217         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
1218         point-min==1.
1220 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
1222         * allout.el (allout-institute-keymap): Use fset instead of
1223         reapplying defalias.
1225         (allout-hotspot-key-handler): Check for non-control-modified
1226         bindings for hotspot characters if there are no control-modified
1227         versions.
1229         * allout.el: Summary - migrate to defining allout mode using
1230         define-minor-mode instead of defun.  Significantly clean-up
1231         internal keymap provisions, refactoring and, in the process,
1232         removing a lot of accumulated cruft.
1234         allout-mode-map is now a keymap by virtue of being a defalias to
1235         allout-mode-map-value, which contains the actual keymap structure.
1237         (allout-mode): Use define-minor-mode rather than defun.
1238         Remove now-unnecessary minor-mode setup activities from the body.
1239         Specify :keymap as allout-mode-map so the minor-mode-map-alist
1240         entry will be '(allout-mode . allout-mode-map) - see
1241         allout-mode-map-value, below.  Adjust docstring to track changes.
1242         (allout-minor-mode): Remove this defalias, now that we're using
1243         define-minor-mode.
1244         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
1245         keymap is allout-mode-map-value, via defalias.
1246         (allout-mode-map-value): The variable holding the actual mode
1247         keymap structure, by virtue of defalias from allout-mode-map.
1248         (allout-compose-and-institute-keymap): Rename from
1249         allout-bind-keys, and including the binding-composition
1250         functionality of the former produce-allout-mode-map and
1251         allout-setup-mode-map.
1252         (allout-institute-keymap): Take over the "setup" part of the former
1253         allout-setup-mode-map.  Reassign allout-mode-map-value value and
1254         update the defalias.
1255         (allout-command-prefix) (allout-prefixed-keybindings)
1256         (allout-unprefixed-keybindings):
1257         Use allout-compose-and-institute-keymap to process the bindings.
1258         (allout-unprefixed-keybindings): Remove extraneous '?' question
1259         marks.
1260         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
1261         user can customize if they want to use that binding.
1262         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
1263         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
1264         elided that, previously, instead of the one for \C-h.)
1265         (allout-hotspot-key-handler): Remove attempt to resolve the key
1266         through the literal key-string lookup on allout-keybindings-list.
1267         That probably hasn't worked for a Long Time, and removal of
1268         allout-keybindings-list further simplifies the keybindings
1269         situation.
1270         (allout-pre-command-business): Use allout-mode-map-value instead
1271         of allout-mode-map.
1272         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
1273         the bindings if they want to use a keybinding having a trailing
1274         \C-h.  No deprecation needed since this feature was never in a
1275         release.
1276         (allout-keybindings-list): Remove.  It's not been useful for a
1277         while.  (See allout-hotspot-key-handler changes, above.)
1278         (produce-allout-mode-map): Remove.  Consolidate into
1279         allout-compose-and-institute-keymap.
1280         (allout-mode-map-adjustments): Remove.  No longer necessary with
1281         removal of allout-preempt-trailing-ctrl-h.
1282         (allout-setup-mode-map): Remove.  Consolidate into
1283         allout-compose-and-institute-keymap and allout-institute-keymap.
1285 2011-01-20  Glenn Morris  <rgm@gnu.org>
1287         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
1289         * simple.el (read-expression-history): Remove, it's in minibuf.c.
1291 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
1293         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
1295         * files.el (find-alternate-file, basic-save-buffer)
1296         (basic-save-buffer-2, revert-buffer, recover-file)
1297         (kill-buffer-ask, abort-if-file-too-large)
1298         (set-visited-file-name, write-file, backup-buffer)
1299         (basic-save-buffer, save-some-buffers):
1300         * dired-aux.el (dired-compress-file): Callers changed.
1302 2011-01-19  Glenn Morris  <rgm@gnu.org>
1304         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
1305         Also check the property status.  (Bug#7861)
1307 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
1309         * net/tramp.el (tramp-debug-message): Extend function exclude
1310         list.  Use `regexp-opt'.
1312 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1314         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
1315         highlighting doesn't spill over subsequent lines.
1317         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
1318         keymap expression.  Improve docstring.
1320         * electric.el (electric-indent-post-self-insert-function):
1321         Don't auto-indent for indent-to-left-margin, it's too often
1322         counter-productive.
1324 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
1326         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
1327         spaces if the frame was resized, so that the full visible buffer
1328         serves as canvas for strokes.
1330 2011-01-16  Glenn Morris  <rgm@gnu.org>
1332         * info-xref.el (info-xref-docstrings): Replace cl function.
1333         Also skip directories.
1335 2011-01-16  Kevin Ryde  <user42@zip.com.au>
1337         * info-xref.el: Version 3.
1338         (info-xref-check, info-xref-check-all): Move commentary details
1339         into docstrings for better visibility.
1340         Use compilation-mode for the results buffer.
1341         (info-xref-output, info-xref-output-error, info-xref-with-output)
1342         (info-xref-filename, info-xref-in-progress):
1343         New internals for this.
1344         (info-xref-check-list, info-xref-check-buffer)
1345         (info-xref-check-all-custom): Use those.
1346         (info-xref-output-buffer): Rename from info-xref-results-buffer.
1347         (info-xref-output-heading): Rename from info-xref-filename-heading.
1348         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
1349         (info-xref-filename-heading): Move to output managing section.
1350         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
1351         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
1352         (info-xref-subfile-p): Move to generic section with those two.
1353         (info-xref-check-node): New function split from
1354         info-xref-check-buffer, shared by info-xref-docstrings.
1355         (info-xref-goto-node-p): Move to a checking section with that func.
1356         (info-xref-unavail): New counter.
1357         (info-xref-check-node): Use it.
1358         (info-xref-with-output): Show count of unavailables at end of output.
1359         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
1360         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
1361         (info-xref-check-all-custom): Fix quietening viper-mode and
1362         gnus-registry-install -- use setq not let so as not to unbind
1363         after load.
1365 2011-01-16  Juri Linkov  <juri@jurta.org>
1367         * isearch.el (isearch-abort): Don't quit if search has
1368         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
1370 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
1372         * files.el (backup-buffer): Make last-resort backup file in
1373         .emacs.d (Bug#6953).
1375         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
1376         make it with permission 700.
1378 2011-01-15  Kenichi Handa  <handa@m17n.org>
1380         * mail/rmailmm.el (rmail-mime-insert-header):
1381         Set rmail-mime-coding-system to a cons whose car is the last coding
1382         system used to decode the header.
1383         (rmail-mime-find-header-encoding): New function.
1384         (rmail-mime-insert-decoded-text):
1385         Override rmail-mime-coding-system if it is a cons.
1386         (rmail-show-mime): If only a header part was decoded, find the
1387         coding system while ignoring mm-charset-override-alist.
1389 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
1391         * subr.el (event-start, event-end): Doc fix (Bug#7826).
1393 2011-01-15  Kenichi Handa  <handa@m17n.org>
1395         * mail/rmailmm.el (rmail-mime-next-item)
1396         (rmail-mime-previous-item): Delete them.
1397         (rmail-mime-shown-mode): Recursively call for children.
1398         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
1399         Callers changed.
1400         (rmail-mime-raw-mode): Recursively call for children.
1401         (rmail-mode-map): Change mapping of tab and backtab to
1402         forward-button and backward-button respectively.
1403         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
1404         button.
1405         (rmail-mime-update-tagline): New function.
1406         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
1407         body display is changed.
1408         (rmail-mime-toggle-button): Rename from rmail-mime-image.
1409         (rmail-mime-image): Delete this button type.
1410         (rmail-mime-toggle): New button type.
1411         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
1412         body display is changed.  Change the save button label to "Save".
1413         Don't process show/hide button here.
1414         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
1415         the body display is changed.  Unconditionally call
1416         rmail-mime-insert for children.
1417         (rmail-mime-handle): Update `display' vector of the just inserted
1418         entity.
1419         (rmail-mime-process): If mail-header-parse-content-type returns
1420         nil, use "text/plain" as the fallback type.
1421         (rmail-mime-insert): For raw-mode, recursively call
1422         rmail-mim-insert for children.
1423         (rmail-mime): Handle the case that the current buffer is not rmail
1424         buffer (e.g. in summary buffer).
1426 2011-01-15  Kenichi Handa  <handa@m17n.org>
1428         * mail/rmailmm.el (rmail-mime-next-item)
1429         (rmail-mime-previous-item): Skip the body of a non-multipart
1430         entity if a tagline is shown.
1432 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1434         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
1435         (tmm-prompt): Simplify.
1436         (tmm-add-prompt): Remove unused var `win'.
1438         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
1439         to minor mode which used nil accidentally to mean "turn off".
1441 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1443         * net/tramp-sh.el (tramp-find-inline-compress)
1444         (tramp-get-inline-coding): Quote command after pipe symbol for
1445         local calls under W32.  (Bug#6784)
1447 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
1449         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
1450         only when running under W32.
1452 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1454         * progmodes/grep.el (grep-compute-defaults): Quote the program
1455         file name after the pipe symbol in Grep templates.  (Bug#6784)
1456         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
1458 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
1460         * buff-menu.el (Buffer-menu-buffer-list): New var.
1461         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
1462         restricted buffer list is not lost on revert (Bug#7749).
1464 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
1466         * net/ldap.el (ldap-search-internal): Discard stderr output.
1468 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
1470         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
1472 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1474         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
1476 2011-01-15  Kenichi Handa  <handa@m17n.org>
1478         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
1479         part as a plain text.
1480         (rmail-mime-process-multipart): Set the default content-type to
1481         nil for unknown multipart subtypes (bug#7651).
1483 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1485         * hexl.el (hexl-mode-old-*): Remove.
1486         (hexl-mode--old-var-vals): New var to replace them.
1487         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
1488         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
1489         Use them to set local vars (bug#7846).
1490         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
1491         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
1492         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
1494         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
1495         (smerge-resolve--normalize-re): New var.
1496         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
1497         (smerge-resolve): Use them.
1498         * newcomment.el (comment-only-p): New function.
1499         (comment-or-uncomment-region): Use it.
1501 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
1503         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
1504         table, get the value before switching to the output buffer.  (Bug#7733)
1506 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1508         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
1510 2011-01-14  Kim F. Storm  <storm@cua.dk>
1512         * emulation/cua-base.el (cua--init-keymaps):
1513         Remap exchange-point-and-mark in cua-global-keymap.
1515 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
1517         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
1518         loop keyword.
1520 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1522         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
1523         Require CL.
1524         (easy-menu-create-menu, easy-menu-convert-item-1):
1525         Use :label rather than nil for labels.  Use `case'.
1526         Add :enable as alias for :active.
1527         (easy-menu-binding): Obey :label.
1529 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1531         Use run-mode-hooks for major mode hooks (bug#513).
1532         * textmodes/reftex-toc.el (reftex-toc-mode-map):
1533         Rename from reftex-toc-map.
1534         (reftex-toc-mode): Use define-derived-mode.
1535         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
1536         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
1537         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
1538         (reftex-select-label-mode, reftex-select-bib-mode):
1539         Use define-derived-mode.
1540         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
1541         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
1542         Move init into delcaration.
1543         (reftex-index-mode, reftex-index-phrases-mode):
1544         Use define-derived-mode.
1545         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
1546         speedbar-syntax-table.  Move init into declaration.
1547         (speedbar-mode-map): Rename from speedbar-key-map.
1548         Move init into declaration.
1549         (speedbar-file-key-map): Move init into declaration.
1550         (speedbar-mode): Use define-derived-mode.
1551         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
1552         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
1553         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
1554         (chart-face-list): Move initialization into declaration.
1555         (chart-mode): Use define-derived-mode.
1556         * calculator.el (calculator-mode-map): Move init into declaration.
1557         (calculator-mode): Use define-derived-mode.
1559         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
1560         work for nested comments.
1562         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
1563         (prolog-use-prolog-tokenizer-flag): Change default when
1564         syntax-propertize can be used.
1565         (prolog-syntax-propertize-function): New var.
1566         (prolog-mode-variables): Move make-local-variable into `set'.
1567         Don't make comment-column local since we don't set it.
1568         Set comment-add (as it was in previous prolog.el).  Use dolist.
1569         Set syntax-propertize-function.
1570         (prolog-mode, prolog-inferior-mode):
1571         Call prolog(-inferior)-menu directly, not through the mode-hook.
1572         (prolog-buffer-module, prolog-indent-level)
1573         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
1574         (prolog-comment-limits, prolog-goto-comment-column):
1575         Use line-(end|beginning)-position.
1576         (prolog-build-prolog-command): Tighten up regexp.
1577         (prolog-consult-compile): Move make-local-variable into `set'.
1578         (prolog-consult-compile-filter, prolog-goto-next-paren)
1579         (prolog-help-on-predicate, prolog-clause-info)
1580         (prolog-mark-predicate): Don't let+setq.
1581         (prolog-indent-line): Use indent-line-to.
1582         Only call prolog-goto-comment-column if necessary.
1583         (prolog-indent-level): Use bobp.
1584         (prolog-first-pos-on-line): Remove, not used any more.
1585         (prolog-in-string-or-comment): Use syntax-ppss if available.
1586         (prolog-help-on-predicate): Use read-string.
1587         (prolog-goto-predicate-info): Simplify.
1588         (prolog-read-predicate): Use `default' rather than `initial'.
1589         (prolog-temporary-file): Use make-temp-file to close a security hole.
1590         (prolog-toggle-sicstus-sd): New command.
1591         (prolog-electric-underscore, prolog-variables-to-anonymous):
1592         Use dynamic-scoping as it was meant.
1593         (prolog-menu): Move menu definitions to top-level.
1594         Use a toggle-button for Sicstus's source debugger.
1595         Change "Code" to the more usual "Prolog", and hence change "Prolog"
1596         to "System".
1597         (prolog-inferior-menu): Reuse prolog-menu's help menu.
1598         Move other menu definition to top-level.
1600 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1602         * doc-view.el (doc-view-open-text): Use meaningful text buffer
1603         name.  Keep original document's directory as default-directory
1604         (bug#6446).
1605         (doc-view-initiate-display): Fall back to normal mode when
1606         doc-view-mode cannot be enabled, also when extracting the document
1607         text into a separate buffer (bug#6446).
1609         * simple.el (shell-command): Don't error out if shell command
1610         buffer contains text with non-nil read-only property when erasing
1611         the buffer.
1613 2011-01-13  Kim F. Storm  <storm@cua.dk>
1615         * ido.el (ido-may-cache-directory): Move "too-big" check later.
1616         (ido-next-match, ido-prev-match): Fix stray reordering of matching
1617         items when cycling through the matches.
1619 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
1621         * dired-x.el (dired-omit-verbose): New defcustom that allows
1622         disabling the omit messages.
1623         (dired-omit-expunge): Use it.
1625 2011-01-13  Christian Ohler  <ohler@gnu.org>
1627         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
1629 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1631         * font-lock.el (font-lock-verbose): Default to nil.
1633 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
1635         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
1636         (compose-mail): New arg RETURN-ACTION.
1637         (compose-mail-other-window, compose-mail-other-frame): Likewise.
1639         * mail/sendmail.el (mail-return-action): New var.
1640         (mail-mode): Make it buffer-local.
1641         (mail-bury): Obey it.  Move special Rmail window handling to
1642         rmail-mail-return.
1643         (mail, mail-setup): New arg RETURN-ACTION.
1644         (sendmail-user-agent-compose): Move from simple.el.
1646         * mail/rmail.el (rmail-mail-return): New function.
1647         (rmail-start-mail): Pass it to compose-mail.
1649 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
1651         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
1652         menus.  Add menu item for customize-themes.
1654         * cus-theme.el (customize-themes):
1655         * emacs-lisp/package.el (package--list-packages):
1656         Use switch-to-buffer.
1658 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
1660         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
1662 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1664         * progmodes/prolog.el: Fix up coding convention and such.
1665         (prolog-indent-width): Use the same default as in
1666         previous prolog.el rather than tab-width which depends on which buffer
1667         is current when the file is loaded.
1668         (prolog-electric-newline-flag): Only enable if electric-indent-mode
1669         is not available.
1670         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
1671         (prolog-known-systems): Remove.
1672         (prolog-mode-syntax-table, prolog-inferior-mode-map):
1673         Move initialization into declaration.
1674         (prolog-mode-map): Move initialization into declaration.
1675         Remove system-specific mode-map vars, since they referred to the same
1676         keymap anyway.
1677         (prolog-mode-variables): Obey the user's preference w.r.t
1678         adaptive-fill-mode.  Prefer symbol-value to `eval'.
1679         (prolog-mode-keybindings-edit): Add compatibility bindings.
1680         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
1681         (mercury-mode-map): New var.
1682         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
1683         (prolog-ensure-process, prolog-process-insert-string)
1684         (prolog-consult-compile): Use with-current-buffer.
1685         (prolog-guess-fill-prefix): Simplify data flow.
1686         (prolog-replace-in-string): New function to use instead of
1687         replace-in-string.
1688         (prolog-enable-sicstus-sd): Don't abuse `eval'.
1689         (prolog-uncomment-region): Use `uncomment-region' when available.
1690         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
1691         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
1692         of int-to-char and char-to-int.
1693         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
1695 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
1697         * progmodes/prolog.el: Replace by a whole new file.
1699 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1701         * subr.el (eval-after-load): Fix timing for features (bug#7769).
1702         (declare-function, undefined, insert-for-yank)
1703         (replace-regexp-in-string): Follow checkdoc's recommendations.
1705 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1707         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
1708         refreshing the diary buffer.
1710 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
1712         * allout.el: Add 2011 to the file copyright.
1713         (allout-encrypt-string): Prevent encryption from adding an extra
1714         newline at the end of the topic body.
1715         (allout-version): Increment to 2.3.
1717 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
1719         * net/dbus.el (dbus-unregister-service): Complete doc.
1720         Fix call of dbus-error signal.
1721         (dbus-register-property): Use `dont-register' keyword.
1723 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1725         * net/dbus.el (dbus-unregister-service): Translate returned
1726         integer into a symbol.
1727         (dbus-register-property): Use `dbus-register-service' to do the
1728         name registration.
1730 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1732         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
1733         Suggested by Joakim Verona.
1735         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
1737         * wid-edit.el (visibility): Replace :on-image and :off-image
1738         widget properties with :on-glyph and :off-glyph, for consistency
1739         with the `visibility' widget.
1740         (widget-toggle-value-create, widget-visibility-value-create):
1741         Merge into a single function `widget-toggle-value-create'.
1743         * cus-edit.el (custom-variable-value-create, custom-visibility)
1744         (custom-face-edit-value-create, custom-face-value-create):
1745         Replace :on-image and :off-image widget properties with :on-glyph and
1746         :off-glyph, for consistency with the `visibility' widget.
1748 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
1750         * net/ldap.el (ldap-search-internal): Don't use eval.
1752 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1754         * subr.el (read-char-choice): Use read-key.
1756         * custom.el (custom-safe-themes): Rename from
1757         custom-safe-theme-files.  Add :risky tag.
1758         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
1759         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
1761 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
1763         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
1764         from Search and add a label to Undo.
1766         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
1767         inappropriate buttons and adding :vert-only tags.
1769         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
1770         removal of Help tool-bar button.  Remove Undo button for space.
1772         * info.el (info-tool-bar-map): Add :vert-only tags.
1774 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
1776         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
1777         image backend support.  Either of them is fine.
1779 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
1781         * subr.el (y-or-n-p): Doc fix.
1783         * custom.el (custom-safe-theme-files): New defcustom.
1784         (custom-theme-load-confirm): New function.
1785         (load-theme): Load theme using `load', confirming with
1786         custom-theme-load-confirm if necessary.
1788         * subr.el (read-char-choice): New function, factored out from
1789         dired-query and hack-local-variables-confirm.
1791         * dired-aux.el (dired-query):
1792         * files.el (hack-local-variables-confirm): Use it.
1794         * dired-aux.el (dired-compress-file):
1795         * files.el (abort-if-file-too-large, find-alternate-file)
1796         (set-visited-file-name, write-file, backup-buffer)
1797         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1798         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1799         Use new format string args for y-or-n-p and yes-or-no-p.
1801 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1803         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1804         [gcc-include]: Tighten file name match, add match for column
1805         number.  (Bug#7806)
1806         [gnu]: Remove unused group.
1808 2011-01-08  Glenn Morris  <rgm@gnu.org>
1810         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1812         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1814 2011-01-07  Sam Steingold  <sds@gnu.org>
1816         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1817         the `explicit-shell-file-name' because that is the
1818         non-interactive shell.
1820 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1822         * subr.el (y-or-n-p): Accept format string args.
1824 2011-01-07  Glenn Morris  <rgm@gnu.org>
1826         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1828 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1830         * allout.el (allout-back-to-current-heading): Ensure return to
1831         the visible containing topic, rather than a collapsed one.
1832         (allout-view-change-hook): Remove hook that was deprecated long ago.
1833         (allout-exposure-change-hook): Remove documentation remarks
1834         concerning removed allout-view-change-hook.
1835         (allout-flag-region): Remove invocation of and documentation
1836         remarks concerning allout-view-change-hook.
1838 2011-01-06  Glenn Morris  <rgm@gnu.org>
1840         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1841         (vc-bzr-annotate-extract-revision-at-line):
1842         Handle authors with embedded spaces.  (Bug#7792)
1844 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1846         * doc-view.el (doc-view-image-width): New variable.
1847         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1848         backend for PNG images, and do dynamic rescaling instead of
1849         reconverting the whole doc.
1851 2011-01-05  Glenn Morris  <rgm@gnu.org>
1853         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1855 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1857         * allout.el: Reconcile with changes in line movement behavior for
1858         long text lines that cross more than a single physical window
1859         line, ie when truncate-lines is nil.
1860         (allout-next-visible-heading): Provide for change in line-move
1861         behavior on long lines when truncate-lines is nil.  In that case,
1862         line-move can wind up on the same textual line when it moves to
1863         the next window line, and moving to the bullet position after the
1864         move yields zero advancement.  Add logic to detect and compensate
1865         for the lack of progress.
1866         (allout-current-topic-collapsed-p): move-end-of-line respect for
1867         field boundaries is different when operating with body lines
1868         shorter than window width versus ones greater than window width,
1869         which can yield false negatives in this function.  Avoid
1870         difference by applying move-end-of-line while field-text-motion is
1871         inhibited.
1873 2011-01-04  Glenn Morris  <rgm@gnu.org>
1875         * textmodes/rst.el (rst-compile-toolsets):
1876         Add pdf and s5 to option alist.
1878 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1880         * net/dbus.el (dbus-register-property): Add optional parameter
1881         dont-register-service.  Updated docstring accordingly.
1883 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1885         * textmodes/rst.el (rst-compile-pdf-preview)
1886         (rst-compile-slides-preview): Remove extra line.
1888 2011-01-04  Glenn Morris  <rgm@gnu.org>
1890         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1891         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
1892         default to `prog' without a .py extension.
1893         (rst-compile-pdf-preview, rst-compile-slides-preview):
1894         Use program names from rst-compile-toolsets, rather than hard-coding.
1895         (rst-portable-mark-active-p): Fix presumed typo.
1897 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1899         * term/w32-win.el (dynamic-library-alist): Set up correctly for
1900         libpng versions both before and after 1.4.0.  (Bug#7716)
1902 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1904         * time.el (display-time-mode): Mention display-time-interval in
1905         the doc string.  (Bug#7713)
1907 2011-01-02  Kenichi Handa  <handa@m17n.org>
1909         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1910         condition-case and return an error message string if something
1911         goes wrong.
1912         (rmail-show-mime): Adjust for the above change.  Insert the
1913         header by rmail-mime-insert-header.
1915 2011-01-02  Kenichi Handa  <handa@m17n.org>
1917         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1918         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1919         (rmail-mime-mbox-buffer)
1920         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1921         (rmail-mime-entity): Argument changed.  All codes handling an
1922         entity object are changed.
1923         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1924         the above change.
1925         (rmail-mime-entity-children, rmail-mime-entity-handler)
1926         (rmail-mime-entity-tagline): New functions.
1927         (rmail-mime-message-p): New function.
1928         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1929         (rmail-mime-entity-segment, rmail-mime-next-item)
1930         (rmail-mime-previous-item, rmail-mime-shown-mode)
1931         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1932         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1933         (rmail-mime-insert-tagline, rmail-mime-insert-header):
1934         New functions.
1935         (rmail-mime-text-handler): Call rmail-mime-insert-text.
1936         (rmail-mime-insert-decoded-text): New function.
1937         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1938         (rmail-mime-insert-image): Argument changed.  Caller changed.
1939         (rmail-mime-image): Call rmail-mime-toggle-hidden.
1940         (rmail-mime-set-bulk-data): New function.
1941         (rmail-mime-insert-bulk): Argument changed.
1942         (rmail-mime-multipart-handler): Return t.
1943         (rmail-mime-process-multipart): Argument changed.
1944         Handle "multipart/alternative" here.
1945         (rmail-mime-process): Argument changed.
1946         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1947         (rmail-mime-insert): Argument changed.  Handle raw display mode.
1948         (rmail-mime): Argument changed.  Handle toggling of raw display
1949         mode.
1950         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1951         rmail-mime-view-buffer.
1952         (rmail-insert-mime-forwarded-message): Likewise.
1953         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
1955         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1956         non-nil, handle the header in rmail-show-mime-function.
1958 2011-01-02  Leo  <sdl.web@gmail.com>
1960         * help-fns.el (describe-variable): Fix previous change.
1962 2011-01-02  Juri Linkov  <juri@jurta.org>
1964         * isearch.el (isearch-lazy-highlight-error): New variable.
1965         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1966         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
1967         to the current value of `isearch-error' (Bug#7468).
1969 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1971         * help-fns.el (describe-variable): Don't emit trailing whitespace
1972         (Bug#7511).
1974 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1976         * textmodes/rst.el (rst-compile-pdf-preview)
1977         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1979 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1981         * emulation/edt-mapper.el: Override mapping of function keys so
1982         that the later call to read-key-sequence works.
1984 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1986         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1987         Unix EOLs.  (Bug#7589)
1989 2011-01-02  Leo  <sdl.web@gmail.com>
1991         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1992         if point is not behind eshell-last-output-end (Bug#7585).
1994 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * files.el (file-local-variables-alist):
1997         Make permanent-local (bug#7767).
1999 2011-01-02  Glenn Morris  <rgm@gnu.org>
2001         * version.el (emacs-copyright): Set short copyright year to 2011.
2003 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
2005         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
2006         an existing temp buffer.  (Bug#7746)
2008 2011-01-02  Glenn Morris  <rgm@gnu.org>
2010         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
2011         multiple addresses.  (Bug#7760)
2013 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
2015         * allout.el (allout-auto-fill): Do not infinitely recurse - use
2016         do-auto-fill if everything points back to allout-auto-fill.
2017         (allout-mode-deactivate-hook): Declare obsolete, in favor of
2018         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
2020 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
2022         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
2023         and "scpx".
2025 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2027         * doc-view.el (doc-view-set-doc-type): New function refactored
2028         from doc-view-mode.
2029         (doc-view-fallback-mode): New function.
2030         (doc-view-mode): Use it.
2031         (doc-view-mode-maybe): New function that checks if doc-view-mode
2032         can be used and falls back to the next best mode otherwise.
2034         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
2035         DVI, OpenDocument, and MS Office files.
2037 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
2039         * emacs-lisp/rx.el (rx-syntax): Fix typo.
2041 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2043         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
2044         on a copy of auto-mode-alist, because that deletes with side
2045         effects.
2047 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2049         * doc-view.el (doc-view-mode, doc-view-toggle-display):
2050         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
2051         fallback instead of hard coding fundamental mode.
2053 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2055         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
2056         Office) files also for searching.
2058 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
2060         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
2061         Office) files.  Not yet enabled via auto-mode-list.
2062         (doc-view-unoconv-program): New custom variable.
2063         (doc-view-mode-p): Handle new odf document type.
2064         (doc-view-odf->pdf): New conversion function.
2065         (doc-view-convert-current-doc): Call it for odf files.
2066         (doc-view-mode): Recognize newly supported file extensions.
2068 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
2070         * net/tramp.el (tramp-default-method-alist)
2071         (tramp-default-user-alist)
2072         (tramp-local-host-regexp, tramp-prefix-domain-format)
2073         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
2075         * net/tramp-ftp.el:
2076         * net/tramp-gvfs.el:
2077         * net/tramp-gw.el:
2078         * net/tramp-imap.el:
2079         * net/tramp-sh.el:
2080         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
2081         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
2083 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
2085         * saveplace.el (save-place-alist-to-file): Save list sorted and
2086         pretty-printed, so that it is mergeable by line-based text merging,
2087         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
2089 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
2091         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
2092         (allout-mode): Argument "toggle" => "force".
2093         Refine the docstring.
2094         Remove special provisions for reactivation, besides the 'force'
2095         argument.
2096         Consolidate layout provisions coce directly into the activation
2097         condition branch, now that we've removed those provisions.
2098         (allout-unload-function): Explicitly activate the mode before
2099         deactivating, if it's initially deactivated.
2100         (allout-set-buffer-multibyte): Properly prevent byte-compiler
2101         warnings for version of function used only where
2102         set-buffer-multibyte is unavailable.
2104 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
2106         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
2107         are handled by the menu-bar entries.  As before, don't use
2108         :visibile to avoid changing the tool-bar.
2110 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2112         * net/secrets.el (secrets-delete-alias): New defun.
2114 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
2116         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
2117         methods, otherwise ~/.ssh/config would be ignored.
2119 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2121         * emacs-lisp/rx.el: Make it a superset of sregex.
2122         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
2123         of args, add `regex' alias.
2124         (rx-info): Add arg to distinguish head and standalone forms.
2125         (rx-check, rx-form): Pass the corresponding arg.
2126         (rx-**): Simplify.
2127         (rx-repeat): Make it work for any number of args.
2128         (rx-syntax): Make it accept syntax chars as is.
2129         * obsolete/sregex.el: Move from emacs-lisp/.
2130         * emacs-lisp/re-builder.el: Remove sregex support.
2131         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
2133 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
2135         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
2136         PRIMARY first, then the clipboard.  (Bug#7699)
2138 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2140         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
2141         print-number-table.
2143 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
2145         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
2146         .emacs.elc (Bug#7530).
2148         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
2149         image spec (Bug#7480).
2151 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
2153         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
2154         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
2155         Move from lisp/.
2157 2010-12-20  Leo  <sdl.web@gmail.com>
2159         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
2160         always be performed (Bug#7680).
2162 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
2164         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
2165         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
2166         mouse-region-match.
2168         * color.el: Move from gnus/.
2170         * vc/diff.el (diff-better-file-name): Function deleted.
2171         abbreviating file names causes problems with shell-quote-argument.
2172         (diff-no-select): Just use expand-file-name.
2174         * tool-bar.el (tool-bar--image-expression): New function.
2175         (tool-bar-local-item, tool-bar--image-exp): Use it.
2176         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
2177         Use :enable instead of :visible to avoid changing the tool-bar
2178         configuration unnecessarily.
2180         * info.el (info-tool-bar-map): Add separators.
2182 2010-12-17  Ken Brown  <kbrown@cornell.edu>
2184         * loadup.el: Use version numbers in Cygwin build.
2186 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
2188         * ido.el (ido-file-internal): Ask for confirmation before
2189         overwriting an existing file (Bug#1238).
2191 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
2193         * tool-bar.el (tool-bar-setup): Add separators.
2195         * menu-bar.el (featurep): Use menu-bar-separator.
2197 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
2199         Migrate allout encryption provisions from pgg to epg.
2201         * allout.el (allout-toggle-current-subtree-encryption)
2202         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
2203         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
2204         for simpler universal argument interpretation.
2205         (allout-toggle-subtree-encryption): Adjust docstring to describe
2206         changed encryption provisions.  Change fetch-pass to keymode-cue, for
2207         simpler universal argument interpretation.  Remove provisions for
2208         handling key type and identity - they'll all be within
2209         allout-encrypt-string or epg/epg or even contained all the way in gpg.
2210         (allout-encrypt-string): Include keymode-cue, for optionally prompting
2211         for keypair recipients (universal argument > 1) and, in addition,
2212         associating the specified recipients with the outline (universal
2213         argument > 4) using a file local variable setting for
2214         'epa-file-encrypt-to'.
2215         Require epa, for recipients handling.
2216         Change how regexp filtering elements are named.
2217         Describe the problem with caching of incorrect symmetric-decryption
2218         keys.
2219         Use the epa-passphrase-callback-function, in case the user is using
2220         GnuPG v1.
2221         Support saving of the selected keypair recipients when invoked with a
2222         keymode-cue > 4.
2223         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
2224         Require 'epa.
2225         Establish epg-context with armoring and default epg-protocol.
2226         Remove all passphrase cache, verification, and hinting code.
2227         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
2228         No longer used, delete.
2229         (allout-mode): Adjust docstring to describe changed encryption
2230         provisions.  Describe the problem with caching of incorrect
2231         symmetric-decryption keys.
2232         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
2233         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
2234         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
2235         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
2236         Obsolete, remove.
2238 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
2240         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
2241         key selection prompt; make 'silent as default (Bug#7487).
2243 2010-12-16  Leo  <sdl.web@gmail.com>
2245         * eshell/eshell.el (eshell-directory-name):
2246         Use locate-user-emacs-file (Bug#7578).
2248 2010-12-15  Glenn Morris  <rgm@gnu.org>
2250         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
2252 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
2253             Scott Evans <gse@antisleep.com>
2255         * rect.el (rectange--default-line-number-format)
2256         (rectangle-number-line-callback): New functions.
2257         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
2259 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
2261         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
2262         Delete unused variables.
2263         (move-to-column-force): Remove function obsolete since 21.2.
2265 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
2267         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
2268         (tramp-handle-insert-file-contents): Do not set permanent-local
2269         property.
2271         * net/tramp-cache.el (tramp-persistency-file-name):
2272         Use `locate-user-emacs-file' if fboundp.
2274         * net/tramp-sh.el (tramp-methods): Add "ksu".
2275         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
2276         method list.
2278 2010-12-14  Glenn Morris  <rgm@gnu.org>
2280         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
2281         (find-tag-marker-ring): Declare.
2282         (js-find-symbol): Require etags.
2284         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
2285         Require mail-utils.
2286         (mail-alias-file): Don't autoload.  Doc fix.
2287         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
2288         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
2289         Mark as obsolete, and risky.
2290         (mail-setup): Simplify.
2292         * mail/mailalias.el (build-mail-aliases): Make it interactive.
2293         * mail/sendmail.el (build-mail-aliases): Update autoload.
2295         * dired.el (dired-trivial-filenames, dired-chown-program)
2296         (dired-auto-revert-buffer): Remove autoload cookies.
2297         * mail/sendmail.el (mail-recover-1): Require 'dired.
2299         * dired.el (dired-subdir-switches, dired-chown-program)
2300         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
2301         Make into defcustoms.
2302         (dired-chown-program): Simplify initialization.
2304         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
2306 2010-12-13  Romain Francoise  <romain@orebokech.com>
2308         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
2310 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2312         * net/netrc.el (netrc-point-at-eol): Remove the unused
2313         netrc-point-at-old and netrc-bound-and-true-p bindings.
2314         (netrc-parse): Cache the netrc contents.
2316 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2318         * subr.el (posn-col-row): Evaluate header-line-format in the
2319         context of the POSITION window's buffer.
2321 2010-12-13  Glenn Morris  <rgm@gnu.org>
2323         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
2324         (with-silent-modifications): Doc fixes.
2326 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2328         * net/tramp.el (tramp-action-password, tramp-process-actions):
2329         Revert previous from.  Use `save-restriction'.
2331 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
2333         * calendar/diary-lib.el (diary-list-sexp-entries):
2334         Handle case of no newline at end of file.  (Bug#7536)
2336 2010-12-13  Glenn Morris  <rgm@gnu.org>
2338         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
2340 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
2342         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
2343         (tramp-process-actions): Do not widen.
2345         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2346         Protect buffer-modified value.  (Bug#7557)
2348 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
2350         * log-edit.el (log-edit-changelog-entries):
2351         Regexp quote filename.  (Bug#7505)
2353 2010-12-13  Tom Breton  <tehom@panix.com>
2355         * cus-edit.el (custom-save-all):
2356         Bind print-length and print-level to nil.  (Bug#7581)
2358 2010-12-13  Glenn Morris  <rgm@gnu.org>
2360         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
2361         Run hooks to update menu contents.  (Bug#7586)
2363         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
2364         file names, for the sake of MS Windows.  (Bug#7588)
2366 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2368         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
2369         empty lines without a leading space.
2371 2010-12-13  Leo  <sdl.web@gmail.com>
2373         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
2374         while mapping over marks (Bug#6810).
2376 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2378         * image-dired.el (image-dired-db-file)
2379         (image-dired-temp-image-file, image-dired-gallery-dir)
2380         (image-dired-temp-rotate-image-file): Set default values relative
2381         to image-dired-dir (Bug#7518).
2383 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
2385         * format.el (format-decode-run-method): Pass args FROM and TO, not
2386         point-min and point-max, to shell-command-on-region (Bug#7488).
2388 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
2390         * frame.el (blink-cursor-mode): Make default t for ns.
2392 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2394         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2396 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
2398         * comint.el (comint-dynamic-list-input-ring)
2399         (comint-dynamic-complete-filename)
2400         (comint-replace-by-expanded-filename)
2401         (comint-dynamic-simple-complete)
2402         (comint-dynamic-list-filename-completions)
2403         (comint-dynamic-list-completions): Doc fix (Bug#7499).
2405         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
2406         Doc fix (Bug#7471).
2408 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
2410         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
2411         (Bug#7533).
2413 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
2415         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
2416         (Bug#7491).
2418 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
2420         * files.el (file-relative-name): Handle UNC file names on
2421         DOS/Windows.  (Bug#4674)
2423 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
2425         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2426         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2427         (epg-context-set-passphrase-callback): Mention that the callback
2428         is not called when used with GnuPG 2.x.
2430 2010-12-13  Glenn Morris  <rgm@gnu.org>
2432         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
2433         Ensure ps-footer-font-size-internal is initialized.
2434         Call ps-get-page-dimensions before trying to use ps-font-for-text.
2436 2010-12-13  Kenichi Handa  <handa@m17n.org>
2438         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
2439         within condition-case.
2440         (rmail-show-mime): Don't use condition-case.
2441         (rmail-search-mime-message): New function.
2442         (rmail-search-mime-message-function): Set to
2443         rmail-search-mime-message.
2445 2010-12-13  Leo  <sdl.web@gmail.com>
2447         * ido.el (ido-common-initialization): New function.  (bug#3274)
2448         (ido-mode): Use it.
2449         (ido-completing-read): Call it.
2451 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
2453         * bookmark.el (bookmark-name-from-full-record): Rename back to
2454         this original name from `bookmark-name-from-record' reverting part
2455         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
2456         As Drew Adams pointed out, there was no reason to cause churn for
2457         third-party callers.
2459 2010-12-12  Alan Mackenzie  <acm@muc.de>
2461         * progmodes/cc-engine.el (c-forward-type): Before scanning a
2462         template arglist, check that the current language supports this.
2464 2010-12-11  Glenn Morris  <rgm@gnu.org>
2466         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
2467         state of the file matches.  (Bug#7544)
2468         (vc-bzr-register, vc-bzr-checkin)
2469         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
2470         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
2472         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
2474 2010-12-11  Karel Klíč  <kklic@redhat.com>
2476         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
2478 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2480         Derive from prog-mode, use derived-mode-p, and fix up various
2481         minor style issues in lisp/progmodes.
2483         * progmodes/vhdl-mode.el (vhdl-mode):
2484         * progmodes/verilog-mode.el (verilog-mode):
2485         * progmodes/vera-mode.el (vera-mode):
2486         * progmodes/sql.el (sql-mode):
2487         * progmodes/scheme.el (scheme-mode):
2488         * progmodes/perl-mode.el (perl-mode):
2489         * progmodes/octave-inf.el (inferior-octave-mode):
2490         * progmodes/autoconf.el (autoconf-mode):
2491         * progmodes/m4-mode.el (m4-mode):
2492         * progmodes/inf-lisp.el (inferior-lisp-mode):
2493         * progmodes/idlwave.el (idlwave-mode):
2494         * progmodes/icon.el (icon-mode):
2495         * progmodes/idlw-help.el (idlwave-help-mode):
2496         * progmodes/dcl-mode.el (dcl-mode):
2497         * progmodes/idlw-shell.el (idlwave-shell-mode):
2498         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
2499         (ebrowse-member-mode, ebrowse-electric-position-mode):
2500         Use define-derived-mode.
2502         * progmodes/xscheme.el (exit-scheme-interaction-mode)
2503         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
2504         (xscheme-debugger-mode-p, xscheme-send-string-1):
2505         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
2506         (tcl-load-file, tcl-restart-with-file):
2507         * progmodes/ps-mode.el (ps-run-running):
2508         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
2509         * progmodes/js.el (js--get-all-known-symbols):
2510         * progmodes/inf-lisp.el (inferior-lisp-proc):
2511         * progmodes/idlwave.el (idlwave-beginning-of-statement)
2512         (idlwave-template, idlwave-update-buffer-routine-info)
2513         (idlwave-update-current-buffer-info)
2514         (idlwave-get-routine-info-from-buffers, idlwave-choose)
2515         (idlwave-scan-class-info, idlwave-fix-keywords)
2516         (idlwave-list-buffer-load-path-shadows):
2517         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
2518         (idlwave-toolbar-remove):
2519         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
2520         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
2521         (idlwave-shell-menu-def):
2522         * progmodes/idlw-complete-structtag.el
2523         (idlwave-prepare-structure-tag-completion):
2524         * progmodes/gud.el (gud-set-buffer):
2525         * progmodes/f90.el (f90-backslash-not-special):
2526         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
2528         * progmodes/xscheme.el (xscheme-start)
2529         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
2530         * progmodes/which-func.el (which-function):
2531         * progmodes/vhdl-mode.el (vhdl-set-style):
2532         * progmodes/verilog-mode.el (verilog-set-compile-command)
2533         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
2534         (verilog-set-define, verilog-auto-reeval-locals):
2535         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
2536         * progmodes/simula.el (simula-mode):
2537         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2538         * progmodes/python.el (python-check, python-mode):
2539         * progmodes/prolog.el (prolog-mode-variables):
2540         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
2541         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
2542         * progmodes/delphi.el (delphi-mode):
2543         * progmodes/cc-styles.el (c-setup-paragraph-variables):
2544         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
2545         (c-font-lock-init): Move make-local-variable to their setq.
2547         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
2548         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
2549         make-local-hook.
2550         * progmodes/sh-script.el (sh-require-final-newline): Remove.
2551         (sh-set-shell): Don't set require-final-newline since it's already done
2552         by prog-mode.
2553         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
2554         since we never set it.
2555         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
2556         Use read-string and standard prompt.
2557         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
2558         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
2559         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
2560         (meta-common-mode-map): Rename from meta-mode-map.
2561         Remove C-m binding, which is a user preference, not mode specific.
2562         (meta-common-mode): New major mode; replace meta-common-initialization.
2563         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
2564         around with font-lock.
2565         * progmodes/etags.el (select-tags-table-mode):
2566         Derive from special-mode.
2567         * progmodes/octave-mod.el (octave-mode):
2568         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
2569         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
2570         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
2571         Let define-derived-mode do its job.
2572         * progmodes/cpp.el (cpp-edit-mode-map):
2573         Move initialization into declaration.
2574         (cpp-edit-mode): Use define-derived-mode.
2575         (cpp-edit-load): Use derived-mode-p.
2576         * progmodes/mixal-mode.el (mixal-mode):
2577         * progmodes/f90.el (f90-mode):
2578         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
2579         require-final-newline since prog-mode does it already.
2580         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
2581         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
2582         * progmodes/antlr-mode.el: Require cc-mode upfront.
2583         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
2584         the declaration.
2585         (antlr-directory-dependencies, antlr-show-makefile-rules):
2586         Use derived-mode-p.
2587         (antlr-language-option): Don't assume point-min==1.
2588         (antlr-mode): Use define-derived-mode.
2589         * progmodes/ada-mode.el: Use derived-mode-p.
2590         (ada-mode): Use define-derived-mode.
2591         Use hack-local-variables-hook.
2593 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2595         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
2596         (texinfo-mode): Don't disable adaptive-fill-mode.
2597         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
2598         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
2599         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
2600         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
2601         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
2602         (texinfo-insert-@quotation, texinfo-insert-@samp)
2603         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
2604         (texinfo-insert-@uref): Use define-skeleton.
2605         (texinfo-insert-@-with-arg): Delete.
2607 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
2609         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
2610         nil, do quote archive member names.  (Bug#6144)
2612 2010-12-10  Glenn Morris  <rgm@gnu.org>
2614         * files.el (diff-no-select): Declare.
2616         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
2617         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
2619         * comint.el (comint-input-ring-file-name): Doc fix.
2621 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
2623         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
2624         New functions.
2625         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
2626         Use them instead of `nil' and `>', respectively.
2627         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
2628         instead of `nil'.
2629         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
2630         and menu-bar-positive-p instead of `nil' and `>', respectively.
2631         (Bug#1077)
2633 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2635         * whitespace.el (whitespace-newline-mode): Code fix.
2637 2010-12-09  Glenn Morris  <rgm@gnu.org>
2639         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
2640         Rename functions without commas, update callers.
2642 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
2644         * whitespace.el (whitespace-cleanup-region):
2645         Clean up spaces before tabs.  (Bug#7582)
2647 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
2649         * bookmark.el: Adjust parameter names and doc strings to resolve
2650         confusion over whether "bookmark" meant a bookmark name or a
2651         bookmark record.  Along the way, shorten one function's name for
2652         similar reasons.  (Issue #7548)
2653         (bookmark-name-from-record): New name for
2654         `bookmark-name-from-full-record'.  All callers changed.
2655         (bookmark-get-bookmark, bookmark-get-bookmark-record)
2656         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
2657         (bookmark-get-annotation, bookmark-set-annotation)
2658         (bookmark-get-filename, bookmark-set-filename)
2659         (bookmark-get-position, bookmark-set-position)
2660         (bookmark-get-front-context-string, bookmark-set-front-context-string)
2661         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
2662         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
2663         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
2664         Rename `bookmark' parameter to `bookmark-name-or-record', to
2665         clearly show its role, and shorten or adjust doc strings accordingly.
2666         (bookmark-set-name): Same, and pass the parameter directly to
2667         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
2668         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
2669         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
2670         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
2671         and in some cases shorten doc string accordingly.
2672         (bookmark-rename): Change `old' and `new' parameters to `old-name'
2673         and `new-name', and adjust an internal variable to avoid confusion.
2674         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
2675         parameter in doc string.
2677 2010-12-08  Glenn Morris  <rgm@gnu.org>
2679         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
2680         from gdb's history file.  (Bug#7575)
2682         * mail/emacsbug.el (report-emacs-bug):
2683         Try to handle some other mail clients.
2685 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2687         * files.el (dir-locals-collect-variables): Don't let errors stop us.
2688         Use string-prefix-p.
2689         (file-name-version-regexp): New var.
2690         (file-name-sans-versions):
2691         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
2692         (jka-compr-get-compression-info): Use dolist.
2693         (jka-compr-compression-info-list): Don't bother specifying
2694         version/backup regexps.
2696 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
2698         * simple.el (just-one-space): Make argument n default to 1 if
2699         omitted.
2701 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2703         * electric.el (electric-indent-post-self-insert-function):
2704         Delete trailing newlines even if we don't reindent.
2706 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2708         * minibuffer.el (completion-at-point): Remove the `arg'.
2709         * bindings.el (complete-symbol): Move back from minibuffer.el.
2711 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2713         * simple.el (just-one-space): Delete newlines for negative arg.
2715 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2717         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
2718         (ansi-color-filter-apply): Simplify.
2719         (ansi-color-apply): Use `font-lock-face' rather than `face'.
2721 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2723         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
2725 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
2727         * dired.el (dired-use-ls-dired): Set default to a special
2728         "unspecified" value.
2729         (dired-insert-directory): When called the first time, check
2730         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2732 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
2734         * replace.el: Add "collect" feature to occur.
2735         (occur-collect-regexp-history): New var.
2736         (occur-read-primary-args): Return a replace string for nlines,
2737         if needed.
2738         (occur): Extend the meaning of nlines.
2740 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2742         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
2743         (which-func-update-1): Distinguish symbols from strings.
2744         (which-function): Stay within 80 columns.
2746 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2748         * subr.el (with-demoted-errors): Distinguish symbols from strings.
2750         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
2751         Improve docstring.
2752         (comment-style): Use comment-styles's docs to describe values.
2754 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
2756         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
2757         and ns-show-prefs (Bug#7535).
2759         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
2760         bindings (Bug#7535).
2762 2010-12-03  Glenn Morris  <rgm@gnu.org>
2764         * nxml/nxml-mode.el: Require rng-nxml.
2765         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
2766         Remove declarations.
2768         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
2769         * nxml/rng-nxml.el, nxml/rng-valid.el:
2770         Remove leading `*' from defcustom docs.
2772         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
2773         (normal-top-level-add-to-load-path, tty-handle-args):
2774         Convert comments to basic doc-strings.
2776         * net/browse-url.el (browse-url-url-at-point)
2777         (browse-url-default-browser): Remove autoload cookies.
2779         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2780         Remove more undefined cl functions.
2782         * vc/diff.el (diff-sentinel): Make new arguments optional.
2783         * ibuf-ext.el (diff-sentinel): Update declaration.
2785 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2787         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2788         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2789         (epg-context-set-passphrase-callback): Mention that the callback
2790         is not called when used with GnuPG 2.x.
2792 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2794         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2795         (tramp-file-name-port): Check also for `tramp-default-port'.
2796         (tramp-get-connection-name): New defun.
2797         (tramp-get-connection-process): Use it.
2798         (tramp-debug-message): Extend function exclude list.
2799         (tramp-drop-volume-letter): Fix doc string.
2801         * net/tramp-cmds.el: Remove solved todo item.
2803         * net/tramp-efs.el:
2804         * net/tramp-ftp.el:
2805         * net/tramp-gvfs.el:
2806         * net/tramp-gw.el:
2807         * net/tramp-imap.el:
2808         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2809         and `tramp-default-user-alist', respectively.
2811         * net/tramp-gw.el (tramp-gw-open-connection):
2812         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2814         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2815         `tramp-file-name-port'.
2817         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2818         and "psftp".  Exchange "%k" marker with options.
2819         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2820         Compute size of link target.
2821         (tramp-do-copy-or-rename-file-out-of-band): Move setting of
2822         `tramp-current-*' up due to gateway methods.  Optimize computing of
2823         copy arguments.  Use `tramp-get-connection-name' and
2824         `tramp-get-connection-buffer'.  Improve debug messages.
2825         (tramp-compute-multi-hops): Remove port determination.
2826         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2828         * net/trampver.el: Update release number.
2830 2010-12-02  Glenn Morris  <rgm@gnu.org>
2832         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2833         Avoid infinite loop over windows.  (Bug#7492)
2835         * progmodes/flymake.el (flymake-check-file-limit):
2836         Allow nil to mean "no limit".
2837         (flymake-check-patch-master-file-buffer): Update for above change.
2838         Allow a .tex file-name extension to be optional.
2839         (flymake-master-tex-init): Also match \include statements.
2841 2010-11-30  Sam Steingold  <sds@gnu.org>
2843         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2844         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2845         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2846         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2847         define-derived-mode').
2848         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2849         users who want to call `nxml-parent-document-set'.
2851 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2853         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2854         stand-alone lines, since that is handled by log-edit-match-to-eoh
2855         (Bug#6465).
2857 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
2859         * dired.el (dired-get-filename): Replace backslashes with slashes
2860         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
2861         * locate.el (locate-default-make-command-line): Don't consider
2862         drive letter and root directory part of
2863         `directory-listing-before-filename-regexp'.  (Bug#7308)
2864         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2866 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2868         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2869         of :smie-open/close-alist.
2870         (smie-next-sexp): Make it accept a "start token" as argument.
2871         (smie-indent-keyword): Be careful not to misidentify tokens that span
2872         more than one line, as empty lines.  Add argument `token'.
2874 2010-11-27  Kenichi Handa  <handa@m17n.org>
2876         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2877         multipart subtypes, insert all as usual.
2879         * mail/rmail.el: Require rfc2047.
2881 2010-11-27  Kenichi Handa  <handa@m17n.org>
2883         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2884         (rmail-mime-entity-disposition)
2885         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2886         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2887         (rmail-mime-save): Handle the case that the button's `data' is a
2888         MIME entity.
2889         (rmail-mime-insert-text): New function.
2890         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2891         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2892         (rmail-mime-insert-bulk): New function mostly copied from the old
2893         rmail-mime-bulk-handler.
2894         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2895         (rmail-mime-process-multipart): New function mostly copied from
2896         the old rmail-mime-multipart-handler.
2897         (rmail-mime-show): Just call rmail-mime-process.
2898         (rmail-mime-process): New function mostly copied from the old
2899         rmail-mime-show.
2900         (rmail-mime-insert-multipart, rmail-mime-parse)
2901         (rmail-mime-insert, rmail-show-mime)
2902         (rmail-insert-mime-forwarded-message)
2903         (rmail-insert-mime-resent-message): New functions.
2904         (rmail-insert-mime-forwarded-message-function): Set to
2905         rmail-insert-mime-forwarded-message.
2906         (rmail-insert-mime-resent-message-function): Set to
2907         rmail-insert-mime-resent-message.
2909         * mail/rmailsum.el: Require rfc2047.
2910         (rmail-header-summary): Handle multiline Subject: field.
2911         (rmail-summary-line-decoder): Change the default to
2912         rfc2047-decode-string.
2914         * mail/rmail.el (rmail-enable-mime): Change the default to t.
2915         (rmail-mime-feature): Change the default to `rmailmm'.
2916         (rmail-quit): Delete the specifal code for rmail-enable-mime.
2917         (rmail-display-labels): Likewise.
2918         (rmail-show-message-1): Check rmail-enable-mime, and use
2919         rmail-show-mime-function for a MIME message.  Decode the headers
2920         according to RFC2047.
2922 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2924         * progmodes/which-func.el (which-func-imenu-joiner-function):
2925         Return a string, as expected.
2926         (which-function-mode): Make sure we stop any previous timer before
2927         starting a new one.
2929 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
2931         * net/tramp.el (tramp-default-method-alist)
2932         (tramp-default-user-alist, tramp-default-proxies-alist):
2933         Adapt custom options type.  (Bug#7445)
2935 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2937         * progmodes/python.el: Add Ipython support (Bug#5390).
2938         (python-shell-prompt-alist)
2939         (python-shell-continuation-prompt-alist): New options.
2940         (python--set-prompt-regexp): New function.
2941         (inferior-python-mode, run-python, python-shell):
2942         Require ansi-color.  Use python--set-prompt-regexp to set the comint
2943         prompt based on the Python interpreter.
2944         (python--prompt-regexp): New var.
2945         (python-check-comint-prompt)
2946         (python-comint-output-filter-function): Use it.
2947         (run-python): Use a pipe (Bug#5694).
2949 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2951         * progmodes/python.el (run-python): Doc fix.
2952         (python-keep-current-directory-in-path): New var (Bug#7454).
2954 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2956         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2957         Prompt user before actually printing.
2959 2010-11-27  Glenn Morris  <rgm@gnu.org>
2961         * startup.el (package-enable-at-startup, package-initialize):
2962         Remove unnecessary declarations.
2964 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
2966         * international/characters.el (glyphless-char-display-control):
2967         Exclude newline and TAB from the c0-control group.
2969 2010-11-27  Glenn Morris  <rgm@gnu.org>
2971         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2972         (expand-mail-aliases): Remove unnecessary autoload.
2974         * allout.el (allout-command-prefix, allout-mode-map): Declare.
2976         * shell.el (shell-dir-cookie-re): Move definition before use.
2978         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2979         Replace undefined CL functions.
2981 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
2983         * simple.el (prog-mode): Set bidi-paragraph-direction to
2984         left-to-right.
2986         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2988 2010-11-26  Glenn Morris  <rgm@gnu.org>
2990         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2991         diary-outlook-formats can be sensitive to calendar-date-style.
2992         (diary-outlook-formats): Simplify the default setting.
2993         (diary-from-outlook-internal): Pass subject and body as arguments.
2994         Use dolist rather than dotimes.  Don't save the diary buffer.
2995         (diary-from-outlook-gnus, diary-from-outlook-rmail):
2996         Pass subject and body as explicit arguments to the -internal function.
2998 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3000         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
3001         parsing them.  This makes mailto:...?subject=foo\nbar work.
3003 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3005         * vc/diff.el (diff): Fix last change.
3007 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3009         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
3010         (pcase--dontcare-upats): New var.
3011         (pcase-let, pcase-let*): Generate better code.
3012         Accept the same bodies as `let'.
3013         (pcase-dolist): New macro.
3014         (pcase--trivial-upat-p): New helper function.
3015         (pcase--expand): Strip leading "(let nil" if any.
3017 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3019         * mail/mailclient.el (browse-url): Require.
3020         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
3021         use the external browser function to send the mail (bug#7469).
3023         * net/browse-url.el (browse-url-browser-function): Revert the
3024         default back to the previous value, since the new value broke
3025         mailclient.el.
3026         (browse-url-mailto-function): New variable for mailto: URLs.
3027         (browse-url): Use the new variable for mailto: URLs.
3029 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3031         * eshell/esh-cmd.el (eshell-parse-command):
3032         * eshell/esh-arg.el (eshell-parse-arguments):
3033         * eshell/em-script.el (eshell-source-file):
3034         Use with-silent-modifications.
3036 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3038         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
3039         for a merge location.
3041         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
3042         (vc-bzr-merge-branch): Always prompt.
3043         (vc-bzr-async-command): Use the full branch filename.
3045 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3047         * shell.el (shell): Use current-buffer by default if it's already
3048         a shell mode buffer and its process is dead.
3049         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
3051 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
3053         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3054         Mention that the keywords should be comma separated.
3056 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
3058         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
3059         Accept optional prefix arg meaning to prompt for a command.
3060         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
3061         prefix arg meaning to prompt for a command.
3062         (vc-pull): Alias for vc-update.
3064         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
3065         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
3066         (vc-bzr-merge-branch): New functions, implementing merge-branch
3067         and pull operations.
3069 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3071         * Makefile.in: Fix up last merge.
3073         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
3074         (diff-sentinel): Get them as arguments instead.
3075         (diff-old-file, diff-new-file, diff-extra-args): Remove.
3076         (diff-file-local-copy, diff-better-file-name): New funs.
3077         (diff-no-select): Rename from diff-into-buffer.
3078         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
3079         Prefer closures to buffer-local variables.
3080         (diff): Adjust accordingly.
3081         (diff-buffer-with-file): Move from files.el.
3082         * files.el (diff-buffer-with-file): Move to vc/diff.el.
3083         (diff-buffer-internal): Remove.
3084         (diff-buffer-buffer): Remove.
3085         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
3086         the buffer name used, and so as not to mess up windows and frames.
3088 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
3090         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
3091         (diff-buffer-internal): New function extracted from diff-buffer-with-file
3092         (diff-buffer-with-file): Use it.
3093         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
3094         (diff): Use it.
3096 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
3098         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
3099         \ref's or \pageref's value as default instead of initial input.
3101 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
3103         * files.el (backup-by-copying-when-mismatch): The default value is
3104         now t.
3106         * startup.el (normal-top-level):
3107         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3108         `backup-by-copying-when-mismatch'.
3110 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3112         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
3114 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3116         * progmodes/python.el (python-font-lock-keywords):
3117         Highlight top-level augmented assignments (Bug#6445).
3119 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
3121         * term/ns-win.el (ns-right-control-modifier)
3122         (ns-right-command-modifier): Defvar them.
3124         * cus-start.el (all): Add ns-right-control-modifier and
3125         ns-right-command-modifier (Bug#7458).
3127 2010-11-20  Glenn Morris  <rgm@gnu.org>
3129         * emacs-lisp/authors.el (authors-ignored-files)
3130         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
3132 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3134         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
3135         (report-emacs-bug-parse-query-results)
3136         (report-emacs-bug-create-existing-bugs-buffer): Pass through
3137         keywords used for querying the bug database to show them in the
3138         existing bugs buffer.
3140 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
3142         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
3144         * info.el (info-tool-bar-map): Add some :vert-only keywords.
3146 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3148         * international/characters.el (glyphless-char-display-control):
3149         Make it a defcustom, with update-glyphless-char-display as its
3150         :set attribute.
3151         (top level): Don't call update-glyphless-char-display.
3153 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
3155         Sync with Tramp 2.2.0.
3157         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
3158         `file-remote-p' (due to compatibility).
3160         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
3161         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
3163         * net/trampver.el: Update release number.
3165 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
3167         * faces.el (glyphless-char): Define value for `pc'.
3169 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
3171         Implemented a bug querying mechanism.
3172         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
3173         (report-emacs-bug-create-existing-bugs-buffer)
3174         (report-emacs-bug-parse-query-results)
3175         (report-emacs-bug-query-existing-bugs): New functions.
3177 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
3179         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
3180         a \ref{} or \pageref{} macro, then use its value as initial input.
3182 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
3184         * calc/calc-units.el (math-build-units-table-buffer):
3185         calc/README: Mention that the TeX specific units won't use the
3186         `tex' prefix in TeX mode.
3187         calc/calc-lang.el (math-variable-table): Don't use the `tex'
3188         prefix for units in TeX mode.
3190 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3192         * simple.el (kill-new, kill-append, kill-region):
3193         * comint.el (comint-kill-region): Make the yank-handler argument
3194         obsolete.
3196 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3198         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
3199         that are both openers (resp. closers) and something else.
3200         (smie-grammar): Loosen definition of valid values.
3201         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
3202         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
3203         (smie-indent-after-keyword): Adjust users.
3204         (smie-indent-keyword): Don't indent empty lines.
3206         * vc-hg.el (vc-hg-program): New var.
3207         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
3208         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
3210 2010-11-18  Glenn Morris  <rgm@gnu.org>
3212         * emacs-lisp/autoload.el (autoload-find-destination): The function
3213         coding-system-eol-type may return non-numeric values.  (Bug#7414)
3215 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
3217         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
3219 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
3221         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
3223 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
3225         * textmodes/picture.el (picture-mouse-set-point): Don't use
3226         posn-col-row; explicitly compute the motion based on the posn at
3227         the window-start (Bug#7390).
3229 2010-11-18  Glenn Morris  <rgm@gnu.org>
3231         * novice.el (disabled-command-function):
3232         Fix 2009-11-15 change.  (Bug#7384)
3234 2010-11-18  Glenn Morris  <rgm@gnu.org>
3236         * calendar/calendar.el (diary-iso-date-forms): Make elements
3237         mutually exclusive.  (Bug#7377)
3239 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3241         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
3242         when filling the remaining "unconstrained" values.
3244 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
3247         safety predicate.
3249         * files.el (safe-local-variable-p): Gracefully handle errors.
3251         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
3252         Use smie-indent-virtual when indenting relative to an opener.
3253         (smie-rule-separator): Use smie-rule-parent.
3254         (smie-indent-keyword): Consult rules, even for openers at bol.
3255         (smie-indent-comment-close): Try to align closer's content.
3257 2010-11-18  Glenn Morris  <rgm@gnu.org>
3259         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
3261 2010-11-18  Glenn Morris  <rgm@gnu.org>
3263         * printing.el (pr-menu-bind): Doc fix.
3265         * speedbar.el (speedbar-toggle-images): Doc fix.
3267         * progmodes/python.el (python-shell): Doc fix.
3269         * wid-edit.el (widget-field-use-before-change)
3270         (widget-use-overlay-change): Doc fixes.
3272 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3274         Minor cleanup to improve style.
3275         * textmodes/rst.el (rst-update-section): Use point-marker.
3276         (rst-get-decoration): Eliminate unneeded assignment.
3277         (rst-promote-region, rst-straighten-decorations)
3278         (rst-section-tree, rst-adjust): Use point-marker.
3279         (rst-toc-mode-mouse-goto): Avoid setq.
3280         (rst-shift-region-guts, rst-shift-region-left)
3281         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
3282         (rst-convert-bullets-to-enumeration): Use copy-marker.
3284         * minibuffer.el (completion-fail-discreetly): New var.
3285         (completion--do-completion): Use it.
3287         * electric.el (electric-pair-pairs): New var.
3288         (electric-pair-post-self-insert-function): Use it.
3289         (electric-layout-post-self-insert-function): Don't insert a before
3290         newline unless it's actually needed.
3292 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3294         * progmodes/python.el (run-python): Explain why we remove the current
3295         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
3297         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
3299 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3301         * progmodes/octave-mod.el: Rely on elecric-*-modes.
3302         (octave-mode-map): Don't bind ;, SPC, and LF.
3303         (octave-auto-indent, octave-auto-newline): Remove.
3304         (electric-layout-rules): Declare.
3305         (octave-mode): Set electric-layout-rules.
3306         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
3307         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3308         (octave-electric-space): Remove.
3310         * electric.el (electric-layout-mode): New minor mode.
3311         (electric--after-char-pos): New function.
3312         (electric-indent-post-self-insert-function): Use it.
3313         (electric-layout-rules): New var.
3314         (electric-layout-post-self-insert-function): New function.
3315         (electric-indent-mode): Make them interact better.
3317 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3319         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
3320         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
3321         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
3323 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
3325         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
3326         Make sure to check inside the word (Bug#6761).
3328 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
3330         * startup.el (command-line): If the cursorColor resource is set,
3331         change the cursor face-spec (Bug#7392).
3333 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
3335         The main features of the following allout.el changes are:
3336         - implement user customization for the allout key bindings
3337         - add a customization control by which the user can inhibit use of
3338           a trailing Ctrl-H, so by default it's reserved for use with
3339           describe-prefix-bindings
3340         - adapt to new version of called-interactively-p, while
3341           maintaining backwards compatibility with old version
3342         - fix hotspot navigation so i works properly with meta-modified keys
3344         * allout.el (allout-keybindings, allout-bind-keys)
3345         (allout-keybindings-binding, allout-prefixed-keybindings)
3346         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
3347         (allout-keybindings-list, allout-mode-map-adjustments)
3348         (allout-setup-mode-map): Establish allout-mode keymaps as user
3349         customizable settings, and also establish a customizable setting which
3350         regulates whether or not a trailing control-h is reserved for use with
3351         describe-prefix-bindings - and inhibit it by default, so that control-h
3352         *is* reserved for describe-prefix-bindings unless the user changes it.
3354         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
3355         and accurately between modified and unmodified events, and handle
3356         modified events more comprehensively.
3358         * allout.el (allout-substring-no-properties):
3359         Alias to use or provide version of `substring-no-properties'.
3360         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
3362         * allout.el (allout-next-single-char-property-change):
3363         Alias to use or provide version of `next-single-char-property-change'.
3364         (allout-annotate-hidden, allout-hide-by-annotation):
3365         Use `allout-next-single-char-property-change'.
3367         * allout.el (allout-select-safe-coding-system):
3368         Alias to use or provide version of `select-safe-coding-system'.
3369         (allout-toggle-subtree-encryption):
3370         Use `allout-select-safe-coding-system'.
3372         * allout.el (allout-set-buffer-multibyte):
3373         Alias to use or provide version of `set-buffer-multibyte'.
3374         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
3376         * allout.el (allout-called-interactively-p): Macro for using the
3377         different versions of called-interactively-p identically, depending on
3378         the subroutine's argument signature.
3379         (allout-back-to-current-heading, allout-beginning-of-current-entry):
3380         Use `(interactive "p")' instead of `(called-interactively-p)'.
3382         * allout.el (allout-init, allout-ascend, allout-end-of-level)
3383         (allout-previous-visible-heading, allout-forward-current-level)
3384         (allout-backward-current-level, allout-show-children):
3385         Use `allout-called-interactively-p' instead of `called-interactively-p'.
3387         * allout.el (allout-before-change-handler):
3388         Exempt edits to the (overlaid) character after the allout outline
3389         bullet from edit confirmation prompt.
3391         * allout.el (allout-add-resumptions):
3392         Ensure that it respects correct buffer for keybindings.
3394         * allout.el (allout-beginning-of-line):
3395         Use `allout-previous-single-char-property-change' alias for the sake of
3396         diverse compatibility.
3398         * allout.el (allout-end-of-line):
3399         Use `allout-mark-active-p' to encapsulate respect for mark activity.
3401 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
3403         * frame.el (frame-notice-user-settings): Don't clobber other
3404         user-set parameters when calling face-set-after-frame-default in
3405         response to background-color parameter (Bug#7373).
3407 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
3409         * international/characters.el (glyphless-char-display-control):
3410         Rename from glyphless-char-control; all users changed.  Doc fix.
3411         Signal an error if display method is not one of the recognized
3412         symbols.
3414 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
3416         * net/tramp-compat.el (tramp-compat-line-beginning-position)
3417         (tramp-compat-line-end-position): Remove them.
3419         * net/tramp.el (tramp-parse-rhosts-group)
3420         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
3421         (tramp-parse-hosts-group, tramp-parse-passwd-group)
3422         (tramp-parse-netrc-group, tramp-parse-putty-group)
3423         * net/tramp-cmds.el (tramp-append-tramp-buffers)
3424         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
3425         (tramp-sh-handle-file-selinux-context)
3426         (tramp-sh-handle-file-name-all-completions)
3427         (tramp-sh-handle-insert-directory)
3428         (tramp-sh-handle-expand-file-name, tramp-find-executable)
3429         (tramp-wait-for-output, tramp-send-command-and-read)
3430         * net/tramp-smb.el (tramp-smb-read-file-entry)
3431         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
3433         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
3434         `point-at-bol'.
3435         (tramp-remote-coding-commands): Add an alternative using "base64
3436         -d -i".  This is needed for older base64 versions from GNU
3437         coreutils.  Reported by Klaus Reichl
3438         <Klaus.Reichl@thalesgroup.com>.
3440 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
3442         * simple.el (count-words-region): New function.
3444 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3446         * shell.el (shell-dir-cookie-re): New custom variable.
3447         (shell-dir-cookie-watcher): New function.
3449         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
3450         and compilation-mode (bug#7350).
3452         * vc/smerge-mode.el (smerge-refine): Choose better default part to
3453         highlight when one of them is empty.
3455         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
3456         trailing space.
3457         (skeleton-newline): New function.
3458         (skeleton-internal-1): Use it.
3460         * simple.el (open-line): `newline' may strip trailing space.
3462 2010-11-12  Kevin Ryde  <user42@zip.com.au>
3464         * international/mule-cmds.el (princ-list): Use mapc.
3466 2010-11-12  Glenn Morris  <rgm@gnu.org>
3468         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
3469         Use it to replace all instances of "*Compile-Log*"
3471 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
3474         indentation specs.
3476 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3478         * progmodes/modula2.el: Use SMIE and skeleton.
3479         (m2-mode-syntax-table): (*..*) can be nested.
3480         Add //...\n.  Fix paren syntax.
3481         (m2-mode-map): Remove LF and TAB bindings.
3482         (m2-indent): Add safety property.
3483         (m2-smie-grammar): New var.
3484         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
3485         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
3486         (m2-mode): Use define-derived-mode.
3487         (m2-newline, m2-tab): Remove.
3488         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
3489         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
3490         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
3491         (m2-import): Use define-skeleton.
3493 2010-11-11  Glenn Morris  <rgm@gnu.org>
3495         * obsolete/lucid.el: Don't warn about any CL functions in this file.
3497         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
3498         (ls-lisp-verbosity): Add custom :set-after property.
3499         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
3500         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
3501         (ls-lisp-insert-directory): Update caller.
3502         (ls-lisp-set-options): New function.
3503         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
3504         Doc fix.
3506         * play/landmark.el (lm-prompt-for-move):
3507         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
3509         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
3511         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
3512         (idlwave-study-twins): Prefix dynamic local variable `name'.
3513         (idlwave-routine-twin-compare): Update for above change.
3515         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
3516         Prefix dynamic local variables `name', `kwd', and `link'.
3517         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
3518         * progmodes/idlw-complete-structtag.el
3519         (idlwave-complete-structure-tag-help):
3520         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
3521         (idlwave-complete-sysvar-tag-help)
3522         (idlwave-complete-class-structure-tag-help):
3523         Update for above name changes.
3525 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3527         * net/browse-url.el (browse-url-browser-function): Change the
3528         default to use `browse-url-mail' on mailto: URLs.
3530 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
3532         * emacs-lisp/package.el (package-read-all-archive-contents):
3533         Reset package-archive-contents to nil before re-reading.
3535 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
3537         * textmodes/flyspell.el (flyspell-word): Do not re-check words
3538         already found as misspellings by (flyspell-large-region), just
3539         do highlighting (bug#7322).
3541 2010-11-10  Glenn Morris  <rgm@gnu.org>
3543         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
3545         * emulation/edt.el (edt-with-position): New macro.
3546         (edt-find-forward, edt-find-backward, edt-find-next-forward)
3547         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
3548         (edt-paragraph-forward, edt-paragraph-backward): Use it.
3550         * emulation/tpu-extras.el (tpu-with-position): New macro.
3551         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
3553         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
3555         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
3556         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
3557         (texinfo-master-menu, texinfo-insert-node-lines)
3558         (texinfo-multiple-files-update):
3559         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
3560         Use line-beginning-position.
3562         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
3563         No recent Emacs supports system-type `emx'.
3565         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
3566         (ada-command-separator, ada-default-prj-properties)
3567         (ada-find-any-references): Update for above name change.
3569         * dirtrack.el (dirtrack-directory-function)
3570         (dirtrack-canonicalize-function):
3571         * filecache.el (file-cache-completion-ignore-case)
3572         (file-cache-case-fold-search, file-cache-ignore-case):
3573         * term.el (serial-port-is-file-p): Cosmetic change.
3575         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
3576         Remove non-existent `windows-95' system-type.
3577         * dired.el (dired-chown-program): Remove non-existent `linux'
3578         system-type.
3580         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
3581         (ping-program-options): Remove non-existent `linux' system-type.
3583         * startup.el (package-initialize): Update declaration.
3585         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
3586         (ls-lisp-handle-switches): Use time-less-p.
3587         (ls-lisp-format-time): Use float-time.
3589         * textmodes/remember.el (remember-time-to-seconds): Remove.
3590         (remember-store-in-mailbox): Use float-time.
3592         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
3594         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
3595         never a real function.
3596         (with-no-warnings): Remove compat stub, now unused.
3597         (time-less-p): Doc fix.
3598         (time-to-number-of-days): Simplify.
3600         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
3601         Remove.
3602         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
3603         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
3604         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
3605         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
3606         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
3608         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
3609         (eshell-shuffle-files, eshell-shorthand-tar-command)
3610         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
3611         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
3612         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
3613         Prefix dynamic local variable `matches'.
3615         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
3616         Prefix dynamic local variable `skeleton'.
3618 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
3620         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
3621         in mail buffer; make yank-action always a command that yanks original
3622         buffer.
3624 2010-11-09  Glenn Morris  <rgm@gnu.org>
3626         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
3628 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3630         * minibuffer.el (minibuffer-completion-help): Specify the end of the
3631         completion field (bug#7211).
3633         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
3634         Fix handling of backslash escapes.
3635         (python-quote-syntax): Adjust accordingly.
3637 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
3639         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
3640         (vc-mtn-workfile-branch): Adjust to new output format.
3642 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3644         * international/mule-cmds.el (princ-list): Mark as obsolete.
3646 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3648         * emacs-lisp/smie.el: New package.
3650 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
3652         * files.el (backup-by-copying-when-mismatch):
3653         Set `permanent-local' property.
3655         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
3656         `permanent-local' property for `backup-by-copying-when-mismatch'.
3658 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
3660         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
3662 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
3664         * progmodes/verilog-mode.el (verilog-insert-one-definition)
3665         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
3666         AUTOINOUT for SV style multidimensional arrays, bug294.
3667         Reported by Eric Mastromarchi.
3668         (verilog-preprocess): Use with-current-buffer and
3669         font-lock-fontify-buffer to cleanup style issues.
3671 2010-11-09  Glenn Morris  <rgm@gnu.org>
3673         * locate.el (locate, locate-mode): Doc fixes.
3675 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
3677         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
3678         user for confirmation.
3679         (server-force-stop): Use it.
3680         (server-start): Use server-force-stop for kill-emacs-hook, to
3681         avoid user interaction while killing Emacs.
3683 2010-11-09  Glenn Morris  <rgm@gnu.org>
3685         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
3686         (meta-indent-line): Simplify.
3688         * vc/emerge.el (emerge-line-number-in-buf):
3689         * textmodes/ispell.el (ispell-region):
3690         * textmodes/fill.el (current-fill-column):
3691         * progmodes/xscheme.el (xscheme-send-current-line):
3692         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
3693         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
3694         * progmodes/sh-script.el (sh-handle-prev-do):
3695         * progmodes/meta-mode.el (meta-indent-line):
3696         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
3697         (idlwave-in-quote):
3698         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
3699         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
3700         * progmodes/fortran.el (fortran-looking-at-if-then):
3701         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
3702         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
3703         (cperl-find-pods-heres):
3704         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
3705         * net/quickurl.el (quickurl-list-insert):
3706         * net/ldap.el (ldap-search-internal):
3707         * net/eudc.el (eudc-expand-inline):
3708         * mail/sendmail.el (sendmail-send-it):
3709         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
3710         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
3711         (viper-brac-function):
3712         * calc/calc-yank.el (calc-do-grab-region):
3713         * calc/calc-keypd.el (calc-keypad-press):
3714         * term.el (term-move-columns, term-insert-spaces):
3715         * speedbar.el (speedbar-highlight-one-tag-line):
3716         * simple.el (current-word):
3717         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
3718         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
3719         (Info-scroll-down):
3720         * hippie-exp.el (he-line-beg):
3721         * epa.el (epa--marked-keys):
3722         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
3723         (dired-update-file-line, dired-add-entry, dired-remove-entry)
3724         (dired-relist-entry):
3725         * buff-menu.el (Buffer-menu-buffer):
3726         * array.el (current-line):
3727         * allout.el (allout-resolve-xref)
3728         (allout-latex-verbatim-quote-curr-line):
3729         Replace yet more uses of end-of-line etc with line-end-position, etc.
3731 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3733         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
3734         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
3735         (checkdoc-syntax-table): Initialize in the declaration.
3736         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
3737         the mode on unconditionally.
3739         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
3740         (extent-end-position, extent-start-position): Remove setf method for
3741         non-existing functions (bug#7319).
3743 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3745         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
3746         (smie-precs->prec2): Rename from smie-precs-precedence-table.
3747         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
3748         (smie-prec2->grammar): Rename from smie-prec2-levels.
3749         (smie-grammar): Rename from smie-op-levels.
3750         (smie-indent--hanging-p): Rename from smie-hanging-p.
3751         (smie-rule-hanging-p): New alias.
3752         (smie-indent--bolp): Rename from smie-bolp.
3753         (smie-indent--hanging-p): New alias.
3754         (smie--token): New dynamically bound variable.
3755         (smie-indent--parent): New function.
3756         (smie-rule-parent-p): Use it; rename from smie-parent-p.
3757         (smie-rule-next-p): Rename from smie-next-p.
3758         (smie-rule-prev-p): Rename from smie-prev-p.
3759         (smie-rule-sibling-p, smie-rule-parent)
3760         (smie-indent--separator-outdent, smie-rule-separator): New functions.
3761         (smie-rule-separator-outdent): New var.
3762         (smie-indent--rule): Merge with smie-indent--column.
3763         (smie-indent-forward-token, smie-indent-backward-token):
3764         Also recognize close parens.
3765         (smie-indent-keyword): Don't use smie-indent--column any more.
3766         (smie-indent-after-keyword): Ignore closers by default.
3767         (smie-indent-line): Use with-demoted-errors.
3768         * progmodes/octave-mod.el (octave-smie-grammar):
3769         Rename from octave-smie-op-levels.
3770         (octave-smie-rules): Adjust to new behavior.
3771         * progmodes/prolog.el (prolog-smie-grammar):
3772         Rename from prolog-smie-op-levels.
3774 2010-11-07  Glenn Morris  <rgm@gnu.org>
3776         * eshell/esh-util.el (subst-char-in-string)
3777         (directory-files-and-attributes): These compatibility definitions are
3778         not needed on any version of Emacs since at least 21.4.
3780         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
3781         (verilog-get-end-of-line): Remove.
3782         (verilog-within-string, verilog-re-search-forward-substr)
3783         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
3784         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
3785         Use point-at-bol, point-at-eol.
3786         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3787         Remove.
3788         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3789         (electric-pascal-terminate-line, pascal-set-auto-comments)
3790         (pascal-indent-paramlist, pascal-indent-declaration)
3791         (pascal-get-lineup-indent, pascal-func-completion)
3792         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3793         Use point-at-bol, point-at-eol.
3794         * progmodes/flymake.el (flymake-line-beginning-position)
3795         (flymake-line-end-position): Remove.
3796         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3797         * eshell/esh-util.el (line-end-position, line-beginning-position):
3798         Remove compat definitions.
3800         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3801         Use end-of-line N.
3802         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3803         Use line-end-position.
3805         * emacs-lisp/chart.el (chart-zap-chars):
3806         * play/decipher.el (decipher-set-map):
3807         * progmodes/ada-mode.el (ada-get-current-indent)
3808         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3809         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3810         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3811         (ada-get-all-references):
3812         * progmodes/cperl-mode.el (cperl-electric-paren)
3813         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3814         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3815         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3816         (cperl-word-at-point-hard):
3817         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3818         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3819         (idlwave-shell-display-line):
3820         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3821         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3822         * progmodes/js.el (js--re-search-forward-inner)
3823         (js--re-search-backward-inner):
3824         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3825         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3826         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3827         * textmodes/flyspell.el (flyspell-process-localwords):
3828         * textmodes/ispell.el (ispell-buffer-local-parsing)
3829         (ispell-buffer-local-dict, ispell-buffer-local-words):
3830         Use point-at-bol and point-at-eol.
3832         * speedbar.el (speedbar-generic-item-info)
3833         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3834         (speedbar-add-indicator, speedbar-check-vc-this-line)
3835         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3836         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3837         Replace more uses of end-of-line etc with line-end-position.
3839 2010-11-06  Glenn Morris  <rgm@gnu.org>
3841         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3842         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3843         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3844         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3845         (texinfo-multiple-files-update):
3846         * textmodes/table.el (table--probe-cell-left-up)
3847         (table--probe-cell-right-bottom):
3848         * textmodes/picture.el (picture-tab-search):
3849         * textmodes/page-ext.el (pages-copy-header-and-position)
3850         (pages-directory-for-addresses):
3851         * progmodes/vera-mode.el (vera-get-offset):
3852         * progmodes/simula.el (simula-calculate-indent):
3853         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3854         * progmodes/prolog.el (end-of-prolog-clause):
3855         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3856         * progmodes/icon.el (indent-icon-exp):
3857         * progmodes/etags.el (tag-re-match-p):
3858         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3859         * progmodes/ebnf2ps.el (ebnf-begin-file):
3860         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3861         (dcl-save-local-variable):
3862         * play/life.el (life-setup):
3863         * play/gametree.el (gametree-looking-at-ply):
3864         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3865         * mail/sendmail.el (mail-mode-auto-fill):
3866         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3867         * emacs-lisp/edebug.el (edebug-overlay-arrow):
3868         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3869         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3870         (woman-tab-to-tab-stop, WoMan-warn-ignored):
3871         * type-break.el (type-break-file-keystroke-count):
3872         * term.el (term-replace-by-expanded-history-before-point)
3873         (term-skip-prompt, term-extract-string):
3874         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3875         (speedbar-contract-line, speedbar-toggle-line-expansion)
3876         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3877         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3878         * sort.el (sort-skip-fields):
3879         * skeleton.el (skeleton-internal-list):
3880         * simple.el (line-move-finish, line-move-to-column):
3881         * shell.el (shell-forward-command):
3882         * misc.el (copy-from-above-command):
3883         * makesum.el (double-column):
3884         * ebuff-menu.el (electric-buffer-update-highlight):
3885         * dired.el (dired-move-to-end-of-filename):
3886         * dframe.el (dframe-popup-kludge):
3887         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3888         * arc-mode.el (archive-get-lineno):
3889         Use line-end-position and line-beginning-position.
3891         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3892         (idlwave-study-twins): Prefix dynamic local `class'.
3893         (idlwave-routine-twin-compare): Update for above name change.
3895         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3896         Use boundp tests to silence compiler.  Update for changed name of
3897         bytecomp-filename variable.
3899         * emulation/viper-cmd.el (viper-read-string-with-history):
3900         Prefix dynamic local `initial'.
3901         (viper-minibuffer-standard-hook): Update for above name change.
3903         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3904         (elint-init-form): Update for above name change.
3906         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3907         local variables `cbeg' and `cend' a prefix.
3908         (mail-extr-voodoo): Update for above name change.
3910         * textmodes/reftex-toc.el (reftex-toc-do-promote)
3911         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3912         (reftex-toc-promote-action): Doc fix.
3914         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3915         `prompt', `data' a prefix.
3916         (reftex-select-post-command-hook, reftex-select-callback)
3917         (reftex-select-mouse-accept, reftex-select-read-cite):
3918         Update for above name changes.
3920         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3921         `refstyle' to reftex-refstyle.
3922         (reftex-offer-label-menu): Update for above name change.
3923         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3924         `refstyle' name change.
3926         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3927         with with-current-buffer.
3928         (diff, template): Give dynamic local variables a prefix.
3929         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3930         (emerge-line-number-in-buf): Update for above name change.
3931         (emerge-combine-versions-internal): Rename local `template' to
3932         emerge-combine-template.
3933         (emerge-combine-versions-edit): Update for above name change.
3935 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
3937         * textmodes/reftex-cite.el
3938         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3939         entries with whitespace after \bibitem.
3940         (reftex-create-bibtex-file): Match entries containing numbers and
3941         symbol constituents.  Make sure that entries with whitespace at
3942         various places are found.
3944 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
3946         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3948 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
3950         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3952 2010-11-05  Glenn Morris  <rgm@gnu.org>
3954         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3955         (woman2-roff-buffer): Give local variable `request' a prefix.
3956         (woman0-macro): Rename argument `request' in the same way.
3957         (woman-request): New name for `request' dynamic variable.
3958         (woman-unquote, woman-forward-arg): Update for above name change.
3959         (woman1-roff-buffer): Give local variable `unquote' a prefix.
3960         (woman1-unquote): New name for `unquote' dynamic variable.
3961         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3962         (woman-translations): Rename from `translations'.  No longer global.
3963         (woman2-tr, woman-translate): Update for above name change.
3964         (woman-translate): Check for bound variable.
3965         (woman2-roff-buffer): Give local variable `translations' a prefix.
3967         * play/doctor.el: Give all local variables a prefix.  Update callers.
3968         (doc$, doctor-put-meaning): Use backquote.
3970         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3971         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3973         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3974         variables bytes, ptr, op a prefix.
3975         (disassemble-offset): Update for above change.
3977 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3979         * emacs-lisp/package.el (package-unpack): Remove no-op.
3980         (package--builtins, package--dir): Doc fix.
3981         (package-activate-1, package-activate, package-install)
3982         (package-compute-transaction): Fix error message.
3983         (package-delete): Use delete-directory.  Omit system packages.
3984         (package-initialize): Set package-alist to nil first.
3985         (package-menu-mark-delete, package-menu-mark-install): Don't add
3986         symbols that are inconsistent with the package state.
3987         (package-menu-execute): Perform deletions and installations as
3988         single batch operations.
3990 2010-11-03  Glenn Morris  <rgm@gnu.org>
3992         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3993         (props): Remove unnecessary declaration.
3995         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3996         set-process-query-on-exit-flag.
3998         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3999         (reftex-toc-do-promote): Remove unused local `mpos'.
4000         (reftex-toc-restore-region): Make `mpos' local to this function.
4002         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
4004         * play/landmark.el (lm-losing-threshold): Correct spelling.
4005         (lm-human-plays): Use new name.
4007         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
4008         (gomoku-human-plays): Use new name.
4010         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
4011         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
4012         (gomoku-score-trans-table, gomoku-winning-threshold)
4013         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
4015 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
4017         * emacs-lisp/package.el: Don't put built-in packages in
4018         package-alist, to avoid loading inefficiencies.
4019         (package-built-in-p): Make VERSION optional, and treat it as a
4020         minimum acceptable version.
4021         (package-activate): Search separately for built-in packages.
4022         Emit a warning if a dependency fails.
4023         (define-package): Handle most common case, where there is no
4024         obsolete package, first.
4025         (package-compute-transaction): Print required version in error.
4026         (package--initialized): New variable.
4027         (list-packages): Use it.
4028         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
4029         built-in packages in packages-alist; keep it separate.
4030         Set package--initialized.
4031         (describe-package): Avoid activating packages as a side-effect.
4032         Search separately for built-in packages.
4033         (describe-package-1): Handle the case where an elpa package is
4034         simultaneously built-in and available/installed.
4035         (package-installed-p, package--generate-package-list):
4036         Search separately for built-in packages.
4037         (package-load-descriptor): Doc fix.
4039 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * progmodes/perl-mode.el (perl-syntax-propertize-function):
4042         Handle __DATA__ and __END__.
4044 2010-11-02  Noah Friedman  <friedman@splode.com>
4046         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
4047         nil, do not ask to recompile files that are not already compiled,
4048         and do not recompile them.
4050 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
4052         * emacs-lisp/package.el (package-initialize): Ensure that
4053         obsoleted built-in packages are not in package-activated-list
4054         during activation.
4055         (describe-package-1): Make the "installed" status override
4056         "built-in".
4058 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4060         * subr.el (version-separator, version-regexp-alist): Remove '*'
4061         from docstring.
4062         (version-list-<=, version<=, version=): Doc fix.
4064 2010-11-01  Kenichi Handa  <handa@m17n.org>
4066         * faces.el (glyphless-char): Inherit underline for tty.
4068 2010-11-01  Kenichi Handa  <handa@m17n.org>
4070         Implement various display methods for glyphless characters.
4072         * international/characters.el (char-acronym-table): New variable.
4073         (glyphless-char-control): New variable.
4074         (update-glyphless-char-display): New function.
4076         * faces.el (glyphless-char): New face.
4078 2010-11-01  Glenn Morris  <rgm@gnu.org>
4080         * calendar/holidays.el (general-holidays, oriental-holidays)
4081         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
4082         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
4083         the definitions of their targets.
4085         * emacs-lisp/smie.el (smie): New custom group.
4086         (smie-blink-matching-inners, smie-indent-basic): Add :group.
4088         * faces.el (xw-defined-colors, x-setup-function-keys):
4089         * mouse-sel.el (x-select-text):
4090         * term/w32console.el (x-setup-function-keys): Update declarations.
4092         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
4094         * textmodes/ispell.el (comment-add): Declare.
4096         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
4097         Declare.
4099         * info.el (finder-keywords-hash, package-alist): Declare.
4101 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4103         * finder.el (finder-compile-keywords): Don't use intern-soft,
4104         since package names may not yet exist in the obarray.
4106 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
4108         * vc/vc-arch.el (vc-arch-checkin):
4109         * vc/vc-cvs.el (vc-cvs-checkin):
4110         * vc/vc-mtn.el (vc-mtn-checkin):
4111         * vc/vc-rcs.el (vc-rcs-checkin):
4112         * vc/vc-sccs.el (vc-sccs-checkin):
4113         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
4114         since 2010-04-21 commit by Stefan Monnier.
4116 2010-11-01  Glenn Morris  <rgm@gnu.org>
4118         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
4120         * startup.el (package-enable-at-startup, package-initialize):
4121         Silence compiler.
4123         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
4124         Silence compiler.
4126 2010-10-31  Julien Danjou  <julien@danjou.info>
4128         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
4129         (byte-recompile-directory):
4130         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
4131         Use `byte-recompile-file'.
4133 2010-10-31  Glenn Morris  <rgm@gnu.org>
4135         * cus-start.el: Handle standard values via a keyword.
4136         Only set version property if specified.
4137         (cursor-in-non-selected-windows, menu-bar-mode)
4138         (tool-bar-mode, show-trailing-whitespace):
4139         Do not specify standard values.
4140         (transient-mark-mode, temporary-file-directory): Use :standard.
4142 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
4144         * term/x-win.el (x-get-selection-value): New function that gets
4145         PRIMARY with type as specified in x-select-request-type.  (Bug#6802)
4147 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
4149         * net/tramp.el (tramp-handle-insert-file-contents): For root,
4150         preserve owner and group when editing files.  (Bug#7289)
4152 2010-10-31  Glenn Morris  <rgm@gnu.org>
4154         * speedbar.el (speedbar-mode):
4155         * play/fortune.el (fortune-in-buffer, fortune):
4156         * play/gomoku.el (gomoku-mode):
4157         * play/landmark.el (lm-mode):
4158         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
4159         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
4161         * select.el (x-selection): Mark it as an obsolete alias.
4163 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4165         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
4166         major-mode (bug#7284).
4168 2010-10-31  Glenn Morris  <rgm@gnu.org>
4170         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
4171         rather than just an unused variable that inherits from the real one.
4173 2010-10-31  Alan Mackenzie  <acm@muc.de>
4175         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
4176         This fixes bug #7185.
4178 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
4180         * startup.el (command-line): Search for package directories, and
4181         don't load package.el if none are found.
4183         * emacs-lisp/package.el (describe-package, list-packages):
4184         Call package-initialize if it has not been called yet.
4186 2010-10-30  Alan Mackenzie  <acm@muc.de>
4188         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
4189         which fontifies the tail of an enum.
4190         (c-basic-matchers-after): Insert a call to the above new function.
4191         This fixes bug #7264.
4193 2010-10-30  Glenn Morris  <rgm@gnu.org>
4195         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
4196         tool-bar-mode, transient-mark-mode.  (Bug#7306)
4197         Include the :set property in the dumped Emacs.
4199 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4201         SMIE: change indent rules format, improve smie-setup.
4202         * emacs-lisp/smie.el (smie-precs-precedence-table)
4203         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
4204         Mark them pure so the tables gets built at compile time.
4205         (smie-bnf-precedence-table): Store the closer-alist in the table.
4206         (smie-prec2-levels): Preserve the closer-alist.
4207         (smie-blink-matching-open): Be more forgiving in case of indentation.
4208         (smie-hanging-p): Rename from smie-indent--hanging-p.
4209         (smie-bolp): Rename from smie-indent--bolp.
4210         (smie--parent, smie--after): New dynamic vars.
4211         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
4212         (smie-indent-rules): Remove.
4213         (smie-indent--offset-rule): Remove fun.
4214         (smie-rules-function): New var.
4215         (smie-indent--rule): New fun.
4216         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
4217         (smie-indent-exps): Use it.
4218         (smie-setup): Setup paren blinking; add keyword args for token
4219         functions; extract closer-alist from op-levels.
4220         (smie-indent-debug-log): Remove var.
4221         (smie-indent-debug): Remove fun.
4222         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
4223         (prolog-smie-rules): New fun to replace it.
4224         (prolog-mode-variables): Simplify.
4225         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
4226         it's setup automatically.
4227         (octave-smie-indent-rules): Remove.
4228         (octave-smie-rules): New fun to replace it.
4229         (octave-mode): Simplify.
4231 2010-10-29  Glenn Morris  <rgm@gnu.org>
4233         * files.el (temporary-file-directory): Remove (already defined in C).
4234         * cus-start.el: Add temporary-file-directory.
4236         * abbrev.el (abbrev-mode):
4237         * composite.el (auto-composition-mode):
4238         * menu-bar.el (menu-bar-mode):
4239         * simple.el (transient-mark-mode):
4240         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
4241         that they do not define the associated variables twice.
4242         * simple.el (transient-mark-mode): Remove defvar.
4243         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
4244         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
4245         Handle multiple groups, and also custom-delayed-init-variables.
4246         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
4248 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4250         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
4251         (pcase-if): Add one minor optimization.
4252         (pcase-split-equal): Rename from pcase-split-eq.
4253         (pcase-split-member): Rename from pcase-split-memq.
4254         (pcase-u1): Add strings to the member optimization.
4255         Add `guard' variant of predicates.
4256         (pcase-q1): Add string patterns.
4258 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4260         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
4262 2010-10-28  Glenn Morris  <rgm@gnu.org>
4264         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4265         Move menu-bar related settings to ../menu-bar.el.
4266         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
4267         Move ns-specific settings here from term/ns-win.el.
4269         * simple.el (x-selection-owner-p): Remove unused declaration.
4271 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4273         * minibuffer.el (completion-cycling): New var (bug#7266).
4274         (minibuffer-complete, completion--do-completion):
4275         Use completion--flush-all-sorted-completions.
4276         (minibuffer-complete): Only cycle if completion-cycling is set.
4277         (completion--flush-all-sorted-completions): Unset completion-cycling.
4278         (minibuffer-force-complete): Set completion-cycling.
4279         (completion-all-sorted-completions): Move declaration before first use.
4281 2010-10-28  Leo  <sdl.web@gmail.com>
4283         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
4284         which changes the order of matches seen by users (bug#7231).
4286 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
4288         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4289         Don't confuse -omega as "-o mega".
4291 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4293         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
4294         (log-edit-author): New dynamic var.
4295         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
4296         to return the author if different from committer.
4297         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
4299         * play/landmark.el: Adjust commenting convention.
4300         (lm-nil-score): Rename from nil-score.
4301         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
4302         (OOOOscore): Move into a let in lm-score-trans-table.
4303         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
4305         * electric.el (electric-indent-chars): Autoload.
4306         * progmodes/octave-mod.el (octave-mode):
4307         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
4308         (ruby-mode-abbrev-table): Merge initialization and declaration.
4310 2010-10-27  Glenn Morris  <rgm@gnu.org>
4312         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
4313         variable.
4315         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
4317         * term/ns-win.el: Restore require of cl when compiling.
4318         (menu-bar-final-items): Remove non-existent `windows' menu.
4319         (ns-handle-nxopen): Optionally handle the temp-case.
4320         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
4321         (ns-insert-file, ns-find-file): Use `pop'.
4323 2010-10-26  Glenn Morris  <rgm@gnu.org>
4325         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
4327 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
4329         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
4330         global map.
4331         * term/common-win.el (x-setup-function-keys): Remove most of the
4332         keymappings.  Comment on the remaining ones.
4334 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
4336         * server.el (server-port): New option.  (Bug#854)
4337         (server-start): Use server-port.
4339 2010-10-26  Glenn Morris  <rgm@gnu.org>
4341         * term/ns-win.el (ns-version-string): Remove unused declaration.
4342         (ns-invocation-args): Change to x-invocation-args.
4343         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
4344         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
4345         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
4346         Use x-invocation-args instead of ns-invocation-args.
4347         (ns-initialize-window-system, handle-args-function-alist):
4348         Use x-handle-args instead of ns-handle-args.
4349         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
4350         * startup.el (command-line-ns-option-alist): Replace
4351         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
4352         ns-handle-iconic with the x- equivalents.
4354         * term/common-win.el (x-select-enable-clipboard):
4355         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
4357         * term/ns-win.el: No need to require cl when compiling.
4358         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
4359         (xw-defined-colors): Use the common-win definitions.
4360         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
4361         (ns-handle-iconic): Make it an alias for x-handle-iconic.
4362         * term/common-win.el (x-select-text, x-alternatives-map)
4363         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
4364         * loadup.el [ns]: Load common-win.
4366 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
4368         * epa-mail.el (epa-mail-encrypt): Handle local-part only
4369         recipients; expand mail aliases (Bug#7280).
4371 2010-10-25  Glenn Morris  <rgm@gnu.org>
4373         * term/common-win.el (x-handle-switch): Simplify with pop.
4374         Optionally handle numeric switches.
4375         (x-handle-numeric-switch): Just call x-handle-switch.
4376         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
4377         (x-handle-name-switch, x-handle-display, x-handle-args):
4378         Simplify with pop.
4380         * term/ns-win.el: Do not require easymenu.
4381         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
4382         <spell>: Move adjustments to menu-bar.el.
4383         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
4384         <separator-undo, spell>: Move ns-win's adjustments here.
4385         * loadup.el [ns]: Do not load easymenu.
4387 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4389         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4390         Delete (Bug#7222).
4392         * startup.el (fancy-startup-tail): Instead of using inline images,
4393         refer to image files from etc/.
4395         * wid-edit.el (checkbox): Likewise.
4396         (widget-image-find): Center image specs.
4398 2010-10-24  Glenn Morris  <rgm@gnu.org>
4400         * term/ns-win.el (x-select-text): Doc fix.
4401         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
4402         (x-select-text): Move to term/common-win.
4403         * term/w32-win.el (xw-defined-colors): Move to common-win.
4404         * term/x-win.el (xw-defined-colors, x-alternatives-map)
4405         (x-setup-function-keys, x-select-text): Move to common-win.
4406         * term/common-win.el (x-select-text, x-alternatives-map)
4407         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
4408         definitions here.
4410 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
4412         * net/mairix.el (mairix-searches-mode-map):
4413         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
4415 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
4417         * verilog-mode.el (verilog-directive-re): Make this variable
4418         auto-built for efficiency of execution and updating.
4419         (verilog-extended-complete-re): Support 'pure' fucntion & task
4420         declarations (these have no bodies).
4421         (verilog-beg-of-statement): General cleanup to enable support of
4422         'pure' fucntion & task declarations (these have no bodies).
4423         These efforts together fix Verilog bug210 from veripool; which was also
4424         noticed by Steve Pearlmutter.
4425         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
4426         (verilog-directive-nest-re, verilog-set-auto-endcomments):
4427         Support `elsif.  Reported by Shankar Giri.
4428         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
4429         attribute handling for lining up declarations and assignments.
4430         (verilog-beg-of-statement-1): Fix issue where continued declaration
4431         is indented differently if it is after a begin..end clock.
4432         (verilog-in-attribute-p, verilog-skip-backward-comments)
4433         (verilog-skip-forward-comment-p): Support proper treatment of
4434         attributes by indent code.  Reported by Jeff Steele.
4435         (verilog-in-directive-p): Fix comment to correctly describe function.
4436         (verilog-backward-up-list, verilog-in-struct-region-p)
4437         (verilog-backward-token, verilog-in-struct-p)
4438         (verilog-in-coverage-p, verilog-do-indent)
4439         (verilog-pretty-declarations): Use verilog-backward-up-list as
4440         wrapper around backward-up-list inorder to properly skip comments.
4441         Reported by David Rogoff.
4442         (verilog-property-re, verilog-endcomment-reason-re)
4443         (verilog-beg-of-statement, verilog-set-auto-endcomments)
4444         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
4445         of if).  Reported by Max Bjurling and
4446         (verilog-calc-1): Fix for clocking block in modport
4447         declaration.  Reported by Brian Hunter.
4449 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
4451         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
4452         (verilog-gate-keywords, verilog-read-sub-decls)
4453         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
4454         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
4455         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
4456         (verilog-read-decls): Fix spaces in V2K module parameters causing
4457         mis-identification as interfaces, bug287.
4458         (verilog-read-decls): Fix not treating "parameter string" as a
4459         parameter in AUTOINSTPARAM.
4460         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
4461         treating `elsif similar to `endif inside AUTOSENSE.
4462         (verilog-do-indent): Implement correct automatic or static task or
4463         function end comment highlight.  Reported by Steve Pearlmutter.
4464         (verilog-font-lock-keywords-2): Fix highlighting of single
4465         character pins, bug264.  Reported by Michael Laajanen.
4466         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
4467         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
4468         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
4469         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
4470         (verilog-pretty-expr): Fix interactive arguments, bug272.
4471         Reported by Mark Johnson.
4472         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
4473         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
4474         bug269.  Suggested by Gary Delp.
4475         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
4476         (verilog-preprocessor, verilog-set-compile-command):
4477         Create verilog-preprocess and verilog-preprocessor to show
4478         preprocessed output.
4479         (verilog-get-beg-of-line, verilog-get-end-of-line)
4480         (verilog-modi-file-or-buffer, verilog-modi-name)
4481         (verilog-modi-point, verilog-within-string): Move defmacro's
4482         before first use to avoid warning.  Reported by Steve Pearlmutter.
4483         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
4484         (verilog-colorize-region, verilog-highlight-buffer)
4485         (verilog-highlight-includes, verilog-highlight-modules)
4486         (verilog-highlight-region, verilog-mode): Rename colorize to
4487         highlight to match other packages.  Disable module highlighting,
4488         as received speed complaints, reenable for experimentation only
4489         using new verilog-highlight-modules.
4490         (verilog-read-decls): Fix regexp stack overflow in very large
4491         AUTO_TEMPLATEs, bug250.
4492         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
4493         (verilog-scan): Create verilog-save-buffer-state to standardize
4494         making insignificant changes that shouldn't call hooks.
4495         (verilog-save-no-change-functions, verilog-save-scan-cache)
4496         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
4497         Create verilog-save-no-change-functions to wrap verilog-scan
4498         preservation, and fix to work with nested preserved calls.
4499         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
4500         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
4501         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
4502         (verilog-submit-bug-report): Update variable list to be complete.
4503         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
4504         breaking on-the-fly font-locking.
4505         (verilog-colorize-buffer, verilog-colorize-include-files)
4506         (verilog-colorize-include-files-buffer, verilog-colorize-region)
4507         (verilog-load-file-at-mouse, verilog-load-file-at-point)
4508         (verilog-mode, verilog-read-inst-module-matcher): With point on a
4509         AUTOINST cell instance name, middle mouse button now finds-file on
4510         it.  Suggested by Brad Dobbie.
4511         (verilog-alw-get-temps, verilog-auto-reset)
4512         (verilog-auto-sense-sigs, verilog-read-always-signals)
4513         (verilog-read-always-signals-recurse): Fix loop indexes being
4514         AUTORESET.  AUTORESET now assumes any variables in the
4515         initialization section of a for() should be ignored.
4516         Reported by Dan Dever.
4517         (verilog-error-font-lock-keywords)
4518         (verilog-error-regexp-emacs-alist)
4519         (verilog-error-regexp-xemacs-alist): Fix error detection of
4520         Cadence HAL, reported by David Asher.  Repair drift between the
4521         three similar error variables.
4522         (verilog-modi-lookup, verilog-modi-lookup-cache)
4523         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
4524         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
4525         Fix slow verilog-auto expansion on very large files.
4526         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
4527         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
4528         "{1*2{...".  Broke in last revision.
4529         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
4530         submodule connections with replications "{#{a},#{b}}".
4532 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
4534         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
4535         Fix typo in docstring.
4537 2010-10-24  Kenichi Handa  <handa@m17n.org>
4539         * face-remap.el (text-scale-adjust): Call read-event with a proper
4540         prompt.
4542 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4544         * emacs-lisp/unsafep.el: Don't mark functions that display
4545         messages as safe.  Suggested by Johan Bockgård.
4547 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4549         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
4550         Turn comments into docstrings.
4552         * minibuffer.el (completion--replace): Move point where it belongs
4553         when there's a common suffix (bug#7215).
4555 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4557         Merge read-color and facemenu-read-color (Bug#7242).
4559         * faces.el (read-color): Use the completion code from
4560         facemenu-read-color.  Require match in completion.  Doc fix.
4562         * facemenu.el (facemenu-read-color): Alias for read-color.
4563         (facemenu-set-foreground, facemenu-set-background):
4564         Use read-color.
4566         * frame.el (set-background-color, set-foreground-color)
4567         (set-cursor-color, set-mouse-color, set-border-color):
4568         Use read-color.
4570 2010-10-24  Leo  <sdl.web@gmail.com>
4572         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
4573         argument of delete-file and delete-directory (Bug#7011).
4575 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4577         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
4578         button-buffer-map.
4580 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
4582         * emacs-lisp/package.el (package--generate-package-list): Make the
4583         *Packages* buffer read-only.
4585 2010-10-24  Alan Mackenzie  <acm@muc.de>
4587         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
4588         result of `c-beginning-of-decl-1' between invocations of a lambda
4589         function (Bug #7265).
4591 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
4593         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
4594         executable is not available on the system (Bug#7268).
4596 2010-10-24  Glenn Morris  <rgm@gnu.org>
4598         * select.el (selection-coding-system, next-selection-coding-system):
4599         Sync doc with C versions.
4601         * w32-vars.el (x-select-enable-clipboard):
4602         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
4603         * term/common-win.el (x-select-enable-clipboard): Move here.
4605         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
4606         definition of C variable.
4608         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
4609         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4610         Don't redefine things that are defined in C.
4611         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
4612         (show-trailing-whitespace, auto-hscroll-mode)
4613         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
4614         Set up the appropriate custom properties.
4616 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
4618         Bind "C-c ]" to ...
4619         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
4620         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
4621         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
4622         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
4624 2010-10-23  Glenn Morris  <rgm@gnu.org>
4626         * textmodes/flyspell.el (flyspell-mode): If there was an error,
4627         say what it was.
4629         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
4630         Sync docs with C version.
4632         * term/ns-win.el (xw-defined-colors):
4633         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
4635         * term/pc-win.el (x-select-enable-clipboard):
4636         * term/x-win.el (x-select-enable-clipboard):
4637         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
4639         * comint.el (comint-password-prompt-regexp): Make it less vague.
4640         Bump version.
4642         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
4644         * help.el (finder-by-keyword): Remove unnecessary autoload.
4646 2010-10-22  Glenn Morris  <rgm@gnu.org>
4648         * loadup.el: Unconditionally load float-sup.
4649         * paren.el (show-paren-delay):
4650         * emacs-lisp/float-sup.el:
4651         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
4652         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
4653         (lazy-lock-stealth-verbose): Assume float support.
4654         * ps-print.el: Assume float support on Emacs.
4655         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
4656         Remove non-float branch.
4658         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
4659         src/Makefile no longer being pre-processed.
4661 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4663         * emacs-lisp/find-func.el (find-library): Use test-completion.
4665 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4667         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
4669 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
4671         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
4672         space in stat format string.
4673         (tramp-send-command): Unset $PS1 when using here documents, in
4674         order not to get several prompts.
4675         (tramp-get-inline-coding): Return `nil' in case of errors.
4677 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
4679         * hexl.el (hexl-mode, hexl-mode-exit):
4680         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
4681         (hexl-revert-buffer-function): New function.
4682         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
4684 2010-10-19  Alan Mackenzie  <acm@muc.de>
4686         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
4687         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
4688         that these keywords aren't wrongly matched as identifiers.
4690         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
4691         setting of c-new-BEG and c-new-END from c-before-change to
4692         c-after-change.  (Bug#7181)
4694 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4696         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
4697         Don't mark as safe.
4699         * custom.el (custom-theme-set-variables): Likewise.
4700         (load-theme): Add custom-theme-set-faces and
4701         custom-theme-set-variables to safe-functions while loading.
4702         (custom-enabled-themes): Mark as risky.
4704 2010-10-18  Julien Danjou  <julien@danjou.info>
4706         * bindings.el: Remove end dashes in default mode-line-format.
4708 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4710         * bindings.el (global-map): Bind C-d to delete-char and deletechar
4711         to delete-forward-char.
4713         * simple.el (normal-erase-is-backspace-mode): Remap delete to
4714         deletechar, and hence delete-forward-char.
4716 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4718         * repeat.el (repeat): Use read-key (bug#6256).
4720 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
4722         * emacs-lisp/unsafep.el: Don't mark functions that display
4723         messages as safe.  Suggested by Johan Bockgård.
4725 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4727         * minibuffer.el (completion--replace): Move point where it belongs
4728         when there's a common suffix (bug#7215).
4730 2010-10-19  Kenichi Handa  <handa@m17n.org>
4732         * international/characters.el: Add category '|' (word breakable)
4733         to fullwidth characters.
4735 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
4737         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
4738         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
4739         order to make stat results a float.  Patch by Andreas Schwab
4740         <schwab@linux-m68k.org>.
4742 2010-10-18  Julien Danjou  <julien@danjou.info>
4744         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
4745         hidden by `make-pointer-invisible'.
4747 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4749         * files.el (locate-file-completion-table): Strip non-matching elements
4750         before checking length of list (bug#7238).
4752 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
4754         * custom.el (custom-theme-set-variables): Mark as a safe function.
4755         (load-theme): Check forms using unsafep.
4757         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
4759 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
4761         * textmodes/ispell.el (ispell-aspell-find-dictionary):
4762         Fix aspell data file searching (bug#7230).
4764 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4766         * cus-theme.el (custom-theme--migrate-settings): New var.
4767         (customize-create-theme): Allow editing the `user' theme.
4768         (custom-theme-add-variable, custom-theme-add-var-1)
4769         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
4770         to the front of each variable or face widget.
4771         (custom-theme-write): Save theme settings in the correct order.
4772         Optionally, remove saved settings from user customizations.
4773         (custom-theme-write-variables, custom-theme-write-faces):
4774         Save only the checked widgets.
4775         (customize-themes): Add a link for migrating custom settings.
4777         * custom.el (custom-declare-theme, provide-theme):
4778         Use custom-theme-name-valid-p.
4779         (custom-theme-name-valid-p): Remove checks that are now
4780         unnecessary since themes no longer obey load-path.
4782         * cus-edit.el (custom-variable-value-create): For the simple
4783         style, hide documentation string when hidden.
4785 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4787         * cus-edit.el (custom-variable, custom-face): Combine the
4788         :inhibit-magic and :display-style properties into a single
4789         :custom-style property.
4790         (custom-toggle-hide-variable, custom-toggle-hide-face):
4791         New functions.  If hiding an edited value, save it to :shown-value.
4792         (custom-variable-value-create, custom-face-value-create): Use them.
4793         (custom-magic-reset): Allow magic property to be unset.
4795         * custom.el: Custom themes no longer use load-path.
4796         (custom-theme-load-path): New option.  Change built-in theme
4797         directory to etc/.
4798         (custom-enabled-themes): Add custom-theme-load-path dependency.
4799         (custom-theme--load-path): New function.
4800         (load-theme, custom-available-themes): Use it.
4802         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4803         (customize-themes): Link to custom-theme-load-path variable.
4804         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4805         :custom-style property.
4807         * themes/*.el: Moved to etc/.
4809 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4811         * textmodes/reftex-cite.el
4812         (reftex-extract-bib-entries-from-thebibliography): Do not move
4813         point when searching for \bibitem entries.  Match entries with
4814         spaces or tabs in front of arguments.
4816 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4818         * cus-theme.el (customize-create-theme): Delete overlays after
4819         erasing.  If given a THEME arg, display only the faces of that arg
4820         instead of custom-theme--listed-faces.
4821         (custom-theme-variable-menu, custom-theme-variable-action)
4822         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4823         (custom-theme-add-variable, custom-theme-add-face): Apply value
4824         from the theme settings, instead of the current value.
4825         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4826         (custom-theme-visit-theme): Allow calling outside theme buffers.
4827         (custom-theme-merge-theme): Don't enable the theme when merging.
4828         (custom-theme-write-variables, custom-theme-write-faces): Use the
4829         :shown-value properties to save buffer values, not global ones.
4830         (customize-themes): Display a warning about user customizations.
4832         * cus-edit.el (custom-variable-value-create)
4833         (custom-face-value-create): Obey new special properties
4834         :shown-value and :inhibit-magic.
4836 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4838         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4839         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4840         <dale@codefu.org>.
4842 2010-10-14  Kenichi Handa  <handa@m17n.org>
4844         * mail/rmail.el (rmail-show-message-1): Catch an error of
4845         base64-decode-region and just show an error message (bug#7165).
4847         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4848         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4849         a font-spec (bug#7197).
4851 2010-10-14  Glenn Morris  <rgm@gnu.org>
4853         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4855 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4857         * international/mule.el (define-coding-system):
4858         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4859         * composite.el (compose-region): Fix typo in docstring.
4861 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
4863         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4864         only after checking the theme-face property.
4866         * faces.el (face-spec-reset-face): Reset all attributes in one
4867         single call to set-face-attribute.
4868         (face-spec-match-p): Make it a defsubst.
4869         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4870         (x-create-frame-with-faces, tty-create-frame-with-faces)
4871         (tty-set-up-initial-frame-faces): Don't recompute face specs in
4872         frame-set-background-mode, since they are recomputed immediately
4873         afterwards in face-set-after-frame-default.
4874         (face-set-after-frame-default): Minor optimization.
4875         (cursor): Provide non-trivial defface spec.
4877         * custom.el (custom-theme-recalc-face): Simplify.
4879 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
4881         * calc/calc-alg.el (math-var): Rename from `var'.
4882         (math-is-polynomial, math-is-poly-rec): Replace `var'
4883         with `math-var'.
4885         * calc/calcalg2.el (math-var): Rename from `var'.
4886         (calcFunc-table, math-scan-for-limits): Replace `var'
4887         with `math-var'.
4889 2010-10-13  Glenn Morris  <rgm@gnu.org>
4891         * subr.el (last): Deal with dotted lists (reported in bug#7174).
4893 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
4895         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4897 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4899         * net/tls.el (tls-program): Remove spurious %s from openssl.
4900         (tls-starttls-switches): Remove starttls hack.
4901         (open-tls-stream): Ditto.
4902         (tls-find-starttls-argument): Ditto.
4904 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
4906         * image.el (image-library-alist): Declare as obsolete alias.
4907         (image-type-available-p): Use `dynamic-library-alist'.
4909         * term/w32-win.el (dynamic-library-alist):
4910         Use instead of `image-library-alist'.
4912 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
4914         * subr.el (last): Make it faster.  (Bug#7174)
4916 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
4918         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
4920 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4922         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4923         (describe-theme-1): Extract doc from unloaded themes.
4925         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4927         * themes/tango-theme.el:
4928         * themes/tango-dark-theme.el:
4929         * themes/wheatgrass-theme.el: New files.
4931 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4933         * cus-theme.el (describe-theme, customize-themes)
4934         (custom-theme-save): New commands.
4935         (custom-new-theme-mode-map): Bind C-x C-s.
4936         (custom-new-theme-mode): Use custom--initialize-widget-variables.
4937         (customize-create-theme): New optional arg THEME.
4938         (custom-theme-revert): Use it.
4939         (custom-theme-visit-theme): Remove dead code.
4940         (custom-theme-merge-theme): Use custom-available-themes.
4941         (custom-theme-write): Make interactive.
4942         (custom-theme-write): Use custom-theme-name-valid-p.
4943         (describe-theme-1, custom-theme-choose-revert)
4944         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4945         New funs.
4946         (custom-theme-allow-multiple-selections): New option.
4947         (custom-theme-choose-mode): New major mode.
4949         * custom.el (custom-theme-set-variables): Remove dead code.
4950         Obey custom--inhibit-theme-enable.
4951         (custom--inhibit-theme-enable): New var.
4952         (provide-theme): Obey it.
4953         (load-theme): Replace load with manual read/eval, in order to
4954         check for correctness.  Use custom-theme-name-valid-p.
4955         (custom-theme-name-valid-p): New function.
4956         (custom-available-themes): Use it.
4958         * cus-edit.el (custom--initialize-widget-variables): New function.
4959         (Custom-mode): Use it.
4961         * cus-face.el (custom-theme-set-faces): Remove dead code.
4962         Obey custom--inhibit-theme-enable.
4964         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4966 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
4968         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4970 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
4972         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4973         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4974         (mac-right-option-modifier): New alias for ns-right-option-modifier.
4976         * cus-start.el (all): ns-right-alternate-modifier is new.
4978 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4980         * emacs-lisp/lisp.el (lisp-completion-at-point):
4981         Use emacs-lisp-mode-syntax-table for the whole function.
4983 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
4985         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4986         instead of font-lock-mode before adding keywords.
4987         Remove hi-lock-mode off code.  Remove inhibit hack.
4988         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4989         non-nil; removed hook inhibit hack.
4991 2010-10-12  Glenn Morris  <rgm@gnu.org>
4993         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4994         (load-path-shadows-find): ... to this.
4995         (list-load-path-shadows): Update for above change.
4997         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4999 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
5001         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
5002         Fix comment for declare-function.
5004 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
5006         * custom.el (custom-fix-face-spec): New function; code moved from
5007         custom-face-edit-fix-value.
5008         (custom-push-theme): Use it when checking if a face has been
5009         changed outside customize.
5010         (custom-available-themes): New function.
5011         (load-theme): Use it.
5013         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
5015         * custom.el (custom-push-theme): Cleanup (use cond).
5016         (disable-theme): Recompute the saved-face property.
5017         (custom-theme-recalc-face): Follow face alias before setting prop.
5019         * image.el (image-checkbox-checked, image-checkbox-unchecked):
5020         New variables, containing checkbox images.
5022         * startup.el (fancy-startup-tail):
5023         * wid-edit.el (checkbox): Use them.
5025 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
5027         * shell.el (shell-mode-map):
5028         * progmodes/modula2.el (m2-mode-map):
5029         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
5030         * play/mpuz.el (mpuz-mode-map):
5031         * play/landmark.el (lm-mode-map):
5032         * play/decipher.el (decipher-mode-map):
5033         * play/5x5.el (5x5-mode-map):
5034         * net/telnet.el (telnet-mode-map):
5035         * net/quickurl.el (quickurl-list-mode-map):
5036         * net/mairix.el (mairix-searches-mode-map):
5037         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
5038         * net/dig.el (dig-mode-map):
5039         * mail/mspools.el (mspools-mode-map):
5040         * hexl.el (hexl-mode-map):
5041         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
5042         (wordstar-C-o-map, wordstar-C-q-map):
5043         * emacs-lisp/edebug.el (edebug-eval-mode-map):
5044         * emacs-lisp/chart.el (chart-map):
5045         * edmacro.el (edmacro-mode-map):
5046         * erc/erc-list.el (erc-list-menu-mode-map):
5047         * array.el (array-mode-map): Declare and define in one step.
5049         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
5051 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
5053         * epa.el (epa-passphrase-callback-function): Display filename
5054         passed as the 3rd arg.
5055         * epa-file.el (epa-file-passphrase-callback-function):
5056         Pass filename to epa-passphrase-callback-function.
5058 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
5060         * cus-edit.el (custom-face-widget-to-spec)
5061         (custom-face-get-current-spec, custom-face-state): New functions.
5062         (custom-face-set, custom-face-mark-to-save)
5063         (custom-face-value-create, custom-face-state-set): Use them.
5065         * cus-theme.el (custom-theme--listed-faces): New var.
5066         (customize-create-theme): Use *Custom Theme* as the buffer name.
5067         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
5068         faces listed in custom-theme--listed-faces.
5069         (custom-theme-revert): New function.
5070         (custom-theme-add-variable, custom-theme-add-face): Insert at the
5071         bottom of the list.
5072         (custom-theme-write): Prompt for theme name if empty.
5073         (custom-theme-write-variables): Use dolist.
5074         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
5076 2010-10-09  Alan Mackenzie  <acm@muc.de>
5078         Enhance fontification of declarators to take account of the
5079         presence/absence of "typedef".
5081         * cc-engine.el (c-forward-type): New &optional param
5082         "brace-block-too".
5083         (c-forward-decl-or-cast-1): cdr of return value now indicates the
5084         presence of either or both of a "struct"-like keyword and "typedef".
5086         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
5087         fontification of declarators which follow a "}".
5088         (c-font-lock-declarations): Fontify declarators according to the
5089         presence/absence of "typedef".
5091         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
5092         for "typedef".
5093         (c-typedef-decl-key): New lang variable built from
5094         c-typedef-decl-kwds.
5096 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5098         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
5099         since that's too annoying.  Move the filter groups commands to
5100         TAB/backtab.
5102         * epa.el (epa-passphrase-callback-function): Say what we're
5103         querying the password for.
5105         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
5106         behaviour, don't bury the ibuffer buffer when visiting other buffers.
5108 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5110         * cus-edit.el (custom-commands, custom-buffer-create-internal)
5111         (custom-magic-value-create): Pad button tags with spaces.
5112         (custom-face-edit): New variable.
5113         (custom-face-value-create): Determine whether to use the usual
5114         face editor here, instead of using custom-face-selected.
5115         Pass face defaults to custom-face-edit widget.
5116         (custom-face-selected, custom-display-unselected): Delete widgets.
5117         (custom-display-unselected-match): Function removed.
5118         (custom-face-set, custom-face-mark-to-save):
5119         Accept custom-face-edit widgets as the direct widget child.
5121         * wid-edit.el (widget--completing-widget): New var.
5122         (widget-default-complete): Bind it when doing completion.
5123         (widget-string-complete, widget-file-complete): Use it.
5125 2010-10-09  Glenn Morris  <rgm@gnu.org>
5127         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
5128         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
5129         (holiday-hebrew-misc): Small simplifications.
5131         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
5133         * net/browse-url.el: Don't require thingatpt, term, dired,
5134         executable, or w3-auto when compiling.
5135         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
5136         Declare.
5137         (browse-url-text-emacs): Require term.
5139 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
5141         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
5143 2010-10-08  Glenn Morris  <rgm@gnu.org>
5145         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
5147         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
5148         (shadows-compare-text-p): Make it an obsolete alias for...
5149         (load-path-shadows-compare-text): ... new name.
5150         (find-emacs-lisp-shadows): Update for above name change.
5151         (load-path-shadows-same-file-or-nonexistent): New name for the old
5152         shadow-same-file-or-nonexistent.
5154 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
5156         * minibuffer.el (completion--some, completion--do-completion)
5157         (minibuffer-complete-and-exit, minibuffer-completion-help)
5158         (completion-basic-try-completion)
5159         (completion-basic-all-completions)
5160         (completion-pcm--find-all-completions): Use lexical-let to
5161         avoid some false matches in variable completion (Bug#7056)
5163 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
5165         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
5167 2010-10-08  Leo  <sdl.web@gmail.com>
5169         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
5170         return non-nil if the file exists (Bug#7090).
5172 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5174         * minibuffer.el (completion--replace):
5175         Better preserve markers (bug#7138).
5177 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
5179         * server.el (server-process-filter): Doc fix.
5181 2010-10-08  Drew Adams  <drew.adams@oracle.com>
5183         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
5185 2010-10-08  Glenn Morris  <rgm@gnu.org>
5187         * vc/ediff-wind.el (ediff-setup-control-frame):
5188         * vc/ediff-ptch.el (ediff-default-backup-extension):
5189         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
5190         (ediff-exec-process): Remove system-types emx, windows-95.
5192         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
5194 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
5196         * cus-edit.el (custom-variable, custom-face): Doc fix.
5197         (custom-face-edit): Add value-create attribute.
5198         (custom-face-edit-value-create)
5199         (custom-face-edit-value-visibility-action): New functions.
5200         Hide unused face attributes by default, and add a visibility toggle.
5201         (custom-face-edit-deactivate): Show empty values with shadow face.
5202         (custom-face-selected): Only use this for face specs with default
5203         attributes.
5204         (custom-face-value-create): Cleanup.
5206         * wid-edit.el (widget-checklist-value-create): Use dolist.
5207         (widget-checklist-match-find): Make second arg optional.
5209 2010-10-07  Glenn Morris  <rgm@gnu.org>
5211         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
5212         Prefix things.
5214         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
5215         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5216         load-path-shadows-mode, update references.
5217         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
5218         Rename variable and button.
5219         (list-load-path-shadows): Update button caller.
5221 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5223         * emacs-lisp/smie.el (smie-bnf-classify): New function.
5224         (smie-bnf-precedence-table): Use it to remember the closers/openers.
5225         (smie-merge-prec2s): Handle those new entries.
5226         (smie-prec2-levels): Only set precedence to nil for actual
5227         openers/closers.
5228         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
5229         that is now unnecessary.
5231 2010-10-07  Miles Bader  <miles@gnu.org>
5233         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
5235 2010-10-07  Glenn Morris  <rgm@gnu.org>
5237         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
5238         (mail-position-on-field): Remove declarations.
5239         (mail-position-on-field): Autoload it.
5240         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
5241         and mail-header-end.  Don't require sendmail.
5243         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
5244         (shadow-mode): New mode.
5245         (shadow-find-file): New button.
5246         (list-load-path-shadows): Use shadow-mode and buttons.
5248         * iimage.el (iimage-version): Remove.
5249         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
5250         Turn into defcustoms.
5251         (iimage-mode-map): Give it a doc string.
5253         * calendar/appt.el (appt-activate): Give a warning rather than an error
5254         if there is no diary-file.
5256 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
5258         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5259         Use `tramp-handle-find-backup-file-name'.
5261 2010-10-06  Glenn Morris  <rgm@gnu.org>
5263         * font-core.el (font-lock-defaults-alist): Remove variable.
5264         (font-lock-mode): Doc fix.
5265         (font-lock-default-function): Do not consult font-lock-defaults-alist.
5266         * font-lock.el (font-lock-refresh-defaults): Doc fix.
5267         (font-lock-set-defaults): Doc fix.
5268         Do not consult font-lock-defaults-alist.
5270         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
5272         * emacs-lisp/cl.el: No longer provide cl-19.
5274 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
5276         * net/tramp.el (tramp-handle-directory-files-and-attributes)
5277         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
5278         New defuns, taken from tramp-smb.el.
5279         (tramp-coding-system-change-eol-conversion)
5280         (tramp-set-process-query-on-exit-flag): Remove.
5282         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
5283         (tramp-compat-coding-system-change-eol-conversion)
5284         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
5285         from tramp.el.
5287         * net/tramp-gvfs.el:
5288         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
5289         by `tramp-compat-set-process-query-on-exit-flag'.
5291         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
5292         Use `tramp-handle-directory-files-and-attributes',
5293         `tramp-handle-file-exists-p' and
5294         `tramp-handle-file-newer-than-file-p'.
5295         (tramp-imap-handle-file-exists-p)
5296         (tramp-imap-handle-file-executable-p)
5297         (tramp-imap-handle-file-readable-p)
5298         (tramp-imap-handle-directory-files-and-attributes)
5299         (tramp-imap-handle-file-newer-than-file-p): Remove.
5301         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
5302         by `tramp-compat-set-process-query-on-exit-flag' and
5303         `tramp-coding-system-change-eol-conversion' by
5304         `tramp-compat-coding-system-change-eol-conversion'.
5306         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5307         Use `tramp-handle-directory-files-and-attributes',
5308         `tramp-handle-file-exists-p' and
5309         `tramp-handle-file-newer-than-file-p'.
5310         (tramp-smb-handle-directory-files-and-attributes)
5311         (tramp-smb-handle-file-exists-p)
5312         (tramp-smb-handle-file-newer-than-file-p): Remove.
5313         (tramp-smb-maybe-open-connection):
5314         Replace `tramp-set-process-query-on-exit-flag' by
5315         `tramp-compat-set-process-query-on-exit-flag'.
5317 2010-10-05  Glenn Morris  <rgm@gnu.org>
5319         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
5321 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
5323         Continue reorganization of load dependencies.  (Bug#7156)
5325         * net/tramp.el (tramp-handle-file-local-copy-hook)
5326         (tramp-delete-temp-file-function): Move down.
5327         (tramp-exists-file-name-handler): Move up.
5328         (tramp-register-file-name-handlers): Simplify autoload.
5329         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
5330         (tramp-handle-directory-files, tramp-handle-dired-uncache)
5331         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
5332         (tramp-handle-file-name-completion)
5333         (tramp-handle-file-name-directory)
5334         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
5335         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
5336         (tramp-handle-find-backup-file-name)
5337         (tramp-handle-insert-file-contents, tramp-handle-load)
5338         (tramp-handle-substitute-in-file-name)
5339         (tramp-handle-unhandled-file-name-directory)
5340         (tramp-mode-string-to-int, tramp-local-host-p)
5341         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
5343         * net/tramp-gvfs.el (top):
5344         * net/tramp-smb.el (top): Do not require 'tramp-sh.
5346         * net/tramp-sh.el (all): Move several objects to tramp.el, see
5347         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
5349 2010-10-04  Glenn Morris  <rgm@gnu.org>
5351         * calendar/appt.el (appt-add): Ensure reminders are enabled.
5352         (appt-activate): Give status messages.
5354 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5356         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
5357         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
5358         `gnutls-negotiate' (formerly `starttls-negotiate').
5359         Remove trivial wrapper `starttls-open-stream'.
5361 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
5363         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
5364         log-outgoing commands.
5365         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
5366         to create a buffer local revert-buffer-function variable.
5367         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
5368         revert-buffer-function lambda.
5370 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
5372         * net/gnutls.el (starttls-negotiate): Use the plist interface to
5373         `gnutls-boot'.  Make TYPE the only required parameter.
5374         Allow TRUSTFILES and KEYFILES to be lists.
5375         (open-ssl-stream): Use it.
5377 2010-10-03  Glenn Morris  <rgm@gnu.org>
5379         * subr.el (directory-sep-char): Remove obsolete variable.
5380         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
5381         it is "necessary".
5383         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
5384         * vc/vc.el (vc-static-header-alist): Doc fix.
5385         * vc/vc-cvs.el (vc-cvs-header):
5386         * vc/vc-rcs.el (vc-rcs-header):
5387         * vc/vc-sccs.el (vc-sccs-header):
5388         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
5389         * obsolete/vc-mcvs.el (vc-mcvs-header):
5390         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
5391         on XEmacs.
5393 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5395         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
5396         Remove obsolete use of binary-overwrite-mode (Bug#7001).
5398 2010-10-03  Glenn Morris  <rgm@gnu.org>
5400         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5402         * textmodes/rst.el (rst-font-lock-keywords-function):
5403         Drop Emacs 20 code.
5405         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
5407         * printing.el: Drop Emacs 20 code.
5409         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
5410         without having used appt.el already).
5412         * subr.el (make-local-hook): Remove function obsolete since 21.1.
5413         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
5414         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
5415         XEmacs.
5416         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
5417         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
5419         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
5420         (charset-width, find-charset-region, chars-in-region, forward-point)
5421         (encode-coding-string, coding-system-p, ccl-execute-on-string)
5422         (define-ccl-program, multibyte-string-p, string-make-multibyte):
5423         Remove compatibility cruft (none of these are used by ps*.el).
5425 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
5427         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5429 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
5431         * server.el (server-process-filter, server-return-error):
5432         Give emacsclient time to shut down after receiving an error string.
5434 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
5436         * files.el (remote-file-name-inhibit-cache): New defcustom.
5438         * time.el (display-time-file-nonempty-p):
5439         Use `remote-file-name-inhibit-cache'.
5441         * net/tramp.el (tramp-completion-reread-directory-timeout):
5442         Fix docstring.
5444         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
5445         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
5446         `remote-file-name-inhibit-cache'.  Check also for an integer
5447         value.  Add/increase counter when `tramp-verbose' >= 10.
5448         (tramp-set-file-property): Add/increase counter when
5449         `tramp-verbose' >= 10.
5451         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5452         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
5453         (tramp-bug): Set tramp-autoload cookie.  Report all interned
5454         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
5455         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
5456         characters only in strings.
5458         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
5459         to backward compatibility.
5461         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
5462         (tramp-handle-file-name-all-completions)
5463         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
5464         (tramp-open-connection-setup-interactive-shell):
5465         Call `tramp-cleanup-connection' directly.
5467 2010-10-02  Glenn Morris  <rgm@gnu.org>
5469         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
5471         * subr.el (char-bytes): Remove obsolete function.
5473         * isearch.el (isearch-return-char): Remove obsolete function.
5475         * mouse.el: No longer provide mldrag.
5476         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
5477         Remove obsolete aliases.
5479         * comint.el (comint-kill-output): Remove obsolete alias.
5481         * composite.el (decompose-composite-char): Remove obsolete function.
5482         * ps-def.el (decompose-composite-char): Remove unused function.
5484         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
5486         * outline.el (outline-visible): Remove obsolete function.
5488         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
5489         * faces.el (internal-find-face, internal-get-face)
5490         (frame-update-faces, frame-update-face-colors)
5491         (x-frob-font-weight, x-frob-font-slant)
5492         (internal-frob-font-weight, internal-frob-font-slant)
5493         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
5494         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
5495         (x-make-font-bold-italic): Remove functions and aliases, obsolete
5496         since Emacs 21.1.
5497         * emulation/viper-util.el (viper-get-face):
5498         * obsolete/lucid.el (find-face, get-face): Use facep.
5499         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
5500         Remove unused functions.
5501         * vc/ediff-util.el (ediff-submit-report): Doc fix.
5503         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
5504         delete tempfile if interrupted during compilation.
5506 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5508         * net/tls.el (tls-starttls-switches): Give up on using starttls with
5509         gnutls-cli.
5510         (tls-program): Add --insecure to be consistent with the defaults from
5511         openssl s_client.  Now all three commands are insecure.
5513 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
5515         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
5516         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
5517         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
5519 2010-10-01  Glenn Morris  <rgm@gnu.org>
5521         * obsolete/sc.el: Remove file.
5523         * files.el (temporary-file-directory): On darwin, also try
5524         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
5526 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
5528         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
5529         Let's not break compatibility gratuitously, shall we?
5531 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5533         * net/tls.el (tls-starttls-switches): New variable.
5534         (tls-find-starttls-argument): Use it.
5535         (open-tls-stream): Ditto.
5537         * net/netrc.el (netrc-credentials): Return the value of the "default"
5538         entry.
5539         (netrc-machine): Ditto.
5541 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
5543         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
5545 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
5547         * server.el (server-start): Don't write pid to the authentication file.
5548         (server-create-tty-frame): Don't send pid.
5549         (server-process-filter): Send pid at the start of every connection.
5551 2010-09-30  Glenn Morris  <rgm@gnu.org>
5553         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
5554         (show-all-diary-entries): Remove obsolete function aliases.
5556         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
5557         Remove options, obsolete since 22.1.
5558         (appt-display-format, appt-display-message):
5559         Remove backwards-compatibility code.
5560         (appt-check): No longer check appt-issue-message.
5561         (appt-make-list): No longer autoload it.  Doc fix.  No longer
5562         activate the package.
5564 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5566         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
5567         (starttls-negotiate): Just call boot, and let the handshake be
5568         triggered from the read loop.
5570 2010-09-29  Glenn Morris  <rgm@gnu.org>
5572         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
5573         not displaying the diary.
5574         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
5575         * calendar/appt.el (appt-check): No longer need to kill diary.
5577         * calendar/diary-lib.el (diary-list-entries): Move the
5578         "Preparing..." message entirely here.
5579         (diary-simple-display, diary-fancy-display): Move "Preparing..."
5580         messages to diary-list-entries.
5581         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
5582         diary-display-function.
5584         * calendar/diary-lib.el (diary-include-other-diary-files):
5585         Trap some recursive includes.
5587         * calendar/appt.el (appt-activate): Check diary file.
5589 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
5591         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
5592         construction.
5594         * calendar/time-date.el: No need to require cl for Emacs 21.
5596 2010-09-28  Glenn Morris  <rgm@gnu.org>
5598         * calendar/appt.el (appt-check): Minor simplification.
5600 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
5602         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
5603         citation prefix.
5605 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
5607         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5608         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
5610 2010-09-27  Kenichi Handa  <handa@m17n.org>
5612         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
5613         "ustar" format.
5615 2010-09-27  Kenichi Handa  <handa@m17n.org>
5617         * international/mule.el (define-coding-system): Docstring fixed.
5619         * international/mule-diag.el (describe-character-set): Use princ
5620         with proper print-length and print-level instead of insert.
5622 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
5624         * window.el (walk-windows): Doc fix (bug#7105).
5626 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5628         * emacs-lisp/float-sup.el (e): Remove.
5630 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
5632         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
5633         variable.
5634         (starttls-negotiate): Use it.
5636 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5638         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
5639         back.
5641 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5643         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
5645 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5647         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
5649         * net/netrc.el (netrc-store-data): New function.
5651 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
5653         * net/gnutls.el: GnuTLS glue code to set up a connection.
5655 2010-09-25  Julien Danjou  <julien@danjou.info>
5657         * notifications.el: Call dbus-register-signal only if it is bound.
5659 2010-09-25  Glenn Morris  <rgm@gnu.org>
5661         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5662         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5663         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5664         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5665         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5666         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
5667         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
5668         * eshell/esh-util.el, eshell/esh-var.el:
5669         Remove leading `*' from docs of faces and defcustoms.
5671 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
5673         * eshell/em-ls.el (eshell-ls-archive-regexp):
5674         * eshell/esh-util.el (eshell-tar-regexp):
5675         * ibuffer.el (ibuffer-compressed-file-name-regexp):
5676         * info.el (Info-suffix-list):
5677         * international/mule.el (auto-coding-alist):
5678         * woman.el (woman-file-regexp, woman-file-compression-regexp):
5679         * progmodes/etags.el (tags-compression-info-list):
5680         Support xz compression.
5682 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
5684         * files.el (get-free-disk-space): Don't assume the "df" output
5685         columns line up (Bug#6995).
5687 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5689         * finder.el (finder-unknown-keywords):
5690         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
5691         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
5693 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
5695         * server.el (server-start): Revert part of 2010-08-08 change.  Using
5696         address 127.0.0.1 for local host is now done in Fmake_network_process.
5698 2010-09-24  Glenn Morris  <rgm@gnu.org>
5700         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
5701         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
5702         * textmodes/css-mode.el, textmodes/dns-mode.el:
5703         Move autoloaded auto-mode-alist entries to files.el.
5704         * files.el (auto-mode-alist): Move entries here.
5706 2010-09-23  Glenn Morris  <rgm@gnu.org>
5708         * isearch.el (isearch-lazy-highlight-cleanup)
5709         (isearch-lazy-highlight-initial-delay)
5710         (isearch-lazy-highlight-interval)
5711         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
5712         * net/net-utils.el (ipconfig-program-options):
5713         Move aliases to options before the associated definitions.
5715 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5717         * newcomment.el (comment-normalize-vars): Better test validity of
5718         comment-end-skip.
5720 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5722         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
5723         (float-e): New name for `e'.
5724         (degrees-to-radians, radians-to-degrees):
5725         * calendar/solar.el (solar-longitude):
5726         * calculator.el (calculator-registers, calculator-funcall):
5727         * textmodes/artist.el (artist-spray-random-points):
5728         * play/bubbles.el (bubbles--initialize-images): Use new names.
5730 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
5732         Update to CEDET 1.0's version of EIEIO.
5734         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
5735         New function.
5736         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
5737         (eieio-default-eval-maybe): Eval val instead of unquoting only.
5738         (class-precedence-list): If class is nil, return nil.
5739         (eieio-generic-call): If class of first input arg is nil, don't
5740         look up static methods, and do check for primary methods.
5741         (initialize-instance): See if the default needs to be evaluated
5742         during the constructor.
5743         (eieio-perform-slot-validation-for-default): Don't do the check
5744         for values that will eventually be evaluated.
5745         (eieio-eval-default-p): New function.
5746         (eieio-default-eval-maybe): Use it.
5748 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5750         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
5751         method-invocation-order.
5752         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
5753         (eieio-class-precedence-dfs): Compute class precedence list using
5754         dfs algorithm.
5755         (eieio-class-precedence-bfs): Compute class precedence list using
5756         bfs algorithm.
5757         (eieio-class-precedence-c3): Compute class precedence list using
5758         c3 algorithm.
5759         (class-precedence-list): New function.
5760         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
5761         (inconsistent-class-hierarchy): New error symbol.
5762         (call-next-method): Stow the replacement argument list for future
5763         call-next-method invocations.
5765 2010-09-23  Glenn Morris  <rgm@gnu.org>
5767         * calendar/appt.el (appt-check): If not displaying the diary,
5768         use (diary 1) to only get the entries we need.
5769         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
5770         that it is in day order.  (Bug#7019)
5772         * calendar/appt.el (appt-check): Rather than showing the diary,
5773         just turn off invisible display, and only if needed.
5775         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
5777 2010-09-23  Glenn Morris  <rgm@gnu.org>
5779         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5780         (byte-compile-defvar, byte-compile-cl-warn):
5781         Start warnings with lower-case, like the majority.
5783         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
5785         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5787         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5788         * files.el (auto-mode-alist): Move ld-script entries here, further down
5789         the list.
5791         * vc/add-log.el: Don't require timezone when compiling.
5792         (timezone-make-date-sortable): Autoload it.
5793         (change-log-sortable-date-at): Don't require timezone.
5794         Use `ignore-errors'.
5796         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5797         Move alias before definition, so it does not need autoloading.
5799         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5800         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5801         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5802         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5803         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5804         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5805         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5806         * textmodes/tex-mode.el, textmodes/two-column.el:
5807         Remove leading `*' from docs of defcustoms etc.
5809 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5811         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5813 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5815         * calendar/time-date.el (date-to-time): Try using parse-time-string
5816         first before using the slower timezone-make-date-arpa-standard.
5818 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5820         * calendar/time-date.el (format-seconds): Comment fix.
5822 2010-09-22  Glenn Morris  <rgm@gnu.org>
5824         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5825         is not automatically buffer-local.
5827 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5829         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5830         (smie-indent-comment): Be more careful with comment-start-skip.
5831         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5832         (smie-indent-functions): Use them.
5834 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5836         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5838 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5840         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5841         tool-bar-position.  Don't modify frame parameters here.
5842         (menu-bar-options-save): Add tool-bar-position.
5844         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5846 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5848         * textmodes/reftex-parse.el (reftex-what-macro)
5849         (reftex-context-substring): Let-bind forward-sexp-function to nil
5850         since we don't need/want to treat \begin...\end as a block (bug#7053).
5852         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5854         * simple.el (blink-matching-open): Use syntax-class.
5856         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5857         Set invisibility spec for pascal's outline mode.
5858         (pascal-outline-change): Clean up calling convention.
5859         (pascal-show-all, pascal-hide-other-defuns): Update callers.
5861         * progmodes/prolog.el (prolog-smie-forward-token)
5862         (prolog-smie-backward-token): New functions.
5863         (prolog-mode-variables): Use them to parse "!," correctly.
5864         Set up smie-blink-matching for ".".
5866         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5867         and `end'.
5868         (ispell-region, ispell-process-line): Update users.
5870         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5871         point-min==1.
5873         * textmodes/ispell.el: Fix commenting convention.
5874         (ispell-parse-output): Simplify, use push.
5875         (ispell-region): Use match-string-no-properties.
5876         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5877         (ispell-minor-mode): Use define-minor-mode.
5878         (ispell-message): Remove unused var `skip-regexp'.
5879         (ispell-add-per-file-word-list): Use dynamic let-binding.
5880         Try and use the proper comment marker.
5882         * mail/sendmail.el: Fix commenting convention.
5883         (sendmail-send-it): Use line-beginning-position.
5885         * help-fns.el (describe-variable): Add original value, if applicable.
5887 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
5889         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5891         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5893 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5895         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5896         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5897         (smie-prec2-levels): Use them to better diagnose precedence cycles.
5898         (smie-blink-matching-check): Don't signal a mismatch if car is t.
5899         (smie-blink-matching-open): Rewrite to remove assumptions, so that
5900         something like "." can also be a closer.
5901         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5902         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5903         Rename internal functions to use "--".  Update callers.
5905         * frame.el (make-frame-names-alist): Don't list frames on other displays.
5907         * fringe.el (fringe-styles): New var.
5908         (fringe-mode, fringe-query-style): Use it.
5910 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
5912         * progmodes/sql.el: Version 2.8
5913         (sql-login-params): Update widget structure; changes still needed.
5914         (sql-product-alist): Add :list-all and :list-table features for
5915         SQLite, Postgres and MySQL products.
5916         (sql-redirect): Handle default value.
5917         (sql-execute, sql-execute-feature): New functions.
5918         (sql-read-table-name): New function.
5919         (sql-list-all, sql-list-table): New functions.  User API.
5920         (sql-mode-map, sql-interactive-mode-map): Add key definitions
5921         for above functions.
5922         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5923         for above functions.
5924         (sql-postgres-login-params): Add user and database defaults.
5925         (sql-buffer-live-p): Bug fix.
5926         (sql-product-history): New variable.
5927         (sql-read-product): New function.  Use it.
5928         (sql-set-product, sql-product-interactive): Use it.
5929         (sql-connection-history): New variable.
5930         (sql-read-connection): New function.  Use it.
5931         (sql-connect): New function.
5932         (sql-for-each-login): Redesign function interface.
5933         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5934         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
5935         (sql-comint): Check for program.  Existing live buffer.
5936         (sql-comint-postgres): Add port parameter.
5938 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5940         * emacs-lisp/warnings.el: Fix commenting convention.
5941         (display-warning): Use special mode and make the buffer read-only.
5943 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
5945         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5946         empty string when it follows a repeated or optional pattern.
5948 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5950         * indent.el (indent-according-to-mode): Apply syntax-propertize.
5951         (indent-region): Use indent-according-to-mode.
5953 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
5955         * fringe.el (fringe-mode): Doc fix.
5957 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5959         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5960         refreshing the preview buffer.
5962 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5964         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5965         (latex-syntax-propertize-rules): New consts; replace
5966         tex-font-lock-syntactic-keywords.
5967         (tex-env-mark, latex-env-before-change): New functions.
5968         (latex-electric-env-pair-mode): New minor mode.
5969         (tex-font-lock-verb): Change arguments; do move point.
5970         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5971         representation as a form of comment.
5972         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5973         (doctex-syntax-propertize-rules): New const; replaces
5974         doctex-font-lock-syntactic-keywords.
5975         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5977         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5978         (fortran-make-syntax-propertize-function): New function; replaces
5979         fortran-font-lock-syntactic-keywords.
5980         (fortran-mode): Use it.
5981         (fortran-line-length): Use it.  Improve interactive spec.
5983         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5984         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
5985         when adding surrounding \(..\).
5987         * progmodes/js.el (js-mode): Fix last change (bug#7054).
5989 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5991         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5992         Use with-current-buffer.
5994         * isearch.el (isearch-face): Rename from `isearch'.
5995         (isearch-highlight): Use new name.
5997 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
5999         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
6000         5, for `half' width fringes.  (Bug#6933)
6002 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6004         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6005         (byte-compile-defvar): "foo/bar" does not lack a prefix.
6007         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
6009 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
6011         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
6012         in calculating new frame position.  Add more space between new and
6013         parent on the left (Bug#7048).
6015 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
6017         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
6018         defmacro.
6020 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
6022         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
6024         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
6025         obsolete alias for x-selection-value.
6027         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
6029 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
6031         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
6032         cookie.
6034 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
6036         * net/tramp-compat.el (tramp-compat-with-temp-message)
6037         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
6038         (tramp-compat-process-put): New defuns.
6040         * net/tramp.el (top):
6041         * net/tramp-gvfs.el (top):
6042         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
6044         * net/tramp.el (tramp-progress-reporter-update):
6045         Use `tramp-compat-funcall'.
6047         * net/tramp.el (tramp-process-actions):
6048         * net/tramp-gvfs.el (tramp-handle-vc-registered):
6049         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
6050         (tramp-get-remote-stat, tramp-get-remote-readlink):
6051         Use `tramp-compat-with-temp-message'.
6053         * net/tramp-sh.el (top): Require 'cl.
6054         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
6055         (tramp-open-connection-setup-interactive-shell):
6056         Use `tramp-compat-process-put'.
6058 2010-09-15  Alan Mackenzie  <acm@muc.de>
6060         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
6061         indentation.
6062         (c-forward-<>-arglist-recur): Fix an infinite recursion.
6064 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6066         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
6067         `lexical' for warnings related to lexical scoping.
6068         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
6069         global vars which don't have a prefix and could hence affect lexical
6070         scoping in unrelated files.
6072 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6074         * net/imap.el: Revert back to version
6075         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
6076         seem problematic.
6078 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
6080         * obsolete/old-whitespace.el (whitespace-unload-function):
6081         Explicitly pass `obarray' to `unintern' to avoid a warning.
6083 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6085         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
6086         Add `when' argument.  Update callers.
6088         * subr.el (unintern): Declare the obarray arg mandatory.
6090 2010-09-14  Glenn Morris  <rgm@gnu.org>
6092         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
6093         Doc fixes.
6095         * calendar/diary-lib.el (diary-included-files): New variable.
6096         (diary-list-entries): Maybe initialize diary-included-files.
6097         (diary-include-other-diary-files): Append to diary-included-files.
6098         * calendar/appt.el (appt-update-list): Also check the members of
6099         diary-included-files.  (Bug#6999)
6100         (appt-check): Doc fix.
6102 2010-09-14  David Reitter  <david.reitter@gmail.com>
6104         * simple.el (line-move-visual): Do not truncate goal column to
6105         integer size.  (Bug#7020)
6107 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6109         * repeat.el (repeat): Allow repeating when the last event is a click.
6110         Suggested by Drew Adams (bug#6256).
6112 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
6114         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
6115         Replace setting HGRCPATH to "" by some less invasive --config options.
6117 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6119         * font-lock.el (font-lock-beginning-of-syntax-function):
6120         Mark as obsolete.
6122 2010-09-14  Glenn Morris  <rgm@gnu.org>
6124         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
6125         and tool-bar modes.  (Bug#6211)
6126         (menu-bar-mode): Move setting of standard-value after the
6127         minor-mode definition, otherwise it seems to have no effect.
6129 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
6131         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
6132         Fix typo.  (Bug#6976)
6134 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6136         * whitespace.el: Allow cleaning up blanks without blank
6137         visualization (Bug#6651).  Adjust help window for
6138         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6139         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
6140         (whitespace-style): Add new value 'face.  Adjust docstring.
6141         (whitespace-space, whitespace-hspace, whitespace-tab):
6142         Adjust foreground property face.
6143         (whitespace-line-column): Adjust docstring and type declaration.
6144         (whitespace-style-value-list, whitespace-toggle-option-alist)
6145         (whitespace-help-text): Adjust const initialization.
6146         (whitespace-toggle-options, global-whitespace-toggle-options):
6147         Adjust docstring.
6148         (whitespace-display-window, whitespace-interactive-char)
6149         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6150         (whitespace-help-scroll): New fun.
6152 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6154         * calendar/time-date.el (format-seconds): Comment fix.
6156 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
6158         * progmodes/sql.el: Version 2.7.
6159         (sql-buffer-live-p): Improve detection.
6160         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6161         (sql-set-sqli-buffer): Use it.
6162         (sql-product-interactive): Run `sql-set-sqli-hook'.
6163         (sql-rename-buffer): Code cleanup.
6164         (sql-redirect, sql-redirect-value): New functions.  More to come.
6166 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
6168         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.
6169         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6170         (TRAMP_SRC): New macro.
6171         ($(lisp)/net/tramp-loaddefs.el): New target.
6173 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
6175         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
6177         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
6179         * net/tramp.el (top): Don't show loading message.  Require just
6180         'tramp-compat, everything else is required there.
6181         Use `ignore-errors' where appropriate.
6182         (tramp-inline-compress-start-size, tramp-copy-size-limit)
6183         (tramp-terminal-type, tramp-end-of-output)
6184         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
6185         (tramp-completion-function-alist-ssh)
6186         (tramp-completion-function-alist-telnet)
6187         (tramp-completion-function-alist-su)
6188         (tramp-completion-function-alist-putty, tramp-remote-path)
6189         (tramp-remote-process-environment, tramp-sh-extra-args)
6190         (tramp-actions-before-shell, tramp-uudecode)
6191         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
6192         (tramp-perl-file-attributes)
6193         (tramp-perl-directory-files-and-attributes)
6194         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
6195         (tramp-perl-encode, tramp-perl-decode)
6196         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
6197         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
6198         (tramp-handle-make-symbolic-link, tramp-handle-load)
6199         (tramp-handle-file-name-as-directory)
6200         (tramp-handle-file-name-directory)
6201         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
6202         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
6203         (tramp-do-file-attributes-with-ls)
6204         (tramp-do-file-attributes-with-perl)
6205         (tramp-do-file-attributes-with-stat)
6206         (tramp-handle-set-visited-file-modtime)
6207         (tramp-handle-verify-visited-file-modtime)
6208         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
6209         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
6210         (tramp-handle-file-selinux-context)
6211         (tramp-handle-set-file-selinux-context)
6212         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
6213         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
6214         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
6215         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
6216         (tramp-handle-file-ownership-preserved-p)
6217         (tramp-handle-directory-file-name, tramp-handle-directory-files)
6218         (tramp-handle-directory-files-and-attributes)
6219         (tramp-do-directory-files-and-attributes-with-perl)
6220         (tramp-do-directory-files-and-attributes-with-stat)
6221         (tramp-handle-file-name-all-completions)
6222         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
6223         (tramp-handle-copy-file, tramp-handle-copy-directory)
6224         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
6225         (tramp-do-copy-or-rename-file-via-buffer)
6226         (tramp-do-copy-or-rename-file-directly)
6227         (tramp-do-copy-or-rename-file-out-of-band)
6228         (tramp-handle-make-directory, tramp-handle-delete-directory)
6229         (tramp-handle-delete-file)
6230         (tramp-handle-dired-recursive-delete-directory)
6231         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
6232         (tramp-handle-insert-directory)
6233         (tramp-handle-unhandled-file-name-directory)
6234         (tramp-handle-expand-file-name)
6235         (tramp-handle-substitute-in-file-name)
6236         (tramp-handle-executable-find, tramp-process-sentinel)
6237         (tramp-handle-start-file-process, tramp-handle-process-file)
6238         (tramp-handle-call-process-region, tramp-handle-shell-command)
6239         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
6240         (tramp-handle-insert-file-contents)
6241         (tramp-handle-insert-file-contents-literally)
6242         (tramp-handle-find-backup-file-name)
6243         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
6244         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
6245         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
6246         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
6247         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
6248         (tramp-find-file-exists-command, tramp-open-shell)
6249         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
6250         (tramp-open-connection-setup-interactive-shell)
6251         (tramp-local-coding-commands, tramp-remote-coding-commands)
6252         (tramp-find-inline-encoding, tramp-call-local-coding-command)
6253         (tramp-inline-compress-commands, tramp-find-inline-compress)
6254         (tramp-compute-multi-hops, tramp-maybe-open-connection)
6255         (tramp-send-command, tramp-wait-for-output)
6256         (tramp-send-command-and-check, tramp-barf-unless-okay)
6257         (tramp-send-command-and-read, tramp-mode-string-to-int)
6258         (tramp-convert-file-attributes, tramp-check-cached-permissions)
6259         (tramp-file-mode-from-int, tramp-file-mode-permissions)
6260         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
6261         (tramp-method-out-of-band-p, tramp-local-host-p)
6262         (tramp-get-remote-path, tramp-get-remote-tmpdir)
6263         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
6264         (tramp-get-test-command, tramp-get-test-nt-command)
6265         (tramp-get-file-exists-command, tramp-get-remote-ln)
6266         (tramp-get-remote-perl, tramp-get-remote-stat)
6267         (tramp-get-remote-readlink, tramp-get-remote-trash)
6268         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
6269         (tramp-get-local-uid, tramp-get-local-gid)
6270         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
6271         tramp-sh.el.
6272         (tramp-methods, tramp-default-method-alist)
6273         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
6274         Move initialization to tramp-sh.el.
6275         (tramp-temp-name-prefix): Make it a defconst.
6276         (tramp-dissect-file-name): Don't check anymore for multi-hop
6277         methods.
6278         (tramp-debug-outline-regexp): Add a docstring.
6279         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
6280         (tramp-get-debug-buffer): Use it.
6282         * net/tramp-cache.el (top): Set tramp-autoload cookie for
6283         initialization forms.
6284         (tramp-set-connection-property): Don't protect `tramp-message'
6285         call, it isn't necessary any longer.
6286         (tramp-dump-connection-properties): Use `ignore-errors'.
6288         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
6289         'password-cache and 'auth-source.
6291         * net/tramp-gvfs.el (top):
6292         * net/tramp-smb.el (top): Require 'tramp-sh.
6294         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
6296         * net/tramp-sh.el: New file, derived from tramp.el.
6297         (top): Initialize `tramp-methods', `tramp-default-method-alist',
6298         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
6299         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
6300         Use `ignore-errors' where appropriate.
6301         (tramp-sh-file-name-handler-alist): Rename from
6302         `tramp-file-name-handler-alist'.
6303         (tramp-send-command-and-check): Return t or nil.  Remove all
6304         `zerop' checks, where called.
6305         (tramp-handle-set-file-modes)
6306         (tramp-do-copy-or-rename-file-directly)
6307         (tramp-handle-delete-directory, tramp-handle-delete-file)
6308         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
6309         (tramp-sh-file-name-handler, tramp-send-command-and-check)
6310         (tramp-get-remote-ln): Set tramp-autoload cookie.
6312         * net/tramp-fish.el: Remove file.
6314 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
6316         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
6317         buffer-file-name to avoid file-locking.  (Bug#7026)
6319 2010-09-13  Julien Danjou  <julien@danjou.info>
6321         * notifications.el (notifications-notify): Add support for
6322         image-path and sound-name.
6323         (notifications-specification-version): Add this variable.
6325 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6327         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
6329 2010-09-12  Leo  <sdl.web@gmail.com>
6331         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
6332         (rcirc-completion-start): New variables.
6333         (rcirc-nick-completions): Rename to rcirc-completions.
6334         (rcirc-nick-completion-start-offset): Delete.
6335         (rcirc-completion-at-point): New function for constructing
6336         completion data for both nicks and irc commands.  Add to
6337         completion-at-point-functions in rcirc mode.
6338         (rcirc-complete): Rename from rcirc-nick-complete; use
6339         rcirc-completion-at-point.
6340         (defun-rcirc-command): Update rcirc-client-commands.
6342 2010-09-11  Glenn Morris  <rgm@gnu.org>
6344         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
6345         atomically, to avoid parallel build errors.  (Bug#4196)
6347 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
6349         * progmodes/sql.el: Version 2.6
6350         (sql-dialect): Synonym for "sql-product".
6351         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
6352         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
6353         Set "sql-buffer" to buffer name not buffer object so multiple sql
6354         interactive buffers work properly.  Reverts misguided changes in
6355         earlier work.
6356         (sql-comint): Make sure different buffer name is used if "*SQL*"
6357         buffer is for a different product.
6358         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
6359         login param.
6360         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6361         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6362         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
6363         Accept new buffer name or prompt for one.
6364         (sql-port): Default to zero.
6365         (sql-comint-mysql): Handle "sql-port" as a numeric.
6366         (sql-port-history): Delete unused variable.
6367         (sql-get-login): Default "sql-port" to a number.
6368         (sql-product-alist): Correct Postgres prompt and terminator regexp.
6369         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
6370         "sqlite3" executables.
6371         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
6372         (sql-buffer-live-p): New function.
6373         (sql-mode-menu, sql-send-string): Use it.
6374         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
6375         syntax pattern.
6376         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
6377         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
6379 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6381         * net/netrc.el (netrc-credentials): New convenience function.
6383 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6385         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
6386         to replace texinfo-font-lock-syntactic-keywords.
6387         (texinfo-mode): Use it.
6389         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
6390         Use syntax-propertize-function.
6392         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
6393         replace sgml-font-lock-syntactic-keywords.
6394         (sgml-mode): Use it.
6396         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
6397         since we don't use it.
6399         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
6401         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
6402         if available.
6403         (vhdl-fontify-buffer): Adjust.
6405         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
6406         replace tcl-font-lock-syntactic-keywords.
6407         (tcl-mode): Use it.
6409         * progmodes/simula.el (simula-syntax-propertize-function): New var to
6410         replace simula-font-lock-syntactic-keywords.
6411         (simula-mode): Use it.
6413         * progmodes/sh-script.el (sh-st-symbol): Remove.
6414         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
6415         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
6416         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
6417         (sh-font-lock-paren): Set syntax-multiline.
6418         (sh-font-lock-syntactic-keywords): Remove.
6419         (sh-syntax-propertize-function): New function to replace it.
6420         (sh-mode): Use it.
6422         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
6423         Define while compiling.
6424         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6425         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
6426         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
6427         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6428         (ruby-here-doc-end-syntax): Only define when
6429         syntax-propertize is not available.
6430         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
6431         New functions.
6432         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
6433         (electric-indent-chars): Silence bytecompiler.
6434         (ruby-mode): Use prog-mode, syntax-propertize-function, and
6435         electric-indent-chars.
6437         * progmodes/python.el (python-syntax-propertize-function): New var to
6438         replace python-font-lock-syntactic-keywords.
6439         (python-mode): Use it.
6440         (python-quote-syntax): Simplify and adjust to new use.
6442         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
6443         replace perl-font-lock-syntactic-keywords.
6444         (perl-syntax-propertize-special-constructs): New fun to replace
6445         perl-font-lock-special-syntactic-constructs.
6446         (perl-font-lock-syntactic-face-function): New fun.
6447         (perl-mode): Use it.
6449         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
6450         to replace octave-font-lock-close-quotes.
6451         (octave-syntax-propertize-function): New function to replace
6452         octave-font-lock-syntactic-keywords.
6453         (octave-mode): Use it.
6455         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
6456         replaces mixal-font-lock-syntactic-keywords.
6457         (mixal-mode): Use it.
6459         * progmodes/make-mode.el (makefile-syntax-propertize-function):
6460         New var; replaces makefile-font-lock-syntactic-keywords.
6461         (makefile-mode): Use it.
6462         (makefile-imake-mode): Adjust.
6464         * progmodes/js.el (js--regexp-literal): Define while compiling.
6465         (js-syntax-propertize-function): New var; replaces
6466         js-font-lock-syntactic-keywords.
6467         (js-mode): Use it.
6469         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
6470         replaces gdb-script-font-lock-syntactic-keywords.
6471         (gdb-script-mode): Use it.
6473         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
6474         (fortran--font-lock-syntactic-keywords): New var.
6475         (fortran-line-length): Update syntax-propertize-function and
6476         fortran--font-lock-syntactic-keywords.
6478         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
6480         * progmodes/cfengine.el (cfengine-mode):
6481         Use syntax-propertize-function.
6482         (cfengine-font-lock-syntactic-keywords): Remove.
6484         * progmodes/autoconf.el (autoconf-mode):
6485         Use syntax-propertize-function.
6486         (autoconf-font-lock-syntactic-keywords): Remove.
6488         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
6489         (ada-after-change-function, ada-initialize-syntax-table-properties)
6490         (ada-handle-syntax-table-properties): Only define when
6491         syntax-propertize is not available.
6492         (ada-mode): Use syntax-propertize-function.
6494         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
6495         (font-lock-fontify-syntactic-keywords-region): Move handling of
6496         font-lock-syntactically-fontified to...
6497         (font-lock-default-fontify-region): ...here.
6498         Let syntax-propertize-function take precedence.
6499         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
6501         * emacs-lisp/syntax.el (syntax-propertize-function)
6502         (syntax-propertize-chunk-size, syntax-propertize--done)
6503         (syntax-propertize-extend-region-functions): New vars.
6504         (syntax-propertize-wholelines, syntax-propertize-multiline)
6505         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
6506         (syntax-propertize): New functions.
6507         (syntax-propertize-rules): New macro.
6508         (syntax-ppss-flush-cache): Set syntax-propertize--done.
6509         (syntax-ppss): Call syntax-propertize.
6511         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
6513 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
6515         * textmodes/ispell.el (ispell-init-process): Improve comments.
6516         XEmacs compatibility changes regarding (add-hook) 'local option
6517         and (set-process-query-on-exit-flag).
6519 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
6521         * net/tramp-cache.el (tramp-parse-connection-properties):
6522         Set tramp-autoload cookie.
6524 2010-09-09  Glenn Morris  <rgm@gnu.org>
6526         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
6527         (imagemagick-register-types): Doc fix.
6529 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6531         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
6533         * progmodes/js.el (require): Require is already "eval-and-compile".
6534         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
6535         (js--re-search-backward): Use js--re-search-forward.
6537         * progmodes/fortran.el (fortran-line-length): Don't recompute
6538         syntactic keywords redundantly a second time.
6540         * progmodes/ada-mode.el: Replace "(set '" with setq.
6541         (ada-mode): Simplify.
6542         (ada-create-case-exception, ada-adjust-case-interactive)
6543         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
6544         (ada-search-ignore-string-comment, ada-move-to-start)
6545         (ada-move-to-end): Use with-syntax-table.
6547         * font-lock.el (save-buffer-state): Remove `varlist' arg.
6548         (font-lock-unfontify-region, font-lock-default-fontify-region):
6549         Update usage correspondingly.
6550         (font-lock-fontify-syntactic-keywords-region):
6551         Set parse-sexp-lookup-properties buffer-locally here.
6552         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
6554         * simple.el (blink-matching-open): Don't burp if we can't find a match.
6556 2010-09-08  Glenn Morris  <rgm@gnu.org>
6558         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
6559         Error if not compiled with -DBYTE_CODE_METER.
6561         * emacs-lisp/bytecomp.el (byte-recompile-directory):
6562         Ignore dir-locals-file.
6564 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6566         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6567         Not a const.
6568         (compilation-error-regexp-alist-alist): Rule out ": " in file names
6569         for the `gnu' messages.
6570         (compilation-set-skip-threshold): New command.
6571         (compilation-start): Use \' rather than $.
6572         (compilation-forget-errors): Use clrhash.
6574 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
6576         * textmodes/ispell.el (ispell-valid-dictionary-list):
6577         Simplify logic.
6579 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
6581         Migrate to Tramp 2.2.  Rearrange load dependencies.
6582         (Bug#1529, Bug#5448, Bug#5705)
6584         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
6585         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
6586         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
6588         * net/tramp.el (top): Remove all other tramp-* loads except
6589         tramp-compat.el.  Remove all changes to tramp-unload-hook for
6590         other tramp-* packages.  Rearrange defun order.  Change calls of
6591         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
6592         `tramp-compat-octal-to-decimal' to new function names.
6593         (tramp-terminal-type, tramp-initial-end-of-output)
6594         (tramp-methods, tramp-foreign-file-name-handler-alist)
6595         (tramp-tramp-file-p, tramp-completion-mode-p)
6596         (tramp-send-command-and-check, tramp-get-remote-path)
6597         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
6598         (tramp-shell-quote-argument): Set tramp-autoload cookie.
6599         (with-file-property, with-connection-property): Move to
6600         tramp-cache.el.
6601         (tramp-local-call-process, tramp-decimal-to-octal)
6602         (tramp-octal-to-decimal): Move to tramp-compat.el.
6603         (tramp-handle-shell-command): Do not require 'shell.
6604         (tramp-compute-multi-hops): No special handling for tramp-gw-*
6605         symbols.
6606         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
6608         * net/tramp-cache.el (top): Require 'tramp.  Add to
6609         `tramp-unload-hook'.
6610         (tramp-cache-data, tramp-get-file-property)
6611         (tramp-set-file-property, tramp-flush-file-property)
6612         (tramp-flush-directory-property, tramp-get-connection-property)
6613         (tramp-set-connection-property, tramp-flush-connection-property)
6614         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
6615         cookie.
6616         (with-file-property, with-connection-property): New defuns, moved
6617         from tramp.el.
6618         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
6619         macro.
6621         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
6622         (tramp-version): Set tramp-autoload cookie.
6624         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
6625         changes to tramp-unload-hook for other tramp-* packages.  Add to
6626         `tramp-unload-hook'.
6627         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
6628         (tramp-compat-call-process): New defuns, moved from tramp.el.
6630         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
6631         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6632         Add to `tramp-unload-hook'.  Change call of
6633         `tramp-compat-decimal-to-octal' to new function name.
6634         (tramp-fish-method): Make it a defconst.
6635         (tramp-fish-file-name-p): Make it a defsubst.
6636         (tramp-fish-method, tramp-fish-file-name-handler)
6637         (tramp-fish-file-name-p): Set tramp-autoload cookie.
6639         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
6640         `tramp-foreign-file-name-handler-alist'.  Add to
6641         `tramp-unload-hook'.
6642         (tramp-ftp-method): Make it a defconst.
6643         (tramp-ftp-file-name-p): Make it a defsubst.
6644         (tramp-ftp-method, tramp-ftp-file-name-handler)
6645         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
6647         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
6648         `tramp-foreign-file-name-handler-alist'.  Add to
6649         `tramp-unload-hook'.  Change checks, whether package can be
6650         loaded.
6651         (tramp-gvfs-file-name-p): Make it a defsubst.
6652         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
6653         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
6654         (tramp-gvfs-handle-file-directory-p): New defun.
6655         (tramp-gvfs-file-name-handler-alist): Use it.
6657         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
6658         `tramp-foreign-file-name-handler-alist'.  Add to
6659         `tramp-unload-hook'.
6660         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
6661         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
6662         defconst.
6663         (tramp-gw-tunnel-method, tramp-gw-socks-method)
6664         (tramp-gw-open-connection): Set tramp-autoload cookie.
6666         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
6667         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6668         Add to `tramp-unload-hook'.  Change checks, whether package can be
6669         loaded.
6670         (tramp-imap-file-name-p): Make it a defsubst.
6671         (tramp-imap-method, tramp-imaps-method)
6672         (tramp-imap-file-name-handler)
6673         (tramp-imap-file-name-p): Set tramp-autoload cookie.
6675         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
6676         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
6677         Add to `tramp-unload-hook'.  Change checks, whether package can be
6678         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
6679         function name.
6680         (tramp-smb-tunnel-method): Make it a defconst.
6681         (tramp-smb-file-name-p): Make it a defsubst.
6682         (tramp-smb-method, tramp-smb-file-name-handler)
6683         (tramp-smb-file-name-p): Set tramp-autoload cookie.
6685         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
6686         (tramp-uuencode-region): Set tramp-autoload cookie.
6688         * net/trampver.el (top) Add to `tramp-unload-hook'.
6689         (tramp-version, tramp-bug-report-address): Set tramp-autoload
6690         cookie.  Update release number.
6692 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
6694         * textmodes/ispell.el (ispell-start-process): Make sure original
6695         arg list is properly initialized (Bug#6993, Bug#6994).
6697 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6699         * files.el (directory-abbrev-alist): Use \` as default regexp.
6701         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
6702         chars like - or ] (bug#6984).
6703         (rx-any-condense-range): Explode 2-char ranges.
6705 2010-09-06  Glenn Morris  <rgm@gnu.org>
6707         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
6709 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6711         * textmodes/bibtex.el:
6712         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
6714 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6716         * net/imap.el (imap-message-map): Remove optional buffer parameter,
6717         since no callers use it.
6718         (imap-message-get): Ditto.
6719         (imap-message-put): Ditto.
6720         (imap-mailbox-map): Ditto.
6721         (imap-mailbox-put): Ditto.
6722         (imap-mailbox-get): Ditto.
6723         (imap-mailbox-get): Revert last change for this function.
6725 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6727         * net/imap.el (imap-fetch-safe): Remove function, and alter all
6728         callers to use `imap-fetch' instead.  According to the comments, this
6729         should be safe, since all other IMAP clients use the 1:* syntax.
6730         (imap-enable-exchange-bug-workaround): Remove.
6731         (imap-debug): Remove -- doesn't seem very useful.
6733 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6735         * net/imap.el (imap-log): New convenience function used throughout
6736         instead of repeating the same code all over the place.
6738 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
6740         * mouse.el (mouse-save-then-kill): Save region to kill-ring
6741         when mouse-drag-copy-region is non-nil (Bug#6956).
6743 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
6745         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
6746         Improve regexps (Bug#6987).
6747         (dired-sort-toggle): Search more robustly for -t flag.
6749         * files.el (get-free-disk-space): Search more robustly for
6750         "available" column.  Suggested by Ehud Karni
6751         <ehud@unix.mvs.co.il>.
6753 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
6755         * international/uni-bidi.el:
6756         * international/uni-category.el:
6757         * international/uni-combining.el:
6758         * international/uni-decimal.el:
6759         * international/uni-mirrored.el:
6760         * international/uni-name.el: Regenerate.
6762 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6764         * electric.el (electric-indent-post-self-insert-function):
6765         Don't reindent with a sloppy indentation function.
6767         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
6768         border case in change-log-mode.
6770 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
6772         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6773         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
6774         Recognize leading tab in gcc-include regexp.  Ignore names with
6775         leading "from" or "in" in gnu regexp (Bug#6937).
6777 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6779         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
6780         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
6781         (ispell-start-process): Avoid setq and simplify logic.
6782         (ispell-init-process): Setup kill-buffer-hook locally when needed.
6783         (kill-buffer-hook): Don't use it globally with code that uses
6784         expand-file-name since that may call kill-buffer via
6785         code_conversion_restore.
6787 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6789         * emacs-lisp/package.el (package-directory-list): Only call
6790         file-name-nondirectory on a string.
6792 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6794         * emacs-lisp/package.el (package--download-one-archive):
6795         Ensure that archive-contents is valid before saving it.
6796         (package-activate-1, package-mark-obsolete, define-package)
6797         (package-compute-transaction, package-list-maybe-add): Use push.
6799 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6801         Use SMIE's blink-paren for octave-mode.
6802         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6803         Backslashes do not escape single-quotes, single-quotes do.
6804         (octave-block-else-regexp, octave-block-end-regexp)
6805         (octave-block-match-alist): Remove.
6806         (octave-smie-bnf-table): New var, with old content.
6807         (octave-smie-op-levels): Use it.
6808         (octave-smie-closer-alist): New var.
6809         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6810         (octave-blink-matching-block-open): Remove.
6811         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6812         (octave-electric-space): Let self-insert-command run expand-abbrev and
6813         blink parens.
6815         * electric.el (electricity): New group.
6816         (electric-indent-chars): New var.
6817         (electric-indent-post-self-insert-function): New fun.
6818         (electric-indent-mode): New minor mode.
6819         (electric-pair-skip-self): New custom.
6820         (electric-pair-post-self-insert-function): New function.
6821         (electric-pair-mode): New minor mode.
6823         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6824         calcAlg-blink-matching-open.
6825         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6826         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6827         Use the new blink-matching-check-function.
6829         Provide blink-matching support to SMIE.
6830         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6831         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6832         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6834         * simple.el (newline): Fix last change to properly remove itself from
6835         the hook.
6837 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6839         * simple.el (newline): Eliminate optimization.
6840         Use post-self-insert-hook to set hard-newline and things before
6841         running post-self-insert-hook.
6842         (blink-matching-check-mismatch): New function.
6843         (blink-matching-check-function): New variable.
6844         (blink-matching-open): Use them.
6845         Skip back forward over prefix chars skipped by forward-sexp.
6846         Don't check if the parens are backslash escaped.
6847         (blink-paren-post-self-insert-function): Check backslash escaping here.
6849 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6851         * emacs-lisp/package.el (package-menu-mode-map):
6852         Change package-menu-revert bindings to revert-buffer.
6853         (package-menu-mode): Set revert-buffer-function.
6854         (package-menu-revert): Doc fix.
6856 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
6858         * textmodes/ispell.el (ispell-init-process): Use "~/" as
6859         `default-directory' unless using Ispell per-directory personal
6860         dictionaries and not in a mini-buffer under XEmacs.
6861         (kill-buffer-hook): Do not kill ispell process on exit when
6862         `ispell-process-directory' is "~/".  (Bug#6143)
6864 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
6866         * simple.el (kill-new): Call interprogram-cut-function with only
6867         one argument.
6869         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6870         Remove cut buffer from error message.
6872         * term/x-win.el (x-select-text):
6873         * term/pc-win.el (x-selection-value):
6874         * term/ns-win.el (x-selection-value):
6875         * eshell/em-term.el:
6876         * w32-fns.el (x-get-selection-value):
6877         * mouse-sel.el (mouse-sel-set-selection-function):
6878         * frame.el (display-selections-p): Remove cut-buffer in documentation.
6880         * term/x-win.el: Update documentation for x-last-selected-text-*.
6881         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6882         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6883         (x-select-text): Remove argument PUSH, update documentation.
6884         Remove cut-buffer code.
6885         (x-selection-value-internal): Was previously x-selection-value.
6886         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6887         Update documentation, remove cut-buffer code.
6888         Call x-selection-value-internal.
6889         (x-clipboard-yank): Call x-selection-value-internal.
6890         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6892         * term/pc-win.el (x-last-selected-text):
6893         x-cut-buffer-or-selection-value renamed to x-selection-value
6894         (x-select-text): Remove argument PUSH, update documentation.
6896         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6897         x-cut-buffer-or-selection-value renamed to x-selection-value
6898         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6899         (x-select-text): Remove argument PUSH, update documentation.
6901         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6903         * w32-fns.el (x-last-selected-text):
6904         x-cut-buffer-or-selection-value renamed to x-selection-value.
6905         (x-cut-buffer-max): Remove.
6906         (x-select-text): Remove argument PUSH, update documentation.
6908         * simple.el (interprogram-cut-function): Remove mention of PUSH.
6910         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6912         * mouse-sel.el (mouse-sel-get-selection-function):
6913         x-cut-buffer-or-selection-value renamed to x-selection-value.
6914         (x-select-text): Remove optional push.
6916 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6918         * simple.el (blink-paren-function): Move from C to here.
6919         (blink-paren-post-self-insert-function): New function.
6920         (post-self-insert-hook): Use it.
6922         * emacs-lisp/pcase.el (pcase-split-memq):
6923         Fix overenthusiastic optimisation.
6924         (pcase-u1): Handle the case of a lambda pred.
6926 2010-08-31  Kenichi Handa  <handa@m17n.org>
6928         * international/mule-cmds.el (standard-display-european-internal):
6929         Setup standard-display-table for 8-bit characters by storing 8-bit
6930         characters in the element vector.
6932         * disp-table.el (standard-display-8bit):
6933         Setup standard-display-table for 8-bit characters by storing 8-bit
6934         characters in the element vector.
6935         (standard-display-european): Likewise.
6937 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
6939         * textmodes/nroff-mode.el (nroff-view): New command.
6940         (nroff-mode-map): Bind it to C-c C-c.
6942 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6944         * emacs-lisp/smie.el (smie-down-list): New command.
6946         Remove old indentation and navigation code on octave-mode.
6947         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6948         smie-down-list rather than add a binding for octave-down-block.
6949         (octave-mark-block, octave-blink-matching-block-open):
6950         Rely on forward-sexp-function.
6951         (octave-fill-paragraph): Don't narrow, so you can use
6952         indent-according-to-mode.
6953         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6954         (octave-in-block-p, octave-re-search-forward-kw)
6955         (octave-re-search-backward-kw, octave-indent-calculate)
6956         (octave-end-as-array-index-p, octave-block-end-offset)
6957         (octave-scan-blocks, octave-forward-block, octave-backward-block)
6958         (octave-down-block, octave-backward-up-block, octave-up-block)
6959         (octave-before-magic-comment-p, octave-indent-line): Remove.
6961 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
6963         * emacs-lisp/package.el (package--read-archive-file): Just use
6964         `read', to avoid copying an additional string.
6965         (package-menu-mode): Set header-line-format here.
6966         (package-menu-refresh, package-menu-revert): Signal an error if
6967         not in the Package Menu.
6968         (package-menu-package-list): New var.
6969         (package--generate-package-list): Operate on the current buffer;
6970         don't assume that it is *Packages*, since the user may rename it.
6971         Allow persistent package listings and sort keys using
6972         package-menu-package-list and package-menu-package-sort-key.
6973         (package-menu--version-predicate): Fix version calculation.
6974         (package-menu-sort-by-column): Don't select the window.
6975         (package--list-packages): Create the *Packages* buffer.
6976         Set package-menu-package-list-key.
6977         (list-packages): Sorting by status is now the default.
6978         (package-buffer-info): Use match-string-no-properties.
6979         (define-package): Add a &rest argument for future proofing, but
6980         don't use it yet.
6981         (package-install-from-buffer, package-install-buffer-internal):
6982         Merge into a single function, package-install-from-buffer.
6983         (package-install-file): Change caller.
6985         * finder.el: Load finder-inf using `require'.
6986         (finder-list-matches): Sorting by status is now the default.
6987         (finder-compile-keywords): Simpify printing.
6989 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6991         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6992         (octave-mode-map): Remove special bindings for forward/backward-block
6993         and octave-backward-up-block.  Use smie-close-block.
6994         (octave-continuation-marker-regexp): New var.
6995         (octave-continuation-regexp): Use it.
6996         (octave-operator-table, octave-smie-op-levels)
6997         (octave-operator-regexp, octave-smie-indent-rules): New vars.
6998         (octave-smie-backward-token, octave-smie-forward-token): New funs.
6999         (octave-mode): Use SMIE.
7000         (octave-close-block): Delete.
7002 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
7004         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
7005         CLIPBOARD, not in PRIMARY.  (Bug#6944)
7007 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7009         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
7010         a list of parents.
7011         (smie-indent-column): Allow indirection through variables.
7013         * composite.el (save-buffer-state): Delete, unused.
7014         * font-lock.el (save-buffer-state): Use with-silent-modifications.
7015         (font-lock-default-fontify-region): Use with-syntax-table.
7016         * jit-lock.el (with-buffer-unmodified): Remove.
7017         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
7019         Use `declare' in defmacros.
7020         * window.el (save-selected-window):
7021         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
7022         * progmodes/python.el (def-python-skeleton):
7023         * net/dbus.el (dbus-ignore-errors):
7024         * jka-cmpr-hook.el (with-auto-compression-mode):
7025         * international/mule.el (with-category-table):
7026         * emacs-lisp/timer.el (with-timeout):
7027         * emacs-lisp/lisp-mnt.el (lm-with-file):
7028         * emacs-lisp/eieio.el (with-slots):
7029         * emacs-lisp/easymenu.el (easy-menu-define):
7030         * emacs-lisp/debug.el (debugger-env-macro):
7031         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
7032         (Multiple-value-call, Multiple-value-prog1):
7033         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
7034         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
7035         edebug rule to definition.
7036         * emacs-lisp/lisp-mode.el (save-selected-window)
7037         (with-current-buffer, combine-after-change-calls)
7038         (with-output-to-string, with-temp-file, with-temp-buffer)
7039         (with-temp-message, with-syntax-table, read-if, eval-after-load)
7040         (dolist, dotimes, when, unless):
7041         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
7043 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7045         * finder.el: Require `package'.
7046         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
7047         (finder-package-info): Var deleted.
7048         (finder-keywords-hash, finder--builtins-alist): New vars.
7049         (finder-compile-keywords): Compute package--builtins and
7050         finder-keywords-hash instead of finder-keywords-hash, respecting
7051         the "Package" header.
7052         (finder-unknown-keywords, finder-list-matches):
7053         Use finder-keywords-hash and package--list-packages.
7054         (finder-mode): Don't set font-lock-defaults.
7055         (finder-exit): We don't use "*Finder-package*" and "*Finder
7056         Category*" buffers anymore.
7058         * emacs-lisp/package.el (package--builtins-base): Var deleted.
7059         (package--builtins): Set default value to nil.
7060         (package-initialize): Load precomputed value of package--builtins
7061         from finder-inf.el.
7062         (package-alist, package-compute-transaction)
7063         (package-download-transaction): Improve docstring.
7064         (package-read-all-archive-contents): Do not change
7065         package--builtins here.
7066         (list-packages): Make package-list-packages an alias for this.
7067         Sort by status by default.
7068         (package--list-packages): Add optional PACKAGES arg.
7069         (describe-package-1): Use font-lock-face property.  For built-in
7070         packages, insert file commentary.
7071         (package--generate-package-list): Rename from
7072         package-list-packages-internal; all callers changed.  Add optional
7073         PACKAGES arg.  Add alphabetical sort fallbacks.
7074         (package-menu--version-predicate, package-menu--status-predicate)
7075         (package-menu--description-predicate)
7076         (package-menu--name-predicate): New functions.
7078         * info.el (Info-finder-find-node): Search package-alist instead of
7079         finder-package-info.
7081 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
7083         * subr.el (version-regexp-alist): Don't use "a" and "b" for
7084         "alpha" and "beta".
7085         (version-to-list): Handle versions like "10.3d".
7087 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7089         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
7090         (macroexp-accumulate): Use `declare'.
7092 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7094         * whitespace.el (whitespace-style): Adjust type declaration.
7096 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
7098         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7099         empty argument to gvfs-copy.
7101 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7103         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7104         handle new TRASH arg of `delete-file'.
7106 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7108         * net/tramp.el (tramp-handle-insert-directory): Don't use
7109         `forward-word', its default syntax could be changed.
7111 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7112             Michael Albinus  <michael.albinus@gmx.de>
7114         Implement compression for inline methods.
7116         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7117         (tramp-copy-size-limit): Allow also nil.
7118         (tramp-inline-compress-commands): New defconst.
7119         (tramp-find-inline-compress, tramp-get-inline-compress)
7120         (tramp-get-inline-coding): New defuns.
7121         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7122         replaced by `tramp-get-inline-coding'.
7123         (tramp-handle-file-local-copy, tramp-handle-write-region)
7124         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7126 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
7128         Detect ssh 'ControlMaster' argument automatically in some cases.
7130         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7131         (tramp-default-method): Use it.
7133 2010-08-26  Karel Klíč  <kklic@redhat.com>
7135         * net/tramp.el (tramp-file-name-for-operation):
7136         Add file-selinux-context.
7138 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
7140         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
7142 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7144         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
7145         (Bug#6907).
7147 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
7149         * progmodes/js.el: Make indentation more customizable (Bug#6914).
7150         (js-paren-indent-offset, js-square-indent-offset)
7151         (js-curly-indent-offset): New options.
7152         (js--proper-indentation): Use them.
7154 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
7156         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
7157         instead of inspecting font-lock properties (Bug#6916).
7159 2010-08-26  David Reitter  <david.reitter@gmail.com>
7161         * server.el (server-visit-files): Run pre-command-hook and
7162         post-command-hook for each buffer while it is current (Bug#6910).
7163         (server-execute): Do not run hooks here.
7165 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
7167         Sync with Tramp 2.1.19.
7169         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7170         (tramp-reporter-dump-variable, tramp-load-report-modules)
7171         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
7172         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
7174         * net/tramp-compat.el (top): Do not autoload
7175         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7176         only when `start-file-process' is not bound.
7177         (byte-compile-not-obsolete-vars): Define if not bound.
7178         (tramp-compat-funcall): New defmacro.
7179         (tramp-compat-line-beginning-position)
7180         (tramp-compat-line-end-position)
7181         (tramp-compat-temporary-file-directory)
7182         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7183         (tramp-compat-copy-file, tramp-compat-copy-directory)
7184         (tramp-compat-delete-file, tramp-compat-delete-directory)
7185         (tramp-compat-number-sequence, tramp-compat-process-running-p):
7186         Use it.
7187         (tramp-advice-file-expand-wildcards): Do not use
7188         `tramp-handle-file-remote-p'.
7189         (tramp-compat-make-temp-file): Simplify fallback implementation.
7190         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7191         (tramp-compat-copy-tree): Remove function.
7192         (tramp-compat-delete-file): New defun.
7193         (tramp-compat-delete-directory): Provide implementation for older
7194         Emacsen.
7195         (tramp-compat-file-attributes): Handle only
7196         `wrong-number-of-arguments' error.
7198         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7199         Add PRESERVE_SELINUX_CONTEXT.
7200         (tramp-fish-handle-delete-file): Add TRASH arg.
7201         (tramp-fish-handle-directory-files-and-attributes):
7202         Do not use `tramp-fish-handle-file-attributes.
7203         (tramp-fish-handle-file-local-copy)
7204         (tramp-fish-handle-insert-file-contents)
7205         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
7207         * net/tramp-gvfs.el (top): Require url-util.
7208         (tramp-gvfs-mount-point): Remove.
7209         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
7210         and `set-file-selinux-context'.
7211         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
7212         (tramp-gvfs-handle-file-selinux-context)
7213         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7214         (with-tramp-dbus-call-method): Format trace message.
7215         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7216         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7217         Implement backup call, when operation on local files fails.
7218         Use progress reporter.  Flush properties of changed files.
7219         (tramp-gvfs-handle-delete-file): Add TRASH arg.
7220         Use `tramp-compat-delete-file'.
7221         (tramp-gvfs-handle-expand-file-name): Expand "~/".
7222         (tramp-gvfs-handle-make-directory): Make more traces.
7223         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
7224         (tramp-gvfs-url-file-name): Hexify file name in url.
7225         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7226         into account for the resulting file name.
7227         (tramp-gvfs-handler-askquestion): Preserve current message, in
7228         order to let progress reporter continue afterwards.  (Bug#6257)
7229         Return dummy mountpoint, when the answer is "no".
7230         See `tramp-gvfs-maybe-open-connection'.
7231         (tramp-gvfs-handler-mounted-unmounted)
7232         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7233         attribute "default_location".  Set "prefix" property.
7234         Handle default-location.
7235         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7236         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7237         exists.  Raise an error, if not (due to a corresponding answer
7238         "no" in interactive questions, for example).
7239         Use `tramp-compat-funcall'.
7241         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7242         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7243         (tramp-imap-do-copy-or-rename-file)
7244         (tramp-imap-handle-insert-file-contents)
7245         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7246         (tramp-imap-handle-delete-file): Add TRASH arg.
7248         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7249         Add PRESERVE-SELINUX-CONTEXT.
7250         (tramp-smb-handle-copy-file)
7251         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7252         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7253         Use `with-progress-reporter'.
7254         (tramp-smb-handle-delete-file): Add TRASH arg.
7256         * net/tramp.el (tramp-methods): Move hostname to the end in all
7257         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
7258         appropriate.
7259         (tramp-verbose): Describe verbose level 9.
7260         (tramp-completion-function-alist)
7261         (tramp-file-name-regexp, tramp-chunksize)
7262         (tramp-local-coding-commands, tramp-remote-coding-commands)
7263         (with-connection-property, tramp-completion-mode-p)
7264         (tramp-action-process-alive, tramp-action-out-of-band)
7265         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7266         (tramp-exists-file-name-handler): Fix docstring.
7267         (tramp-remote-process-environment): Use `format' instead of
7268         `concat'.  Protect version string by apostroph.
7269         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7270         XEmacs.
7271         (tramp-file-name-regexp-unified)
7272         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7273         not regard the volume letter as remote filename.  (Bug#5447)
7274         (tramp-perl-file-attributes)
7275         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7276         (tramp-vc-registered-read-file-names): Read input as
7277         here-document, otherwise the command could exceed maximum length
7278         of command line.
7279         (tramp-file-name-handler-alist): Add `file-selinux-context' and
7280         `set-file-selinux-context'.
7281         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
7282         backtrace functions.
7283         (tramp-error-with-buffer): Don't show the connection buffer when
7284         we are in completion mode.
7285         (tramp-progress-reporter-update, tramp-remote-selinux-p)
7286         (tramp-handle-file-selinux-context)
7287         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
7288         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
7289         New defuns.
7290         (with-progress-reporter): New defmacro.
7291         (tramp-debug-outline-regexp): New defconst.
7292         (top, tramp-rfn-eshadow-setup-minibuffer)
7293         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7294         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7295         (tramp-completion-mode-p, tramp-check-for-regexp)
7296         (tramp-open-connection-setup-interactive-shell)
7297         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7298         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7299         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
7300         Use `tramp-compat-funcall'.
7301         (tramp-handle-make-symbolic-link): Flush file properties.
7302         (tramp-handle-load, tramp-handle-file-local-copy)
7303         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7304         (tramp-handle-vc-registered, tramp-maybe-send-script)
7305         (tramp-find-shell): Use `with-progress-reporter'.
7306         (tramp-do-file-attributes-with-stat): Add space in format string,
7307         in order to work around a bug in pdksh.  Reported by Gilles Pion
7308         <gpion@lfdj.com>.
7309         (tramp-handle-verify-visited-file-modtime): Do not send a command
7310         when the connection is not established.
7311         (tramp-handle-set-file-times): Simplify the check for utc.
7312         (tramp-handle-directory-files-and-attributes)
7313         (tramp-get-remote-path): Use `copy-tree'.
7314         (tramp-completion-handle-file-name-all-completions): Ensure, that
7315         non remote files are still checked.  Oops.
7316         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7317         Handle PRESERVE-SELINUX-CONTEXT.
7318         (tramp-do-copy-or-rename-file): Add progress reporter.
7319         (tramp-do-copy-or-rename-file-directly): Do not use
7320         `tramp-handle-file-remote-p'.
7321         (tramp-do-copy-or-rename-file-out-of-band):
7322         Use `tramp-compat-delete-directory'.
7323         (tramp-do-copy-or-rename-file-out-of-band)
7324         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7325         Use `format-spec-make'.
7326         (tramp-handle-delete-file): Add TRASH arg.
7327         (tramp-handle-dired-uncache): Flush directory cache, not only file
7328         cache.
7329         (tramp-handle-expand-file-name)
7330         (tramp-completion-handle-file-name-all-completions)
7331         (tramp-completion-handle-file-name-completion):
7332         Use `tramp-connectable-p'.
7333         (tramp-handle-start-file-process): Set connection property "vec".
7334         Use it, in order to invalidate file caches.  Check only for
7335         `remote-tty' process property.
7336         Implement tty setting.  (Bug#4604, Bug#6360)
7337         (tramp-file-name-for-operation): Add `call-process-region' and
7338         `set-file-selinux-context'.
7339         (tramp-find-foreign-file-name-handler)
7340         (tramp-advice-make-auto-save-file-name)
7341         (tramp-set-auto-save-file-modes): Remove superfluous check for
7342         `stringp'.  This is done inside `tramp-tramp-file-p'.
7343         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
7344         operations when we are in completion mode.  This gives the user
7345         the chance to correct the file name in the minibuffer.
7346         (tramp-completion-mode-p): Use `non-essential'.
7347         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7348         compatibility: Use `completion-ignore-case' if
7349         `read-file-name-completion-ignore-case' does not exist.
7350         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
7351         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7352         `tramp-open-shell'.
7353         (tramp-action-password): Hide password prompt before next run.
7354         (tramp-process-actions): Widen connection buffer for the trace.
7355         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7356         process property.  Trace stty settings if `tramp-verbose' >= 9.
7357         Apply workaround for IRIX64 bug.  Move argument of last
7358         `tramp-send-command' where it belongs to.
7359         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7360         front of `login-args'.
7361         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
7362         on "/dev/null" instead of "/".
7363         (tramp-get-ls-command-with-dired): Make test for "--dired"
7364         stronger.
7365         (tramp-set-auto-save-file-modes): Adapt version check.
7366         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7367         (tramp-handle-process-file): Call the program in a subshell, in
7368         order to preserve working directory.
7369         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
7370         `tramp-remote-sh' from `tramp-methods'.
7371         (tramp-get-ls-command): Make test for "--color=never" stronger.
7372         (tramp-check-for-regexp): Use (forward-line 1).
7374         * net/trampver.el: Update release number.
7376 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
7378         * help.el (help-map): Bind `C-h P' to describe-package.
7380         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
7382         * emacs-lisp/package.el (package-refresh-contents): Catch errors
7383         when downloading archives.
7384         (describe-package-1): Add package commentary.
7385         (package-install-button-action): New function.
7386         (package-menu-mode-map): Bind ? to package-menu-describe-package.
7387         (package-menu-view-commentary): Function removed.
7388         (package-list-packages-internal): Hide the `package' package too.
7390 2010-08-25  Kenichi Handa  <handa@m17n.org>
7392         * language/misc-lang.el ("Arabic"): New language environment.
7393         Setup composition-function-table for Arabic characters.
7395         * international/fontset.el (setup-default-fontset): Fix typo for
7396         arabic OTF spec (fini->fina).
7398 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
7400         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
7401         on all frames.
7403 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7405         * whitespace.el: Allow cleaning up blanks without blank
7406         visualization (Bug#6651).  Adjust help window for
7407         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
7408         instead of whitespace-line-column (from EmacsWiki).  New version
7409         13.1.
7410         (whitespace-style): Add new value 'face.  Adjust docstring.
7411         (whitespace-space, whitespace-hspace, whitespace-tab):
7412         Adjust foreground property face.
7413         (whitespace-line-column): Adjust docstring and type declaration.
7414         (whitespace-style-value-list, whitespace-toggle-option-alist)
7415         (whitespace-help-text): Adjust const initialization.
7416         (whitespace-toggle-options, global-whitespace-toggle-options):
7417         Adjust docstring.
7418         (whitespace-display-window, whitespace-interactive-char)
7419         (whitespace-style-face-p, whitespace-color-on): Adjust code.
7420         (whitespace-help-scroll): New fun.
7422 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7424         * emacs-lisp/package.el (list-packages): Alias for
7425         package-list-packages.
7427 2010-08-24  Kevin Ryde  <user42@zip.com.au>
7429         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
7430         (Bug#5651).
7432         * progmodes/ruby-mode.el (ruby): Add defgroup.
7434 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7436         * progmodes/python.el: Add Ipython support (Bug#5390).
7437         (python-shell-prompt-alist)
7438         (python-shell-continuation-prompt-alist): New options.
7439         (python--set-prompt-regexp): New function.
7440         (inferior-python-mode, run-python, python-shell):
7441         Require ansi-color.  Use python--set-prompt-regexp to set the comint
7442         prompt based on the Python interpreter.
7443         (python--prompt-regexp): New var.
7444         (python-check-comint-prompt)
7445         (python-comint-output-filter-function): Use it.
7446         (run-python): Use a pipe (Bug#5694).
7448 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
7450         * progmodes/python.el (python-send-region): Send a different
7451         Python command if Ipython is in use.
7452         (python-check-version): Use a Python command to find the version.
7454 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
7456         * mouse.el (mouse-yank-primary): Avoid setting primary when
7457         deactivating the mark (Bug#6872).
7459 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
7461         * progmodes/python.el (python-block-pairs): Allow use of "finally"
7462         with "else" (Bug#3991).
7464 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
7466         * net/dbus.el: Accept UNIX domain sockets as bus address.
7467         (top): Don't initialize `dbus-registered-objects-table' anymore,
7468         this is done in dbusbind,c.
7469         (dbus-check-event): Adapt test for bus.
7470         (dbus-return-values-table, dbus-unregister-service)
7471         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
7472         Adapt doc string.
7474 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
7476         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
7478 2010-08-22  Juri Linkov  <juri@jurta.org>
7480         * simple.el (read-extended-command): New function with the logic
7481         for `completing-read' moved to Elisp from `execute-extended-command'.
7482         Use `function-called-at-point' in `minibuffer-default-add-function'
7483         to get a command name for M-n (bug#5364, bug#5214).
7485 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7487         * startup.el (command-line-1): Issue warning for ignored arguments
7488         --unibyte, etc (Bug#6886).
7490 2010-08-22  Leo  <sdl.web@gmail.com>
7492         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
7493         (ignore, bright, dim, keyword): Split list of nicknames before
7494         passing to rcirc-add-or-remove (Bug#6894).
7496 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7498         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
7500 2010-08-22  Leo  <sdl.web@gmail.com>
7502         Fix buffer-list rename&refresh after killing a buffer in ido.
7503         * ido.el: Revert Óscar's.
7504         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
7505         Remember the buffers at head, rather than their name.
7506         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
7508 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
7509             Stefan Monnier  <monnier@iro.umontreal.ca>
7511         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
7512         extra backslash added to each line (bug#6890).
7514 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7516         * subr.el (read-key): Don't echo keystrokes (bug#6883).
7518 2010-08-22  Glenn Morris  <rgm@gnu.org>
7520         * menu-bar.el (menu-bar-games-menu): Add landmark.
7522 2010-08-22  Glenn Morris  <rgm@gnu.org>
7524         * align.el (align-regexp): Make group and spacing arguments
7525         use the interactive defaults when non-interactive.  (Bug#6698)
7527         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
7528         expansion, so as not to need sendmail.
7529         (mail-text-start): Remove declaration.
7530         (rmail-retry-failure): Require sendmail.
7532 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7534         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
7536 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
7538         * progmodes/flymake.el (flymake-start-syntax-check-process):
7539         Use `start-file-process' in order to let it run also on remote hosts.
7541 2010-08-22  Kenichi Handa  <handa@m17n.org>
7543         * files.el: Add `word-wrap' as safe local variable.
7545 2010-08-22  Glenn Morris  <rgm@gnu.org>
7547         * woman.el (woman-translate): Case matters.  (Bug#6849)
7549 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
7551         * simple.el (kill-region): Doc fix (Bug#6787).
7553 2010-08-22  Glenn Morris  <rgm@gnu.org>
7555         * calendar/diary-lib.el (diary-header-line-format):
7556         Fit it to the window, not the frame.
7558 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
7560         * subr.el (ignore-errors): Add debug declaration.
7562 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
7564         * whitespace.el (whitespace-color-off): Remove post-command-hook
7565         locally.
7567 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7569         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
7571 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7573         * cus-edit.el (custom-group-value-create): Add extra newline
7574         before end line (Bug#6876).
7576 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
7578         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
7579         when extending it.  Before killing on the second click, check if
7580         the buffer is the correct one.  Doc fix.
7581         (mouse-secondary-save-then-kill): Allow usage without first
7582         calling mouse-start-secondary, by defaulting to point.  Don't save
7583         an empty secondary selection.  Doc fix.
7585 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
7587         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
7588         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
7589         New version 13.0.
7590         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
7591         Adjust initialization.
7592         (whitespace-bob-marker, whitespace-eob-marker)
7593         (whitespace-buffer-changed): New vars.
7594         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
7595         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
7596         (whitespace-post-command-hook, whitespace-display-char-on):
7597         Adjust code.
7598         (whitespace-looking-back, whitespace-buffer-changed): New funs.
7599         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
7601 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7603         * files.el (locate-file-completion-table): Only list the .el and .elc
7604         extensions if there's no other choice (bug#5955).
7606         * facemenu.el (facemenu-self-insert-data): New var.
7607         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
7608         New functions.
7609         (facemenu-add-face): Use them.
7611         * simple.el (blink-matching-open): Obey forward-sexp-function.
7613 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7615         * simple.el (prog-mode-map): New var.
7616         (prog-indent-sexp): New command.
7618         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
7620         * progmodes/prolog.el (smie): Require.
7622         * emacs-lisp/smie.el (smie-default-backward-token)
7623         (smie-default-forward-token): Strip properties.
7624         (smie-next-sexp): Be more careful with associative operators.
7625         (smie-forward-sexp-command): Generalize.
7626         (smie-backward-sexp-command): Simplify.
7627         (smie-closer-alist): New var.
7628         (smie-close-block): New command.
7629         (smie-indent-debug-log): New var.
7630         (smie-indent-offset-rule): Add a few more cases.
7631         (smie-indent-column): New function.
7632         (smie-indent-after-keyword): Use it.
7633         (smie-indent-keyword): Use it.
7634         Fix up the opener code's point position.
7635         (smie-indent-comment): Only applies at BOL.
7636         (smie-indent-debug): New command.
7638         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
7639         declarations that are useful before running the macro.
7641 2010-08-18  Joakim Verona  <joakim@verona.se>
7643         * image.el (imagemagick-types-inhibit): New variable.
7644         (imagemagick-register-types): New function.
7645         * image-mode.el (image-transform-properties): New function.
7646         (image-transform-set-scale, image-transform-fit-to-height)
7647         (image-transform-set-rotation, image-transform-set-resize)
7648         (image-transform-fit-to-width, image-transform-fit-to-height):
7649         New functions.
7650         (image-toggle-display-image): Support image transforms.
7652 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
7654         * image.el (create-animated-image): Don't add heuristic mask to image
7655         (Bug#6839).
7657 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
7659         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
7660         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
7662 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7664         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
7666         Font-lock '...' strings, plus various simplifications and fixes.
7667         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
7668         (octave-font-lock-close-quotes): New function.
7669         (octave-font-lock-syntactic-keywords): New var.
7670         (octave-mode): Use it.  Set beginning-of-defun-function.
7671         (octave-mode-map): Don't override the <foo>-defun commands.
7672         (octave-mode-menu): Pass it directly to easy-menu-define;
7673         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
7674         (octave-block-match-alist): Fix up last change so that
7675         octave-close-block uses the more specific keyword.
7676         (info-lookup-mode): Silence byte-compiler.
7677         (octave-beginning-of-defun): Not interactive any more.
7678         Optimize slightly.
7679         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
7680         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
7681         (octave-completion-at-point-function): Make sure point is within
7682         beg..end.
7683         (octave-reindent-then-newline-and-indent):
7684         Use reindent-then-newline-and-indent.
7685         (octave-add-octave-menu): Remove.
7687 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
7689         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
7690         (report-emacs-bug-can-use-xdg-email): New functions.
7691         (report-emacs-bug): Set can-xdg-email to result of
7692         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
7693         \C-cm to report-emacs-bug-insert-to-mailer and add help text
7694         about it.
7696         * net/browse-url.el (browse-url-default-browser): Add cond
7697         for browse-url-xdg-open.
7698         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
7700 2010-08-17  Glenn Morris  <rgm@gnu.org>
7702         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
7703         (c-fontify-recorded-types-and-refs): Define for compiler.
7704         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
7705         before use.
7707         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
7708         Fix format call.
7710 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
7712         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
7713         properties.
7714         (tramp-handle-process-file): Call the program in a subshell, in
7715         order to preserve working directory.
7716         (tramp-action-password): Hide password prompt before next run.
7717         (tramp-process-actions): Widen connection buffer for the trace.
7719 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7721         * net/rcirc.el (rcirc-log-process-buffers): New option.
7722         (rcirc-print): Use it.
7723         (rcirc-generate-log-filename): New function.
7724         (rcirc-log-filename-function): Change default to
7725         rcirc-generate-log-filename (Bug#6828).
7727 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
7729         * simple.el (deactivate-mark): If select-active-regions is `only',
7730         only set selection for temporarily active regions.
7732         * cus-start.el: Change defcustom for select-active-regions.
7734 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7736         * mouse.el (mouse--drag-set-mark-and-point): New function.
7737         (mouse-drag-track): Use LOCATION arg to push-mark.
7738         Use mouse--drag-set-mark-and-point to take click-count into
7739         consideration when updating point and mark (Bug#6840).
7741 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
7743         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7744         Give the Ruby rule a lower priority than Gnu (Bug#6778).
7746 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7748         * font-lock.el (lisp-font-lock-keywords-2):
7749         Add combine-after-change-calls, condition-case-no-debug,
7750         with-demoted-errors, and with-silent-modifications (Bug#6025).
7752 2010-08-14  Kevin Ryde  <user42@zip.com.au>
7754         * emacs-lisp/copyright.el (copyright-update-year)
7755         (copyright-update): Temporary switch-to-buffer to ensure the
7756         buffer change being queried is visible (Bug#5394).
7758 2010-08-14  Tom Tromey  <tromey@redhat.com>
7760         * progmodes/etags.el (tags-file-name): Mark safe if stringp
7761         (Bug#6733).
7763 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
7765         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
7766         MS-DOS.  (Bug#6689)
7768 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
7770         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
7771         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7772         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7773         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
7774         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
7775         Call menu-bar-set-tool-bar-position.
7777 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7779         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
7780         comment style (bug#6834).
7781         * progmodes/scheme.el (scheme-mode-syntax-table):
7782         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
7783         "b" flag in "' 14b" syntax.
7785         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
7786         for (un)commenting the region and performing completion.
7787         (octave-mode-menu): Use standard commands for help and completion.
7788         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7789         (octave-mode): Use define-derived-mode.
7790         Set completion-at-point-functions and don't set columns.
7791         Don't disable adaptive-fill-regexp.
7792         (octave-describe-major-mode, octave-comment-region)
7793         (octave-uncomment-region, octave-comment-indent)
7794         (octave-indent-for-comment): Remove.
7795         (octave-indent-calculate): Rename from calculate-octave-indent.
7796         (octave-indent-line, octave-fill-paragraph): Update caller.
7797         (octave-initialize-completions): No need to make an alist.
7798         (octave-completion-at-point-function): New function.
7799         (octave-complete-symbol): Use it.
7800         (octave-insert-defun): Use define-skeleton.
7802         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7803         (octave-mode-map): Use comment-dwim (bug#6829).
7805 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7807         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7808         indentation of inserted comment.
7810 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7812         * faces.el (region): Add type gtk that uses gtk colors.
7814         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7815         Handle theme-name change.
7817 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7819         * progmodes/sql.el: Version 2.5
7820         (sql-product-alist): Add :prompt-cont-regexp property for several
7821         database products.
7822         (sql-prompt-cont-regexp): New variable.
7823         (sql-output-newline-count, sql-output-by-send):
7824         New variables.  Record number of newlines in input text.
7825         (sql-send-string): Handle multiple filters and count newlines.
7826         (sql-send-magic-terminator): Count terminator newline.
7827         (sql-interactive-remove-continuation-prompt): Filters output to
7828         remove continuation prompts; one for each newline.
7829         (sql-interactive-mode): Set up new variables, prompt regexp and
7830         output filter.
7831         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7832         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7834 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7836         * emacs-lisp/pcase.el: New file.
7838 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7840         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7841         as here-document, otherwise the command could exceed maximum
7842         length of command line.
7843         (tramp-handle-vc-registered): Call script accordingly.
7844         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7846 2010-08-10  Kenichi Handa  <handa@m17n.org>
7848         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7849         composable pattern.
7851 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7853         * emacs-lisp/package.el (package-version-split)
7854         (package--version-first-nonzero, package-version-compare):
7855         Functions removed.
7856         (package-directory-list, package-load-all-descriptors)
7857         (package--built-in, package-activate, define-package)
7858         (package-installed-p, package-compute-transaction)
7859         (package-read-all-archive-contents)
7860         (package--add-to-archive-contents, package-buffer-info)
7861         (package-tar-file-info, package-list-packages-internal):
7862         Use version-to-list and version-list-*.
7864         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7865         Use version-to-list.
7866         (package-upload-buffer-internal): Use version-list-<=.
7868 2010-08-09  Kenichi Handa  <handa@m17n.org>
7870         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7871         composable pattern.
7873 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
7875         * tutorial.el (tutorial--default-keys): C-d is now bound to
7876         delete-forward-char (Bug#6826).
7878         * mouse.el (mouse-drag-track): Remove accidentally-removed check
7879         for `double' value of mouse-1-click-follows-link (Bug#6807).
7881 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
7883         * replace.el (replace-highlight): Bind isearch-forward and
7884         isearch-error, ensuring that highlighting is updated if the user
7885         switches the search direction (Bug#6808).
7887         * isearch.el (isearch-lazy-highlight-forward): New var.
7888         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7889         (isearch-lazy-highlight-update): Use it.
7891 2010-08-08  Kenichi Handa  <handa@m17n.org>
7893         * international/mule.el (define-charset): Store NAME as :base property.
7894         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7895         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7896         current priority.  Force using the designation of the specific
7897         charset by adding `charset' text property.  Improve the whole algorithm.
7899 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7901         * emulation/pc-select.el (pc-selection-mode-hook)
7902         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7903         (pc-selection-mode): Fix typos in docstrings.
7905 2010-08-08  Kenichi Handa  <handa@m17n.org>
7907         * language/cyrillic.el: Don't add "microsoft-cp1251" to
7908         ctext-non-standard-encodings-alist here.
7910         * international/mule.el (ctext-non-standard-encodings-alist):
7911         Add "koi8-r" and "microsoft-cp1251".
7912         (ctext-standard-encodings): New variable.
7913         (ctext-non-standard-encodings-table): List only elements for
7914         non-standard encodings.
7915         (ctext-pre-write-conversion): Adjust for the above change.
7916         Check ctext-standard-encodings.
7918         * international/mule-conf.el (compound-text): Doc fix.
7919         (ctext-no-compositions): Doc fix.
7920         (compound-text-with-extensions): Doc fix.
7922 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7924         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7926 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7928         * progmodes/which-func.el (which-func-format): Split help-echo text
7929         into lines, like other mode-line tooltips.
7931         * server.el (server-start): When using TCP sockets, force IPv4
7932         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
7934 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7936         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7938 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7940         * term.el (term-delimiter-argument-list): Reflow docstring.
7941         (term-read-input-ring, term-write-input-ring, term-send-input)
7942         (term-bol, term-erase-in-display, serial-supported-or-barf):
7943         Fix typos in docstrings.
7945 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7947         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7949 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7951         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7953 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
7955         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7956         Fix typo in docstring (bug#6747).
7958 2010-08-08  Leo  <sdl.web@gmail.com>
7960         * eshell/esh-io.el (eshell-get-target): Better detection of
7961         read-only file (Bug#6762).
7963 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7965         * align.el (align-default-spacing): Doc fix.
7966         (align-region-heuristic, align-regexp): Fix typos in docstrings.
7968 2010-08-08  Stephen Peters  <speters@itasoftware.com>
7970         * calendar/icalendar.el
7971         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
7972         (icalendar--get-weekday-numbers): New.
7973         (icalendar--convert-recurring-to-diary): Handle multiple byday
7974         values in weekly rules.  (Bug#6766)
7976 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
7978         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7979         (icalendar--create-uid, icalendar-export-region)
7980         (icalendar--parse-summary-and-rest): Code formatting.
7982 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7984         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7985         to italicize headers.
7986         (calc-highlight-selections-with-faces): New variable.
7987         (calc-selected-face, calc-nonselected-face): New faces.
7989         * calc/calccomp.el (math-comp-highlight-string): Use
7990         `calc-highlight-selections-with-faces' to determine how to highlight
7991         sub-formulas.
7993         * calc/calc-sel.el (calc-show-selections): Change message to when
7994         using faces to highlight selections.
7996 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
7998         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7999         Add SQLite 3 keywords, functions and datatypes.
8000         (sql-interactive-mode): Remove `comint-process-echoes' set to t
8001         (Bug#6686).
8003 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
8005         * simple.el (select-active-regions): Move to keyboard.c.
8006         (deactivate-mark): Used saved-region-selection.
8007         (select-active-region): Function removed.
8008         (activate-mark, set-mark, push-mark-command)
8009         (handle-shift-selection): Don't call it.
8010         (keyboard-quit): Avoid adding the region to the window selection.
8012         * mouse.el (mouse-drag-track): Remove hacks to deal with old
8013         select-active-regions implementation.
8014         (mouse-yank-at-click): Doc fix.
8016         * cus-start.el: Add custom declaration for select-active-regions.
8018 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
8020         * simple.el (delete-forward-char): Doc fix.
8022         * tutorial.el (help-with-tutorial): Hack safe file-local variables
8023         after reading the tutorial.
8025 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
8027         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8028         Fix for the case that a C style comment has its delimiters alone on
8029         their respective lines.
8031 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
8033         * net/tramp.el (tramp-handle-start-file-process): Set connection
8034         property "vec".
8035         (tramp-process-sentinel): Use it for flushing the cache.
8036         We cannot do it via the process buffer, the buffer could be deleted
8037         already when running the sentinel.
8039 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
8041         * comint.el (comint-mode): Make directory tracking functions
8042         functional on remote files.  (Bug#6764)
8044 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
8046         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8048 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
8050         * emacs-lisp/find-gc.el (find-gc-source-files):
8051         Rename unexec.c => unexcoff.c.
8053         * emacs-lisp/authors.el (authors-fixed-entries):
8054         Rename unexec.c => unexcoff.c.
8056 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
8058         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8059         cache, not only file cache.
8060         (tramp-process-sentinel): New defun.
8061         (tramp-handle-start-file-process): Use it, in order to invalidate
8062         file caches.
8064 2010-08-03  Leo  <sdl.web@gmail.com>
8066         * server.el (server-start): Simplify loop.
8068 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8070         * frame.el (screen-height, screen-width, set-screen-width)
8071         (set-screen-height): Remove ancient compatibility aliases.
8073         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8074         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
8076         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8077         that change current buffer.
8079 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8081         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8082         beginning of the string.  Use `string-match-p'.  (Bug#6765)
8084 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
8086         * cus-start.el (x-gtk-use-system-tooltips): New variable.
8088 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
8090         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8091         (package--builtins): Tweak descriptions.
8092         (package-print-package): Upcase descriptions if necessary.
8093         Show all built-in packages in font-lock-builtin-face.
8094         (package-list-packages-internal): Omit "emacs" package.
8095         Show status of built-in packages as "built-in".
8097 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
8099         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
8100         before killing to preserve the primary selection (Bug#6701).
8102         * term/x-win.el (x-select-text): Doc fix.
8104 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
8106         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8107         (objc-font-lock-extra-types):
8108         * progmodes/cc-mode.el (c-basic-common-init):
8109         * progmodes/cc-langs.el (c-make-mode-syntax-table)
8110         (c++-make-template-syntax-table)
8111         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8112         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8113         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8114         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8115         * progmodes/cc-fonts.el (c-make-inverse-face)
8116         (c-basic-matchers-after):
8117         * progmodes/cc-engine.el (c-forward-keyword-clause)
8118         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8119         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8120         (c-guess-continued-construct, c-guess-basic-syntax):
8121         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8122         The above functions were modified or created.
8124 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
8126         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8128 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
8130         * files.el (bidi-paragraph-direction): Define safe local values.
8132         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8133         language-info-alist.  Remove outdated FIXME in a comment.
8135 2010-07-31  Alan Mackenzie  <acm@muc.de>
8137         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
8138         Auto-fill broken in C/C++ modes.
8140 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
8142         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8143         (menu-bar-showhide-tool-bar-menu-customize-disable)
8144         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8145         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
8146         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
8147         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
8148         make a menu for Options => toolbar that can move it.
8150 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
8152         * emacs-lisp/package-x.el (package--make-rss-entry):
8153         (package-maint-add-news-item, package--update-news)
8154         (package-upload-buffer-internal): New arg ARCHIVE-URL.
8156         * emacs-lisp/package.el (package-archive-url): Rename from
8157         package-archive-id.
8158         (package-install): Doc fix.
8159         (package-download-single, package-download-tar, package-install)
8160         (package-menu-view-commentary): Callers changed.
8162 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
8164         * net/tramp.el (tramp-handle-start-file-process): Check only for
8165         `remote-tty' process property.
8166         (tramp-open-shell): Don't check for tty.
8167         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
8168         process property.
8170         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
8171         host.
8173 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
8175         * emacs-lisp/package.el (package-load-list, package-archives)
8176         (package-archive-contents, package-user-dir)
8177         (package-directory-list, package--builtins, package-alist)
8178         (package-activated-list, package-obsolete-alist): Mark as risky.
8180 2010-07-28  Phil Hagelberg  <phil@evri.com>
8182         Add support for non-default package repositories.
8183         * emacs-lisp/package.el (package-archive-base): Var deleted.
8184         (package-archives): New variable.
8185         (package-archive-contents): Doc fix.
8186         (package-load-descriptor): Do nothing if descriptor file is missing.
8187         (package--write-file-no-coding): New function.
8188         (package-unpack-single): Use it.
8189         (package-archive-id): New function.
8190         (package-download-single, package-download-tar)
8191         (package-menu-view-commentary): Use it.
8192         (package-installed-p): Make second argument optional.
8193         (package-read-all-archive-contents): New function.
8194         (package-initialize): Use it.
8195         (package-read-archive-contents): Add ARCHIVE argument.
8196         (package--add-to-archive-contents): New function.
8197         (package-install): Don't call package-read-archive-contents.
8198         (package--download-one-archive): Store archive file in a
8199         subdirectory of package-user-dir.
8200         (package-menu-execute): Remove spurious line movement.
8202 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
8204         * cus-start.el (tool-bar-style): Add text-image-horiz.
8206 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8208         * progmodes/gud.el (gud-common-init): Check for remoteness of
8209         `file', and not of `default-directory'.
8211 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
8213         * net/tramp.el (tramp-methods): Move hostname to the end in all
8214         ssh `tramp-login-args'.
8215         (tramp-verbose): Describe verbose level 9.
8216         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
8217         (tramp-open-connection-setup-interactive-shell): Trace stty
8218         settings if `tramp-verbose' >= 9.
8219         (tramp-handle-start-file-process): Implement tty setting.
8220         (Bug#4604, Bug#6360)
8222         * net/tramp-cmds.el (tramp-bug): Recommend setting of
8223         `tramp-verbose' to 9.
8225 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
8227         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
8228         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
8229         Remove references to package `lisp-re' (bug#4369).
8231 2010-07-27  Tom Tromey  <tromey@redhat.com>
8233         * progmodes/js.el (js-mode):
8234         * progmodes/make-mode.el (makefile-mode):
8235         * progmodes/simula.el (simula-mode):
8236         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
8238 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
8240         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
8242         * time.el (display-time-day-and-date): Remove spurious * in docstring.
8243         (display-time-world-buffer-name, display-time-world-mode-map):
8244         Fix typos in docstrings.
8246 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
8248         * image-mode.el (image-display-size): New function.
8249         (image-forward-hscroll, image-next-line, image-eol, image-eob)
8250         (image-mode-fit-frame): Use it (Bug#6639).
8252 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
8254         * dired.el (dired-buffers-for-dir): Handle list values of
8255         dired-directory (Bug#6636).
8257 2010-07-26  Sam Steingold  <sds@gnu.org>
8259         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8260         Do not call `x-get-selection' the second time, reuse the value.
8262 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
8264         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
8265         which consist of control chars only.  Suggested by Richard Stallman.
8267 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
8269         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
8270         exists before passing an error to find-file-not-found-functions
8271         (bug#6723).
8273 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
8275         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
8276         Remove leading nil element, adjust values.
8277         (tetris-shapes, tetris-shape-scores):
8278         Change representation of shapes and remove some redundancy.
8279         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
8280         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
8281         Adjust for working with new representation of shapes.
8282         (tetris-shape-rotations): New function.
8283         (tetris-move-bottom, tetris-move-left, tetris-move-right)
8284         (tetris-rotate-prev, tetris-rotate-next):
8285         Adjust for working with the new version of tetris-test-shape.
8287 2010-07-23  Markus Triska  <markus.triska@gmx.at>
8289         * progmodes/ps-mode.el: Use comint (bug#5954).
8290         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
8291         (ps-mode-other-newline): Simplify.
8292         (ps-run-mode): Derive from comint-mode instead of
8293         fundamental-mode, yielding input history etc.
8294         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
8295         (ps-run-send-string): Adapt for comint-mode.
8296         (ps-run-newline): Remove now unneeded function.
8298 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8300         * net/tramp.el (tramp-methods): Move hostname to the end in all
8301         plink `tramp-login-args'.
8303 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8305         * net/tramp.el (tramp-open-shell): New defun.
8306         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8307         Use it.
8309 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
8311         * net/tramp.el (tramp-file-name-regexp-unified)
8312         (tramp-completion-file-name-regexp-unified): On W32 systems, do
8313         not regard the volume letter as remote filename.  (Bug#5447)
8315 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
8317         * custom.el (custom-declare-variable): Give a clearer error message
8318         when the docstring is missing (bug#6476).
8320 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
8322         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
8323         (sql-login-params): New widget definition.
8324         (sql-oracle-login-params, sql-mysql-login-params)
8325         (sql-solid-login-params, sql-sybase-login-params)
8326         (sql-informix-login-params, sql-ingres-login-params)
8327         (sql-ms-login-params, sql-postgres-login-params)
8328         (sql-interbase-login-params, sql-db2-login-params)
8329         (sql-linter-login-params): Use it.
8330         (sql-sqlite-login-params): Use it; Define "database" parameter as
8331         a file name.
8332         (sql-sqlite-program): Change to "sqlite3".
8333         (sql-comint-sqlite): Make sure database name is complete.
8334         (sql-for-each-login): New function.
8335         (sql-connect, sql-save-connection): Use it.
8336         (sql-get-login-ext): New function.
8337         (sql-get-login): Use it.
8338         (sql-make-alternate-buffer-name): Handle :file parameters.
8340 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
8342         * dired.el (dired-no-confirm): Document value t and fix defcustom to
8343         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
8345 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
8347         * dired.el (dired-mode-map): Use command remapping (bug#6632).
8349 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
8351         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
8353 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
8355         * net/tramp.el (tramp-get-ls-command)
8356         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
8357         instead of "/".
8359 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
8361         * progmodes/sql.el: Version 2.3.
8362         (sql-connection-alist): Change keys from symbols to strings;
8363         enhanced the widget definition.
8364         (sql-mode-menu): Add submenu to select connections.
8365         (sql-interactive-mode-menu): Add "Save Connection" item.
8366         (sql-add-product): Fix menu item.
8367         (sql-get-product-feature): Improved error handling.
8368         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
8369         (sql-make-alternate-buffer-name): Simplified.
8370         (sql-product-interactive): Handle missing product.
8371         (sql-connect): Support string keys, minor improvements.
8372         (sql-save-connection): New function.
8373         (sql-connection-menu-filter): New function.
8375 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8377         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
8378         (tramp-open-connection-setup-interactive-shell):
8379         Apply workaround for IRIX64 bug.  Move argument of last
8380         `tramp-send-command' where it belongs to.
8382 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
8384         * net/tramp.el (tramp-perl-file-attributes)
8385         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
8386         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
8387         front of `login-args'.
8389 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
8391         * time.el (display-time-world-mode): Define with `define-derived-mode'.
8392         Set `show-trailing-whitespace' to nil.
8393         (display-time-world-display): Simplify.
8395 2010-07-18  Alan Mackenzie  <acm@muc.de>
8397         Enhance `c-file-style' in file/directory local variables.
8398         * progmodes/cc-mode.el (c-count-cfss): New function.
8399         (c-before-hack-hook): Call `c-set-style' differently according to
8400         whether c-file-style was set in file or directory local
8401         variables.
8403 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
8405         * progmodes/sql.el: Version 2.2.
8406         (sql-product, sql-user, sql-database, sql-server, sql-port):
8407         Use defcustom :safe keyword rather than putting safe-local-variable
8408         property.
8409         (sql-password): Use defcustom :risky keyword rather than putting
8410         risky-local-variable property.
8411         (sql-oracle-login-params, sql-sqlite-login-params)
8412         (sql-solid-login-params, sql-sybase-login-params)
8413         (sql-informix-login-params, sql-ingres-login-params)
8414         (sql-ms-login-params, sql-postgres-login-params)
8415         (sql-interbase-login-params, sql-db2-login-params)
8416         (sql-linter-login-params): Add `port' option.
8417         (sql-get-product-feature): Add NO-INDIRECT parameter.
8418         (sql-comint-oracle, sql-comint-sybase)
8419         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
8420         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
8421         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
8422         (sql-comint-linter): Rename sql-connect-* functions to
8423         sql-comint-*.
8424         (sql-product-alist, sql-mode-menu): Rename as above and
8425         :sqli-connect-func to :sqli-comint-func.
8426         (sql-connection): New variable.
8427         (sql-interactive-mode): Set it.
8428         (sql-connection-alist): New variable.
8429         (sql-connect): New function.
8430         (sql--alt-buffer-part, sql--alt-if-not-empty)
8431         (sql-make-alternate-buffer-name): Improved alternative buffer name.
8433 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8435         * image-mode.el (image-bookmark-make-record): Do not set context
8436         in an image (Bug#6650).
8438 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8440         * simple.el (select-active-region): New function.
8441         (push-mark-command, set-mark, activate-mark)
8442         (handle-shift-selection): Use it.
8443         (deactivate-mark): Don't check for size of region.
8445         * mouse.el (mouse-drag-track): Use select-active-region.
8447 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
8449         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
8450         "--dired" stronger.
8452 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
8454         * term/x-win.el (x-select-enable-primary): Change default to nil.
8455         (x-select-enable-clipboard): Add :version keyword.
8457         * mouse.el (mouse-drag-copy-region):
8458         * simple.el (select-active-regions): Likewise.
8460 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
8462         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
8463         (vc-coding-system-for-diff): Use it to decide whether to inherit
8464         from the file the EOL format for reading the diffs of that file.
8465         (Bug#4451)
8467 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
8469         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
8470         unibyte, so compressed attachments are not compressed again.
8472 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
8474         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
8475         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
8476         (tramp-find-shell): Simplify setting connection property.
8477         (tramp-get-ls-command): Make test for "--color=never" stronger.
8479 2010-07-15  Simon South  <ssouth@member.fsf.org>
8481         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
8482         blocks within record declarations (i.e. variant parts) correctly.
8484 2010-07-15  Simon South  <ssouth@member.fsf.org>
8486         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
8487         over literal tokens when parsing so newlines aren't "absorbed" by
8488         single-line comments.  Corrects the indentation of case blocks
8489         that have a comment on the first line.
8491 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
8493         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
8494         by Drew Adams (Bug#5504).
8496 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
8498         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
8499         now that Unicode is used (Bug#6594).
8501 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
8503         * term/x-win.el (x-select-enable-clipboard): Default to t.
8504         (x-initialize-window-system): Don't overwrite Paste menu item.
8506         * simple.el (select-active-regions): Default to t.
8507         (push-mark-command): Don't overwrite primary with empty string.
8509         * mouse.el: Bind mouse-2 to mouse-yank-primary.
8510         (mouse-drag-copy-region): Default to nil.
8512         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
8513         Cut/Copy/Paste menu bar items.
8515 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8517         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
8518         Patch applied by Karl Fogel.
8520         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
8521         and `bookmark-current-buffer' if they have been already set in
8522         another buffer (e.g gnus-art).
8524 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8525             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8527         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
8529         * bookmark.el (bookmark-make-record-default): Allow unneeded
8530         information to be omitted from the record.
8532         Adjust declarations and calls:
8534         * info.el (bookmark-make-record-default): Adjust declaration.
8535         (Info-bookmark-make-record): Adjust call.
8537         * woman.el (bookmark-make-record-default): Adjust declaration.
8538         (woman-bookmark-make-record): Adjust call.
8540         * man.el (bookmark-make-record-default): Adjust declaration.
8541         (Man-bookmark-make-record): Adjust call.
8543         * image-mode.el (bookmark-make-record-default): Adjust declaration.
8545         * doc-view.el (bookmark-make-record-default): Adjust declaration.
8547 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
8549         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
8550         This is also from Thierry Volpiatto's patch in bug #6444.  However,
8551         because it was extraneous to the functional change in that patch,
8552         and causes a re-indendation, I am committing it separately.
8554 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8556         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
8557         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
8558         Patch applied by Karl Fogel (Bug#6444).
8560 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
8562         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
8564 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
8566         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
8567         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
8568         (ns-alternatives-map): Change S-tab binding to backtab
8569         (bug#6616).
8571         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
8572         under ns.
8574 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
8576         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
8577         (Bug#5806)
8579         * language/tv-util.el (tai-viet-re): Remove format.
8581 2010-07-12  Kenichi Handa  <handa@m17n.org>
8583         * language/hebrew.el: Remove no-byte-compile declaration.
8584         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
8585         composition-function-table for 3-character looking back.
8586         (hebrew-font-get-precomposed): New function.
8587         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
8589 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
8591         * mouse.el (mouse-drag-track): Handle select-active-regions
8592         (Bug#6612).
8594 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
8596         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
8597         empty argument to gvfs-copy.
8599 2010-07-10  Glenn Morris  <rgm@gnu.org>
8601         * calendar/calendar.el (calendar-week-end-day): New function.
8602         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
8603         Respect calendar-week-start-day.  (Bug#6606)
8604         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
8605         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
8606         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
8607         respect calendar-week-start-day.
8609 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
8611         * simple.el (use-region-p): Doc fix (Bug#6607).
8613 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
8615         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8616         Add regexps for cucumber and ruby.
8618 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
8620         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
8621         (epa-file-insert-file-contents): Hack to prevent
8622         find-file from opening empty buffer when decryption failed
8623         (bug#6568).
8625 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
8627         * textmodes/ispell.el (ispell-alternate-dictionary):
8628         Use file-readable-p.
8629         Return nil if no word-list is found at default locations.
8630         (ispell-complete-word-dict): Default to nil.
8631         (ispell-command-loop): Use 'word-list' when using lookup-words.
8632         (lookup-words): Use ispell-complete-word-dict or
8633         ispell-alternate-dictionary.  Check for word-list availability
8634         and handle errors if needed with better messages (Bug#6539).
8635         (ispell-complete-word): Use ispell-complete-word-dict or
8636         ispell-alternate-dictionary.
8638 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
8640         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
8641         builtins (BufferError, BytesWarning, WindowsError; callables
8642         bin, bytearray, bytes, format, memoryview, next, print; __package__).
8644 2010-07-07  Glenn Morris  <rgm@gnu.org>
8646         * play/zone.el (top-level): Do not require timer, tabify, or cl.
8647         (zone-shift-left): Ignore intangibility, and any errors from
8648         forward-char.
8649         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
8650         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
8651         deleting, and copying text properties.
8652         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
8653         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
8654         to point-max is hard.
8655         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
8656         (zone-fill-out-screen): Ignore intangibility.
8658 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
8660         * menu-bar.el (menu-bar-mode):
8661         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
8662         if it has been set.
8664         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
8665         word/line selection (Bug#6565).
8667 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
8669         * net/dbus.el (dbus-send-signal): Declare function.
8671 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
8673         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
8674         (dbus-register-property): New optional argument EMITS-SIGNAL.
8675         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
8677 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
8679         * mouse.el (mouse-drag-overlay): Variable deleted.
8680         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
8681         (mouse--remap-link-click-p): New function.
8682         (mouse-drag-track): Handle dragging by using temporary Transient
8683         Mark mode, instead of a special overlay.
8684         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
8685         mouse-show-mark.
8687         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
8688         deleted.
8690 2010-07-02  Juri Linkov  <juri@jurta.org>
8692         * autoinsert.el (auto-insert-alist): Fix readability
8693         by using dotted pair notation for lambda.
8695 2010-07-02  Juri Linkov  <juri@jurta.org>
8697         * faces.el (read-face-name): Rename arg `string-describing-default'
8698         to `default'.  Doc fix.  Display the default value in quotes
8699         in the prompt.  With empty input, return the `default' arg,
8700         unless the default value is a string (in which case return nil).
8701         (describe-face): Replace the string `default' arg of `read-face-name'
8702         with the symbol `default'.
8704 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
8706         * emulation/viper-cmd.el (viper-delete-backward-char)
8707         (viper-del-backward-char-in-insert)
8708         (viper-del-backward-char-in-replace, viper-change)
8709         (viper-backward-indent): Replace delete-backward-char with
8710         delete-char (Bug#6552).
8712 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
8714         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
8716 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8718         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
8719         argument passed to frame-creation-function (Bug#5378).
8721         * faces.el (x-handle-named-frame-geometry)
8722         (x-handle-reverse-video, x-create-frame-with-faces)
8723         (face-set-after-frame-default, tty-create-frame-with-faces):
8724         Don't separately consult default-frame-alist.  It is now passed as the
8725         PARAMETER argument.
8727 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
8729         * startup.el (command-line): Don't call tool-bar-setup in a
8730         tty-only build.
8732 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8734         * ruler-mode.el (ruler--save-header-line-format): New fun.
8735         (ruler-mode): Use it as a setter function, so as not to overwrite
8736         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
8738 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
8740         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
8741         (vc-root-diff, vc-print-root-log, vc-log-incoming)
8742         (vc-log-outgoing): Use it.
8743         (vc-diff-internal): Set diff-vc-backend.
8745         * vc/diff-mode.el (diff-vc-backend): New var.
8747 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
8749         * dynamic-setting.el (font-setting-change-default-font):
8750         Remove call to message.
8752 2010-06-28  Kenichi Handa  <handa@m17n.org>
8754         * international/quail.el (quail-insert-kbd-layout): Fix the
8755         showing of untranslated characters.
8757 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
8759         * simple.el (delete-active-region): New option.
8760         (delete-backward-char): Implement in Lisp.
8761         (delete-forward-char): New command.
8763         * mouse.el (mouse-region-delete-keys): Deleted.
8764         (mouse-show-mark): Simplify.
8766         * bindings.el (global-map): Bind delete and DEL, the former to
8767         delete-forward-char.
8769 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
8771         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
8772         (ruby-mode): Bind indent-line-function (Bug#5119).
8774 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8776         * startup.el (command-line): Recognize "0" X resource value.
8778 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
8780         * startup.el (command-line): Use X resources to set the value of
8781         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
8783         * menu-bar.el (menu-bar-mode):
8784         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
8785         Set init-value to t.
8787         * frame.el (frame-notice-user-settings): Don't change
8788         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8789         vice versa (Bug#2249).
8791 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8793         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8795 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8797         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8798         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8800         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8801         default directories are expanded (Bug#6143).
8803 2010-06-24  Juri Linkov  <juri@jurta.org>
8805         * minibuffer.el (completions-format): Change default from nil to
8806         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8808 2010-06-24  Juri Linkov  <juri@jurta.org>
8810         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8811         buffer-locally to lambda that re-runs the vc diff command.
8812         (Bug#6447)
8814 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8816         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8817         echo area is in use (Bug#3412).
8819 2010-06-22  Glenn Morris  <rgm@gnu.org>
8821         * textmodes/texinfmt.el (texinfo-format-region)
8822         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8823         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8824         (texinfo-format-option, texinfo-noindent):
8825         Use line-beginning-position and line-end-position.
8827         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8828         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8829         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8830         utf-8 characters.
8832 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8834         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8835         forward-line fallout.
8837 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8839         * mouse.el (mouse-appearance-menu): Add docstring.
8841         * help.el (describe-key): Print up-event using key-description.
8843 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8845         * net/zeroconf.el (zeroconf-resolve-service)
8846         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8847         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8849 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8851         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8853 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8855         Avoid displaying files with a nil state in vc-dir.
8856         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8857         cases that cause insertion.
8858         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8859         with a nil state.
8861 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8863         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8865 2010-06-29  Leo  <sdl.web@gmail.com>
8867         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
8869 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8871         * generic-x.el (bat-generic-mode): Fix regexp for command line
8872         switches (Bug#5719).
8874 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
8876         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8877         of nconc to avoid pure storage error (Bug#6239).
8879 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
8881         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8882         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8883         bindings of bookmark-automatically-show-annotations (Bug#6515).
8885 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
8887         * arc-mode.el (archive-zip-extract): Don't quote the file name on
8888         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
8890 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8892         * comint.el (make-comint, make-comint-in-buffer): Mention return
8893         value in the docstrings.  (Bug#6498)
8895 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
8897         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8898         since it is not present when using some non-default switches.
8900 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
8902         * simple.el (compose-mail): Fix doc string to refer to
8903         `compose-mail-user-agent-warnings', instead of to the
8904         nonexistent `compose-mail-check-user-agent'.
8906 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
8908         Fix an indentation bug:
8910         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8911         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8912         of existing values.
8914         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8915         (c-clear->-pair-props-if-match-before): now return t when they've
8916         cleared properties, nil otherwise.
8917         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8918         by taking account of the existing value.
8920         * progmodes/cc-defs.el
8921         (c-clear-char-property-with-value-function): Fix this to clear the
8922         property rather than overwriting it with nil.
8924 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8926         * emacs-lisp/package.el (package-print-package): Add link to
8927         package description via describe-package.
8928         (describe-package-1): List package requirements.  Add button to
8929         perform installation.
8930         (package-menu-describe-package): New command.
8932         * help-mode.el (help-package): New button type.
8934 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8936         * emacs-lisp/package.el: Move package-list-packages binding to
8937         menu-bar.el.
8938         (describe-package, describe-package-1, package--dir): New funs.
8939         (package-activate-1): Use package--dir.
8941         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8943         * help-mode.el (help-package-def): New button type.
8945         * menu-bar.el: Move package-list-packages binding here from
8946         package.el.
8948 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8950         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8952 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8954         * emacs-lisp/edebug.el (edebug-read-list):
8955         Phase out old-style backquotes.
8957 2010-06-17  Juri Linkov  <juri@jurta.org>
8959         * help-mode.el (help-mode): Set buffer-local variable
8960         revert-buffer-function to help-mode-revert-buffer.
8961         (help-mode-revert-buffer): New function.
8963         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8964         before popping to "*info*" (like in other Info functions).
8965         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8966         old-history-forward.  Pop to old-buffer-name or "*info*" to
8967         recreate the killed buffer.  Set Info-history-forward from
8968         old-history-forward.
8969         (Info-breadcrumbs-depth): Add :group and :version.
8971 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8973         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8975 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8977         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8978         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8980 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8982         * emacs-lisp/package.el (package-menu-mode-map):
8983         Move initialization into declaration.
8985         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8987 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8989         * emacs-lisp/package.el (package-archive-base): Point to
8990         elpa.gnu.org.
8991         (package-enable, package-load-list): New defcustoms.
8992         (package-user-dir, package-directory-list): Turn into defcustoms.
8993         Don't include package-user-dir in package-directory-list.
8994         (package--builtins-base): Don't include Emacs as a "package".
8995         (package-subdirectory-regexp): New var.
8996         (package-load-all-descriptors, package-compute-transaction)
8997         (package-download-transaction): Obey package-load-list.
8998         (package-activate-1): Rename from package-do-activate.
8999         (package-list-packages-internal): Check package-load-list.
9000         (package-load-descriptor, package-generate-autoloads)
9001         (package-unpack, package-unpack-single)
9002         (package--read-archive-file, package-delete):
9003         Use expand-file-name.
9005         * emacs-lisp/package-x.el: New file.  Package uploading
9006         functionality split out from package.el.
9008         * startup.el (command-line): Load packages after reading init file.
9010 2010-06-17  Tom Tromey  <tromey@redhat.com>
9012         * emacs-lisp/package.el: New file.
9014 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9016         Fix vc-annotate for renamed files when using Git.
9017         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9018         ls-files.  Doe not pass the object as a file name to cat-file, it
9019         is not a file name.
9020         (vc-git-annotate-command): Pass the file name using -- to avoid
9021         ambiguity with the revision.
9022         (vc-git-previous-revision): Pass a relative file name.
9024 2010-06-22  Glenn Morris  <rgm@gnu.org>
9026         * progmodes/js.el (js-mode-map): Use standard capitalization and
9027         ellipses for menu entries.
9029         * wid-edit.el (widget-complete): Doc fix.
9031 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
9033         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9035 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
9037         Fix annotating other revisions for renamed files in vc-annotate.
9038         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9039         VC backend.  Use it when non-nil.
9040         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9041         (Bug#6487).
9043         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9044         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9045         Do not pass the file name to the 'previous-revision call when we
9046         don't want a file diff.  (Bug#6489)
9048 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9050         Fix finding revisions for renamed files in vc-annotate.
9051         * vc/vc.el (vc-find-revision): Add an optional argument for
9052         the VC backend.  Use it when non-nil.
9053         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9054         backend to vc-find-revision.  (Bug#6487)
9056 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
9058         Fix reading file names in Git annotate buffers.
9059         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9060         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
9062 2010-06-20  Alan Mackenzie  <acm@muc.de>
9064         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9065         in file local variables, set it first.
9067 2010-06-19  Glenn Morris  <rgm@gnu.org>
9069         * descr-text.el (describe-char-unicode-data): Insert separating
9070         space when needed.  (Bug#6422)
9072         * progmodes/idlwave.el (idlwave-action-and-binding):
9073         Fix typo in 2009-12-03 change.  (Bug#6450)
9075 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9077         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9078         handling for `lambda' (misunderstanding).
9080 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
9082         * calc/calc-poly.el (math-accum-factors): Make sure that
9083         constants aren't distributed after they are factored out.
9085 2010-06-16  Juri Linkov  <juri@jurta.org>
9087         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9088         `list-colors-print'.  (Bug#6332)
9090         * subr.el (read-quoted-char): Fix up last change (bug#6290).
9092 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9094         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9095         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
9097         * font-lock.el (font-lock-major-mode): Rename from
9098         font-lock-mode-major-mode to distinguish it from
9099         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9100         (font-lock-set-defaults):
9101         * font-core.el (font-lock-default-function): Adjust users.
9102         (font-lock-mode): Don't set it at all.
9104 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9106         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9108 2010-06-16  Glenn Morris  <rgm@gnu.org>
9110         * calendar/appt.el (appt-time-msg-list): Doc fix.
9111         (appt-check): Let-bind appt-warn-time.
9112         (appt-add): Make the 3rd argument optional.
9113         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
9114         Only add WARNTIME to the output list if non-nil.
9116 2010-06-16  Ivan Kanis  <apple@kanis.eu>
9118         * calendar/appt.el (appt-check): Let the 3rd element of
9119         appt-time-msg-list specify the warning time.
9120         (appt-add): Add new argument with the warning time.  (Bug#5176)
9122 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9124         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9125         older than version 1.6.  (Bug#6361)
9127 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
9129         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9130         used by cl-do-arglist.  (Bug#6408)
9132 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
9134         * textmodes/ispell.el (ispell-dictionary-base-alist):
9135         Fix portuguese casechars/not-casechars for missing 'çÇ'.
9136         Suggested by Rolando Pereira (bug#6434).
9138 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
9140         * facemenu.el (list-colors-sort): Doc fix.
9142 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
9144         * progmodes/sql.el (sql-connect-mysql): Fix typo.
9146 2010-06-14  Juri Linkov  <juri@jurta.org>
9148         Add sort option `list-colors-sort'.  (Bug#6332)
9149         * facemenu.el (color-rgb-to-hsv): New function.
9150         (list-colors-sort): New defcustom.
9151         (list-colors-sort-key): New function.
9152         (list-colors-display): Doc fix.  Sort list according to the option
9153         `list-colors-sort'.
9154         (list-colors-print): Add HSV values to `help-echo' property of
9155         RGB strings.
9157 2010-06-14  Juri Linkov  <juri@jurta.org>
9159         * compare-w.el: Move to the "vc" subdirectory.
9161 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9163         * image-mode.el (image-mode-map): Remap left-char and right-char.
9165         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
9167 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
9169         * term/common-win.el (x-colors): Add all the color names defined
9170         in rgb.txt (Bug#6332).
9172         * facemenu.el (list-colors-print): Don't print extra names if it
9173         will overflow the window width.
9175         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
9176         change (Bug#6343).
9178 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
9180         * files.el (make-directory): Doc fix (bug#6396).
9182 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
9184         * net/tramp.el (tramp-remote-process-environment): Protect version
9185         string by apostroph.
9186         (tramp-shell-prompt-pattern): Do not use a shy group in case of
9187         XEmacs.
9188         (tramp-file-name-for-operation): Add `call-process-region'.
9189         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
9191         * net/tramp-compat.el (top): Do not autoload
9192         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
9193         only when `start-file-process' is not bound.
9194         (tramp-advice-file-expand-wildcards): Do not use
9195         `tramp-handle-file-remote-p'.
9196         (tramp-compat-make-temp-file): Handle the case, that
9197         `make-temp-file' has no third argument EXTENSION.
9199 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
9201         * makefile.w32-in (WINS_BASIC): Include new directory vc.
9203         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
9205 2010-06-11  Juri Linkov  <juri@jurta.org>
9207         * finder.el (finder-known-keywords): Add keyword "vc"
9208         for version control.
9210         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
9211         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
9212         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
9213         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
9215 2010-06-11  Juri Linkov  <juri@jurta.org>
9217         Move version control related files to the "vc" subdirectory.
9218         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
9219         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
9220         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
9221         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
9222         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
9223         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
9224         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
9225         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
9226         Move files to the "vc" subdirectory.
9228 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
9230         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
9231         (Bug#6367).
9233 2010-06-11  Stephen Eglen  <stephen@gnu.org>
9235         * shell.el: Bind `shell-resync-dirs' to M-RET.
9237 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
9239         * notifications.el: Move file from lisp/net, because it is
9240         supposed to talk locally to the user.
9242 2010-06-10  Julien Danjou  <julien@danjou.info>
9244         * net/notifications.el (notifications-on-action-signal)
9245         (notifications-on-closed-signal): Pass notification id as first
9246         argument to the callback functions.  Add docstrings.
9247         (notifications-notify): Fix docstring.
9249 2010-06-10  Glenn Morris  <rgm@gnu.org>
9251         * emacs-lisp/authors.el (authors-ignored-files)
9252         (authors-valid-file-names): Add some files.
9254 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9256         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
9257         merge conflict, giving preference to the emacs-23 version of the code.
9259 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9261         * emacs-lisp/advice.el (ad-compile-function):
9262         Define warning-suppress-types before we let-bind it (bug#6275).
9264         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
9265         declare it, make it buffer-local and permanent-local (bug#6324).
9266         (vc-resynch-window): Adjust name.
9267         * vc-hooks.el (vc-find-file-hook): Adjust name.
9269 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
9271         * net/notifications.el (notifications-notify): Fix docstring.
9273 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9275         Update to Unicode 6.0.0 beta.
9276         * international/charprop.el: Update copyright.
9277         * international/mule-cmds.el (ucs-names): Update character ranges.
9278         * international/uni-bidi.el:
9279         * international/uni-category.el:
9280         * international/uni-combining.el:
9281         * international/uni-comment.el:
9282         * international/uni-decimal.el:
9283         * international/uni-decomposition.el:
9284         * international/uni-digit.el:
9285         * international/uni-lowercase.el:
9286         * international/uni-mirrored.el:
9287         * international/uni-name.el:
9288         * international/uni-numeric.el:
9289         * international/uni-old-name.el:
9290         * international/uni-titlecase.el:
9291         * international/uni-uppercase.el: Regenerate.
9293 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
9295         * emacs-lisp/smie.el (comment-string-strip): Declare function.
9296         (smie-precs-precedence-table): Fix typo in docstring.
9298         * vc-mtn.el (log-edit-extract-headers): Declare function.
9300         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
9302         * net/notifications.el (dbus-register-signal): Declare function.
9303         (notifications-notify): Fix typos and reflow docstring.
9305 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9307         Improve VC create/retrieve tag/branch.
9308         * vc.el (vc-create-tag): Do not read the directory name for VCs
9309         with repository revision granularity.  Adjust the tag/branch
9310         prompt.  Reset VC properties.
9311         (vc-retrieve-tag): Do not read the directory name for VCs
9312         with repository revision granularity.  Reset VC properties.
9314 2010-06-09  Julien Danjou  <julien@danjou.info>
9316         * net/notifications.el: New file.
9318 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
9320         Add optional support for resetting VC properties.
9321         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
9322         call vc-file-clearprops when true.
9323         (vc-resynch-buffer): Add new optional argument, pass it down.
9324         (vc-resynch-buffers-in-directory): Likewise.
9326         Improve support for special markup in the VC commit message.
9327         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
9328         * vc-hg.el (vc-hg-checkin): Add support for Date:.
9329         * vc-git.el (vc-git-checkin):
9330         * vc-bzr.el (vc-bzr-checkin): Likewise.
9332 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9334         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
9335         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
9337 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
9339         * iimage.el: Remove images as soon as the underlying text is modified.
9340         (iimage-modification-hook): New function.
9341         (iimage-mode-buffer): Use it.
9343 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9345         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
9346         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
9347         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
9348         (smie-indent-keyword): Add handling of open-paren keywords.
9349         (smie-indent-comment-continue): Don't assume comment-continue.
9351 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
9353         * window.el (pop-to-buffer): Remove the conditional that
9354         compares new-window and old-window, so it will reselect
9355         the selected window unconditionally.
9356         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
9358 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9360         * emacs-lisp/smie.el (smie-indent-offset-after)
9361         (smie-indent-forward-token, smie-indent-backward-token): New functions.
9362         (smie-indent-after-keyword): Use them.
9363         (smie-indent-fixindent): Only applies to the indentation of the BOL.
9364         (smie-indent-keyword): Tweak the black magic.
9365         (smie-indent-comment-continue): Strip comment-continue before use.
9366         (smie-indent-functions): Indent comments before keywords.
9368 2010-06-06  Juri Linkov  <juri@jurta.org>
9370         * isearch.el (isearch-lazy-highlight-search): Fix looping
9371         by checking for empty match.  This syncs this loop with the
9372         similar loop in `isearch-search'.  (Bug#6362)
9374 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
9376         * net/dbus.el (dbus-register-method): Declare function.
9377         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
9378         (dbus-introspect): Doc fix.
9379         (dbus-event-bus-name, dbus-introspect-get-interface)
9380         (dbus-introspect-get-argument): Reflow docstrings.
9382 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
9384         vc-log-incoming/vc-log-outgoing fixes for Git.
9385         * vc-git.el (vc-git-log-view-mode): Fix font lock for
9386         incoming/outgoing logs.
9387         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
9388         instead of vc-git-compute-remote.
9389         (vc-git-compute-remote): Remove.
9391 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
9393         * term/common-win.el (x-colors): Add "dark green" and "dark
9394         turquoise" (Bug#6332).
9396 2010-06-04  Juri Linkov  <juri@jurta.org>
9398         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
9399         Instead of setting `replace' to t and replacing the same string
9400         with itself, don't do certain actions when
9401         kill-do-not-save-duplicates is non-nil and string is equal to car
9402         of kill-ring: don't call menu-bar-update-yank-menu, don't push
9403         interprogram-paste strings to kill-ring, and don't push the input
9404         argument `string' to kill-ring.
9405         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
9407 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9409         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
9411 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
9413         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
9414         (tramp-gvfs-handler-mounted-unmounted)
9415         (tramp-gvfs-connection-mounted-p): Handle default-location.
9417         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
9418         move files to trash.
9420 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
9422         * international/mule-cmds.el (nonascii-insert-offset)
9423         (nonascii-translation-table): Add obsolescence information.
9425         * international/mule.el (make-translation-table-from-vector): Doc fix.
9427 2010-06-03  Glenn Morris  <rgm@gnu.org>
9429         * desktop.el (desktop-clear-preserve-buffers):
9430         Add "*Warnings*" buffer.  (Bug#6336)
9432 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
9434         vc-log-incoming/vc-log-outgoing improvements for Git.
9435         * vc-git.el (vc-git-log-outgoing): Use the same format as the
9436         short log.
9437         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
9439         Add bindings for vc-log-incoming and vc-log-outgoing.
9440         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
9441         and vc-log-outgoing.
9442         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
9443         and vc-log-outgoing.
9445 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9447         * net/rcirc.el (rcirc-sort-nicknames): Remove.
9448         (rcirc-handler-366): Always sort nicknames.
9450 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
9452         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
9454 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
9456         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
9458 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9460         * net/rcirc.el (rcirc-sort-nicknames): Change default.
9461         (rcirc-sort-nicknames-join): Avoid setq.
9463 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
9465         * net/rcirc.el (rcirc-sort-nicknames): New custom.
9466         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
9467         (rcirc-handler-366): Use them.
9469 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9471         Split smie-indent-calculate into more manageable chunks.
9472         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
9473         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
9474         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
9475         (smie-indent-exps): Extract from smie-indent-calculate.
9476         (smie-indent-functions): New var.
9477         (smie-indent-functions): Use them.
9479 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9481         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
9482         (smie-indent-calculate): Simplify and cleanup.
9484 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
9486         * net/tramp-gvfs.el (top): Require url-util.
9487         (tramp-gvfs-mount-point): Remove.
9488         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
9489         New defuns.
9490         (with-tramp-dbus-call-method): Format trace message.
9491         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
9492         Implement backup call, when operation on local files fails.
9493         Use progress reporter.  Flush properties of changed files.
9494         (tramp-gvfs-handle-make-directory): Make more traces.
9495         (tramp-gvfs-url-file-name): Hexify file name in url.
9496         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
9497         into account for the resulting file name.
9498         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
9499         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
9500         (tramp-gvfs-handler-mounted-unmounted)
9501         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
9502         attribute "default_location".  Set "prefix" property.
9503         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
9504         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
9505         exists.  Raise an error, if not (due to a corresponding answer
9506         "no" in interactive questions, for example).
9508 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
9510         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
9512 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
9514         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
9515         right-*.  (Bug#6265)
9517 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
9519         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
9520         * vc-git.el (vc-git-compute-remote): New function.
9521         (vc-git-log-outgoing): Use it instead of hard coding a value.
9522         (vc-git-log-incoming): New function.
9524         Improve state updating for VC tag commands.
9525         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
9526         to update the state of all buffers in the directory.
9528         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
9530 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9532         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
9533         `file-directory-p' to the filename part rather than to the whole text.
9535 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9537         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
9539 2010-05-31  Drew Adams  <drew.adams@oracle.com>
9541         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
9543 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
9545         * subr.el (momentary-string-display): Just use read-event to read
9546         the exit event (Bug#6238).
9548 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
9550         * international/mule.el (define-coding-system): Doc fix (bug#6313).
9552 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9554         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
9555         Suggested by Eli Zaretskii <eliz@gnu.org>.
9557 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9559         * minibuffer.el (completion-file-name-table): Don't return a boundary
9560         past the end of `string' (bug#6299).
9561         (completion--file-name-table): Delegate to completion-file-name-table
9562         for the `boundaries' case.
9564 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
9566         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
9567         movement commands.
9569         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
9570         `path-separator', but maintain compatibility with Emacs 20.2.
9572 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9574         * server.el (server-process-filter): Receive parent-id argument
9575         from emacsclient.
9576         (server-create-window-system-frame): New arg.  Pass parent-id as
9577         frame parameter.
9579 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
9581         Bidi-sensitive word movement with arrow keys.
9582         * subr.el (right-arrow-command, left-arrow-command): Move to
9583         bindings.el.
9585         * bindings.el (right-char, left-char): Move from subr.el and
9586         rename from right-arrow-command and left-arrow-command.
9587         (right-word, left-word): New functions.
9588         (global-map) <right>: Bind to right-char.
9589         (global-map) <left>: Bind to left-char.
9590         (global-map) <C-right>: Bind to right-word.
9591         (global-map) <C-left>: Bind to left-word.
9593         * ls-lisp.el (ls-lisp-classify-file): New function.
9594         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
9595         (ls-lisp-classify): Call ls-lisp-classify-file.
9596         (insert-directory): Remove blanks from switches.
9598 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
9600         * ansi-color.el: Delete unused escape sequences (Bug#6085).
9601         (ansi-color-drop-regexp): New constant.
9602         (ansi-color-apply, ansi-color-filter-region)
9603         (ansi-color-apply-on-region): Delete unrecognized control sequences.
9604         (ansi-color-apply): Build string list before calling concat.
9606 2010-05-28  Juri Linkov  <juri@jurta.org>
9608         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9609         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
9610         (Bug#5270)
9612 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9614         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
9615         to ignored backtrace functions.
9616         (with-progress-reporter): Expand docstring.
9617         (tramp-handle-delete-file): Implement TRASH argument.
9618         (tramp-get-remote-trash): New defun.
9620 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
9622         * net/tramp-compat.el (tramp-compat-delete-file):
9623         Use `symbol-value' for backward compatibility.
9625         * net/tramp.el (tramp-handle-make-symbolic-link)
9626         (tramp-handle-load)
9627         (tramp-do-copy-or-rename-file-via-buffer)
9628         (tramp-do-copy-or-rename-file-directly)
9629         (tramp-do-copy-or-rename-file-out-of-band)
9630         (tramp-handle-process-file, tramp-handle-call-process-region)
9631         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9632         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9633         (tramp-delete-temp-file-function): Use `delete-file' instead
9634         of `tramp-compat-delete-file'.
9636         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9637         (tramp-fish-handle-make-symbolic-link)
9638         (tramp-fish-handle-process-file): Use `delete-file' instead
9639         of `tramp-compat-delete-file'.
9641         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9642         Use `delete-file' instead of `tramp-compat-delete-file'.
9644         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9645         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
9646         `tramp-compat-delete-file'.
9648         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
9649         Use `delete-file' instead of `tramp-compat-delete-file'.
9651         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9652         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9653         (tramp-smb-handle-write-region): Use `delete-file' instead of
9654         `tramp-compat-delete-file'.
9655         (tramp-smb-handle-delete-directory): Use 'trash as arg.
9657 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9659         * dired.el (dired-delete-file): New arg TRASH.
9660         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
9661         (dired-do-flagged-delete, dired-do-delete): Use trash.
9663         * speedbar.el (speedbar-item-delete): Allow trashing.
9665         * files.el (delete-directory): New arg TRASH.
9667         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
9668         (ange-ftp-rename-remote-to-remote)
9669         (ange-ftp-rename-local-to-remote)
9670         (ange-ftp-rename-remote-to-local, ange-ftp-load)
9671         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
9672         `delete-file'.
9673         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
9674         allow trashing.
9676         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
9677         handle new TRASH arg of `delete-file'.
9679         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
9680         (tramp-handle-make-symbolic-link, tramp-handle-load)
9681         (tramp-do-copy-or-rename-file-via-buffer)
9682         (tramp-do-copy-or-rename-file-directly)
9683         (tramp-do-copy-or-rename-file-out-of-band)
9684         (tramp-handle-process-file, tramp-handle-call-process-region)
9685         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9686         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9687         (tramp-delete-temp-file-function): Use null TRASH arg in
9688         tramp-compat-delete-file call.
9690         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
9691         (tramp-fish-handle-delete-file)
9692         (tramp-fish-handle-make-symbolic-link)
9693         (tramp-fish-handle-process-file): Use null TRASH arg in
9694         `tramp-compat-delete-file' call.
9696         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
9697         arg in `tramp-compat-delete-file' call.
9699         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
9700         (tramp-gvfs-handle-write-region): Use null TRASH arg in
9701         `tramp-compat-delete-file' call.
9703         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
9704         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
9705         `tramp-compat-delete-file' call.
9707         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9708         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9709         (tramp-smb-handle-write-region): Use null TRASH arg in
9710         tramp-compat-delete-file call.
9711         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
9712         (tramp-smb-handle-delete-file): Rename arg.
9714         * diff.el (diff-sentinel):
9715         * epg.el (epg--make-temp-file, epg-decrypt-string)
9716         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9717         * jka-compr.el (jka-compr-partial-uncompress)
9718         (jka-compr-call-process, jka-compr-write-region):
9719         * server.el (server-sentinel): Remove optional arg from
9720         delete-file, reverting 2010-05-03 change.
9722 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9724         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9725         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9727 2010-05-27  Kenichi Handa  <handa@m17n.org>
9729         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
9730         element of GSTRING is nil.
9732 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9734         * emacs-lisp/smie.el (smie-forward-token-function)
9735         (smie-backward-token-function): New vars.
9736         (smie-backward-sexp, smie-forward-sexp)
9737         (smie-indent-hanging-p, smie-indent-calculate): Use them.
9738         (smie-default-backward-token): Rename from smie-backward-token and
9739         skip comments.
9740         (smie-default-forward-token): Rename from smie-forward-token and
9741         skip comments.
9742         (smie-next-sexp): Handle nil results from next-token.
9743         (smie-indent-calculate): Add a new case for special `fixindent' comments.
9745 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
9747         * progmodes/verilog-mode.el (verilog-type-font-keywords):
9748         Use font-lock-constant-face, not obsolete font-lock-reference-face.
9750 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
9752         * htmlfontify.el (hfy-face-resolve-face): New function.
9753         (hfy-face-to-style): Use it (Bug#6279).
9755 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9757         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
9758         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
9760 2010-05-26  Glenn Morris  <rgm@gnu.org>
9762         * emulation/edt.el (edt-load-keys): Use locate-library.
9764 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
9766         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
9767         (log-edit-changelog-entries): Doc fix.
9768         (log-edit-changelog-insert-entries): Args changed.
9769         Rename relative filenames in ChangeLog entries.  Delete tabs.
9770         (log-edit-insert-changelog-entries): Reorganize return value of
9771         `log-edit-changelog-entries' to pass filenames to
9772         log-edit-changelog-insert-entries.
9774 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9776         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
9777         `image-dired-dired-insert-marked-thumbs' to
9778         `image-dired-dired-toggle-marked-thumbs'.
9780         * image-dired.el: Require cl when compiling.
9781         (image-dired-dired-toggle-marked-thumbs): Rename from
9782         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
9783         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
9784         to 'no-dir.  Skip files whose names don't match
9785         `image-file-name-regexp'.  When file has a thumbnail overlay,
9786         delete it.  (Bug#5270)
9788 2010-05-25  Juri Linkov  <juri@jurta.org>
9790         * image-mode.el (image-mode): Add image-after-revert-hook to
9791         after-revert-hook.
9792         (image-after-revert-hook): New function.  (Bug#5669)
9794 2010-05-25  Juri Linkov  <juri@jurta.org>
9796         * image.el (image-animated-p): When delay between animated images
9797         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9799 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9801         * net/tramp.el (tramp-handle-insert-directory): Don't use
9802         `forward-word', its default syntax could be changed.
9804 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9806         * net/tramp.el (tramp-progress-reporter-update): New defun.
9807         (with-progress-reporter): Use it.
9808         (tramp-process-actions):
9809         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9810         Preserve current message, in order to let progress reporter continue
9811         afterwards.  (Bug#6257)
9813 2010-05-25  Glenn Morris  <rgm@gnu.org>
9815         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9816         Add :version.
9818 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9820         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9821         (rcirc-default-full-name): Change to "unknown".
9822         (rcirc-user-name-history): Add variable.
9824 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9825             Jonathan Rockway  <jon@jrock.us>
9827         * net/rcirc.el (rcirc-server-alist): Add :pass.
9828         (rcirc): When prompting for connection parameters, also prompt for
9829         username and password.
9830         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9831         value to server when connecting.
9833 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9835         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9836         (smie-merge-prec2s): Pass the tables as separate args.
9837         (smie-bnf-precedence-table): Adjust call accordingly.
9838         (smie-prec2-levels): Set levels at the end.
9840         Replace Lisp calls to delete-backward-char by delete-char.
9841         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9842         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9843         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9844         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9845         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9846         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9847         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9848         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9849         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9850         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9851         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9852         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9853         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9854         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9855         delete-backward-char by calls to delete-char.
9857 2010-05-25  Kenichi Handa  <handa@m17n.org>
9859         * language/hebrew.el (hebrew-shape-gstring): New function.
9860         Register it in composition-function-table for all Hebrew combining
9861         characters.
9863 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9865         * epa.el (epa--select-keys): Don't explicitly delete the window since
9866         that can fail (e.g. sole window in frame).  Use dedication instead.
9868 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9870         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9872 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
9874         * image.el (image-refresh): Define as an alias for image-flush.
9876         * image-mode.el (image-toggle-display-image): Caller changed.
9878 2010-05-21  Juri Linkov  <juri@jurta.org>
9880         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9881         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
9882         whitespace, call wildcard-to-regexp on substrings and concat them
9883         with "\\|".  (Bug#6114)
9885 2010-05-21  Alan Mackenzie  <acm@muc.de>
9887         * progmodes/cc-engine.el (c-parse-state-get-strategy):
9888         Replace parameter `here' with `here-' and `here-plus', which sandwich
9889         any pertinent CPP construct.
9890         (c-remove-stale-state-cache-backwards): Fix a bug which happens
9891         when doing (c-parse-state) in a CPP construct: Exclude any "new"
9892         CPP construct from taking part in the scanning.
9894 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
9896         * net/tramp.el (tramp-do-copy-or-rename-file)
9897         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9898         Tune `with-progress-reporter' messages.
9899         (tramp-handle-vc-registered):
9900         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9901         (tramp-fish-handle-insert-file-contents)
9902         (tramp-fish-maybe-open-connection):
9903         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9904         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9905         (tramp-imap-handle-insert-file-contents)
9906         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9908 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
9910         * add-log.el (change-log-font-lock-keywords):
9911         Highlight all authors in multi-author entries.
9913         * smerge-mode.el (smerge-refine-ignore-whitespace)
9914         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9915         Fix typos in docstrings.
9916         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9918 2010-05-21  Glenn Morris  <rgm@gnu.org>
9920         * progmodes/fortran.el (fortran-mode):
9921         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9923         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9924         having a relative path in src/Makefile.in.
9926 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9928         * help-mode.el (help-make-xrefs): For Info node links turn
9929         newlines into spaces.  Link node names with newlines are matched
9930         by help-xref-info-regexp and buttonized, this change ensures they
9931         can be followed successfully with RET.  (Bug#6206)
9933 2010-05-20  Juri Linkov  <juri@jurta.org>
9935         * locate.el (locate): Use pop-to-buffer instead of
9936         switch-to-buffer-other-window.  (Bug#6204)
9938 2010-05-20  Juri Linkov  <juri@jurta.org>
9940         * replace.el (replace-highlight): Fix lazy-highlighting
9941         for `M-s w str M-% str RET'.
9943 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9945         * isearch.el (isearch-yank-word-or-char): Pull next subword
9946         when `subword-mode' is activated.  (Bug#6220)
9948 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9950         * isearch.el (isearch-update-post-hook): New hook.
9951         (isearch-update): Use the new hook.  (Bug#6225)
9953 2010-05-20  Juri Linkov  <juri@jurta.org>
9955         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9956         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9957         (Bug#6222)
9959 2010-05-20  Juri Linkov  <juri@jurta.org>
9961         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9962         (Bug#6223)
9964 2010-05-20  Juri Linkov  <juri@jurta.org>
9966         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9967         FILE-NAME to read from the minibuffer when called interactively
9968         with prefix argument instead of using buffer-file-name.
9969         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9971         * dired.el: Update autoloads.
9973 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9975         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9976         nxml-finish-element, for consistency with SGML mode.
9978         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9979         octave-close-block.
9981 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9983         * composite.el: Require cl when compiling.
9984         (reference-point-alist, compose-gstring-for-graphic)
9985         (compose-gstring-for-terminal): Fix typos in docstrings.
9987 2010-05-19  Juri Linkov  <juri@jurta.org>
9989         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9990         set-window-parameter.
9992 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9994         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9995         where appropriate.
9996         (tramp-maybe-open-connection): Use it.
9998 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
10000         * simple.el (move-end-of-line): Make sure we are at line beginning
10001         before backing up to end of previous line.
10003 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
10005         * password-cache.el (password-cache-remove): Fix docstring.
10007         * net/secrets.el: Autoload the widget functions.
10008         (secrets-search-items, secrets-create-item)
10009         (secrets-get-attributes, secrets-expand-item): Attributes will be
10010         stored on the password database without leading ":", as all other
10011         clients do as well.
10012         (secrets-mode): Fix docstring.
10013         (secrets-show-secrets): Provide it as autoloaded command only when
10014         D-Bus support is available.  Check existence of Secret Service API.
10016 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10018         * indent.el (indent-region): Deactivate region (bug#6200).
10020 2010-05-19  Glenn Morris  <rgm@gnu.org>
10022         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
10024 2010-05-19  Kenichi Handa  <handa@m17n.org>
10026         * composite.el: Register compose-gstring-for-graphic in
10027         composition-function-table only for combining characters (Mn, Mc, Me).
10029 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
10031         * calc/calc-trail.el (calc-trail-isearch-forward)
10032         (calc-trail-isearch-backward): Ensure that the new window
10033         point is set correctly.
10035 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10037         * subr.el (read-quoted-char): Resolve modifiers after key
10038         remapping (bug#6212).
10040 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
10042         Add visualization code for secrets.
10043         * net/secrets.el (secrets-mode): New major mode.
10044         (secrets-show-secrets, secrets-show-collections)
10045         (secrets-expand-collection, secrets-expand-item)
10046         (secrets-tree-widget-after-toggle-function)
10047         (secrets-tree-widget-show-password): New defuns.
10049 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10051         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10052         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10053         handled in smie-next-sexp.
10054         (smie-indent-calculate): Provide a starting indentation (so the
10055         recursion is well-founded ;-).
10057         Fix handling of non-associative equal levels.
10058         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10059         when it's not needed.
10060         (smie-op-left, smie-op-right): New functions.
10061         (smie-next-sexp): New function, extracted from smie-backward-sexp.
10062         Better handle equal levels to distinguish the associative case from
10063         the "multi-keyword construct" case.
10064         (smie-backward-sexp, smie-forward-sexp): Use it.
10066 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
10068         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10070         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10071         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10073 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10075         Provide a simple generic indentation engine and use it for Prolog.
10076         * emacs-lisp/smie.el: New file.
10077         * progmodes/prolog.el (prolog-smie-op-levels)
10078         (prolog-smie-indent-rules): New var.
10079         (prolog-mode-variables): Use them to configure SMIE.
10080         (prolog-indent-line, prolog-indent-level): Remove.
10082 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10084         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10085         order before computing the averages.
10087 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
10089         * calc/calc-vec.el (calc-histogram):
10090         (calcFunc-histogram): Allow vectors as inputs.
10091         (math-vector-avg): New function.
10093         * calc/calc-ext.el (math-group-float): Have the number of digits
10094         being grouped depend on the radix (Bug#6189).
10096 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
10098         * version.el (emacs-copyright, emacs-version): Don't define here,
10099         now that emacs.c defines it.
10101 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
10103         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10104         "Describe Language Environment" menu item.
10106         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10108         Bidi-sensitive movement with arrow keys.
10109         * subr.el (right-arrow-command, left-arrow-command): New functions.
10111         * bindings.el (global-map): Bind them to right and left arrow keys.
10113         Don't override standard definition of convert-standard-filename.
10114         * files.el (convert-standard-filename):
10115         Call w32-convert-standard-filename and dos-convert-standard-filename on
10116         the corresponding systems.
10118         * w32-fns.el (w32-convert-standard-filename): Rename from
10119         convert-standard-filename.  Doc fix.
10121         * dos-fns.el (dos-convert-standard-filename): Doc fix.
10122         (convert-standard-filename): Don't defalias.
10123         (register-name-alist, make-register, register-value)
10124         (set-register-value, intdos): Obsolete aliases for the
10125         corresponding dos-* functions and variables.
10126         (dos-intdos): Add a doc string.
10128 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
10130         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10131         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10132         (math-compose-tex-func):
10133         * calc/calccomp.el (math-compose-expr):
10134         * calc/calc-ext.el (math-format-flat-expr-fancy):
10135         * calc/calc-store.el (calc-read-var-name):
10136         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
10138         * calc/calc.el (var-π, var-φ, var-γ): New variables.
10139         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
10140         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
10141         (math-standard-units): Add units.
10143 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10145         * progmodes/asm-mode.el (asm-mode):
10146         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
10148         * pcomplete.el (pcomplete-completions-at-point): New function,
10149         extracted from pcomplete-std-complete.
10150         (pcomplete-std-complete): Use it.
10152 2010-05-15  Glenn Morris  <rgm@gnu.org>
10154         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10155         Remove references to CVS, RCS and Old directories.
10157 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
10159         * calc/calc-bin.el (math-format-twos-complement): Group digits when
10160         appropriate.
10162 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10164         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
10165         (sh-mode-syntax-table): Give it a default value instead.
10166         (sh-header-marker): Make buffer-local.
10167         (sh-mode): Move make-local-variable to the corresponding setq.
10168         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
10169         Use complete-with-action.
10171         * simple.el (prog-mode): New (abstract) major mode.
10172         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
10173         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
10175 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
10177         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
10178         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
10179         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
10180         (sql-make-alternate-buffer-name, sql-placeholders-filter)
10181         (sql-escape-newlines-filter, sql-input-sender)
10182         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
10184 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
10186         Add TeX open-block and close-block keybindings to SGML, and vice versa.
10188         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
10189         latex-open-block and C-c / to latex-close-block.
10191         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
10192         and C-c C-e to sgml-close-tag.
10194 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
10196         * net/tramp.el (with-progress-reporter): Create reporter object
10197         only when the message would be displayed.  Handle nested calls.
10198         (tramp-handle-load, tramp-handle-file-local-copy)
10199         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10200         (tramp-maybe-send-script, tramp-find-shell):
10201         Use `with-progress-reporter'.
10202         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
10203         Fix message text.
10205         * net/tramp-smb.el (tramp-smb-handle-copy-file)
10206         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10207         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
10208         Use `with-progress-reporter'.
10210 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
10212         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
10213         process everytime when spellchecking from the minibuffer (bug#6143).
10215 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10217         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
10219         * dos-fns.el: Add "dos-" prefix for namespace control.
10220         (convert-standard-filename): Define as alias for
10221         dos-convert-standard-filename but only if applicable.
10223 2010-05-12  Alan Mackenzie  <acm@muc.de>
10225         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
10226         Push the mark at the start of these functions when appropriate.
10228 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10230         * minibuffer.el (completion-cycle-threshold): New custom var.
10231         (completion--do-completion): Use it.
10232         (minibuffer-complete): Use cycling if appropriate.
10234 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
10236         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
10237         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
10239 2010-05-11  Juri Linkov  <juri@jurta.org>
10241         * scroll-all.el (scroll-all-check-to-scroll):
10242         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
10244 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10246         * iimage.el (iimage-mode-map): Move initialization into declaration.
10247         (iimage-mode-buffer): Use with-silent-modifications.
10248         Simplify calling convention.  Adjust callers.
10249         (iimage-mode): Don't run hook redundantly.
10251         * minibuffer.el (completion-pcm--pattern->regex):
10252         Fix last change (bug#6160).
10254 2010-05-10  Juri Linkov  <juri@jurta.org>
10256         Remove nodes visited during Isearch from the Info history.
10257         * info.el (Info-isearch-initial-history)
10258         (Info-isearch-initial-history-list): New variables.
10259         (Info-isearch-start): Record initial values of
10260         Info-isearch-initial-history and Info-isearch-initial-history-list.
10261         Add Info-isearch-end to isearch-mode-end-hook.
10262         (Info-isearch-end): New function.
10264 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
10266         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
10267         format string, in order to work around a bug in pdksh.
10268         Reported by Gilles Pion <gpion@lfdj.com>.
10269         (tramp-handle-verify-visited-file-modtime): Do not send a command
10270         when the connection is not established.
10271         (tramp-handle-set-file-times): Simplify the check for utc.
10273 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
10275         Fix use of `filter-buffer-substring' (rework previous change).
10276         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
10277         (cua-repeat-replace-region):
10278         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
10279         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10280         (cua-cut-region-to-global-mark): Use it.
10282 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
10284         * progmodes/sql.el: Version 2.1.
10285         (sql-product-alist): Redesign structure of product info.
10286         (sql-product, sql-user, sql-server, sql-database): Safe variables.
10287         (sql-port, sql-port-history): New variables.
10288         (sql-interactive-product): New variable.
10289         (sql-send-terminator): New variable.
10290         (sql-imenu-generic-expression): Add "Types" imenu entry.
10291         (sql-oracle-login-params, sql-sqlite-login-params)
10292         (sql-mysql-login-params, sql-solid-login-params)
10293         (sql-sybase-login-params, sql-informix-login-params)
10294         (sql-ingres-login-params, sql-ms-login-params)
10295         (sql-postgres-login-params, sql-interbase-login-params)
10296         (sql-db2-login-params, sql-linter-login-params)
10297         (sql-oracle-scan-on): New variables.
10298         (sql-mode-map): Add C-c C-i to start interactive mode.
10299         (sql-mode-menu): Update existing menu entries.
10300         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
10301         (sql-mode-oracle-font-lock-keywords)
10302         (sql-mode-postgres-font-lock-keywords)
10303         (sql-mode-ms-font-lock-keywords)
10304         (sql-mode-sybase-font-lock-keywords)
10305         (sql-mode-informix-font-lock-keywords)
10306         (sql-mode-interbase-font-lock-keywords)
10307         (sql-mode-ingres-font-lock-keywords)
10308         (sql-mode-solid-font-lock-keywords)
10309         (sql-mode-mysql-font-lock-keywords)
10310         (sql-mode-sqlite-font-lock-keywords)
10311         (sql-mode-db2-font-lock-keywords)
10312         (sql-mode-linter-font-lock-keywords): Update initialization to
10313         reduce run-time complexity.
10314         (sql-add-product, sql-del-product): New functions.
10315         (sql-set-product-feature, sql-get-product-feature): New functions.
10316         (sql-product-font-lock): Update product API.
10317         (sql-add-product-keywords): New function.
10318         (sql-highlight-product): Update product API.
10319         (sql-help-list-products): New function.
10320         (sql-help): Dynamically lists free and non-free products.
10321         (sql-get-login): Correct bug in handling history and added
10322         prompt for port.
10323         (sql-copy-column): Copy without properties.
10324         (sqli-input-sender): Apply filters to SQLi input.
10325         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
10326         Implement as a filter.
10327         (sql-escape-newlines-filter): Implement as a filter.
10328         (sql-remove-tabs-filter): New function.
10329         (sql-send-magic-terminator): New function.
10330         (sql-send-string): Implement magic terminator.
10331         (sql-send-region): Use `sql-send-string'.
10332         (sql-interactive-mode): Use product API.
10333         (sql-product-interactive): Use product API.
10334         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
10335         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
10336         (sql-db2, sql-linter): Use `sql-product-interactive'.
10337         (sql-connect): New function.
10338         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
10339         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
10340         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
10341         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
10342         Use `sql-connect'.
10344 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10346         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10347         New custom variable.
10348         (completion-pcm--string->pattern): Use it.
10349         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
10350         Make it handle any symbol as `any'.
10351         (completion-pcm--merge-completions): Extract common suffix for the new
10352         `prefix' symbol as well.
10353         (completion-substring--all-completions): Use the new `prefix' symbol.
10355 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
10357         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
10358         not bound.
10359         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
10360         (tramp-compat-funcall): New defmacro.
10361         (tramp-compat-line-beginning-position)
10362         (tramp-compat-line-end-position)
10363         (tramp-compat-temporary-file-directory)
10364         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
10365         (tramp-compat-copy-file, tramp-compat-copy-directory)
10366         (tramp-compat-delete-file, tramp-compat-delete-directory)
10367         (tramp-compat-number-sequence, tramp-compat-process-running-p)
10368         * net/tramp.el (top, with-progress-reporter)
10369         (tramp-rfn-eshadow-setup-minibuffer)
10370         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
10371         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
10372         (tramp-completion-mode-p, tramp-check-for-regexp)
10373         (tramp-open-connection-setup-interactive-shell)
10374         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
10375         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
10376         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
10377         * net/tramp-cmds.el (tramp-cleanup-all-connections)
10378         (tramp-reporter-dump-variable, tramp-load-report-modules)
10379         (tramp-append-tramp-buffers)
10380         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
10382         * net/tramp-imap.el (top): Autoload `epg-make-context'.
10384 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10386         * progmodes/compile.el (compilation-buffer-modtime): Rename from
10387         buffer-modtime.  Adjust users.
10389 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10391         * international/mule.el (auto-coding-alist): Only purecopy
10392         car of each item, not the whole list (Bug#6083).
10394 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10396         * progmodes/js.el (js-mode): Make paragraph variables local before
10397         calling c-setup-paragraph-variables (Bug#6071).
10399 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
10401         * composite.el (compose-region, reference-point-alist): Fix typos
10402         in the doc strings.
10404 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
10406         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
10407         gnuplot's "set" command.
10409 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10411         * abbrev.el (last-abbrev-text): Doc fix.
10412         (abbrev-prefix-mark): Don't escape parenthesis.
10414 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
10416         * composite.el (find-composition): Doc fix.
10418 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10420         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
10421         (sql-oracle-program, sql-sqlite-options)
10422         (sql-query-placeholders-and-send): Doc fixes.
10423         (sql-set-product, sql-interactive-mode): Reflow docstrings.
10424         (sql-imenu-generic-expression, sql-buffer)
10425         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
10426         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
10427         (sql-mode-sybase-font-lock-keywords)
10428         (sql-mode-informix-font-lock-keywords)
10429         (sql-mode-interbase-font-lock-keywords)
10430         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
10431         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
10432         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
10433         (sql-product-feature, sql-highlight-product)
10434         (comint-line-beginning-position, sql-rename-buffer)
10435         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
10436         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
10437         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
10438         Fix typos in docstrings.
10440 2010-05-08  Juri Linkov  <juri@jurta.org>
10442         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
10443         property instead of `invisible' and `after-string' (bug#5998).
10445 2010-05-08  Juri Linkov  <juri@jurta.org>
10447         * image-mode.el (image-mode-as-text): Fix typo in docstring.
10449 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
10451         * filecache.el (file-cache-add-directory-list)
10452         (file-cache-add-directory-recursively): Fix typos in docstrings.
10454 2010-05-08  Kenichi Handa  <handa@m17n.org>
10456         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
10457         (gujarati-composable-pattern): Fix typo.
10459 2010-05-08  Kenichi Handa  <handa@m17n.org>
10461         * language/indian.el (oriya-composable-pattern)
10462         (tamil-composable-pattern, malayalam-composable-pattern):
10463         Add two-part vowels to "v" (vowel sign).
10465 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
10467         * files.el (copy-directory): Handle symlinks (Bug#5982).
10469 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
10471         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
10472         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
10473         (Bug#5846).
10475 2010-05-08  Glenn Morris  <rgm@gnu.org>
10477         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
10479         * minibuffer.el (completion-at-point): Doc fix.
10481 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10483         * electric.el (Electric-command-loop): Minor tweak.
10485         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
10486         better with dedicated windows.
10488 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
10490         * Version 23.2 released.
10492 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
10493             Stefan Monnier  <monnier@iro.umontreal.ca>
10495         Highlight vendor specific properties.
10496         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
10497         (css-proprietary-property): New face.
10498         (css-font-lock-keywords): Use them.
10500 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
10502         * cus-start.el (all): Add native condition for tool-bar-* symbols.
10504 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10506         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
10507         * files.el (auto-mode-alist): Remove redundant entries.
10509         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
10510         * simple.el (auto-save-mode): Move from files.el.
10511         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
10513 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
10515         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
10517 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
10519         * mail/binhex.el (binhex-decode-region-internal)
10520         * mail/uudecode.el (uudecode-decode-region-internal)
10521         * net/dns.el (dns-read-string-name, dns-write, dns-read)
10522         (dns-read-type, dns-query)
10523         * pgg-parse.el (pgg-parse-armor)
10524         * pgg.el (pgg-verify-region)
10525         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
10526         XEmacs.
10528         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
10530 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
10532         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
10534         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
10535         * emulation/cua-base.el (cua-repeat-replace-region):
10536         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
10537         (cua-cut-region-to-global-mark):
10538         Remove text properties with `set-text-properties'.
10540 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
10542         * net/tramp.el (top, with-progress-reporter):
10543         Use `symbol-function' inside `funcall'.
10545         * net/tramp-compat.el (tramp-compat-file-attributes)
10546         (tramp-compat-delete-file, tramp-compat-delete-directory):
10547         Handle only `wrong-number-of-arguments' error.
10549         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
10550         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
10551         inside `funcall'.
10553 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10555         * minibuffer.el (completion--sreverse, completion--common-suffix):
10556         New functions.
10557         (completion-pcm--merge-completions): Extract common suffix when safe.
10559         * emacs-lisp/easy-mmode.el (define-minor-mode):
10560         Make :variable more flexible.
10561         * files.el (auto-save-mode): Use it to define using define-minor-mode.
10563 2010-05-05  Juri Linkov  <juri@jurta.org>
10565         Add `slow' and `history' tags to the desktop data.
10567         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
10568         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
10569         (Info-finder-find-node): Require `finder.el' to be able
10570         to restore node from the desktop.
10571         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
10572         data `Info-history' and `slow' tag in the assoc list.
10573         (Info-restore-desktop-buffer): Don't restore nodes with the
10574         `slow' tag.  Restore `Info-history'.
10576 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
10578         Add FORCE argument to `delete-file'.
10580         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
10581         forcing to delete the temporary file.
10582         (ange-ftp-delete-file): Add FORCE arg.
10583         (ange-ftp-rename-remote-to-remote)
10584         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
10585         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
10586         Force file deletion.
10588         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
10590         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
10591         (tramp-handle-make-symbolic-link, tramp-handle-load)
10592         (tramp-do-copy-or-rename-file-via-buffer)
10593         (tramp-do-copy-or-rename-file-directly)
10594         (tramp-do-copy-or-rename-file-out-of-band)
10595         (tramp-handle-process-file, tramp-handle-call-process-region)
10596         (tramp-handle-shell-command, tramp-handle-file-local-copy)
10597         (tramp-handle-insert-file-contents, tramp-handle-write-region)
10598         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
10600         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
10601         (tramp-fish-handle-make-symbolic-link)
10602         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
10604         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10605         Use `tramp-compat-delete-file'.
10607         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
10608         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
10610         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
10611         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
10613         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
10614         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
10615         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
10616         Use `tramp-compat-delete-file'.
10618 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10620         Minor cleanups.
10621         * subr.el (add-minor-mode): Use push.
10622         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
10623         * emulation/edt.el (edt-select-mode): Simplify.
10625         Use define-minor-mode in more cases.
10626         * term/tvi970.el (tvi970-set-keypad-mode):
10627         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10628         (normal-erase-is-backspace-mode):
10629         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
10630         (set-scroll-bar-mode-1): (Re)move to its sole caller.
10631         (get-scroll-bar-mode): New function.
10632         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
10634         Use define-minor-mode for less obvious cases.
10635         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
10636         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
10637         * international/iso-ascii.el (iso-ascii-mode):
10638         * frame.el (auto-raise-mode, auto-lower-mode):
10639         * composite.el (global-auto-composition-mode): Use define-minor-mode.
10641 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
10643         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
10644         in order to see error messages for failed logins.
10646 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
10648         * diff.el (diff-sentinel):
10650         * epg.el (epg--make-temp-file, epg-decrypt-string)
10651         (epg-verify-string, epg-sign-string, epg-encrypt-string):
10653         * jka-compr.el (jka-compr-partial-uncompress)
10654         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
10656         * server.el (server-sentinel): Use delete-file's new FORCE arg
10657         (Bug#6070).
10659 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10661         Use define-minor-mode where applicable.
10662         * view.el (view-mode):
10663         * type-break.el (type-break-query-mode)
10664         (type-break-mode-line-message-mode):
10665         * textmodes/reftex.el (reftex-mode):
10666         * term/vt100.el (vt100-wide-mode):
10667         * tar-mode.el (tar-subfile-mode):
10668         * savehist.el (savehist-mode):
10669         * ibuf-ext.el (ibuffer-auto-mode):
10670         * composite.el (auto-composition-mode):
10671         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10672         Use define-minor-mode.
10673         (vhdl-mode): Use static mode-line format.
10674         (vhdl-mode-line-update): Delete.
10675         (vhdl-create-mode-menu, vhdl-activate-customizations)
10676         (vhdl-hs-minor-mode): Don't bother calling it.
10678 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10680         * simple.el (with-wrapper-hook): Move.
10681         (buffer-substring-filters): Mark obsolete.
10682         (filter-buffer-substring-functions): New variable.
10683         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
10685 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
10686             Michael Albinus  <michael.albinus@gmx.de>
10688         Implement compression for inline methods.
10690         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
10691         (tramp-copy-size-limit): Allow also nil.
10692         (tramp-inline-compress-commands): New defconst.
10693         (tramp-find-inline-compress, tramp-get-inline-compress)
10694         (tramp-get-inline-coding): New defuns.
10695         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
10696         replaced by `tramp-get-inline-coding'.
10697         (tramp-handle-file-local-copy, tramp-handle-write-region)
10698         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
10700 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10702         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
10703         Remove unused functions.
10705         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
10706         Set find-tag-default-function as a variable rather than a property.
10708         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
10709         * progmodes/etags.el (tags-completion-at-point-function):
10710         Remove left over interactive spec.  Add autoloading stub.
10711         (complete-tag): Use tags-completion-at-point-function.
10713 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
10715         * minibuffer.el (tags-completion-at-point-function): Fix return value.
10717 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10719         * ido.el (ido-init-completion-maps): Remove C-v binding.
10720         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
10722 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
10724         * minibuffer.el (tags-completion-at-point-function): New function.
10725         (completion-at-point-functions): Use it.
10727         * progmodes/etags.el (complete-tag): Revert last change.
10729 2010-04-29  Alan Mackenzie  <acm@muc.de>
10731         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
10732         off-by-one error (in end of macro position).
10734 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10736         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
10737         firefox is absent.  Don't autoload.
10738         (browse-url-galeon-program): Don't autoload.
10740 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10742         * bindings.el (complete-symbol): Move into minibuffer.el.
10744         * minibuffer.el (complete-tag): Move from etags.el.  If tags
10745         completion cannot be performed, return nil instead of signalling
10746         an error.
10747         (completion-at-point): Make it an alias for complete-symbol.
10748         (complete-symbol): Move from bindings.el, and replace with the
10749         body of completion-at-point.
10751         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
10753 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
10755         * net/tramp.el (tramp-remote-selinux-p): New defun.
10756         (tramp-handle-file-selinux-context)
10757         (tramp-handle-set-file-selinux-context): Use it.
10759 2010-04-28  Sam Steingold  <sds@gnu.org>
10761         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10762         `safe-local-variable' if the value is a string or a symbol with
10763         the property `bug-reference-url-format'.
10765 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
10767         * progmodes/bug-reference.el (bug-reference-url-format):
10768         Revert 2010-04-27 change due to security risk.
10770 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10772         Make it possible to locally disable a globally enabled mode.
10773         * simple.el (fundamental-mode): Run fundamental-mode-hook.
10774         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
10775         rather than kill-all-local-variables so it runs fundamental-mode-hook.
10776         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10777         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
10778         that subsequent hooks get a chance to disable it.
10780 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10782         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10783         Avoid re-enabling a minor mode after the user turned the minor mode
10784         off if MODE-enable-in-buffers is run twice (typically once from
10785         fundamental-mode's after-change-major-mode-hook and a second time from
10786         run-mode-hook's own after-change-major-mode-hook).
10788         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10790 2010-04-27  Sam Steingold  <sds@gnu.org>
10792         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10793         `safe-local-variable' if the value is a string or a function, as
10794         documented and implemented on 2010-04-02.
10796 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10798         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10799         when method is 'kill.
10801 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10803         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10804         condition in default directory check.
10805         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10806         Kill ispell process when killing its associated buffer.
10808 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10810         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10811         but we aren't using it.
10813 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10815         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10816         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10818 2010-04-24  Glenn Morris  <rgm@gnu.org>
10820         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10821         Ignore VCS-ignore files, and deleted nextstep preferences files.
10822         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10823         (authors-ambiguous-files): New list.
10824         (authors-valid-file-names): Add some deleted files.
10825         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10826         (authors-disambiguate-file-name): New function.  (Bug#5501)
10827         (authors-canonical-file-name): Doc fix.
10828         Don't warn about obsolete files.
10829         (authors-canonical-file-name, authors-scan-el):
10830         Use authors-disambiguate-file-name.
10832         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10833         Add autoload cookies.
10834         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10835         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10836         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10837         They have definitions / compiler macros in cl.el.
10838         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10839         Replace manual autoloads with generated ones.
10840         (htmlfontify-unload-rgb-file): Remove autoload.
10841         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10843 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10845         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10846         (byte-compile-setq-default): Optimize for the
10847         single-var case and don't call byte-compile-form in this case to avoid
10848         inf-loop with byte-compile-set-default.
10850         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10852 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10854         Implement SELINUX backends.
10856         * net/tramp.el (tramp-file-name-handler-alist):
10857         Add `file-selinux-context' and `set-file-selinux-context'.
10858         (tramp-handle-file-selinux-context)
10859         (tramp-handle-set-file-selinux-context): New defuns.
10860         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10861         Handle PRESERVE-SELINUX-CONTEXT.
10863         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10864         Add `file-selinux-context' and `set-file-selinux-context'.
10865         (tramp-gvfs-handle-file-selinux-context)
10866         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10867         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10869         * net/ange-ftp.el (ange-ftp-copy-file):
10870         * net/tramp-fish.el (tramp-fish-handle-copy-file):
10871         * net/tramp-imap.el (tramp-imap-handle-copy-file):
10872         * net/tramp-smb.el (tramp-smb-handle-copy-file):
10873         Add PRESERVE-SELINUX-CONTEXT.
10875 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10877         Synchronize with Tramp repository.
10879         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10880         (tramp-action-process-alive, tramp-action-out-of-band)
10881         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10882         (tramp-exists-file-name-handler): Fix docstring.
10883         (with-progress-reporter): New defmacro.
10884         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10885         (tramp-maybe-open-connection): Use it.
10887 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
10889         Detect ssh 'ControlMaster' argument automatically in some cases.
10891         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10892         (tramp-default-method): Use it.
10894 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10896         * net/tramp.el (tramp-handle-copy-file): Add new optional
10897         parameter `preserve-selinux-context'.
10898         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10900 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10902         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10903         Ensure, that non remote files are still checked.  Oops.
10905 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
10907         Fix Bug#5840.
10909         * icomplete.el (icomplete-completions): Use `non-essential'.
10911         * net/tramp.el (tramp-connectable-p): New defun.
10912         (tramp-handle-expand-file-name)
10913         (tramp-completion-handle-file-name-all-completions)
10914         (tramp-completion-handle-file-name-completion): Use it.
10916 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10918         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10920 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
10922         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10924         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10926         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10927         is present.
10929         * info.el (info-tool-bar-map): Add labels.
10931         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10933         * cus-edit.el (custom-commands): Add labels for tool bar.
10934         (custom-buffer-create-internal, Custom-mode): Adjust for
10935         labels in custom-commands.
10937         * dynamic-setting.el: Renamed from font-setting.el.
10939 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10941         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10942         toggles the use of virtual buffers.
10943         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10944         (ido-toggle-virtual-buffers): New function.
10946 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10948         Use `define-derived-mode'; fix window selection; doc fixes.
10949         * play/tetris.el (tetris, tetris-update-speed-function)
10950         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10951         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10952         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10953         (tetris-pause-game): Fix typos in docstrings.
10954         (tetris-mode-map, tetris-null-map):
10955         Move initialization into declaration.
10956         (tetris-mode): Define with `define-derived-mode';
10957         set show-trailing-whitespace to nil.
10958         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10960 2010-04-21  Karel Klíč  <kklic@redhat.com>
10962         * files.el (backup-buffer): Handle SELinux context, and return it
10963         if a backup was made by renaming.
10964         (backup-buffer-copy): Set SELinux context to the target file.
10965         (basic-save-buffer): Set SELinux context of the newly written file.
10966         (basic-save-buffer-1): Now it also returns any SELinux context.
10967         (basic-save-buffer-2): Set SELinux context of the newly created file,
10968         and return it.
10969         * net/tramp.el (tramp-file-name-for-operation):
10970         Add file-selinux-context.
10972 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10974         Make the log-edit comments use RFC822 format throughout.
10976         * vc.el (vc-checkin, vc-modify-change-comment):
10977         Adjust to new vc-start/finish-logentry.
10978         (vc-find-conflicted-file): New command.
10979         (vc-transfer-file): Adjust to new vc-checkin.
10980         (vc-next-action): Improve scoping.
10982         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10983         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10985         * vc-git.el (vc-git-log-edit-mode): Remove.
10986         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10987         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10989         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10990         (vc-start-logentry): Remove argument `extra'.
10991         (vc-finish-logentry): Remove extra args.
10993         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10994         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10995         (vc-bzr-conflicted-files): New function.
10997         * log-edit.el (log-edit-extra-flags)
10998         (log-edit-before-checkin-process): Remove.
10999         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11000         (log-edit-headers-alist): New var.
11001         (log-edit-header-contents-regexp): New const.
11002         (log-edit-match-to-eoh): New function.
11003         (log-edit-font-lock-keywords): Use them.
11004         (log-edit): Insert a "Summary:" header as default.
11005         (log-edit-mode): Mark font-lock rules as case-insensitive.
11006         (log-edit-done): Cleanup headers.
11007         (log-view-process-buffer): Remove.
11008         (log-edit-extract-headers): New function to replace it.
11010 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
11012         * subr.el (default-direction-reversed): Remove obsolescence info.
11014 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11016         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11017         windows/frames.
11019         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11020         I.e. include text after point in the completion region.
11021         Also, return nil when we're not after/in a symbol.
11023         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11024         default enable-multibyte-characters.
11026 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11028         * international/mule.el: Help the user choose a valid coding-system.
11029         (read-buffer-file-coding-system): New function.
11030         (set-buffer-file-coding-system): Use it.  Prompt the user if the
11031         coding-system cannot encode all the chars.
11033         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11034         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11035         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11036         Don't use *vc-bzr-shelve*.
11038 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
11040         Fix the version number for added files.
11041         * vc-hg.el (vc-hg-working-revision): Check if the file is
11042         registered after hg parent fails (Bug#5961).
11044 2010-04-19  Glenn Morris  <rgm@gnu.org>
11046         * htmlfontify.el (htmlfontify-buffer)
11047         (htmlfontify-copy-and-link-dir): Autoload entry points.
11049 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
11051         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11052         name relative to the project root (Bug#5960).
11054 2010-04-19  Glenn Morris  <rgm@gnu.org>
11056         * vc-git.el (vc-git-print-log): Doc fix.
11058 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
11060         * ido.el (ido-file-internal): Fix 2009-12-02 change.
11062 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
11064         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11065         default settings (Bug#5928).
11067 2010-04-19  Glenn Morris  <rgm@gnu.org>
11069         * progmodes/fortran.el (fortran-match-and-skip-declaration):
11070         New function.
11071         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
11073 2010-04-19  Kenichi Handa  <handa@m17n.org>
11075         * language/indian.el (malayalam-composable-pattern): Fix previous
11076         change (add U+0D4D "SIGN VIRAMA").
11077         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11078         (tamil-composable-pattern): Fix typo in the regexp.
11079         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11080         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11081         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11083 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11085         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11086         paragraph-separate (Bug#5821).
11088 2010-04-19  Juri Linkov  <juri@jurta.org>
11090         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11092         * info.el (Info-find-node-2): Comment out code that skips
11093         breadcrumbs line.
11094         (Info-mouse-follow-link): New command.
11095         (Info-link-keymap): New keymap.
11096         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11097         Return a string with links instead of inserting breadcrumbs
11098         to the Info buffer.
11099         (Info-fontify-node): Comment out code that inserts breadcrumbs.
11100         Instead of putting the `invisible' text property over the Info
11101         header, make an overlay over the Info header with the `invisible'
11102         property and `after-string' set to the string returned by
11103         `Info-breadcrumbs'.
11105 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
11107         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11108         Reported by monkey@sandpframing.com.
11110 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11112         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11113         (tmm-get-keymap): Add key-binding shortcuts now that they're not
11114         available in the "keyseq cache" any more.
11116         * custom.el (defcustom): Add edebug spec.
11118 2010-04-18  Juri Linkov  <juri@jurta.org>
11120         Test for special mode-class in view-buffer instead of view-file (bug#5513).
11122         * view.el (view-file, view-buffer): Move test for special mode-class
11123         from view-file to view-buffer.
11125         * tar-mode.el (tar-extract): Turn if's into one cond
11126         like in arc-mode.el.
11128 2010-04-18  Juri Linkov  <juri@jurta.org>
11130         Add 7z archive format support (bug#5475).
11132         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11133         (archive-7z-extract): New defcustom.
11134         (archive-find-type): Add magic string for 7z.
11135         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
11136         If `stderr-file' is non-nil, use `(t stderr-file)' for the
11137         `buffer' arg of `call-process'.
11138         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
11139         call the function `archive-7z-extract' with the variable
11140         `archive-7z-extract' let-bound to `archive-zip-extract'.
11141         (archive-7z-summarize, archive-7z-extract): New functions.
11143         * international/mule.el (auto-coding-alist):
11144         * files.el (auto-mode-alist): Add 7z file extension.
11146 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11148         * loadup.el: Setup hash-cons for pure data.
11150         Fix duplicate entries in cedet's loaddefs.el files.
11151         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
11152         Should make most file-local generated-autoload-file unnecessary.
11153         (print-readably): Silence warnings.
11154         (autoload-find-destination): Take load-name as an arg to make sure
11155         it's the same as the one that will be in the file.
11156         (autoload-generate-file-autoloads): Adjust to above changes.
11157         Try to make the dataflow a bit simpler.
11159         * cvs-status.el (cvs-refontify): Remove unused.
11161 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
11163         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
11165         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
11166         twos-complement mode.
11168 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
11170         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
11171         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
11172         (calc-inverse): Add "Option" to message, as appropriate.
11173         (calc-hyperbolic): Add "Option" to message, as appropriate.
11174         (calc-option, calc-is-option): New functions.
11176         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
11177         (calc-option-prefix-help): New function.
11179         * calc/calc-misc.el (calc-help): Add "Option" entry.
11181         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
11182         (calc-option-flag): New variable.
11183         (calc-do): Set `calc-option-flag to nil.
11184         (calc-set-mode-line): Add "Opt " as appropriate.
11186 2010-04-16  Juri Linkov  <juri@jurta.org>
11188         Move scrolling commands from simple.el to window.el
11189         because their primitives are implemented in window.c.
11191         * simple.el (scroll-error-top-bottom)
11192         (scroll-up-command, scroll-down-command, scroll-up-line)
11193         (scroll-down-line, scroll-other-window-down)
11194         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11195         * window.el (scroll-error-top-bottom)
11196         (scroll-up-command, scroll-down-command, scroll-up-line)
11197         (scroll-down-line, scroll-other-window-down)
11198         (beginning-of-buffer-other-window, end-of-buffer-other-window):
11199         Move from simple.el to window.el because their primitives are
11200         implemented in window.c.
11202 2010-04-16  Juri Linkov  <juri@jurta.org>
11204         * isearch.el (isearch-lookup-scroll-key): Check both
11205         `isearch-scroll' and `scroll-command' properties.
11206         (scroll-up, scroll-down): Remove `isearch-scroll' property.
11208         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
11210         * simple.el (scroll-up-command, scroll-down-command)
11211         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
11213 2010-04-15  Juri Linkov  <juri@jurta.org>
11215         * simple.el (scroll-up-command, scroll-down-command)
11216         (scroll-up-line, scroll-down-line): Put `scroll-command'
11217         property on the these symbols.  Remove them from
11218         `scroll-preserve-screen-position-commands'.
11220         * mwheel.el (mwheel-scroll): Put `scroll-command' and
11221         `isearch-scroll' properties on the `mwheel-scroll' symbol.
11222         Remove it from `scroll-preserve-screen-position-commands'.
11224         * isearch.el (isearch-allow-scroll): Doc fix.
11226 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
11228         * net/tramp.el (tramp-error-with-buffer): Don't show the
11229         connection buffer when we are in completion mode.
11230         (tramp-file-name-handler): Catch the error for some operations
11231         when we are in completion mode.  This gives the user the chance to
11232         correct the file name in the minibuffer.
11234 2010-04-15  Glenn Morris  <rgm@gnu.org>
11236         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
11238 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
11240         Simplify by using `define-derived-mode'.
11241         * info.el (Info-mode):
11242         * calendar/todo-mode.el (todo-mode):
11243         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
11244         (gomoku-mode-map): Move initialization into declaration.
11246 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
11248         Fix Bug#5840.
11249         * ido.el (ido-file-name-all-completions-1):
11250         * minibuffer.el (minibuffer-completion-help):
11251         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
11253 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11255         * simple.el (non-essential): New var.
11257         Add a new field `location' to bookmarks for non-file bookmarks.
11258         * bookmark.el (bookmark-location): Use the new field, if present.
11259         (bookmark-insert-location): Undo last change, not needed any more.
11260         * man.el (Man-bookmark-make-record):
11261         * woman.el (woman-bookmark-make-record): Add `location' field.
11263 2010-04-14  Juri Linkov  <juri@jurta.org>
11265         * simple.el (scroll-error-top-bottom): New defcustom.
11266         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
11268         * emulation/pc-select.el (pc-select-override-scroll-error):
11269         Obsolete in favor of `scroll-error-top-bottom'.
11271 2010-04-14  Juri Linkov  <juri@jurta.org>
11273         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
11274         `scroll-up-command' and `M-v' to `scroll-down-command'.
11276         * emulation/cua-rect.el (cua--init-rectangles):
11277         * forms.el (forms--change-commands):
11278         * image-mode.el (image-mode-map):
11279         Remap scroll-down-command and scroll-up-command
11280         in addition to scroll-down and scroll-up.
11282 2010-04-14  Juri Linkov  <juri@jurta.org>
11284         * mwheel.el (scroll-preserve-screen-position-commands):
11285         Add mwheel-scroll to this list of commands.
11287         * simple.el (scroll-preserve-screen-position-commands):
11288         Add scroll-up-command, scroll-down-command, scroll-up-line,
11289         scroll-down-line to this list of commands.
11291 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11293         * obsolete/complete.el: Move from lisp/complete.el.
11295         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
11297         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
11298         to the minor mode function now turns the mode ON unconditionally.
11300 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11302         * vc-dir.el (vc-dir-kill-line): New command.
11303         (vc-dir-mode-map): Bind it to C-k.
11305         * bookmark.el (bookmark-insert-location): Handle a nil filename.
11307         * woman.el: Add bookmark declarations to silence the compiler.
11308         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
11309         step to compatibility between man and woman bookmarks.
11310         Adjust for Man-default-bookmark-title renaming.
11311         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
11313         * man.el: Add bookmark declarations to silence the compiler.
11314         (Man-name-local-regexp): Make it match NAME as well.
11315         (Man-getpage-in-background): Return the buffer.
11316         (Man-notify-when-ready): Use `case'.
11317         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
11318         Don't hardcode "NAME".  Simplify.
11319         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
11320         Rename from Man-bookmark-make-record.
11321         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
11322         we have the actual man-args.  Use Man-getpage-in-background rather
11323         than `man' since the arg is already processed.  Let bookmark.el do the
11324         window handling.  Only wait for the relevant process.
11325         Don't forget to autoload.
11327         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
11329 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11331         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
11332         New functions.
11333         (woman-mode): Setup bookmark support.
11335         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
11336         (man-bookmark-jump): New functions.
11337         (Man-mode): Setup bookmark support.
11339 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
11341         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
11342         recognize ssh-keygen prompt (Bug#2817).
11344 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11346         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
11348 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
11350         Synchronize with Tramp repository.
11352         * net/tramp.el (tramp-completion-function-alist)
11353         (tramp-file-name-regexp, tramp-chunksize)
11354         (tramp-local-coding-commands, tramp-remote-coding-commands):
11355         Fix docstring.
11356         (tramp-remote-process-environment): Use `format' instead of `concat'.
11357         (tramp-handle-directory-files-and-attributes)
11358         (tramp-get-remote-path): Use `copy-tree'.
11359         (tramp-handle-file-name-all-completions): Backward/ XEmacs
11360         compatibility: Use `completion-ignore-case' if
11361         `read-file-name-completion-ignore-case' does not exist.
11362         (tramp-do-copy-or-rename-file-directly): Do not use
11363         `tramp-handle-file-remote-p'.
11364         (tramp-do-copy-or-rename-file-out-of-band):
11365         Use `tramp-compat-delete-directory'.
11366         (tramp-do-copy-or-rename-file-out-of-band)
11367         (tramp-compute-multi-hops, tramp-maybe-open-connection):
11368         Use `format-spec-make'.
11369         (tramp-find-foreign-file-name-handler)
11370         (tramp-advice-make-auto-save-file-name)
11371         (tramp-set-auto-save-file-modes): Remove superfluous check for
11372         `stringp'.  This is done inside `tramp-tramp-file-p'.
11373         (tramp-debug-outline-regexp): New defconst.
11374         (tramp-get-debug-buffer): Use it.
11375         (tramp-check-for-regexp): Use (forward-line 1).
11376         (tramp-set-auto-save-file-modes): Adapt version check.
11378         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
11379         Wrap call of `featurep' for 2nd argument.
11380         (tramp-compat-make-temp-file): Simplify fallback implementation.
11381         (tramp-compat-copy-tree): Remove function.
11382         (tramp-compat-delete-directory): Provide implementation for older
11383         Emacsen.
11385         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
11386         Do not use `tramp-fish-handle-file-attributes.
11388         * net/trampver.el: Update release number.
11390 2010-04-10  Glenn Morris  <rgm@gnu.org>
11392         * progmodes/compile.el (compilation-save-buffers-predicate):
11393         Add missing :version tag.
11395 2010-04-09  Sam Steingold  <sds@gnu.org>
11397         * progmodes/compile.el (compilation-save-buffers-predicate):
11398         Remove the "autoload" cookie.
11400         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
11401         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
11402         and `bug-reference-prog-mode' can be used in hooks directly.
11404 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
11406         Add --author support to git commit.
11407         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
11408         (vc-git-log-edit-mode): New minor mode.
11409         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
11410         New declarations.
11412 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
11414         * vc-hooks.el, vc-git.el: Improve documentation comments.
11416 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11418         Fix some of the problems in defsubst* (bug#5728).
11419         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
11420         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
11422 2010-04-07  Sam Steingold  <sds@gnu.org>
11424         * progmodes/compile.el (compilation-save-buffers-predicate):
11425         New custom variable.
11426         (compile, recompile): Pass it to `save-some-buffers'.
11428 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
11430         * wid-edit.el (widget-choose): Move cursor to the second line of
11431         the buffer (Bug#5695).
11433 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11435         Add new VC methods: vc-log-incoming and vc-log-outgoing.
11436         * vc.el (vc-print-log-setup-buttons): New function split out from
11437         vc-print-log-internal.
11438         (vc-log-internal-common): New function, a parametrized version of
11439         vc-print-log-internal.
11440         (vc-print-log-internal): Just call vc-log-internal-common with the
11441         right arguments.
11442         (vc-incoming-outgoing-internal):
11443         (vc-log-incoming, vc-log-outgoing): New functions.
11444         (vc-log-view-type): New permanent local variable.
11446         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
11448         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
11449         of the dynamic bound vc-short-log.
11450         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
11452         * vc-git.el (vc-git-log-outgoing): New function.
11453         (vc-git-log-view-mode): Use vc-log-view-type instead
11454         of the dynamic bound vc-short-log.
11456         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
11457         of the dynamic bound vc-short-log.  Highlight the tag.
11458         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
11459         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
11460         (vc-hg-incoming-mode): Remove.
11461         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
11463 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
11465         Fix default-directory for vc-root-diff.
11466         * vc.el (vc-root-diff): Bind default-directory to the root
11467         directory for the diff command.
11469 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
11471         * progmodes/verilog-mode.el (verilog-forward-sexp):
11472         (verilog-calc-1): Support "disable fork" and "fork wait" multi
11473         word keywords, suggested by Steve Pearlmutter.
11474         (verilog-pretty-declarations): Support lineup of declarations in
11475         port lists.
11476         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
11477         fix bug for /* / comments.
11478         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
11479         Speed up and simplfy as this is never called with a bound.
11480         (verilog-pretty-declarations): Enhance to line up declarations
11481         inside a parameter list, suggested by Alan Morgan.
11482         (verilog-pretty-expr): Tune assignment regular expression match
11483         string for corner cases; also use markers instead of character
11484         number as indent changes the later.
11486 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
11488         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
11489         as missing keyword.
11490         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
11491         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
11492         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
11493         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
11494         Tennant.
11495         (verilog-keywords):
11496         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
11497         1800-2009 keywords, including "global.".
11499 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11501         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
11502         appearing in buffer list (if a live buffer name matched a recentf
11503         file basename).  Should use uniquify to offer a real solution.
11505 2010-04-06  John Wiegley  <jwiegley@gmail.com>
11507         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
11508         comment to code, and add a :version tag.
11509         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
11511 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
11513         Enable recentf-mode if using virtual buffers.
11514         * ido.el (recentf-list): Declare for byte-compiler.
11515         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
11516         (ido-make-buffer-list): Simplify.
11517         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
11519 2010-04-05  Juri Linkov  <juri@jurta.org>
11521         Scrolling commands which scroll a line instead of full screen.
11522         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11524         * simple.el (scroll-up-line, scroll-down-line): New commands.
11525         Put property isearch-scroll=t on them.
11527         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
11528         Remove commands.
11530 2010-04-05  Juri Linkov  <juri@jurta.org>
11532         Scrolling commands which do not signal errors at top/bottom.
11533         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
11535         * simple.el (scroll-up-command, scroll-down-command): New commands.
11536         Put property isearch-scroll=t on them.
11538         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
11539         `scroll-down-command' and [next] from `scroll-up' to
11540         `scroll-up-command'.
11542         * emulation/cua-base.el: Put property CUA=move on
11543         `scroll-up-command' and `scroll-down-command'.
11544         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
11545         and `scroll-down-command' to `cua-scroll-down'.
11547 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
11549         * help.el (describe-mode): Return nil.
11551 2010-04-04  John Wiegley  <jwiegley@gmail.com>
11553         * ido.el (ido-use-virtual-buffers): New variable to indicate
11554         whether "virtual buffer" support is enabled for IDO.
11555         (ido-virtual): Face used to indicate virtual buffers in the list.
11556         (ido-buffer-internal): If a buffer is chosen, and no such buffer
11557         exists, but a virtual buffer of that name does (which would be why
11558         it was in the list), recreate the buffer by reopening the file.
11559         (ido-make-buffer-list): If virtual buffers are being used, call
11560         `ido-add-virtual-buffers-to-list' before the make list hook.
11561         (ido-virtual-buffers): New variable which contains a copy of the
11562         current contents of the `recentf-list', albeit pared down for the
11563         sake of speed, and with proper faces applied.
11564         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
11565         create a list of "virtual buffers" to present to the user in
11566         addition to the currently open set.  Note that this logic could
11567         get rather slow if that list is too large.  With the default
11568         `recentf-max-saved-items' of 200, there is little speed penalty.
11570 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11572         * font-lock.el: Require CL when compiling.
11573         (font-lock-turn-on-thing-lock): Use `case'.
11575 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
11577         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
11578         Zaretskii.
11580 2010-04-02  Juri Linkov  <juri@jurta.org>
11582         * ehelp.el (electric-help-orig-major-mode):
11583         New buffer-local variable.
11584         (electric-help-mode): Set it to original major-mode.  Doc fix.
11585         (with-electric-help): Use `electric-help-orig-major-mode' instead
11586         of (default-value 'major-mode).  Doc fix.
11587         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
11589 2010-04-02  Sam Steingold  <sds@gnu.org>
11591         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
11592         `vc-hg-command' with a list of flags.
11594         * progmodes/bug-reference.el (bug-reference-bug-regexp):
11595         Also accept "patch" and "RFE".
11596         (bug-reference-fontify): `bug-reference-url-format' can also be a
11597         function to be able to handle the bug kind.
11598         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
11600 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
11602         * tmm.el (tmm-get-keymap): Check with symbolp before passing
11603         value to fboundp, it may not be a symbol.
11605 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11607         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
11609 2010-03-31  Juri Linkov  <juri@jurta.org>
11611         * simple.el (next-line, previous-line): Re-throw a signal
11612         with `signal' instead of using `ding'.
11613         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
11615 2010-03-31  Juri Linkov  <juri@jurta.org>
11617         * simple.el (keyboard-escape-quit): Raise deselecting the active
11618         region higher than exiting the minibuffer.
11619         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
11621 2010-03-31  Juri Linkov  <juri@jurta.org>
11623         * image.el (image-animated-p): Use `image-metadata' instead of
11624         `image-extension-data'.  Get GIF extenstion data from metadata
11625         property `extension-data'.
11627 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11629         * simple.el (append-to-buffer): Simplify.
11631 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
11633         * textmodes/artist.el (artist-mode): Fix typo in docstring.
11634         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
11636 2010-03-31  Kenichi Handa  <handa@m17n.org>
11638         * language/sinhala.el (composition-function-table): Fix regexp for
11639         the new Unicode specification.
11641         * language/indian.el (devanagari-composable-pattern)
11642         (tamil-composable-pattern, kannada-composable-pattern)
11643         (malayalam-composable-pattern): Adjust for the new Unicode
11644         specification.
11645         (bengali-composable-pattern, gurmukhi-composable-pattern)
11646         (gujarati-composable-pattern, oriya-composable-pattern)
11647         (telugu-composable-pattern): New variables to cope with the new
11648         Unicode specification.  Use them in composition-function-table.
11650 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11652         Make tmm-menubar work for the Buffers menu again (bug#5726).
11653         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
11654         vectors rather than cons cells, as used in menu-bar-update-buffers.
11656 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11658         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
11659         (js-insert-and-indent): Revert 2009-08-15 change, restoring
11660         electric punctuation for "{}();,:" (Bug#5586).
11662         * mail/sendmail.el (mail-default-directory): Doc fix.
11664 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11666         * mail/sendmail.el (mail-default-directory): Doc fix.
11668 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
11670         * subr.el (version-regexp-alist, version-to-list)
11671         (version-list-<, version-list-=, version-list-<=)
11672         (version-list-not-zero, version<, version<=, version=): Doc fix.
11673         (Bug#5744).
11675 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
11677         * vc.el (vc-root-diff): Doc fix.
11679 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11681         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
11683         * simple.el (append-to-buffer): Fix last change.
11685 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
11687         * simple.el (append-to-buffer): Ensure that point is preserved if
11688         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
11689         (Bug#5749)
11691 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11693         * files.el (auto-mode-case-fold): Change default to t.
11695 2010-03-30  Juri Linkov  <juri@jurta.org>
11697         * dired-x.el (dired-omit-mode): Doc fix.
11699 2010-03-30  Juri Linkov  <juri@jurta.org>
11701         * replace.el (occur-accumulate-lines): Move occur-engine related
11702         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
11703         to be located after `occur-engine'.
11705 2010-03-30  Juri Linkov  <juri@jurta.org>
11707         Make occur handle multi-line matches cleanly with context.
11708         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
11710         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
11711         (occur-engine): Add local variables `ret', `prev-after-lines',
11712         `prev-lines'.  Use more arguments for `occur-context-lines'.
11713         Set first elem of its returned list to `data', and the second elem
11714         to `prev-after-lines'.  Don't print the separator line.
11715         In the end, print remaining context after-lines.
11716         (occur-context-lines): Add new arguments `begpt', `endpt',
11717         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
11718         after-lines of the previous match with before-lines of the
11719         current match and not overlap them.  Return a list with two
11720         values: the output line and the list of context after-lines.
11722 2010-03-30  Juri Linkov  <juri@jurta.org>
11724         * replace.el (occur-accumulate-lines): Fix a bug where the first
11725         context line at the beginning of the buffer was missing.
11727 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
11729         * files.el: Make bidi-display-reordering safe variable for boolean
11730         values.
11732 2010-03-29  Phil Hagelberg  <phil@evri.com>
11733             Chong Yidong  <cyd@stupidchicken.com>
11735         * subr.el: Extend progress reporters to perform "spinning".
11736         (progress-reporter-update, progress-reporter-do-update):
11737         Handle non-numeric value arguments.
11738         (progress-reporter--pulse-characters): New var.
11740 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
11742         * progmodes/compile.el (compilation-start): Fix regexp detection
11743         of initial cd command (Bug#5771).
11745 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
11747         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
11749 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
11751         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
11752         * progmodes/gdb-mi.el: Restore.
11753         * progmodes/gdb-ui.el: Remove.
11754         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
11756 2010-03-25  Glenn Morris  <rgm@gnu.org>
11758         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
11759         all dired buffers, even tramp ones.  (Bug#5755)
11761 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11763         Add "union tags" in mpc.el.
11764         * mpc.el: Remove backward compatibility code.
11765         (mpc-browser-tags): Change default.
11766         (mpc--find-memoize-union-tags): New var.
11767         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
11768         (mpc-cmd-find): Handle the case where the playlist does not exist.
11769         Handle union-tags.
11770         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
11771         (mpc-cmd-add): Use mpc-cmd-flush.
11772         (mpc-tagbrowser-tag-name): New fun.
11773         (mpc-tagbrowser-buf): Use it.
11774         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
11776 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11778         Misc cleanup.
11779         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
11780         Use replace-regexp-in-string.
11781         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
11782         (makefile-imake-mode-syntax-table): Move init into defvar.
11783         (makefile-mode): Use define-derived-mode.
11785         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
11786         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11787         not be present any more.
11789 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11791         * faces.el (set-face-attribute): Fix typo in docstring.
11792         (face-valid-attribute-values): Reflow docstring.
11794 2010-03-24  Glenn Morris  <rgm@gnu.org>
11796         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11798 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11800         * indent.el (indent-for-tab-command): Doc fix.
11802 2010-03-24  Alan Mackenzie  <acm@muc.de>
11804         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11805         Fix off-by-one error.  Fixes bug #5747.
11807 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11809         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11810         (image-dired-read-comment): Doc fix.
11812         * json.el (json-object-type, json-array-type, json-key-type)
11813         (json-false, json-null, json-read-number):
11814         * minibuffer.el (completion-in-region-functions):
11815         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11816         (cal-tex-cursor-week):
11817         * emacs-lisp/trace.el (trace-function):
11818         * eshell/em-basic.el (eshell/printnl):
11819         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11820         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11821         * obsolete/levents.el (allocate-event, event-key, event-object)
11822         (event-point, event-process, event-timestamp, event-to-character)
11823         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11824         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11825         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11826         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11827         (reftex-highlight-selection): Fix typos in docstrings.
11829 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11831         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11833 2010-03-24  Glenn Morris  <rgm@gnu.org>
11835         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11836         2008-02-13 without comment; mark it obsolete.
11837         (rmail-highlight-headers): Use rmail-highlight-face once more.
11839 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11841         * woman.el (woman2-process-escapes): Only consume the newline if
11842         the filler character is on a line by itself (Bug#5729).
11844 2010-03-24  Kenichi Handa  <handa@m17n.org>
11846         * language/indian.el (devanagari-composable-pattern): Add more
11847         consonants.
11849 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11851         * net/trampver.el: Update release number.
11853 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11855         * net/tramp.el (tramp-find-executable):
11856         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11857         output of "wc -l" more robust.
11858         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11859         (tramp-open-connection-setup-interactive-shell): Remove workaround
11860         for OpenSolaris bug, it is not needed anymore.
11862 2010-03-24  Glenn Morris  <rgm@gnu.org>
11864         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
11866 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
11868         * files.el (auto-mode-alist): Accept more verilog file patterns.
11870 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11872         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11874 2010-03-24  Glenn Morris  <rgm@gnu.org>
11876         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11877         log-edit-before-checkin-process.
11879         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11881         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11883         * vc-dispatcher.el (vc-start-logentry): Doc fix.
11884         (log-view-process-buffer, log-edit-extra-flags): Declare.
11886         * log-edit.el (log-edit-before-checkin-process): Doc fix.
11888 2010-03-23  Sam Steingold  <sds@gnu.org>
11890         Fix bug#5620: recalculate all markers on compilation buffer
11891         modifications, not on file modifications.
11892         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11893         variable: the buffer modification time, for buffers not associated with
11894         files.
11895         (compilation-mode): Create it.
11896         (compilation-filter): Update it.
11897         (compilation-next-error-function): Use it instead of
11898         `visited-file-modtime' for timestamp.
11900 2010-03-23  Juri Linkov  <juri@jurta.org>
11902         Implement Occur multi-line matches.
11903         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11905         * replace.el (occur): Doc fix.
11906         (occur-engine): Set `begpt' to the beginning of the first line.
11907         Set `endpt' to the end of the last match line.  At first, count
11908         line numbers between `origpt' and `begpt'.  Split out code from
11909         `out-line' variable to new let-bindings `match-prefix' and
11910         `match-str'.  In `out-line' add non-numeric prefix to all
11911         non-first lines of multi-line matches.  Finally, count lines
11912         between `begpt' and `endpt' and add to `lines'.
11914 2010-03-23  Juri Linkov  <juri@jurta.org>
11916         * replace.el (occur-accumulate-lines, occur-engine):
11917         Use `occur-engine-line' instead of duplicate code.
11918         (occur-engine-line): New function created from duplicate code
11919         in `occur-accumulate-lines' and `occur-engine'.
11921         * replace.el (occur-engine-line): Add optional arg `keep-props'.
11922         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11924 2010-03-23  Juri Linkov  <juri@jurta.org>
11926         * finder.el: Remove TODO tasks.
11928         * info.el (Info-finder-find-node): Add node "all"
11929         with all package info.  Handle a list of multiple keywords
11930         separated by comma.
11931         (info-finder): In interactive use with a prefix argument,
11932         use `completing-read-multiple' to read a list of keywords
11933         separated by comma.
11935 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11937         Add a new completion style `substring'.
11938         * minibuffer.el (completion-basic--pattern): New function.
11939         (completion-basic-try-completion, completion-basic-all-completions):
11940         Use it.
11941         (completion-substring--all-completions)
11942         (completion-substring-try-completion)
11943         (completion-substring-all-completions): New functions.
11944         (completion-styles-alist): New style `substring'.
11946 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11948         Get rid of .elc files after removal of the corresponding .el.
11949         * Makefile.in (compile-clean): New target.
11950         (compile-main): Use it.
11952 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11954         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11955         don't do make there.  When compiling with separate object dir, there
11956         is no Makefile there.
11958 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11960         Get rid of the ELCFILES abomination, again.
11961         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11962         (all, compile): Don't call compile-last.
11963         (compile-main): Build the "elcfiles" list dynamically.
11964         (compile-targets): New (internal) target.
11966 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11968         * Makefile.in (top_srcdir): Define.
11969         (abs_top_builddir): Define.
11970         (srcdir): Don't append `/..'.
11971         (EMACS): Use ${abs_top_builddir}.
11972         (all, compile, compile-always, compile-last): Don't set emacswd.
11973         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11974         $(srcdir).
11975         (lisp): Use $(srcdir) instead of @srcdir@.
11977 2010-03-21  Juri Linkov  <juri@jurta.org>
11979         Fix message of multi-line occur regexps and multi-buffer header lines.
11980         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11982         * replace.el (occur-1): Don't display regexp if it is longer
11983         than window-width.  Use `query-replace-descr' to display regexp.
11984         (occur-engine): Don't display regexp in the buffer header for
11985         multi-buffer occur.  Display a separate header line with total
11986         match count and regexp for multi-buffer occur.
11987         Use `query-replace-descr' to display regexp.
11989 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11991         * net/secrets.el: Fix parenthesis.
11992         (secrets-enabled): Fix parenthesis.
11994 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11996         Use more relative file and directory names.
11997         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11998         (setwins, setwins_almost, setwins_for_subdirs):
11999         Don't `cd'; output relative names.
12000         (all, compile, compile-always, compile-last): Set emacswd.
12001         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12002         Just cd to the lisp source dir so we can use relative file names.
12004         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12006 2010-03-20  Glenn Morris  <rgm@gnu.org>
12008         * textmodes/rst.el: Use faces for font-lock customization, and make the
12009         old -face variables obsolete.
12010         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12011         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12012         (rst-block-face, rst-external-face, rst-definition-face)
12013         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12014         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12015         Make obsolete.
12016         (rst-font-lock-keywords-function): Update for above changes.
12018 2010-03-20  Juri Linkov  <juri@jurta.org>
12020         * s-region.el:
12021         * obsolete/s-region.el: Move to obsolete.
12023 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
12025         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12027 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12029         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12031 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
12033         Add special markup processing for commit logs.
12034         * log-edit.el (log-edit-extra-flags): New variable.
12035         (log-edit): Add new argument MODE.  Use that mode when non-nil
12036         instead of the log-view-mode.
12037         (log-view-process-buffer): New function.
12039         * vc.el: Document that the checkin method takes optional
12040         arguments.  Document new backend specific method: log-view-mode.
12041         (vc-default-log-edit-mode): New function.
12042         (vc-checkin): Use a backend specific log-view-mode.
12043         Pass extra arguments to the checkin method.
12044         (vc-modify-change-comment): Pass a dummy extra argument.
12046         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12047         log-edit.
12048         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12049         (vc-finish-logentry): Process the log buffer before passing it
12050         down.  Pass log-edit-extra-flags.
12052         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12053         command.
12054         (log-edit-extra-flags, log-edit-before-checkin-process):
12055         New declarations.
12057         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12058         command.
12059         (log-edit-extra-flags, log-edit-before-checkin-process):
12060         New declarations.
12061         (vc-hg-log-edit-mode): New derived mode.
12063         * vc-arch.el (vc-arch-checkin):
12064         * vc-cvs.el (vc-cvs-checkin):
12065         * vc-git.el (vc-git-checkin):
12066         * vc-mtn.el (vc-mtn-checkin):
12067         * vc-rcs.el (vc-rcs-checkin):
12068         * vc-sccs.el (vc-sccs-checkin):
12069         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12071 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12073         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12074         parent typo).
12076 2010-03-19  Glenn Morris  <rgm@gnu.org>
12078         * password-cache.el (password-cache, password-cache-expiry): Autoload.
12080 2010-03-18  Glenn Morris  <rgm@gnu.org>
12082         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12084         * replace.el (query-replace-history): Give it a doc string.
12085         (map-query-replace-regexp): Use query-replace-from-history-variable
12086         and query-replace-to-history-variable.
12088         * mail/hashcash.el (declare-function): Remove duplicate definition.
12090         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12091         Make it an obsolete alias for report-emacs-bug-address.
12092         (message-strip-special-text-properties): Declare.
12093         (report-emacs-bug): Remove test for a pretest bug address.
12094         Combine message-mode-specific code.
12096         * mail/supercite.el: Don't require sendmail.
12097         (mh-in-header-p): Declare rather than using with-no-warnings.
12098         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12099         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
12101         * calendar/cal-french.el: Convert to utf-8.
12103         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12104         Emacs scripts.
12106 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
12108         * net/secrets.el (secrets-enabled): New variable.  Use it instead
12109         of a subfeature.
12111 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
12113         * net/secrets.el (top): Register the D-Bus signals only when the
12114         service "org.freedesktop.secrets" can be pinged.
12115         Provide subfeature `enabled'.
12117 2010-03-14  Juri Linkov  <juri@jurta.org>
12119         Add finder unknown keywords.
12121         * finder.el (finder-unknown-keywords): New function.
12123         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12124         to create a Finder node with unknown keywords.
12126 2010-03-14  Juri Linkov  <juri@jurta.org>
12128         * finder.el (finder-compile-keywords): Replace `princ' with
12129         `prin1' on a list of symbols interned from keyword strings.
12131         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12132         a comma, then split keywords using a comma and optional whitespace.
12133         Otherwise, split by whitespace.
12135         * complete.el:
12136         * face-remap.el:
12137         * log-view.el:
12138         * net/hmac-def.el:
12139         * net/hmac-md5.el:
12140         * net/netrc.el:
12141         * progmodes/mixal-mode.el: Fix keywords.
12143 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
12145         * Makefile.in (ELCFILES): Add net/secrets.elc.
12147         * net/secrets.el: New file.
12149 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12151         * facemenu.el (list-colors-display, list-colors-print): New arg
12152         callback.  Use it to allow selecting colors.
12154         * wid-edit.el (widget-image-insert): Insert image prop even if the
12155         current display is non-graphic.
12156         (widget-field-value-set): New fun.
12157         (editable-field): Use it.
12158         (widget-field-value-get): Clean up unused var.
12159         (widget-color-value-create, widget-color--choose-action):
12160         New funs.  Allow using list-colors-display to choose color.
12162 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12164         * cus-edit.el: Resort topmost custom groups.
12165         (custom-buffer-sort-alphabetically): Default to t.
12166         (customize-apropos): Use apropos-parse-pattern.
12167         (custom-search-field): New var.
12168         (custom-buffer-create-internal): Add custom-apropos search field.
12169         (custom-add-parent-links): Don't display parent doc.
12170         (custom-group-value-create): Don't sort top-level custom group.
12171         (custom-magic-value-create): Show visibility button before option name.
12173         (custom-variable-state): New fun, from custom-variable-state-set.
12174         (custom-variable-state-set): Use it.
12175         (custom-group-value-create): Hide options with standard values
12176         using the :hidden-states property.  Use progress reporter.
12178         (custom-show): Simplify.
12179         (custom-visibility): Disable images by default.
12180         (custom-variable): New property :hidden-states.
12181         (custom-variable-value-create): Enable images for
12182         custom-visibility widgets.  Use :hidden-states property to
12183         determine initial visibility.
12185         * wid-edit.el (widget-image-find): Give images center ascent.
12186         (visibility): Add :on-image and :off-image properties.
12187         (widget-visibility-value-create): Use them.
12189 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
12191         * cus-edit.el (processes): Remove from development group.
12192         (oop, hypermedia): Delete group.
12193         (comm): Promote to top-level group.
12195         * net/browse-url.el (browse-url):
12196         * net/xesam.el (xesam):
12197         * net/tramp.el (tramp):
12198         * net/goto-addr.el (goto-address):
12199         * net/ange-ftp.el (ange-ftp): Put in comm group.
12201         * view.el (view): Remove from editing group.
12203         * uniquify.el (uniquify): Put in files group.
12205         * net/browse-url.el (browse-url):
12206         * ps-print.el (postscript): Put in external group.
12208         * cus-edit.el (outlines):
12209         * textmodes/text-mode.el (text-mode-hook):
12210         * textmodes/table.el (table):
12211         * textmodes/picture.el (picture):
12212         * outline.el (outlines): Put in wp group.
12214         * nxml/nxml-mode.el (nxml): Remove from wp group.
12216         * net/tramp-imap.el (tramp-imap): Put in tramp group.
12218         * mail/metamail.el (metamail): Remove from hypermedia group.
12220         * cus-edit.el (abbrev):
12221         * whitespace.el (whitespace):
12222         * vcursor.el (vcursor):
12223         * reveal.el (reveal):
12224         * hl-line.el (hl-line): Put in convenience group.
12226         * epg-config.el (epg): Put in data group.
12228         * emulation/pc-select.el (pc-select): Put in emulations group.
12230         * calculator.el (calculator): Put in applications group.
12232 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12234         Add .dir-locals.el support for file-less buffers.
12235         * files.el (hack-local-variables): Split out code to apply local
12236         variable settings ...
12237         (hack-local-variables-apply): ... here.  New function.
12238         (hack-dir-local-variables): Use the default directory for when the
12239         buffer does not have an associated file.
12240         (hack-dir-local-variables-non-file-buffer): New function.
12241         * diff-mode.el (diff-mode):
12242         * vc-annotate.el (vc-annotate-mode):
12243         * vc-dir.el (vc-dir-mode):
12244         * log-edit.el (log-edit-mode):
12245         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
12247 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
12249         Add support for shelving snapshots and for showing shelves.
12250         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
12251         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
12252         New functions.
12253         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12254         (vc-bzr-extra-menu-map): Map them.
12256 2010-03-11  Glenn Morris  <rgm@gnu.org>
12258         * cus-edit.el (customize-changed-options-previous-release):
12259         Bump to 23.1.
12261         * image.el (image-animate-max-time): Fix :version tag.
12263 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
12265         * Branch for 23.2.
12267 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12269         * vc-git.el (vc-git-revision-table): Include remote branches.
12271 2010-03-10  Kim F. Storm  <storm@cua.dk>
12273         Animated image API.
12274         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
12276         * image.el (image-animate-max-time): New defcustom.
12277         (image-animated-types): New defconst.
12278         (create-animated-image, image-animate-timer)
12279         (image-animate-start, image-animate-stop, image-animate-timeout)
12280         (image-animated-p): New functions.
12282         * image-mode.el (image-toggle-display-image):
12283         Replace `create-image' with `create-animated-image'.
12285 2010-03-09  Miles Bader  <miles@gnu.org>
12287         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
12288         instead of "format:"; this ensures that the output is
12289         newline-terminated.
12291 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
12293         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
12294         that all errors are caught, and that the return value is always a
12295         list (Bug#5692).
12297 2010-03-08  Kenichi Handa  <handa@m17n.org>
12299         * language/misc-lang.el (windows-1256): New coding system.
12300         (cp1256): New alias of windows-1256 (bug#5690).
12302 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
12304         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
12305         call to rfc822-bad-address.  (Bug#5692)
12307 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12309         * vc-git.el (vc-git-annotate-extract-revision-at-line):
12310         Use vc-git-root as default directory for revision path (Bug#5657).
12312 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
12314         * calculator.el (calculator): Don't bind split-window-keep-point
12315         (Bug#5674).
12317 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12319         * vc-git.el: Re-flow to fit into 80 columns.
12320         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
12321         Remove spurious `quote' element in each case alternative.
12322         (vc-git-show-log-entry): Use prog1.
12323         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
12325 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12327         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
12329 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
12331         * macros.el (insert-kbd-macro): Look up keyboard macro using the
12332         definition, not the name (Bug#5481).
12334 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
12336         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
12337         argument with a local variable.  (Bug#5670)
12339 2010-03-02  Juri Linkov  <juri@jurta.org>
12341         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
12343 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
12345         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
12346         error when FILENAME and NEWNAME are existing remote directories.
12348         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
12349         parameter DIR-FLAG.
12351 2010-03-02  Glenn Morris  <rgm@gnu.org>
12353         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
12354         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
12356 2010-03-01  Kenichi Handa  <handa@m17n.org>
12358         * language/burmese.el (burmese-composable-pattern): Rename from
12359         myanmar-composable-pattern.
12361         * international/characters.el (script-list):
12362         * international/fontset.el (script-representative-chars):
12363         Change myanmar to burmese.
12364         (otf-script-alist): Likewise.
12365         (setup-default-fontset): Likewise.  Re-fix :otf spec.
12367 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
12369         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
12371 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
12373         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
12375 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12377         * net/tramp.el (tramp-handle-write-region): START can be a string.
12378         Take care in the checks.  Reported by Dan Davison
12379         <davison@stats.ox.ac.uk>.
12381 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
12383         * net/dbus.el (dbus-introspect, dbus-get-property)
12384         (dbus-set-property, dbus-get-all-properties):
12385         Use `dbus-call-method' when noninteractive.  (Bug#5645)
12387 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
12389         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
12390         * emacs-lisp/elint.el (elint-add-required-env):
12391         * calendar/icalendar.el (icalendar--add-diary-entry):
12392         * calc/calcalg2.el (math-tracing-integral):
12393         * files.el (recover-session-finish): Use with-current-buffer
12394         instead of save-excursion.
12396 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12398         Fix in-buffer completion when after-change-functions modify the buffer.
12399         * minibuffer.el (completion--replace): New function.
12400         (completion--do-completion): Use it and use relative movement.
12402 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
12404         * international/fontset.el (setup-default-fontset): Fix :otf spec.
12406 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
12408         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
12409         Allow the characters _<> in the stack entry (Bug#5653).
12411 2010-02-26  Kenichi Handa  <handa@m17n.org>
12413         * language/burmese.el: Fix entries in composition-function-table.
12414         (myanmar-composable-pattern): New variable.
12416         * international/fontset.el (setup-default-fontset): Add an entry
12417         for myanmar.
12419         * international/characters.el (script-list): Add Myanmar
12420         Extended-A.
12422 2010-02-26  Glenn Morris  <rgm@gnu.org>
12424         * custom.el (custom-initialize-delay): Doc fix.
12426         * mail/sendmail.el (send-mail-function): Autoload the call
12427         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
12429 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
12431         * files.el (hack-local-variables-filter): For eval forms, also
12432         check safe-local-variable-p (Bug#5636).
12434 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
12436         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
12437         setting the modes by `ignore-errors'.  It might fail, for example
12438         if the file is not owned by the user but the group.
12439         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
12441 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
12443         * files.el (directory-listing-before-filename-regexp):
12444         Use stricter matching for iso-style dates, to avoid false matches with
12445         date-like filenames (Bug#5597).
12447         * htmlfontify.el (htmlfontify): Doc fix.
12449         * eshell/eshell.el (eshell): Doc fix.
12451         * startup.el (fancy-about-screen): In mode-line, apply
12452         mode-line-buffer-id face only to the buffer name (Bug#5613).
12454 2010-02-20  Kevin Ryde  <user42@zip.com.au>
12456         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12457         In `watcom' anchor regexp to start of line, to avoid slowness
12458         (Bug#5599).
12460 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
12462         * subr.el (remove-yank-excluded-properties): Explain in a comment
12463         why `category' property is removed.
12465 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
12467         * isearch.el (isearch-update-post-hook, isearch-update):
12468         Revert 2010-02-17 change.
12470 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
12472         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
12473         (icalendar--convert-weekly-to-ical)
12474         (icalendar--convert-yearly-to-ical)
12475         (icalendar--convert-block-to-ical)
12476         (icalendar--convert-cyclic-to-ical)
12477         (icalendar--convert-anniversary-to-ical): Take care of time
12478         specifications where hour has 1-digit only (Bug#5549).
12480 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
12482         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
12483         of disassemble output in GDB 7.1.
12485 2010-02-19  Glenn Morris  <rgm@gnu.org>
12487         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
12488         property.  (Bug#5593)
12490 2010-02-18  Sam Steingold  <sds@gnu.org>
12492         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
12494 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12496         Use abbreviated file names in bookmarks (bug#5591).
12497         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
12498         calls to expand-file-name.
12499         (bookmark-relocate): Use abbreviated file names in bookmarks.
12500         (bookmark-load): Use abbreviated file names in messages.
12502 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12504         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
12505         expand "." and "..".  Reported by Thierry Volpiatto
12506         <thierry.volpiatto@gmail.com>.
12508 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
12510         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
12511         permissions of the temporary file to "0600".  In case the remote
12512         file has no read permissions for the owner, there might be
12513         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
12515 22010-02-18  Glenn Morris  <rgm@gnu.org>
12517         * emacs-lisp/authors.el (authors-renamed-files-alist):
12518         Add entries for INSTALL.CVS.
12520 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
12522         * vc-bzr.el: Fix typo in Known Bugs section.
12524         * isearch.el (isearch-update-post-hook): New hook.
12525         (isearch-update): Use the new hook.
12527 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
12529         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12530         Fix errors in copying directories.
12531         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
12532         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
12533         (tramp-handle-delete-file)
12534         (tramp-handle-dired-recursive-delete-directory)
12535         (tramp-handle-write-region): Flush also the cache for the upper
12536         directory.
12538 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
12540         * simple.el (save-interprogram-paste-before-kill): Doc fix.
12542         * cus-edit.el (hardware): Doc fix.
12544         * man.el (man): Add to external custom group.
12546         * delim-col.el (columns): Move to wp custom group.
12548         * doc-view.el (doc-view): Add to data custom group.
12550         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
12552         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
12553         by ispell-parse-output (Bug#5575).
12555 2010-02-16  Kenichi Handa  <handa@m17n.org>
12557         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
12558         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
12559         (skkdic-convert): Use `euc-japan' coding system for writing.
12561 2010-02-16  Glenn Morris  <rgm@gnu.org>
12563         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
12564         tex-main-file before using it.  (Bug#5562)
12566 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12568         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
12569         warnings, since it is annoying for the user to see them each time he
12570         runs the code.
12572 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
12574         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
12575         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
12576         instead of PROC for caching "first-password-request".  Otherwise,
12577         new processes would not profit from passwords already entered.
12579         * net/tramp-cache.el (tramp-dump-connection-properties):
12580         Don't save "first-password-request" property.
12582 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
12584         * outline.el (outline-head-from-level):
12585         * simple.el (with-wrapper-hook):
12586         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
12587         (elint-defun, elint-buffer-env, elint-top-form-logged)
12588         (elint-unbound-variable):
12589         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
12590         Fix typos in docstrings.
12592 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
12594         * files.el (insert-directory): When WILDCARD-REGEXP and
12595         FULL-DIRECTORY-P are nil, insert the file entry instead of the
12596         whole directory.  (Bug#5551)
12598         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
12599         dired's alignment sanity.  (Bug#5516)
12601 2010-02-14  Juri Linkov  <juri@jurta.org>
12603         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
12604         Remove remaining ^H with their preceding chars.  (Bug#5566)
12606 2010-02-13  Glenn Morris  <rgm@gnu.org>
12608         * simple.el (transpose-subr): Give it a doc-string.
12610         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
12611         Doc fixes.
12613 2010-02-12  Juri Linkov  <juri@jurta.org>
12615         * arc-mode.el (archive-unique-fname): Make directories for nested
12616         archives.  (Bug#5540)
12618 2010-02-12  Juri Linkov  <juri@jurta.org>
12620         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
12622 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12624         * subr.el (copy-overlay): Handle deleted overlays.
12626         * man.el (Man-completion-table): Don't signal an error if we can't run
12627         manual-program (bug#4056).
12629 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
12631         * textmodes/artist.el (artist-mt): Fix typos in docstring.
12633 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12635         * info.el (Info-bookmark-jump): Simplify.
12637         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
12638         (bookmark-default-handler): Accept new bookmark field `buffer'.
12640 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
12642         * iswitchb.el (iswitchb-completions): Revert last change.
12644 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
12646         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
12647         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
12648         This prevents file names like "~/" being listed literally.
12650 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
12652         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12653         Remove dead code.  (Bug#5546)
12655 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
12657         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
12658         correctly (Bug#5548).
12660 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
12662         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
12663         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
12665 2010-02-08  Kenichi Handa  <handa@m17n.org>
12667         * international/mule-util.el (with-coding-priority): Add autoload
12668         cookie for putting `lisp-indent-function'.
12670 2010-02-07  Glenn Morris  <rgm@gnu.org>
12672         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
12673         Move F2003 named interfaces from keywords-2 to keywords-1, and
12674         use function-name-face rather than constant-face.
12675         Simplify "abstract interface" regexp.
12677 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
12679         * eshell/esh-util.el (eshell-file-attributes): New optional arg
12680         ID-FORMAT.  Pass it to `file-attributes'.
12682         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
12684 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
12686         * faces.el (set-face-attribute): Allow calling
12687         internal-set-lisp-face-attribute with 'unspecified family and
12688         foundry argument (Bug#5536).
12690 2010-02-07  Glenn Morris  <rgm@gnu.org>
12692         * progmodes/f90.el (f90-font-lock-keywords-2)
12693         (f90-looking-at-type-like, f90-looking-at-program-block-end):
12694         Handle F2003 named interfaces.
12696 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
12698         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
12699         beg and end before calling c-get-state-before-change-functions.
12701 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
12703         * vc-bzr.el (vc-bzr-dir-extra-headers):
12704         Disable the pending merges header.
12706 2010-02-05  Juri Linkov  <juri@jurta.org>
12708         * doc-view.el (doc-view-mode):
12709         * image-mode.el (image-mode): Put property mode-class=special.
12710         (Bug#4896)
12712 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
12714         * vc-svn.el (vc-svn-revision-table): New function.
12716 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
12718         * net/ange-ftp.el (ange-ftp-insert-directory):
12719         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12720         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12721         Handle also directories.  (Bug#5478)
12723 2010-02-05  Glenn Morris  <rgm@gnu.org>
12725         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
12727 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
12729         * startup.el (command-line-1): Convert options beginning with a
12730         single dash as well (Bug#5519).
12732 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12734         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
12735         * minibuffer.el (completion-initials-expand): Only check the presence
12736         of delims *within* the boundaries, since otherwise the / delim is
12737         always found for files.
12739         Fix up various corner case problems.
12740         * doc-view.el (doc-view-last-page-number): New function.
12741         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
12742         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
12743         (doc-view-kill-proc): Avoid inf-loop in freak cases.
12744         (doc-view-reconvert-doc): Use the new recursive delete-directory.
12745         (doc-view-convert-current-doc): Don't create the resolution.el file
12746         here any more.
12747         (doc-view-pdf/ps->png): Do it here instead.
12748         (doc-view-already-converted-p): Check that resolution.el is present.
12749         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
12750         windows that are not yet showing images.
12752 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
12754         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
12755         `dired-uncache' for every elemnt which is an absolute file name.
12757         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
12758         directory, handle its directory component.
12759         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
12760         function is called permanently and creates noise, otherwise.
12762         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
12763         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
12764         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
12766 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
12768         * macros.el (apply-macro-to-region-lines):
12769         Minor simplification.  (Bug#5485)
12771 2010-02-04  Glenn Morris  <rgm@gnu.org>
12773         * mail/rmail.el (rmail-show-message-1): Handle malformed
12774         quoted-printable text.  (Bug#5441)
12776         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
12778         * simple.el (visual-line-mode): Capitalize lighter.
12780 2010-02-03  John Wiegley  <jwiegley@gmail.com>
12782         * iswitchb.el (iswitchb-completions): Add bookmark files to the
12783         list of files considered for "virtual buffer" completions.
12785 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12787         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12788         also in case of (and (not full) (not wildcard)).  This is needed
12789         when dired is called with a list of files, which are not in
12790         `default-directory'.  (Bug#5478)
12792 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12794         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12796 2010-02-02  Juri Linkov  <juri@jurta.org>
12798         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12799         from unidiff to allow function-line after @@.
12801 2010-02-02  Juri Linkov  <juri@jurta.org>
12803         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12804         '(RCS SCCS) with inverted condition.
12806 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12808         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12809         messages.
12811 2010-02-01  Juri Linkov  <juri@jurta.org>
12813         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12814         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12815         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12816         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12818 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12820         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12821         (doc-view-revert-buffer): New command.
12822         (doc-view-mode-map): Use it.
12824 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12826         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12827         pending merge is detected.
12829 2010-01-31  Juri Linkov  <juri@jurta.org>
12831         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12832         beginning of interactive spec like all other grep commands do.
12833         Put "all" in front of "gz".  (Bug#5260)
12835 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12837         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12839 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12841         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12842         regexp is incorrect (Bug#5476).
12844 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12846         * net/tramp.el (tramp-handle-insert-directory): Handle also
12847         symlinks, when FILENAME is not in `default-directory'.
12849 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12851         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12852         FILE is not in `default-directory'.  (Bug#5478)
12854         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12855         of SWITCHES.  Handle the case, FILENAME is not in
12856         `default-directory'.  (Bug#5478)
12857         (tramp-register-file-name-handlers): Add safe-magic property.
12859 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
12861         * arc-mode.el (archive-zip-extract): Quote the argument passed to
12862         unzip (Bug#5475).
12864 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
12866         * progmodes/flymake.el (flymake-allowed-file-name-masks)
12867         (flymake-master-make-header-init): Add other C++ filename masks.
12868         (flymake-find-possible-master-files)
12869         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12871 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12873         Fix some busybox annoyances.
12875         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12876         not responding." string.
12877         (tramp-open-connection-setup-interactive-shell): Dump stty
12878         settings.  Enable "neveropen" arg for all `tramp-send-command'
12879         calls.  Handle "=" in variable values properly.
12880         (tramp-find-inline-encoding): Raise an error, when no encoding is
12881         found.
12882         (tramp-wait-for-output): Check, whether PROC buffer is available.
12883         Remove spurious " ^H" sequences, sent by busybox.
12884         (tramp-get-ls-command): Suppress coloring, if possible.
12886 2010-01-28  Glenn Morris  <rgm@gnu.org>
12888         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
12890         * log-edit.el (log-edit-strip-single-file-name): Add missing
12891         :safe, :group, and :version tags.
12893 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
12895         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12896         buffers.  (Bug#5477)
12898 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
12900         * files.el (delete-directory): Handle moving to trash without
12901         first doing recursion (Bug#5436).
12903 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
12905         * vc-hooks.el (vc-path): Mark as obsolete.
12907 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
12909         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12910         names too.
12912         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12913         for the short log.
12914         (vc-bzr-log-view-mode): Adjust regexp for the above change.
12916 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
12918         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12920         * vc-bzr.el (vc-bzr-revision-table): New function.
12922 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12924         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12925         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12927 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12929         Remove support for adding --signoff on commit.
12930         Future support will use an incompatible generic mechanism.
12931         * vc-git.el (vc-git-add-signoff): Remove variable.
12932         (vc-git-toggle-signoff): Remove function.
12933         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12935         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12936         Rename from xterm-set-background-mode.  Return t if the background mode
12937         was set.
12938         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12939         earlier, call it again in case the background mode has changed.
12941 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12943         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12944         (Bug#3541).
12946 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12948         * emacs-lisp/assoc.el (aelement): Doc fix.
12949         (aput, adelete, amake): Use lexical-let (Bug#5450).
12951 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12953         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12954         is the same as subprogram call, not declaration.  (Bug#5435).
12956 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12958         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12959         (tramp-smb-maybe-open-connection): Use it.
12961 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12963         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12965 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12967         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12968         just because we see "encoding: 8bit".
12969         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12971 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12973         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12975 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12977         * jka-compr.el (jka-compr-load): If load-file is not in
12978         load-history, try its file-truename version.  (bug#5447)
12980 2010-01-21  Alan Mackenzie  <acm@muc.de>
12982         Fix a situation where deletion of a cpp construct throws an error.
12983         * progmodes/cc-engine.el (c-invalidate-state-cache):
12984         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12985         special cpp construct is still in the buffer.
12986         (c-parse-state): Record the special cpp with markers, not numbers.
12988 2010-01-21  Kenichi Handa  <handa@m17n.org>
12990         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12991         process last-command-event, as it is now decoded first (Bug#5380).
12993 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12995         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12997 2010-01-20  Glenn Morris  <rgm@gnu.org>
12999         * indent.el (tab-always-indent): Fix custom-type.
13001 2010-01-19  Alan Mackenzie  <acm@muc.de>
13003         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13004         buffer throws "args out of range".
13005         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13006         playing the role of delimiter.
13008 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
13010         * progmodes/ada-mode.el: Fix bug#5400.
13011         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13012         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13013         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
13014         Improve comments in "is" portion.  Handle null procedure declaration.
13015         (ada-move-to-end): Improve doc string.
13017 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
13019         * ido.el (ido-cur-list): Initialize to nil.
13020         Remove obsolete information from commentary.
13021         (ido-choice-list): Initialize to nil.
13022         (ido-get-bufname): Reject minibuffers.
13023         (ido-make-buffer-list): If "default" is a nonexistent
13024         buffer, ignore it, as per the function's comment.
13025         (ido-kill-buffer-internal): New function.
13026         (ido-kill-buffer-at-head): Use it.
13027         (ido-visit-buffer): Likewise.
13029 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
13031         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13033 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
13035         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13036         Fix typos in chart titles.
13038         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13039         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13040         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13041         (describe-class, eieio-describe-generic, describe-generic):
13042         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13043         (eieio-speedbar-expand):
13044         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13045         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13046         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13047         (viper-del-backward-char-in-replace, viper-backward-indent)
13048         (viper-brac-function, viper-register-to-point, viper-submit-report):
13049         * net/tramp.el (tramp-remote-coding-commands):
13050         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13051         Fix typos in docstrings.
13053 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
13055         * mail/sendmail.el (mail-yank-original): Set the mark if the
13056         specified function for yanking does not do it.
13058 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
13060         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
13062         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13063         resyncing a directory.
13065 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
13067         * progmodes/ada-mode.el: Fix bug#1920.
13068         (ada-ident-re): Delete ., allow multibyte characters.
13069         (ada-goto-label-re): New; matches goto labels.
13070         (ada-block-label-re): New; matches block labels.
13071         (ada-label-re): New; matches both.
13072         (ada-named-block-re): Deleted; callers changed to use
13073         `ada-block-label-re' instead.
13074         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13075         Use `ada-block-label-re'.
13076         (ada-indent-on-previous-lines): Improve handling of goto labels.
13077         (ada-get-indent-block-start): Special-case block label.
13078         (ada-get-indent-label): Split into `ada-indent-block-label' and
13079         `ada-indent-goto-label'.
13080         (ada-goto-stmt-start, ada-goto-next-non-ws):
13081         Optionally ignore goto labels.
13082         (ada-goto-next-word): Simplify.
13083         (ada-indent-newline-indent-conditional): Insert newline before
13084         trying to fix indentation; doc fix.
13086 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
13088         * calc/calc.el (calc-command-flags): Give it an initial value.
13090 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
13092         * files.el (minibuffer-with-setup-hook):
13093         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13094         (artist-key-draw-continously, artist-key-do-continously-continously)
13095         (artist-key-set-point-continously, artist-mouse-draw-continously):
13096         Fix typos in docstrings.
13098 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
13100         * nxml/nxml-mode.el (nxml-extend-after-change-region):
13101         Never return t (Bug#3898).
13103 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
13105         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13106         can parse the output of the external commands (Bug#5279).
13108 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
13110         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13112 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
13114         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13116         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13118         * startup.el (command-line): Remove unused --icon-type arg.
13119         Handle --display arg, passing it to command-line-1 (Bug#5392).
13121 2010-01-16  Mario Lang  <mlang@delysid.org>
13123         * emacs-lisp/chart.el (chart-translate-namezone):
13124         * textmodes/artist.el (artist-compute-popup-menu-table):
13125         Remove duplicated words in doc-strings.
13127 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
13129         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13130         to mairix-search to suppress threading (Bug#5342).
13132 2010-01-15  Kenichi Handa  <handa@m17n.org>
13134         * international/mule-cmds.el (canonicalize-coding-system-name):
13135         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
13137 2010-01-15  Glenn Morris  <rgm@gnu.org>
13139         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
13141         * wid-edit.el (widget-keymap): Doc fix.
13143         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
13144         former seems to be more widely accepted by various svn versions.
13146 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13148         * find-cmd.el (find-constituents):
13149         * vc-arch.el (vc-arch-root):
13150         * window.el (window-body-height, pop-up-frames):
13151         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
13152         * progmodes/ada-stmt.el (ada-if):
13153         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
13154         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
13155         (ispell-encoding8-command, ispell-aspell-supports-utf8)
13156         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
13158         * progmodes/flymake.el (flymake-post-syntax-check):
13159         Fix typo in error message.
13161 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13163         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
13164         which is always a string.  (Bug#5313)
13166 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
13168         * progmodes/ada-xref.el (ada-default-prj-properties):
13169         Simplify previous change.
13171 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13173         * progmodes/ada-xref.el (ada-default-prj-properties):
13174         Default ada_project_path to $ADA_PROJECT_PATH.
13176 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13178         * progmodes/ada-mode.el (ada-create-keymap):
13179         Override `narrow-to-defun' with `ada-narrow-to-defun'.
13181 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13183         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
13184         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
13185         (ada-get-current-indent, ada-imenu-generic-expression)
13186         (ada-which-function): Check for it.
13188 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
13190         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
13191         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
13193 2010-01-14  Glenn Morris  <rgm@gnu.org>
13195         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
13197 2010-01-14  Kenichi Handa  <handa@m17n.org>
13199         * composite.el (auto-composition-mode): Make it a buffer local
13200         variable (permanent-local).
13201         (auto-composition-function): Set the default value to
13202         auto-compose-chars.
13203         (auto-composition-mode): Make it a simple function, not a minor mode.
13204         (global-auto-composition-mode): Likewise.
13205         (turn-on-auto-composition-if-enabled): Delete it.
13207 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
13209         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
13211 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
13213         * files.el (copy-directory): Compute target for recursive
13214         directories with identical names.  (Bug#5343)
13216 2010-01-12  Glenn Morris  <rgm@gnu.org>
13218         * mail/emacsbug.el (report-emacs-bug-pretest-address):
13219         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
13221 2010-01-11  Sam Steingold  <sds@gnu.org>
13223         * imenu.el (imenu-default-create-index-function): Detect infinite
13224         loops caused by imenu-prev-index-position-function.
13226 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13228         * htmlfontify.el (htmlfontify-load-rgb-file)
13229         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
13230         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
13231         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
13232         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
13233         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
13234         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
13235         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
13236         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
13237         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
13238         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
13239         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
13240         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
13241         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
13242         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
13243         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
13244         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
13245         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
13246         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
13247         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
13248         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
13249         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
13250         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
13251         backslash-quoting from parentheses, etc.
13253 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
13255         * progmodes/js.el: Autoload javascript-mode alias.
13257 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
13259         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
13260         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
13261         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
13262         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
13263         Fix typos in docstrings.
13264         (ffap-url-regexp): Doc fix.
13265         (ffap-at-mouse): Fix typo in message.
13267 2010-01-11  Glenn Morris  <rgm@gnu.org>
13269         * version.el (emacs-copyright): Set copyright year to 2010.
13271 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13273         * format.el (format-annotate-function): Only set
13274         write-region-post-annotation-function after running to-fn so as not to
13275         affect nested write-region calls (bug#5273).
13277 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
13279         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
13280         wisent/python.el.
13282 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13284         * man.el (Man-goto-section): Signal error if the section is not
13285         found (Bug#5317).
13287 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
13289         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
13290         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
13292 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
13294         * progmodes/compile.el: Don't treat compile-command as safe if
13295         compilation-read-command might be nil (Bug#4218).
13297 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
13299         * startup.el (command-line-1): Use orig-argi to check for ignored X and
13300         NS options.
13302 2010-01-08  Kenichi Handa  <handa@m17n.org>
13304         * international/fontset.el (build-default-fontset-data):
13305         Exclude characters in scripts kana, hangul, han, or cjk-misc.
13307 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
13309         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
13310         to `create-file-buffer' as it expects, not just a buffer name.
13311         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
13312         to help uniquify.  (Bug#3224)
13314 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
13316         * font-setting.el (font-setting-change-default-font): Use user-spec
13317         instead of name.
13319 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
13321         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
13323 2010-01-05  Tom Tromey  <tromey@redhat.com>
13325         * progmodes/python.el (python-font-lock-keywords):
13326         Handle qualified decorators (Bug#881).
13328 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13330         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
13331         in a lightweight checkout.
13333 2010-01-05  Kenichi Handa  <handa@m17n.org>
13335         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
13337 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
13339         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
13341 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
13343         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
13344         checkouts.  (Bug#618)
13345         (vc-bzr-log-view-mode): Also highlight the author.
13346         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
13347         (vc-bzr-shelve-menu-map):
13348         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
13349         (vc-bzr-shelve-apply): Make prompt more explicit.
13351 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
13353         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
13354         They are valid characters in URL paths (rfc3986), and at least
13355         Firefox does not understand the encoded version (Bug#3166).
13357 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
13359         * progmodes/octave-mod.el (octave-end-keywords)
13360         (octave-block-begin-or-end-regexp, octave-block-match-alist):
13361         Add "end" keyword (Bug#3061).
13362         (octave-end-as-array-index-p): New function.
13363         (calculate-octave-indent): Use it.
13365 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13367         * bookmark.el: Consistently put the text property on the bookmark name.
13368         (bookmark-bmenu-marks-width): Bump back to 2, to include
13369         annotation marks.
13370         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
13371         property on the bookmark name, instead of not putting it at all.
13372         (bookmark-bmenu-list): Fix where we put the text property.
13374 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13376         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
13377         for showing buffer modified state (as added in the previous change).
13379 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13381         * bookmark.el: Show modified state of bookmark buffer more accurately.
13382         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
13383         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
13384         (with-buffer-modified-unmodified): New macro.
13385         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
13386         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
13387         Use new macro to preserve the buffer modified state.
13389 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13391         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
13392         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
13393         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
13394         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
13395         (bookmark-bmenu-rename, bookmark-bmenu-locate)
13396         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
13397         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
13399 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13401         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13402         Make the lines in the generated doc string shorter.  (Bug#4668)
13404 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
13406         * net/rcirc.el: Add follow-link binding (Bug#4738).
13408 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
13410         * Makefile.in (bzr-update): Rename from cvs-update.
13411         (cvs-update): New target for backward compatibility.
13413         * makefile.w32-in (bzr-update): Rename from cvs-update.
13414         (cvs-update): New target for backward compatibility.
13416 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13418         * bookmark.el: Remove gratuitous gratitude.
13420 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13422         * bookmark.el (bookmark-bmenu-any-marks): New function.
13423         (bookmark-bmenu-save): Clear buffer modification if no marks.
13425 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13427         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
13428         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
13429         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
13430         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
13432         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
13433         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
13434         To: emacs-devel {_AT_} gnu.org
13435         Subject: bookmark.el bug report
13436         Date: Mon, 28 Dec 2009 14:19:16 +0800
13437         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
13439 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
13441         * bookmark.el: Improvements suggested by Drew Adams:
13442         (bookmark-bmenu-ensure-position): New name for
13443         `bookmark-bmenu-check-position'.  Just ensure the position,
13444         don't return any meaningful value.
13445         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
13446         New constants.
13448 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
13450         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
13451         (bookmark-yank-point, bookmark-bmenu-check-position):
13452         Fix typos in docstrings.
13453         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
13454         (bookmark-name-from-full-record, bookmark-get-position)
13455         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
13456         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
13457         Remove useless quoting of parenthesis, etc. in docstrings.
13459         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
13460         (ediff-append-custom-diff): Fix typo in error message.
13461         (ediff-meta-mark-equal-files): Fix typos in messages.
13463         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
13465         * net/imap-hash.el (imap-hash-make): Doc fix.
13466         (imap-hash-test): Fix typo in error message; reflow docstring.
13467         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
13468         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
13469         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
13470         Fix typos in docstrings.
13471         (imap-hash-open-connection): Fix typo in error message.
13473         * play/gomoku.el (gomoku): Fix typos in docstring.
13475         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
13476         (gdb-jsonify-buffer): Fix typos in docstring.
13477         (gdb-goto-breakpoint): Fix typo in error message.
13478         ("Display Other Windows"): Fix typo in help message.
13479         (gdb-speedbar-expand-node): Fix typo in question.
13481         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
13482         (idlwave-html-system-help-location, idlwave-html-help-location)
13483         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
13484         (idlwave-help-browser-generic-args, idlwave-help-directory)
13485         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
13486         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
13487         (idlwave-online-help, idlwave-help-html-link)
13488         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
13489         Fix typos in docstrings.
13490         (idlwave-help-with-source, idlwave-help-find-routine-definition):
13491         Reflow docstrings.
13492         (idlwave-help-assistant-start): Fix typo in error message.
13494         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
13495         (octave-electric-space): Fix typos in docstrings.
13497 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
13499         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
13501 2010-01-01  Juri Linkov  <juri@jurta.org>
13503         * comint.el (comint-input-ring-size): Make it a defcustom and
13504         increase the default to 500 (Bug#5148).
13506 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
13508         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
13509         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
13510         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
13512 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
13514         Show working revision correctly for mercurial.
13515         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
13516         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
13518 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
13520         Declare some functions for the byte-compiler.
13521         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
13522         (speedbar-timer-fn, speedbar-change-expand-button-char)
13523         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
13525 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
13527         This changeset reverts GDB Graphical Interface to use annotations.
13528         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
13530 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
13532         Make vc-dir work on subdirectories of the bzr root.
13533         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
13534         Return file names relative to it.
13535         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
13536         relative directory to vc-bzr-after-dir-status.
13538 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
13540         * font-lock.el (font-lock-refresh-defaults): New function, which
13541         can be used to let font-lock react to external changes in
13542         variables like font-lock-defaults and keywords.
13543         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
13545 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
13547         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
13549         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
13551 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
13553         Supersede color.diff settings in git log (bug#5211).
13555         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
13556         escape chars in its output when the user has color.diff set to `always'.
13557         This fix works on git 1.4.2 and newer (released on 2006-08-13).
13559 2009-12-26  Kevin Ryde  <user42@zip.com.au>
13561         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
13562         node.  Keep previous "Index" name to work with past coreutils too.
13564         * man.el (man): Revise docstring a bit to show -a and -l as
13565         examples.  Add -k description since support for it has otherwise
13566         been a secret.  (Further to bug#3717.)
13567         (Man-bgproc-sentinel): When "-k foo" produces no output show error
13568         "no matches" rather than "Can't find manpage", as the latter reads
13569         like -k was interpreted as a page name, which is not so.  (Bug#5431)
13571 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
13573         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
13574         switches.  Check also for //SUBDIRED// line.
13576 2009-12-25  Kenichi Handa  <handa@m17n.org>
13578         * language/indian.el (devanagari-composable-pattern): Fix to
13579         handle ZWNJ and ZWJ.  Use it in composition-function-table for
13580         Devanagari.
13581         (malayalam-composable-pattern): Fix previous change.
13583 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13585         * ps-print.el (ps-face-attributes): It was not returning the
13586         attribute face for faces specified as string.  Reported by harven
13587         <harven@free.fr>.  (Bug#5254)
13588         (ps-print-version): New version 7.3.5.
13590 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
13592         * calendar/icalendar.el (icalendar--convert-tz-offset):
13593         Fix timezone names.
13594         (icalendar--convert-tz-offset): Fix the "last-day-problem".
13595         (icalendar--add-diary-entry): Remove the trailing blank that
13596         diary-make-entry inserts.
13598 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
13600         Make `file-expand-wildcards' work for remote files.
13602         * files.el (file-expand-wildcards): In case of remote files, check
13603         only local file name part for wildcards.  Provide feature 'files
13604         and subfeature 'remote-wildcards.  (Bug#5198)
13606         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
13607         if there is already an established connection.
13608         (tramp-advice-file-expand-wildcards): Remove it.
13610         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
13611         (tramp-advice-file-expand-wildcards): Move from tramp.el.
13612         Activate advice for older GNU Emacs versions.  (Bug#5237)
13614 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
13616         Some doc fixes (more needed).
13618         * find-cmd.el (find-constituents): Reflow docstring.
13619         (find-cmd, find-prune, find-command): Fix typos in docstrings.
13620         (find-generic): Doc fix.
13622 2009-12-17  Juri Linkov  <juri@jurta.org>
13624         Fix regression from 23.1 to allow multiple modes in Local Variables.
13626         * files.el (hack-local-variables-filter): While ignoring duplicates,
13627         don't take `mode' into account.
13628         (hack-local-variables-filter, hack-dir-local-variables):
13629         Don't remove duplicate `mode' from local-variables-alist (like `eval').
13631 2009-12-17  Juri Linkov  <juri@jurta.org>
13633         Make `dired-diff' safer.  (Bug#5225)
13635         * dired-aux.el (dired-diff): Signal an error when `file' equals to
13636         `current' or when `file' is a directory of the `current' file.
13638 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
13640         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
13641         unconditionally preloaded files.
13643 2009-12-16  Juri Linkov  <juri@jurta.org>
13645         Revert to old 23.1 logic of using the file at the mark as default.
13646         * dired-aux.el (dired-diff): Use the file at the mark as default
13647         if it's not the same as the current file, and the target dir is
13648         the current dir or the mark is active.  Add the current file
13649         as the arg of `dired-dwim-target-defaults'.  Use the default file
13650         in the prompt.  (Bug#5225)
13652 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
13654         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
13655         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
13656         (tramp-check-for-regexp): Check also, when an echoing shell stops
13657         to echo sent commands.
13659 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13661         * Makefile.in: Revert last change (Bug#5191).
13663 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
13665         * vc-hg.el (vc-hg-print-log): Fix argument order.
13666         (vc-hg-working-revision): Make sure the command is executed in a
13667         known environment so that we can parse the output.  (Bug#4417)
13669 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
13671         * progmodes/python.el (python-symbol-completions): Remove text
13672         properties from symbol string before calling python-send-receive.
13674 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
13676         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
13677         when there are values for both file and line.  (Bug#5060)
13679 2009-12-14  Juri Linkov  <juri@jurta.org>
13681         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
13682         whitespace after the file name of the first line of unified format,
13683         because git-diff doesn't output whitespace and file modification time
13684         after the file name.
13686 2009-12-14  David Kastrup  <dak@gnu.org>
13688         * info.el (Info-hide-cookies-node): Before hiding a cookie,
13689         check if it already has the `display' property added by
13690         `Info-display-images-node', and not put the `invisible' property
13691         in this case.
13693 2009-12-13  Glenn Morris  <rgm@gnu.org>
13695         * mail/emacsbug.el (message-sort-headers): Define for compiler.
13696         (report-emacs-bug): In message-mode, sort manually before storing
13697         original report text.  (Bug#5178)
13698         Remove superfluous save-excursion.
13700 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
13702         * net/dbus.el (dbus-property-handler): Filter lambda forms out
13703         when responding to "GetAll" properties.
13705 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
13707         * simple.el (compose-mail): Remove mail-setup-with-from from
13708         customization checks.
13710 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
13712         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
13713         RAR archives created on Unix systems.
13715 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13717         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
13718         the varalias that was accidentally removed by the 2009-11-19 change
13719         (bug#5186).
13721 2009-12-12  Kenichi Handa  <handa@m17n.org>
13723         * language/indian.el (indian-compose-regexp): New function.
13724         (malayalam-composable-pattern): Fix the pattern.
13725         (composition-function-table): Set malayalam-composable-pattern for
13726         Malayalam characters.
13728 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
13730         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
13731         rather than down-mouse-1, based on follow-link conventions.
13733         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
13734         are compiled.
13736 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
13738         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
13739         (verilog-vmm-statement-re, verilog-ovm-statement-re)
13740         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
13741         (verilog-leap-to-head, verilog-backward-token):
13742         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
13744 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
13746         * progmodes/verilog-mode.el (verilog-auto-lineup)
13747         (verilog-nameable-item-re): Cleanup user-visible spelling and
13748         documentation errors.  One reported by Gary Delp.
13749         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
13750         (verilog-read-decls): Fix AUTOWIRE with types declared in a
13751         package, bug195.  Reported by Pierre-David Pfister.
13753 2009-12-11  Glenn Morris  <rgm@gnu.org>
13755         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
13757         * mail/emacsbug.el: No longer require sendmail.
13758         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
13759         (report-emacs-bug-orig-text): Doc fix.
13760         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
13761         New local variables, to adapt to different mail-user-agents.
13762         (report-emacs-bug): Fix test for a gnu.org address.
13763         Use overlays for emphasis, since font-lock defeats 'face property.
13764         Pretest bugs also end up at the newsgroup these days.
13765         Stop message-mode stripping text properties.
13766         Set and use the new buffer-local variables.
13767         (report-emacs-bug-hook): Add doc-string.
13768         Remove some unnecessary save-excursions and simplify.
13769         Use the appropriate hook and send-command.
13771         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
13772         capitalization of some menu entries.
13774 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13776         * whitespace.el (whitespace-display-char-on):
13777         Ensure `buffer-display-table' is unique when two or more windows are
13778         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
13779         New version 12.1.
13781 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
13783         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
13784         characters in the Attribute field.
13786 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13788         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13790 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13792         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13793         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13794         Disregard autoload-excludes.
13795         (update-directory-autoloads): Obey autoload-excludes here instead.
13796         But don't store its contents in no-autoloads and remove entries that
13797         refer to excludes files.
13799 2009-12-10  Glenn Morris  <rgm@gnu.org>
13801         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13802         (expand-mail-aliases): Define for compiler.
13804         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13805         Define for compiler.
13807         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13808         appropriate for the mail-user-agent in use.
13810 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13812         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13814 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13816         Fix short log parsing and fontification.
13817         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13818         Fix fontification for the [merge] label.
13820 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13822         Drop some properties to avoid surprises (bug#5002).
13823         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13824         (hfy-fontify-buffer): Use it.
13826 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13828         Minor cleanup.
13829         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13830         Adjust all callers.
13831         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13832         args compulsory.  Adjust callers.
13833         (ffap-gopher-at-point): Remove unused var `name'.
13835         Get rid of the ELCFILES abomination.
13836         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13837         (compile-elcfiles): New phony target.
13838         (compile-main): Compute ELCFILES dynamically.
13839         (compile-clean): New target to remove left-over elc files.
13840         (compile, all): Use it.
13842 2009-12-09  Kenichi Handa  <handa@etlken>
13844         * international/mule-diag.el: Require help-mode instead of help-fns.
13846 2009-12-09  Kenichi Handa  <handa@m17n.org>
13848         * international/mule-cmds.el (ucs-names): Supply sufficiently
13849         fine ranges instead of pre-calculating accurate ranges.
13850         Iterate with bigger gc-cons-threshold.
13852 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13854         Add support for stashing a snapshot of the current tree.
13855         * vc-git.el (vc-git-stash-snapshot): New function.
13856         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13858 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
13860         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13861         instead of `(beginning|end)-of-line'.
13863 2009-12-08  Glenn Morris  <rgm@gnu.org>
13865         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13867         * Makefile.in (ELCFILES): Regenerate.
13869 2009-12-07  Juri Linkov  <juri@jurta.org>
13871         Don't lazy-highlight the comint output in history Isearch mode.
13873         * comint.el (comint-history-isearch-search): Instead of
13874         `comint-line-beginning-position', use `comint-after-pmark-p'
13875         to check if point if before the process mark, and go to
13876         `process-mark' in this case.
13878 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13880         * textmodes/tex-mode.el (latex-complete)
13881         (latex-indent-or-complete): Remove.
13882         (latex-mode): Set completion-at-point-functions instead.
13884         Provide a standard completion command and hook it into TAB.
13885         * minibuffer.el (completion-at-point-functions): New var.
13886         (completion-at-point): New command.
13887         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13888         * progmodes/python.el (python-mode-map): Use completion-at-point.
13889         (python-completion-at-point): Rename from python-partial-symbol and
13890         adjust for use in completion-at-point-functions.
13891         (python-mode): Setup completion-at-point for Python completion.
13892         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13893         extracted from lisp-complete-symbol.
13894         (lisp-complete-symbol): Use it.
13895         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13896         setup completion-at-point for Elisp completion.
13897         (emacs-lisp-mode-map, lisp-interaction-mode-map):
13898         Use completion-at-point.
13899         * ielm.el (ielm-map): Use completion-at-point.
13900         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13901         * progmodes/sym-comp.el: Move to...
13902         * obsolete/sym-comp.el: Move from progmodes.
13904 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
13906         Prevent save-buffer in Rmail buffers from using the coding-system
13907         of the current message, and from clobbering the encoding mnemonics
13908         in the mode line (Bug#4623).
13910         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13911         flag, too.
13912         (rmail-message-encoding): New variable.
13913         (rmail-write-region-annotate): Record the encoding of the current
13914         message in rmail-message-encoding.
13915         (rmail-after-save-hook): New function, restores the encoding of
13916         the current message after the message collection is saved.
13918 2009-12-07  Juri Linkov  <juri@jurta.org>
13920         * progmodes/grep.el (grep-read-files): Use `completing-read'
13921         instead of `read-string'.  Set its `collection' arg to
13922         `read-file-name-internal'.  (Bug#4301)
13924 2009-12-07  Juri Linkov  <juri@jurta.org>
13926         Correctly restore original Isearch point.  (Bug#4994)
13928         * isearch.el (isearch-mode): Move `isearch-push-state' after
13929         `(run-hooks 'isearch-mode-hook)'.
13930         (isearch-cancel): When `isearch-push-state-function' is defined,
13931         let-bind `isearch-cmds' to the first state (the last element of
13932         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13933         function and restores the original point).  Otherwise, move point
13934         to `isearch-opoint'.
13936 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13938         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13939         chars that don't have names, so the table can be built much faster at
13940         run-time.
13942 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13944         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13945         change.  Suggested by David Kastrup.
13947         * simple.el (compose-mail): Check for incompatibilities and warn.
13948         (compose-mail-user-agent-warnings): New option.
13950 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13952         Support showing a single log entry from vc-annotate.
13953         * vc.el (print-log): Add a new argument: START-REVISION.
13954         (vc-print-log-internal): Add a new optional argument and
13955         pass it to the backend.
13956         (vc-print-log, vc-print-root-log): Adjust callers.
13957         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13958         buffer already displays the requested log entry, use it.
13959         Otherwise display only the log entry in question.
13960         * vc-svn.el (vc-svn-print-log):
13961         * vc-mtn.el (vc-mtn-print-log):
13962         * vc-hg.el (vc-hg-state):
13963         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13964         (vc-git-show-log-entry): Return t on success.
13965         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13966         (vc-bzr-show-log-entry): Return t on success.
13967         * vc-rcs.el (vc-rcs-print-log):
13968         * vc-sccs.el (vc-sccs-print-log):
13969         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13971 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13973         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13974         Add menus to the meta mode.  (Bug#5043)
13976 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13978         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13979         event-key.
13981         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13983 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13985         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13986         Berbain <raphael.berbain@gmail.com>.
13988         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13989         characters.
13990         (tramp-initial-end-of-output): New defconst.
13991         (tramp-methods, tramp-find-shell)
13992         (tramp-open-connection-setup-interactive-shell)
13993         (tramp-maybe-open-connection): Use it.
13994         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13995         Handle existence of `#' and `$'.
13997         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13998         Use `tramp-initial-end-of-output'.
14000 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
14002         Get the background mode from the terminal for xterm, and set
14003         faces accordingly.
14004         * term/xterm.el (xterm-set-background-mode): New function.
14005         (terminal-init-xterm): Use it in case xterm supports background
14006         color queries.  Recompute faces after getting the background
14007         color.
14009 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
14011         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14012         number comment back on its own line, for easier parsing.
14014 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14016         Make it work for non-file buffers (bug#5102).
14017         * doc-view.el (doc-view-current-cache-dir):
14018         Use doc-view-buffer-file-name rather than buffer-file-name.
14019         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14021 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
14023         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14024         author field is too short.
14026 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
14028         * vc-git.el (vc-git-print-log): Handle a limit argument.
14029         Display the short log in graph form and with labels.
14030         (vc-git-log-view-mode): Handle labels.
14032         Make vc-revert change VC state from 'added to 'unregistered.
14033         * vc-git.el (vc-git-revert): Call git reset first.
14035 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14037         * net/newst-backend.el, net/newst-plainview.el:
14038         * net/newst-reader.el, net/newst-ticker.el:
14039         * net/newst-treeview.el, net/newsticker.el:
14040         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
14042 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14044         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14046         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14047         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
14048         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14049         Update annotation regexp.
14051         * simple.el (beginning-of-visual-line): Constrain to field
14052         boundaries (Bug#5106).
14054 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
14056         * xml.el (xml-substitute-numeric-entities):
14057         Move newsticker--decode-numeric-entities in newst-backend.el to
14058         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14059         * net/newst-backend.el (newsticker--parse-generic-feed)
14060         (newsticker--parse-generic-items)
14061         (newsticker--decode-numeric-entities):
14062         Move newsticker--decode-numeric-entities in newst-backend.el to
14063         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
14065 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
14067         * progmodes/js.el (js--js-not): Add null to the list of values.
14069 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
14071         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14073 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14075         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14076         delimiter if it is at the end of the current line.
14077         (bibtex-generate-url-list): Fix docstring.
14079 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
14081         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14082         minibuffer's content with itself.
14083         Fold the confirm-after-completion case into the `confirm' case.
14084         (completion-pcm-word-delimiters): Add : and / to the delimiters.
14086 2009-12-06  Kevin Ryde  <user42@zip.com.au>
14088         * ffap.el (ffap-rfc-path): Make this a defcustom since
14089         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
14091         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14092         manuals, similar to existing setup for help-mode.  (Bug#3913.)
14094 2009-12-05  Juri Linkov  <juri@jurta.org>
14096         Save and restore dired buffer's point positions too.  (Bug#4880)
14098         * dired.el (dired-save-positions): Return in the first element
14099         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14100         Doc fix.
14101         (dired-restore-positions): First restore buffer's position.
14102         While restoring window's positions, check if window still displays
14103         the original buffer.
14105 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
14107         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14108         if possible.
14110         * shell.el (shell): Require ansi-color (Bug#5113).
14112         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14114         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14116 2009-12-05  Alan Mackenzie  <acm@muc.de>
14118         * progmodes/cc-mode.el (c-before-hack-hook)
14119         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14120         `c-file-style' to work again.  This reversion restores the current
14121         software to its state in Emacs 23.1.  (Bug#4146)
14123 2009-12-05  Kevin Ryde  <user42@zip.com.au>
14125         * textmodes/sgml-mode.el (sgml-lexical-context):
14126         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14128 2009-12-05  Juri Linkov  <juri@jurta.org>
14130         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14131         for virtual nodes.  (Bug#4147)
14132         (Info-find-node-2): Set `Info-current-node-virtual' to nil
14133         when moving from a virtual node.
14134         (Info-mode-menu): Add `Info-virtual-index' to the menu.
14135         (Info-mode): Add `Info-virtual-index' to the docstring.
14137 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14139         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
14140         track of the buffer position of the end of a BibTeX entry as this
14141         position may change during reformatting.
14142         (bibtex-format-entry): Remove whitespace before processing
14143         numerical fields so that we recognize the latter properly.
14144         (bibtex-reformat): Do not use push which changes the global value
14145         of bibtex-entry-format.
14146         (bibtex-field-braces-alist, bibtex-field-strings-alist)
14147         (bibtex-field-re-init): Replace only space characters by regexp
14148         for whitespace.
14149         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
14150         (bibtex-initialize): Also update bibtex-strings.
14151         (bibtex-kill-field): Preserve white space at end of entry.
14152         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
14153         Update bibtex-reference-keys.
14155 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14157         * minibuffer.el (completion-pcm--merge-try): Also consider placing
14158         point after a star, if that's the only place where modifications can
14159         make progress.
14161 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
14163         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
14164         in docstrings.
14166 2009-12-04  Juri Linkov  <juri@jurta.org>
14168         * proced.el (proced): Call `(proced-update t)' to update process
14169         information instead of only running proced-post-display-hook.
14170         (proced-send-signal): Add a leading space to the buffer name
14171         " *Marked Processes*" to make this buffer ephemeral.
14173 2009-12-04  Juri Linkov  <juri@jurta.org>
14175         * dired.el (dired-auto-revert-buffer): New defcustom.
14176         (dired-internal-noselect): Use it.
14178 2009-12-04  Juri Linkov  <juri@jurta.org>
14180         Change roles of modes and functions in image-mode.el (Bug#5062).
14182         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
14183         in `auto-mode-alist'.
14184         (image-mode-previous-major-mode): New variable.
14185         (image-minor-mode-map): Rename from `image-mode-text-map'.
14186         (image-mode): Move graceful error-handling code from
14187         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
14188         (image-minor-mode): Remove all image-handling code.
14189         Replace `image-mode-text-map' with `image-minor-mode-map'.
14190         Check for `image-type' in mode-line format string.
14191         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
14192         (image-mode-as-text): New function with most code from
14193         `image-mode-maybe'.
14194         (image-toggle-display-text): Move code that removes image
14195         properties from `image-toggle-display' to here.
14196         (image-toggle-display-image): New function with code that adds
14197         image properties copied from `image-toggle-display'.
14198         (image-toggle-display): Remove most code with leaving only code
14199         that toggles between `image-mode-as-text' and `image-mode'.
14201 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
14203         * net/newst-treeview.el
14204         (newsticker--treeview-list-highlight-start): Restored call to
14205         save-excursion: Selected item was stuck.
14206         (newsticker--treeview-list-select): New.
14207         (newsticker--treeview-item-show-text)
14208         (newsticker--treeview-item-show)
14209         (newsticker--treeview-item-update): Use new
14210         newsticker-treeview-item-mode.
14211         (newsticker-treeview-update): Keep current item.
14212         (newsticker-treeview-next-new-or-immortal-item): Doc change.
14213         (newsticker--treeview-first-feed): Doc change.
14214         (newsticker-treeview-list-menu)
14215         (newsticker-treeview-item-menu): Add menu entries.
14216         (newsticker-treeview-item-mode): New.
14218         * net/newst-backend.el (newsticker-customize): Delete other
14219         windows.
14221 2009-12-04  Sam Steingold  <sds@gnu.org>
14223         * log-view.el (log-view-mode-map): "q" calls quit-window,
14224         like in all the other non-self-insert buffers.
14226 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14228         Minor cleanup.
14229         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
14230         key decoding rather than do it manually via last-input-event +
14231         ascii-character.
14232         (term-exec): Use delete-and-extract-region.
14233         (term-handle-ansi-terminal-messages): Remove unused var `end'.
14234         (term-process-pager): Remove unused var `i'.
14235         (term-dynamic-simple-complete): Make obsolete.
14236         (serial-update-config-menu): Remove unused vars `y' and `str'.
14237         (term-update-mode-line): Remove unused var `temp'.
14239 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14241         Limit the number of log entries displayed by default.
14242         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
14243         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
14244         using a prefix argument.
14246 2009-12-03  Glenn Morris  <rgm@gnu.org>
14248         * progmodes/idlwave.el (class): Restore still useful declaration.
14250 2009-12-03  Alan Mackenzie  <acm@muc.de>
14252         Enhance `c-parse-state' to run efficiently in "brace deserts".
14254         * progmodes/cc-mode.el (c-basic-common-init):
14255         Call c-state-cache-init.
14256         (c-neutralize-syntax-in-and-mark-CPP): Rename from
14257         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
14258         placing `category' properties value 'c-cpp-delimiter at its boundaries.
14260         * progmodes/cc-langs.el (c-before-font-lock-function):
14261         c-extend-and-neutralize-syntax-in-CPP has been renamed
14262         c-neutralize-syntax-in-and-mark-CPP.
14264         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
14265         with `category' properties now, not `syntax-table' ones.
14267         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
14268         enhanced (but slower) version of c-end-of-macro that won't land
14269         inside a literal or on another awkward character.
14270         (c-state-cache-too-far, c-state-cache-start)
14271         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
14272         (c-state-nonlit-pos-cache-limit, c-state-point-min)
14273         (c-state-point-min-lit-type, c-state-point-min-lit-start)
14274         (c-state-min-scan-pos, c-state-brace-pair-desert)
14275         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
14276         buffer local variables.
14277         (c-state-literal-at, c-state-lit-beg)
14278         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
14279         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
14280         (c-state-cache-top-paren, c-state-cache-after-top-paren)
14281         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
14282         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
14283         (c-renarrow-state-cache)
14284         (c-append-lower-brace-pair-to-state-cache)
14285         (c-state-push-any-brace-pair, c-append-to-state-cache)
14286         (c-remove-stale-state-cache)
14287         (c-remove-stale-state-cache-backwards, c-state-cache-init)
14288         (c-invalidate-state-cache-1, c-parse-state-1)
14289         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
14290         (c-parse-state): Enhance and refactor.
14291         (c-debug-parse-state): Amend to deal with all the new variables.
14293         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
14294         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
14295         modify to use category text properties rather than syntax-table ones.
14296         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
14297         to switch off/on the syntactic paren property of C++ template
14298         delimiters using the category property.
14299         (c-with-<->-as-parens-suppressed): Macro to invoke code with
14300         template delims suppressed.
14301         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
14302         New constant/macros which apply category properties to the start
14303         and end of preprocessor constructs.
14304         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
14305         "comment out" the syntactic value of characters in preprocessor
14306         constructs.
14307         (c-with-cpps-commented-out)
14308         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
14309         with characters in all or all but one preprocessor constructs
14310         "commented out".
14312 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
14314         * proced.el (proced-filter-alist): Use regexp-quote.
14316 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
14318         Cleanup.
14319         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
14320         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
14321         arguments.  Expand `default-directory'.
14323         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
14324         the benefit of returning an expanded localname.
14325         (tramp-tramp-file-p): Handle the case NAME is not a string.
14327 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14329         Add support for bzr shelve/unshelve.
14330         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
14331         (vc-bzr-extra-menu-map): New variables.
14332         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
14333         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
14334         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
14335         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
14336         (vc-bzr-dir-extra-headers): Display shelves.
14338         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
14340 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14342         * textmodes/bibtex.el (bibtex-complete-internal):
14343         Use completion-in-region.
14344         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
14346 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
14348         Support applying stashes.  Improve UI.
14349         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
14350         (vc-git-stash-apply, vc-git-stash-pop)
14351         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
14352         (vc-git-stash-menu): New functions.
14353         (vc-git-stash-menu-map): New variable.
14354         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
14356 2009-12-03  Glenn Morris  <rgm@gnu.org>
14358         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
14359         (vc-print-log-internal): Fix previous change.
14360         (vc-revert): Correct pluralization.
14362 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14364         * progmodes/make-mode.el (makefile-special-targets-list): No need for
14365         it to be an alist any more.
14366         (makefile-complete): Use completion-in-region.
14368         * progmodes/octave-mod.el (octave-complete-symbol):
14369         Use completion-in-region.
14371         Misc cleanup.
14372         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
14373         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
14374         (idlwave-complete-class): Don't quote lambda.
14375         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
14376         (idlwave-mode-map): Move initialization into declaration.
14377         (idlwave-action-and-binding): Use backquotes.
14378         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
14379         Simplify.
14380         (idlwave-is-pointer-dereference): Remove unused var `pos'.
14381         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
14382         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
14383         `parts', and `all-parts'.
14384         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
14385         (idlwave-convert-xml-system-routine-info): Remove unused string
14386         `version-string'.
14387         (idlwave-display-user-catalog-widget): Use dolist.
14388         (idlwave-scanning-lib): Declare dynamically-scoped var.
14389         (idlwave-scan-library-catalogs): Remove unused var `flags'.
14390         (completion-highlight-first-word-only): Declare to silence bytecomp.
14391         (idlwave-popup-select): Tighten scope of `resp'.
14392         (idlwave-find-struct-tag): Remove unused var `beg'.
14393         (idlwave-after-load-rinfo-hook): Declare.
14394         (idlwave-sintern-class-info): Remove unused var `taglist'.
14395         (idlwave-find-class-definition): Remove unused var `list'.
14396         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
14397         (idlwave-what-module-find-class): Remove unused var `classes'.
14399 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
14401         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
14403 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14405         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
14406         buffers visited.  Remove redundant current-buffer-saving.
14408 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14410         Use completion-in-buffer and remove uses of dynamic scoping.
14411         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
14412         (pascal-buffer-to-use, pascal-flag): Don't declare.
14413         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
14414         (pascal-get-completion-decl, pascal-keyword-completion):
14415         Add `pascal-str' argument, save-excursion,
14416         return the found completions, and don't filter with pascal-pred.
14417         (pascal-completion-cache): New var.
14418         (pascal-completion): Don't switch buffer any more (it was never
14419         necessary).  Don't save-excursion any more (it's done by the called
14420         subroutines).  Use a cache to avoid redundant computations.
14421         Use complete-with-action rather than pascal-completion-response and
14422         let it apply the predicate as well.
14423         (pascal-complete-word): Use completion-in-buffer when
14424         pascal-toggle-completions is nil.
14425         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
14426         not used any more.
14427         (pascal-comp-defun): Don't change buffer any more.
14428         Use complete-with-action rather than pascal-completion-response and
14429         let it apply the predicate as well.
14430         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
14431         when neded.
14433 2009-12-02  Kenichi Handa  <handa@m17n.org>
14435         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
14436         shape for all Indic scripts.
14438 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14440         Use completion-in-buffer.
14441         * wid-edit.el (widget-field-text-end): New function.
14442         (widget-field-value-get): Use it.
14443         (widget-string-complete, widget-file-complete)
14444         (widget-color-complete): Use it and completion-in-region.
14445         (widget-complete): Don't narrow the buffer.
14447 2009-12-02  Glenn Morris  <rgm@gnu.org>
14449         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
14450         (rmail-select-summary): Use rmail-pop-to-buffer.
14451         * mail/rmailsum.el: Replace all pop-to-buffer calls with
14452         rmail-pop-to-buffer, to prevent horizontal splits.
14454         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
14455         save-excursion with save-current-buffer.
14456         Widen before searching.  (Bug#5093)
14457         (diary-list-sexp-entries): Remove superfluous save-excursion.
14459 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
14461         * woman.el (woman-make-bufname): Handle man-pages with "." in the
14462         name.  (Bug#5038)
14464 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
14466         * ido.el (ido-file-internal): Handle filenames at point that do
14467         not have a directory part.  (Bug#5049)
14469 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
14471         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
14472         (mpc-songs-jump-to, mpc-resume): Doc fixes.
14474 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
14476         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
14477         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
14478         any more.
14480 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14482         * comint.el (comint-insert-input): Ignore clicks to the right of
14483         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
14485         * vc.el (vc-print-log-internal): Don't wait for the process to
14486         terminate before setting up the major mode.
14488         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
14489         in case.
14491         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
14492         the last element.
14494         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
14496 2009-12-01  Glenn Morris  <rgm@gnu.org>
14498         * window.el (window--display-buffer-2): Fix previous changes.
14500 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
14502         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
14504 2009-12-01  Glenn Morris  <rgm@gnu.org>
14506         * Makefile.in (ELCFILES): Add mpc.elc.
14508 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14510         * mpc.el: New file.
14512 2009-12-01  Glenn Morris  <rgm@gnu.org>
14514         * window.el (window-to-use): Define for compiler.
14516         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
14517         consistent with others (no final period).
14519         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
14520         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
14522 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
14524         Make vc-print-log buttons work.
14525         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
14527 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
14529         * savehist.el (savehist-autosave-interval): Allow setting to nil
14530         through customize.  (Bug#5056)
14532 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
14534         Fix references to jit-lock properties.
14535         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
14536         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
14537         (perl-font-lock-special-syntactic-constructs):
14538         Quote jit-lock-defer-multiline property.
14540 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
14542         * vc-git.el (vc-git-registered): Call vc-git-root only once.
14544 2009-11-30  Juri Linkov  <juri@jurta.org>
14546         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
14547         value `buffer' of `multi-isearch-next-buffer-current-function'.
14548         Use `(current-buffer)' when `buffer' is nil.
14549         (multi-isearch-next-buffer-from-list): Don't fallback to
14550         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
14552 2009-11-30  Juri Linkov  <juri@jurta.org>
14554         * misearch.el (multi-isearch-read-buffers): Move canonicalization
14555         of buffers with `get-buffer' to `multi-isearch-buffers'.
14556         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14557         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
14558         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
14559         FILES with `expand-file-name' converting relative file names
14560         to absolute.  Doc fix.  (Bug#4727)
14562 2009-11-30  Juri Linkov  <juri@jurta.org>
14564         * misearch.el (multi-isearch-read-buffers)
14565         (multi-isearch-read-matching-buffers): New functions.
14566         (multi-isearch-buffers, multi-isearch-buffers-regexp):
14567         Use them in the `interactive' spec.  Doc fix.
14568         (multi-isearch-read-files, multi-isearch-read-matching-files):
14569         New functions.
14570         (multi-isearch-files, multi-isearch-files-regexp):
14571         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
14573 2009-11-30  Juri Linkov  <juri@jurta.org>
14575         * doc-view.el (doc-view-continuous):
14576         Rename from `doc-view-continuous-mode'.
14577         (doc-view-menu): Move "Toggle display" to the top.
14578         Add submenu "Continuous" with radio buttons "Off"/"On"
14579         and "Save as Default".
14580         (doc-view-scroll-up-or-next-page)
14581         (doc-view-scroll-down-or-previous-page)
14582         (doc-view-next-line-or-next-page)
14583         (doc-view-previous-line-or-previous-page):
14584         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
14586 2009-11-30  Juri Linkov  <juri@jurta.org>
14588         * comint.el (comint-mode-map): Rebind `M-r' from
14589         `comint-previous-matching-input' to
14590         `comint-history-isearch-backward-regexp'.
14591         Unbind `M-s' to allow global key binding `M-s'.
14592         Add menu items for `comint-history-isearch-backward' and
14593         `comint-history-isearch-backward-regexp'.  (Bug#3746)
14595 2009-11-30  Juri Linkov  <juri@jurta.org>
14597         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
14598         For def=recenter, replace `recenter' with `recenter-top-bottom'
14599         that is called with `this-command' and `last-command' let-bound
14600         to `recenter-top-bottom'.  When the last `def' was not `recenter',
14601         set `recenter-last-op' to nil.  (Bug#4981)
14603 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14605         Minor cleanup and simplification.
14606         * filecache.el (file-cache-add-directory)
14607         (file-cache-add-directory-recursively)
14608         (file-cache-add-from-file-cache-buffer)
14609         (file-cache-delete-file-regexp, file-cache-delete-directory)
14610         (file-cache-files-matching-internal, file-cache-display): Use dolist.
14611         (file-cache-temp-minibuffer-message): Delete function.
14612         (file-cache-minibuffer-complete): Use minibuffer-message instead.
14614         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
14615         Don't signal an error when bumping into EOB in tr, s, or y.
14617 2009-11-29  Juri Linkov  <juri@jurta.org>
14619         * startup.el (fancy-about-text): Fix wording of Guided Tour.
14620         (Bug#4960)
14622         * descr-text.el (describe-char-unidata-list): Use lowercase name
14623         for "Unicode name" like in other tags.
14625 2009-11-29  Juri Linkov  <juri@jurta.org>
14627         * ediff-util.el (ediff-minibuffer-with-setup-hook):
14628         New compatibility macro.
14629         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
14631 2009-11-29  Juri Linkov  <juri@jurta.org>
14633         Add defcustom to define the cycling order of `recenter-top-bottom'.
14634         (Bug#4981)
14636         * window.el (recenter-last-op): Doc fix.
14637         (recenter-positions): New defcustom.
14638         (recenter-top-bottom): Rewrite to use `recenter-positions'.
14639         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
14641 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
14643         Improve integration of Tramp and ange-ftp in eshell.
14645         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
14646         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
14647         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
14649         * eshell/esh-util.el (top): Require also Tramp when compiling.
14650         (eshell-directory-files-and-attributes): Check for FTP remote
14651         connection.
14652         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
14653         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
14654         (eshell-file-attributes): Handle ".".  Return `entry'.
14656         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
14657         (ange-ftp-directory-files-and-attributes)
14658         (ange-ftp-real-directory-files-and-attributes): New defuns.
14660         * net/tramp.el (tramp-maybe-open-connection): Open the remote
14661         shell with "exec" when possible.  This prevents trailing prompts
14662         in `start-file-process'.
14664 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14666         Try and remove assumptions about point-min==1.
14667         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
14668         (rng-compute-mode-line-string): Show the validation percentage in
14669         terms of the narrowed text, not the widened text.
14670         (rng-do-some-validation): Don't catch internal errors when debugging.
14671         (rng-first-error): Simplify.
14672         (rng-after-change-function): Remove work around.  AFAIK the bug has
14673         been fixed a while ago.
14675         * image-mode.el (image-minor-mode): Exit more gracefully when the image
14676         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
14678         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
14680         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
14681         `cd' doesn't always do it for us (bug#5067).
14683         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
14684         on 2009-10-25 as part of some other change (bug#5067).
14686 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14688         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
14689         `suspicious'.
14690         (byte-compile-warnings): Use byte-compile-warning-types.
14691         (byte-compile-save-excursion): Warn about use of set-buffer right
14692         after save-excursion.
14694         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
14695         the excursion as well.
14697 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
14699         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
14700         providing a Tramp related implementation of "su" and "sudo".
14701         (eshell-unix-initialize): Add "su" and "sudo".
14703 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
14705         * net/socks.el (socks-send-command): Convert binary request to
14706         unibyte before sending.  This fixes mishandling of some port
14707         numbers such as 129.
14709 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14711         * help.el (describe-bindings-internal): Remove `interactive'.
14713         * man.el (Man-completion-table): Trim a terminating "(".
14714         Remove the space between name page a section.
14715         Add the command's description on the `help-echo' property.
14716         Remove `process-connection-type' binding since it's unused by
14717         call-process.
14718         Provide completion for the "<section> <name>" format as well.
14719         (Man-default-man-entry): Remove spurious var shadowing the argument.
14721 2009-11-26  Kevin Ryde  <user42@zip.com.au>
14723         * log-view.el: Add "Keywords: tools", since its other keywords
14724         aren't in finder-known-keywords, and following vc.el.
14726         * sha1.el (sha1-string-external): default-directory "/" in case
14727         otherwise non-existent.  process-connection-type pipe for touch of
14728         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
14730 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14732         Misc coding convention cleanups.
14733         * htmlfontify.el (hfy-init-kludge-hook): Rename from
14734         hfy-init-kludge-hooks.
14735         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
14736         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
14737         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
14738         and push.
14739         (hfy-slant, hfy-weight): Use tables rather than code.
14740         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
14741         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
14742         (hfy-face-attr-for-class): Initialize `face-spec' directly.
14743         (hfy-face-to-css): Remove `nconc' with single arg.
14744         (hfy-p-to-face-lennart): Use `or'.
14745         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
14746         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
14747         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
14748         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
14749         (hfy-force-fontification): Use run-hooks.
14751 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
14753         Various minor fixes.
14754         * htmlfontify.el (hfy-default-header): Add toggle_invis since
14755         Javascript belongs in the header, not the body.
14756         (hfy-javascript): Remove.
14757         (hfy-fontify-buffer): Don't insert it any more.
14758         (hfy-face-at): Handle (face0 face1 face2) style face properties.
14759         Fix bug in invis handling when there were no invis props in a chunk.
14761 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14763         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
14765 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
14767         * finder.el (finder-mode-map): Add a menu.
14769 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
14771         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
14772         "unsigned" structs.
14774         (verilog-leap-to-head, verilog-backward-token): Handle "disable
14775         fork" statement better.
14777 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
14779         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
14780         (verilog-delete-auto, verilog-delete-empty-auto-pair)
14781         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
14782         Reported by Clay Douglass.
14784         (verilog-auto-inst, verilog-auto-star-safe)
14785         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
14786         Fix removing "// Interfaces" when saving .* expansions.
14787         Reported by Pierre-David Pfister.
14789 2009-11-26  Glenn Morris  <rgm@gnu.org>
14791         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14792         the scope.
14794 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14796         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14797         Really use previous revision.
14799 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14801         * man.el (Man-completion-table): default-directory "/" in case
14802         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14803         not to truncate long names.  process-connection-type pipe to avoid
14804         any chance of hitting the pseudo-tty TIOCGWINSZ.
14805         (man): completion-ignore-case t for friendliness and since man
14806         itself is case-insensitive on the command line.
14807         Further to Bug#3717.
14809         * arc-mode.el: Add "Keywords: files", so the details in its
14810         commentary can be reached from finder-by-keyword.
14811         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14812         editing mode, but it's comms related and sgml-mode.el has "comm"
14813         on that basis too.
14814         * textmodes/bibtex-style.el: Add "Keywords: tex".
14815         * international/isearch-x.el, international/ja-dic-cnv.el:
14816         * international/ja-dic-utl.el, international/kkc.el:
14817         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14819 2009-11-25  Juri Linkov  <juri@jurta.org>
14821         * man.el (Man-completion-table): Modify regexp to include
14822         section names to completion strings.  (Bug#3717)
14824 2009-11-25  Juri Linkov  <juri@jurta.org>
14826         Search recursively in gzipped files.  (Bug#4982)
14828         * progmodes/grep.el (grep-highlight-matches): Add new options
14829         `always' and `auto'.  Doc fix.
14830         (grep-process-setup): Check `grep-highlight-matches' for
14831         `auto-detect' to determine the need to compute grep defaults.
14832         Move Windows/DOS specific --colors settings handling
14833         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14834         to get the value of "--color=".
14835         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14836         has the value `auto-detect'.  Move Windows/DOS specific settings
14837         from `grep-process-setup'.
14838         (zrgrep): New command with alias `rzgrep'.
14840 2009-11-25  Juri Linkov  <juri@jurta.org>
14842         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14843         to nil instead of switching off view-mode.  (Bug#4896)
14845 2009-11-25  Juri Linkov  <juri@jurta.org>
14847         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14849         * mwheel.el (mwheel-scroll-up-function)
14850         (mwheel-scroll-down-function): New defvars.
14851         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14852         `scroll-up', and `mwheel-scroll-down-function' instead of
14853         `scroll-down'.
14855         * doc-view.el (doc-view-scroll-up-or-next-page)
14856         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14857         Use this ARG in the call to image-scroll-up/image-scroll-down.
14858         Change `interactive' spec to "P".  Goto next/previous page only
14859         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14860         SPC/DEL case).  Doc fix.
14861         (doc-view-next-line-or-next-page)
14862         (doc-view-previous-line-or-previous-page): Rename arg to ARG
14863         for consistency.
14864         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14865         `doc-view-scroll-up-or-next-page', and buffer-local
14866         `mwheel-scroll-down-function' to
14867         `doc-view-scroll-down-or-previous-page'.
14869 2009-11-25  Juri Linkov  <juri@jurta.org>
14871         Provide additional default values (directories at other Dired
14872         windows) via M-n in the minibuffer of some Dired commands.
14874         * dired-aux.el (dired-diff, dired-compare-directories)
14875         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14876         `minibuffer-default' in `minibuffer-with-setup-hook'.
14877         (dired-dwim-target-directory): Find a window that displays Dired
14878         buffer instead of failing when the next window is not Dired.
14879         Use `get-window-with-predicate' to find for the next Dired window.
14880         (dired-dwim-target-defaults): New function.
14882         * ediff-util.el (ediff-read-file-name):
14883         Use `dired-dwim-target-defaults' to set `minibuffer-default'
14884         in `minibuffer-with-setup-hook'.
14886 2009-11-25  Juri Linkov  <juri@jurta.org>
14888         Provide additional default values (file name at point or at the
14889         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
14891         * minibuffer.el (read-file-name-defaults): New function.
14892         (read-file-name): Reset `minibuffer-default' to nil when
14893         it duplicates initial input `insdef'.
14894         Bind `minibuffer-default-add-function' to lambda that
14895         calls `read-file-name-defaults' in `minibuffer-selected-window'.
14896         (minibuffer-insert-file-name-at-point): New command.
14898         * files.el (file-name-at-point-functions): New defcustom.
14899         (find-file-default): Remove defvar.
14900         (find-file-read-args): Don't use `find-file-default'.
14901         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14902         to `read-file-name'.
14903         (find-file-literally): Use `read-file-name' with
14904         `confirm-nonexistent-file-or-buffer'.
14906         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14908         * dired.el (dired-read-dir-and-switches):
14909         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14910         to `read-file-name'.
14911         (dired-file-name-at-point): New function.
14912         (dired-mode): Add hook `dired-file-name-at-point' to
14913         `file-name-at-point-functions'.
14915 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14917         Really make the *Completions* window soft-dedicated (bug#5030).
14918         * window.el (window--display-buffer-2): Add `dedicated' argument.
14919         (display-buffer): Pass it when needed so the dedicated flag is set
14920         after calling set-window-buffer, which would otherwise reset it.
14922 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14924         * progmodes/meta-mode.el (meta-complete-symbol):
14925         * progmodes/etags.el (complete-tag):
14926         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14927         Use completion-in-region.
14929         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14930         (dabbrev-completion): Use completion-in-region.
14931         (dabbrev--abbrev-at-point): Simplify regexp.
14933         * abbrev.el (abbrev--before-point): Use word-motion functions
14934         if :regexp is not specified (bug#5031).
14936         * subr.el (string-prefix-p): New function.
14938         * man.el (Man-completion-cache): New var.
14939         (Man-completion-table): Use it.
14941         * vc.el (vc-print-log-internal): Make `limit' optional for better
14942         compatibility (e.g. with vc-annotate.el).
14944 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14946         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14947         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14949         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14950         when .el source file not found or other error.
14952 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14954         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14956 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14958         Handle the [back] button properly (bug#4979).
14959         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14960         Use help-setup-xref, help-buffer, and with-help-window.
14961         (describe-char): Add `buffer' argument.
14962         Pass proper command to help-setup-xref.  Don't meddle with
14963         help-xref-stack-item directly.
14964         (describe-text-category): Use with-help-window and help-buffer.
14966         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14967         for the displayed buffer (bug#4887).
14969         * man.el (Man-completion-table): New function.
14970         (man): Use it.
14972 2009-11-24  David Reitter  <david.reitter@gmail.com>
14974         * vc-git.el (vc-git-registered): Use checkout directory (where
14975         .git is) rather than the file's directory and a relative path spec
14976         to work around a bug in git.
14978 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14980         Improve handling of processes on remote hosts.
14982         * eshell/esh-util.el (eshell-path-env): New defvar.
14983         (eshell-parse-colon-path): New defun.
14984         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14986         * eshell/esh-ext.el (eshell-search-path):
14987         Use `eshell-parse-colon-path'.
14988         (eshell-remote-command): Remove argument HANDLER.
14989         (eshell-external-command): Check for FTP remote connection.
14991         * eshell/esh-proc.el (eshell-gather-process-output):
14992         Use `file-truename', in order to start also symlinked files.
14993         Apply `start-file-process' instead of `start-process'.
14994         Shorten `command' to the local file name part.
14996         * eshell/em-cmpl.el (eshell-complete-commands-list):
14997         Use `eshell-parse-colon-path'.
14999         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15001         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
15002         to `eshell-directory-change-hook'.
15004 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
15006         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15007         because it could be enabled automatically if view-read-only is non-nil.
15009 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
15011         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15012         made on 2009-11-22.
15014 2009-11-24  Glenn Morris  <rgm@gnu.org>
15016         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15017         deleted variable bookmark-bmenu-bookmark-column.
15019 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15021         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15023 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15025         * net/browse-url.el (browse-url-filename-alist): On Windows, add
15026         two slashes to the "file:" prefix.
15027         (browse-url-file-url): De-munge Cygwin filenames before passing
15028         them to Windows browser.
15029         (browse-url-default-windows-browser): Use call-process.
15031 2009-11-23  Juri Linkov  <juri@jurta.org>
15033         Implement DocView Continuous mode.  (Bug#4896)
15034         * doc-view.el (doc-view-continuous-mode): New defcustom.
15035         (doc-view-mode-map): Bind C-n/<down> to
15036         `doc-view-next-line-or-next-page', C-p/<up> to
15037         `doc-view-previous-line-or-previous-page'.
15038         (doc-view-next-line-or-next-page)
15039         (doc-view-previous-line-or-previous-page): New commands.
15041 2009-11-23  Juri Linkov  <juri@jurta.org>
15043         Implement Isearch in comint input history.  (Bug#3746)
15044         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15045         `isearch-mode-hook'.
15046         (comint-history-isearch): New defcustom.
15047         (comint-history-isearch-backward)
15048         (comint-history-isearch-backward-regexp): New commands.
15049         (comint-history-isearch-message-overlay): New buffer-local variable.
15050         (comint-history-isearch-setup, comint-history-isearch-end)
15051         (comint-goto-input, comint-history-isearch-search)
15052         (comint-history-isearch-message, comint-history-isearch-wrap)
15053         (comint-history-isearch-push-state)
15054         (comint-history-isearch-pop-state): New functions.
15056 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
15058         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15059         return.
15060         (tramp-handle-make-symbolic-link)
15061         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15062         Quote file names.
15063         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15064         (tramp-handle-process-file): Use it.
15066 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15068         * window.el (move-to-window-line-last-op): Remove.
15069         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15071 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
15073         Make M-r mirror the new cycling behavior of C-l.
15074         * window.el (move-to-window-line-last-op): New var.
15075         (move-to-window-line-top-bottom): New command.
15076         (global-map): Bind M-r move-to-window-line-top-bottom.
15078 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
15080         * dired-x.el (dired-guess-shell-alist-default):
15081         Support xz format.  (Bug#4953)
15083 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
15085         * emulation/viper-cmd.el: Use viper-last-command-char instead of
15086         last-command-char/last-command-event.
15087         (viper-prefix-arg-value): Do correct conversion of event-char for
15088         XEmacs.
15090         * emulation/viper-util.el, emulation/viper.el:
15091         Use viper-last-command-char instead of
15092         last-command-char/last-command-event.
15094         * ediff-init.el, ediff-mult.el, ediff-util.el:
15095         Replace last-command-char and last-command-event
15096         with (ediff-last-command-char) everywhere.
15098         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15099         created in fundamental mode.
15101         * ediff.el (ediff-version): Revert the change of interactive-p to
15102         called-interactively-p.
15104 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
15106         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15107         generation from word-movement command names.
15109 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
15111         * cus-start.el (all): Add native condition for font-use-system-font.
15113 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
15115         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15116         Correct the patch from 2009-11-18.  (Bug#3910)
15118 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
15120         * progmodes/subword.el: Rename from lisp/subword.el.
15122         * subword.el: Rename to progmodes/subword.el.
15124         * Makefile.in (ELCFILES): Adapt to subword.el move.
15126 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15127             Stefan Monnier  <monnier@iro.umontreal.ca>
15129         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15130         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15131         (bookmark-bmenu-show-filenames): Use push.
15132         (bookmark-bmenu-hide-filenames): Use local var instead of
15133         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
15134         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
15135         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
15136         filenames now that the bookmark names are always available.
15138 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15140         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
15141         (bookmark-search-pattern): Move and leave unbound.
15142         (bookmark-bmenu-mode-map): Change binding.
15143         (bookmark-read-search-input): Simplify.
15144         Don't use text-char-description.  Don't error on non-char events.
15145         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
15146         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
15147         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
15148         Use a local var for the timer.
15149         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
15150         (i.e. bookmark-bmenu-search).
15152 2009-11-21  Glenn Morris  <rgm@gnu.org>
15154         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
15156 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
15158         * net/browse-url.el (browse-url-default-windows-browser):
15159         Use cygstart for cygwin.
15161 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
15163         * bookmark.el: Formatting and doc fixes only:
15164         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
15165         (bookmark-bmenu-search): Wrap to fit within 80 columns.
15166         Minor grammar and punctuation fixes in doc string.
15167         (bookmark-read-search-input): Adjust to fit within 80 columns.
15169 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15171         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
15172         (c-backward-into-nomenclature): Adapt to subword renaming.
15174         * subword.el (subword-forward, subword-backward, subword-mark)
15175         (subword-kill, subword-backward-kill, subword-transpose)
15176         (subword-downcase, subword-upcase, subword-capitalize)
15177         (subword-forward-internal, subword-backward-internal):
15178         Rename from forward-subword, backward-subword, mark-subword,
15179         kill-subword, backward-kill-subword, transpose-subwords,
15180         downcase-subword, upcase-subword, capitalize-subword,
15181         forward-subword-internal, backward-subword-internal.
15183 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15185         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
15186         New options.
15187         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
15188         New vars.
15189         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
15190         (bookmark-bmenu-filter-alist-by-regexp)
15191         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
15192         (bookmark-bmenu-search): New command.
15193         (bookmark-bmenu-mode-map): Bind it.
15195 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
15197         * progmodes/cc-cmds.el: declare-functioned forward-subword and
15198         backward-subword to quit the byte-compiler.
15200         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
15202         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
15204         * progmodes/cc-cmds.el (c-update-modeline)
15205         (c-forward-into-nomenclature, c-backward-into-nomenclature):
15206         Refer to subword.el functions instead of cc-subword.el.
15208         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
15209         subword.el functions instead of cc-subword.el.
15211         * progmodes/cc-subword.el: Rename to subword.el.
15212         * subword.el: Rename from progmodes/cc-subword.el.
15213         (subword-mode-map): Rename from c-subword-mode-map.
15214         (subword-mode): Rename from c-subword-mode.
15215         (global-subword-mode): New global minor mode.
15216         (forward-subword): Rename from c-forward-subword.
15217         (backward-subword): Rename from c-backward-subword.
15218         (mark-subword): Rename from c-mark-subword.
15219         (kill-subword): Rename from c-kill-subword.
15220         (backward-kill-subword): Rename from c-backward-kill-subword.
15221         (transpose-subwords): Rename from c-tranpose-subword.
15222         (downcase-subword): Rename from c-downcase-subword.
15223         (capitalize-subword): Rename from c-capitalize-subword.
15224         (forward-subword-internal): Rename from c-forward-subword-internal.
15225         (backward-subword-internal): Rename from c-backward-subword-internal.
15227 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
15229         * vc.el (vc-deduce-fileset): Allow non-state changing operations
15230         from a dired buffer.
15231         (vc-dired-deduce-fileset): New function.
15232         (vc-root-diff, vc-print-root-log): Use it.
15234         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
15235         nil LIMIT argument to vc-print-log-internal.
15237 2009-11-20  Glenn Morris  <rgm@gnu.org>
15239         * Makefile.in (ELCFILES): Regenerate.
15241 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
15243         * calc/calc.el (calc-set-mode-line):
15244         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15245         (math-format-number): Rename `math-format-complement-signed' to
15246         `math-format-twos-complement'.
15248         * calc/calc-bin.el (math-format-twos-complement): Rename from
15249         math-format-complement-signed.
15250         (calc-radix): Rename `calc-complement-signed-mode' to
15251         `calc-twos-complement-mode'.
15252         (calc-octal-radix, calc-hex-radix): Add an argument for
15253         two's complement.
15255         * calc/calc-embed.el (calc-embedded-mode-vars):
15256         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15258         * calc/calc-ext.el (calc-init-extensions):
15259         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
15260         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
15262         * calc/calc-units.el (math-build-units-table-buffer):
15263         Let `calc-twos-complement-mode' be nil.
15265         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
15266         entries.
15268         * calc/calc-vec.el (calcFunc-vunpack):
15269         * calc/calc-aent.el (calc-do-calc-eval):
15270         * calc/calc-forms.el (math-format-date):
15271         * calc/calc-graph.el (calc-graph-plot):
15272         * calc/calc-math.el (math-use-emacs-fn):
15273         * calc/calccomp.el (math-compose-expr):
15274         Let `calc-twos-complement-mode' be nil.
15276 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15278         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
15279         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
15280         * minibuffer.el (completion-in-region-functions): New hook.
15281         (completion-in-region): New function.
15282         * emacs-lisp/lisp.el (lisp-complete-symbol):
15283         * pcomplete.el (pcomplete-std-complete): Use it.
15285 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15287         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
15288         (latex-complete-alist): New vars.
15289         (latex-string-prefix-p, latex-complete-bibtex-keys)
15290         (latex-complete-envnames, latex-complete-refkeys)
15291         (latex-complete-data): New functions.
15292         (latex-complete, latex-indent-or-complete): New commands.
15294         * window.el (display-buffer-mark-dedicated): New var.
15295         (display-buffer): Obey it.
15296         * minibuffer.el (minibuffer-completion-help): Use it.
15298         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
15300         * filecache.el (file-cache-add-file): Use push and cons.
15301         (file-cache-delete-file-regexp): Use push.
15302         (file-cache-complete): Use completion-in-region.
15304         * simple.el (with-wrapper-hook): Fix thinko.
15306         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
15307         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
15308         Use with-current-buffer and string-to-number.
15309         (hfy-fallback-colour-values): Use assoc-string.
15310         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
15311         (hfy-face-at): Remove unused var `found-face'.
15312         (hfy-compile-stylesheet): Remove unused var `css'.
15313         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
15314         and `orig-buffer'.
15315         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
15316         Use with-current-buffer.
15317         (hfy-text-p): Use expand-file-name and fewer setq.
15319 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
15321         * htmlfontify.el, hfy-cmap.el: New files.
15323 2009-11-19  Juri Linkov  <juri@jurta.org>
15325         * minibuffer.el (completions-format): New defcustom.
15326         (completion--insert-strings): Implement vertical format.
15328         * simple.el (switch-to-completions): Move point to the first
15329         completion when point was at the beginning of the buffer.
15331 2009-11-19  Juri Linkov  <juri@jurta.org>
15333         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
15335         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
15337 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
15339         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
15340         (mail-signature): Change default to t.
15341         (mail-from-style): Deprecate `system-default' value.
15342         (mail-insert-from-field): For default value of mail-from-style,
15343         default to `angles' unless `angles' needs quoting and `parens'
15344         does not.
15345         (mail-citation-prefix-regexp): Use citation regexp from
15346         message-mode.
15348 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
15350         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
15351         Set variables for computing the prompt for reading password.
15353 2009-11-19  Glenn Morris  <rgm@gnu.org>
15355         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
15357         * textmodes/flyspell.el (sgml-lexical-context): Declare.
15359         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
15360         (newsticker-treeview-listwindow-height): Fix custom type.
15362 2009-11-19  Kenichi Handa  <handa@m17n.org>
15364         * descr-text.el (describe-char-padded-string): Compose with TAB
15365         only if there's a font for CH.
15366         (describe-char): Fix the condition for detecting a trivial composition.
15368 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
15370         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
15371         more accurate version of the regexp.  (Bug#3910)
15373 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15375         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
15377 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
15379         * font-setting.el (font-use-system-font): Declare for byte-compiler.
15380         (font-setting-change-default-font): Fix typo in docstring.
15382 2009-11-18  Alan Mackenzie  <acm@muc.de>
15384         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
15386 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15388         * font-setting.el (font-use-system-font): Move ...
15390         * cus-start.el (all): ... to here.
15392 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
15394         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
15395         Don't set `ad-return-value' if `ad-do-it' doesn't.
15397         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
15398         modification time.
15400 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
15402         * menu-bar.el: Put "Use system font" in Option-menu.
15403         (menu-bar-options-save): Add font-use-system-font.
15405         * loadup.el: If feature system-font-setting or font-render-setting is
15406         there, load font-setting.
15408         * Makefile.in (ELCFILES): Add font-settings.el.
15409         * font-setting.el: New file.
15411 2009-11-17  Glenn Morris  <rgm@gnu.org>
15413         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
15415         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
15416         Preserve point in the list buffer.  (Bug#4939)
15417         Use point-at-eol.
15418         (newsticker--treeview-list-update-highlight)
15419         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
15421 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15423         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
15424         Remove.
15426         * calc/calc-ext.el (calc-init-extensions): Remove references to
15427         symclip.
15429         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
15431         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
15432         * calc/calc-help.el (calc-b-prefix-help): Remove references to
15433         `calc-symclip'.
15435 2009-11-16  Kevin Ryde  <user42@zip.com.au>
15437         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
15438         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
15440         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
15441         (lm-keywords-list): Allow comma-only separator like "foo,bar".
15442         Ignore trailing spaces by omit-nulls to split-string (fixing
15443         regression from Emacs 21 due to the incompatible split-string
15444         change).  (Bug #4928.)
15446 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
15448         * vc.el (vc-log-show-limit): Default to 2000.
15449         (vc-print-log-internal): Insert buttons to request more entries
15450         when limiting the output.
15452         * vc-sccs.el (vc-sccs-print-log):
15453         * vc-rcs.el (vc-rcs-print-log):
15454         * vc-cvs.el (vc-cvs-print-log):
15455         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
15456         LIMIT is non-nil.
15458 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15460         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
15461         error when `tramp-gvfs-dbus-event-vector' is set.
15462         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
15464 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15466         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
15468 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
15470         * net/dbus.el (dbus-unregister-service): New defun.
15471         (dbus-register-property): Register the handlers of
15472         "org.freedesktop.DBus.Properties" for SERVICE.
15473         (dbus-property-handler): Fix docstring.
15475 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15477         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
15478         Quote doc string reference in defvaralias as it is not in special form.
15479         (byte-compile-output-docform): Doc fix.
15481 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
15483         * calc/calc.el (math-2-word-size, math-half-2-word-size)
15484         (calc-complement-signed-mode): New variables.
15485         (calc-set-mode-line): Add indicator for twos-complements.
15486         (math-format-number): Format twos-complement notation.
15488         * calc/calc-bin.el (calc-word-size): Reset the variables
15489         `math-2-word-size' and `math-half-2-word-size'.
15490         (math-format-complement-signed, math-symclip, calcFunc-symclip)
15491         (calc-symclip): New functions.
15493         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
15495         * calc/calc-embed.el (calc-embedded-mode-vars):
15496         Add `calc-complement-signed-mode' to the list of modes.
15498         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
15499         (calc-b-oper-keys): Add `calc-symclip' to list.
15501         * calc/calc-ext.el (math-read-number-fancy): Read complement
15502         signed numbers.
15503         (calc-init-extensions): Add binding for `calc-symclip'.
15504         Add autoload for `calcFunc-symclip' and `calc-symclip'.
15506         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
15507         `calc-symclip'.
15508         (calc-modes-menu): Add item for twos complement mode.
15510         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
15512 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15514         * register.el (jump-to-register, insert-register): Handle Semantic
15515         tags.  From commented-out advice in semantic/senator.el.
15517 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
15519         * vc.el (vc-log-show-limit): New variable.
15520         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
15521         when using a prefix argument.
15522         (vc-print-log-internal): Add new argument LIMIT.
15524         * vc-svn.el (vc-svn-print-log):
15525         * vc-mtn.el (vc-mtn-print-log):
15526         * vc-hg.el (vc-hg-print-log):
15527         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
15528         pass it to the log command when set.  Make the BUFFER argument
15529         non-optional.
15531         * vc-sccs.el (vc-sccs-print-log):
15532         * vc-rcs.el (vc-rcs-print-log):
15533         * vc-git.el (vc-git-print-log):
15534         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
15535         ignore it.  Make the BUFFER argument non-optional
15537         * bindings.el (mode-line-buffer-identification): Do not purecopy.
15539 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
15541         * dired.el (dired-mode-map): Move encryption items to "Operate"
15542         menu (Bug#4703).
15544         * strokes.el (strokes-update-window-configuration): Make strokes
15545         buffer current before erasing (Bug#4906).
15547 2009-11-15  Juri Linkov  <juri@jurta.org>
15549         * simple.el (set-mark-default-inactive): Add :type, :group
15550         and :version.  (Bug#4876)
15552 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
15554         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
15555         (archive-unique-fname): ... here.  (Bug#4929)
15557 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15559         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
15560         with a real fix.
15562         * novice.el (disabled-command-function): Add useful args.
15563         Setup the help buffer so that [back] works.
15564         Remove redundant call to help-mode.
15565         (disabled-command-function): Use `case'.
15566         (en/disable-command): New function extracted from enable-command.
15567         (enable-command, disable-command): Use it.
15569 2009-11-14  Glenn Morris  <rgm@gnu.org>
15571         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
15572         constants.  (Bug#4913)
15574         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
15576 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
15578         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
15579         defined in C that have no doc-strings.  (Bug#1063)
15581 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
15583         * cus-edit.el (data, files):
15584         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
15586 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
15588         * simple.el (shell-command): Doc fix (Bug#4891).
15590         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
15592 2009-11-14  Glenn Morris  <rgm@gnu.org>
15594         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
15595         statements for vc-diff, emerge-quit, and rmail-cease-edit.
15596         If they are already loaded, eval-after-load will do the right thing.
15598         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
15599         compiling.
15601         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
15603         * simple.el (x-selection-owner-p): Declare.
15604         (read-mail-command): Use custom radio type rather than choice.
15605         (completion-no-auto-exit): Doc fix.
15607         * custom.el (defgroup):
15608         * epg-config.el (epg): Doc fixes.
15610 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
15612         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
15613         * international/ccl.el (define-ccl-program): Do not purecopy the
15614         docstring, defconst does it anyway.
15616 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15618         * add-log.el (add-change-log-entry): Avoid displaying the changelog
15619         a second time.
15621         * x-dnd.el (x-dnd-maybe-call-test-function):
15622         * window.el (split-window-vertically):
15623         * whitespace.el (whitespace-help-on):
15624         * vc-rcs.el (vc-rcs-consult-headers):
15625         * userlock.el (ask-user-about-lock-help)
15626         (ask-user-about-supersession-help):
15627         * type-break.el (type-break-force-mode-line-update):
15628         * time-stamp.el (time-stamp-conv-warn):
15629         * terminal.el (te-set-output-log, te-more-break, te-filter)
15630         (te-sentinel, terminal-emulator):
15631         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
15632         (term-write-input-ring, term-check-source, term-start-output-log):
15633         (term-display-buffer-line, term-dynamic-list-completions):
15634         (term-ansi-make-term, serial-term):
15635         * subr.el (selective-display):
15636         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
15637         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
15638         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
15639         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
15640         (speedbar-remove-localized-speedbar-support)
15641         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
15642         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
15643         (speedbar-buffers-line-directory):
15644         * simple.el (shell-command-on-region, append-to-buffer)
15645         (prepend-to-buffer):
15646         * shadowfile.el (shadow-save-todo-file):
15647         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
15648         (scroll-bar-maybe-set-window-start):
15649         * sb-image.el (speedbar-image-dump):
15650         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
15651         (load-save-place-alist-from-file):
15652         * ps-samp.el (ps-print-message-from-summary):
15653         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
15654         (ps-background-image, ps-begin-job, ps-do-despool):
15655         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
15656         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
15657         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
15658         (pr-call-process, pr-file-list, pr-interface-save):
15659         * novice.el (disabled-command-function)
15660         (enable-command, disable-command):
15661         * mouse.el (mouse-buffer-menu-alist):
15662         * mouse-copy.el (mouse-kill-preserving-secondary):
15663         * macros.el (kbd-macro-query):
15664         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
15665         * informat.el (batch-info-validate):
15666         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
15667         * hippie-exp.el (try-expand-dabbrev-visible):
15668         * help-mode.el (help-make-xrefs):
15669         * help-fns.el (describe-variable):
15670         * generic-x.el (bat-generic-mode-run-as-comint):
15671         * finder.el (finder-mouse-select):
15672         * find-dired.el (find-dired-sentinel):
15673         * filesets.el (filesets-file-close):
15674         * files.el (list-directory):
15675         * faces.el (list-faces-display, describe-face):
15676         * facemenu.el (list-colors-display):
15677         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
15678         * epg.el (epg--process-filter, epg-cancel):
15679         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
15680         (epa--read-signature-type):
15681         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
15682         (emerge-file-names):
15683         * ehelp.el (electric-helpify):
15684         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
15685         * ediff-vers.el (rcs-ediff-view-revision):
15686         * ediff-util.el (ediff-setup):
15687         * ediff-mult.el (ediff-append-custom-diff):
15688         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
15689         (ediff-wordify):
15690         * echistory.el (Electric-command-history-redo-expression):
15691         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
15692         * disp-table.el (describe-display-table):
15693         * dired.el (dired-find-buffer-nocreate):
15694         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
15695         * dabbrev.el (dabbrev--same-major-mode-p):
15696         * chistory.el (list-command-history):
15697         * apropos.el (apropos-documentation):
15698         * allout.el (allout-obtain-passphrase):
15699         (allout-copy-exposed-to-buffer):
15700         (allout-verify-passphrase): Use with-current-buffer.
15702 2009-11-13  Glenn Morris  <rgm@gnu.org>
15704         * Makefile.in (ELCFILES): Regenerate.
15706 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
15708         * net/dbus.el (dbus-registered-objects-table): Rename from
15709         `dbus-registered-functions-table', because it contains also properties.
15710         (dbus-unregister-object): Unregister also properties.
15711         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
15712         Use a timeout of 500 msec, in order to not block.
15713         (dbus-register-property, dbus-property-handler): New defuns.
15715 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15717         * simple.el (minibuffer-default-add-completions): Drop deprecated
15718         4th arg.
15720 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
15722         * textmodes/artist.el (artist-mouse-choose-operation):
15723         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
15724         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
15725         (artist-compute-up-event-key): New function.
15726         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
15728 2009-11-13  Kenichi Handa  <handa@m17n.org>
15730         * language/japan-util.el: Make sure that the value of jisx0208
15731         property is jisx0208 character.
15733 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
15735         * international/mule.el (auto-coding-regexp-alist): Only purecopy
15736         car or each item, not the whole list.
15738 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15740         * minibuffer.el (minibuffer-completion-help):
15741         Use minibuffer-hide-completions.
15743 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
15745         * dired.el (dired-save-positions, dired-restore-positions): New funs.
15746         (dired-revert): Use them (bug#4880).
15748 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15750         * tooltip.el (tooltip-frame-parameters): Undo previous change.
15752 2009-11-12  Juri Linkov  <juri@jurta.org>
15754         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
15755         New functions.
15756         (find-file-literally-at-point): Alias of `ffap-literally'.
15758 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
15760         * textmodes/ispell.el (ispell-skip-region-alist):
15761         * textmodes/css-mode.el (auto-mode-alist):
15762         * progmodes/compile.el (auto-mode-alist):
15763         * international/mule.el (ctext-non-standard-encodings-alist)
15764         (ctext-non-standard-encodings-regexp):
15765         * simple.el (shell-command-switch, text-read-only):
15766         * replace.el (occur-mode-map):
15767         * paths.el (rmail-file-name):
15768         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
15769         * find-file.el (ff-special-constructs):
15770         * files.el (file-name-handler-alist):
15771         * composite.el: Purecopy strings.
15773         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
15775 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15777         * widget.el (define-widget): Purecopy the docstring.
15778         * international/mule-cmds.el (charset): Do not purecopy the
15779         docstring here, define-widget does it.
15781         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
15782         * textmodes/bibtex-style.el (auto-mode-alist):
15783         * progmodes/inf-lisp.el (inferior-lisp-prompt):
15784         * progmodes/compile.el (compile-command):
15785         * language/korea-util.el (default-korean-keyboard):
15786         * international/mule-conf.el (file-coding-system-alist):
15787         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15788         * tooltip.el (tooltip-frame-parameters):
15789         * newcomment.el (comment-end, comment-padding):
15790         * dired.el (dired-trivial-filenames):
15791         * comint.el (comint-file-name-prefix): Purecopy initial values.
15793 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15795         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15796         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15797         `tramp-unload'.
15798         (tramp-advice-make-auto-save-file-name)
15799         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15800         after removing the advice.
15802 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15804         * progmodes/grep.el (grep-regexp-alist):
15805         * international/mule-cmds.el (iso-2022-control-alist):
15806         * emacs-lisp/timer.el (timer-duration-words):
15807         * subr.el (version-separator, version-regexp-alist):
15808         * minibuffer.el (completion-styles-alist):
15809         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15810         Change defvars to defconsts.
15812         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15813         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15814         * international/mule-conf.el: Allow to be byte compiled.
15816         * international/mule.el (define-charset): Purecopy props.
15817         (load-with-code-conversion): Purecopy doc string and file name.
15818         (put-charset-property): Purecopy strings.
15819         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15821         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15822         (define-char-code-property): Correctly purecopy the table.
15824         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15826         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15828         * subr.el (add-hook): Purecopy strings.
15829         (eval-after-load): Purecopy load-history-regexp and the form.
15831         * custom.el (custom-declare-group): Purecopy load-file-name.
15833         * subr.el (menu-bar-separator): New defconst.
15834         * net/eudc.el (eudc-tools-menu):
15835         * international/mule-cmds.el (set-coding-system-map)
15836         (mule-menu-keymap):
15837         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15838         * vc-hooks.el (vc-menu-map):
15839         * replace.el (occur-mode-map):
15840         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15841         (menu-bar-edit-menu, menu-bar-goto-menu)
15842         (menu-bar-custom-menu, menu-bar-showhide-menu)
15843         (menu-bar-options-menu, menu-bar-tools-menu)
15844         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15845         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15846         (menu-bar-help-menu):
15847         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15848         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15850         * term/x-win.el (x-gtk-stock-map):
15851         * progmodes/vera-mode.el (auto-mode-alist):
15852         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15853         (inferior-lisp-program, inferior-lisp-load-command):
15854         * progmodes/hideshow.el (hs-special-modes-alist):
15855         * progmodes/gud.el (same-window-regexps):
15856         * progmodes/grep.el (grep-program, find-program, xargs-program):
15857         * net/telnet.el (same-window-regexps):
15858         * net/rlogin.el (same-window-regexps):
15859         * language/ethiopic.el (font-ccl-encoder-alist):
15860         * vc-sccs.el (vc-sccs-master-templates):
15861         * vc-rcs.el (vc-rcs-master-templates):
15862         * subr.el (cl-assertion-failed):
15863         * simple.el (next-error-overlay-arrow-position):
15864         * lpr.el (lpr-command):
15865         * locate.el (locate-ls-subdir-switches):
15866         * info.el (same-window-regexps, info)
15867         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15868         * image-mode.el (image-mode, auto-mode-alist):
15869         * hippie-exp.el (hippie-expand-ignore-buffers):
15870         * format.el (format-alist):
15871         * find-dired.el (find-ls-subdir-switches, find-grep-options)
15872         (find-name-arg):
15873         * facemenu.el (facemenu-keybindings):
15874         * dired.el (dired-listing-switches, dired-chown-program):
15875         * diff.el (diff-switches, diff-command):
15876         * cus-edit.el (same-window-regexps):
15877         * bindings.el (mode-line-mule-info)
15878         (mode-line-buffer-identification): Purecopy strings.
15880 2009-11-11  Juri Linkov  <juri@jurta.org>
15882         * simple.el (dired-get-filename) <declare-function>:
15883         Tell the byte-compiler about dired-get-filename.
15884         (shell-command): In Dired mode, get filename from the current line
15885         as the default value.
15887 2009-11-10  Glenn Morris  <rgm@gnu.org>
15889         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15890         * calendar/holidays.el, progmodes/cperl-mode.el:
15891         Update x-popup-menu declarations.
15893         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15894         (list-load-path-shadows): Use dolist.
15895         (list-load-path-shadows): Use with-current-buffer.
15897 2009-11-10  Juri Linkov  <juri@jurta.org>
15899         * minibuffer.el (read-file-name): Support a list of default values
15900         in `default-filename'.  Use the first file name where only one
15901         element is required.  Doc fix.
15903 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
15905         * net/dbus.el (dbus-unregister-object): Release service, if no
15906         other method is registered for it.
15908 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
15910         * bookmark.el (bookmark-completing-read): Sort bookmark names if
15911         bookmark-sort-flag is non-nil (Bug#4653).
15913 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15915         * emulation/cua-base.el: Add CUA property to some CC mode commands
15916         (Bug#4100).
15918 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15920         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15921         at end of sentence (Bug#4818).
15923 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15925         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15926         Handle "see declaration of" MSFT statements (Bug#4100).
15928 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15930         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15931         (tramp-advice-file-expand-wildcards): Unload via
15932         `ad-remove-advice'.
15934         * net/trampver.el: Update release number.
15936 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15938         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15939         `ad-do-it'.
15941 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15943         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15944         in order to keep context in SELinux.
15946 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15948         * dired-aux.el (dired-query): Place cursor in echo area and allow
15949         C-g.
15951         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15952         menu item if not on a directory (Bug#4701).
15954 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15956         Sync with Tramp 2.1.17.
15958         * net/tramp.el (tramp-handle-copy-directory): Don't use
15959         `file-remote-p' (due to compatibility).
15961         * net/tramp-compat.el (tramp-compat-copy-directory)
15962         (tramp-compat-delete-directory): New defuns.
15964         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15965         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15966         Use `tramp-compat-delete-directory'.
15968         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15969         (tramp-smb-handle-delete-directory):
15970         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15972         * net/trampver.el: Update release number.
15974 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15976         * tar-mode.el (tar-copy): Call write-region on the right buffer
15977         (Bug#4857).
15979         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15980         by hand, if necessary (Bug#4878).
15982 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15984         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15985         align size column (Bug#4839).
15987         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15988         statement.
15990 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15992         * progmodes/ld-script.el (auto-mode-alist):
15993         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15995         * cus-face.el (custom-declare-face): Purecopy face spec.
15997 2009-11-06  Kenichi Handa  <handa@m17n.org>
15999         * international/uni-bidi.el: Re-generated.
16000         * international/uni-category.el: Re-generated.
16001         * international/uni-combining.el: Re-generated.
16002         * international/uni-mirrored.el: Re-generated.
16004 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
16006         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16007         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16008         (tex-start-options, slitex-run-command, latex-run-command)
16009         (tex-run-command, tex-directory):
16010         * textmodes/ispell.el (ispell-html-skip-alists)
16011         (ispell-tex-skip-alists, ispell-tex-skip-alists):
16012         * textmodes/fill.el (adaptive-fill-first-line-regexp):
16013         (adaptive-fill-regexp):
16014         * textmodes/dns-mode.el (auto-mode-alist):
16015         * progmodes/python.el (interpreter-mode-alist):
16016         * progmodes/etags.el (tags-compression-info-list):
16017         * progmodes/etags.el (tags-file-name):
16018         * net/browse-url.el (browse-url-galeon-program)
16019         (browse-url-firefox-program):
16020         * mail/sendmail.el (mail-signature-file)
16021         (mail-citation-prefix-regexp):
16022         * international/mule-conf.el (eight-bit):
16023         * international/latexenc.el (latex-inputenc-coding-alist):
16024         * international/fontset.el (x-pixel-size-width-font-regexp):
16025         * emacs-lisp/warnings.el (warning-type-format):
16026         * emacs-lisp/trace.el (trace-buffer):
16027         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16028         (emacs-lisp-mode-map):
16029         * calendar/holidays.el (holiday-solar-holidays)
16030         (holiday-bahai-holidays, holiday-islamic-holidays)
16031         (holiday-christian-holidays, holiday-hebrew-holidays)
16032         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16033         (hebrew-holidays-1, holiday-oriental-holidays)
16034         (holiday-general-holidays):
16035         * x-dnd.el (x-dnd-known-types):
16036         * tool-bar.el (tool-bar):
16037         * startup.el (site-run-file):
16038         * shell.el (shell-dumb-shell-regexp):
16039         * rfn-eshadow.el (file-name-shadow-tty-properties)
16040         (file-name-shadow-properties):
16041         * paths.el (remote-shell-program, news-directory):
16042         * mouse.el ([C-down-mouse-3]):
16043         * menu-bar.el (menu-bar-tools-menu):
16044         * jka-cmpr-hook.el (jka-compr-load-suffixes)
16045         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16046         (jka-compr-compression-info-list):
16047         * isearch.el (search-whitespace-regexp):
16048         * image-file.el (image-file-name-extensions):
16049         * find-dired.el (find-ls-option):
16050         * files.el (directory-listing-before-filename-regexp)
16051         (directory-free-space-args, insert-directory-program)
16052         (list-directory-brief-switches, magic-fallback-mode-alist)
16053         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16054         (automount-dir-prefix):
16055         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16056         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16057         (face-font-registry-alternatives, face-font-registry-alternatives)
16058         (face-font-family-alternatives):
16059         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16060         (facemenu-foreground-menu, facemenu-face-menu):
16061         * epa-hook.el (epa-file-name-regexp):
16062         * dnd.el (dnd-protocol-alist):
16063         * textmodes/rst.el (auto-mode-alist):
16064         * button.el (default-button): Purecopy strings.
16066 2009-11-06  Glenn Morris  <rgm@gnu.org>
16068         * Makefile.in (ELCFILES): Update.
16070 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16072         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16073         * emacs-lisp/levents.el: Move to obsolete/levents.el.
16075         * nxml/xsd-regexp.el (xsdre-gen-categories):
16076         * nxml/xmltok.el (xmltok-parse-entity):
16077         * nxml/rng-parse.el (rng-parse-validate-file):
16078         * nxml/rng-maint.el (rng-format-manual)
16079         (rng-manual-output-force-new-line):
16080         * nxml/rng-loc.el (rng-save-schema-location-1):
16081         * nxml/rng-cmpct.el (rng-c-parse-file):
16082         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16083         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16085 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
16087         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16088         Remove extra save-excursions and make-variable-buffer-local's.
16089         Suggested by Stefan Monnier.
16091         (verilog-getopt-file, verilog-module-inside-filename-p)
16092         (verilog-set-define): Merge GNU 1.35 and repair changes from
16093         switching to using with-current-buffer.
16095         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16096         being treated as a number and confusing AUTORESET.
16097         Reported by Dan Dever.
16099         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16100         Add verilog-auto-ignore-concat to fix backward compatibility with
16101         older verilog-modes.  Reported by Dan Katz.
16103         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16104         containing closing anchors "...$".
16106         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16107         Reported by Wade Smith.
16109         (verilog-batch-execute-func): Comment on function usage.
16111 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
16113         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16114         for labels.
16116         (verilog-label-re, verilog-calc-1): Support proper indent of named
16117         asserts.
16119         (verilog-backward-token, verilog-basic-complete-re)
16120         (verilog-beg-of-statement, verilog-indent-re): Support proper
16121         indent of the assert statement at the beginning of a block of text.
16123         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16124         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16125         tokens as begins.
16127 2009-11-05  Glenn Morris  <rgm@gnu.org>
16129         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16130         Emacs 19.  (Bug#1531)
16131         (byte-compile-fix-header): Update for the above change.
16132         Drop test for epoch::version.
16134         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
16135         * cus-dep.el (custom-make-dependencies):
16136         * finder.el (finder-compile-keywords):
16137         Use autoload-rubric's feature argument.
16139         * calendar/diary-lib.el (top-level): Make load behave more like require.
16141         * vc-git.el (vc-git-stash-map): Move definition before use.
16143 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
16145         * custom.el (custom-declare-group): Purecopy standard-value.
16146         (custom-declare-group): Purecopy custom-prefix.
16148         * international/mule.el (load-with-code-conversion):
16149         Call do-after-load-evaluation unconditionally.
16151         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
16153 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16155         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
16157 2009-11-04  Glenn Morris  <rgm@gnu.org>
16159         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
16160         (byte-compile-compatibility): Remove option.
16161         (byte-compile-close-variables, byte-compile-fix-header)
16162         (byte-compile-insert-header, byte-compile-output-docform)
16163         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
16164         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
16165         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
16166         (byte-compile-insert, byte-compile-defun):
16167         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
16168         (byte-defop-compiler19): Remove.
16169         Without byte-compile-compatibility, the 'emacs19-opcode property is not
16170         used by anything.  Replace all calls with byte-defop-compiler.
16172 2009-11-04  Juri Linkov  <juri@jurta.org>
16174         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
16175         (menu-bar-options-menu): Don't quote the `prop' arg of
16176         `menu-bar-make-mm-toggle'.
16178 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
16180         * calendar/calendar.el (cal-loaddefs):
16181         * calendar/diary-lib.el (diary-loaddefs):
16182         * calendar/holidays.el (hol-loaddefs):
16183         * eshell/esh-module.el (esh-groups): Load rather than require.
16185 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16187         * calendar/todo-mode.el (todo-add-category): Don't hardcode
16188         point-min==1.
16189         (todo-top-priorities): Only display-buffer when called interactively.
16190         (todo-item-start): Don't save excursion point.
16191         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
16192         (todo-insert-item-here, todo-file-item, todo-remove-item):
16193         Adjust uses of todo-item-start and todo-item-end.
16195         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
16196         (autoload-rubric): Don't use any more.
16198         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
16199         and only put a prop if it is non-nil.
16201 2009-11-03  Juri Linkov  <juri@jurta.org>
16203         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
16204         (menu-bar-options-menu): Fix list quoting (Bug#4429).
16206         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
16207         and "Menu" to make top-level menu item visually one unit (like
16208         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
16209         multi-word menu items).  Fix :help string for quit-window.
16211 2009-11-03  Glenn Morris  <rgm@gnu.org>
16213         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
16214         (byte-compile-file-form-define-abbrev-table)
16215         (byte-compile-file-form-custom-declare-variable)
16216         (byte-compile-variable-ref, byte-compile-defvar):
16217         Whether or not a warning is enabled should only affect whether we issue
16218         the warning, not whether or not we collect the relevant data.
16219         Eg warnings can be turned on and off throughout the course of a file.
16221         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
16222         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
16224 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16226         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
16227         * play/mpuz.el (mpuz-create-buffer):
16228         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
16229         (lm-print-y,s,noise, lm-print-w0, lm-init):
16230         * play/gomoku.el (gomoku-prompt-for-move):
16231         * play/fortune.el (fortune-in-buffer):
16232         * play/dissociate.el (dissociated-press):
16233         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
16234         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
16235         * mail/supercite.el (sc-eref-show):
16236         * mail/smtpmail.el (smtpmail-send-it):
16237         * mail/rmailsum.el (rmail-summary-next-labeled-message)
16238         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
16239         (rmail-summary-undelete-many, rmail-summary-rmail-update)
16240         (rmail-summary-goto-msg, rmail-summary-expunge)
16241         (rmail-summary-get-new-mail, rmail-summary-search-backward)
16242         (rmail-summary-add-label, rmail-summary-output-menu)
16243         (rmail-summary-output-body):
16244         * mail/rfc822.el (rfc822-addresses):
16245         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
16246         * mail/mailpost.el (post-mail-send-it):
16247         * mail/hashcash.el (hashcash-generate-payment):
16248         * mail/feedmail.el (feedmail-run-the-queue)
16249         (feedmail-queue-send-edit-prompt-help-first)
16250         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
16251         (feedmail-deduce-address-list):
16252         * eshell/esh-ext.el (eshell-remote-command):
16253         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
16254         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
16255         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
16256         (viper-save-string-in-file, viper-valid-marker):
16257         * emulation/viper-keym.el (viper-toggle-key):
16258         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
16259         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
16260         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
16261         * emulation/viper-cmd.el (viper-exec-form-in-vi)
16262         (viper-exec-form-in-emacs, viper-brac-function):
16263         * emulation/viper.el (viper-delocalize-var):
16264         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
16265         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
16266         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
16267         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
16268         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
16269         * emulation/edt.el (edt-electric-helpify):
16270         * emulation/cua-rect.el (cua--rectangle-aux-replace):
16271         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
16272         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
16273         (cua-indent-to-global-mark-column):
16274         * calendar/diary-lib.el (calendar-mark-1):
16275         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
16276         Use with-current-buffer.
16277         * emulation/viper.el (viper-delocalize-var): Use dolist.
16279 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
16281         * comint.el (comint-replace-by-expanded-history-before-point):
16282         Replace !! with the previous input string literally (Bug#1795).
16284 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
16286         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
16287         to be made up of whitespace.
16289 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
16291         * minibuffer.el (read-file-name): Don't use file dialogs for
16292         remote directories (Bug#99).
16294 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
16296         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
16298 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16300         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
16301         instead of deleting the window or frame.
16303 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16305         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
16306         Support face colors.
16308         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
16309         New function.  Support face colors (Bug#1168).
16310         (tex-common-initialization): Use it.
16312         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
16313         mode allows it (Bug#1168).
16315 2009-10-31  Juri Linkov  <juri@jurta.org>
16317         * facemenu.el (list-colors-display): Don't mark buffer as
16318         modified (Bug#3948).
16320 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
16322         * international/mule-diag.el (list-character-sets-1):
16323         Minor message fix (Bug#3526).
16325         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
16326         Fix face property (Bug#4834).
16327         (etags-list-tags, etags-tags-apropos-additional)
16328         (etags-tags-apropos, tags-select-tags-table): Add follow-link
16329         property.
16331         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
16332         items.
16334 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16336         * textmodes/two-column.el (2C-split):
16337         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
16338         * textmodes/tex-mode.el (tex-set-buffer-directory):
16339         * textmodes/spell.el (spell-region, spell-string):
16340         * textmodes/reftex.el (reftex-erase-buffer):
16341         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
16342         * textmodes/reftex-toc.el (reftex-toc-promote-action):
16343         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
16344         (reftex-select-item):
16345         * textmodes/reftex-ref.el (reftex-label-info-update)
16346         (reftex-offer-label-menu):
16347         * textmodes/reftex-index.el (reftex-index-change-entry)
16348         (reftex-index-phrases-info):
16349         * textmodes/reftex-global.el (reftex-create-tags-file)
16350         (reftex-save-all-document-buffers, reftex-ensure-write-access):
16351         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
16352         (reftex-view-crossref-from-bibtex):
16353         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
16354         (reftex-extract-bib-entries-from-thebibliography)
16355         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
16356         * textmodes/refbib.el (r2b-capitalize-title):
16357         (r2b-convert-buffer, r2b-help):
16358         * textmodes/page-ext.el (pages-directory)
16359         (pages-directory-goto-with-mouse):
16360         * textmodes/bibtex.el (bibtex-validate-globally):
16361         * textmodes/bib-mode.el (bib-capitalize-title):
16362         * textmodes/artist.el (artist-clear-buffer, artist-system):
16363         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
16364         (local-set-scheme-interaction-buffer, xscheme-process-filter)
16365         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
16366         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
16367         (xscheme-send-control-g-interrupt, xscheme-start-process)
16368         (xscheme-process-sentinel, xscheme-cd):
16369         * progmodes/verilog-mode.el (verilog-read-always-signals)
16370         (verilog-set-define, verilog-getopt-file)
16371         (verilog-module-inside-filename-p):
16372         * progmodes/sh-script.el:
16373         * progmodes/python.el (python-pdbtrack-get-source-buffer)
16374         (python-pdbtrack-grub-for-buffer, python-execute-file):
16375         * progmodes/octave-inf.el (inferior-octave):
16376         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
16377         (idlwave-shell-compile-helper-routines, idlwave-set-local)
16378         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
16379         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
16380         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
16381         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
16382         (idlwave-shell-filter, idlwave-shell-examine-highlight)
16383         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
16384         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
16385         (idlwave-shell-examine-display, idlwave-shell-run-region)
16386         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
16387         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
16388         * progmodes/idlw-help.el (idlwave-help-get-special-help)
16389         (idlwave-help-get-help-buffer):
16390         * progmodes/gud.el (gud-basic-call, gud-find-class)
16391         (gud-tooltip-activate-mouse-motions-if-enabled):
16392         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
16393         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
16394         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
16395         (ebrowse-tags-next-file):
16396         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
16397         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
16398         (ebnf-eps-finish-and-write):
16399         * progmodes/cpp.el (cpp-edit-save):
16400         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
16401         * progmodes/cc-defs.el (c-emacs-features):
16402         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
16403         (antlr-directory-dependencies):
16404         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
16405         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
16406         (ada-find-any-references, ada-make-filename-from-adaname)
16407         (ada-make-body-gnatstub):
16408         * obsolete/rnews.el (news-list-news-groups):
16409         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
16410         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
16411         * net/rcirc.el (rcirc-debug):
16412         * net/newst-treeview.el (newsticker--treeview-list-add-item)
16413         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
16414         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
16415         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
16416         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
16417         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
16418         (newsticker--treeview-list-clear-highlight)
16419         (newsticker--treeview-list-update-highlight)
16420         (newsticker--treeview-list-highlight-start)
16421         (newsticker--treeview-tree-update-highlight)
16422         (newsticker--treeview-get-selected-item)
16423         (newsticker-treeview-mark-list-items-old)
16424         (newsticker--treeview-set-current-node):
16425         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
16426         * net/newst-backend.el (newsticker--get-news-by-funcall)
16427         (newsticker--get-news-by-wget, newsticker--image-get)
16428         (newsticker--image-sentinel):
16429         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
16430         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
16431         (eudc-ph-close-session):
16432         * net/eudc.el (eudc-save-options):
16433         * language/thai-word.el (thai-update-word-table):
16434         * language/japan-util.el (japanese-string-conversion):
16435         * international/titdic-cnv.el (tsang-quick-converter)
16436         (ziranma-converter, ctlau-converter):
16437         * international/mule-cmds.el (describe-language-environment):
16438         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
16439         (skkdic-convert-postfix, skkdic-convert-prefix):
16440         (skkdic-convert-okuri-nasi, skkdic-convert):
16441         * emacs-lisp/re-builder.el (reb-update-overlays):
16442         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
16443         * emacs-lisp/gulp.el (gulp-send-requests):
16444         * emacs-lisp/find-gc.el (trace-call-tree):
16445         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
16446         (eieio-describe-generic):
16447         * emacs-lisp/eieio-base.el (eieio-persistent-read):
16448         * emacs-lisp/edebug.el (edebug-outside-excursion):
16449         * emacs-lisp/debug.el (debugger-make-xrefs):
16450         * emacs-lisp/cust-print.el (custom-prin1-to-string):
16451         * emacs-lisp/chart.el (chart-new-buffer):
16452         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
16453         Use with-current-buffer.
16454         * textmodes/artist.el (artist-system): Don't call
16455         copy-sequence on a fresh string.
16456         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
16458 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
16460         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
16461         is no item to edit.  (Bug#4820)
16462         (todo-top-priorities): Restore point and restore narrowing in Todo
16463         buffer.  (Bug#4820)
16465 2009-10-31  Glenn Morris  <rgm@gnu.org>
16467         * net/ange-ftp.el (top-level): Don't require dired when compiling.
16468         (comint-last-output-start, comint-last-input-start)
16469         (comint-last-input-end): Don't defvar when compiling.
16470         (ange-ftp-process-file): Use bound-and-true-p.
16472         * pcmpl-rpm.el (top-level): Move provide statement to end.
16473         (pcmpl-rpm): Remove unused custom group.
16475         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
16477         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
16479         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
16480         (byte-compile-warnings): Add `constants' as an option.
16481         (byte-compile-callargs-warn, byte-compile-arglist-warn)
16482         (display-call-tree): Update for byte-compile-fdefinition possibly
16483         returning `(macro lambda ...)'.  (Bug#4778)
16484         (byte-compile-variable-ref, byte-compile-setq-default):
16485         Respect `constants' member of byte-compile-warnings.
16487 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16489         * vc-bzr.el (vc-bzr-revision-keywords): New var.
16490         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
16491         to "submit:".
16493 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
16495         * textmodes/ispell.el (ispell-skip-region-alist):
16496         * international/mule-conf.el (eight-bit):
16497         * international/fontset.el (font-encoding-alist):
16498         * startup.el (pure-space-overflow-message):
16499         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
16500         * paths.el (gnus-nntp-service, rmail-spool-directory)
16501         (term-file-prefix):
16502         * files.el (save-some-buffers-action-alist):
16503         * cmuscheme.el (same-window-buffer-names):
16504         * ielm.el (same-window-buffer-names):
16505         * shell.el (same-window-buffer-names):
16506         * mail/sendmail.el (same-window-buffer-names):
16507         * progmodes/inf-lisp.el (same-window-buffer-names):
16508         * bindings.el (mode-line-client)
16509         (mode-line-column-line-number-mode-map):
16510         * language/tibetan.el (tibetan-precomposition-rule-regexp)
16511         (tibetan-precomposed-regexp): Purecopy string arguments.
16513 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16515         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
16516         (calcDigit-nondigit):
16517         * calc/calc-yank.el (calc-copy-to-buffer):
16518         * calc/calc-units.el (calc-invalidate-units-table):
16519         * calc/calc-trail.el (calc-trail-yank):
16520         * calc/calc-store.el (calc-insert-variables):
16521         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
16522         * calc/calc-prog.el (calc-read-parse-table):
16523         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
16524         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
16525         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
16526         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
16527         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
16528         (calc-graph-name, calc-graph-find-command, calc-graph-view)
16529         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
16530         * calc/calc-ext.el (calc-realign):
16531         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
16532         (calc-embedded-finish-edit, calc-embedded-make-info)
16533         (calc-embedded-finish-command, calc-embedded-stack-change):
16534         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
16536         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
16537         shell-dynamic-complete-filename in preference to
16538         comint-dynamic-complete-filename.
16540         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
16541         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
16542         Don't consider whether the display supports colors.
16543         (bookmark-import-new-list): Use dolist.
16544         (bookmark-bmenu-mode-map): Move initialization into declaration.
16545         (bookmark-bmenu-list): Use dolist, simplify.
16546         (bookmark-show-all-annotations): Use save-selected-window and dolist.
16547         (menu-bar-final-items): Use push.
16549 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
16551         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
16552         it works on remote files.
16553         (vc-hg-diff): Don't pass any `--cwd' argument.
16555 2009-10-27  Kevin Ryde  <user42@zip.com.au>
16557         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16558         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
16559         (Further to Bug#3921).
16561 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
16563         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
16564         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
16565         calling `tramp-imap-put-file'.  Add file size to the call.
16566         (tramp-imap-get-file-entries): Compute also user name, file size,
16567         and date.
16568         (tramp-imap-handle-insert-directory): Insert uid and gid.
16569         (tramp-imap-handle-file-attributes): Transform uid and gid
16570         according to `id-format'.
16571         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
16572         size in header X-Size.
16574 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
16576         * simple.el (transpose-subr): Give clearer error when the mark
16577         is not set.  (Bug#4807)
16579 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
16581         * net/tramp.el (tramp-perl-file-truename): New defconst.
16582         Perl code contributed by yary <not.com@gmail.com> (tiny change).
16583         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
16584         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
16585         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
16587         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
16588         Ignore `dired-call-process'.
16589         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
16591 2009-10-26  Julian Scheid  <julians37@gmail.com>
16593         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
16594         (tramp-get-remote-readlink): New defun.
16595         (tramp-handle-file-truename): Use it.
16596         (tramp-handle-file-exists-p): Check file-attributes cache, assume
16597         file exists if cache value present.
16598         (tramp-check-cached-permissions): New defun.
16599         (tramp-handle-file-readable-p): Use it.
16600         (tramp-handle-file-writable-p): Likewise.
16601         (tramp-handle-file-executable-p): Likewise.
16602         (tramp-handle-file-name-all-completions): Try using Perl to get
16603         partial completions.  When perl not available, combine `cd' and
16604         `ls' into single remote operation and use shell expansion to get
16605         partial remote directory contents.  Set `file-exists-p' cache for
16606         directory and any files returned by ls.  Change cache handling to
16607         support partial directory contents.  Use error message emitted by
16608         remote `cd' or Perl code for local tramp-error.
16609         (tramp-do-copy-or-rename-file-directly): Avoid separate
16610         tramp-send-command-and-check call.
16611         (tramp-handle-process-file): Merge three remote ops into one.
16612         Do not flush all caches when `process-file-side-effects' is set.
16613         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
16614         file-attributes shows uid/gid to be set already.
16616 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
16618         * textmodes/tex-mode.el (tex-dvi-view-command)
16619         (tex-show-queue-command, tex-open-quote):
16620         * progmodes/ruby-mode.el (auto-mode-alist)
16621         (interpreter-mode-alist): Purecopy strings.
16623         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
16625         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
16626         string for the hook, keymap and abbrev table.
16628         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
16630         * x-dnd.el (x-dnd-xdnd-to-action):
16631         * startup.el (fancy-startup-text, fancy-about-text): Change to
16632         defconst from defvar.
16634         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
16636         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
16637         Purecopy initialization strings.
16639         * mail/sendmail.el (mail-header-separator)
16640         (mail-personal-alias-file):
16641         * mail/rmail.el (rmail-default-dont-reply-to-names)
16642         (rmail-ignored-headers, rmail-retry-ignored-headers)
16643         (rmail-highlighted-headers, rmail-secondary-file-directory)
16644         (rmail-secondary-file-regexp):
16645         * files.el (null-device, file-name-invalid-regexp)
16646         (locate-dominating-stop-dir-regexp)
16647         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
16648         (interpreter-mode-alist): Use mapcar instead of mapc.
16650         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
16652         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
16653         (completion-ignored-extensions):
16654         (debug-ignored-errors): Purecopy strings.
16656 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16658         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
16659         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
16660         (pcomplete--here): Use push.
16662         * subr.el (all-completions): Declare the 4th arg obsolete.
16664 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16666         * pcomplete.el (pcomplete-unquote-argument-function): New var.
16667         (pcomplete-unquote-argument): New function.
16668         (pcomplete--common-suffix): Always pay attention to case.
16669         (pcomplete--table-subvert): Quote and unquote the text.
16670         (pcomplete--common-quoted-suffix): New function.
16671         (pcomplete-std-complete): Use it and pcomplete-begin.
16673         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
16674         we're inside a dedicated or minibuffer window.
16676 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
16678         * bookmark.el: Update documentation, especially documentation
16679         of `bookmark-alist' and of the bookmark file format.
16680         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
16682 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
16684         * mail/emacsbug.el (report-emacs-bug): Clarify that the
16685         keybindings apply to the mail buffer (Bug#4003).  Shrink help
16686         window to buffer.
16688         * whitespace.el (whitespace-mode, whitespace-newline-mode)
16689         (global-whitespace-mode, global-whitespace-newline-mode)
16690         (whitespace-toggle-options, global-whitespace-toggle-options):
16691         Doc fix (Bug#3660).
16693         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
16694         of xmltok-start before the end tag was inserted (Bug#2840).
16696         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
16697         patterns that are preceded by an open-paren (Bug#1320).
16699 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
16701         * files.el (delete-directory): Delete symlinks to directories with
16702         delete-file (Bug#4739).
16704 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
16706         * vc.el (vc-backend-for-registration): Rename from
16707         vc-get-backend-for-registration.  Update callers.
16709         * international/mule-cmds.el (set-language-info-alist):
16710         Purecopy lang-env.
16711         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
16712         (charset): Purecopy the name.
16713         (define-char-code-property): Purecopy string arguments.
16715         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16716         Purecopy string arguments.
16718         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16719         * ediff-hook.el (menu-bar-ediff-menu):
16720         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
16721         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
16723 2009-10-24  Glenn Morris  <rgm@gnu.org>
16725         * comint.el (comint-dynamic-list-completions):
16726         * term.el (term-dynamic-list-completions): Use choose-completion rather
16727         than obsolete alias mouse-choose-completion.
16729         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
16730         file-cache-choose-completion.
16731         (file-cache-choose-completion): Handle an optional event argument.
16732         (file-cache-mouse-choose-completion): Make it an obsolete alias.
16734         * progmodes/octave-mod.el (octave-complete-symbol):
16735         Use choose-completion if mouse-choose-completion is ever removed.
16737         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
16738         use.
16740         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
16741         compiler.
16743         * vc-hooks.el (vc-responsible-backend): Fix declaration.
16745 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16747         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
16748         Ignore `pred' now that we receive one.
16749         Handle test-completion specially.
16751 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16753         * vc.el (vc-responsible-backend): Throw an error if not backend is
16754         found.  Remove the REGISTER argument.  Move the code dealing with
16755         REGISTER ...
16756         (vc-get-backend-for-registration): ... here.  New function.
16757         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
16758         of vc-responsible-backend, pass the file name instead of the
16759         directory name.
16761 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16763         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
16764         New funs.
16765         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
16766         (pcomplete-comint-setup): Don't modify a global var via
16767         accidental side-effects.
16768         (pcomplete-shell-setup): Adjust call accordingly.
16769         (pcomplete-parse-comint-arguments): Use push.
16771 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
16773         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
16774         Allow uncapitalized info node names (Bug#3921).
16776         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
16777         to the DEBUG file (Bug#3781).
16779 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
16781         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
16782         dictionary entry (Bug#4579).
16784 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
16786         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16787         from `rfn-eshadow-update-overlay-hook' when unloading.
16788         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16789         "rsyncc".  Adjust doc string.
16790         (tramp-temp-buffer-file-name): New buffer-local defvar.
16791         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16792         Keep temporary file when indicated by method ("rsync" and
16793         "rsyncc").
16794         (tramp-handle-write-region): Handle APPEND.
16795         (tramp-delete-temp-file-function): New defun.  Added to
16796         `kill-buffer-hook'.
16798 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16800         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16802 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16804         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16805         (color-name-rgb-alist, tty-standard-colors)
16806         (tty-color-mode-alist): Change to defconst.
16808         * simple.el (mark-inactive): Purecopy message.
16810         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16811         (global-map, yank-menu):
16812         * textmodes/ispell.el (ispell-menu-map):
16813         * net/eudc.el (eudc-tools-menu):
16814         * international/mule-cmds.el (describe-language-environment-map)
16815         (setup-language-environment-map, set-coding-system-map)
16816         (mule-menu-keymap):
16817         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16818         * replace.el (occur-mode-map):
16819         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16821 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16823         * calc/calc.el (math-read-number, math-read-number-simple):
16824         Use `save-match-data'.
16826 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16828         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16829         rather than fiddling with global-map bindings, since it should only
16830         affect per-terminal settings.
16831         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16833         * minibuffer.el (completion-table-with-terminator): Allow to specify
16834         the terminator-regexp.
16836         * simple.el (switch-to-completions): Look for *Completions* in other
16837         frames as well.
16839         * pcomplete.el: Allow the use of completion-tables.
16840         (pcomplete-std-complete): New command.
16841         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16842         (pcomplete--here): Use a function for `form' rather than an expression,
16843         so it can be byte-compiled.
16844         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16845         Add edebug declaration.
16846         (pcomplete-show-completions): Remove unused var `curbuf'.
16847         (pcomplete-do-complete, pcomplete-stub):
16848         Don't assume `completions' is a list of strings any more.
16850 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16852         * find-dired.el (find-name-arg): Fix typo in docstring.
16854 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16856         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16857         (pcmpl-linux-fs-types): Same, and update to new modules layout.
16859         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16860         pcomplete-entries.
16862         * comint.el (comint-read-input-ring, comint-write-input-ring)
16863         (comint-substitute-in-file-name)
16864         (comint-dynamic-complete-as-filename)
16865         (comint-dynamic-simple-complete)
16866         (comint-dynamic-list-filename-completions)
16867         (comint-dynamic-list-completions)
16868         (comint-redirect-results-list-from-process): Minor simplifications.
16870 2009-10-21  Kevin Ryde  <user42@zip.com.au>
16872         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16873         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16874         the first form.  And insert a blank line after ";;; Code" since
16875         that's usual style.  (Bug#4612)
16877         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16879 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16881         * minibuffer.el (completion-table-with-terminator): Properly implement
16882         boundaries, in case `terminator' appears in the suffix.
16883         (completion--embedded-envvar-table): Don't return boundaries if
16884         there's no valid completion.  Simplify.
16885         (completion-file-name-table): New completion table extracted from
16886         completion--file-name-table.
16887         (completion--file-name-table): Use it.
16888         (read-file-name-predicate): Declare obsolete.
16889         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16890         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16891         completion-file-name-table, and use the `pred' argument.
16892         * files.el (locate-file-completion-table): Use the `pred' arg rather
16893         than read-file-name-predicate.
16894         (abbreviate-file-name): Use \` rather than ^ for BOS.
16896 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
16898         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16899         vc-responsible-backend to register, it causes problems.
16901 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16903         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16905 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
16907         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16908         (tramp-smb-handle-file-attributes): Use it.
16909         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16910         (tramp-smb-handle-insert-directory): Use `mapc' rather than
16911         `mapcar'.  Use `tramp-smb-get-stat-capability'.
16912         Add `dired-filename' text properties.
16913         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16914         (tramp-smb-maybe-open-connection): Simplify check for smbclient
16915         version.
16917 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16919         * subr.el (read-key-delay): Reduce to 0.01.
16920         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16921         (bug#4751).
16923 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16925         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16927         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16928         (Info-menu): Remove unused vars `last' and `completions'.
16929         (Info-index-nodes): Remove unused var `node'.
16931         * info.el (Info-complete-menu-item): Use complete-with-action.
16933 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16935         Make vc-annotate work through copies and renames.
16936         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16937         Return the file name too.
16938         (vc-annotate-revision-at-line)
16939         (vc-annotate-find-revision-at-line)
16940         (vc-annotate-revision-previous-to-line)
16941         (vc-annotate-show-log-revision-at-line): Update to get the file
16942         name from vc-annotate-extract-revision-at-line.
16943         (vc-annotate-show-diff-revision-at-line-internal): Change the
16944         argument to mean whether to show a file diff or not.  Get the file
16945         name from vc-annotate-extract-revision-at-line.
16946         (vc-annotate-show-diff-revision-at-line):
16947         Update vc-annotate-show-diff-revision-at-line call.
16948         (vc-annotate-warp-revision): Add an optional file argument.
16950         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16951         (vc-git-annotate-extract-revision-at-line): Also return the file
16952         name if found.
16954         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16955         command.  Remove unused code.
16956         (vc-hg-annotate-re): Update to match --follow output.
16957         (vc-hg-annotate-extract-revision-at-line): Also return the file
16958         name if found.
16960         * vc.el: Update annotate-extract-revision-at-line documentation.
16962 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16964         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16965         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16967         * net/browse-url.el (browse-url): Identify alist with "consp and
16968         not functionp" and let all other things go down the `apply' leg,
16969         as suggested by Stefan.  (Further to bug#4531.)
16971 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16973         * minibuffer.el (read-file-name): Check for repeat before putting
16974         a default argument in file-name-history (Bug#4657).
16976         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16977         read syntax (Bug#4737).
16979         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16981 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16983         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16984         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16985         entries and make note of obsolete tags.
16987 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16989         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16991 2009-10-18  Glenn Morris  <rgm@gnu.org>
16993         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16994         grep, so that binary files (eg international/uni-bidi.el) can match.
16995         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16996         now, and in any case the file header format has changed.
16998 2009-10-17  Glenn Morris  <rgm@gnu.org>
17000         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17001         (flyspell-get-word, flyspell-large-region)
17002         (flyspell-auto-correct-previous-word): Doc/error message fixes.
17004 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
17006         * Makefile.in (ELCFILES): Add ede/shell.
17008 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
17010         * term/common-win.el (x-colors): Purecopy it.
17012 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17014         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17015         permissive for when the buffer is empty.
17016         (tar-header-block-tokenize): Decode the username and groupname.
17017         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17019 2009-10-17  Eric Ludlam  <zappo@gnu.org>
17021         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17022         contains multibyte characters, choose first applicable coding
17023         system automatically.
17025 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17027         * international/mule-cmds.el (select-safe-coding-system): If the file
17028         has a coding cookie, use it regardless of any other setting (bug#4712).
17030 2009-10-17  Glenn Morris  <rgm@gnu.org>
17032         * foldout.el (foldout-mouse-swallow-events):
17033         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17035         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17036         (dired-keep-marker-copy, dired-keep-marker-hardlink)
17037         (dired-keep-marker-symlink, dired-dwim-target)
17038         (dired-copy-preserve-time): Do not autoload these defcustoms.
17040         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17041         messages from messing up the file coding.  (Bug#4623)
17043 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
17045         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17046         if no match is found for the current dictionary.  (Bug#4578)
17048         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17049         optional, since that is how it is documented, and this is often called
17050         with a nil argument.  (Bug#4577)
17051         (flyspell-external-point-words, flyspell-auto-correct-word)
17052         (flyspell-correct-word-before-point, flyspell-word-search-forward)
17053         (flyspell-word-search-backward): Remove nil argument in calls to
17054         flyspell-get-word, since it is not needed now.
17056 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
17058         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
17060 2009-10-16  Glenn Morris  <rgm@gnu.org>
17062         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17064 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
17066         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17067         (ange-ftp-file-size): New function.
17068         (ange-ftp-file-attributes): Use it.
17070 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
17072         * net/tramp-smb.el (tramp-smb-version): New defvar.
17073         (tramp-smb-maybe-open-connection): Use it, in order to avoid
17074         repeated checks.
17076 2009-10-16  Glenn Morris  <rgm@gnu.org>
17078         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17079         Maybe copy some custom properties from old to new name.  (Bug#4706)
17081 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
17083         * subr.el (error, sit-for, start-process-shell-command)
17084         (start-file-process-shell-command): Set the calling convention
17085         after the function definition.
17087 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17089         * subr.el (error, sit-for, start-process-shell-command)
17090         (start-file-process-shell-command): Use the new
17091         set-advertised-calling-convention feature.
17093 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
17095         * international/ucs-normalize.el (ucs-normalize-version):
17096         Change to 1.2.
17097         (check-range): Adjust for Unicode 5.2.
17099 2009-10-15  Juri Linkov  <juri@jurta.org>
17101         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17102         to the `menu-item' format.
17104 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
17106         * net/tramp.el (tramp-replace-environment-variables): Do not fail
17107         if the environment variable does not exist.
17109         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17110         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17111         parameter.
17112         (tramp-smb-handle-add-name-to-file)
17113         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17114         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17115         (tramp-smb-handle-file-attributes)
17116         (tramp-smb-do-file-attributes-with-stat)
17117         (tramp-smb-handle-file-local-copy)
17118         (tramp-smb-handle-insert-directory)
17119         (tramp-smb-handle-make-directory)
17120         (tramp-smb-handle-make-directory-internal)
17121         (tramp-smb-handle-make-symbolic-link)
17122         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17123         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17124         (tramp-smb-maybe-open-connection): Apply the changed parameters.
17125         (tramp-smb-read-file-entry): Read Disk names in compressed format.
17126         Handle long file names.
17127         (tramp-smb-get-cifs-capabilities): Check, whether the connection
17128         process is running.
17129         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17130         Read share names with "-g" option.
17132 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
17134         * net/rcirc.el (rcirc-view-log-file): New command.
17135         (rcirc-track-minor-mode-map): Remove C-c ` binding.
17136         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
17137         specified.
17139 2009-10-15  Glenn Morris  <rgm@gnu.org>
17141         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
17142         from the second command-line argument.
17143         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
17144         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
17145         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
17146         w32-batch-update-autoloads.
17147         * emacs-lisp/autoload.el (autoload-make-program): New variable.
17148         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
17150         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
17151         the headers cannot be located.  Simplify, subtracting superflous
17152         save-excursions.
17154 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17156         Replace completion-base-size by completion-base-position to fix bugs
17157         such as (bug#4699).
17158         * simple.el (completion-base-position): New var.
17159         (completion-base-size): Mark as obsolete.
17160         (choose-completion): Make it work for mouse events as well.
17161         Pass the new base-position to choose-completion-string.
17162         (choose-completion-guess-base-position): New function, extracted from
17163         choose-completion-delete-max-match.
17164         (choose-completion-delete-max-match): Use it.  Make obsolete.
17165         (choose-completion-string): Use the new base-position info.
17166         (completion-root-regexp): Delete.
17167         (completion-setup-function): Preserve completion-base-position.
17168         Eliminate obsolete base-size manipulation.
17169         * minibuffer.el (display-completion-list): Don't mess with base-size.
17170         (minibuffer-completion-help): Set completion-base-position instead.
17171         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
17172         choose-completion.
17173         * textmodes/bibtex.el (bibtex-complete):
17174         * emacs-lisp/crm.el (crm--choose-completion-string):
17175         Adjust to new calling convention.
17176         * complete.el (partial-completion-mode): Use minibufferp to avoid
17177         bumping into incompatible change to choose-completion-string-functions.
17178         * ido.el (ido-choose-completion-string): Make its calling convention
17179         more permissive.
17180         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
17181         base-size manipulation.
17182         (comint-dynamic-list-input-ring): Use dotimes and push.
17183         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
17184         fundamental-mode.  Use `or'.
17186 2009-10-14  Juri Linkov  <juri@jurta.org>
17188         * misearch.el (multi-isearch-next-buffer-from-list)
17189         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
17191 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17193         * Makefile.in (compile-onefile): Load `bytecomp' rather than
17194         `bytecomp.el'.
17196         * minibuffer.el (completion-pcm--merge-completions): Make sure the
17197         string we return is all made up of text from the completions rather
17198         than part from the completions and part from the input (bug#4219).
17200         * ido.el (ido-everywhere): Use define-minor-mode.
17202         * buff-menu.el (list-buffers, ctl-x-map):
17203         Mark the entry points with ;;;###autoload cookies.
17205 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
17207         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
17208         correctly in the detached head case.
17209         (vc-git-print-log): Remove unused binding.
17211         * vc.el (vc-responsible-backend): When a directory is passed for
17212         for registration create a VC repository if no backend is
17213         responsible for the directory argument.
17214         (vc-deduce-fileset): Tell vc-responsible-backend to register.
17216         * vc.el: Move comments about RCS and SCCS ...
17217         * vc-rcs.el:
17218         * vc-sccs.el: ... here, respectively.
17220 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17222         * minibuffer.el (completion--file-name-table): Return nil if there's
17223         no file completion, even if substitute-in-file-name changed
17224         the string (bug#4708).
17226 2009-10-13  Juri Linkov  <juri@jurta.org>
17228         * files-x.el (read-file-local-variable-value): Don't filter out
17229         minor modes from mode name completion (bug#4664).
17231 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17233         * international/mule-cmds.el (ucs-names): Remove exclusion of
17234         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
17236 2009-10-13  Kenichi Handa  <handa@m17n.org>
17238         * international/uni-name.el: Regenerated.
17240 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
17242         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
17243         should be automatically buffer-local, but isn't.)
17245 2009-10-12  Sam Steingold  <sds@gnu.org>
17247         * progmodes/compile.el (compilation-next-error-function): Fix the
17248         timestamps if the buffer has been visited before.
17249         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
17250         non-anchored patterns, like the perl one (bug#3928).
17252 2009-10-12  Glenn Morris  <rgm@gnu.org>
17254         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
17255         Let-bind `size'.
17257 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
17259         * proced.el (proced-unload-function): New function.
17261         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
17262         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
17263         Doc fix.
17265         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
17267 2009-10-11  Juri Linkov  <juri@jurta.org>
17269         * files-x.el (read-file-local-variable-value):
17270         Provide default value only for bound variables (bug#4664).
17272 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
17274         * net/tramp.el (tramp-local-host-p): Function shall return nil for
17275         connection methods like smb.
17277         * net/tramp-cache.el (tramp-flush-connection-property): The hash
17278         can be empty.
17280         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17281         (tramp-smb-file-name-handler-alist): Add handlers for
17282         `add-name-to-file', `make-symbolic-link'.
17283         (tramp-smb-handle-add-name-to-file)
17284         (tramp-smb-do-file-attributes-with-stat)
17285         (tramp-smb-handle-make-symbolic-link)
17286         (tramp-smb-get-cifs-capabilities): New defuns.
17287         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17288         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17289         (tramp-smb-handle-file-local-copy)
17290         (tramp-smb-handle-make-directory-internal)
17291         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
17292         The file name syntax depends on cifs capabilities.
17293         (tramp-smb-handle-file-attributes):
17294         Call `tramp-smb-do-file-attributes-with-stat' if possible.
17295         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
17296         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
17298 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
17300         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
17301         (eieio-defclass): Apply deftype handler and setf-method properties
17302         directly.
17303         (eieio-add-new-slot): Avoid union function from cl library.
17304         (eieio--typep): New function.
17305         (eieio-perform-slot-validation): Use it.
17307 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17309         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
17310         Update documentation to refer to the variables documented in r1.135.
17311         (Bug#4188)
17313 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
17315         * bookmark.el (Info-suffix-list): Remove this unused variable.
17316         (bookmark-current-point): Remove this obsolete variable.
17317         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
17318         Adjust for removal of bookmark-current-point.
17320         (bookmarks-already-loaded, bookmark-current-buffer)
17321         (bookmark-yank-point): Document.  (Bug#4188)
17323 2009-10-10  Glenn Morris  <rgm@gnu.org>
17325         * frame.el (frame-height): Doc fix.
17327         * calendar/calendar.el (calendar-split-width-threshold): New option.
17328         (calendar-basic-setup): Use calendar-split-width-threshold.
17330 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
17332         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
17333         Ideographic Supplement" range (U+1F200..U+1F2FF).
17335 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17337         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
17338         since the list will have been rebuilt anyway.  (Bug#4349)
17340 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17342         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
17343         (bookmark-bmenu-execute-deletions): Don't save here, as
17344         bookmark-delete will now do so if necessary.
17345         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
17346         (Bug#4348)
17348 2009-10-09  Glenn Morris  <rgm@gnu.org>
17350         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
17352 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
17354         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
17355         (bookmark-jump-other-window): Just invoke bookmark-jump with new
17356         argument now, so the two function's behaviors will match.  (Bug#3645)
17358 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
17360         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
17361         (tramp-file-name-real-host, tramp-file-name-port):
17362         Apply `save-match-data'.
17364         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
17365         case both directories are remote.
17366         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
17367         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
17369 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17371         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
17373 2009-10-07  Glenn Morris  <rgm@gnu.org>
17375         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
17376         of concat.
17378 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17380         * files-x.el (read-file-local-variable): Include some
17381         non-user-variables in the completion table (bug#4664).
17383 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
17385         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
17386         message.
17388         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17389         (tramp-smb-file-name-handler-alist): Add handler for
17390         `copy-directory', `expand-file-name', `set-file-modes'.
17391         (tramp-smb-handle-copy-directory)
17392         (tramp-smb-handle-expand-file-name)
17393         (tramp-smb-handle-set-file-modes): New defuns.
17394         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
17395         (tramp-smb-handle-file-attributes): Simplify check for retrieving
17396         entry.
17397         (tramp-smb-handle-insert-directory): Don't flush the cache.
17398         (tramp-smb-maybe-open-connection): Check for samba client and
17399         server versions.
17401 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
17403         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
17404         to not error out of search for "^lisp=" fails.
17406 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
17408         * makefile.w32-in (WINS_UPDATES): New macro.
17409         (custom-deps, finder-data, autoloads): Use it.
17411 2009-10-07  Glenn Morris  <rgm@gnu.org>
17413         * Makefile.in (autoloads): Revert previous change.
17414         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
17415         the list of preloaded files passed on the command-line, get
17416         it from src/Makefile.
17418         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
17419         show the original buffer rather than a random one.
17421 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
17423         * help.el (describe-no-warranty): Place point in a slightly better
17424         position in the GPLv3 text.
17426 2009-10-06  Sam Steingold  <sds@gnu.org>
17428         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
17429         the comm attribute is present before calling regexp-quote.
17431 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
17433         * play/animate.el (animate-string): For good effect, make sure
17434         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
17436         * play/animate.el (animate-sequence, animate-birthday-present):
17437         * misc.el (butterfly): Don't set `indent-tabs-mode'.
17439 2009-10-06  Glenn Morris  <rgm@gnu.org>
17441         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
17443         * emacs-lisp/autoload.el (autoload-excludes): New variable.
17444         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
17445         (batch-update-autoloads): Process a string value of autoload-excludes,
17446         set during the build process.
17447         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
17449         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
17450         inside with-parsed...  macro so that `v' is defined.
17452         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
17453         * progmodes/fortran.el (fortran-end-of-block)
17454         (fortran-beginning-of-block):
17455         Also push mark in the macro case.
17457         * emerge.el (emerge-show-file-name):
17458         * calc/calc.el (calc-quit):
17459         * calc/calc-misc.el (calc-big-or-small):
17460         * calc/calc-graph.el (calc-graph-view):
17461         * calc/calc-ext.el (calc-reset):
17462         * calendar/calendar.el (calendar-basic-setup):
17463         Use window-full-height-p.
17465         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
17466         header we don't understand, don't insert another.  (Bug#4624)
17467         If changing mime charset, insert the new one in the right place.
17469 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
17471         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
17472         (cal-tex-cursor-month): Correctly increment the end date for diary and
17473         holiday listing.  (Bug#4626)
17475 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17477         * help-fns.el (describe-function-1): Don't burp if the function is not
17478         a symbol.
17480 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
17482         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
17483         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
17484         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
17485         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
17487         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
17488         (eieio-default-superclass): Reflow docstrings.
17489         (this, class-option-assoc, defclass, eieio-class-un-autoload)
17490         (eieio-unbind-method-implementations, defmethod)
17491         (eieio-validate-slot-value, eieio-validate-class-slot-value)
17492         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
17493         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
17494         (eieio-slot-originating-class-p, eieio-slot-name-index)
17495         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
17496         (constructor, initialize-instance, no-next-method, object-print)
17497         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
17498         Fix typos in docstrings.
17499         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
17500         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
17501         (next-method-p): Doc fixes.
17502         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
17503         Fix typos in error messages.
17504         (eieio-defmethod): Fix typo in description of generic method.
17506         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
17507         (eieio-persistent-save-interactive, slot-missing):
17508         Fix typos in docstrings.
17509         (eieio-instance-inheritor-slot-boundp): Doc fix.
17511         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
17512         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
17514         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
17515         (eieio-custom-object-apply-reset):
17516         Fix typos in docstrings and error messages.
17518         * emacs-lisp/eieio-datadebug.el (data-debug-show):
17519         Fix typo in docstring.
17521         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
17522         (eieio-browse-tree): Doc fix.
17523         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
17524         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
17525         Fix typos in docstrings.
17527         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
17528         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
17529         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
17530         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
17531         Reflow docstrings.
17533 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
17535         * vc-hg.el (log-view-vc-backend): Declare for compiler.
17536         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
17537         Set log-view-vc-backend so that diff can work.
17539         * log-view.el (log-view-diff): Use vc-diff-internal instead of
17540         vc-version-diff.
17541         (vc-diff-internal): Autoload this instead of vc-version-diff.
17543 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
17545         * simple.el (eval-expression): Doc fix.
17547         * progmodes/cwarn.el (cwarn-mode): Doc fix.
17549 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
17551         * files.el (directory-files-no-dot-files-regexp): New defconst.
17552         (delete-directory): Use it.
17553         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
17555         * net/tramp.el (tramp-verbose): Fix docstring.
17556         (tramp-methods): Add recursive option to `tramp-copy-args'.
17557         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
17558         "scp1_old", "scp2_old", "rsync", "rsyncc".
17559         (tramp-default-method): Check also for `auth-source-user-or-password'.
17560         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
17561         Add handler for `copy-directory'.
17562         (tramp-handle-copy-directory): New defun.
17563         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
17564         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
17565         Optimize sent command.
17567 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17569         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
17570         window if necessary.
17572         * calendar/calendar.el (calendar-basic-setup): Don't call
17573         switch-to-buffer in a dedicated window.
17575 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
17577         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
17578         don't do anything related to relocating, just return nil.
17579         (bookmark-error-no-filename): New error.
17580         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
17581         bookmark has no file.  Don't even attempt to handle things that
17582         are not files; the whole point of custom handlers is to keep that
17583         knowledge elsewhere anyway.  Tighten some comments.
17584         (bookmark-file-or-variation-thereof): Remove now-unused function.
17585         (bookmark-location): Doc string fix.
17586         (Bug#4250)
17588 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17590         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
17591         don't use a file dialog, because they usually don't know how to read
17592         a directory target from the user.  (Bug#4230)
17593         Also, make sure the prompt can display directories as well as files.
17595 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17597         * bookmark.el (bookmark-set, bookmark-buffer-name):
17598         Improve doc strings.  (Bug#1193)
17600 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17602         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
17603         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
17604         (bookmark-get-annotation, bookmark-set-annotation)
17605         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
17606         (bookmark-set-position, bookmark-get-front-context-string)
17607         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
17608         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
17609         (bookmark-jump-other-window, bookmark-handle-bookmark)
17610         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
17611         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
17612         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
17613         Improve doc strings to say whether bookmark can be a string or
17614         a record or both, and make other consistency and clarity fixes.
17615         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
17616         (bookmark-default-annotation-text, bookmark-yank-word)
17617         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
17618         (bookmark-import-new-list, bookmark-maybe-rename)
17619         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
17620         (bookmark-bmenu-bookmark): Give these doc strings.
17621         (bookmark-bmenu-check-position): Give this a doc string, but also
17622         add a FIXME comment about how the function may be pointless.
17623         (bookmark-default-handler): Rework doc string and change a
17624         parameter name, to clarify that this takes a bookmark record
17625         not a bookmark name.
17626         (bookmark-set): Change a parameter name to indicate its meaning,
17627         and improve the doc string a bit.
17628         (Bug#4188)
17630 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17632         * bookmark.el (bookmark-alist): Document the new `handler' element
17633         in the param alist.
17634         (bookmark-make-record-function): Adjust documentation for above.
17635         (Bug#4193)
17637 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
17639         * info.el (Info-bookmark-make-record): Document this function.
17640         (Info-bookmark-jump): Document with a doc string, not just a comment.
17641         (Bug#4203)
17643 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
17645         * files.el (copy-directory): New defun.
17647         * dired-aux.el (dired-copy-file-recursive): Use it.
17649 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
17651         * files-x.el (modify-dir-local-variable)
17652         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
17653         docstrings.
17655         * recentf.el (recentf-unload-function): New function.
17657 2009-10-04  Glenn Morris  <rgm@gnu.org>
17659         * window.el (window-full-height-p): Add doc string.
17661 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
17663         * window.el (window-full-height-p): New function.  (Bug#4543)
17665 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
17667         * vc.el: Remove commented out code.
17668         (vc-derived-from-dir-mode): Remove, unused.
17669         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
17671 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
17673         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
17674         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
17675         there could be recursive loading when `default-directory' is a
17676         remote file name.  (Bug#4614)
17678 2009-10-03  Glenn Morris  <rgm@gnu.org>
17680         * calendar/calendar.el (calendar-basic-setup): Handle the case where
17681         the frame is wide.
17682         (calendar-generate-window): Test for shrinkability rather than width.
17684         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
17685         reusing existing buffers, in case we happen to visit two files with the
17686         same basename.  (Bug#4593)
17688 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17690         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
17691         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
17692         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
17693         subdirs of cedet as well.
17694         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
17696 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17698         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
17699         Obey advertised-signature-table.
17701         * help-fns.el (help-function-arglist): Don't check
17702         advertised-signature-table.
17703         (describe-function-1): Do it here instead so it also applies to subrs.
17705 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
17707         * simple.el (start-file-process): Say in the doc-string, that file
17708         handlers might not support pty association, if PROGRAM is nil.
17710         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
17711         HOST and USER are strings.  They are nil, when there are
17712         incomplete entries in ~/.netrc, for example.
17713         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
17714         root directory ("device busy" error otherwise).
17716         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
17717         Flush file properties of created directory.
17719 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
17721         * makefile.w32-in (WINS_BASIC): Remove cedet.
17722         (WINS_CEDET): Add cedet.
17723         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
17725 2009-10-02  Kevin Ryde  <user42@zip.com.au>
17727         * net/browse-url.el (browse-url): Pass any symbol in
17728         browse-url-browser-function to `apply', since if you've mistakenly put
17729         an unbound symbol then the error is clearer.  (Bug#4531)
17731 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17733         * allout.el (allout-init, allout-back-to-current-heading)
17734         (allout-beginning-of-current-entry, allout-ascend-to-depth)
17735         (allout-ascend, allout-up-current-level, allout-end-of-level)
17736         (allout-previous-visible-heading, allout-forward-current-level)
17737         (allout-backward-current-level, allout-show-children):
17738         * apropos.el (apropos-describe-plist):
17739         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
17740         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
17741         * completion.el (add-completion, add-permanent-completion):
17742         * descr-text.el (describe-text-category, describe-char):
17743         * desktop.el (desktop-lazy-abort):
17744         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
17745         * dired.el (dired-build-subdir-alist):
17746         * ediff.el (ediff-version):
17747         * elide-head.el (elide-head, elide-head-show):
17748         * emerge.el (emerge-version):
17749         * env.el (getenv):
17750         * face-remap.el (variable-pitch-mode):
17751         * faces.el (describe-face):
17752         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
17753         (dired-at-point):
17754         * files.el (find-file-existing, auto-save-mode):
17755         * font-lock.el (font-lock-fontify-buffer):
17756         * help-fns.el (describe-function, describe-variable)
17757         (describe-syntax, describe-categories):
17758         * help.el (view-lossage, describe-bindings, describe-key)
17759         (describe-mode):
17760         * hexl.el (hexl-current-address):
17761         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
17762         * info.el (Info-goto-emacs-key-command-node):
17763         * log-edit.el (log-edit-insert-cvs-template)
17764         (log-edit-insert-cvs-rcstemplate):
17765         * menu-bar.el (menu-bar-mode):
17766         * mouse.el (mouse-appearance-menu):
17767         * newcomment.el (comment-indent-new-line):
17768         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
17769         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
17770         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
17771         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
17772         * recentf.el (recentf-mode):
17773         * savehist.el (savehist-mode, savehist-save):
17774         * shadowfile.el (shadow-copy-files):
17775         * simple.el (kill-ring-save, next-line, previous-line)
17776         (normal-erase-is-backspace-mode):
17777         * strokes.el (strokes-update-window-configuration)
17778         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
17779         (strokes-xpm-for-stroke):
17780         * time.el (emacs-uptime, emacs-init-time):
17781         * tutorial.el (tutorial--describe-nonstandard-key)
17782         (tutorial--detailed-help):
17783         * type-break.el (type-break-mode)
17784         (type-break-mode-line-message-mode, type-break-query-mode)
17785         (type-break-guesstimate-keystroke-threshold):
17786         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17787         * version.el (emacs-version):
17788         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17789         * winner.el (winner-mode):
17790         * calendar/timeclock.el (timeclock-in, timeclock-out)
17791         (timeclock-status-string, timeclock-change)
17792         (timeclock-workday-remaining-string)
17793         (timeclock-workday-elapsed-string)
17794         (timeclock-when-to-leave-string):
17795         * calendar/todo-mode.el (todo-add-category):
17796         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17797         * emacs-lisp/autoload.el (update-file-autoloads):
17798         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17799         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17800         (checkdoc-message-text, checkdoc-defun):
17801         * emacs-lisp/debug.el (debugger-list-functions):
17802         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17803         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17804         (eieio-describe-generic):
17805         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17806         * emacs-lisp/shadow.el (list-load-path-shadows):
17807         * emulation/cua-base.el (cua-mode):
17808         * emulation/edt.el (edt-set-scroll-margins):
17809         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17810         (tpu-toggle-regexp, tpu-toggle-search-direction)
17811         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17812         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17813         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17814         (viper-set-parsing-style-toggling-macro)
17815         (viper-set-emacs-state-searchstyle-macros):
17816         * emulation/viper.el (viper-set-hooks):
17817         * eshell/esh-mode.el (eshell-truncate-buffer):
17818         * international/mule-cmds.el (prefer-coding-system)
17819         (describe-input-method, describe-language-environment):
17820         * international/mule-diag.el (list-character-sets)
17821         (describe-character-set, describe-coding-system)
17822         (describe-fontset, list-fontsets, list-input-methods):
17823         * mail/sendmail.el (mail-signature):
17824         * net/ange-ftp.el (ange-ftp-copy-file):
17825         * net/browse-url.el (browse-url):
17826         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17827         * net/quickurl.el (quickurl-add-url):
17828         * net/rcirc.el (names, topic):
17829         * net/xesam.el (xesam-mode):
17830         * play/5x5.el (5x5-new-game):
17831         * play/yow.el (apropos-zippy):
17832         * progmodes/ada-mode.el (ada-mode-version):
17833         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17834         (f90-end-of-block)
17835         (f90-beginning-of-block):
17836         * progmodes/fortran.el (fortran-end-of-block)
17837         (fortran-beginning-of-block):
17838         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17839         * progmodes/python.el (python-describe-symbol, python-shell):
17840         * term/ns-win.el (ns-print-buffer):
17841         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17842         * textmodes/flyspell.el (flyspell-mode-on):
17843         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17844         (pages-directory-for-addresses):
17845         * textmodes/table.el (table-recognize-cell)
17846         (table-query-dimension, table-generate-source)
17847         (table-insert-sequence, table--warn-incompatibility):
17848         * textmodes/tex-mode.el (tex-validate-buffer):
17849         * textmodes/texinfmt.el (texinfmt-version)
17850         (texinfo-format-buffer):
17851         Use `called-interactively-p' instead of `interactive-p'.
17853 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17855         * image-mode.el (image-toggle-display):
17856         * emacs-lisp/elp.el (elp-instrument-function):
17857         * emacs-lisp/advice.el (ad-make-advised-definition):
17858         * emacs-lisp/easy-mmode.el (define-minor-mode):
17859         * net/browse-url.el (browse-url-maybe-new-window):
17860         * progmodes/sh-script.el (sh-learn-buffer-indent):
17861         Pass new argument 'any to `called-interactively-p'.
17863 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
17865         * international/uni-bidi.el:
17866         * international/uni-category.el:
17867         * international/uni-combining.el:
17868         * international/uni-comment.el:
17869         * international/uni-decimal.el:
17870         * international/uni-decomposition.el:
17871         * international/uni-digit.el:
17872         * international/uni-lowercase.el:
17873         * international/uni-mirrored.el:
17874         * international/uni-name.el:
17875         * international/uni-numeric.el:
17876         * international/uni-old-name.el:
17877         * international/uni-titlecase.el:
17878         * international/uni-uppercase.el:
17879         Regenerate from Unicode 5.2.0 data.
17881 2009-10-01  Glenn Morris  <rgm@gnu.org>
17883         * Makefile.in (ELCFILES): Regenerate.
17885 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17887         * subr.el (interactive-p): Mark obsolete.
17888         (called-interactively-p): Make the optional-ness of `kind' obsolete.
17889         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17890         advertised-signature-table for subroutines as well.
17892         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17893         (set-advertised-calling-convention): New function.
17894         (make-obsolete, define-obsolete-function-alias)
17895         (make-obsolete-variable, define-obsolete-variable-alias):
17896         Make the optional-ness of `when' obsolete.
17897         (define-obsolete-face-alias): Make `when' non-optional.
17898         * help-fns.el (help-function-arglist):
17899         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17900         Use advertised-signature-table.
17902 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
17904         * files.el (delete-directory): New defun.  The original function
17905         in fileio.c has been renamed to `delete-directory-internal'.
17907         * dired.el (dired-delete-file): Call `delete-directory' with
17908         RECURSIVE parameter.
17910         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17911         parameter RECURSIVE.  Implementation is missing.
17913         * net/tramp.el (tramp-handle-make-directory): Flush upper
17914         directory's file properties.
17915         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17916         (tramp-handle-dired-recursive-delete-directory): Flush directory
17917         properties after the remove command only.
17919         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17920         Handle optional parameter RECURSIVE.
17922         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17923         Handle optional parameter RECURSIVE.
17925         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17926         connection timeout.
17927         (tramp-smb-handle-delete-directory): Handle optional parameter
17928         RECURSIVE.
17930 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17932         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17933         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17934         (byte-compile-defmacro): Use backquotes.
17936         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17938         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17939         has no associated file.
17940         (vc-resynch-buffer): Use vc-dir-buffers.
17942 2009-10-01  Glenn Morris  <rgm@gnu.org>
17944         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17945         (chart-file-count):
17946         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17947         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17948         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17949         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17950         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17951         (eieio-copy-parents-into-subclass, make-instance, class-children)
17952         (eieio-generic-form):
17954         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17955         match-data.  (Bug#4555).
17957         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17958         rather than parsing it as a regexp.  This relaxes the layout
17959         requirements and makes errors easier to detect.
17960         (check-declare-verify): Check file is regular.
17961         (check-declare-directory): Doc fix.
17962         * subr.el (declare-function): Doc fix.
17964         * ibuffer.el (ibuffer-format-qualifier):
17965         * isearch.el (hi-lock-regexp-okay):
17966         * calc/calc.el (math-zerop):
17967         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17968         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17969         Remove unused declarations.
17971 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17973         * emacs-lisp/eieio.el (boolean-p): Delete.
17975 2009-09-30  Glenn Morris  <rgm@gnu.org>
17977         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17979         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17980         filename is not a string.
17982 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17984         * files.el (safe-local-eval-forms): Fix typo.
17986 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17988         * vc-hooks.el (vc-dir-buffers): New var.
17989         (vc-state-refresh): New function.
17990         (vc-state): Use it.
17991         (vc-after-save): Always ask the backend to recompute the new state.
17992         Always call vc-dir if necessary, using vc-dir-buffers.
17993         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17994         Use vc-dir-buffers.
17995         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17996         (vc-dir-prepare-status-buffer, vc-dir-update)
17997         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17998         Don't call expand-file-name on default-directory.
18000 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18002         * speedbar.el (speedbar-item-delete):
18003         * calc/calc-prog.el (calc-kbd-if):
18004         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18006         * epa.el (epa-key-list-mode-map):
18007         * hi-lock.el (hi-lock-menu): Fix typos in menus.
18009         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18010         (hs-show-hook): Fix typo in docstring.
18012 2009-09-29  Glenn Morris  <rgm@gnu.org>
18014         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18015         file-name-nondirectory call preventing location of cedet files.
18016         (check-declare-verify): Use literal search rather than re-search.
18017         Add basic defmethod and defclass, and define-overloadable-function.
18019         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18020         Use tramp-compat-file-attributes rather than nonexistent
18021         tramp-compat-handle-file-attributes.
18023         * Makefile.in (lisptagsfiles4): New.
18024         (AUTOGENEL): Add cedet loaddefs files.
18025         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18026         (update-elclist, compile-always, backup-compiled-files)
18027         (bootstrap-clean): Add yet another directory level.
18028         (update-elclist): Use LC_COLLATE rather than COLLATE.
18029         (ELCFILES): Update, via `make update-elclist'.
18031 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
18033         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18034         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18035         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18037 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
18039         * Makefile.in (lisptagsfiles3): Define.
18040         (TAGS, TAGS-LISP): Use it.
18041         (update-elclist): Add third directory level to look for elc files.
18042         (compile-always): Likewise.
18043         (backup-compiled-files): Likewise.
18044         (bootstrap-clean): Likewise.
18045         (ELCFILES): Update.
18047 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
18049         * Makefile.in (ELCFILES): Add CEDET files.
18051 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
18053         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18055         * net/tramp.el (top): Require tramp-imap.
18057         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18058         Use `tramp-compat-handle-file-attributes'.
18060 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
18062         * net/tramp-imap.el: New package.
18064 2009-09-28  Eric Ludlam  <zappo@gnu.org>
18066         * emacs-lisp/chart.el:
18067         * emacs-lisp/eieio-base.el:
18068         * emacs-lisp/eieio-comp.el:
18069         * emacs-lisp/eieio-custom.el:
18070         * emacs-lisp/eieio-datadebug.el:
18071         * emacs-lisp/eieio-opt.el:
18072         * emacs-lisp/eieio-speedbar.el:
18073         * emacs-lisp/eieio.el: New files.
18075 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18077         * whitespace.el (whitespace-trailing-regexp)
18078         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18079         Fix doc string.
18081 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
18083         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18084         menu.
18086         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18087         menu-bar-ediff-menu.
18089         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18090         define-overloadable-function.
18092         * progmodes/autoconf.el: Provide autoconf as well, so that this
18093         file can be `require'd.
18095         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18097         * emacs-lisp/autoload.el (generated-autoload-feature)
18098         (generated-autoload-load-name): New vars.
18099         (autoload-rubric, autoload-generate-file-autoloads): Use them.
18100         (make-autoload): Recognize define-overloadable-function and
18101         defclass forms (for EIEIO).
18103         * Makefile.in (update-subdirs): Exclude cedet directory.
18105 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
18107         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
18109         * faces.el: Default light-background background for region face to
18110         ns_selection_color under NS.
18112 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
18114         * net/imap-hash.el: New library, see NEWS.
18116         * Makefile.in (ELCFILES): Add imap-hash.el.
18118 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18120         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18121         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18122         * help-macro.el (make-help-screen): Avoid using an ambiguous function
18123         definition where the docstring could be taken for the return value.
18125 2009-09-26  Glenn Morris  <rgm@gnu.org>
18127         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18128         Add option to only show images below a certain size.
18129         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18130         save-excursion calls.
18132 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
18134         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
18135         subdirectories) and eieio.
18137 2009-09-26  Alan Mackenzie  <acm@muc.de>
18139         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18140         Correct buggy bracketing.  (Bug#4289)
18142         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
18143         character constants (as case labels).  (Bug#4289)
18145 2009-09-25  Juri Linkov  <juri@jurta.org>
18147         * files.el (safe-local-eval-forms): Allow time-stamp in
18148         before-save-hook (Bug#4554).
18150 2009-09-25  Drew Adams  <drew.adams@oracle.com>
18152         * menu-bar.el (list-buffers-directory): Doc fix.
18154 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18156         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
18157         Try and avoid copying twice the same paragraph.
18158         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
18159         Remove save-excursion.
18160         (log-edit-changelog-entry): Do it here instead.
18162 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
18164         * bs.el (bs--get-file-name): Use `list-buffers-directory'
18165         when available, instead of hardcoding mode names.  Doc fix.
18167         * menu-bar.el (list-buffers-directory): Add docstring.
18168         Make automatically buffer-local.
18170         * dired.el (dired-mode):
18171         * files.el (cd-absolute):
18172         * pcvs.el (cvs-temp-buffer):
18173         * pcvs-util.el (cvs-get-buffer-create):
18174         * shell.el (shell-mode):
18175         * vc-dir.el (vc-dir-mode):
18176         Don't make `list-buffers-directory' buffer local.
18178 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
18180         * comint.el (comint-exec, comint-run, make-comint):
18181         Doc fixes (Bug#4542).
18183 2009-09-25  Glenn Morris  <rgm@gnu.org>
18185         * mail/rmailmm.el (rmail-mime): New custom group.
18186         Move all defcustoms in this file into this group.
18187         (rmail-mime-media-type-handlers-alist): Revert previous change.
18188         (rmail-mime-show-images): New option.
18189         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
18190         references to it, since it wasn't actually used for anything.
18191         (rmail-mime-insert-image): New function.
18192         (rmail-mime-image): Use rmail-mime-insert-image.
18193         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
18194         obey the value of `rmail-mime-show-images' option.  Print the size of
18195         attachments.
18197 2009-09-25  David Engster  <deng@randomsample.de>
18199         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
18201 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18203         * whitespace.el: Does not highlight trailing spaces While point is
18204         at end of line.  Does not highligt spaces at beginning of buffer
18205         while point is at beginning of buffer.  Does not highlight spaces
18206         at end of buffer while point is at end of buffer.  (Bug#4177)
18207         New version 12.0.
18208         (whitespace-display-mappings): Adjust initialization.
18209         (whitespace-point, whitespace-font-lock-refontify): New vars.
18210         (whitespace-color-on, whitespace-color-off): Adjust code.
18211         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
18212         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
18213         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
18215 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
18217         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
18219         * textmodes/sgml-mode.el: Remove xml-mode alias.
18221         * files.el (auto-mode-alist, conf-mode-maybe)
18222         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
18224 2009-09-24  Alan Mackenzie  <acm@muc.de>
18226         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
18227         c-forward-conditionals, but it doesn't move point and doesn't set
18228         the mark.
18229         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
18230         (c-down-conditional-with-else, c-backward-conditional)
18231         (c-forward-conditional): Refactor to use c-scan-conditionals.
18233 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18235         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
18236         (help-default-arg-highlight): Remove.
18237         (help-highlight-arg): New function.
18238         (help-do-arg-highlight): Use it.
18239         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
18241 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18243         * term.el (term-set-scroll-region, term-handle-ansi-escape):
18244         Undo last change, which didn't fix the problem and introduced others.
18246 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
18248         * progmodes/gdb-mi.el: Don't require speedbar.
18249         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
18251 2009-09-24  Glenn Morris  <rgm@gnu.org>
18253         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
18255         * term/ns-win.el (ns-reg-to-script): Define for compiler.
18257         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
18258         there is no newline after the final mime boundary.  (Bug#4539)
18259         Move markers on insertion so that any buttons inserted don't end up in
18260         the next part of a multipart message.
18261         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
18262         (rmail-mime-bulk-handler): Optionally handle images.
18263         (rmail-mime-image): New button action.
18264         (rmail-mime-image-handler): New function.
18265         (rmail-mime-mode): New mode.
18266         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
18268 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18270         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
18271         than just dropping elements from it (bug#4504).
18273         * term.el (term-set-scroll-region): Don't move cursor any more.
18274         (term-handle-ansi-escape): Call term-goto here instead.
18275         Suggested by Ivan Kanis <apple@kanis.eu>.
18277         * term.el: Require CL.
18278         (term-ansi-reset): New function.
18279         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
18280         (term-handle-colors-array): Simplify.
18282 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
18284         * allout.el (allout-overlay-interior-modification-handler)
18285         (allout-obtain-passphrase):
18286         * epa-file.el (epa-file-write-region):
18287         * ps-print.el (ps-begin-job):
18288         * vc-hooks.el (vc-toggle-read-only):
18289         * vc-rcs.el (vc-rcs-rollback):
18290         * vc-sccs.el (vc-sccs-rollback):
18291         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
18292         (vc-version-diff, vc-revert, vc-rollback):
18293         * wdired.el (wdired-check-kill-buffer):
18294         * emacs-lisp/authors.el (authors):
18295         * net/socks.el (socks-open-connection):
18296         * net/zeroconf.el (zeroconf-service-add-hook):
18297         * obsolete/vc-mcvs.el (vc-mcvs-register):
18298         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
18299         (gdb-select-frame):
18300         * progmodes/grep.el (lgrep, rgrep):
18301         * progmodes/idlw-help.el (idlwave-help-check-locations)
18302         (idlwave-help-html-link, idlwave-help-assistant-open-link):
18303         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
18304         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
18305         (reftex-toc-rename-label): Fix typos in error messages.
18307         * dired-aux.el (dired-do-shell-command): Reflow docstring.
18308         (dired-copy-how-to-fn): Doc fix.
18309         (dired-files-attributes, dired-read-shell-command):
18310         Fix typos in docstrings.
18312         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
18313         (dired-x-find-file-other-window): Reflow docstrings.
18314         (dired-omit-marker-char, dired-read-shell-command)
18315         (dired-x-submit-report): Fix typos in docstrings.
18317         * shell.el (shell-mode-hook):
18318         * view.el (View-scroll-line-forward):
18319         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
18320         Fix typos in docstrings.
18322         * net/dig.el (dig-invoke): Fix typo in docstring.
18323         (query-dig): Reflow docstring.
18325         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
18326         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
18327         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
18328         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
18329         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
18330         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
18331         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
18332         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
18333         (idlwave-completion-map, idlwave-current-indent)
18334         (idlwave-custom-ampersand-surround, idlwave-customize)
18335         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
18336         (idlwave-define-abbrev, idlwave-determine-class-special)
18337         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
18338         (idlwave-end-block-reg, idlwave-end-of-statement)
18339         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
18340         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
18341         (idlwave-explicit-class-listed, idlwave-file-header)
18342         (idlwave-fill-paragraph, idlwave-find-class-definition)
18343         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
18344         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
18345         (idlwave-in-quote, idlwave-indent-action-table)
18346         (idlwave-indent-expand-table, idlwave-indent-line)
18347         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
18348         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
18349         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
18350         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
18351         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
18352         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
18353         (idlwave-outlawed-buffers, idlwave-popup-select)
18354         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
18355         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
18356         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
18357         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
18358         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
18359         (idlwave-statement-type, idlwave-struct-skip)
18360         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
18361         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
18362         (idlwave-what-module-find-class): Fix typos in docstrings.
18363         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
18364         (idlwave-calculate-cont-indent, idlwave-expand-equal)
18365         (idlwave-find-module, idlwave-find-structure-definition)
18366         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
18367         (idlwave-list-load-path-shadows, idlwave-next-statement)
18368         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
18369         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
18370         (idlwave-template): Reflow docstrings.
18372         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
18373         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
18374         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
18375         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
18376         (idlwave-shell-display-line, idlwave-shell-display-wframe)
18377         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
18378         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
18379         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
18380         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
18381         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
18382         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
18383         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
18384         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
18385         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
18386         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
18387         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
18388         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
18389         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
18390         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
18391         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
18392         Fix typos in docstrings.
18393         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
18394         (idlwave-shell-hide-output, idlwave-shell-mode)
18395         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
18396         Reflow docstrings.
18398         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
18400 2009-09-24  Ivan Kanis  <apple@kanis.eu>
18402         * term.el (term-bold-attribute): New var.
18403         (term-handle-colors-array): Use it.
18405 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
18407         * progmodes/gdb-mi.el (gdb-version): New variable.
18408         (gdb-non-stop-handler): Set gdb-version.
18409         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
18410         Condition "--thread" option on gdb-version.
18411         (gdb-invalidate-threads): Remove unused argument.
18413 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18415         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
18416         to looking-back to avoid ridiculous slow down in large files (bug#4511).
18418 2009-09-23  Glenn Morris  <rgm@gnu.org>
18420         * mail/rmail.el (rmail-reply): Don't try to add a References header when
18421         replying to mail without References or Message-Id.  (Bug#4525)
18423 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
18425         * term/ns-win.el (ns-reg-to-script): New variable.
18427 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
18429         * epg.el (epg-wait-for-status): Preserve existing 'error results.
18431 2009-09-22  Sam Steingold  <sds@gnu.org>
18433         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
18434         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
18435         to 1 because hg returns status 1 when nothing is found.
18436         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
18438 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
18440         * textmodes/fill.el: Convert to utf-8 encoding.
18441         (fill-french-nobreak-p): Remove redundant » and « inherited from our
18442         pre-Unicode days.
18444         * add-log.el (change-log-fill-forward-paragraph): New function.
18445         (change-log-mode): Use it so fill-region DTRT.
18446         Set fill-indent-according-to-mode here rather than in
18447         change-log-fill-paragraph.
18448         (change-log-fill-paragraph): Remove.
18450 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
18452         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
18453         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
18455 2009-09-22  Glenn Morris  <rgm@gnu.org>
18457         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
18458         the scroll-bar scroll the calendar window rather than the buffer.
18460         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
18461         commands that move point (as opposed to scrolling).
18463         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
18465         * emacs-lisp/elint.el (elint): New custom group.
18466         (elint-log-buffer): Make it a defcustom.
18467         (elint-scan-preloaded, elint-ignored-warnings)
18468         (elint-directory-skip-re): New options.
18469         (elint-builtin-variables): Doc fix.
18470         (elint-preloaded-env): New variable.
18471         (elint-unknown-builtin-args): Add an entry for encode-time.
18472         (elint-extra-errors): Make it a variable rather than a constant.
18473         (elint-preloaded-skip-re): New constant.
18474         (elint-directory): Skip files matching elint-directory-skip-re.
18475         (elint-features): New variable, local to linted buffers.
18476         (elint-update-env): Initialize elint-features.  Possibly add
18477         elint-preloaded-env to the buffer's environment.
18478         (elint-get-top-forms): Bind elint-current-pos, for log messages.
18479         Skip quoted forms.
18480         (elint-init-form): New function, extracted from elint-init-env.
18481         Make non-list forms a warning rather than an error.
18482         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
18483         easy-menu-define, put that adds an error-condition, and provide.
18484         When requiring cl, also require cl-macs.  Really require cl, to handle
18485         some cl macros.  Store required libraries in the list elint-features,
18486         so as not to re-load them.  Treat cc-require like require.
18487         (elint-init-env): Call elint-init-form to do the work.
18488         Handle eval-and-compile and such like.
18489         (elint-add-required-env): Do not clear messages.
18490         (elint-special-forms): Add handlers for function, defalias, if, when,
18491         unless, and, or.
18492         (elint-form): Add optional argument to ignore elint-special-forms,
18493         useful to prevent recursive calls from handlers.  Doc fix.
18494         Respect elint-ignored-warnings.
18495         (elint-form): Respect elint-ignored-warnings.
18496         (elint-bound-variable, elint-bound-function): New variables.
18497         (elint-unbound-variable): Respect elint-bound-variable.
18498         (elint-get-args): Respect elint-bound-function.
18499         (elint-check-cond-form): Add some simple handling for (f)boundp and
18500         featurep tests.
18501         (elint-check-defalias-form): New handler.
18502         (elint-check-let-form): Make an empty let a warning rather than an
18503         error.
18504         (elint-check-setq-form): Make an empty setq a warning rather than an
18505         error.  Respect elint-ignored-warnings.
18506         (elint-check-defvar-form): Accept null doc-strings.
18507         (elint-check-conditional-form): New handler.  Does some simple-minded
18508         checking of featurep and (f)boundp tests.
18509         (elint-put-function-args): New function.
18510         (elint-initialize): Use elint-scan-doc-file rather than
18511         elint-find-builtin-variables.  Use elint-put-function-args.
18512         Possibly scan preloaded-file-list.
18513         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
18514         extend to handle functions as well.
18516 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
18518         * linum.el (linum-delete-overlays, linum-update-window):
18519         Do not modify the right margin.  (Bug#3971)
18521 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
18523         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
18524         Use nxml-mode instead of xml-mode.
18526 2009-09-21  Kevin Ryde  <user42@zip.com.au>
18528         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
18530 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18532         * net/dig.el (dig-mode): Use define-derived-mode.
18534 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
18536         * vc-dispatcher.el (vc-do-command): Return the process object in
18537         the asynchronous case.  Use when instead of if.  Do not run
18538         vc-exec-after to display a message if not enabled.  (Bug#4463)
18540         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
18541         properties to the stash strings.
18542         (vc-git-stash-list): Return a list of strings.
18543         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
18544         (vc-git-stash-show-at-point): New functions.
18545         (vc-git-stash-map): New keymap.
18547         * register.el (ctl-x-r-map): Define the keys here instead of
18548         using autoload.
18550 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
18552         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
18553         list, to workaround performance problem (bug#4485).
18555 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
18557         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
18559 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
18561         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
18562         Document that this option is not recommended to use.
18564 2009-09-19  Glenn Morris  <rgm@gnu.org>
18566         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
18567         variable `var'.
18569         * calc/calc-alg.el (var):
18570         * calc/calcalg2.el (var): Define for compiler.
18572 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
18574         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
18575         Doc fix (Bug#3932).
18577         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
18579         * time-stamp.el (time-stamp-month-dd-yyyy)
18580         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
18581         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
18582         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
18583         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
18584         Remove functions that have been obsolete since 1995 (Bug#4436).
18586         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
18587         indent buffer only if called interactively (Bug#4452).
18589 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
18590             Eli Zaretskii  <eliz@gnu.org>
18592         This fixes bug#4197 (merged to bug#865, though not identical).
18593         * server.el (server-auth-dir): Add docstring note about FAT32.
18594         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
18595         but warn against using them.
18597 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
18599         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
18600         older GDB where there is no has_more field.
18602 2009-09-19  Glenn Morris  <rgm@gnu.org>
18604         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
18606 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
18608         * files.el (auto-mode-alist): Change default for XML files to nXML
18609         mode (Bug#4169).
18611 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
18613         * server.el (server-ensure-safe-dir): Pass 'integer
18614         to `file-attributes', as suggested.
18616 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18618         * dired-aux.el (dired-query-alist): Remove spurious backslash.
18619         (dired-query): Use read-key.
18621 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
18623         * cus-start.el (ns-use-qd-smoothing): Remove.
18625 2009-09-18  Glenn Morris  <rgm@gnu.org>
18627         * allout.el (top-level): Remove unnecessary progn.
18629         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
18631         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
18632         definition of abbrev table.
18634         * speedbar.el (speedbar-track-mouse):
18635         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
18636         * net/eudc.el (eudc-expand-inline):
18637         * net/newst-backend.el (newsticker--cache-read-feed):
18638         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
18639         condition-case handlers.
18641 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
18643         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
18644         (gdb-var-list): Add an element for has_more field.
18645         (gdb-non-stop-handler): Enable pretty printing for STL containers.
18646         (gdb-var-create-handler, gdb-var-list-children-handler-1)
18647         (gdb-var-update-handler-1): Parse output of dynamic variable
18648         objects (STL containers).
18649         (gdb-var-delete-1): Pass var1 as an explicit second argument.
18650         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
18652         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
18653         gdb-var-list.
18654         (gud-speedbar-buttons): Make node expandable if expression "has more"
18655         children.
18657 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
18659         * startup.el (emacs-quick-startup): Remove variable and all uses.
18660         (command-line): Set `inhibit-x-resources' instead.
18661         (command-line-1): Use `inhibit-x-resources' instead.
18663 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
18665         * subr.el: Fix last change to avoid using the `unless' macro,
18666         which breaks bootstrapping.
18668 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18670         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
18671         extended definitions, in case we reload subr.el after having
18672         loaded CL.
18673         (eval-next-after-load): Mark as obsolete.
18675 2009-09-17  Juri Linkov  <juri@jurta.org>
18677         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
18678         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
18679         (menu-bar-showhide-menu, menu-bar-tools-menu)
18680         (menu-bar-describe-menu, menu-bar-help-menu)
18681         (minibuffer-local-completion-map, minibuffer-local-map):
18682         Fix list quoting.
18684 2009-09-17  Glenn Morris  <rgm@gnu.org>
18686         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
18687         arguments, whether or not it has a handler.
18689         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
18691         * simple.el (hard-newline): Give it a doc-string.
18693         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18694         (lisp-mode-syntax-table): Give them doc-strings.
18696 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
18698         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
18699         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
18700         (menu-bar-options-menu, menu-bar-showhide-menu)
18701         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
18702         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
18703         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
18704         (menu-bar-options-menu, menu-bar-tools-menu)
18705         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
18706         (menu-bar-help-menu):
18707         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
18708         string arguments.
18710         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
18711         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
18712         calls for the menu names and :help.
18714 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18716         * mouse.el (minor-mode-menu-from-indicator): Pay attention
18717         to :minor-mode-function (bug#4455).
18719 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18721         * startup.el (command-line): Initialize the window-system after
18722         processing the command-line.
18724         * textmodes/page.el (what-page): Make sure we don't inf-loop if
18725         page-delimiter matches the empty string.
18727 2009-09-16  Glenn Morris  <rgm@gnu.org>
18729         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
18730         byte-compile-not-obsolete-var.  It's a list now.
18731         (byte-compile-not-obsolete-funcs): New variable.
18732         (byte-compile-warn-obsolete): Don't warn about functions if they are in
18733         byte-compile-not-obsolete-funcs.
18734         (byte-compile-variable-ref, byte-compile-defvar): Update for
18735         byte-compile-not-obsolete-vars name-change and list nature.
18736         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
18737         and variables behind (f)boundp tests.
18738         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
18740 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18742         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
18744 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18746         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
18747         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
18748         Don't autoload.
18750 2009-09-15  Stephen Eglen  <stephen@gnu.org>
18752         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
18753         the virtual-buffers, use the name of the buffer specified by
18754         find-file-noselect, as the match may be a symlink.  (This was a
18755         problem if the target and the symlink had different names.)
18757 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18759         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
18761         * desktop.el (desktop-path): Check user-emacs-directory.
18763         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
18765         * loadup.el: Use after-load-functions to GC after loading each file.
18766         Remove the explicit GC calls that used to be sprinkled around.
18768         * subr.el (after-load-functions): New hook.
18769         (do-after-load-evaluation): Run it.  Use string-match-p to detect
18770         `obsolete' packages, rather than painfully extracting the relevant
18771         directory name.
18773 2009-09-15  Glenn Morris  <rgm@gnu.org>
18775         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
18776         free variable `doc'.
18778         * dired.el (dired-mode-map): Add menu entry for async shell command.
18780         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
18781         variables, also consider the .elc files, since the .el files are
18782         normally gzipped (subsequent code locates the .el.gz from the .elc).
18784         * calc/calc-prog.el (arglist): Define for compiler.
18786         * calendar/diary-lib.el (diary-display-function): Change the default to
18787         fancy display.
18788         (body): Define for compiler.
18790         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18791         (byte-compile-file-form, byte-compile-lambda)
18792         (byte-compile-top-level-body, byte-compile-form)
18793         (byte-compile-variable-ref, byte-compile-setq)
18794         (byte-compile-setq-default, byte-compile-body)
18795         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18796         (batch-byte-compile): Give some more local variables with common names
18797         a "bytecomp-" prefix to avoid masking warnings about free variables.
18799         * startup.el (command-line-1): Give local variables with common names a
18800         distinguishing prefix, so as not to hide free variable warnings during
18801         bootstrap.
18803         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18804         clever and add a suffix to make a unique name, just let the user decide
18805         whether or not to overwrite it.  If the input is a directory, write the
18806         default filename to that directory.  (Bug#4388)
18807         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18808         is a filename-as-a-directory.
18810 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18812         * textmodes/page.el (what-page): Don't move to beginning of line.
18813         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18815 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18817         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18819 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18821         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18822         * help.el (help-for-help-internal): Add purecopy calls for text.
18824         * vc.el (top): print-log method now takes an optional SHORTLOG
18825         argument.  Add a new method: root.
18826         (vc-root-diff, vc-print-root-log): New functions.
18827         (vc-log-short-style): New variable.
18828         (vc-print-log-internal): Add support for showing short logs.
18830         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18831         vc-print-root-log and vc-print-root-diff.
18833         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18834         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18835         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18836         short logs.
18838         * vc-cvs.el (vc-cvs-print-log):
18839         * vc-mtn.el (vc-mtn-print-log):
18840         * vc-rcs.el (vc-rcs-print-log):
18841         * vc-sccs.el (vc-sccs-print-log):
18842         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18843         that is ignored for now.
18845         * vc-mtn.el (vc-mtn-annotate-command):
18846         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18848 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18850         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18851         to function-key-map, and give them ascii-character property.
18852         * term/x-win.el (x-alternatives-map):
18853         * term/ns-win.el (ns-alternatives-map):
18854         * term/internal.el (msdos-key-remapping-map):
18855         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18857 2009-09-14  Glenn Morris  <rgm@gnu.org>
18859         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18860         temp-buffers (2009-09-12).
18862 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18864         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18865         the new read-key function.
18867 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18869         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18870         is defined (Bug#4405).
18872 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
18874         * recentf.el (recentf-cleanup): Use a hash table to find
18875         duplicates (Bug#4407).
18877 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
18879         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18880         kp-0 to ascii equivalents (Bug#4325).
18882 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18884         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18886         * eshell/em-hist.el:
18887         * eshell/em-dirs.el (eshell-complete-user-reference):
18888         Declare pcomplete functions and variables to avoid compiler warnings.
18890 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
18892         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18893         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18894         * eshell/em-alias.el (eshell-aliases-file):
18895         * eshell/em-hist.el (eshell-history-file-name):
18896         Use expand-file-name instead of concat to make file names (Bug#4308).
18898 2009-09-13  Glenn Morris  <rgm@gnu.org>
18900         * ediff-merg.el (ediff-do-merge):
18901         * filesets.el (filesets-run-cmd):
18902         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18903         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18904         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18905         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18906         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18907         Replace empty `let's with `progn'.
18909 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18911         * mail/sendmail.el (send-mail-function):
18912         * tooltip.el (tooltip-mode):
18913         * simple.el (transient-mark-mode):
18914         * rfn-eshadow.el (file-name-shadow-mode):
18915         * frame.el (blink-cursor-mode):
18916         * font-core.el (global-font-lock-mode):
18917         * files.el (temporary-file-directory)
18918         (small-temporary-file-directory, auto-save-file-name-transforms):
18919         * epa-hook.el (auto-encryption-mode):
18920         * composite.el (global-auto-composition-mode):
18921         Use custom-initialize-delay.
18922         * startup.el (command-line): Don't explicitly call
18923         custom-reevaluate-setting for all the above vars.
18924         * custom.el (custom-initialize-safe-set)
18925         (custom-initialize-safe-default): Delete.
18927 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18929         * term/x-win.el (x-initialize-window-system):
18930         * term/w32-win.el (w32-initialize-window-system):
18931         * term/ns-win.el (ns-initialize-window-system): Don't call
18932         mouse-wheel-mode since it's enabled globally by default already.
18934         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18935         actually define the variable, but only silences the byte-compiler.
18936         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18937         before looking it up.
18938         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18939         is changed.
18941 2009-09-12  Glenn Morris  <rgm@gnu.org>
18943         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18944         1000.
18945         (elint-add-required-env): Don't beep on error.
18946         (elint-forms): In case of error, return ENV unchanged.
18947         (elint-init-env): Skip non-list forms.
18948         (elint-log): Handle unknown file positions.
18950 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18952         * epg.el (epg-make-context): Add autoload cookie.
18953         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18954         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18955         (epg-verify-string, epg-start-sign, epg-sign-file)
18956         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18957         (epg-encrypt-string, epg-start-export-keys)
18958         (epg-export-keys-to-file, epg-export-keys-to-string)
18959         (epg-start-import-keys, epg-import-keys-from-file)
18960         (epg-import-keys-from-string, epg-start-receive-keys)
18961         (epg-receive-keys, epg-import-keys-from-server)
18962         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18963         (epg-sign-keys, epg-start-generate-key)
18964         (epg-generate-key-from-file, epg-generate-key-from-string):
18965         Remove autoload cookie.
18967 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18969         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18970         reevaluation of trash-directory.
18972         * mwheel.el: Fix last change.
18973         (mouse-wheel-mode): New defvar.
18974         (mouse-wheel-mode): Remove autoload cookie.
18976 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18978         * mwheel.el (mwheel-installed-bindings): New var.
18979         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18980         the bindings we set last time.  Use custom-initialize-delay.
18981         * loadup.el: Load mwheel after term/*-win.el.
18982         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18983         and mouse-wheel-up-event now that their first evaluation is done
18984         sufficiently late to be correct.
18986         * startup.el (tutorial-directory): Make it a defcustom.
18987         Use custom-initialize-delay rather than eval-at-startup to set it.
18988         * image.el (image-load-path): Make it a defcustom.
18989         Use custom-initialize-delay rather than eval-at-startup to set it.
18990         * subr.el (eval-at-startup): Remove.
18991         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18993         * subr.el (do-after-load-evaluation): Warn the user after loading an
18994         obsolete package.
18996 2009-09-12  Glenn Morris  <rgm@gnu.org>
18998         * proced.el (proced-mark-alt): Remove alias.
18999         (proced-mode-map): Remove proced-mark-alt.
19001         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19002         Elint file and directory.  Remove initialization entry.
19004         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19005         commands.
19006         (elint-current-buffer): Set mode-line-process.
19007         (elint-init-env): Handle define-derived-mode.
19008         Fix declare-function with unspecified arglist.  Guard against odd
19009         defalias statements (eg iso-insert's 8859-1-map).
19010         (elint-add-required-env): Use a temp buffer.
19011         (elint-form): Just print the function/macro name, not the whole form.
19012         Return env unchanged if we fail to parse a macro.
19013         (elint-forms): Guard against parse errors.
19014         (elint-output): New function, to handle batch mode.
19015         (elint-log-message): Add optional argument.  Use elint-output.
19016         (elint-set-mode-line): New function.
19018 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
19020         * emacs-lisp/elp.el (elp-not-profilable): Add more
19021         functions (Bug#4233).
19023 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
19025         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19026         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19028 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19030         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19031         (gdb-var-list-children): Use json parsing.
19033 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
19035         * progmodes/js.el (js--proper-indentation): Handle the case where
19036         char-before is null.  Reported by Deniz Dogan.
19038 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19040         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19042 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
19044         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19045         (epg-digest-algorithm-alist): Add SHA224.
19046         (epg-context-set-passphrase-callback)
19047         (epg-context-set-progress-callback): Add description about
19048         callback function.
19050 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19052         * custom.el (custom-delayed-init-variables): New var.
19053         (custom-initialize-delay): New function.
19054         * startup.el (command-line): "Re"evaluate all vars in
19055         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
19056         explicitly any more.
19057         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19058         to avoid creating a ~/.emacs.d at build-time (bug#4347).
19060         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19062 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
19064         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19065         (gdb-var-update-handler): Use json parsing.
19067 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
19069         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19070         decode annotated text, regardless of language environment.  (Bug#2741)
19072 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19074         * Makefile.in (autoloads): Make rmail.el writable as well.
19076 2009-09-11  Glenn Morris  <rgm@gnu.org>
19078         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19079         loaddefs.el.
19080         * dired.el: Regenerate with extracted autoloads.
19081         * Makefile.in (autoloads): Make dired.el writable.
19083         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19084         * ibuffer.el: Regenerate with extracted autoloads.
19085         * Makefile.in (autoloads): Make ibuffer.el writable.
19087         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19088         * version.el (emacs-copyright, emacs-major-version)
19089         (emacs-minor-version): Reformat doc-strings for make-docfile.
19091         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19092         functions and variables, since they must be stuff specific to some other
19093         platform.
19094         (apropos-print): Make mouse-click message less specific about button.
19096         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19097         that records where a macro was defined.
19098         * help-fns.el (describe-function-1): Mention if a function has a
19099         compiler-macro.
19100         * help-mode.el (help-function-cmacro): New button.
19102         * locate.el (top-level): Always require dired.
19103         (locate-mode-map): Initialize inside the defvar.
19105         * net/ange-ftp.el (dired-compress-file): Declare.
19106         (ange-ftp-dired-compress-file): Add doc string.
19108         * term/ns-win.el (x-display-name, x-setup-function-keys):
19109         Unify doc-strings with X versions.
19111 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
19113         * emulation/crisp.el (crisp-mode-map): Move initialization
19114         into declaration.
19115         (crisp-mode): Use define-minor-mode.
19117         * progmodes/xscheme.el (xscheme-evaluation-commands):
19118         Put a :advertised-binding property rather than using
19119         advertised-xscheme-send-previous-expression.
19120         (advertised-xscheme-send-previous-expression): Declare obsolete.
19121         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19122         `advertised-undo'.
19123         (crisp-mode): Add corresponding bindings to
19124         undo's :advertised-binding instead.
19125         * dired.el (dired-mode-map): Put a :advertised-binding property rather
19126         than using dired-advertised-find-file.
19127         (dired-advertised-find-file):
19128         * simple.el (advertised-undo):
19129         * wid-edit.el (advertised-widget-backward): Declare obsolete.
19130         (widget-keymap): Put a :advertised-binding property rather
19131         than using advertised-widget-backward.
19132         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19133         than using advertised-undo.
19134         * tutorial.el (tutorial--default-keys): Adjust accordingly.
19136 2009-09-10  Simon South  <ssouth@slowcomputing.org>
19138         * progmodes/delphi.el (delphi-tab): Indent region when Transient
19139         Mark mode is enabled and region is active; otherwise indent or
19140         insert TAB as usual.
19141         (delphi-mode): Update description of TAB-key binding.
19143 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19145         * subr.el (define-key-rebound-commands): Mark obsolete.
19146         * startup.el (precompute-menubar-bindings): Remove.
19147         (normal-top-level): Remove obsolete code that tried to precompute
19148         menubar bindings.
19149         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
19150         define-key-rebound-commands and precompute-menubar-bindings.
19152 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
19154         * net/imap.el (imap-interactive-login): Better messages.
19155         (imap-open): Fix bug with renamed buffer on reconnect.
19156         (imap-authenticate): Add buffer-local imap-last-authenticator variable
19157         for easier debugging and cleaner code.  On successful (guessed based on
19158         server capabilities) secondary authentication, set imap-state
19159         correctly.
19160         (imap-last-authenticator): Define imap-last-authenticator as a variable
19161         to avoid warnings.
19163 2009-09-10  Glenn Morris  <rgm@gnu.org>
19165         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
19167         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
19168         (byte-compile-file-form-autoload): Don't warn about unknown functions
19169         where the autoload statement comes after the use.
19170         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
19171         that any handlers inside the body (eg require) are in turn respected.
19173         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
19174         effects.
19176         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
19177         and syntax and abbrev tables basic docs, if they don't have any.
19179         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
19181         * international/mule-cmds.el (top-level): Require cl when compiling.
19182         (view-hello-file): Use default-value rather than
19183         default-enable-multibyte-characters.
19185         * progmodes/fortran.el: Move all safe and risky properties into the
19186         defcustoms.
19188         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
19189         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
19190         * mail/undigest.el:
19191         Put autoloads in rmail.el rather than loaddefs.el.
19192         * mail/rmail.el: Regenerate with extracted autoloads.
19194         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
19195         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
19197 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
19199         Reported in thread for Bug#4375.
19200         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
19201         "-data-evaluate-expression" instead of print.
19202         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
19203         (gdb-tooltip-print): Parse output from above MI command.
19204         (gdb): Revert 2009-08-11 change.  User should detach inferior
19205         manually.
19207         Remove the word "separate" from IO functions as inferior
19208         output is now never displayed in the GUD buffer.
19210 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
19212         * startup.el (command-line-normalize-file-name): On Windows and
19213         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
19215 2009-09-10  Juri Linkov  <juri@jurta.org>
19217         * isearch.el (isearch-text-char-description): Propertize escape
19218         character sequences with the `escape-glyph' face.  (Bug#4344)
19220         * simple.el (shell-command): Set asynchronous process filter to
19221         `comint-output-filter'.  (Bug#4343)
19223         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
19224         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
19225         the list.  Move "asm" to the bottom.
19226         (grep-find-ignored-directories): Add `choice' with nil value
19227         to empty the list easily.
19228         (grep-find-ignored-files): New option.
19229         (grep-files-history): Set to nil by default instead of '("ch" "el").
19230         (grep-compute-defaults): Add "<X>" to `grep-template'.
19231         (grep-read-files): Bind new local variables `default-alias' and
19232         `default-extension'.  Use a list of default values for the file prompt.
19233         (lgrep): Add `--exclude=' command line options composed from
19234         `grep-find-ignored-files'.
19235         (rgrep): Add `-name' command line options composed from
19236         `grep-find-ignored-files'.  (Bug#4301)
19238 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
19240         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
19241         (bug#4368).
19243 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
19245         * calendar/time-date.el (autoload):
19246         Expand define-obsolete-function-alias into defalias and make-obsolete
19247         for old Emacsen that Gnus supports.
19248         (with-no-warnings): Define it for old Emacsen.
19249         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
19250         is available.
19251         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
19252         float-time is available; suppress compile warning for time-to-seconds.
19254 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
19256         * net/imap.el (imap-message-map): Docstring fix.
19258 2009-09-09  Glenn Morris  <rgm@gnu.org>
19260         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
19261         line numbers too.  (Bug#4374)
19263 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19265         * smerge-mode.el (smerge-remove-props, smerge-refine):
19266         Use with-silent-modifications (bug#4342).
19268         * subr.el (with-silent-modifications): New macro.
19270 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
19272         * files.el (top-level): Require `cl' when compiling.
19274 2009-09-07  Glenn Morris  <rgm@gnu.org>
19276         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
19278         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
19279         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
19281 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
19283         * vc-git.el (vc-git-annotate-command): Use separator to parse
19284         arguments correctly.
19286 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
19288         * proced.el (proced-mode): Doc fix.
19290 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
19292         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
19293         lstat fails.
19294         (tramp-do-file-attributes-with-ls): Check for file existence at
19295         remote end.
19296         (tramp-do-file-attributes-with-stat): Likewise.
19297         (tramp-convert-file-attributes): Return nil when attr is nil.
19299 2009-09-05  Glenn Morris  <rgm@gnu.org>
19301         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
19302         properties to this button.
19303         (diary-fancy-display): Don't extend the button to the final newline.
19304         (diary-fancy-display-mode): Continue to define "q" as a local key.
19306         * calendar/cal-china.el (holiday-chinese): Make it slightly more
19307         efficient.
19309         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
19311         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
19312         (byte-compile-dest-file-function): New option.
19313         (byte-compile-dest-file): Doc fix.
19314         Obey byte-compile-dest-file-function.
19315         (byte-compile-cl-file-p): New function.
19316         (byte-compile-eval): Only suppress noruntime warnings about cl functions
19317         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
19318         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
19319         than for file being previously loaded.
19320         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
19321         (byte-compile-file-form-require): Handle the case where requiring a file
19322         indirectly causes CL to be loaded.
19324 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19326         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
19327         before killing the old buffer, since by the time `kill-buffer' is
19328         run so many buffer variables have been set to nil that it may not
19329         behave as expected.  (Bug#4061)
19331 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
19333         * files.el (find-alternate-file): If the old buffer is modified
19334         and visiting a file, behave similarly to `kill-buffer' when
19335         killing it, thus reverting to the pre-1.878 behavior; see
19336         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
19337         for discussion.  Also, consult `buffer-file-name' as a variable
19338         not as a function, for consistency with the rest of the code.
19340 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
19342         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
19343         also when adding a new directory.
19345         * net/tramp-compat.el (tramp-compat-line-beginning-position):
19346         New defun.
19348 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19350         * files.el (locate-file-completion-table): Make it provide boundary
19351         information, so partial-completion works better.
19353 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
19355         * mail/footnote.el (Footnote-text-under-cursor):
19356         Check footnote-text-marker-alist before using it (bug#4324).
19358 2009-09-04  Glenn Morris  <rgm@gnu.org>
19360         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
19361         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
19362         * play/solitaire.el, play/tetris.el:
19363         Remove leading * from defcustom and defface docs.
19365         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
19366         necessary.
19367         (diary-fancy-overriding-map): New variable.
19368         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
19369         Use view-mode.
19371         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
19372         goto-line.
19374 2009-09-03  Glenn Morris  <rgm@gnu.org>
19376         * arc-mode.el (archive-mode):
19377         * dos-fns.el (set-default-process-coding-system):
19378         * man.el (Man-getpage-in-background):
19379         * menu-bar.el (menu-bar-describe-menu):
19380         * server.el (server-process-filter):
19381         * startup.el (command-line):
19382         * tar-mode.el (tar-header-block-tokenize, tar-extract):
19383         * w32-fns.el (set-default-process-coding-system):
19384         * x-dnd.el (x-dnd-handle-file-name):
19385         * international/mule-cmds.el (mule-menu-keymap)
19386         (set-default-coding-systems, language-info-alist, set-language-info)
19387         (set-language-environment, standard-display-european-internal)
19388         (set-locale-environment):
19389         * international/mule-diag.el (mule-diag):
19390         * mail/emacsbug.el (report-emacs-bug):
19391         * mail/rmail.el (rmail-mode):
19392         * mail/sendmail.el (mail-setup):
19393         Use default-value rather than default-enable-multibyte-characters.
19395         * progmodes/f90.el: Move all safe properties into the defcustoms.
19396         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
19398         * calendar/appt.el (appt-check):
19399         * calendar/diary-lib.el (diary-set-header, diary-live-p)
19400         (diary-check-diary-file, diary-list-entries)
19401         (diary-include-other-diary-files, diary-simple-display)
19402         (diary-fancy-display, diary-print-entries)
19403         (diary-mark-included-diary-files, diary-make-entry):
19404         Don't call substitute-in-file-name on diary-file.
19406 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
19407             Stefan Monnier  <monnier@iro.umontreal.ca>
19409         * mail/footnote.el (footnote-prefix): Make it a defcustom.
19410         (footnote-mode-map): Move initialization into the declaration.
19411         (footnote-minor-mode-map): Define it rather than changing global-map.
19412         (footnote-mode): Use define-minor-mode.
19414 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
19416         * net/tramp.el (tramp-handle-file-attributes-with-ls)
19417         (tramp-do-file-attributes-with-perl)
19418         (tramp-do-file-attributes-with-stat): Rename from
19419         `tramp-handle-file-attributes-with-*'.
19420         (tramp-handle-file-attributes): Use them.
19421         (tramp-do-directory-files-and-attributes-with-perl)
19422         (tramp-do-directory-files-and-attributes-with-stat): Rename from
19423         `tramp-handle-directory-files-and-attributes-with-*'.
19424         (tramp-handle-directory-files-and-attributes): Use them.
19425         (tramp-method-out-of-band-p): Additional parameter SIZE.
19426         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
19427         (tramp-handle-write-region): Use it.
19428         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
19429         (tramp-handle-vc-registered): Check, whether the first run did
19430         return files to be tested.
19431         (tramp-advice-make-auto-save-file-name): Do not call directly
19432         `tramp-handle-make-auto-save-file-name', because this would bypass
19433         the locking mechanism.
19435         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
19436         (file-remote-p, process-file, start-file-process, set-file-times)
19437         (tramp-compat-file-attributes): Compatibility functions shall not
19438         call directly `tramp-handle-*', because this would bypass the
19439         locking mechanism.
19440         (tramp-compat-number-sequence): New defun.
19442 2009-09-02  Glenn Morris  <rgm@gnu.org>
19444         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
19445         alias for float-time.
19446         (time-to-number-of-days): In Emacs, use float-time.
19447         * net/newst-backend.el (time-add): Suppress warnings from compat
19448         function.
19449         * time.el (emacs-uptime, emacs-init-time):
19450         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
19451         Use float-time rather than time-to-seconds.
19453         * minibuffer.el (completion-initials-expand): Fix typo.
19455         * faces.el (modeline, modeline-inactive, modeline-highlight)
19456         (modeline-buffer-id):
19457         * info.el (info-menu-5): Mark these face aliases as obsolete.
19459 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19461         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
19462         space ...
19463         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
19464         no "--thread" option.
19465         (gdb-stopped): Don't print "Switched to thread" message when it is
19466         unchanged.
19468 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19470         * minibuffer.el (completion-try-completion)
19471         (completion-all-completions): Remove ill-defined (and
19472         mistakenly installed and luckily never used nor documented)
19473         `completion-styles' property.
19474         (completion-initials-expand, completion-initials-all-completions)
19475         (completion-initials-try-completion): New functions.
19476         (completion-styles-alist): Add doc to each entry.
19477         Add new `initials' entry.
19479 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
19481         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
19482         MI command -var-evaluate-expression.
19483         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
19484         and tweak for case of string child.
19485         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
19487 2009-09-01  Glenn Morris  <rgm@gnu.org>
19489         * add-log.el (change-log-date-face, change-log-name-face)
19490         (change-log-email-face, change-log-file-face, change-log-list-face)
19491         (change-log-conditionals-face, change-log-function-face)
19492         (change-log-acknowledgement-face):
19493         * cus-edit.el (custom-invalid-face, custom-rogue-face)
19494         (custom-modified-face, custom-set-face, custom-changed-face)
19495         (custom-saved-face, custom-button-face, custom-button-pressed-face)
19496         (custom-documentation-face, custom-state-face, custom-comment-face)
19497         (custom-comment-tag-face, custom-variable-tag-face)
19498         (custom-variable-button-face, custom-face-tag-face)
19499         (custom-group-tag-face-1, custom-group-tag-face):
19500         * diff-mode.el (diff-header-face, diff-file-header-face)
19501         (diff-index-face, diff-hunk-header-face, diff-removed-face)
19502         (diff-added-face, diff-changed-face, diff-function-face)
19503         (diff-context-face, diff-nonexistent-face):
19504         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
19505         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
19506         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
19507         (Info-title-4-face):
19508         * isearch.el (isearch-lazy-highlight-face):
19509         * log-view.el (log-view-file-face, log-view-message-face):
19510         * paren.el (show-paren-match-face, show-paren-mismatch-face):
19511         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
19512         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
19513         (cvs-msg-face):
19514         * smerge-mode.el (smerge-mine-face, smerge-other-face)
19515         (smerge-base-face, smerge-markers-face):
19516         * wid-edit.el (widget-documentation-face, widget-button-face)
19517         (widget-field-face, widget-single-line-field-face)
19518         (widget-inactive-face, widget-button-pressed-face):
19519         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
19520         (woman-addition-face):
19521         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
19522         (eshell-ls-executable-face, eshell-ls-readonly-face)
19523         (eshell-ls-unreadable-face, eshell-ls-special-face)
19524         (eshell-ls-missing-face, eshell-ls-archive-face)
19525         (eshell-ls-backup-face, eshell-ls-product-face)
19526         (eshell-ls-clutter-face):
19527         * eshell/em-prompt.el (eshell-prompt-face):
19528         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
19529         * obsolete/old-whitespace.el (whitespace-highlight-face):
19530         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
19531         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
19532         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
19533         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
19534         (antlr-font-lock-literal-face):
19535         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
19536         (ebrowse-root-class-face, ebrowse-file-name-face)
19537         (ebrowse-default-face, ebrowse-member-attribute-face)
19538         (ebrowse-member-class-face, ebrowse-progress-face):
19539         * progmodes/make-mode.el (makefile-space-face):
19540         * progmodes/sh-script.el (sh-heredoc-face):
19541         * textmodes/flyspell.el (flyspell-incorrect-face)
19542         (flyspell-duplicate-face):
19543         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
19544         * textmodes/texinfo.el (texinfo-heading-face):
19545         Mark face aliases with "-face" suffix as obsolete.
19547         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
19548         compiler.
19550         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
19551         (eudc-bob-sound-menu): Use defvar rather than defconst, since
19552         easy-menu-define wants to modify these.
19554         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
19556         * net/browse-url.el (browse-url-file-url):
19557         * term/internal.el (dos-codepage-setup):
19558         Use default-value rather than default-enable-multibyte-characters.
19560         * progmodes/etags.el (etags-goto-tag-location):
19561         * progmodes/flymake.el (flymake-highlight-line)
19562         (flymake-goto-file-and-line, flymake-goto-line):
19563         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
19564         (gdb-goto-breakpoint):
19565         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
19566         * progmodes/python.el (python-find-function)
19567         (python-pdbtrack-track-stack-file):
19568         * progmodes/verilog-mode.el (verilog-surelint-off):
19569         * term/ns-win.el (ns-open-file-select-line):
19570         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
19571         Use forward-line rather than goto-line.
19573         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
19574         * textmodes/reftex-index.el (reftex-display-index):
19575         * textmodes/reftex-ref.el (reftex-offer-label-menu):
19576         * textmodes/reftex-toc.el (reftex-toc):
19577         Remove unnecessary bindings of default-major-mode (all are followed by
19578         major-mode check and possible mode switch).
19580 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19582         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
19583         Handle watchpoints (bug#4282).
19584         (def-gdb-thread-buffer-command): Enable thread to be selected by
19585         clicking without selecting threads buffer first.
19586         (gdb-current-context-command): Use selected frame so that "up",
19587         "down" etc work in the GUD buffer.
19588         (gdb-update): Find selected frame before rendering stack buffer.
19589         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
19591 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19593         * progmodes/sym-comp.el (displayed-completions): Remove.
19594         (symbol-complete): Use minibuffer-complete.
19596 2009-08-31  Glenn Morris  <rgm@gnu.org>
19598         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
19600         * apropos.el (apropos-symbols-internal):
19601         Handle (obsolete) face aliases.
19603         * faces.el (describe-face): Adjust the output format to be more like
19604         describe-variable, and to mention (obsolete) face aliases.
19605         Adjust the whitespace so that help-setup-xref works.
19607         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
19608         * calendar/diary-lib.el (diary-button-face):
19609         Mark these face aliases as obsolete.
19611         * calendar/calendar.el (calendar-today): Doc fix.
19613 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
19615         * progmodes/gdb-mi.el (gdb-control-all-threads)
19616         (gdb-control-current-thread): Force tool bar update.
19617         (gdb-non-stop-handler): New function.
19618         (gdb-init-1): Use it to test if non-stop mode is supported.
19619         Remove unused gdbmi buffer type.
19621 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
19623         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
19624         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
19626 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
19628         * comint.el (comint-exec-1): Check command is non-null first.
19629         Part of gdb-mi.el change (2009-08-28).
19631 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19633         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
19635 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
19637         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
19638         instead of `dolist' to avoid a recursive require when bootstrapping.
19640 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19642         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
19644         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
19646         * net/imap.el (imap-send-command): Simplify.
19647         (imap-wait-for-tag): point-max -> buffer-size.
19649         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
19651         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
19652         with constant argument.
19654         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
19656         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
19658         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
19659         Change default, since most of our files don't have a history.
19660         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
19661         the user.
19663         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19664         Add comint-run.
19666         * calc/calc.el: Improve commenting convention.
19667         (calc-digit-map, toplevel): Simplify.
19669         * comint.el (comint-insert-input): Be careful to only set point if we
19670         don't delegate to some other command.
19672         * proced.el (proced-signal-list): Make it an alist.
19673         (proced-grammar-alist): Capitalize names.
19674         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
19675         Disable undo manually and make it read-only.
19676         Use completion-annotate-function.
19678         * minibuffer.el (minibuffer-message): If the current buffer is not
19679         a minibuffer, insert the message in the echo area rather than at the
19680         end of the buffer.
19681         (completion-annotate-function): New variable.
19682         (minibuffer-completion-help): Use it.
19683         (completion--embedded-envvar-table): Environment vars are
19684         always case-sensitive.
19686 2009-08-30  Glenn Morris  <rgm@gnu.org>
19688         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
19689         from fortran-current-defun.
19690         (fortran-beginning-of-subprogram): Be more precise about finding the
19691         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
19692         (fortran-end-of-subprogram): Simplify.
19693         (fortran-current-defun): Use fortran-start-prog-re.
19695 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
19697         * subr.el (do-after-load-evaluation): Simplify.
19699 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
19701         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
19703         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
19704         (vc-rcs-print-log): Use it.
19706         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
19708 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
19710         * paths.el (abbrev-file-name): Move to abbrev.el.
19711         * abbrev.el (abbrev-file-name): Move from paths.el.
19712         Obey user-emacs-directory.
19713         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
19714         user-emacs-directory.
19715         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
19716         abbrev-file-name and calc-settings-file any more.
19717         * startup.el (command-line): Recompute abbrev-file-name and
19718         abbreviated-home-dir.
19719         (normal-no-mouse-startup-screen): Improve the generic code and get rid
19720         of the special code for when C-h bindings haven't been changed.
19721         (display-startup-echo-area-message): Use with-current-buffer.
19722         (command-line-1): Use a list of strings, rather than a list of lists
19723         of strings for longopts.
19725         * files.el (get-free-disk-space): Use / for default-directory.
19727         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
19728         Use with-current-buffer.
19730         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
19731         Recognize immutable variables like most-positive-fixnum.
19732         (byte-compile-setq-default): Check and warn if trying to assign
19733         to an immutable variable, or a non-variable.
19735         * progmodes/cc-vars.el (c-comment-continuation-stars):
19736         * progmodes/cc-engine.el (c-looking-at-bos):
19737         * progmodes/cc-cmds.el (c-toggle-auto-state)
19738         (c-forward-into-nomenclature, c-backward-into-nomenclature)
19739         (c-comment-line-break-function): Add version of obsolescence.
19741 2009-08-28  Juri Linkov  <juri@jurta.org>
19743         * files.el (magic-fallback-mode-alist): Add ZIP magic number
19744         associated with `archive-mode'.
19746         * image.el (image-type-header-regexps): Use only JPEG magic number
19747         to determine JPEG images, and don't use `image-jpeg-p' because
19748         Emacs can display non-JFIF non-Exif JPEG images.
19750 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19752         * arc-mode.el (archive-mode):
19753         * emacs-lisp/re-builder.el (re-builder-unload-function):
19754         Protect against the default value of `major-mode' being nil.
19756 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
19758         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
19759         Fix typos in docstrings.
19761         * progmodes/js.el (js--macro-decl-re): Doc fix.
19762         (js--plain-method-re, js--split-name): Refloc docstring.
19763         (js--class-styles, js--make-merged-item, js--splice-into-items):
19764         Fix typos in docstrings; reflow docstrings.
19765         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
19766         (js--variable-decl-matcher, js--inside-pitem-p)
19767         (js--parse-state-at-point, js--get-all-known-symbols)
19768         (js--symbol-history, js-find-symbol, js--js-references)
19769         (js--moz-interactor, js--js-encode-value, js--read-tab):
19770         Fix typos in docstrings.
19772 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19774         * textmodes/reftex.el (reftex-get-file-buffer-force):
19775         * progmodes/verilog-mode.el (verilog-batch-execute-func):
19776         * emulation/viper.el (viper-go-away, viper-set-hooks):
19777         * emacs-lisp/re-builder.el (re-builder-unload-function):
19778         * emacs-lisp/bytecomp.el (byte-compile-file):
19779         * ses.el (ses-unload-function):
19780         * hexl.el (hexl-find-file):
19781         * files.el (normal-mode):
19782         * ehelp.el (with-electric-help):
19783         * autoinsert.el (auto-insert-alist):
19784         * arc-mode.el (archive-mode):
19785         Use (default-value 'major-mode) instead of default-major-mode.
19787         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19788         * international/mule.el (load-with-code-conversion):
19789         * emacs-lisp/debug.el (debug):
19790         * ediff-vers.el (ediff-rcs-get-output-buffer):
19791         * dired.el (dired-internal-noselect): Don't let-bind
19792         default-major-mode around code that doesn't use it.
19793         E.g. buffer creation via get-buffer-create doesn't use it.
19795 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19797         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19798         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19799         when writing the temp file.  Otherwise, epa-file gets confused.
19800         (tramp-register-file-name-handlers): Make it a defun.  Move also
19801         `epa-file-handler' to the front of `file-name-handler-alist'.
19803 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19805         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19806         start right after a ^M.
19807         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19808         (tramp-completion-file-name-regexp-separate)
19809         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19810         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19811         Don't modify last-coding-system-used by accident.
19812         (tramp-completion-file-name-handler): Apply the checks here,
19813         instead during registration.
19814         (tramp-register-file-name-handlers): Rename from
19815         `tramp-register-file-name-handler'.  Register both
19816         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19817         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19819 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19821         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19822         Remove variable ...
19823         (gdb-init-1, gdb-display-separate-io-buffer)
19824         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19825         references to it.
19826         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19827         (gdb-inferior-filter): Use comint-output-filter to stop
19828         echoing and remove ^M characters.
19830 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19832         * emulation/viper-init.el (viper-restore-cursor-type):
19833         * emulation/cua-base.el (cua--update-indications):
19834         Replace default-cursor-type with (default-value 'cursor-type).
19836         * mail/sendmail.el (mail-recover-1):
19837         * international/mule-diag.el (describe-current-coding-system-briefly)
19838         (describe-current-coding-system):
19839         * international/mule-cmds.el (select-safe-coding-system)
19840         (select-message-coding-system)
19841         (set-language-environment-coding-systems, set-locale-environment):
19842         * hexl.el (hexl-insert-multibyte-char):
19843         * dos-w32.el (find-buffer-file-type-coding-system):
19844         * simple.el (what-cursor-position):
19845         Replace uses of default-buffer-file-coding-system
19846         with (default-value 'buffer-file-coding-system).
19848         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19849         Replace uses of default-cursor-in-non-selected-windows
19850         with (default-value 'cursor-in-non-selected-windows).
19851         Use with-current-buffer.
19853         * mail/feedmail.el: Use CL macros.
19854         (feedmail-run-the-queue, feedmail-send-it-immediately):
19855         * dos-w32.el (find-buffer-file-type): Replace uses of
19856         default-buffer-file-type with (default-value 'buffer-file-type).
19858 2009-08-28  Glenn Morris  <rgm@gnu.org>
19860         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19861         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19862         Use default-value of major-mode rather than default-major-mode.
19864 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19866         * Makefile.in (update-elcfiles): Report left over elc files.
19868         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19869         expand-file-name and with-current-buffer.
19870         (mail-get-names, mail-directory): Use with-current-buffer.
19872         * vc.el (vc-read-revision): New function.
19873         (vc-version-diff, vc-merge): Use it.
19875 2009-08-27  Sam Steingold  <sds@gnu.org>
19877         * simple.el (kill-do-not-save-duplicates): New user option.
19878         (kill-new): When it is non-nil, and the new string is the same as
19879         the latest kill, set replace to t to avoid duplicates in kill-ring.
19881 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
19883         * net/tramp.el (tramp-handle-process-file): Do not flush all
19884         caches when `process-file-side-effects' is set.
19885         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19886         instead of `tramp-find-file-exists-command'.
19887         Unset `process-file-side-effects'.
19889 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
19891         * net/tramp.el (tramp-methods): New method "rsyncc".
19892         (top): Add completion function for "rsyncc".
19893         (tramp-message-show-message): New defvar.
19894         (tramp-message, tramp-error): Use it.
19895         (tramp-do-copy-or-rename-file-directly): Extend check for direct
19896         remote copying.
19897         (tramp-do-copy-or-rename-file-out-of-band): Handle new
19898         `tramp-methods' entry `copy-env' of "rsyncc".
19899         (tramp-vc-registered-read-file-names): New defconst.
19900         (tramp-vc-registered-file-names): New defvar.
19901         (tramp-handle-vc-registered): Implement optimization strategy.
19902         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19903         (tramp-vc-file-name-handler): New defun.
19904         (tramp-get-ls-command, tramp-get-test-command)
19905         (tramp-get-file-exists-command, tramp-get-remote-ln)
19906         (tramp-get-remote-perl, tramp-get-remote-stat)
19907         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19909         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19910         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
19911         timestamps.
19912         (tramp-get-file-property): Check for timestamps in
19913         `tramp-cache-inhibit-cache'.
19914         (tramp-set-file-property): Write timestamp.
19916 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19918         * language/japan-util.el (japanese-symbol-table): Add entries for
19919         cp932-2-byte.
19921         * international/characters.el: Add category `j' to cp932-2-byte.
19923 2009-08-27  Kenichi Handa  <handa@m17n.org>
19925         * international/fontset.el (build-default-fontset-data): New macro.
19926         (setup-default-fontset): Use build-default-fontset-data for CJK,
19927         tibetan, ethiopic, and ipa.
19929 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19931         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19932         (enable-multibyte-characters): Not customizable any more.
19934         * subr.el (default-mode-line-format, default-header-line-format)
19935         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19936         (default-direction-reversed, default-truncate-lines)
19937         (default-left-margin, default-tab-width, default-case-fold-search)
19938         (default-left-margin-width, default-right-margin-width)
19939         (default-left-fringe-width, default-right-fringe-width)
19940         (default-fringes-outside-margins, default-scroll-bar-width)
19941         (default-vertical-scroll-bar, default-indicate-empty-lines)
19942         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19943         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19944         (default-scroll-down-aggressively, default-fill-column)
19945         (default-cursor-type, default-buffer-file-type)
19946         (default-cursor-in-non-selected-windows)
19947         (default-buffer-file-coding-system, default-major-mode)
19948         (default-enable-multibyte-characters): Mark as obsolete.
19950 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19952         * vc-dir.el (vc-dir-update): Remove debug helper.
19954         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19956 2009-08-26  Sam Steingold  <sds@gnu.org>
19958         * simple.el (save-interprogram-paste-before-kill): New user option.
19959         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19960         save the interprogram-paste into kill-ring before overriding it
19961         with the Emacs kill.
19963 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19965         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19966         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19967         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19968         and move to vc-rcs.el.
19969         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19970         move to vc-rcs.el.
19971         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19972         (vc-rcs-update-changelog): Remove.
19973         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19974         and move to vc-rcs.el.
19976         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19977         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19978         renaming.
19979         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19980         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19981         vc.el, renamed to be RCS specific.
19983         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19984         New functions.
19985         (vc-cvs-update-changelog): Move here from vc.el.
19987         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19988         New functions.
19990 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19992         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19994 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19996         * vc-git.el (vc-git-register): Use "git add" for directories.
19997         (vc-git-stash, vc-git-stash-show): New functions.
19998         (vc-git-extra-menu-map): Bind them.
20000         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20001         directory correctly in case the item is a directory itself.
20003         * vc.el: Document the desired behavior for reverted files in the
20004         `added' state.
20005         (vc-default-prettify-state-info): Remove function, unused.
20007         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20009 2009-08-26  Glenn Morris  <rgm@gnu.org>
20011         * bindings.el (standard-mode-line-format): Reposition dashes in
20012         which-func entry.  (Bug#4217)
20014         * files.el (enable-local-variables, enable-local-eval)
20015         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20016         the defcustoms.
20017         (auto-mode-alist, ignored-local-variables)
20018         (save-some-buffers-action-alist): Move risky declarations to the
20019         definitions.
20020         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20021         (font-lock-defaults, format-alist, imenu--index-alist)
20022         (imenu-generic-expression, input-method-alist, minor-mode-alist)
20023         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20024         (mode-line-modified, mode-line-mule-info, mode-line-position)
20025         (mode-line-process, mode-line-remote, outline-level)
20026         (parse-time-rules, rmail-output-file-alist)
20027         (special-display-buffer-names, vc-mode):
20028         Move risky declarations to the relevant files.
20029         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20030         (mode-line-modified, mode-line-process, mode-line-position)
20031         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20032         * font-core.el (font-lock-defaults):
20033         * format.el (format-alist):
20034         * vc-hooks.el (vc-mode):
20035         * window.el (special-display-buffer-names):
20036         * international/mule-cmds.el (input-method-alist):
20037         Define riskiness here (dumped file) rather than in files.el.
20038         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20039         * imenu.el (imenu-generic-expression, imenu--index-alist):
20040         * outline.el (outline-level):
20041         * time.el (display-time-string):
20042         * calendar/parse-time.el (parse-time-rules):
20043         * mail/rmailout.el (rmail-output-file-alist):
20044         Autoload riskiness here, rather than placing in files.el.
20046 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
20048         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20050 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
20052         * simple.el (process-file-side-effects): New defvar.
20054         * dired-aux.el (dired-show-file-type):
20055         * vc.el (vc-diff-internal):
20056         * vc-arch.el (vc-arch-diff):
20057         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20058         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20059         * vc-git.el (vc-git-registered, vc-git-working-revision)
20060         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20061         (vc-git--empty-db-p):
20062         * vc-hooks.el (vc-user-login-name):
20063         * vc-svn.el (vc-svn-registered, vc-svn-state)
20064         (vc-svn-dir-extra-headers, vc-svn-find-revision):
20065         * progmodes/grep.el (grep-probe): Let-bind
20066         `process-file-side-effects' with nil.
20068         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20070         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20071         daemon.  Replace ping by checking for running service for bluez
20072         and zeroconf.  (Bug#4239)
20074 2009-08-25  Kevin Ryde  <user42@zip.com.au>
20076         * net/dig.el (dig): Add autoload cookie.
20078 2009-08-25  Glenn Morris  <rgm@gnu.org>
20080         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20081         load-history for absolute file-names.
20082         (byte-compile-file-form-require): Warn about use of the cl package.
20084         * format.el (format-alist): Doc fix.
20086         * play/bubbles.el (top-level): Don't require cl at run-time.
20088         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20089         run-time cl).
20091 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
20093         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20094         from cl package.
20095         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20097 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
20099         * calc/calc-alg.el (math-trig-rewrite)
20100         (math-hyperbolic-trig-rewrite): New functions.
20101         (calc-simplify): Simplify trig functions when asked.
20103 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20105         * diff-mode.el (diff-find-source-location): Avoid goto-line.
20107 2009-08-24  Kenichi Handa  <handa@m17n.org>
20109         * language/ind-util.el (mapthread): Delete it.
20110         (combinatorial): New function.
20111         (indian--puthash-cv): Use combinatorial instead of mapthread.
20113 2009-08-22  Kevin Ryde  <user42@zip.com.au>
20115         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20116         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20117         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20118         Clarify docstring that the value is strings not symbols.
20119         (checkdoc-list-of-strings-p): New function.
20121 2009-08-22  Glenn Morris  <rgm@gnu.org>
20123         * files.el (auto-mode-alist):
20124         * hippie-exp.el (he-concat-directory-file-name):
20125         * lpr.el (lpr-windows-system, printer-name):
20126         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20127         * ps-print.el (ps-windows-system):
20128         * startup.el (command-line):
20129         * emulation/viper-ex.el (viper-glob-function):
20130         * international/mule-cmds.el (set-language-environment-coding-systems):
20131         * net/ange-ftp.el (ange-ftp-write-region):
20132         * obsolete/fast-lock.el (fast-lock-cache-name):
20133         Remove code for defunct system-types emx, macos, mswindows, next-mach,
20134         unisoft-unix, vax-vms, win32, w32.
20136         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
20137         given name if the pattern is not more specific.
20139         * calendar/lunar.el (lunar-phase-names): New option.
20140         (lunar-phase): Doc fix.
20141         (lunar-cycles-per-year): New constant.
20142         (lunar-index): New function.
20143         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
20144         (lunar-phase-name): Use lunar-phase-names.
20145         (calendar-lunar-phases): Use format.
20146         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
20148         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
20149         Copy imenu-example--name-and-position function here for own use.
20150         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
20152         * bs.el (bs--redisplay):
20153         * cus-edit.el (custom-redraw):
20154         * ibuffer.el (ibuffer-bury-buffer):
20155         * server.el (server-goto-line-column):
20156         * startup.el (command-line-1):
20157         * strokes.el (strokes-xpm-for-stroke):
20158         * term.el (term-display-buffer-line):
20159         * view.el (View-goto-line):
20160         * calc/calc.el (calc-do, calc-trail-buffer):
20161         * play/gamegrid.el (gamegrid-add-score-insecure):
20162         * progmodes/ada-mode.el (ada-compile-goto-error):
20163         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
20164         (ebrowse-select-1st-to-9nth):
20165         * progmodes/cperl-mode.el (cperl-time-fontification):
20166         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
20167         * progmodes/gud.el (gud-display-line):
20168         (idlwave-shell-display-line):
20169         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
20170         * progmodes/make-mode.el (makefile-browser-toggle):
20171         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
20172         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
20173         * textmodes/picture.el (picture-draw-rectangle):
20174         * textmodes/reftex-index.el (reftex-index-goto-letter):
20175         (reftex-select-jump-to-previous):
20176         * textmodes/reftex-sel.el (reftex-find-start-point)
20177         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
20178         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
20179         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
20180         * textmodes/tex-mode.el (tex-compilation-parse-errors):
20181         * textmodes/two-column.el (2C-associated-buffer):
20182         Use forward-line rather than goto-line.
20184         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
20185         goto-line.
20187         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
20188         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
20189         (quick-check-list-to-regexp): Declare.
20191         * progmodes/make-mode.el (makefile-browser-insert-selection):
20192         Use goto-char rather than goto-line.
20194         * progmodes/prolog.el (compilation-error-regexp-alist)
20195         (compilation-forget-errors): Declare.
20197 2009-08-22  Juri Linkov  <juri@jurta.org>
20199         * progmodes/grep.el (lgrep, rgrep): At the beginning
20200         set `dir' to `default-directory' unless `dir' is a non-nil
20201         readable directory.  (Bug#4052)
20202         (lgrep, rgrep): Change a weird way to report an error
20203         from using `read-string' to using `error'.
20204         Instead of using interactive arguments in the function body,
20205         add new argument `confirm'.
20207 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20209         * textmodes/remember.el (remember-buffer):
20210         * progmodes/cperl-mode.el (cperl-vc-header-alist):
20211         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
20212         (icalendar-extract-ical-from-buffer):
20213         * net/newst-treeview.el (newsticker-groups-filename):
20214         * net/newst-backend.el (newsticker-cache-filename):
20215         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
20216         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
20217         (speedbar-add-ignored-path-regexp, speedbar-line-path)
20218         (speedbar-buffers-line-path, speedbar-path-line)
20219         (speedbar-buffers-line-path):
20220         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
20221         (epg-sign-keys):
20222         * epa.el (epa-display-verify-result):
20223         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
20225 2009-08-21  Glenn Morris  <rgm@gnu.org>
20227         * progmodes/js.el (inferior-moz-process): Fix declaration.
20229         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
20231         * obsolete/rnewspost.el (news-mail-reply):
20232         Use goto-char rather than goto-line.
20234         * term/ns-win.el (ns-open-file-select-line):
20235         Use line-beginning-position rather than goto-line.
20237         * apropos.el (apropos-command):
20238         * ehelp.el (electric-helpify):
20239         * printing.el (pr-show-setup):
20240         * strokes.el (strokes-help):
20241         * tutorial.el (tutorial--describe-nonstandard-key)
20242         (tutorial--detailed-help):
20243         * woman.el (woman-mini-help, woman-display-extended-fonts):
20244         * calc/calc-help.el (calc-describe-key):
20245         * emulation/edt.el (edt-electric-helpify):
20246         * international/mule-diag.el (mule-diag):
20247         * play/yow.el (apropos-zippy):
20248         * progmodes/python.el (python-describe-symbol):
20249         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
20250         * textmodes/table.el (*table--cell-describe-mode)
20251         (*table--cell-describe-bindings):
20252         Use help-print-return-message rather than the now obsolete alias.
20254         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
20255         (calendar-cursor-to-visible-date):
20256         * play/5x5.el (5x5-position-cursor):
20257         * play/decipher.el (decipher):
20258         * play/gomoku.el (gomoku-goto-xy):
20259         * play/landmark.el (lm-goto-xy):
20260         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
20261         (mpuz-paint-digit):
20262         Use forward-line, not goto-line.
20264         * mail/rmail.el (rmail-obsolete): Delete custom group.
20265         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
20266         (rmail-remote-password, rmail-remote-password-required):
20267         Remove unneeded :set-after and :set properties.
20269 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
20271         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
20273 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
20275         * loadup.el: Remove leftover macos code.
20277         * vc-git.el (vc-git-annotate-command): Run asynchronously.
20278         Explicitly pass the date format to git blame so that user local
20279         so that the output format can be parsed.
20281 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
20283         * net/dbus.el (top): Don't check for (getenv
20284         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
20286 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
20288         * log-edit.el (log-edit-strip-single-file-name): New var.
20289         (log-edit-insert-changelog): Use it.  Bug#3571
20291 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20293         * subr.el (read-passwd): Use read-key so keypad keys work as well.
20294         Bug#3287
20296         * help.el (help-print-return-message): Rename from
20297         print-help-return-message.
20299         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
20300         cvs-mode-map parent hack.
20301         (log-view-mode): Derive from special-mode.
20303         * linum.el (linum-mode): window-size-change-functions is redundant.
20304         Adapt to new window-configuration-change-hook behavior.
20305         (linum-after-size, linum-after-config): Remove.
20307         * imenu.el (imenu-example--name-and-position)
20308         (imenu-example--lisp-extract-index-name)
20309         (imenu-example--create-lisp-index, imenu-example--create-c-index):
20310         Mark as obsolete.
20312         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
20313         (inferior-prolog-mode): Use it.
20314         (inferior-prolog-load-file): Reset list of errors.
20316 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
20318         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
20320         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
20322 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
20324         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
20325         is running already.
20327 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20329         * subr.el (listify-key-sequence-1): Use normal syntax since those
20330         integers are nowadays always represented by the same (positive) number
20331         on all platforms.
20332         (read-key-empty-map): New const.
20333         (read-key-delay): New var.
20334         (read-key): New function.
20335         (force-mode-line-update): Use with-current-buffer.
20336         (locate-user-emacs-file): Don't forget to abbreviate the file name.
20337         (start-process-shell-command, start-file-process-shell-command):
20338         Discourage the use of command-args.
20340 2009-08-19  Glenn Morris  <rgm@gnu.org>
20342         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
20344 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20346         * simple.el (choose-completion-string): Don't rely on
20347         minibuffer-completing-file-name and ad-hoc checks to decide whether
20348         to continue completion or not.
20350         * minibuffer.el (minibuffer-hide-completions): New function.
20351         (completion--do-completion): Use it.
20352         (completions-annotations): New face.
20353         (completion--insert-strings): Use it.
20354         (completion-pcm--delim-wild-regex): Add docstring.
20355         (completion-pcm--string->pattern): Add support for 0-width delimiters
20356         in completion-pcm--delim-wild-regex.
20358 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20360         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
20361         Remove unused var `buffer-modified-p'.
20363         * minibuffer.el (completion--do-completion): Move point for the #b001
20364         case as well (bug#4176).
20365         (minibuffer-complete, minibuffer-complete-word): Don't move point.
20367 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
20369         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
20370         and :session buses.
20372 2009-08-18  Kenichi Handa  <handa@m17n.org>
20374         * international/ucs-normalize.el (ucs-normalize-version):
20375         Change to 1.1.
20376         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
20377         (utf-8-hfs): Make it perform normalization on encoding too.
20379         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
20380         (sentence-end-without-space): Delete duplicated chars.
20381         (sentence-end-base): Likewise.
20383         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
20384         (html-mode): Delete duplicated chars from sentence-end-base.
20386         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
20387         (texinfo-mode): Delete duplicated chars from sentence-end-base.
20389 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
20391         * files.el (hack-one-local-variable): If the mode function is for
20392         a minor mode, pass it an argument (Bug#4148).
20394 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
20396         * net/tramp.el (tramp-register-completion-file-name-handler):
20397         Check also for (member 'partial-completion completion-styles).
20399 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20401         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
20402         abbrev (Bug#3943).
20404 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
20406         * progmodes/cperl-mode.el: Merge upstream 6.2.
20407         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
20408         (cperl-forward-re): Check cperl-brace-recursing.
20409         (cperl-highlight-charclass): New function.
20410         (cperl-find-pods-heres): Use it.
20411         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
20412         (cperl-beautify-regexp-piece): Fix column calculation.
20413         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
20414         (cperl-beautify-level): Don't process entire regexp.
20415         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
20416         calling man.
20417         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
20418         (cperl-init-faces): Build a list in the normal way.
20420 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20422         * calendar/parse-time.el (parse-time-string-chars): Save match
20423         data.
20425 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
20427         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
20428         (sql-product): Use it.
20429         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
20430         (sql-set-product): Add completion.
20431         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
20432         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
20433         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
20434         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
20435         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
20436         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
20437         (sql-highlight-db2-keywords): Remove.
20438         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
20439         (sql-highlight-product): Use derived-mode-p.
20440         (sql-set-sqli-buffer): Use with-current-buffer.
20441         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
20442         Simplify.
20444         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
20446         * term.el: Fix commenting convention, turn comments into docstrings.
20448 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20450         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
20452 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
20454         * calendar/parse-time.el (parse-time-string-chars): Compute using
20455         character classes, to handle non-ascii characters (Bug#3190).
20457 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
20459         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
20460         another heredoc if the user adds another < (Bug#3226).
20462         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
20463         Don't initialize based on window-system (Bug#4124).
20465         * facemenu.el (facemenu-read-color): Use a completion function
20466         that accepts any defined color, such as RGB triplets (Bug#3677).
20468         * files.el (get-free-disk-space): Change fallback default
20469         directory to /.  Expand DIR argument before switching to fallback.
20470         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
20472 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20474         * files.el (load-library): Doc fix.
20476 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
20478         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
20479         (viper-if-string): Redefine C-s in the minibuffer to insert the last
20480         incremental search string.
20482         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
20483         XEmacs.
20485         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
20486         (ediff-merge-region-is-non-clash)
20487         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
20488         Also check if the job is really a merge job.
20490         * ediff.el (ediff-current-file): New function.
20492 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
20494         * progmodes/js.el: Edit docstrings throughout to follow Emacs
20495         conventions.
20496         (js-insert-and-indent): Delete function.
20497         (js-mode-map): Don't bind keys to js-insert-and-indent.
20498         (js-beginning-of-defun): Rename from js--beginning-of-defun.
20499         (js-end-of-defun): Rename from js--end-of-defun.
20500         (js-auto-indent-flag): Delete variable.
20502 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
20504         * progmodes/js.el: Remove proclaim statement.
20505         Defvar which-func-imenu-joiner-function to silence compiler.
20507         * files.el (auto-mode-alist): Use js-mode for .js files.
20509         * progmodes/js2-mode.el: Remove file.
20511         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
20513         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
20515         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
20517 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
20518             Karl Landstrom  <karl.landstrom@brgeight.se>
20520         * progmodes/js.el: New file.
20522 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
20524         * timezone.el (timezone-parse-date): Add ability to understand ISO
20525         basic format (minimal separators) dates in addition to the
20526         already-supported extended format dates.
20528 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
20530         * international/ucs-normalize.el: Add a `coding' file variable.
20532         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
20534 2009-08-14  Sam Steingold  <sds@gnu.org>
20536         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
20538 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
20540         * faces.el (help-argument-name): Define it here instead of
20541         help-fns.el, because in daemon mode help-fns.el may be loaded when
20542         faces are still uninitialized (Bug#1078).
20544         * help-fns.el (help-argument-name): Move defface to faces.el.
20546 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
20548         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
20549         create buffer with a pty but no process so that GDB can make the
20550         inferior the controlling process.
20552 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
20554         * international/ucs-normalize.el: New file.
20556 2009-08-13  Richard Stallman  <rms@gnu.org>
20558         * mail/rmail.el (rmail-get-attr-names):
20559         Accept an attribute header that is too short.
20561         * mail/rmail.el (rmail-forget-messages):
20562         Ignore nil elt in rmail-message-vector.  Use dotimes.
20564         * progmodes/compile.el (compilation-goto-locus):
20565         Use next-error-move-function.
20567         * simple.el (next-error-move-function): New variable.
20569 2009-08-12  Juri Linkov  <juri@jurta.org>
20571         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
20572         always non-nil.  (Bug#4052)
20574         * replace.el (read-regexp): Return empty string when
20575         `default-value' is nil.
20576         (keep-lines-read-args): Don't use empty string as the
20577         default value for `read-regexp'.  (Bug#2495)
20579 2009-08-12  Juri Linkov  <juri@jurta.org>
20581         * international/mule-cmds.el (ucs-insert): Change arguments
20582         from `arg' to `character', `count', `inherit' to be the same
20583         as in `insert-char'.  Doc fix.  (Bug#4039)
20585         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
20587 2009-08-12  Juri Linkov  <juri@jurta.org>
20589         * files-x.el: New file.
20591         * files.el: Move code that deals with adding/deleting
20592         file/directory-local variables to files-x.el.
20594         * Makefile.in (ELCFILES): Add files-x.elc.
20596 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
20598         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
20599         to use `goto-line'.
20600         (gdb-place-breakpoints, gdb-get-location): Rewritten without
20601         `goto-line'.
20602         (gdb-invalidate-disassembly): Do not refresh upon receiving
20603         'update signal.  Instead, update all disassembly buffers only after
20604         threads list.
20605         (gdb): Send -target-detach when buffer is killed (Bug#3794).
20606         (gdb-starting): Move -data-list-register-names...
20607         (gdb-stopped): ...here so it's sent when first thread stops.
20608         (gdb-registers-handler-custom): Do nothing if register names are
20609         unknown yet.
20611         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
20612         from `gdb-mi.el' to avoid extra tangling.
20614         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
20615         change which breaks `gud-def' definitions used in `gdb'.
20616         (gdb-update-gud-running): No extra fuss for updating frame number.
20618 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20620         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
20621         (describe-language-environment-map, setup-language-environment-map)
20622         (set-coding-system-map): Move initialization into declaration.
20623         (set-language-info-alist): Last arg to define-key-after can be skipped.
20625         * international/quail.el (quail-completion-1): Simplify.
20626         (quail-define-rules): Use slightly more compact code.
20627         (quail-insert-decode-map): Propertize keys, compact columns.
20629         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20630         Add goto-line.
20632 2009-08-10  Miles Bader  <miles@gnu.org>
20634         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
20635         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
20636         (js2-instance-member, js2-private-member, js2-private-function-call)
20637         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
20638         (js2-magic-paren, js2-external-variable):
20639         Remove "-face" suffix from face names.
20640         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
20641         (js2-highlight-undeclared-vars, js2-peek-token)
20642         (js2-parse-function-params, js2-mode-show-errors)
20643         (js2-mode-show-warnings, js2-make-magic-delimiter)
20644         (js2-mode-highlight-magic-parens): Update to use new face names.
20646 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
20648         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
20649         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
20651 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
20653         * subr.el: Provide hashtable-print-readable.
20655         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
20656         hs-c-like-adjust-block-beginning.
20657         (hs-hide-block-at-point): Stop hiding at the beginning of
20658         hs-block-end-regexp (Bug#700).
20660 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
20662         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
20663         a macro.
20664         (gdb-registers-handler-custom): Do not fail when register names
20665         are unavailable.
20667 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20669         * progmodes/gdb-mi.el (gdb-control-all-threads)
20670         (gdb-control-current-thread): Interactive setters for
20671         `gdb-gud-control-all-threads' to use in menu.
20672         (gdb-show-run-p): Show «Go» when process is not active.
20673         (gud-tool-bar-map): Add non-stop/A,T indicator.
20674         Uses gud/thread.xpm and gud/all.xpm.
20676 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
20678         * net/net-utils.el (net-utils-font-lock-keywords): New var.
20679         (nslookup-font-lock-keywords): Make it a variable.
20680         (net-utils-mode): New mode for viewing diagnostic network output.
20681         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
20682         (net-utils-run-simple): New function.
20683         (ifconfig, iwconfig, netstat, arp, route): Use it.
20685 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
20687         * progmodes/gdb-mi.el (gdb-read-memory-custom)
20688         (gdb-memory-set-address, def-gdb-set-positive-number)
20689         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
20690         after changing settings.
20691         (gdb-invalidate-disassembly): Update when first shown.
20692         (gdb-edit-locals-value): Fixed.
20693         (gdb-registers-handler-custom): Print registers in right order and
20694         allow changing register values (only for current thread yet).
20695         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
20696         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
20697         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
20698         (gdb-locals-handler-custom, gdb-registers-handler-custom):
20699         Thread info in mode name.
20700         (gdb-registers-mode-map): TAB to switch to locals.
20702 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
20704         * mail/rmail.el (rmail-add-mbox-headers)
20705         (rmail-set-message-counters-counter): Search for
20706         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
20708 2009-08-08  Glenn Morris  <rgm@gnu.org>
20710         * Makefile.in (ELCFILES): Update.
20712 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20714         * mail/sendmail.el (mail-yank-original):
20715         Set buffer-file-coding-system from the one used by the message whose
20716         text is yanked.
20718         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
20719         to "windows" when "pgnuplot" is used.
20720         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
20721         Don't call accept-process-output if "pgnuplot" is used.
20722         (calc-graph-init): Don't send -display and -geometry to
20723         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
20724         running "pgnuplot -V" with shell-command-to-string.
20726         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
20727         the default.
20729 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
20731         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
20732         org/org-latex.elc.
20734 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
20736         * vc-dispatcher.el (vc-resynch-window): Update comment.
20738         * term.el (term-handle-ansi-escape): Add comments with the
20739         terminfo capabilities implemented.
20741 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
20743         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
20744         (gdb-var-create-handler): Rewritten using JSON parser.
20745         (gdb-propertize-header): Move earlier.
20746         (gdb-set-header): Remove to avoid duplication.
20747         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
20748         Refresh disassembly buffers only after threads list have been
20749         update.
20750         (gdb-threads-header, gdb-registers-header): Per-buffer header line
20751         variables.
20753 2009-08-04  Juri Linkov  <juri@jurta.org>
20755         * files.el: Commands to add/delete file/directory-local variables.
20756         (read-file-local-variable, read-file-local-variable-value)
20757         (read-file-local-variable-mode, modify-file-local-variable)
20758         (modify-file-local-variable-prop-line)
20759         (modify-dir-local-variable): New functions.
20760         (add-file-local-variable, delete-file-local-variable)
20761         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
20762         (add-dir-local-variable, delete-dir-local-variable)
20763         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
20764         (copy-dir-locals-to-file-locals-prop-line): New commands.
20766 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
20768         * abbrev.el (insert-abbrev-table-description): Prettify output.
20769         Suggested by Karl Chen.
20771 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
20773         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
20774         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
20775         (gdb-overlay-arrow-position, gdb-thread-position)
20776         (gdb-disassembly-position): Declare variables.
20777         (gdb-wait-for-pending): Function now.
20778         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
20779         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
20780         compilation goes smoothly.
20781         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
20782         (gdb-non-stop-setting): New customization setting which replaces
20783         `gdb-non-stop' so changing it doesn't break active GDB session.
20784         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
20785         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
20786         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20787         (gdb-show-threads-by-default): New customization options.
20788         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20789         routines.
20790         (gdb-get-buffer-create): Send buffers update signal when they are
20791         created.
20792         (gdb-invalidate-locals, gdb-invalidate-registers)
20793         (gdb-invalidate-breakpoints)
20794         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20795         (gdb-invalidate-memory): Accept update signal.
20796         (gdb-current-context-command): Use --frame option.
20797         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20798         Implement `gdb-frame-number' selection logic.
20799         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20800         whether to show GUD toolbar buttons.
20801         (gdb-thread-exited): Unselect current thread when it exits.
20802         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20803         (gdb-mark-line): Routine which sets overlay arrow or inverses
20804         video on fringeless displays.
20805         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20806         to build aligned columns of data in GDB buffers and set text
20807         properties line-by-line.
20808         (gdb-invalidate-breakpoints)
20809         (gdb-breakpoints-list-handler-custom)
20810         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20811         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20812         (gdb-registers-handler-custom): Align data columns.
20813         (gdb-locals-handler-custom): Now prints data like in variable
20814         declarations.
20815         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20816         Remove confusing buttons.
20817         (gdb-invalidate-threads): Append --frame.
20818         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20819         between breakpoints/threads buffers.
20820         (gdb-set-window-buffer): Now can ignore dedicated windows.
20821         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20822         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20823         (def-gdb-thread-buffer-gud-command): Replaces
20824         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20825         for fine thread control.
20826         (gdb-preempt-existing-or-display-buffer): New function used to
20827         display bound buffers without breaking window layout.
20828         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20829         (gdb-select-frame): New version of `gdb-frames-select' which now
20830         sets `gdb-frame-number' so commands may use --frame option instead
20831         of inner debugger state.
20832         (gdb-frame-handler): Do not set `gdb-frame-number'.
20833         (gdb-threads-mode-map): Select threads with mouse.
20835         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20836         avoid compilation warning.
20837         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20838         `gdb-show-stop-p`.
20840         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20841         Argument `key' renamed to `buffer-type'.
20842         (gdb-current-context-buffer-name): Do not add thread info to
20843         buffer name when no thread is selected.
20844         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20845         command (bug 3794).
20846         (gdb-thread-selected): Handle `=thread-selected' notification.
20847         (gdb-wait-for-pending): New macro to deal with congestion problems.
20848         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20849         breakpoints.
20850         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20851         This fixes problem similar to one described in bug 3947.
20852         (gud-menu-map): More menu items.
20853         (gdb-init-1): Reset `gdb-thread-number' to nil.
20855         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20856         non-stop settings.
20858         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20859         (gdb-current-context-command): Do not append --thread if
20860         `gdb-thread-number' is nil.
20861         (gdb-running-threads-count, gdb-stopped-threads-count):
20862         New variables.
20863         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20864         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20865         New customization options.
20866         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20867         GUD commands.
20868         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20869         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20870         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20871         set `gdb-thread-number' and update `gud-running' properly.
20872         (gdb-running): Update threads list when new threads appear.
20873         (gdb-stopped): Support non-stop operation and new thread switching
20874         logic.
20875         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20876         (gdb-json-partial-output): New set of JSON routines.
20877         (def-gdb-auto-update-trigger): New `signal-list' optional
20878         argument.
20879         (gdb-thread-list-handler-custom): Update `gud-running',
20880         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20881         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20882         (gdb-continue-thread, gdb-step-thread): New commands for fine
20883         thread execution control.
20884         (gud-menu-map): New menu items to switch non-stop options.
20885         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20886         (gdb-send): Mimic RET properly (bug 3794).
20888         * progmodes/gdb-mi.el (gdb-rules-name-maker)
20889         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20890         gdb-buffer-rules.
20891         (def-gdb-auto-update-handler): New nopreserve optional argument.
20892         (gdb-stack-list-frames-custom): Print stack from top to bottom.
20894         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20895         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20896         (gdb-parent-mode): New mode to derive other GDB modes from.
20897         (gdb-display-disassembly-for-thread)
20898         (gdb-frame-disassembly-for-thread): New commands for threads
20899         buffer.
20901         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20902         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20903         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20904         (gdb-update): We now store all GDB buffers in a list so that they
20905         can be updated by traversing a list instead of calling invalidate
20906         triggers explicitly.
20907         (def-gdb-trigger-and-handler): New macro to define trigger-handler
20908         pair for GDB buffer.
20909         (gdb-stack-buffer-name): Add thread information.
20910         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20911         handle pending triggers.
20912         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20913         (def-gdb-thread-buffer-simple-command)
20914         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20915         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20916         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20917         New commands which show buffers bound to thread.
20918         (gdb-stack-list-locals-regexp): Remove unused regexp.
20920         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20921         (gdb-locals-buffer-name, gdb-registers-buffer-name)
20922         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20923         to (gud-comint-buffer) in *-buffer-name functions
20924         because (gdb-get-target-string) already does that.
20925         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20926         (gdb-changed-registers-handler): Rewritten without regexps.
20928         * progmodes/gdb-mi.el: Basic thread selection support.
20929         (gdb-thread-number): New variable.
20930         (gdb-current-context-command): New macro which adds --thread
20931         option to command.
20932         (gdb-threads-mode-map): Select thread with SPC.
20933         (gdb-thread-list-handler-custom): Mark current thread with overlay
20934         arrow.  Synchronize GDB thread and Emacs thread.
20935         (gdb-select-thread): New command which selects current thread.
20936         (gdb-invalidate-frames, gdb-invalidate-locals)
20937         (gdb-invalidate-registers): Use --thread option.
20939 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20941         * net/tramp.el (top): Make check for tramp-gvfs loading more
20942         robust.  (Bug#3977)
20943         (tramp-handle-insert-file-contents): `unwind-protect' must be
20944         inside `with-parsed-tramp-file-name'.
20946         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20947         fails.
20949 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20951         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20952         directory if CLASSPATH is not set.
20954 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20956         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20957         New defconst.
20958         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20960 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20962         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20963         Update freshmeat link.  Delete newsforge.com as it seems gone.
20965 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20967         * select.el (x-set-selection): Doc fix (Bug#4021).
20969         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20971         * help-fns.el (describe-variable): Treat list return values from
20972         dir-locals-find-file properly (Bug#4005).
20974 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20976         * net/tramp.el (tramp-debug-message): Print also microseconds.
20978 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20980         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20981         or END is non-nil.
20982         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20983         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20984         format.
20986         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20987         (tramp-get-file-property): Use it.
20989         * autorevert.el (auto-revert-handler):
20990         Allow `auto-revert-tail-mode' for remote files.
20992 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20994         * minibuffer.el (read-file-name): Treat confirm options to
20995         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20997 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20999         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21000         (font-lock-variable-name-face, font-lock-constant-face):
21001         Darken the colors for light backgrounds.
21003 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
21005         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21006         month names.  (Bug#3987)
21008 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
21010         * simple.el (line-move-finish): Pass whole number to
21011         line-move-to-column.
21012         (line-move-visual): Perform hscroll to the recorded position.
21014 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
21016         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21018 2009-07-29  Alan Mackenzie  <acm@muc.de>
21020         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21022 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
21024         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21025         (gdb-place-breakpoints): Use full path when setting breakpoints.
21027 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
21029         * calc/calc.el (calc-mode-map): Add keybinding for
21030         `calc-transpose-lines'.
21032 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
21034         * calc/calc-misc.el (calc-transpose-lines): New function.
21036 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
21038         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21039         Simplify check for out-of-band methods.
21040         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21041         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
21043 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
21045         * vc-git.el (vc-git-checkin): Fix typo.
21047 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
21049         * progmodes/js2-mode.el: New file.
21051 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
21053         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21054         (gud-menu-map): Adjust tooltip accordingly.
21056 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
21058         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21059         (vc-bzr-log-view-mode): Adjust log-view-file-re.
21061         * add-log.el (change-log-mode-map): Add a menu.
21063 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
21065         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21066         function returns nil.
21067         (dbus-handle-event): Handle special return value :ignore.
21068         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21070 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
21072         * view.el (view-mode-enable): Don't define Helper-return-blurb if
21073         it's not needed.
21075 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
21077         Fix Bug#3888:
21079         * w32-vars.el (x-select-enable-clipboard): Doc fix.
21081         * term/pc-win.el (x-display-name, x-colors)
21082         (x-select-enable-clipboard, x-select-text): Doc fix.
21084         * term/common-win.el (x-display-name, x-colors): Doc fix.
21086         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21087         (xw-defined-colors): Doc fix.
21089         * w32-fns.el (x-select-text, x-setup-function-keys)
21090         (x-get-selection, x-set-selection): Doc fix.
21092         * term/x-win.el (x-select-text, x-setup-function-keys)
21093         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21095         * select.el (x-set-selection): Doc fix.
21097 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
21099         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21100         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
21101         "IsNSSSupportAvailable" method is not available.
21102         Reported by Steve Youngs <steve@sxemacs.org>.
21104 2009-07-24  Kenichi Handa  <handa@m17n.org>
21106         * international/characters.el: Fix setting of category ?C, ?|, ?K,
21107         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
21108         (build-unicode-category-table): Fix range checks.
21110 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
21112         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21113         the buffer we try to sync is current when calling
21114         vc-resynch-buffer.
21116         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21117         not show up to date files.
21119 2009-07-24  Glenn Morris  <rgm@gnu.org>
21121         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21122         Add autoload cookies.  If necessary, initialize.
21123         (elint-log): Handle non-file buffers.
21124         (elint-initialize): Add optional argument to reinitialize.
21125         (elint-find-builtin-variables): Save excursion.
21127 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
21129         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21130         for Lint.
21132 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
21134         * vc.el (vc-print-log-internal): New function, split out from ...
21135         (vc-print-log): ... here.
21136         (vc-dir-move-to-goal-column): Declare.
21138         * vc-git.el (vc-git-add-signoff): New variable.
21139         (vc-git-checkin): Use it.
21140         (vc-git-toggle-signoff): New function.
21141         (vc-git-extra-menu-map): Bind it to menu.
21142         (vc-git--run-command-string): Accept a nil FILE argument.
21143         (vc-git-stash-list): New function.
21144         (vc-git-dir-extra-headers): Use it.
21146 2009-07-23  Glenn Morris  <rgm@gnu.org>
21148         * help-fns.el (describe-variable): Describe ignored and risky local
21149         variables in a similar way to that in which we describe safe ones.
21151         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
21152         (byte-compile-output-file-form, byte-compile-output-docform)
21153         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
21154         Give some more local variables with common names a "bytecomp-" prefix,
21155         so as not to shadow things during compilation.
21156         * emacs-lisp/cl-macs.el (load-time-value)
21157         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
21158         `outbuffer' to `bytecomp-outbuffer'.
21160         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
21161         since the next two variables cover them automatically now.
21162         (elint-builtin-variables, elint-autoloaded-variables): New.
21163         (elint-unknown-builtin-args): Remove all members, since they can be
21164         parsed automatically now.
21165         (elint-extra-errors): New.
21166         (elint-env-add-env, elint-env-add-macro): Use cadr.
21167         (elint-current-buffer): Use or.  Change final message.
21168         (elint-get-top-forms): Use line-end-position.
21169         (elint-init-env): Use cadr.  Handle autoload, declare-function,
21170         and defalias.
21171         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
21172         (regexp-assoc): Remove unused function.
21173         (elint-top-form): Set elint-current-pos, to record the start of the
21174         top-level form, for compilation-mode.
21175         (elint-form): Trap errors in macro expansion.  Use dolist.
21176         (elint-unbound-variable): Use elint-builtin-variables and
21177         elint-autoloaded-variables.
21178         (elint-get-args): Use cadr, or.
21179         (elint-check-cond-form): Use dolist, cadr.
21180         (elint-check-condition-case-form): Doc fix.  Use cadr.
21181         Use elint-extra-errors.
21182         (elint-log): New function.
21183         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
21184         Distinguish errors and warnings.
21185         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
21186         Use a bytecomp-style format.
21187         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
21188         (elint-get-log-buffer): Use compilation mode.  Disable undo.
21189         Don't truncate lines.
21190         (elint-initialize): Set builtin and autoloaded variable lists.
21191         Only process elint-unknown-builtin-args if non-nil.
21192         (elint-find-builtin-variables, elint-find-autoloaded-variables):
21193         New functions.
21194         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
21196 2009-07-22  Kevin Ryde  <user42@zip.com.au>
21198         * net/newst-backend.el (newsticker--parse-atom-1.0)
21199         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
21200         (newsticker--parse-rss-1.0):
21201         * progmodes/idlwave.el (idlwave-mode):
21202         * progmodes/idlw-shell.el (idlwave-shell-mode):
21203         * progmodes/vera-mode.el (vera-mode):
21204         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
21205         * progmodes/vhdl-mode.el (vhdl-mode):
21206         * textmodes/table.el (table-generate-source)
21207         (table--warn-incompatibility):
21208         Hyperlink urls in docstrings with URL `...'.
21210 2009-07-22  Glenn Morris  <rgm@gnu.org>
21212         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
21213         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
21214         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
21215         Remove leading * from defcustom docs.
21217         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
21219         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
21220         defcustom doc.
21221         (list-load-path-shadows): Optionally, just return shadows as a string.
21223         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
21225 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
21227         * mail/rmailedit.el (rmail-edit-mode):
21228         Use auto-save-include-big-deletions.
21230         * mail/rmail.el (rmail-variables):
21231         Use auto-save-include-big-deletions.
21233         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
21234         changes.
21236 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
21238         * calc/calc.el (calc-undo-length): New variable.
21239         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
21241 2009-07-21  Richard Stallman  <rms@gnu.org>
21243         * files.el (auto-save-mode): Handle buffer-save-size = -2
21244         for toggling mode.
21246 2009-07-21  Glenn Morris  <rgm@gnu.org>
21248         * textmodes/ispell.el (ispell-looking-back): Update declaration.
21250         * calendar/todo-mode.el (calendar-current-date): Update declaration.
21252         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
21253         silence compiler.  Instead...
21254         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
21255         (ps-print-ensure-fontified): Update for above function name changes.
21257         * printing.el (pr-mh-get-msg-num, pr-mh-show)
21258         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
21259         silence compiler.  Instead...
21260         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
21261         (mh-show-buffer): Only define for compiler.
21262         (pr-mh-current-message): Update for above function name changes.
21264         * files.el (abort-if-file-too-large): Explicitly pass `filename'
21265         as an argument.
21266         (find-file-noselect, insert-file-1): Update for above change.
21268         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
21270         * mail/mailclient.el (mailclient-send-it): Fix message.
21272         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
21273         (edebug-eval): Check cl-debug-env is bound.
21274         (print-level, print-circle): Don't redefine built-in variables.
21276         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
21277         (custom-print-vectors): Remove old comments from doc.
21279         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
21280         (emerge-version): Make the variable an obsolete alias for the
21281         emacs-version variable.  Make the function obsolete.
21282         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
21283         Emerge options, rather than merging in into the main Options menu.
21284         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
21285         and auto advance modes.  Disable edit/fast items when not relevant.
21287 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
21289         * term/vt420.el (terminal-init-vt420): Fix typo.
21291 2009-07-20  Sam Steingold  <sds@gnu.org>
21293         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
21294         variable (removed from compile.el on 2004-03-11).
21296 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
21298         * files.el (hack-local-variables-filter): Fix last change.
21300 2009-07-19  Juri Linkov  <juri@jurta.org>
21302         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
21303         (dir-local-variables-alist): New buffer-local variable.
21304         (hack-local-variables-filter): If variable is not dir-local,
21305         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
21306         because file-local overrides dir-local.
21307         (c-postprocess-file-styles) <declare-function>:
21308         Remove obsolete declaration.
21309         (hack-dir-local-variables): Add dir-local variable/value pair to
21310         `dir-local-variables-alist' and remove duplicates.  Doc fix.
21312         * help-fns.el (describe-variable): Add information about
21313         file-local and dir-local variables.
21315 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
21317         * files.el (hack-local-variables-filter): Rewrite.
21319 2009-07-19  Glenn Morris  <rgm@gnu.org>
21321         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
21322         Silence compiler by only defining on XEmacs.
21324         * international/mule.el (auto-coding-regexp-alist): Only match
21325         BABYL... at the start of buffer, not of lines.  (Bug#3790)
21327         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
21328         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
21329         (cal-menu-context-mouse-menu): Doc fix.
21331         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
21333         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
21335 2009-07-18  Juri Linkov  <juri@jurta.org>
21337         * info.el: Virtual Info keyword finder.
21338         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
21339         (Info-finder-file): New variable.
21340         (Info-finder-find-file): New function.
21341         (finder-known-keywords, finder-package-info)
21342         (find-library-name, lm-commentary): Use defvar and
21343         declare-function to silence compiler warnings.
21344         (Info-finder-find-node): New function.
21345         (info-finder): New command.
21347         * subr.el (process-kill-buffer-query-function): New function.
21348         (add-hook)<kill-buffer-query-functions>: Add hook
21349         `process-kill-buffer-query-function'.
21351 2009-07-18  Alan Mackenzie  <acm@muc.de>
21353         * progmodes/cc-mode.el (c-before-hack-hook)
21354         (c-postprocess-file-styles): Give invocation of `c-set-style'
21355         DONT-OVERRIDE parameter of t.  Already set style variables will
21356         thus not be overridden by style settings given by `c-file-syle'.
21358         * files.el (hack-local-variables-filter): Remove entries with
21359         duplicate keys from `file-local-variables-alist'.
21361 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21363         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
21364         x-set-selection if display-selections-p returns nil for the
21365         current frame.
21367 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
21369         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
21371 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
21373         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
21374         Accept nil in addition to a regexp.
21375         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
21376         Accept nil in addition to a regexp.
21377         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
21378         buffers that have an associated file.  Handle nil values of
21379         desktop-buffers-not-to-save and desktop-files-not-to-save.
21380         (Bug#3833)
21382         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
21383         (x-disown-selection-internal): New functions.
21385 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
21387         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
21388         warning.
21389         (gdb-breakpoints-header): Move forward to avoid compiler warning.
21390         (gdb-make-header-line-mouse-map): Remove duplicate definition.
21392 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
21394         * simple.el (set-mark): Revert last change.
21396 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
21398         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
21399         rendering of pngs is not possible instead of messaging a long
21400         description.
21402 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
21404         * w32-fns.el (x-selection-owner-p): New function.
21406         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
21407         (mouse-yank-at-click, mouse-yank-primary):
21408         If select-active-regions is non-nil, deactivate the mark before
21409         insertion.
21411         * simple.el (deactivate-mark, set-mark): Only save selection if we
21412         own it.
21414 2009-07-17  Kenichi Handa  <handa@m17n.org>
21416         * case-table.el (describe-buffer-case-table): Fix for the case
21417         that KEY is a cons.
21419 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
21421         * vc-rcs.el (vc-rcs-find-file-hook):
21422         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
21424 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
21426         * net/tramp.el (tramp-wait-for-output): Handle the case when
21427         commands do not return a newline but a null byte before the shell
21428         prompt.  (Bug#3858)
21430 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
21432         * term/ns-win.el (ns-set-alpha): Don't declare.
21433         (ns-set-background-alpha): Remove function.
21435 2009-07-16  Kevin Ryde  <user42@zip.com.au>
21437         * emacs-lisp/copyright.el (copyright-update): Save match-data across
21438         y-or-n-p, for safety.
21440 2009-07-16  Richard Stallman  <rms@gnu.org>
21442         * files.el (auto-save-mode): If buffer-saved-size is -2,
21443         don't clobber it.
21445         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
21446         (rmail-retry-ignored-headers): Add more uninteresting fields.
21448 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
21450         * net/rcirc.el (rcirc): Use history variables.
21451         (rcirc-server-name-history, rcirc-nick-name-history)
21452         (rcirc-server-port-history): New variables.
21454 2009-07-15  Kenichi Handa  <handa@m17n.org>
21456         * international/mule-cmds.el (set-language-environment-charset):
21457         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
21458         ignore them.
21460         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
21461         Delete unibyte-display.
21463 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21465         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
21467 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
21469         * simple.el (deactivate-mark): Optional argument FORCE.
21470         (set-mark): Use deactivate-mark.
21472         * info.el (Info-search): No need to check transient-mark-mode
21473         before calling deactivate-mark.
21475         * select.el (x-set-selection): Doc fix.
21476         (x-valid-simple-selection-p): Allow buffer values.
21477         (xselect--selection-bounds): Handle buffer values.
21478         Suggested by David De La Harpe Golden.
21480         * mouse.el (mouse-set-region, mouse-drag-track):
21481         Call copy-region-as-kill before setting the mark, to let
21482         select-active-regions work.
21484 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
21486         * simple.el (deactivate-mark): If select-active-regions is
21487         non-nil, copy the selection data into a string.
21488         (activate-mark): If select-active-regions is non-nil, set the
21489         selection to the current buffer.
21490         (set-mark): Update selection if select-active-regions is non-nil.
21492         * select.el (x-valid-simple-selection-p): Allow buffer values.
21494 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21496         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
21497         and more featureful message-mode.
21499 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
21501         * select.el (x-set-selection): Doc fix.
21502         (x-valid-simple-selection-p): Disallow selection data consisting
21503         of a list or cons of integers, since that is not used.
21504         (xselect--selection-bounds, xselect--int-to-cons): New functions.
21505         (xselect-convert-to-string, xselect-convert-to-length)
21506         (xselect-convert-to-filename, xselect-convert-to-charpos)
21507         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
21509 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
21511         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
21512         output in -break-info command (Emacs bug #3794).
21514 2009-07-14  Glenn Morris  <rgm@gnu.org>
21516         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
21517         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
21518         (edebug-print-length, edebug-print-level, edebug-print-circle)
21519         (edebug-sit-for-seconds, edebug-view-outside)
21520         (edebug-bounce-point, edebug-set-global-break-condition)
21521         (edebug-Go-nonstop-mode, edebug-trace-mode)
21522         (edebug-Trace-fast-mode, edebug-continue-mode)
21523         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
21524         (edebug-visit-eval-list): Doc fixes.
21526         * subr.el (def-edebug-spec): Doc fix.
21528 2009-07-14  Kenichi Handa  <handa@m17n.org>
21530         * international/characters.el: Fix setting of category ?C.
21532 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
21534         * term/ns-win.el (x-select-font): defalias x-select-font to
21535         ns-popup-font-panel instead of generate-fontset-menu.
21537 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
21539         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
21541 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
21543         * arc-mode.el (archive-find-type): Allow for a PK00 string before
21544         the PK\003\004 header (Bug#3770).
21546 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
21548         * pcomplete.el (pcomplete-comint-setup): Check for
21549         shell-dynamic-complete-filename too.
21551 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
21553         * simple.el (temporary-goal-column): Change the value for
21554         line-move-visual to a cons cell.
21555         (line-move-visual): Record or set the window hscroll, if
21556         necessary (Bug#3494).
21557         (line-move-1): Handle cons value of temporary-goal-column.
21559 2009-07-11  Kenichi Handa  <handa@m17n.org>
21561         * international/mule-diag.el (describe-character-set): Don't show
21562         width.
21564 2009-07-10  Sam Steingold  <sds@gnu.org>
21566         * progmodes/compile.el (compilation-mode-font-lock-keywords):
21567         Omake sometimes indents the errors it prints, so allow all
21568         regexps to start with spaces.
21570 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
21572         * cus-edit.el (customize-changed-options-previous-release):
21573         Bump value to 22.1.  (Bug#3804)
21575 2009-07-08  Sam Steingold  <sds@gnu.org>
21577         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
21578         to be a cons cell (test . ignored-directory) to selectively ignore
21579         some directories depending on the location of the search.
21581 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
21583         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
21584         remote user is root, on the local host.
21585         (tramp-local-host-p): Either the local user or the remote user
21586         must be root.  (Bug#3771)
21588 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21590         * progmodes/gdb-mi.el (gdb): Remove description of
21591         gdb-use-separate-io-buffer.
21592         (menu): Don't allow toggling of or enable
21593         gdb-use-separate-io-buffer from menubar.
21595 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
21597         * mail/unrmail.el (unrmail): Make sure the message ends with two
21598         newlines (Bug#3769).
21600 2009-07-08  Glenn Morris  <rgm@gnu.org>
21602         * calendar/calendar.el (calendar-current-date): Rework previous change.
21604 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
21606         * calendar/calendar.el (calendar-current-date):
21607         Add an optional argument giving an offset from today.
21609 2009-07-08  Glenn Morris  <rgm@gnu.org>
21611         * tutorial.el (tutorial--describe-nonstandard-key):
21612         Adjust the message for when a key has been unbound.
21613         (help-with-tutorial): Hide the arch-tag.
21615 2009-07-08  Kenichi Handa  <handa@m17n.org>
21617         * international/fontset.el (setup-default-fontset): For each
21618         script, append (not set) font-specs.
21620         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
21621         docstring.
21623 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
21625         * progmodes/gdb-mi.el (gdb-init-1): Move sending
21626         -data-list-register-names to ...
21627         (gdb-starting): ... here because GDB 7.0 requires execution to
21628         have started when using this MI command.
21629         (gdb-set-header): New function to distinguish select and
21630         unselected tabs in gdb buffers.
21631         (gdb-propertize-header): New macro that uses gdb-set-header.
21632         (gdb-breakpoints-header, gdb-locals-header): Use it.
21633         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
21635 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
21637         * Makefile.in (ELCFILES): Remove fadr.elc.
21639 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
21641         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
21642         may contain frame information, so `string-match' should be used.
21643         (gdb-update): Disassembly is invalidated through
21644         `gdb-get-selected-frame'.
21645         (gdb-pad-string): New function to pad string with spaces.
21646         (gdb-invalidate-disassembly): Invalidate only if the buffer
21647         exists.
21648         (gdb-disassembly-handler-custom): Column alignment.
21649         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
21650         placing new ones.
21651         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
21652         end of line, too.
21653         (gdb-frame-handler): Match convention to for disassembly buffer
21654         mode name.
21655         (gdb-stack-list-frames-handler): Rewritten without regexps.
21656         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
21657         not highlight breakpoints without line information.
21658         (gdb-input): Add trailing newline to command.
21660         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
21661         buffer properly.
21662         (gdb-breakpoints-list-handler-custom): Replacement for
21663         `gdb-break-list-handler'.  Using real parser instead of regexps
21664         now.
21665         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
21666         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
21667         to place breakpoints.
21668         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
21669         functions.
21670         (gdb-disassembly-handler-custom): Show overlay arrow.
21671         (gdb-disassembly-place-breakpoints): Show breakpoints in
21672         disassembly buffer.
21673         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
21674         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
21675         instead of parsing breakpoints buffer.  Fixed old menu references
21676         in `gud-menu-map'.
21678         * fadr.el: Remove.
21680         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
21681         (gdb-memory-address): New variable which holds top address of
21682         memory page shown in memory buffer.
21683         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
21684         New customization variables.
21685         New functions:
21686         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
21687         display the memory buffer.
21688         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
21689         buffer display parameters.
21690         (def-gdb-memory-format, gdb-memory-format-binary)
21691         (gdb-memory-format-octal, gdb-memory-format-unsigned)
21692         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
21693         Functions for setting memory buffer format.
21694         (gdb-memory-unit-word, gdb-memory-unit-halfword)
21695         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
21696         unit size used in memory buffer.
21697         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
21698         Switch to next/previous page of memory buffer.
21699         Now using (bindat-get-field) instead of fadr functions.
21701 2009-07-07  Sam Steingold  <sds@gnu.org>
21703         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
21704         non-top-level files.
21706 2009-07-07  Kenichi Handa  <handa@m17n.org>
21708         * international/mule-cmds.el (reset-language-environment):
21709         Put the highset priority to the charset iso-8859-1.
21711 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21713         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
21714         to the end of the line when locating the block (Bug#700).
21716 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
21718         * net/tramp.el (tramp-handle-write-region): Flush file properties
21719         in case of short track.
21721 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
21723         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
21724         Coded custom representation of verilog error regular expressions
21725         to work with Emacs-22's new format.
21726         (verilog-error-regexp-xemacs-alist): Coded custom representation
21727         of verilog error regular expressions to work with XEmacs format.
21728         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
21729         error recognition into XEmacs.
21730         (verilog-error-regexp-add-emacs): Hook routine to install verilog
21731         error recognition into Emacs-22.
21733 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
21735         * woman.el: Remove stand-alone closing parentheses.
21736         (woman-file-name, woman2-format-paragraphs)
21737         (woman-leave-blank-lines): Code cleanup.
21738         (woman-use-own-frame): Change default to nil.
21739         (woman-italic, woman-bold, woman-unknown, woman-addition):
21740         Change defaults to inherit from default faces.
21741         (woman2-process-escapes): Consume the newline after a stand-alone
21742         filler character (Bug#3651).
21744 2009-07-06  Glenn Morris  <rgm@gnu.org>
21746         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
21747         (top-level): Move provide to the end.
21748         (ffap): Remove defunct URL from custom group.
21750         * subr.el (eval-after-load): Doc fix.
21752 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
21754         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
21755         `calc-embedded-word' is called twice.
21757 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21759         * files.el (find-alternate-file-other-window, find-alternate-file):
21760         Obey confirm-nonexistent-file-or-buffer.
21762 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
21764         * dired-aux.el (dired-show-file-type): Handle remote files.
21766 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
21768         * desktop.el (desktop-globals-to-save):
21769         Add file-name-history (Bug#2750).
21771 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
21773         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
21775 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
21777         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
21778         property on entire argument since this is what eshell-lisp-command
21779         expects.
21781 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
21783         * net/tramp-gvfs.el (tramp-gvfs-methods)
21784         (tramp-gvfs-zeroconf-domain)
21785         (tramp-bluez-discover-devices-timeout): Add version flag.
21786         (tramp-gvfs-handler-mounted-unmounted)
21787         (tramp-gvfs-connection-mounted-p): Polish handling of
21788         incompatibilities between GVFS 0.2 and 1.0.
21790 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21792         * cus-start.el (all): Add make-pointer-invisible.
21794 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21796         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21797         formatted correctly.
21799 2009-07-02  Juri Linkov  <juri@jurta.org>
21801         * info.el: Virtual Info files and nodes.
21802         (Info-virtual-files, Info-virtual-nodes): New variables.
21803         (Info-current-node-virtual): New variable.
21804         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21805         New functions.
21806         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21807         to check for a virtual file instead of checking a fixed list
21808         of node names.
21809         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21810         instead of ad-hoc processing of "dir" and (apropos history toc).
21811         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21812         instead of ad-hoc processing of "dir" and (apropos history toc).
21813         Reread a file when moving from a virtual node.
21814         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21815         (Info-directory-toc-nodes, Info-directory-find-file)
21816         (Info-directory-find-node): New functions.
21817         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21818         (Info-history): Move part of code to
21819         `Info-history-find-node'.
21820         (Info-history-toc-nodes, Info-history-find-file)
21821         (Info-history-find-node): New functions.
21822         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21823         (Info-toc): Move part of code to `Info-toc-find-node'.
21824         (Info-toc-find-node): New function.
21825         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21826         the current Info file name to references because now the node
21827         "*TOC*" belongs to the same Info manual.
21828         (Info-toc-build): Rename from `Info-build-toc'.
21829         (Info-toc-nodes): Rename input argument `file' to `filename'.
21830         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21831         instead of ad-hoc processing of ("dir" apropos history toc).
21832         (Info-index-nodes): Use Info-virtual-file-p
21833         to check for a virtual file instead of checking a fixed list
21834         of node names.
21835         (Info-index-node): Add check for `Info-current-node-virtual'.
21836         Raise `save-match-data' higher up the tree to contain
21837         `search-forward' too (bug fix).
21838         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21839         (Info-virtual-index-nodes): New variable.
21840         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21841         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21842         (Info-apropos-file, Info-apropos-nodes): New variables.
21843         (Info-apropos-toc-nodes, Info-apropos-find-file)
21844         (Info-apropos-find-node, Info-apropos-matches): New functions.
21845         (info-apropos): Move part of code to `Info-apropos-find-node' and
21846         `Info-apropos-matches'.
21847         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21848         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21849         for a virtual file instead of checking a fixed list of node names.
21851         * simple.el (async-shell-command): New command.
21853         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21855         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21856         instead of `mount-info'.
21858 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
21860         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21861         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21863 2009-07-02  Kenichi Handa  <handa@m17n.org>
21865         * international/mule.el (set-keyboard-coding-system): Force *-unix
21866         coding-system to avoid eol conversion.
21868 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
21870         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21871         Add handler for `process-file', `shell-command' and
21872         `start-file-process'.
21873         (tramp-gvfs-handle-shell-command)
21874         (tramp-gvfs-handle-start-file-process)
21875         (tramp-gvfs-handle-process-file): New defuns.
21876         (tramp-synce-list-devices): Simplify check for existence of property.
21878 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
21880         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21882 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
21884         * language/korean.el (set-language-info-alist): Add korean-cp949,
21885         cp949 to spec.
21887 2009-07-01  Kenichi Handa  <handa@m17n.org>
21889         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21891         * international/encoded-kb.el: Deleted.
21893         * international/mule.el (set-keyboard-coding-system): Perform the
21894         necessary setup here instead of calling encoded-kbd-setup-display.
21896 2009-07-01  Glenn Morris  <rgm@gnu.org>
21898         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21900 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
21902         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
21904 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
21906         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21907         Handle also the 'rename case, when setting file modes.  (Bug#3712)
21908         (tramp-default-file-modes): Remove execute permissions.
21910         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21911         (top): Add a default for "synce" in `tramp-default-user-alist'.
21912         Add completion function for "synce" method.
21913         (tramp-hal-service, tramp-hal-path-manager)
21914         (tramp-hal-interface-manager, tramp-hal-interface-device):
21915         New defconst.
21916         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21917         (tramp-synce-list-devices, tramp-synce-parse-device-names):
21918         New defuns.
21920         * net/trampver.el: Update release number.
21922 2009-06-30  Kenichi Handa  <handa@m17n.org>
21924         * international/fontset.el (setup-default-fontset): Add CJK fonts
21925         for symbols and the other miscellaneous characters.
21927         * language/korea-util.el (setup-korean-environment-internal):
21928         Make char-width-table suitable for Korean environments.
21929         (exit-korean-environment): Cancel above.
21931         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21932         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21933         setup-function to make char-width-table suitable for respective
21934         environments, and an exit-function to cancel that.
21936         * language/japan-util.el (setup-japanese-environment-internal):
21937         Call use-cjk-char-width-table with arg `ja_JP'.
21939         * international/characters.el (cjk-char-width-table): Delete it.
21940         (cjk-char-width-table-list): New variable.
21941         (use-cjk-char-width-table): New arg local-name.
21942         (use-default-char-width-table): Fix for the case that Emacs is
21943         already using the default char-width-table.
21945 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21947         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21948         modes mandatory.  (Bug#3712)
21950 2009-06-29  Alan Mackenzie  <acm@muc.de>
21952         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21953         correction between the visible width of TABs and their number of bytes.
21955 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21957         * server.el (server-buffer-done): Prevent kill-buffer from
21958         prompting by clearing the buffer modification flag (Bug#3696).
21960 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21962         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21963         (verilog-endcomment-reason-re): Support unique case and priority case.
21964         (verilog-basic-complete-re): Support localparam lineup.
21965         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21966         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21967         commenting.
21968         (verilog-leap-to-case-head): Now support *nested* unique &
21969         priority case statements.
21970         (verilog-auto-lineup): Make just declarations the default (as it
21971         had been).
21972         (verilog-leap-to-case-head): Support priority/unique case statements.
21973         (verilog-auto-lineup): Rework to give users radio buttons to
21974         select the various styles of automatic lineup.
21975         (verilog-error-regexp-alist): Rework to support the XEmacs style
21976         of error regular expressions from compilers, lint tools &
21977         simulators.  Note that GNU Emacs has made it impossible for a mode
21978         to load such things.
21979         (electric-verilog-terminate-line, verilog-indent-declaration)
21980         (verilog-auto-wiure): Rework for radio button selection of
21981         auto-lineup selection of specification of auto lineup.
21982         (verilog-beg-of-statement-1): Redesign to support proper operation
21983         in additional code, based on testing with auto-lineup.
21984         (verilog-calculate-indent, assignments & declarations)
21985         (verilog-backward-token): Enhance to support auto-lineup of
21986         assignments & declarations.
21987         (verilog-in-directive-p, verilog-at-struct-p): New function for
21988         easy test of whether we are.
21989         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21990         to support safe execution at almost anyline.
21991         (verilog-calc-1): Properly support indenting deep inside generate
21992         blocks.
21993         (verilog-init-font): Remove definition & use of verilog-init-font,
21994         as it is redundant with font-lock-defaults.
21995         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21996         to avoid circular calls if syntax-ppss is a function (as is the
21997         case now in 22.x GNU Emacs) as that function would sometimes call
21998         itself, leading to (nearly) infinite recursion.
21999         (verilog-ovm-begin-re, verilog-ovm-end-re)
22000         (verilog-ovm-statement-re, verilog-leap-to-head)
22001         (verilog-backward-token): Add support for OVM macros.  Some are
22002         complete statements, and others open and close scopes like begin
22003         and end.
22004         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22005         (verilog-defun-level-generate-only-re): Really fix the defun-list
22006         compilation issue.
22007         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22008         coverpoint, constraint and cross statements.
22009         (verilog-defun-level-list, verilog-generate-defun-level-list)
22010         (verilog-all-defun-level-list): Redo these specifications - it is
22011         too hard to support eval-when compile aggregation of lists also
22012         built at when-compile time.
22013         (verilog-defun-level-list): Place defconsts of variables used in
22014         building regular expressions which are built in eval-when-compile
22015         bodies in the same eval-when-compile body to facilitate compile
22016         without load.
22017         (verilog-beg-block-re-ordered): Support indenting
22018         virtual/protected tasks and functions.
22019         (verilog-defun-level-list, verilog-in-generate-region-p)
22020         (verilog-backward-ws&directives, verilog-calc-1): Speed up
22021         indentation of some module items (generate items).
22022         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22023         across virtual/protected tasks and functions.
22025 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
22027         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22028         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
22029         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22030         in concatenations.  Reported by Yishay Belkind.
22031         (verilog-auto-ascii-enum): Support one-hot state machines in
22032         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
22033         (verilog-auto-inst, verilog-auto-inst-port): Include interface
22034         modport in AUTOINST and add vl-modport for users.
22035         Reported by David Rogoff.
22036         (verilog-auto-inout-module, verilog-auto-inst)
22037         (verilog-decls-get-interfaces, verilog-insert-definition)
22038         (verilog-insert-one-definition, verilog-read-decls)
22039         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22040         (verilog-sig-modport, verilog-signals-combine-bus)
22041         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22042         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22043         Suggested by David Rogoff.
22044         (verilog-repair-open-comma): Fix non-insertion of comma when
22045         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
22046         (verilog-make-width-expression): Simplify [A-1:0] expression
22047         widths to just {A{1'b0}}.
22048         (verilog-mode): Cleanup checkdoc warnings.
22049         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22050         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22051         inputs/outputs or data type.  Suggested by Vasu Kandadi.
22052         (next-error-last-buffer): Fix byte-compiler warning.
22053         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22054         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22055         or shell command text during AUTO expansion.  Suggested by Tad Truex.
22056         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22057         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22058         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
22059         in AUTOINOUT.  Reported by Matthew Lovell.
22060         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22061         causing use of <= assignments.  Reported by Alex Reed.
22062         (verilog-read-decls): Fix triand, trior, wand, wor to be
22063         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
22064         (verilog-extended-complete-re): Support import "DPI-C" functions.
22065         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22066         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
22067         (verilog-insert-date, verilog-insert-year)
22068         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22069         Windows systems.  Reported by Michael Potts.
22070         (verilog-read-module-name): Fix AUTOINST when the child module
22071         declaration's name is a tick define.  Reported by Elliot Mednick.
22072         (verilog-read-decls): Fix V2K parameter bit subscripts getting
22073         passed to next parameter's definition.  Reported by Bruce T.
22074         (verilog-read-decls): Fix detecting "parameter int" when using
22075         AUTOINSTPARAM.  Reported by Bruce T.
22076         (verilog-goto-defun): Fix goto not finding modules unless first
22077         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
22078         (verilog-mode): Expand -f flag arguments on entry to mode so
22079         verilog-goto-defun will work.  Reported by Lawrence Butcher.
22080         (verilog-getopt): Expand environment variables in -f file
22081         arguments.  Suggested by Lawrence Butcher.
22082         (verilog-set-define): Fix "Symbol's value as variable is void"
22083         when reading enumerations.
22084         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22085         Suggested by Stephen Peltan.
22086         (verilog-read-defines): Fix reading of enumerations in include
22087         files.  Reported by Steve Peltan.
22089 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22091         * files.el (trash-directory): Fix defcustom type.
22093 2009-06-28  Juri Linkov  <juri@jurta.org>
22095         * help-fns.el (describe-function-1): Correctly locate adviced
22096         functions in hyperlink (Bug#2438).
22098 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
22100         * files.el (trash-directory): Change default to nil.
22101         (move-file-to-trash): If trash-directory is nil and
22102         system-move-file-to-trash is unbound, perform freedesktop-style
22103         trashing.
22105 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
22107         * files.el (move-file-to-trash): Add freedesktop trash
22108         support (Bug#973).
22110 2009-06-28  Glenn Morris  <rgm@gnu.org>
22112         * autorevert.el (global-auto-revert-non-file-buffers)
22113         (global-auto-revert-mode): Doc fixes.
22115 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
22117         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22119 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
22121         * faces.el (x-handle-named-frame-geometry): Ensure that we have
22122         opened an X connection before calling x-get-resource (Bug#3194).
22124         * play/doctor.el: Remove reference to obsolete website.
22125         (make-doctor-variables): Correct grammar mistake (Bug#2633).
22127 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
22129         Remove find-file-not-found-hook VC method.  (Bug#2757)
22130         * vc-hooks.el (vc-file-not-found-hook)
22131         (vc-default-find-file-not-found-hook): Remove functions.
22132         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22133         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22134         * vc.el:
22135         * vc-hg.el:
22136         * vc-git.el: Do not mention find-file-not-found-hook VC method.
22138 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
22140         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
22141         compatibility function for `looking-back'.
22143         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
22144         Use `ispell-looking-back'.
22146 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
22148         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
22149         rather than `filename'.
22151 2009-06-23  Miles Bader  <miles@gnu.org>
22153         * face-remap.el (text-scale-set): New function.
22155 2009-06-23  Glenn Morris  <rgm@gnu.org>
22157         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
22159         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
22161         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
22163         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
22165         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
22166         Simplify Persian conditionals.
22168         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
22169         variable `filename'.
22171         * comint.el (comint-insert-input): Doc fix.
22173         * Makefile.in (ELCFILES): Fix typo in previous change.
22175 2009-06-23  Miles Bader  <miles@gnu.org>
22177         * cus-start.el: Add entry for `recenter-redisplay'.
22179 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22181         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
22182         Add an optional argument for the backend, use it instead of
22183         calling vc-backend.
22184         (vc-mode-line): Add an optional argument for the backend.
22185         Pass the backend to vc-state and vc-working-revision.  Move code for
22186         special handling for vc-state being a buffer to ...
22188         * vc-rcs.el (vc-rcs-find-file-hook):
22189         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
22191         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
22192         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
22193         vc-stay-local-p and vc-mode-line calls.
22195         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
22196         (vc-cvs-diff, vc-cvs-annotate-command)
22197         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
22198         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
22199         vc-mode-line calls.
22201         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
22202         direct comparison.
22203         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
22204         backend when calling vc-mode-line.
22205         (vc-register): Do not create a closure for calling the vc register
22206         function, call it directly.
22208 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
22210         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
22211         to make it obvious item can be clicked.
22213         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
22215 2009-06-23  Kenichi Handa  <handa@m17n.org>
22217         * language/korea-util.el (korean-key-bindings): Change the binding
22218         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
22219         same command.
22221 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
22223         Sync with Tramp 2.1.16.
22225         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
22227         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
22228         when a loading of a package fails.  Completion function for rsync
22229         is `tramp-completion-function-alist-ssh'.
22230         (all): Replace all calls of `split-string' and
22231         `tramp-split-string' by `tramp-compat-split-string'.
22232         (tramp-default-method): Use `tramp-compat-process-running-p'.
22233         (tramp-default-proxies-alist): Allow also Lisp forms.
22234         (tramp-remote-path): Add choice "Private Directories".
22235         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
22236         (tramp-domain-regexp): Allow also "-", "_" and ".".
22237         (tramp-end-of-output): Remove newlines, and add "$" at the end.
22238         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
22239         (tramp-debug-message): Insert header line in debug buffer.
22240         (tramp-handle-directory-files-and-attributes-with-stat):
22241         Care about filenames with spaces, or starting with "-".
22242         (tramp-handle-dired-uncache): New defun.
22243         (tramp-handle-insert-directory): Don't flush the directory from
22244         cache, this is handled by `dired-uncache' now.
22245         (tramp-handle-insert-file-contents): Improve error handling.
22246         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
22247         Quote `tramp-end-of-output'.
22248         (tramp-action-password): Improve trace message.
22249         (tramp-check-for-regexp): Both echoes must be present, before removing.
22250         (tramp-open-connection-setup-interactive-shell): Trace coding system.
22251         (tramp-compute-multi-hops): Eval cons cells of
22252         `tramp-default-proxies-alist'.
22253         (tramp-maybe-open-connection): Use the same command pattern for
22254         first hop and further hops.
22255         (tramp-wait-for-output): Remove handling of newlines.
22256         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
22257         (tramp-split-string): Remove function.  It is handled in
22258         tramp-compat now.
22260         * net/tramp-cmds.el (tramp-bug):
22261         Recommend `tramp-cleanup-all-connections' in the bug mail.
22263         * net/tramp-compat.el (tramp-compat-split-string)
22264         (tramp-compat-process-running-p): New defuns.
22266         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
22267         for `dired-uncache'.
22269         * net/tramp-gvfs.el: New package.
22271         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
22272         Add handler for `dired-uncache'.
22273         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
22275         * net/trampver.el: Update release number.  Make version check fit
22276         for SXEmacs 22.
22278 2009-06-22  Jim Meyering  <meyering@redhat.com>
22280         Automatically handle .xz suffix (XZ-compressed files), too.
22281         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
22282         XZ is the successor to LZMA: <http://tukaani.org/xz/>
22284 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
22285             Nick Roberts  <nickrob@snap.net.nz>
22287         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
22288         repository (http://sphinx.net.ru/hg/gdb-mi/).
22290 2009-06-22  Glenn Morris  <rgm@gnu.org>
22292         * files.el (dir-locals-collect-mode-variables): Allow for any number of
22293         `mode' and `eval' entries.  (Bug#3430)
22295         * Makefile.in (ELCFILES): Add fadr.elc.
22297         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
22298         differing behavior of \n and ^ in strings.  (Bug#3385)
22300         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
22302         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
22303         property.
22304         (lisp-indent-function): Make it a defcustom.
22306 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
22308         * progmodes/gdb-ui.el: Replace with ...
22309         * progmodes/gdb-mi.el: ... this file.
22310         * progmodes/gud.el: Modify for gdb-mi.el.
22312 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
22314         * fadr.el: New file.
22316 See ChangeLog.14 for earlier changes.
22318 ;; Local Variables:
22319 ;; coding: utf-8
22320 ;; End:
22322   Copyright (C) 2009-2011  Free Software Foundation, Inc.
22324   This file is part of GNU Emacs.
22326   GNU Emacs is free software: you can redistribute it and/or modify
22327   it under the terms of the GNU General Public License as published by
22328   the Free Software Foundation, either version 3 of the License, or
22329   (at your option) any later version.
22331   GNU Emacs is distributed in the hope that it will be useful,
22332   but WITHOUT ANY WARRANTY; without even the implied warranty of
22333   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22334   GNU General Public License for more details.
22336   You should have received a copy of the GNU General Public License
22337   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.