Allow format args for y-or-n-p and yes-or-no-p.
[emacs.git] / lisp / ChangeLog
blob22b0818b2bb9f8b9d6a99c938546647d17edb1b5
1 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
3         * subr.el (y-or-n-p): Accept format string args.
5 2011-01-07  Glenn Morris  <rgm@gnu.org>
7         * Makefile.in (EMACSOPT): Add --no-site-lisp.
9 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
11         * allout.el (allout-back-to-current-heading): Ensure return to
12         the visible containing topic, rather than a collapsed one.
13         (allout-view-change-hook): Remove hook that was deprecated long ago.
14         (allout-exposure-change-hook): Remove documentation remarks
15         concerning removed allout-view-change-hook.
16         (allout-flag-region): Remove invocation of and documentation
17         remarks concerning allout-view-change-hook.
19 2011-01-06  Glenn Morris  <rgm@gnu.org>
21         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
22         (vc-bzr-annotate-extract-revision-at-line):
23         Handle authors with embedded spaces.  (Bug#7792)
25 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
27         * doc-view.el (doc-view-image-width): New variable.
28         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
29         backend for PNG images, and do dynamic rescaling instead of
30         reconverting the whole doc.
32 2011-01-05  Glenn Morris  <rgm@gnu.org>
34         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
36 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
38         * allout.el: Reconcile with changes in line movement behavior for
39         long text lines that cross more than a single physical window
40         line, ie when truncate-lines is nil.
41         (allout-next-visible-heading): Provide for change in line-move
42         behavior on long lines when truncate-lines is nil.  In that case,
43         line-move can wind up on the same textual line when it moves to
44         the next window line, and moving to the bullet position after the
45         move yields zero advancement.  Add logic to detect and compensate
46         for the lack of progress.
47         (allout-current-topic-collapsed-p): move-end-of-line respect for
48         field boundaries is different when operating with body lines
49         shorter than window width versus ones greater than window width,
50         which can yield false negatives in this function.  Avoid
51         difference by applying move-end-of-line while field-text-motion is
52         inhibited.
54 2011-01-04  Glenn Morris  <rgm@gnu.org>
56         * textmodes/rst.el (rst-compile-toolsets):
57         Add pdf and s5 to option alist.
59 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
61         * net/dbus.el (dbus-register-property): Added optional parameter
62         dont-register-service.  Updated docstring accordingly.
64 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66         * textmodes/rst.el (rst-compile-pdf-preview)
67         (rst-compile-slides-preview): Remove extra line.
69 2011-01-04  Glenn Morris  <rgm@gnu.org>
71         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
72         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
73         default to `prog' without a .py extension.
74         (rst-compile-pdf-preview, rst-compile-slides-preview):
75         Use program names from rst-compile-toolsets, rather than hard-coding.
76         (rst-portable-mark-active-p): Fix presumed typo.
78 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
80         * term/w32-win.el (dynamic-library-alist): Set up correctly for
81         libpng versions both before and after 1.4.0.  (Bug#7716)
83 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
85         * time.el (display-time-mode): Mention display-time-interval in
86         the doc string.  (Bug#7713)
88 2011-01-02  Kenichi Handa  <handa@m17n.org>
90         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
91         condition-case and return an error message string if something
92         goes wrong.
93         (rmail-show-mime): Adjust for the above change.  Insert the
94         header by rmail-mime-insert-header.
96 2011-01-02  Kenichi Handa  <handa@m17n.org>
98         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
99         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
100         (rmail-mime-mbox-buffer)
101         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
102         (rmail-mime-entity): Argument changed.  All codes handling an
103         entity object are changed.
104         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
105         the above change.
106         (rmail-mime-entity-children, rmail-mime-entity-handler)
107         (rmail-mime-entity-tagline): New functions.
108         (rmail-mime-message-p): New function.
109         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
110         (rmail-mime-entity-segment, rmail-mime-next-item)
111         (rmail-mime-previous-item, rmail-mime-shown-mode)
112         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
113         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
114         (rmail-mime-insert-tagline, rmail-mime-insert-header):
115         New functions.
116         (rmail-mime-text-handler): Call rmail-mime-insert-text.
117         (rmail-mime-insert-decoded-text): New function.
118         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
119         (rmail-mime-insert-image): Argument changed.  Caller changed.
120         (rmail-mime-image): Call rmail-mime-toggle-hidden.
121         (rmail-mime-set-bulk-data): New funciton.
122         (rmail-mime-insert-bulk): Argument changed.
123         (rmail-mime-multipart-handler): Return t.
124         (rmail-mime-process-multipart): Argument changed.
125         Handle "multipart/alternative" here.
126         (rmail-mime-process): Argument changed.
127         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
128         (rmail-mime-insert): Argument changed.  Handle raw display mode.
129         (rmail-mime): Argument changed.  Handle toggling of raw display
130         mode.
131         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
132         rmail-mime-view-buffer.
133         (rmail-insert-mime-forwarded-message): Likewise.
134         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
136         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
137         non-nil, handle the header in rmail-show-mime-function.
139 2011-01-02  Leo  <sdl.web@gmail.com>
141         * help-fns.el (describe-variable): Fix previous change.
143 2011-01-02  Juri Linkov  <juri@jurta.org>
145         * isearch.el (isearch-lazy-highlight-error): New variable.
146         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
147         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
148         to the current value of `isearch-error' (Bug#7468).
150 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
152         * help-fns.el (describe-variable): Don't emit trailing whitespace
153         (Bug#7511).
155 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
157         * textmodes/rst.el (rst-compile-pdf-preview)
158         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
160 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
162         * emulation/edt-mapper.el: Override mapping of function keys so
163         that the later call to read-key-sequence works.
165 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
167         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
168         Unix EOLs.  (Bug#7589)
170 2011-01-02  Leo  <sdl.web@gmail.com>
172         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
173         if point is not behind eshell-last-output-end (Bug#7585).
175 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
177         * files.el (file-local-variables-alist):
178         Make permanent-local (bug#7767).
180 2011-01-02  Glenn Morris  <rgm@gnu.org>
182         * version.el (emacs-copyright): Set short copyright year to 2011.
184 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
186         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
187         an existing temp buffer.  (Bug#7746)
189 2011-01-02  Glenn Morris  <rgm@gnu.org>
191         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
192         multiple addresses.  (Bug#7760)
194 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
196         * allout.el (allout-auto-fill): Do not infinitely recurse - use
197         do-auto-fill if everything points back to allout-auto-fill.
198         (allout-mode-deactivate-hook): Declare obsolete, in favor of
199         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
201 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
203         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
204         and "scpx".
206 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
208         * doc-view.el (doc-view-set-doc-type): New function refactored
209         from doc-view-mode.
210         (doc-view-fallback-mode): New function.
211         (doc-view-mode): Use it.
212         (doc-view-mode-maybe): New function that checks if doc-view-mode
213         can be used and falls back to the next best mode otherwise.
215         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
216         DVI, OpenDocument, and MS Office files.
218 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
220         * emacs-lisp/rx.el (rx-syntax): Fix typo.
222 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
224         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
225         on a copy of auto-mode-alist, because that deletes with side
226         effects.
228 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
230         * doc-view.el (doc-view-mode, doc-view-toggle-display): Use
231         normal-mode without doc-view-mode bindings in auto-mode-alist as
232         fallback instead of hard coding fundamental mode.
234 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
236         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
237         Office) files also for searching.
239 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
241         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
242         Office) files.  Not yet enabled via auto-mode-list.
243         (doc-view-unoconv-program): New custom variable.
244         (doc-view-mode-p): Handle new odf document type.
245         (doc-view-odf->pdf): New conversion function.
246         (doc-view-convert-current-doc): Call it for odf files.
247         (doc-view-mode): Recognize newly supported file extensions.
249 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
251         * net/tramp.el (tramp-default-method-alist)
252         (tramp-default-user-alist)
253         (tramp-local-host-regexp, tramp-prefix-domain-format)
254         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
256         * net/tramp-ftp.el:
257         * net/tramp-gvfs.el:
258         * net/tramp-gw.el:
259         * net/tramp-imap.el:
260         * net/tramp-sh.el:
261         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
262         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
264 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
266         * saveplace.el (save-place-alist-to-file): Save list sorted and
267         pretty-printed, so that it is mergeable by line-based text merging,
268         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
270 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
272         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
273         (allout-mode): Argument "toggle" => "force".
274         Refine the docstring.
275         Remove special provisions for reactivation, besides the 'force'
276         argument.
277         Consolidate layout provisions coce directly into the activation
278         condition branch, now that we've removed those provisions.
279         (allout-unload-function): Explicitly activate the mode before
280         deactivating, if it's initially deactivated.
281         (allout-set-buffer-multibyte): Properly prevent byte-compiler
282         warnings for version of function used only where
283         set-buffer-multibyte is unavailable.
285 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
287         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
288         are handled by the menu-bar entries.  As before, don't use
289         :visibile to avoid changing the tool-bar.
291 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
293         * net/secrets.el (secrets-delete-alias): New defun.
295 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
297         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
298         methods, otherwise ~/.ssh/config would be ignored.
300 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * emacs-lisp/rx.el: Make it a superset of sregex.
303         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
304         of args, add `regex' alias.
305         (rx-info): Add arg to distinguish head and standalone forms.
306         (rx-check, rx-form): Pass the corresponding arg.
307         (rx-**): Simplify.
308         (rx-repeat): Make it work for any number of args.
309         (rx-syntax): Make it accept syntax chars as is.
310         * obsolete/sregex.el: Move from emacs-lisp/.
311         * emacs-lisp/re-builder.el: Remove sregex support.
312         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
314 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
316         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
317         PRIMARY first, then the clipboard.  (Bug#7699)
319 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
321         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
322         print-number-table.
324 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
326         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
327         .emacs.elc (Bug#7530).
329         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
330         image spec (Bug#7480).
332 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
334         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
335         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
336         Move from lisp/.
338 2010-12-20  Leo  <sdl.web@gmail.com>
340         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
341         always be performed (Bug#7680).
343 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
345         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
346         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
347         mouse-region-match.
349         * color.el: Move from gnus/.
351         * vc/diff.el (diff-better-file-name): Function deleted.
352         abbreviating file names causes problems with shell-quote-argument.
353         (diff-no-select): Just use expand-file-name.
355         * tool-bar.el (tool-bar--image-expression): New function.
356         (tool-bar-local-item, tool-bar--image-exp): Use it.
357         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
358         Use :enable instead of :visible to avoid changing the tool-bar
359         configuration unnecessarily.
361         * info.el (info-tool-bar-map): Add separators.
363 2010-12-17  Ken Brown  <kbrown@cornell.edu>
365         * loadup.el: Use version numbers in Cygwin build.
367 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
369         * ido.el (ido-file-internal): Ask for confirmation before
370         overwriting an existing file (Bug#1238).
372 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
374         * tool-bar.el (tool-bar-setup): Add separators.
376         * menu-bar.el (featurep): Use menu-bar-separator.
378 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
380         Migrate allout encryption provisions from pgg to epg.
382         * allout.el (allout-toggle-current-subtree-encryption)
383         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
384         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
385         for simpler universal argument interpretation.
386         (allout-toggle-subtree-encryption):  Adjust docstring to describe
387         changed encryption provisions.  Change fetch-pass to keymode-cue, for
388         simpler universal argument interpretation.  Remove provisions for
389         handling key type and identity - they'll all be within
390         allout-encrypt-string or epg/epg or even contained all the way in gpg.
391         (allout-encrypt-string): Include keymode-cue, for optionally prompting
392         for keypair recipients (universal argument > 1) and, in addition,
393         associating the specified recipients with the outline (universal
394         argument > 4) using a file local variable setting for
395         'epa-file-encrypt-to'.
396         Require epa, for recipients handling.
397         Change how regexp filtering elements are named.
398         Describe the problem with caching of incorrect symmetric-decryption
399         keys.
400         Use the epa-passphrase-callback-function, in case the user is using
401         GnuPG v1.
402         Support saving of the selected keypair recipients when invoked with a
403         keymode-cue > 4.
404         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
405         Require 'epa.
406         Establish epg-context with armoring and default epg-protocol.
407         Remove all passphrase cache, verification, and hinting code.
408         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
409         No longer used, delete.
410         (allout-mode): Adjust docstring to describe changed encryption
411         provisions.  Describe the problem with caching of incorrect
412         symmetric-decryption keys.
413         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
414         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
415         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
416         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
417         Obsolete, remove.
419 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
421         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
422         key selection prompt; make 'silent as default (Bug#7487).
424 2010-12-16  Leo  <sdl.web@gmail.com>
426         * eshell/eshell.el (eshell-directory-name): Use
427         locate-user-emacs-file (Bug#7578).
429 2010-12-15  Glenn Morris  <rgm@gnu.org>
431         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
433 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
434             Scott Evans <gse@antisleep.com>
436         * rect.el (rectange--default-line-number-format)
437         (rectangle-number-line-callback): New functions.
438         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
440 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
442         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
443         Delete unused variables.
444         (move-to-column-force): Remove function obsolete since 21.2.
446 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
448         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
449         (tramp-handle-insert-file-contents): Do not set permanent-local
450         property.
452         * net/tramp-cache.el (tramp-persistency-file-name): Use
453         `locate-user-emacs-file' if fboundp.
455         * net/tramp-sh.el (tramp-methods): Add "ksu".
456         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
457         method list.
459 2010-12-14  Glenn Morris  <rgm@gnu.org>
461         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
462         (find-tag-marker-ring): Declare.
463         (js-find-symbol): Require etags.
465         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
466         Require mail-utils.
467         (mail-alias-file): Don't autoload.  Doc fix.
468         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
469         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
470         Mark as obsolete, and risky.
471         (mail-setup): Simplify.
473         * mail/mailalias.el (build-mail-aliases): Make it interactive.
474         * mail/sendmail.el (build-mail-aliases): Update autoload.
476         * dired.el (dired-trivial-filenames, dired-chown-program)
477         (dired-auto-revert-buffer): Remove autoload cookies.
478         * mail/sendmail.el (mail-recover-1): Require 'dired.
480         * dired.el (dired-subdir-switches, dired-chown-program)
481         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
482         Make into defcustoms.
483         (dired-chown-program): Simplify initialization.
485         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
487 2010-12-13  Romain Francoise  <romain@orebokech.com>
489         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
491 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
493         * net/netrc.el (netrc-point-at-eol): Remove the unused
494         netrc-point-at-old and netrc-bound-and-true-p bindings.
495         (netrc-parse): Cache the netrc contents.
497 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
499         * subr.el (posn-col-row): Evaluate header-line-format in the
500         context of the POSITION window's buffer.
502 2010-12-13  Glenn Morris  <rgm@gnu.org>
504         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
505         (with-silent-modifications): Doc fixes.
507 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
509         * net/tramp.el (tramp-action-password, tramp-process-actions):
510         Revert previous from.  Use `save-restriction'.
512 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
514         * calendar/diary-lib.el (diary-list-sexp-entries):
515         Handle case of no newline at end of file.  (Bug#7536)
517 2010-12-13  Glenn Morris  <rgm@gnu.org>
519         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
521 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
523         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
524         (tramp-process-actions): Do not widen.
526         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
527         Protect buffer-modified value.  (Bug#7557)
529 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
531         * log-edit.el (log-edit-changelog-entries):
532         Regexp quote filename.  (Bug#7505)
534 2010-12-13  Tom Breton  <tehom@panix.com>
536         * cus-edit.el (custom-save-all):
537         Bind print-length and print-level to nil.  (Bug#7581)
539 2010-12-13  Glenn Morris  <rgm@gnu.org>
541         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
542         Run hooks to update menu contents.  (Bug#7586)
544         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
545         file names, for the sake of MS Windows.  (Bug#7588)
547 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
549         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
550         empty lines without a leading space.
552 2010-12-13  Leo  <sdl.web@gmail.com>
554         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
555         while mapping over marks (Bug#6810).
557 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
559         * image-dired.el (image-dired-db-file)
560         (image-dired-temp-image-file, image-dired-gallery-dir)
561         (image-dired-temp-rotate-image-file): Set default values relative
562         to image-dired-dir (Bug#7518).
564 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
566         * format.el (format-decode-run-method): Pass args FROM and TO, not
567         point-min and point-max, to shell-command-on-region (Bug#7488).
569 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
571         * frame.el (blink-cursor-mode): Make default t for ns.
573 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
575         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
577 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
579         * comint.el (comint-dynamic-list-input-ring)
580         (comint-dynamic-complete-filename)
581         (comint-replace-by-expanded-filename)
582         (comint-dynamic-simple-complete)
583         (comint-dynamic-list-filename-completions)
584         (comint-dynamic-list-completions): Doc fix (Bug#7499).
586         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
587         Doc fix (Bug#7471).
589 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
591         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
592         (Bug#7533).
594 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
596         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
597         (Bug#7491).
599 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
601         * files.el (file-relative-name): Handle UNC file names on
602         DOS/Windows.  (Bug#4674)
604 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
606         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
607         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
608         (epg-context-set-passphrase-callback): Mention that the callback
609         is not called when used with GnuPG 2.x.
611 2010-12-13  Glenn Morris  <rgm@gnu.org>
613         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
614         Ensure ps-footer-font-size-internal is initialized.
615         Call ps-get-page-dimensions before trying to use ps-font-for-text.
617 2010-12-13  Kenichi Handa  <handa@m17n.org>
619         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
620         within condition-case.
621         (rmail-show-mime): Don't use condition-case.
622         (rmail-search-mime-message): New function.
623         (rmail-search-mime-message-function): Set to
624         rmail-search-mime-message.
626 2010-12-13  Leo  <sdl.web@gmail.com>
628         * ido.el (ido-common-initialization): New function.  (bug#3274)
629         (ido-mode): Use it.
630         (ido-completing-read): Call it.
632 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
634         * bookmark.el (bookmark-name-from-full-record): Rename back to
635         this original name from `bookmark-name-from-record' reverting part
636         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
637         As Drew Adams pointed out, there was no reason to cause churn for
638         third-party callers.
640 2010-12-12  Alan Mackenzie  <acm@muc.de>
642         * progmodes/cc-engine.el (c-forward-type): Before scanning a
643         template arglist, check that the current language supports this.
645 2010-12-11  Glenn Morris  <rgm@gnu.org>
647         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
648         state of the file matches.  (Bug#7544)
649         (vc-bzr-register, vc-bzr-checkin)
650         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
651         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
653         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
655 2010-12-11  Karel Klíč  <kklic@redhat.com>
657         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
659 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
661         Derive from prog-mode, use derived-mode-p, and fix up various
662         minor style issues in lisp/progmodes.
664         * progmodes/vhdl-mode.el (vhdl-mode):
665         * progmodes/verilog-mode.el (verilog-mode):
666         * progmodes/vera-mode.el (vera-mode):
667         * progmodes/sql.el (sql-mode):
668         * progmodes/scheme.el (scheme-mode):
669         * progmodes/perl-mode.el (perl-mode):
670         * progmodes/octave-inf.el (inferior-octave-mode):
671         * progmodes/autoconf.el (autoconf-mode):
672         * progmodes/m4-mode.el (m4-mode):
673         * progmodes/inf-lisp.el (inferior-lisp-mode):
674         * progmodes/idlwave.el (idlwave-mode):
675         * progmodes/icon.el (icon-mode):
676         * progmodes/idlw-help.el (idlwave-help-mode):
677         * progmodes/dcl-mode.el (dcl-mode):
678         * progmodes/idlw-shell.el (idlwave-shell-mode):
679         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
680         (ebrowse-member-mode, ebrowse-electric-position-mode):
681         Use define-derived-mode.
683         * progmodes/xscheme.el (exit-scheme-interaction-mode)
684         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
685         (xscheme-debugger-mode-p, xscheme-send-string-1):
686         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
687         (tcl-load-file, tcl-restart-with-file):
688         * progmodes/ps-mode.el (ps-run-running):
689         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
690         * progmodes/js.el (js--get-all-known-symbols):
691         * progmodes/inf-lisp.el (inferior-lisp-proc):
692         * progmodes/idlwave.el (idlwave-beginning-of-statement)
693         (idlwave-template, idlwave-update-buffer-routine-info)
694         (idlwave-update-current-buffer-info)
695         (idlwave-get-routine-info-from-buffers, idlwave-choose)
696         (idlwave-scan-class-info, idlwave-fix-keywords)
697         (idlwave-list-buffer-load-path-shadows):
698         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
699         (idlwave-toolbar-remove):
700         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
701         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
702         (idlwave-shell-menu-def):
703         * progmodes/idlw-complete-structtag.el
704         (idlwave-prepare-structure-tag-completion):
705         * progmodes/gud.el (gud-set-buffer):
706         * progmodes/f90.el (f90-backslash-not-special):
707         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
709         * progmodes/xscheme.el (xscheme-start)
710         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
711         * progmodes/which-func.el (which-function):
712         * progmodes/vhdl-mode.el (vhdl-set-style):
713         * progmodes/verilog-mode.el (verilog-set-compile-command)
714         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
715         (verilog-set-define, verilog-auto-reeval-locals):
716         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
717         * progmodes/simula.el (simula-mode):
718         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
719         * progmodes/python.el (python-check, python-mode):
720         * progmodes/prolog.el (prolog-mode-variables):
721         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
722         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
723         * progmodes/delphi.el (delphi-mode):
724         * progmodes/cc-styles.el (c-setup-paragraph-variables):
725         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
726         (c-font-lock-init): Move make-local-variable to their setq.
728         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
729         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
730         make-local-hook.
731         * progmodes/sh-script.el (sh-require-final-newline): Remove.
732         (sh-set-shell): Don't set require-final-newline since it's already done
733         by prog-mode.
734         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
735         since we never set it.
736         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
737         Use read-string and standard prompt.
738         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
739         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
740         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
741         (meta-common-mode-map): Rename from meta-mode-map.
742         Remove C-m binding, which is a user preference, not mode specific.
743         (meta-common-mode): New major mode; replace meta-common-initialization.
744         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
745         around with font-lock.
746         * progmodes/etags.el (select-tags-table-mode):
747         Derive from special-mode.
748         * progmodes/octave-mod.el (octave-mode):
749         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
750         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
751         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
752         Let define-derived-mode do its job.
753         * progmodes/cpp.el (cpp-edit-mode-map):
754         Move initialization into declaration.
755         (cpp-edit-mode): Use define-derived-mode.
756         (cpp-edit-load): Use derived-mode-p.
757         * progmodes/mixal-mode.el (mixal-mode):
758         * progmodes/f90.el (f90-mode):
759         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
760         require-final-newline since prog-mode does it already.
761         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
762         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
763         * progmodes/antlr-mode.el: Require cc-mode upfront.
764         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
765         the declaration.
766         (antlr-directory-dependencies, antlr-show-makefile-rules):
767         Use derived-mode-p.
768         (antlr-language-option): Don't assume point-min==1.
769         (antlr-mode): Use define-derived-mode.
770         * progmodes/ada-mode.el: Use derived-mode-p.
771         (ada-mode): Use define-derived-mode.
772         Use hack-local-variables-hook.
774 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
776         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
777         (texinfo-mode): Don't disable adaptive-fill-mode.
778         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
779         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
780         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
781         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
782         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
783         (texinfo-insert-@quotation, texinfo-insert-@samp)
784         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
785         (texinfo-insert-@uref): Use define-skeleton.
786         (texinfo-insert-@-with-arg): Delete.
788 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
790         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
791         nil, do quote archive member names.  (Bug#6144)
793 2010-12-10  Glenn Morris  <rgm@gnu.org>
795         * files.el (diff-no-select): Declare.
797         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
798         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
800         * comint.el (comint-input-ring-file-name): Doc fix.
802 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
804         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
805         New functions.
806         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
807         Use them instead of `nil' and `>', respectively.
808         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
809         instead of `nil'.
810         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
811         and menu-bar-positive-p instead of `nil' and `>', respectively.
812         (Bug#1077)
814 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
816         * whitespace.el (whitespace-newline-mode): Code fix.
818 2010-12-09  Glenn Morris  <rgm@gnu.org>
820         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
821         Rename functions without commas, update callers.
823 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
825         * whitespace.el (whitespace-cleanup-region):
826         Clean up spaces before tabs.  (Bug#7582)
828 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
830         * bookmark.el: Adjust parameter names and doc strings to resolve
831         confusion over whether "bookmark" meant a bookmark name or a
832         bookmark record.  Along the way, shorten one function's name for
833         similar reasons.  (Issue #7548)
834         (bookmark-name-from-record): New name for
835         `bookmark-name-from-full-record'.  All callers changed.
836         (bookmark-get-bookmark, bookmark-get-bookmark-record)
837         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
838         (bookmark-get-annotation, bookmark-set-annotation)
839         (bookmark-get-filename, bookmark-set-filename)
840         (bookmark-get-position, bookmark-set-position)
841         (bookmark-get-front-context-string, bookmark-set-front-context-string)
842         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
843         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
844         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
845         Rename `bookmark' parameter to `bookmark-name-or-record', to
846         clearly show its role, and shorten or adjust doc strings accordingly.
847         (bookmark-set-name): Same, and pass the parameter directly to
848         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
849         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
850         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
851         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
852         and in some cases shorten doc string accordingly.
853         (bookmark-rename): Change `old' and `new' parameters to `old-name'
854         and `new-name', and adjust an internal variable to avoid confusion.
855         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
856         parameter in doc string.
858 2010-12-08  Glenn Morris  <rgm@gnu.org>
860         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
861         from gdb's history file.  (Bug#7575)
863         * mail/emacsbug.el (report-emacs-bug):
864         Try to handle some other mail clients.
866 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
868         * files.el (dir-locals-collect-variables): Don't let errors stop us.
869         Use string-prefix-p.
870         (file-name-version-regexp): New var.
871         (file-name-sans-versions):
872         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
873         (jka-compr-get-compression-info): Use dolist.
874         (jka-compr-compression-info-list): Don't bother specifying
875         version/backup regexps.
877 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
879         * simple.el (just-one-space): Make argument n default to 1 if
880         omitted.
882 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
884         * electric.el (electric-indent-post-self-insert-function):
885         Delete trailing newlines even if we don't reindent.
887 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
889         * minibuffer.el (completion-at-point): Remove the `arg'.
890         * bindings.el (complete-symbol): Move back from minibuffer.el.
892 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
894         * simple.el (just-one-space): Delete newlines for negative arg.
896 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
898         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
899         (ansi-color-filter-apply): Simplify.
900         (ansi-color-apply): Use `font-lock-face' rather than `face'.
902 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
904         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
906 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
908         * dired.el (dired-use-ls-dired): Set default to a special
909         "unspecified" value.
910         (dired-insert-directory): When called the first time, check
911         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
913 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
915         * replace.el: Add "collect" feature to occur.
916         (occur-collect-regexp-history): New var.
917         (occur-read-primary-args): Return a replace string for nlines,
918         if needed.
919         (occur): Extend the meaning of nlines.
921 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
923         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
924         (which-func-update-1): Distinguish symbols from strings.
925         (which-function): Stay within 80 columns.
927 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
929         * subr.el (with-demoted-errors): Distinguish symbols from strings.
931         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
932         Improve docstring.
933         (comment-style): Use comment-styles's docs to describe values.
935 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
937         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
938         and ns-show-prefs (Bug#7535).
940         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
941         bindings (Bug#7535).
943 2010-12-03  Glenn Morris  <rgm@gnu.org>
945         * nxml/nxml-mode.el: Require rng-nxml.
946         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
947         Remove declarations.
949         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
950         * nxml/rng-nxml.el, nxml/rng-valid.el:
951         Remove leading `*' from defcustom docs.
953         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
954         (normal-top-level-add-to-load-path, tty-handle-args):
955         Convert comments to basic doc-strings.
957         * net/browse-url.el (browse-url-url-at-point)
958         (browse-url-default-browser): Remove autoload cookies.
960         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
961         Remove more undefined cl functions.
963         * vc/diff.el (diff-sentinel): Make new arguments optional.
964         * ibuf-ext.el (diff-sentinel): Update declaration.
966 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
968         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
969         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
970         (epg-context-set-passphrase-callback): Mention that the callback
971         is not called when used with GnuPG 2.x.
973 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
975         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
976         (tramp-file-name-port): Check also for `tramp-default-port'.
977         (tramp-get-connection-name): New defun.
978         (tramp-get-connection-process): Use it.
979         (tramp-debug-message): Extend function exclude list.
980         (tramp-drop-volume-letter): Fix doc string.
982         * net/tramp-cmds.el: Remove solved todo item.
984         * net/tramp-efs.el:
985         * net/tramp-ftp.el:
986         * net/tramp-gvfs.el:
987         * net/tramp-gw.el:
988         * net/tramp-imap.el:
989         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
990         and `tramp-default-user-alist', respectively.
992         * net/tramp-gw.el (tramp-gw-open-connection):
993         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
995         * net/tramp-imap.el (tramp-imap-make-iht): Use just
996         `tramp-file-name-port'.
998         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
999         and "psftp".  Exchange "%k" marker with options.
1000         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
1001         Compute size of link target.
1002         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
1003         `tramp-current-*' up due to gateway methods.  Optimze computing of
1004         copy arguments.  Use `tramp-get-connection-name' and
1005         `tramp-get-connection-buffer'.  Improve debug messages.
1006         (tramp-compute-multi-hops): Remove port determination.
1007         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
1009         * net/trampver.el: Update release number.
1011 2010-12-02  Glenn Morris  <rgm@gnu.org>
1013         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1014         Avoid infinite loop over windows.  (Bug#7492)
1016         * progmodes/flymake.el (flymake-check-file-limit):
1017         Allow nil to mean "no limit".
1018         (flymake-check-patch-master-file-buffer): Update for above change.
1019         Allow a .tex file-name extension to be optional.
1020         (flymake-master-tex-init): Also match \include statements.
1022 2010-11-30  Sam Steingold  <sds@gnu.org>
1024         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
1025         (nxml-parent-document-set): A function to set `nxml-parent-document'.
1026         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
1027         (nxml-mode-hook): Remove `defcustom' (auto-defined by
1028         define-derived-mode').
1029         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
1030         users who want to call `nxml-parent-document-set'.
1032 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1034         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
1035         stand-alone lines, since that is handled by log-edit-match-to-eoh
1036         (Bug#6465).
1038 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
1040         * dired.el (dired-get-filename): Replace backslashes with slashes
1041         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
1042         * locate.el (locate-default-make-command-line): Don't consider
1043         drive letter and root directory part of
1044         `directory-listing-before-filename-regexp'.  (Bug#7308)
1045         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
1047 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1049         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
1050         of :smie-open/close-alist.
1051         (smie-next-sexp): Make it accept a "start token" as argument.
1052         (smie-indent-keyword): Be careful not to misidentify tokens that span
1053         more than one line, as empty lines.  Add argument `token'.
1055 2010-11-27  Kenichi Handa  <handa@m17n.org>
1057         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
1058         multipart subtypes, insert all as usual.
1060         * mail/rmail.el: Require rfc2047.
1062 2010-11-27  Kenichi Handa  <handa@m17n.org>
1064         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
1065         (rmail-mime-entity-disposition)
1066         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
1067         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
1068         (rmail-mime-save): Handle the case that the button's `data' is a
1069         MIME entity.
1070         (rmail-mime-insert-text): New function.
1071         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
1072         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
1073         (rmail-mime-insert-bulk): New function mostly copied from the old
1074         rmail-mime-bulk-handler.
1075         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
1076         (rmail-mime-process-multipart): New function mostly copied from
1077         the old rmail-mime-multipart-handler.
1078         (rmail-mime-show): Just call rmail-mime-process.
1079         (rmail-mime-process): New function mostly copied from the old
1080         rmail-mime-show.
1081         (rmail-mime-insert-multipart, rmail-mime-parse)
1082         (rmail-mime-insert, rmail-show-mime)
1083         (rmail-insert-mime-forwarded-message)
1084         (rmail-insert-mime-resent-message): New functions.
1085         (rmail-insert-mime-forwarded-message-function): Set to
1086         rmail-insert-mime-forwarded-message.
1087         (rmail-insert-mime-resent-message-function): Set to
1088         rmail-insert-mime-resent-message.
1090         * mail/rmailsum.el: Require rfc2047.
1091         (rmail-header-summary): Handle multiline Subject: field.
1092         (rmail-summary-line-decoder): Change the default to
1093         rfc2047-decode-string.
1095         * mail/rmail.el (rmail-enable-mime): Change the default to t.
1096         (rmail-mime-feature): Change the default to `rmailmm'.
1097         (rmail-quit): Delete the specifal code for rmail-enable-mime.
1098         (rmail-display-labels): Likewise.
1099         (rmail-show-message-1): Check rmail-enable-mime, and use
1100         rmail-show-mime-function for a MIME message.  Decode the headers
1101         according to RFC2047.
1103 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1105         * progmodes/which-func.el (which-func-imenu-joiner-function):
1106         Return a string, as expected.
1107         (which-function-mode): Make sure we stop any previous timer before
1108         starting a new one.
1110 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
1112         * net/tramp.el (tramp-default-method-alist)
1113         (tramp-default-user-alist, tramp-default-proxies-alist):
1114         Adapt custom options type.  (Bug#7445)
1116 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1118         * progmodes/python.el: Add Ipython support (Bug#5390).
1119         (python-shell-prompt-alist)
1120         (python-shell-continuation-prompt-alist): New options.
1121         (python--set-prompt-regexp): New function.
1122         (inferior-python-mode, run-python, python-shell):
1123         Require ansi-color.  Use python--set-prompt-regexp to set the comint
1124         prompt based on the Python interpreter.
1125         (python--prompt-regexp): New var.
1126         (python-check-comint-prompt)
1127         (python-comint-output-filter-function): Use it.
1128         (run-python): Use a pipe (Bug#5694).
1130 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1132         * progmodes/python.el (run-python): Doc fix.
1133         (python-keep-current-directory-in-path): New var (Bug#7454).
1135 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
1137         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1138         Prompt user before actually printing.
1140 2010-11-27  Glenn Morris  <rgm@gnu.org>
1142         * startup.el (package-enable-at-startup, package-initialize):
1143         Remove unnecessary declarations.
1145 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1147         * international/characters.el (glyphless-char-display-control):
1148         Exclude newline and TAB from the c0-control group.
1150 2010-11-27  Glenn Morris  <rgm@gnu.org>
1152         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
1153         (expand-mail-aliases): Remove unnecessary autoload.
1155         * allout.el (allout-command-prefix, allout-mode-map): Declare.
1157         * shell.el (shell-dir-cookie-re): Move definition before use.
1159         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1160         Replace undefined CL functions.
1162 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
1164         * simple.el (prog-mode): Set bidi-paragraph-direction to
1165         left-to-right.
1167         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
1169 2010-11-26  Glenn Morris  <rgm@gnu.org>
1171         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
1172         diary-outlook-formats can be sensitive to calendar-date-style.
1173         (diary-outlook-formats): Simplify the default setting.
1174         (diary-from-outlook-internal): Pass subject and body as arguments.
1175         Use dolist rather than dotimes.  Don't save the diary buffer.
1176         (diary-from-outlook-gnus, diary-from-outlook-rmail):
1177         Pass subject and body as explicit arguments to the -internal function.
1179 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1181         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
1182         parsing them.  This makes mailto:...?subject=foo\nbar work.
1184 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1186         * vc/diff.el (diff): Fix last change.
1188 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1190         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
1191         (pcase--dontcare-upats): New var.
1192         (pcase-let, pcase-let*): Generate better code.
1193         Accept the same bodies as `let'.
1194         (pcase-dolist): New macro.
1195         (pcase--trivial-upat-p): New helper function.
1196         (pcase--expand): Strip leading "(let nil" if any.
1198 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1200         * mail/mailclient.el (browse-url): Require.
1201         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
1202         use the external browser function to send the mail (bug#7469).
1204         * net/browse-url.el (browse-url-browser-function): Revert the
1205         default back to the previous value, since the new value broke
1206         mailclient.el.
1207         (browse-url-mailto-function): New variable for mailto: URLs.
1208         (browse-url): Use the new variable for mailto: URLs.
1210 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1212         * eshell/esh-cmd.el (eshell-parse-command):
1213         * eshell/esh-arg.el (eshell-parse-arguments):
1214         * eshell/em-script.el (eshell-source-file):
1215         Use with-silent-modifications.
1217 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1219         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
1220         for a merge location.
1222         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
1223         (vc-bzr-merge-branch): Always prompt.
1224         (vc-bzr-async-command): Use the full branch filename.
1226 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1228         * shell.el (shell): Use current-buffer by default if it's already
1229         a shell mode buffer and its process is dead.
1230         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
1232 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
1234         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1235         Mention that the keywords should be comma separated.
1237 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
1239         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
1240         Accept optional prefix arg meaning to prompt for a command.
1241         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
1242         prefix arg meaning to prompt for a command.
1243         (vc-pull): Alias for vc-update.
1245         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
1246         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
1247         (vc-bzr-merge-branch): New functions, implementing merge-branch
1248         and pull operations.
1250 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1252         * Makefile.in: Fix up last merge.
1254         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
1255         (diff-sentinel): Get them as arguments instead.
1256         (diff-old-file, diff-new-file, diff-extra-args): Remove.
1257         (diff-file-local-copy, diff-better-file-name): New funs.
1258         (diff-no-select): Rename from diff-into-buffer.
1259         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
1260         Prefer closures to buffer-local variables.
1261         (diff): Adjust accordingly.
1262         (diff-buffer-with-file): Move from files.el.
1263         * files.el (diff-buffer-with-file): Move to vc/diff.el.
1264         (diff-buffer-internal): Remove.
1265         (diff-buffer-buffer): Remove.
1266         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
1267         the buffer name used, and so as not to mess up windows and frames.
1269 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1271         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
1272         (diff-buffer-internal): New function extracted from diff-buffer-with-file
1273         (diff-buffer-with-file): Use it.
1274         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
1275         (diff): Use it.
1277 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
1279         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
1280         \ref's or \pageref's value as default instead of initial input.
1282 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
1284         * files.el (backup-by-copying-when-mismatch): The default value is
1285         now t.
1287         * startup.el (normal-top-level):
1288         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1289         `backup-by-copying-when-mismatch'.
1291 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1293         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
1295 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1297         * progmodes/python.el (python-font-lock-keywords):
1298         Highlight top-level augmented assignments (Bug#6445).
1300 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
1302         * term/ns-win.el (ns-right-control-modifier)
1303         (ns-right-command-modifier): Defvar them.
1305         * cus-start.el (all): Add ns-right-control-modifier and
1306         ns-right-command-modifier (Bug#7458).
1308 2010-11-20  Glenn Morris  <rgm@gnu.org>
1310         * emacs-lisp/authors.el (authors-ignored-files)
1311         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
1313 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1315         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
1316         (report-emacs-bug-parse-query-results)
1317         (report-emacs-bug-create-existing-bugs-buffer): Pass through
1318         keywords used for querying the bug database to show them in the
1319         existing bugs buffer.
1321 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
1323         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
1325         * info.el (info-tool-bar-map): Add some :vert-only keywords.
1327 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1329         * international/characters.el (glyphless-char-display-control):
1330         Make it a defcustom, with update-glyphless-char-display as its
1331         :set attribute.
1332         (top level): Don't call update-glyphless-char-display.
1334 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
1336         Sync with Tramp 2.2.0.
1338         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
1339         `file-remote-p' (due to compatibility).
1341         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
1342         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
1344         * net/trampver.el: Update release number.
1346 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
1348         * faces.el (glyphless-char): Define value for `pc'.
1350 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
1352         Implemented a bug querying mechanism.
1353         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
1354         (report-emacs-bug-create-existing-bugs-buffer)
1355         (report-emacs-bug-parse-query-results)
1356         (report-emacs-bug-query-existing-bugs): New functions.
1358 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
1360         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
1361         a \ref{} or \pageref{} macro, then use its value as initial input.
1363 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
1365         * calc/calc-units.el (math-build-units-table-buffer):
1366         calc/README: Mention that the TeX specific units won't use the
1367         `tex' prefix in TeX mode.
1368         calc/calc-lang.el (math-variable-table): Don't use the `tex'
1369         prefix for units in TeX mode.
1371 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1373         * simple.el (kill-new, kill-append, kill-region):
1374         * comint.el (comint-kill-region): Make the yank-handler argument
1375         obsolete.
1377 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1379         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
1380         that are both openers (resp. closers) and something else.
1381         (smie-grammar): Loosen definition of valid values.
1382         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
1383         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
1384         (smie-indent-after-keyword): Adjust users.
1385         (smie-indent-keyword): Don't indent empty lines.
1387         * vc-hg.el (vc-hg-program): New var.
1388         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
1389         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
1391 2010-11-18  Glenn Morris  <rgm@gnu.org>
1393         * emacs-lisp/autoload.el (autoload-find-destination): The function
1394         coding-system-eol-type may return non-numeric values.  (Bug#7414)
1396 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
1398         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
1400 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1402         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
1404 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
1406         * textmodes/picture.el (picture-mouse-set-point): Don't use
1407         posn-col-row; explicitly compute the motion based on the posn at
1408         the window-start (Bug#7390).
1410 2010-11-18  Glenn Morris  <rgm@gnu.org>
1412         * novice.el (disabled-command-function):
1413         Fix 2009-11-15 change.  (Bug#7384)
1415 2010-11-18  Glenn Morris  <rgm@gnu.org>
1417         * calendar/calendar.el (diary-iso-date-forms): Make elements
1418         mutually exclusive.  (Bug#7377)
1420 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1422         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
1423         when filling the remaining "unconstrained" values.
1425 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1427         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
1428         safety predicate.
1430         * files.el (safe-local-variable-p): Gracefully handle errors.
1432         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
1433         Use smie-indent-virtual when indenting relative to an opener.
1434         (smie-rule-separator): Use smie-rule-parent.
1435         (smie-indent-keyword): Consult rules, even for openers at bol.
1436         (smie-indent-comment-close): Try to align closer's content.
1438 2010-11-18  Glenn Morris  <rgm@gnu.org>
1440         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
1442 2010-11-18  Glenn Morris  <rgm@gnu.org>
1444         * printing.el (pr-menu-bind): Doc fix.
1446         * speedbar.el (speedbar-toggle-images): Doc fix.
1448         * progmodes/python.el (python-shell): Doc fix.
1450         * wid-edit.el (widget-field-use-before-change)
1451         (widget-use-overlay-change): Doc fixes.
1453 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1455         Minor cleanup to improve style.
1456         * textmodes/rst.el (rst-update-section): Use point-marker.
1457         (rst-get-decoration): Eliminate unneeded assignment.
1458         (rst-promote-region, rst-straighten-decorations)
1459         (rst-section-tree, rst-adjust): Use point-marker.
1460         (rst-toc-mode-mouse-goto): Avoid setq.
1461         (rst-shift-region-guts, rst-shift-region-left)
1462         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
1463         (rst-convert-bullets-to-enumeration): Use copy-marker.
1465         * minibuffer.el (completion-fail-discreetly): New var.
1466         (completion--do-completion): Use it.
1468         * electric.el (electric-pair-pairs): New var.
1469         (electric-pair-post-self-insert-function): Use it.
1470         (electric-layout-post-self-insert-function): Don't insert a before
1471         newline unless it's actually needed.
1473 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1475         * progmodes/python.el (run-python): Explain why we remove the current
1476         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
1478         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
1480 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1482         * progmodes/octave-mod.el: Rely on elecric-*-modes.
1483         (octave-mode-map): Don't bind ;, SPC, and LF.
1484         (octave-auto-indent, octave-auto-newline): Remove.
1485         (electric-layout-rules): Declare.
1486         (octave-mode): Set electric-layout-rules.
1487         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
1488         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1489         (octave-electric-space): Remove.
1491         * electric.el (electric-layout-mode): New minor mode.
1492         (electric--after-char-pos): New function.
1493         (electric-indent-post-self-insert-function): Use it.
1494         (electric-layout-rules): New var.
1495         (electric-layout-post-self-insert-function): New function.
1496         (electric-indent-mode): Make them interact better.
1498 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1500         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
1501         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
1502         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
1504 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
1506         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
1507         Make sure to check inside the word (Bug#6761).
1509 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
1511         * startup.el (command-line): If the cursorColor resource is set,
1512         change the cursor face-spec (Bug#7392).
1514 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
1516         The main features of the following allout.el changes are:
1517         - implement user customization for the allout key bindings
1518         - add a customization control by which the user can inhibit use of
1519           a trailing Ctrl-H, so by default it's reserved for use with
1520           describe-prefix-bindings
1521         - adapt to new version of called-interactively-p, while
1522           maintaining backwards compatibility with old version
1523         - fix hotspot navigation so i works properly with meta-modified keys
1525         * allout.el (allout-keybindings, allout-bind-keys)
1526         (allout-keybindings-binding, allout-prefixed-keybindings)
1527         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
1528         (allout-keybindings-list, allout-mode-map-adjustments)
1529         (allout-setup-mode-map): Establish allout-mode keymaps as user
1530         customizable settings, and also establish a customizable setting which
1531         regulates whether or not a trailing control-h is reserved for use with
1532         describe-prefix-bindings - and inhibit it by default, so that control-h
1533         *is* reserved for describe-prefix-bindings unless the user changes it.
1535         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
1536         and accurately between modified and unmodified events, and handle
1537         modified events more comprehensively.
1539         * allout.el (allout-substring-no-properties):
1540         Alias to use or provide version of `substring-no-properties'.
1541         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
1543         * allout.el (allout-next-single-char-property-change):
1544         Alias to use or provide version of `next-single-char-property-change'.
1545         (allout-annotate-hidden, allout-hide-by-annotation):
1546         Use `allout-next-single-char-property-change'.
1548         * allout.el (allout-select-safe-coding-system):
1549         Alias to use or provide version of `select-safe-coding-system'.
1550         (allout-toggle-subtree-encryption):
1551         Use `allout-select-safe-coding-system'.
1553         * allout.el (allout-set-buffer-multibyte):
1554         Alias to use or provide version of `set-buffer-multibyte'.
1555         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
1557         * allout.el (allout-called-interactively-p): Macro for using the
1558         different versions of called-interactively-p identically, depending on
1559         the subroutine's argument signature.
1560         (allout-back-to-current-heading, allout-beginning-of-current-entry):
1561         Use `(interactive "p")' instead of `(called-interactively-p)'.
1563         * allout.el (allout-init, allout-ascend, allout-end-of-level)
1564         (allout-previous-visible-heading, allout-forward-current-level)
1565         (allout-backward-current-level, allout-show-children):
1566         Use `allout-called-interactively-p' instead of `called-interactively-p'.
1568         * allout.el (allout-before-change-handler):
1569         Exempt edits to the (overlaid) character after the allout outline
1570         bullet from edit confirmation prompt.
1572         * allout.el (allout-add-resumptions):
1573         Ensure that it respects correct buffer for keybindings.
1575         * allout.el (allout-beginning-of-line):
1576         Use `allout-previous-single-char-property-change' alias for the sake of
1577         diverse compatibility.
1579         * allout.el (allout-end-of-line):
1580         Use `allout-mark-active-p' to encapsulate respect for mark activity.
1582 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
1584         * frame.el (frame-notice-user-settings): Don't clobber other
1585         user-set parameters when calling face-set-after-frame-default in
1586         response to background-color parameter (Bug#7373).
1588 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
1590         * international/characters.el (glyphless-char-display-control):
1591         Rename from glyphless-char-control; all users changed.  Doc fix.
1592         Signal an error if display method is not one of the recognized
1593         symbols.
1595 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
1597         * net/tramp-compat.el (tramp-compat-line-beginning-position)
1598         (tramp-compat-line-end-position): Remove them.
1600         * net/tramp.el (tramp-parse-rhosts-group)
1601         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
1602         (tramp-parse-hosts-group, tramp-parse-passwd-group)
1603         (tramp-parse-netrc-group, tramp-parse-putty-group)
1604         * net/tramp-cmds.el (tramp-append-tramp-buffers)
1605         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
1606         (tramp-sh-handle-file-selinux-context)
1607         (tramp-sh-handle-file-name-all-completions)
1608         (tramp-sh-handle-insert-directory)
1609         (tramp-sh-handle-expand-file-name, tramp-find-executable)
1610         (tramp-wait-for-output, tramp-send-command-and-read)
1611         * net/tramp-smb.el (tramp-smb-read-file-entry)
1612         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
1614         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
1615         `point-at-bol'.
1616         (tramp-remote-coding-commands): Add an alternative using "base64
1617         -d -i".  This is needed for older base64 versions from GNU
1618         coreutils.  Reported by Klaus Reichl
1619         <Klaus.Reichl@thalesgroup.com>.
1621 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
1623         * simple.el (count-words-region): New function.
1625 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1627         * shell.el (shell-dir-cookie-re): New custom variable.
1628         (shell-dir-cookie-watcher): New function.
1630         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
1631         and compilation-mode (bug#7350).
1633         * vc/smerge-mode.el (smerge-refine): Choose better default part to
1634         highlight when one of them is empty.
1636         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
1637         trailing space.
1638         (skeleton-newline): New function.
1639         (skeleton-internal-1): Use it.
1641         * simple.el (open-line): `newline' may strip trailing space.
1643 2010-11-12  Kevin Ryde  <user42@zip.com.au>
1645         * international/mule-cmds.el (princ-list): Use mapc.
1647 2010-11-12  Glenn Morris  <rgm@gnu.org>
1649         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
1650         Use it to replace all instances of "*Compile-Log*"
1652 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1654         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
1655         indentation specs.
1657 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1659         * progmodes/modula2.el: Use SMIE and skeleton.
1660         (m2-mode-syntax-table): (*..*) can be nested.
1661         Add //...\n.  Fix paren syntax.
1662         (m2-mode-map): Remove LF and TAB bindings.
1663         (m2-indent): Add safety property.
1664         (m2-smie-grammar): New var.
1665         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
1666         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
1667         (m2-mode): Use define-derived-mode.
1668         (m2-newline, m2-tab): Remove.
1669         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
1670         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
1671         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
1672         (m2-import): Use define-skeleton.
1674 2010-11-11  Glenn Morris  <rgm@gnu.org>
1676         * obsolete/lucid.el: Don't warn about any CL functions in this file.
1678         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
1679         (ls-lisp-verbosity): Add custom :set-after property.
1680         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
1681         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
1682         (ls-lisp-insert-directory): Update caller.
1683         (ls-lisp-set-options): New function.
1684         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
1685         Doc fix.
1687         * play/landmark.el (lm-prompt-for-move):
1688         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
1690         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
1692         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
1693         (idlwave-study-twins): Prefix dynamic local variable `name'.
1694         (idlwave-routine-twin-compare): Update for above change.
1696         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
1697         Prefix dynamic local variables `name', `kwd', and `link'.
1698         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
1699         * progmodes/idlw-complete-structtag.el
1700         (idlwave-complete-structure-tag-help):
1701         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
1702         (idlwave-complete-sysvar-tag-help)
1703         (idlwave-complete-class-structure-tag-help):
1704         Update for above name changes.
1706 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1708         * net/browse-url.el (browse-url-browser-function): Change the
1709         default to use `browse-url-mail' on mailto: URLs.
1711 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
1713         * emacs-lisp/package.el (package-read-all-archive-contents):
1714         Reset package-archive-contents to nil before re-reading.
1716 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
1718         * textmodes/flyspell.el (flyspell-word): Do not re-check words
1719         already found as misspellings by (flyspell-large-region), just
1720         do highlighting (bug#7322).
1722 2010-11-10  Glenn Morris  <rgm@gnu.org>
1724         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
1726         * emulation/edt.el (edt-with-position): New macro.
1727         (edt-find-forward, edt-find-backward, edt-find-next-forward)
1728         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
1729         (edt-paragraph-forward, edt-paragraph-backward): Use it.
1731         * emulation/tpu-extras.el (tpu-with-position): New macro.
1732         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
1734         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
1736         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
1737         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
1738         (texinfo-master-menu, texinfo-insert-node-lines)
1739         (texinfo-multiple-files-update):
1740         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
1741         Use line-beginning-position.
1743         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
1744         No recent Emacs supports system-type `emx'.
1746         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
1747         (ada-command-separator, ada-default-prj-properties)
1748         (ada-find-any-references): Update for above name change.
1750         * dirtrack.el (dirtrack-directory-function)
1751         (dirtrack-canonicalize-function):
1752         * filecache.el (file-cache-completion-ignore-case)
1753         (file-cache-case-fold-search, file-cache-ignore-case):
1754         * term.el (serial-port-is-file-p): Cosmetic change.
1756         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
1757         Remove non-existent `windows-95' system-type.
1758         * dired.el (dired-chown-program): Remove non-existent `linux'
1759         system-type.
1761         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
1762         (ping-program-options): Remove non-existent `linux' system-type.
1764         * startup.el (package-initialize): Update declaration.
1766         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
1767         (ls-lisp-handle-switches): Use time-less-p.
1768         (ls-lisp-format-time): Use float-time.
1770         * textmodes/remember.el (remember-time-to-seconds): Remove.
1771         (remember-store-in-mailbox): Use float-time.
1773         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
1775         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
1776         never a real function.
1777         (with-no-warnings): Remove compat stub, now unused.
1778         (time-less-p): Doc fix.
1779         (time-to-number-of-days): Simplify.
1781         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
1782         Remove.
1783         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
1784         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
1785         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
1786         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
1787         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
1789         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
1790         (eshell-shuffle-files, eshell-shorthand-tar-command)
1791         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
1792         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
1793         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
1794         Prefix dynamic local variable `matches'.
1796         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
1797         Prefix dynamic local variable `skeleton'.
1799 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
1801         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
1802         in mail buffer; make yank-action always a command that yanks original
1803         buffer.
1805 2010-11-09  Glenn Morris  <rgm@gnu.org>
1807         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
1809 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1811         * minibuffer.el (minibuffer-completion-help): Specify the end of the
1812         completion field (bug#7211).
1814         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
1815         Fix handling of backslash escapes.
1816         (python-quote-syntax): Adjust accordingly.
1818 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
1820         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
1821         (vc-mtn-workfile-branch): Adjust to new output format.
1823 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1825         * international/mule-cmds.el (princ-list): Mark as obsolete.
1827 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1829         * emacs-lisp/smie.el: New package.
1831 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
1833         * files.el (backup-by-copying-when-mismatch):
1834         Set `permanent-local' property.
1836         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
1837         `permanent-local' property for `backup-by-copying-when-mismatch'.
1839 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
1841         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
1843 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
1845         * progmodes/verilog-mode.el (verilog-insert-one-definition)
1846         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
1847         AUTOINOUT for SV style multidimensional arrays, bug294.
1848         Reported by Eric Mastromarchi.
1849         (verilog-preprocess): Use with-current-buffer and
1850         font-lock-fontify-buffer to cleanup style issues.
1852 2010-11-09  Glenn Morris  <rgm@gnu.org>
1854         * locate.el (locate, locate-mode): Doc fixes.
1856 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
1858         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
1859         user for confirmation.
1860         (server-force-stop): Use it.
1861         (server-start): Use server-force-stop for kill-emacs-hook, to
1862         avoid user interaction while killing Emacs.
1864 2010-11-09  Glenn Morris  <rgm@gnu.org>
1866         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
1867         (meta-indent-line): Simplify.
1869         * vc/emerge.el (emerge-line-number-in-buf):
1870         * textmodes/ispell.el (ispell-region):
1871         * textmodes/fill.el (current-fill-column):
1872         * progmodes/xscheme.el (xscheme-send-current-line):
1873         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
1874         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
1875         * progmodes/sh-script.el (sh-handle-prev-do):
1876         * progmodes/meta-mode.el (meta-indent-line):
1877         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
1878         (idlwave-in-quote):
1879         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
1880         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
1881         * progmodes/fortran.el (fortran-looking-at-if-then):
1882         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
1883         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
1884         (cperl-find-pods-heres):
1885         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
1886         * net/quickurl.el (quickurl-list-insert):
1887         * net/ldap.el (ldap-search-internal):
1888         * net/eudc.el (eudc-expand-inline):
1889         * mail/sendmail.el (sendmail-send-it):
1890         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
1891         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
1892         (viper-brac-function):
1893         * calc/calc-yank.el (calc-do-grab-region):
1894         * calc/calc-keypd.el (calc-keypad-press):
1895         * term.el (term-move-columns, term-insert-spaces):
1896         * speedbar.el (speedbar-highlight-one-tag-line):
1897         * simple.el (current-word):
1898         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
1899         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
1900         (Info-scroll-down):
1901         * hippie-exp.el (he-line-beg):
1902         * epa.el (epa--marked-keys):
1903         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
1904         (dired-update-file-line, dired-add-entry, dired-remove-entry)
1905         (dired-relist-entry):
1906         * buff-menu.el (Buffer-menu-buffer):
1907         * array.el (current-line):
1908         * allout.el (allout-resolve-xref)
1909         (allout-latex-verbatim-quote-curr-line):
1910         Replace yet more uses of end-of-line etc with line-end-position, etc.
1912 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1914         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
1915         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
1916         (checkdoc-syntax-table): Initialize in the declaration.
1917         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
1918         the mode on unconditionally.
1920         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
1921         (extent-end-position, extent-start-position): Remove setf method for
1922         non-existing functions (bug#7319).
1924 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1926         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
1927         (smie-precs->prec2): Rename from smie-precs-precedence-table.
1928         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
1929         (smie-prec2->grammar): Rename from smie-prec2-levels.
1930         (smie-grammar): Rename from smie-op-levels.
1931         (smie-indent--hanging-p): Rename from smie-hanging-p.
1932         (smie-rule-hanging-p): New alias.
1933         (smie-indent--bolp): Rename from smie-bolp.
1934         (smie-indent--hanging-p): New alias.
1935         (smie--token): New dynamically bound variable.
1936         (smie-indent--parent): New function.
1937         (smie-rule-parent-p): Use it; rename from smie-parent-p.
1938         (smie-rule-next-p): Rename from smie-next-p.
1939         (smie-rule-prev-p): Rename from smie-prev-p.
1940         (smie-rule-sibling-p, smie-rule-parent)
1941         (smie-indent--separator-outdent, smie-rule-separator): New functions.
1942         (smie-rule-separator-outdent): New var.
1943         (smie-indent--rule): Merge with smie-indent--column.
1944         (smie-indent-forward-token, smie-indent-backward-token):
1945         Also recognize close parens.
1946         (smie-indent-keyword): Don't use smie-indent--column any more.
1947         (smie-indent-after-keyword): Ignore closers by default.
1948         (smie-indent-line): Use with-demoted-errors.
1949         * progmodes/octave-mod.el (octave-smie-grammar):
1950         Rename from octave-smie-op-levels.
1951         (octave-smie-rules): Adjust to new behavior.
1952         * progmodes/prolog.el (prolog-smie-grammar):
1953         Rename from prolog-smie-op-levels.
1955 2010-11-07  Glenn Morris  <rgm@gnu.org>
1957         * eshell/esh-util.el (subst-char-in-string)
1958         (directory-files-and-attributes): These compatibility definitions are
1959         not needed on any version of Emacs since at least 21.4.
1961         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
1962         (verilog-get-end-of-line): Remove.
1963         (verilog-within-string, verilog-re-search-forward-substr)
1964         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
1965         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
1966         Use point-at-bol, point-at-eol.
1967         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
1968         Remove.
1969         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
1970         (electric-pascal-terminate-line, pascal-set-auto-comments)
1971         (pascal-indent-paramlist, pascal-indent-declaration)
1972         (pascal-get-lineup-indent, pascal-func-completion)
1973         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
1974         Use point-at-bol, point-at-eol.
1975         * progmodes/flymake.el (flymake-line-beginning-position)
1976         (flymake-line-end-position): Remove.
1977         (flymake-highlight-line): Use point-at-bol, point-at-eol.
1978         * eshell/esh-util.el (line-end-position, line-beginning-position):
1979         Remove compat definitions.
1981         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
1982         Use end-of-line N.
1983         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
1984         Use line-end-position.
1986         * emacs-lisp/chart.el (chart-zap-chars):
1987         * play/decipher.el (decipher-set-map):
1988         * progmodes/ada-mode.el (ada-get-current-indent)
1989         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
1990         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
1991         * progmodes/ada-xref.el (ada-initialize-runtime-library)
1992         (ada-get-all-references):
1993         * progmodes/cperl-mode.el (cperl-electric-paren)
1994         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
1995         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
1996         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
1997         (cperl-word-at-point-hard):
1998         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
1999         (idlwave-shell-filename-string, idlwave-shell-batch-command)
2000         (idlwave-shell-display-line):
2001         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
2002         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
2003         * progmodes/js.el (js--re-search-forward-inner)
2004         (js--re-search-backward-inner):
2005         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
2006         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
2007         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
2008         * textmodes/flyspell.el (flyspell-process-localwords):
2009         * textmodes/ispell.el (ispell-buffer-local-parsing)
2010         (ispell-buffer-local-dict, ispell-buffer-local-words):
2011         Use point-at-bol and point-at-eol.
2013         * speedbar.el (speedbar-generic-item-info)
2014         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
2015         (speedbar-add-indicator, speedbar-check-vc-this-line)
2016         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
2017         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
2018         Replace more uses of end-of-line etc with line-end-position.
2020 2010-11-06  Glenn Morris  <rgm@gnu.org>
2022         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
2023         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
2024         (texinfo-delete-existing-pointers, texinfo-find-pointer)
2025         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
2026         (texinfo-multiple-files-update):
2027         * textmodes/table.el (table--probe-cell-left-up)
2028         (table--probe-cell-right-bottom):
2029         * textmodes/picture.el (picture-tab-search):
2030         * textmodes/page-ext.el (pages-copy-header-and-position)
2031         (pages-directory-for-addresses):
2032         * progmodes/vera-mode.el (vera-get-offset):
2033         * progmodes/simula.el (simula-calculate-indent):
2034         * progmodes/python.el (python-pdbtrack-overlay-arrow):
2035         * progmodes/prolog.el (end-of-prolog-clause):
2036         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
2037         * progmodes/icon.el (indent-icon-exp):
2038         * progmodes/etags.el (tag-re-match-p):
2039         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
2040         * progmodes/ebnf2ps.el (ebnf-begin-file):
2041         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
2042         (dcl-save-local-variable):
2043         * play/life.el (life-setup):
2044         * play/gametree.el (gametree-looking-at-ply):
2045         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2046         * mail/sendmail.el (mail-mode-auto-fill):
2047         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2048         * emacs-lisp/edebug.el (edebug-overlay-arrow):
2049         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
2050         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
2051         (woman-tab-to-tab-stop, WoMan-warn-ignored):
2052         * type-break.el (type-break-file-keystroke-count):
2053         * term.el (term-replace-by-expanded-history-before-point)
2054         (term-skip-prompt, term-extract-string):
2055         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
2056         (speedbar-contract-line, speedbar-toggle-line-expansion)
2057         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
2058         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
2059         * sort.el (sort-skip-fields):
2060         * skeleton.el (skeleton-internal-list):
2061         * simple.el (line-move-finish, line-move-to-column):
2062         * shell.el (shell-forward-command):
2063         * misc.el (copy-from-above-command):
2064         * makesum.el (double-column):
2065         * ebuff-menu.el (electric-buffer-update-highlight):
2066         * dired.el (dired-move-to-end-of-filename):
2067         * dframe.el (dframe-popup-kludge):
2068         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
2069         * arc-mode.el (archive-get-lineno):
2070         Use line-end-position and line-beginning-position.
2072         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
2073         (idlwave-study-twins): Prefix dynamic local `class'.
2074         (idlwave-routine-twin-compare): Update for above name change.
2076         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
2077         Use boundp tests to silence compiler.  Update for changed name of
2078         bytecomp-filename variable.
2080         * emulation/viper-cmd.el (viper-read-string-with-history):
2081         Prefix dynamic local `initial'.
2082         (viper-minibuffer-standard-hook): Update for above name change.
2084         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
2085         (elint-init-form): Update for above name change.
2087         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
2088         local variables `cbeg' and `cend' a prefix.
2089         (mail-extr-voodoo): Update for above name change.
2091         * textmodes/reftex-toc.el (reftex-toc-do-promote)
2092         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
2093         (reftex-toc-promote-action): Doc fix.
2095         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
2096         `prompt', `data' a prefix.
2097         (reftex-select-post-command-hook, reftex-select-callback)
2098         (reftex-select-mouse-accept, reftex-select-read-cite):
2099         Update for above name changes.
2101         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
2102         `refstyle' to reftex-refstyle.
2103         (reftex-offer-label-menu): Update for above name change.
2104         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
2105         `refstyle' name change.
2107         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
2108         with with-current-buffer.
2109         (diff, template): Give dynamic local variables a prefix.
2110         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
2111         (emerge-line-number-in-buf): Update for above name change.
2112         (emerge-combine-versions-internal): Rename local `template' to
2113         emerge-combine-template.
2114         (emerge-combine-versions-edit): Update for above name change.
2116 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
2118         * textmodes/reftex-cite.el
2119         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
2120         entries with whitespace after \bibitem.
2121         (reftex-create-bibtex-file): Match entries containing numbers and
2122         symbol constituents.  Make sure that entries with whitespace at
2123         various places are found.
2125 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
2127         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
2129 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
2131         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
2133 2010-11-05  Glenn Morris  <rgm@gnu.org>
2135         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
2136         (woman2-roff-buffer): Give local variable `request' a prefix.
2137         (woman0-macro): Rename argument `request' in the same way.
2138         (woman-request): New name for `request' dynamic variable.
2139         (woman-unquote, woman-forward-arg): Update for above name change.
2140         (woman1-roff-buffer): Give local variable `unquote' a prefix.
2141         (woman1-unquote): New name for `unquote' dynamic variable.
2142         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
2143         (woman-translations): Rename from `translations'.  No longer global.
2144         (woman2-tr, woman-translate): Update for above name change.
2145         (woman-translate): Check for bound variable.
2146         (woman2-roff-buffer): Give local variable `translations' a prefix.
2148         * play/doctor.el: Give all local variables a prefix.  Update callers.
2149         (doc$, doctor-put-meaning): Use backquote.
2151         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
2152         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
2154         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
2155         variables bytes, ptr, op a prefix.
2156         (disassemble-offset): Update for above change.
2158 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2160         * emacs-lisp/package.el (package-unpack): Remove no-op.
2161         (package--builtins, package--dir): Doc fix.
2162         (package-activate-1, package-activate, package-install)
2163         (package-compute-transaction): Fix error message.
2164         (package-delete): Use delete-directory.  Omit system packages.
2165         (package-initialize): Set package-alist to nil first.
2166         (package-menu-mark-delete, package-menu-mark-install): Don't add
2167         symbols that are inconsistent with the package state.
2168         (package-menu-execute): Perform deletions and installations as
2169         single batch operations.
2171 2010-11-03  Glenn Morris  <rgm@gnu.org>
2173         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
2174         (props): Remove unnecessary declaration.
2176         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
2177         set-process-query-on-exit-flag.
2179         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
2180         (reftex-toc-do-promote): Remove unused local `mpos'.
2181         (reftex-toc-restore-region): Make `mpos' local to this function.
2183         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
2185         * play/landmark.el (lm-losing-threshold): Correct spelling.
2186         (lm-human-plays): Use new name.
2188         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
2189         (gomoku-human-plays): Use new name.
2191         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
2192         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
2193         (gomoku-score-trans-table, gomoku-winning-threshold)
2194         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
2196 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
2198         * emacs-lisp/package.el: Don't put built-in packages in
2199         package-alist, to avoid loading inefficiencies.
2200         (package-built-in-p): Make VERSION optional, and treat it as a
2201         minimum acceptable version.
2202         (package-activate): Search separately for built-in packages.
2203         Emit a warning if a dependency fails.
2204         (define-package): Handle most common case, where there is no
2205         obsolete package, first.
2206         (package-compute-transaction): Print required version in error.
2207         (package--initialized): New variable.
2208         (list-packages): Use it.
2209         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
2210         built-in packages in packages-alist; keep it separate.
2211         Set package--initialized.
2212         (describe-package): Avoid activating packages as a side-effect.
2213         Search separately for built-in packages.
2214         (describe-package-1): Handle the case where an elpa package is
2215         simultaneously built-in and available/installed.
2216         (package-installed-p, package--generate-package-list):
2217         Search separately for built-in packages.
2218         (package-load-descriptor): Doc fix.
2220 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2222         * progmodes/perl-mode.el (perl-syntax-propertize-function):
2223         Handle __DATA__ and __END__.
2225 2010-11-02  Noah Friedman  <friedman@splode.com>
2227         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
2228         nil, do not ask to recompile files that are not already compiled,
2229         and do not recompile them.
2231 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
2233         * emacs-lisp/package.el (package-initialize): Ensure that
2234         obsoleted built-in packages are not in package-activated-list
2235         during activation.
2236         (describe-package-1): Make the "installed" status override
2237         "built-in".
2239 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2241         * subr.el (version-separator, version-regexp-alist): Remove '*'
2242         from docstring.
2243         (version-list-<=, version<=, version=): Doc fix.
2245 2010-11-01  Kenichi Handa  <handa@m17n.org>
2247         * faces.el (glyphless-char): Inherit underline for tty.
2249 2010-11-01  Kenichi Handa  <handa@m17n.org>
2251         Implement various display methods for glyphless characters.
2253         * international/characters.el (char-acronym-table): New variable.
2254         (glyphless-char-control): New variable.
2255         (update-glyphless-char-display): New funciton.
2257         * faces.el (glyphless-char): New face.
2259 2010-11-01  Glenn Morris  <rgm@gnu.org>
2261         * calendar/holidays.el (general-holidays, oriental-holidays)
2262         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
2263         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
2264         the definitions of their targets.
2266         * emacs-lisp/smie.el (smie): New custom group.
2267         (smie-blink-matching-inners, smie-indent-basic): Add :group.
2269         * faces.el (xw-defined-colors, x-setup-function-keys):
2270         * mouse-sel.el (x-select-text):
2271         * term/w32console.el (x-setup-function-keys): Update declarations.
2273         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
2275         * textmodes/ispell.el (comment-add): Declare.
2277         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
2278         Declare.
2280         * info.el (finder-keywords-hash, package-alist): Declare.
2282 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2284         * finder.el (finder-compile-keywords): Don't use intern-soft,
2285         since package names may not yet exist in the obarray.
2287 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
2289         * vc/vc-arch.el (vc-arch-checkin):
2290         * vc/vc-cvs.el (vc-cvs-checkin):
2291         * vc/vc-mtn.el (vc-mtn-checkin):
2292         * vc/vc-rcs.el (vc-rcs-checkin):
2293         * vc/vc-sccs.el (vc-sccs-checkin):
2294         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
2295         since 2010-04-21 commit by Stefan Monnier.
2297 2010-11-01  Glenn Morris  <rgm@gnu.org>
2299         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
2301         * startup.el (package-enable-at-startup, package-initialize):
2302         Silence compiler.
2304         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
2305         Silence compiler.
2307 2010-10-31  Julien Danjou  <julien@danjou.info>
2309         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
2310         (byte-recompile-directory):
2311         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
2312         Use `byte-recompile-file'.
2314 2010-10-31  Glenn Morris  <rgm@gnu.org>
2316         * cus-start.el: Handle standard values via a keyword.
2317         Only set version property if specified.
2318         (cursor-in-non-selected-windows, menu-bar-mode)
2319         (tool-bar-mode, show-trailing-whitespace):
2320         Do not specify standard values.
2321         (transient-mark-mode, temporary-file-directory): Use :standard.
2323 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
2325         * term/x-win.el (x-get-selection-value): New function that gets
2326         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
2328 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
2330         * net/tramp.el (tramp-handle-insert-file-contents): For root,
2331         preserve owner and group when editing files.  (Bug#7289)
2333 2010-10-31  Glenn Morris  <rgm@gnu.org>
2335         * speedbar.el (speedbar-mode):
2336         * play/fortune.el (fortune-in-buffer, fortune):
2337         * play/gomoku.el (gomoku-mode):
2338         * play/landmark.el (lm-mode):
2339         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2340         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
2342         * select.el (x-selection): Mark it as an obsolete alias.
2344 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
2346         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
2347         major-mode (bug#7284).
2349 2010-10-31  Glenn Morris  <rgm@gnu.org>
2351         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
2352         rather than just an unused variable that inherits from the real one.
2354 2010-10-31  Alan Mackenzie  <acm@muc.de>
2356         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
2357         This fixes bug #7185.
2359 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
2361         * startup.el (command-line): Search for package directories, and
2362         don't load package.el if none are found.
2364         * emacs-lisp/package.el (describe-package, list-packages):
2365         Call package-initialize if it has not been called yet.
2367 2010-10-30  Alan Mackenzie  <acm@muc.de>
2369         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
2370         which fontifies the tail of an enum.
2371         (c-basic-matchers-after): Insert a call to the above new function.
2372         This fixes bug #7264.
2374 2010-10-30  Glenn Morris  <rgm@gnu.org>
2376         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
2377         tool-bar-mode, transient-mark-mode.  (Bug#7306)
2378         Include the :set property in the dumped Emacs.
2380 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2382         SMIE: change indent rules format, improve smie-setup.
2383         * emacs-lisp/smie.el (smie-precs-precedence-table)
2384         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
2385         Mark them pure so the tables gets built at compile time.
2386         (smie-bnf-precedence-table): Store the closer-alist in the table.
2387         (smie-prec2-levels): Preserve the closer-alist.
2388         (smie-blink-matching-open): Be more forgiving in case of indentation.
2389         (smie-hanging-p): Rename from smie-indent--hanging-p.
2390         (smie-bolp): Rename from smie-indent--bolp.
2391         (smie--parent, smie--after): New dynamic vars.
2392         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
2393         (smie-indent-rules): Remove.
2394         (smie-indent--offset-rule): Remove fun.
2395         (smie-rules-function): New var.
2396         (smie-indent--rule): New fun.
2397         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
2398         (smie-indent-exps): Use it.
2399         (smie-setup): Setup paren blinking; add keyword args for token
2400         functions; extract closer-alist from op-levels.
2401         (smie-indent-debug-log): Remove var.
2402         (smie-indent-debug): Remove fun.
2403         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
2404         (prolog-smie-rules): New fun to replace it.
2405         (prolog-mode-variables): Simplify.
2406         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
2407         it's setup automatically.
2408         (octave-smie-indent-rules): Remove.
2409         (octave-smie-rules): New fun to replace it.
2410         (octave-mode): Simplify.
2412 2010-10-29  Glenn Morris  <rgm@gnu.org>
2414         * files.el (temporary-file-directory): Remove (already defined in C).
2415         * cus-start.el: Add temporary-file-directory.
2417         * abbrev.el (abbrev-mode):
2418         * composite.el (auto-composition-mode):
2419         * menu-bar.el (menu-bar-mode):
2420         * simple.el (transient-mark-mode):
2421         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
2422         that they do not define the associated variables twice.
2423         * simple.el (transient-mark-mode): Remove defvar.
2424         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
2425         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
2426         Handle multiple groups, and also custom-delayed-init-variables.
2427         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2429 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2431         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
2432         (pcase-if): Add one minor optimization.
2433         (pcase-split-equal): Rename from pcase-split-eq.
2434         (pcase-split-member): Rename from pcase-split-memq.
2435         (pcase-u1): Add strings to the member optimization.
2436         Add `guard' variant of predicates.
2437         (pcase-q1): Add string patterns.
2439 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2441         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
2443 2010-10-28  Glenn Morris  <rgm@gnu.org>
2445         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2446         Move menu-bar related settings to ../menu-bar.el.
2447         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
2448         Move ns-specific settings here from term/ns-win.el.
2450         * simple.el (x-selection-owner-p): Remove unused declaration.
2452 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2454         * minibuffer.el (completion-cycling): New var (bug#7266).
2455         (minibuffer-complete, completion--do-completion):
2456         Use completion--flush-all-sorted-completions.
2457         (minibuffer-complete): Only cycle if completion-cycling is set.
2458         (completion--flush-all-sorted-completions): Unset completion-cycling.
2459         (minibuffer-force-complete): Set completion-cycling.
2460         (completion-all-sorted-completions): Move declaration before first use.
2462 2010-10-28  Leo  <sdl.web@gmail.com>
2464         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
2465         which changes the order of matches seen by users (bug#7231).
2467 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
2469         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2470         Don't confuse -omega as "-o mega".
2472 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2474         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
2475         (log-edit-author): New dynamic var.
2476         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
2477         to return the author if different from committer.
2478         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
2480         * play/landmark.el: Adjust commenting convention.
2481         (lm-nil-score): Rename from nil-score.
2482         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
2483         (OOOOscore): Move into a let in lm-score-trans-table.
2484         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
2486         * electric.el (electric-indent-chars): Autoload.
2487         * progmodes/octave-mod.el (octave-mode):
2488         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
2489         (ruby-mode-abbrev-table): Merge initialization and declaration.
2491 2010-10-27  Glenn Morris  <rgm@gnu.org>
2493         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
2494         variable.
2496         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
2498         * term/ns-win.el: Restore require of cl when compiling.
2499         (menu-bar-final-items): Remove non-existent `windows' menu.
2500         (ns-handle-nxopen): Optionally handle the temp-case.
2501         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
2502         (ns-insert-file, ns-find-file): Use `pop'.
2504 2010-10-26  Glenn Morris  <rgm@gnu.org>
2506         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
2508 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
2510         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
2511         global map.
2512         * term/common-win.el (x-setup-function-keys): Remove most of the
2513         keymappings.  Comment on the remaining ones.
2515 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
2517         * server.el (server-port): New option.  (Bug#854)
2518         (server-start): Use server-port.
2520 2010-10-26  Glenn Morris  <rgm@gnu.org>
2522         * term/ns-win.el (ns-version-string): Remove unused declaration.
2523         (ns-invocation-args): Change to x-invocation-args.
2524         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
2525         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
2526         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
2527         Use x-invocation-args instead of ns-invocation-args.
2528         (ns-initialize-window-system, handle-args-function-alist):
2529         Use x-handle-args instead of ns-handle-args.
2530         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
2531         * startup.el (command-line-ns-option-alist): Replace
2532         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
2533         ns-handle-iconic with the x- equivalents.
2535         * term/common-win.el (x-select-enable-clipboard):
2536         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
2538         * term/ns-win.el: No need to require cl when compiling.
2539         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
2540         (xw-defined-colors): Use the common-win definitions.
2541         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
2542         (ns-handle-iconic): Make it an alias for x-handle-iconic.
2543         * term/common-win.el (x-select-text, x-alternatives-map)
2544         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
2545         * loadup.el [ns]: Load common-win.
2547 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
2549         * epa-mail.el (epa-mail-encrypt): Handle local-part only
2550         recipients; expand mail aliases (Bug#7280).
2552 2010-10-25  Glenn Morris  <rgm@gnu.org>
2554         * term/common-win.el (x-handle-switch): Simplify with pop.
2555         Optionally handle numeric switches.
2556         (x-handle-numeric-switch): Just call x-handle-switch.
2557         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
2558         (x-handle-name-switch, x-handle-display, x-handle-args):
2559         Simplify with pop.
2561         * term/ns-win.el: Do not require easymenu.
2562         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
2563         <spell>: Move adjustments to menu-bar.el.
2564         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
2565         <separator-undo, spell>: Move ns-win's adjustments here.
2566         * loadup.el [ns]: Do not load easymenu.
2568 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2570         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2571         Delete (Bug#7222).
2573         * startup.el (fancy-startup-tail): Instead of using inline images,
2574         refer to image files from etc/.
2576         * wid-edit.el (checkbox): Likewise.
2577         (widget-image-find): Center image specs.
2579 2010-10-24  Glenn Morris  <rgm@gnu.org>
2581         * term/ns-win.el (x-select-text): Doc fix.
2582         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
2583         (x-select-text): Move to term/common-win.
2584         * term/w32-win.el (xw-defined-colors): Move to common-win.
2585         * term/x-win.el (xw-defined-colors, x-alternatives-map)
2586         (x-setup-function-keys, x-select-text): Move to common-win.
2587         * term/common-win.el (x-select-text, x-alternatives-map)
2588         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
2589         definitions here.
2591 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
2593         * net/mairix.el (mairix-searches-mode-map):
2594         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
2596 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
2598         * verilog-mode.el (verilog-directive-re): Make this variable
2599         auto-built for efficiency of execution and updating.
2600         (verilog-extended-complete-re): Support 'pure' fucntion & task
2601         declarations (these have no bodies).
2602         (verilog-beg-of-statement): General cleanup to enable support of
2603         'pure' fucntion & task declarations (these have no bodies).
2604         These efforts together fix Verilog bug210 from veripool; which was also
2605         noticed by Steve Pearlmutter.
2606         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
2607         (verilog-directive-nest-re, verilog-set-auto-endcomments):
2608         Support `elsif.  Reported by Shankar Giri.
2609         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
2610         attribute handling for lining up declarations and assignments.
2611         (verilog-beg-of-statement-1): Fix issue where continued declaration
2612         is indented differently if it is after a begin..end clock.
2613         (verilog-in-attribute-p, verilog-skip-backward-comments)
2614         (verilog-skip-forward-comment-p): Support proper treatment of
2615         attributes by indent code. Reported by Jeff Steele.
2616         (verilog-in-directive-p): Fix comment to correctly describe function.
2617         (verilog-backward-up-list, verilog-in-struct-region-p)
2618         (verilog-backward-token, verilog-in-struct-p)
2619         (verilog-in-coverage-p, verilog-do-indent)
2620         (verilog-pretty-declarations): Use verilog-backward-up-list as
2621         wrapper around backward-up-list inorder to properly skip comments.
2622         Reported by David Rogoff.
2623         (verilog-property-re, verilog-endcomment-reason-re)
2624         (verilog-beg-of-statement, verilog-set-auto-endcomments)
2625         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
2626         of if). Reported by Max Bjurling and
2627         (verilog-calc-1): Fix for clocking block in modport
2628         declaration. Reported by Brian Hunter.
2630 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
2632         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
2633         (verilog-gate-keywords, verilog-read-sub-decls)
2634         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
2635         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
2636         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
2637         (verilog-read-decls): Fix spaces in V2K module parameters causing
2638         mis-identification as interfaces, bug287.
2639         (verilog-read-decls): Fix not treating "parameter string" as a
2640         parameter in AUTOINSTPARAM.
2641         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
2642         treating `elsif similar to `endif inside AUTOSENSE.
2643         (verilog-do-indent): Implement correct automatic or static task or
2644         function end comment highlight. Reported by Steve Pearlmutter.
2645         (verilog-font-lock-keywords-2): Fix highlighting of single
2646         character pins, bug264.  Reported by Michael Laajanen.
2647         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
2648         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
2649         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
2650         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
2651         (verilog-pretty-expr): Fix interactive arguments, bug272.
2652         Reported by Mark Johnson.
2653         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
2654         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
2655         bug269. Suggested by Gary Delp.
2656         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
2657         (verilog-preprocessor, verilog-set-compile-command):
2658         Create verilog-preprocess and verilog-preprocessor to show
2659         preprocessed output.
2660         (verilog-get-beg-of-line, verilog-get-end-of-line)
2661         (verilog-modi-file-or-buffer, verilog-modi-name)
2662         (verilog-modi-point, verilog-within-string): Move defmacro's
2663         before first use to avoid warning. Reported by Steve Pearlmutter.
2664         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
2665         (verilog-colorize-region, verilog-highlight-buffer)
2666         (verilog-highlight-includes, verilog-highlight-modules)
2667         (verilog-highlight-region, verilog-mode): Rename colorize to
2668         highlight to match other packages.  Disable module highlighting,
2669         as received speed complaints, reenable for experimentation only
2670         using new verilog-highlight-modules.
2671         (verilog-read-decls): Fix regexp stack overflow in very large
2672         AUTO_TEMPLATEs, bug250.
2673         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
2674         (verilog-scan): Create verilog-save-buffer-state to standardize
2675         making insignificant changes that shouldn't call hooks.
2676         (verilog-save-no-change-functions, verilog-save-scan-cache)
2677         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
2678         Create verilog-save-no-change-functions to wrap verilog-scan
2679         preservation, and fix to work with nested preserved calls.
2680         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
2681         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
2682         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
2683         (verilog-submit-bug-report): Update variable list to be complete.
2684         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
2685         breaking on-the-fly font-locking.
2686         (verilog-colorize-buffer, verilog-colorize-include-files)
2687         (verilog-colorize-include-files-buffer, verilog-colorize-region)
2688         (verilog-load-file-at-mouse, verilog-load-file-at-point)
2689         (verilog-mode, verilog-read-inst-module-matcher): With point on a
2690         AUTOINST cell instance name, middle mouse button now finds-file on
2691         it.  Suggested by Brad Dobbie.
2692         (verilog-alw-get-temps, verilog-auto-reset)
2693         (verilog-auto-sense-sigs, verilog-read-always-signals)
2694         (verilog-read-always-signals-recurse): Fix loop indexes being
2695         AUTORESET. AUTORESET now assumes any variables in the
2696         initialization section of a for() should be ignored.
2697         Reported by Dan Dever.
2698         (verilog-error-font-lock-keywords)
2699         (verilog-error-regexp-emacs-alist)
2700         (verilog-error-regexp-xemacs-alist): Fix error detection of
2701         Cadence HAL, reported by David Asher.  Repair drift between the
2702         three similar error variables.
2703         (verilog-modi-lookup, verilog-modi-lookup-cache)
2704         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
2705         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
2706         Fix slow verilog-auto expansion on very large files.
2707         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
2708         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
2709         "{1*2{...".  Broke in last revision.
2710         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
2711         submodule connections with replications "{#{a},#{b}}".
2713 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
2715         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
2716         Fix typo in docstring.
2718 2010-10-24  Kenichi Handa  <handa@m17n.org>
2720         * face-remap.el (text-scale-adjust): Call read-event with a proper
2721         prompt.
2723 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2725         * emacs-lisp/unsafep.el: Don't mark functions that display
2726         messages as safe.  Suggested by Johan Bockgård.
2728 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2730         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
2731         Turn comments into docstrings.
2733         * minibuffer.el (completion--replace): Move point where it belongs
2734         when there's a common suffix (bug#7215).
2736 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2738         Merge read-color and facemenu-read-color (Bug#7242).
2740         * faces.el (read-color): Use the completion code from
2741         facemenu-read-color.  Require match in completion.  Doc fix.
2743         * facemenu.el (facemenu-read-color): Alias for read-color.
2744         (facemenu-set-foreground, facemenu-set-background):
2745         Use read-color.
2747         * frame.el (set-background-color, set-foreground-color)
2748         (set-cursor-color, set-mouse-color, set-border-color):
2749         Use read-color.
2751 2010-10-24  Leo  <sdl.web@gmail.com>
2753         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
2754         argument of delete-file and delete-directory (Bug#7011).
2756 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2758         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
2759         button-buffer-map.
2761 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
2763         * emacs-lisp/package.el (package--generate-package-list): Make the
2764         *Packages* buffer read-only.
2766 2010-10-24  Alan Mackenzie  <acm@muc.de>
2768         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
2769         result of `c-beginning-of-decl-1' between invocations of a lambda
2770         function (Bug #7265).
2772 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
2774         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
2775         executable is not available on the system (Bug#7268).
2777 2010-10-24  Glenn Morris  <rgm@gnu.org>
2779         * select.el (selection-coding-system, next-selection-coding-system):
2780         Sync doc with C versions.
2782         * w32-vars.el (x-select-enable-clipboard):
2783         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
2784         * term/common-win.el (x-select-enable-clipboard): Move here.
2786         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
2787         definition of C variable.
2789         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
2790         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2791         Don't redefine things that are defined in C.
2792         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
2793         (show-trailing-whitespace, auto-hscroll-mode)
2794         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
2795         Set up the appropriate custom properties.
2797 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
2799         Bind "C-c ]" to ...
2800         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
2801         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
2802         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
2803         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
2805 2010-10-23  Glenn Morris  <rgm@gnu.org>
2807         * textmodes/flyspell.el (flyspell-mode): If there was an error,
2808         say what it was.
2810         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
2811         Sync docs with C version.
2813         * term/ns-win.el (xw-defined-colors):
2814         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
2816         * term/pc-win.el (x-select-enable-clipboard):
2817         * term/x-win.el (x-select-enable-clipboard):
2818         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
2820         * comint.el (comint-password-prompt-regexp): Make it less vague.
2821         Bump version.
2823         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
2825         * help.el (finder-by-keyword): Remove unnecessary autoload.
2827 2010-10-22  Glenn Morris  <rgm@gnu.org>
2829         * loadup.el: Unconditionally load float-sup.
2830         * paren.el (show-paren-delay):
2831         * emacs-lisp/float-sup.el:
2832         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
2833         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
2834         (lazy-lock-stealth-verbose): Assume float support.
2835         * ps-print.el: Assume float support on Emacs.
2836         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
2837         Remove non-float branch.
2839         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
2840         src/Makefile no longer being pre-processed.
2842 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2844         * emacs-lisp/find-func.el (find-library): Use test-completion.
2846 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2848         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
2850 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
2852         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
2853         space in stat format string.
2854         (tramp-send-command): Unset $PS1 when using here documents, in
2855         order not to get several prompts.
2856         (tramp-get-inline-coding): Return `nil' in case of errors.
2858 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
2860         * hexl.el (hexl-mode, hexl-mode-exit):
2861         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
2862         (hexl-revert-buffer-function): New function.
2863         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
2865 2010-10-19  Alan Mackenzie  <acm@muc.de>
2867         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
2868         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
2869         that these keywords aren't wrongly matched as identifiers.
2871         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
2872         setting of c-new-BEG and c-new-END from c-before-change to
2873         c-after-change.  (Bug#7181)
2875 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2877         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
2878         Don't mark as safe.
2880         * custom.el (custom-theme-set-variables): Likewise.
2881         (load-theme): Add custom-theme-set-faces and
2882         custom-theme-set-variables to safe-functions while loading.
2883         (custom-enabled-themes): Mark as risky.
2885 2010-10-18  Julien Danjou  <julien@danjou.info>
2887         * bindings.el: Remove end dashes in default mode-line-format.
2889 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2891         * bindings.el (global-map): Bind C-d to delete-char and deletechar
2892         to delete-forward-char.
2894         * simple.el (normal-erase-is-backspace-mode): Remap delete to
2895         deletechar, and hence delete-forward-char.
2897 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * repeat.el (repeat): Use read-key (bug#6256).
2901 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
2903         * emacs-lisp/unsafep.el: Don't mark functions that display
2904         messages as safe.  Suggested by Johan Bockgård.
2906 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2908         * minibuffer.el (completion--replace): Move point where it belongs
2909         when there's a common suffix (bug#7215).
2911 2010-10-19  Kenichi Handa  <handa@m17n.org>
2913         * international/characters.el: Add category '|' (word breakable)
2914         to fullwidth characters.
2916 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
2918         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
2919         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
2920         order to make stat results a float.  Patch by Andreas Schwab
2921         <schwab@linux-m68k.org>.
2923 2010-10-18  Julien Danjou  <julien@danjou.info>
2925         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
2926         hidden by `make-pointer-invisible'.
2928 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * files.el (locate-file-completion-table): Strip non-matching elements
2931         before checking length of list (bug#7238).
2933 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
2935         * custom.el (custom-theme-set-variables): Mark as a safe function.
2936         (load-theme): Check forms using unsafep.
2938         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
2940 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
2942         * textmodes/ispell.el (ispell-aspell-find-dictionary):
2943         Fix aspell data file searching (bug#7230).
2945 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2947         * cus-theme.el (custom-theme--migrate-settings): New var.
2948         (customize-create-theme): Allow editing the `user' theme.
2949         (custom-theme-add-variable, custom-theme-add-var-1)
2950         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
2951         to the front of each variable or face widget.
2952         (custom-theme-write): Save theme settings in the correct order.
2953         Optionally, remove saved settings from user customizations.
2954         (custom-theme-write-variables, custom-theme-write-faces):
2955         Save only the checked widgets.
2956         (customize-themes): Add a link for migrating custom settings.
2958         * custom.el (custom-declare-theme, provide-theme):
2959         Use custom-theme-name-valid-p.
2960         (custom-theme-name-valid-p): Remove checks that are now
2961         unnecessary since themes no longer obey load-path.
2963         * cus-edit.el (custom-variable-value-create): For the simple
2964         style, hide documentation string when hidden.
2966 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2968         * cus-edit.el (custom-variable, custom-face): Combine the
2969         :inhibit-magic and :display-style properties into a single
2970         :custom-style property.
2971         (custom-toggle-hide-variable, custom-toggle-hide-face):
2972         New functions.  If hiding an edited value, save it to :shown-value.
2973         (custom-variable-value-create, custom-face-value-create): Use them.
2974         (custom-magic-reset): Allow magic property to be unset.
2976         * custom.el: Custom themes no longer use load-path.
2977         (custom-theme-load-path): New option.  Change built-in theme
2978         directory to etc/.
2979         (custom-enabled-themes): Add custom-theme-load-path dependency.
2980         (custom-theme--load-path): New function.
2981         (load-theme, custom-available-themes): Use it.
2983         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
2984         (customize-themes): Link to custom-theme-load-path variable.
2985         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
2986         :custom-style property.
2988         * themes/*.el: Moved to etc/.
2990 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
2992         * textmodes/reftex-cite.el
2993         (reftex-extract-bib-entries-from-thebibliography): Do not move
2994         point when searching for \bibitem entries.  Match entries with
2995         spaces or tabs in front of arguments.
2997 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
2999         * cus-theme.el (customize-create-theme): Delete overlays after
3000         erasing.  If given a THEME arg, display only the faces of that arg
3001         instead of custom-theme--listed-faces.
3002         (custom-theme-variable-menu, custom-theme-variable-action)
3003         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
3004         (custom-theme-add-variable, custom-theme-add-face): Apply value
3005         from the theme settings, instead of the current value.
3006         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
3007         (custom-theme-visit-theme): Allow calling outside theme buffers.
3008         (custom-theme-merge-theme): Don't enable the theme when merging.
3009         (custom-theme-write-variables, custom-theme-write-faces): Use the
3010         :shown-value properties to save buffer values, not global ones.
3011         (customize-themes): Display a warning about user customizations.
3013         * cus-edit.el (custom-variable-value-create)
3014         (custom-face-value-create): Obey new special properties
3015         :shown-value and :inhibit-magic.
3017 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
3019         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3020         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
3021         <dale@codefu.org>.
3023 2010-10-14  Kenichi Handa  <handa@m17n.org>
3025         * mail/rmail.el (rmail-show-message-1): Catch an error of
3026         base64-decode-region and just show an error message (bug#7165).
3028         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
3029         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
3030         a font-spec (bug#7197).
3032 2010-10-14  Glenn Morris  <rgm@gnu.org>
3034         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
3036 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
3038         * international/mule.el (define-coding-system):
3039         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3040         * composite.el (compose-region): Fix typo in docstring.
3042 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
3044         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
3045         only after checking the theme-face property.
3047         * faces.el (face-spec-reset-face): Reset all attributes in one
3048         single call to set-face-attribute.
3049         (face-spec-match-p): Make it a defsubst.
3050         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
3051         (x-create-frame-with-faces, tty-create-frame-with-faces)
3052         (tty-set-up-initial-frame-faces): Don't recompute face specs in
3053         frame-set-background-mode, since they are recomputed immediately
3054         afterwards in face-set-after-frame-default.
3055         (face-set-after-frame-default): Minor optimization.
3056         (cursor): Provide non-trivial defface spec.
3058         * custom.el (custom-theme-recalc-face): Simplify.
3060 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
3062         * calc/calc-alg.el (math-var): Rename from `var'.
3063         (math-is-polynomial, math-is-poly-rec): Replace `var'
3064         with `math-var'.
3066         * calc/calcalg2.el (math-var): Rename from `var'.
3067         (calcFunc-table, math-scan-for-limits): Replace `var'
3068         with `math-var'.
3070 2010-10-13  Glenn Morris  <rgm@gnu.org>
3072         * subr.el (last): Deal with dotted lists (reported in bug#7174).
3074 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
3076         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
3078 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3080         * net/tls.el (tls-program): Remove spurious %s from openssl.
3081         (tls-starttls-switches): Remove starttls hack.
3082         (open-tls-stream): Ditto.
3083         (tls-find-starttls-argument): Ditto.
3085 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
3087         * image.el (image-library-alist): Declare as obsolete alias.
3088         (image-type-available-p): Use `dynamic-library-alist'.
3090         * term/w32-win.el (dynamic-library-alist):
3091         Use instead of `image-library-alist'.
3093 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
3095         * subr.el (last): Make it faster.  (Bug#7174)
3097 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
3099         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
3101 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3103         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
3104         (describe-theme-1): Extract doc from unloaded themes.
3106         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
3108         * themes/tango-theme.el:
3109         * themes/tango-dark-theme.el:
3110         * themes/wheatgrass-theme.el: New files.
3112 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
3114         * cus-theme.el (describe-theme, customize-themes)
3115         (custom-theme-save): New commands.
3116         (custom-new-theme-mode-map): Bind C-x C-s.
3117         (custom-new-theme-mode): Use custom--initialize-widget-variables.
3118         (customize-create-theme): New optional arg THEME.
3119         (custom-theme-revert): Use it.
3120         (custom-theme-visit-theme): Remove dead code.
3121         (custom-theme-merge-theme): Use custom-available-themes.
3122         (custom-theme-write): Make interactive.
3123         (custom-theme-write): Use custom-theme-name-valid-p.
3124         (describe-theme-1, custom-theme-choose-revert)
3125         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
3126         New funs.
3127         (custom-theme-allow-multiple-selections): New option.
3128         (custom-theme-choose-mode): New major mode.
3130         * custom.el (custom-theme-set-variables): Remove dead code.
3131         Obey custom--inhibit-theme-enable.
3132         (custom--inhibit-theme-enable): New var.
3133         (provide-theme): Obey it.
3134         (load-theme): Replace load with manual read/eval, in order to
3135         check for correctness.  Use custom-theme-name-valid-p.
3136         (custom-theme-name-valid-p): New function.
3137         (custom-available-themes): Use it.
3139         * cus-edit.el (custom--initialize-widget-variables): New function.
3140         (Custom-mode): Use it.
3142         * cus-face.el (custom-theme-set-faces): Remove dead code.
3143         Obey custom--inhibit-theme-enable.
3145         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
3147 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
3149         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
3151 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
3153         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
3154         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
3155         (mac-right-option-modifier): New alias for ns-right-option-modifier.
3157         * cus-start.el (all): ns-right-alternate-modifier is new.
3159 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3161         * emacs-lisp/lisp.el (lisp-completion-at-point):
3162         Use emacs-lisp-mode-syntax-table for the whole function.
3164 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
3166         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
3167         instead of font-lock-mode before adding keywords.
3168         Remove hi-lock-mode off code.  Remove inhibit hack.
3169         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
3170         non-nil; removed hook inhibit hack.
3172 2010-10-12  Glenn Morris  <rgm@gnu.org>
3174         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
3175         (load-path-shadows-find): ... to this.
3176         (list-load-path-shadows): Update for above change.
3178         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
3180 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
3182         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
3183         Fix comment for declare-function.
3185 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
3187         * custom.el (custom-fix-face-spec): New function; code moved from
3188         custom-face-edit-fix-value.
3189         (custom-push-theme): Use it when checking if a face has been
3190         changed outside customize.
3191         (custom-available-themes): New function.
3192         (load-theme): Use it.
3194         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
3196         * custom.el (custom-push-theme): Cleanup (use cond).
3197         (disable-theme): Recompute the saved-face property.
3198         (custom-theme-recalc-face): Follow face alias before setting prop.
3200         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3201         New variables, containing checkbox images.
3203         * startup.el (fancy-startup-tail):
3204         * wid-edit.el (checkbox): Use them.
3206 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
3208         * shell.el (shell-mode-map):
3209         * progmodes/modula2.el (m2-mode-map):
3210         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
3211         * play/mpuz.el (mpuz-mode-map):
3212         * play/landmark.el (lm-mode-map):
3213         * play/decipher.el (decipher-mode-map):
3214         * play/5x5.el (5x5-mode-map):
3215         * net/telnet.el (telnet-mode-map):
3216         * net/quickurl.el (quickurl-list-mode-map):
3217         * net/mairix.el (mairix-searches-mode-map):
3218         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
3219         * net/dig.el (dig-mode-map):
3220         * mail/mspools.el (mspools-mode-map):
3221         * hexl.el (hexl-mode-map):
3222         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
3223         (wordstar-C-o-map, wordstar-C-q-map):
3224         * emacs-lisp/edebug.el (edebug-eval-mode-map):
3225         * emacs-lisp/chart.el (chart-map):
3226         * edmacro.el (edmacro-mode-map):
3227         * erc/erc-list.el (erc-list-menu-mode-map):
3228         * array.el (array-mode-map): Declare and define in one step.
3230         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
3232 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
3234         * epa.el (epa-passphrase-callback-function): Display filename
3235         passed as the 3rd arg.
3236         * epa-file.el (epa-file-passphrase-callback-function):
3237         Pass filename to epa-passphrase-callback-function.
3239 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
3241         * cus-edit.el (custom-face-widget-to-spec)
3242         (custom-face-get-current-spec, custom-face-state): New functions.
3243         (custom-face-set, custom-face-mark-to-save)
3244         (custom-face-value-create, custom-face-state-set): Use them.
3246         * cus-theme.el (custom-theme--listed-faces): New var.
3247         (customize-create-theme): Use *Custom Theme* as the buffer name.
3248         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
3249         faces listed in custom-theme--listed-faces.
3250         (custom-theme-revert): New function.
3251         (custom-theme-add-variable, custom-theme-add-face): Insert at the
3252         bottom of the list.
3253         (custom-theme-write): Prompt for theme name if empty.
3254         (custom-theme-write-variables): Use dolist.
3255         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
3257 2010-10-09  Alan Mackenzie  <acm@muc.de>
3259         Enhance fontification of declarators to take account of the
3260         presence/absence of "typedef".
3262         * cc-engine.el (c-forward-type): New &optional param
3263         "brace-block-too".
3264         (c-forward-decl-or-cast-1): cdr of return value now indicates the
3265         presence of either or both of a "struct"-like keyword and "typedef".
3267         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
3268         fontification of declarators which follow a "}".
3269         (c-font-lock-declarations): Fontify declarators according to the
3270         presence/absence of "typedef".
3272         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
3273         for "typedef".
3274         (c-typedef-decl-key): New lang variable built from
3275         c-typedef-decl-kwds.
3277 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3279         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
3280         since that's too annoying.  Move the filter groups commands to
3281         TAB/backtab.
3283         * epa.el (epa-passphrase-callback-function): Say what we're
3284         querying the password for.
3286         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
3287         behaviour, don't bury the ibuffer buffer when visiting other buffers.
3289 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3291         * cus-edit.el (custom-commands, custom-buffer-create-internal)
3292         (custom-magic-value-create): Pad button tags with spaces.
3293         (custom-face-edit): New variable.
3294         (custom-face-value-create): Determine whether to use the usual
3295         face editor here, instead of using custom-face-selected.
3296         Pass face defaults to custom-face-edit widget.
3297         (custom-face-selected, custom-display-unselected): Delete widgets.
3298         (custom-display-unselected-match): Function removed.
3299         (custom-face-set, custom-face-mark-to-save):
3300         Accept custom-face-edit widgets as the direct widget child.
3302         * wid-edit.el (widget--completing-widget): New var.
3303         (widget-default-complete): Bind it when doing completion.
3304         (widget-string-complete, widget-file-complete): Use it.
3306 2010-10-09  Glenn Morris  <rgm@gnu.org>
3308         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
3309         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
3310         (holiday-hebrew-misc): Small simplifications.
3312         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
3314         * net/browse-url.el: Don't require thingatpt, term, dired,
3315         executable, or w3-auto when compiling.
3316         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
3317         Declare.
3318         (browse-url-text-emacs): Require term.
3320 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3322         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
3324 2010-10-08  Glenn Morris  <rgm@gnu.org>
3326         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
3328         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
3329         (shadows-compare-text-p): Make it an obsolete alias for...
3330         (load-path-shadows-compare-text): ... new name.
3331         (find-emacs-lisp-shadows): Update for above name change.
3332         (load-path-shadows-same-file-or-nonexistent): New name for the old
3333         shadow-same-file-or-nonexistent.
3335 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
3337         * minibuffer.el (completion--some, completion--do-completion)
3338         (minibuffer-complete-and-exit, minibuffer-completion-help)
3339         (completion-basic-try-completion)
3340         (completion-basic-all-completions)
3341         (completion-pcm--find-all-completions): Use lexical-let to
3342         avoid some false matches in variable completion (Bug#7056)
3344 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
3346         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
3348 2010-10-08  Leo  <sdl.web@gmail.com>
3350         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
3351         return non-nil if the file exists (Bug#7090).
3353 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3355         * minibuffer.el (completion--replace):
3356         Better preserve markers (bug#7138).
3358 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
3360         * server.el (server-process-filter): Doc fix.
3362 2010-10-08  Drew Adams  <drew.adams@oracle.com>
3364         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
3366 2010-10-08  Glenn Morris  <rgm@gnu.org>
3368         * vc/ediff-wind.el (ediff-setup-control-frame):
3369         * vc/ediff-ptch.el (ediff-default-backup-extension):
3370         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
3371         (ediff-exec-process): Remove system-types emx, windows-95.
3373         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
3375 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
3377         * cus-edit.el (custom-variable, custom-face): Doc fix.
3378         (custom-face-edit): Add value-create attribute.
3379         (custom-face-edit-value-create)
3380         (custom-face-edit-value-visibility-action): New functions.
3381         Hide unused face attributes by default, and add a visibility toggle.
3382         (custom-face-edit-deactivate): Show empty values with shadow face.
3383         (custom-face-selected): Only use this for face specs with default
3384         attributes.
3385         (custom-face-value-create): Cleanup.
3387         * wid-edit.el (widget-checklist-value-create): Use dolist.
3388         (widget-checklist-match-find): Make second arg optional.
3390 2010-10-07  Glenn Morris  <rgm@gnu.org>
3392         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
3393         Prefix things.
3395         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
3396         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
3397         load-path-shadows-mode, update references.
3398         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
3399         Rename variable and button.
3400         (list-load-path-shadows): Update button caller.
3402 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3404         * emacs-lisp/smie.el (smie-bnf-classify): New function.
3405         (smie-bnf-precedence-table): Use it to remember the closers/openers.
3406         (smie-merge-prec2s): Handle those new entries.
3407         (smie-prec2-levels): Only set precedence to nil for actual
3408         openers/closers.
3409         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
3410         that is now unnecessary.
3412 2010-10-07  Miles Bader  <miles@gnu.org>
3414         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
3416 2010-10-07  Glenn Morris  <rgm@gnu.org>
3418         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
3419         (mail-position-on-field): Remove declarations.
3420         (mail-position-on-field): Autoload it.
3421         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
3422         and mail-header-end.  Don't require sendmail.
3424         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
3425         (shadow-mode): New mode.
3426         (shadow-find-file): New button.
3427         (list-load-path-shadows): Use shadow-mode and buttons.
3429         * iimage.el (iimage-version): Remove.
3430         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
3431         Turn into defcustoms.
3432         (iimage-mode-map): Give it a doc string.
3434         * calendar/appt.el (appt-activate): Give a warning rather than an error
3435         if there is no diary-file.
3437 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
3439         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3440         Use `tramp-handle-find-backup-file-name'.
3442 2010-10-06  Glenn Morris  <rgm@gnu.org>
3444         * font-core.el (font-lock-defaults-alist): Remove variable.
3445         (font-lock-mode): Doc fix.
3446         (font-lock-default-function): Do not consult font-lock-defaults-alist.
3447         * font-lock.el (font-lock-refresh-defaults): Doc fix.
3448         (font-lock-set-defaults): Doc fix.
3449         Do not consult font-lock-defaults-alist.
3451         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
3453         * emacs-lisp/cl.el: No longer provide cl-19.
3455 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
3457         * net/tramp.el (tramp-handle-directory-files-and-attributes)
3458         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
3459         New defuns, taken from tramp-smb.el.
3460         (tramp-coding-system-change-eol-conversion)
3461         (tramp-set-process-query-on-exit-flag): Remove.
3463         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
3464         (tramp-compat-coding-system-change-eol-conversion)
3465         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
3466         from tramp.el.
3468         * net/tramp-gvfs.el:
3469         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
3470         by `tramp-compat-set-process-query-on-exit-flag'.
3472         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3473         Use `tramp-handle-directory-files-and-attributes',
3474         `tramp-handle-file-exists-p' and
3475         `tramp-handle-file-newer-than-file-p'.
3476         (tramp-imap-handle-file-exists-p)
3477         (tramp-imap-handle-file-executable-p)
3478         (tramp-imap-handle-file-readable-p)
3479         (tramp-imap-handle-directory-files-and-attributes)
3480         (tramp-imap-handle-file-newer-than-file-p): Remove.
3482         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
3483         by `tramp-compat-set-process-query-on-exit-flag' and
3484         `tramp-coding-system-change-eol-conversion' by
3485         `tramp-compat-coding-system-change-eol-conversion'.
3487         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3488         Use `tramp-handle-directory-files-and-attributes',
3489         `tramp-handle-file-exists-p' and
3490         `tramp-handle-file-newer-than-file-p'.
3491         (tramp-smb-handle-directory-files-and-attributes)
3492         (tramp-smb-handle-file-exists-p)
3493         (tramp-smb-handle-file-newer-than-file-p): Remove.
3494         (tramp-smb-maybe-open-connection):
3495         Replace `tramp-set-process-query-on-exit-flag' by
3496         `tramp-compat-set-process-query-on-exit-flag'.
3498 2010-10-05  Glenn Morris  <rgm@gnu.org>
3500         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
3502 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
3504         Continue reorganization of load dependencies.  (Bug#7156)
3506         * net/tramp.el (tramp-handle-file-local-copy-hook)
3507         (tramp-delete-temp-file-function): Move down.
3508         (tramp-exists-file-name-handler): Move up.
3509         (tramp-register-file-name-handlers): Simplify autoload.
3510         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
3511         (tramp-handle-directory-files, tramp-handle-dired-uncache)
3512         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
3513         (tramp-handle-file-name-completion)
3514         (tramp-handle-file-name-directory)
3515         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
3516         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
3517         (tramp-handle-find-backup-file-name)
3518         (tramp-handle-insert-file-contents, tramp-handle-load)
3519         (tramp-handle-substitute-in-file-name)
3520         (tramp-handle-unhandled-file-name-directory)
3521         (tramp-mode-string-to-int, tramp-local-host-p)
3522         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
3524         * net/tramp-gvfs.el (top):
3525         * net/tramp-smb.el (top): Do not require 'tramp-sh.
3527         * net/tramp-sh.el (all): Move several objects to tramp.el, see
3528         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
3530 2010-10-04  Glenn Morris  <rgm@gnu.org>
3532         * calendar/appt.el (appt-add): Ensure reminders are enabled.
3533         (appt-activate): Give status messages.
3535 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3537         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
3538         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
3539         `gnutls-negotiate' (formerly `starttls-negotiate').
3540         Remove trivial wrapper `starttls-open-stream'.
3542 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
3544         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
3545         log-outgoing commands.
3546         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
3547         to create a buffer local revert-buffer-function variable.
3548         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
3549         revert-buffer-function lambda.
3551 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
3553         * net/gnutls.el (starttls-negotiate): Use the plist interface to
3554         `gnutls-boot'.  Make TYPE the only required parameter.
3555         Allow TRUSTFILES and KEYFILES to be lists.
3556         (open-ssl-stream): Use it.
3558 2010-10-03  Glenn Morris  <rgm@gnu.org>
3560         * subr.el (directory-sep-char): Remove obsolete variable.
3561         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
3562         it is "necessary".
3564         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
3565         * vc/vc.el (vc-static-header-alist): Doc fix.
3566         * vc/vc-cvs.el (vc-cvs-header):
3567         * vc/vc-rcs.el (vc-rcs-header):
3568         * vc/vc-sccs.el (vc-sccs-header):
3569         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
3570         * obsolete/vc-mcvs.el (vc-mcvs-header):
3571         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
3572         on XEmacs.
3574 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3576         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
3577         Remove obsolete use of binary-overwrite-mode (Bug#7001).
3579 2010-10-03  Glenn Morris  <rgm@gnu.org>
3581         * obsolete/x-menu.el: Remove file, obsolete since 21.1
3583         * textmodes/rst.el (rst-font-lock-keywords-function):
3584         Drop Emacs 20 code.
3586         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
3588         * printing.el: Drop Emacs 20 code.
3590         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
3591         without having used appt.el already).
3593         * subr.el (make-local-hook): Remove function obsolete since 21.1.
3594         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
3595         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
3596         XEmacs.
3597         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
3598         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
3600         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
3601         (charset-width, find-charset-region, chars-in-region, forward-point)
3602         (encode-coding-string, coding-system-p, ccl-execute-on-string)
3603         (define-ccl-program, multibyte-string-p, string-make-multibyte):
3604         Remove compatibility cruft (none of these are used by ps*.el).
3606 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3608         * subr.el (booleanp): Return t instead of a list (Bug#7086).
3610 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
3612         * server.el (server-process-filter, server-return-error):
3613         Give emacsclient time to shut down after receiving an error string.
3615 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
3617         * files.el (remote-file-name-inhibit-cache): New defcustom.
3619         * time.el (display-time-file-nonempty-p):
3620         Use `remote-file-name-inhibit-cache'.
3622         * net/tramp.el (tramp-completion-reread-directory-timeout):
3623         Fix docstring.
3625         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
3626         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
3627         `remote-file-name-inhibit-cache'.  Check also for an integer
3628         value.  Add/increase counter when `tramp-verbose' >= 10.
3629         (tramp-set-file-property): Add/increase counter when
3630         `tramp-verbose' >= 10.
3632         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3633         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
3634         (tramp-bug): Set tramp-autoload cookie.  Report all interned
3635         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
3636         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
3637         characters only in strings.
3639         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
3640         to backward compatibility.
3642         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
3643         (tramp-handle-file-name-all-completions)
3644         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
3645         (tramp-open-connection-setup-interactive-shell):
3646         Call `tramp-cleanup-connection' directly.
3648 2010-10-02  Glenn Morris  <rgm@gnu.org>
3650         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
3652         * subr.el (char-bytes): Remove obsolete function.
3654         * isearch.el (isearch-return-char): Remove obsolete function.
3656         * mouse.el: No longer provide mldrag.
3657         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
3658         Remove obsolete aliases.
3660         * comint.el (comint-kill-output): Remove obsolete alias.
3662         * composite.el (decompose-composite-char): Remove obsolete function.
3663         * ps-def.el (decompose-composite-char): Remove unused function.
3665         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
3667         * outline.el (outline-visible): Remove obsolete function.
3669         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
3670         * faces.el (internal-find-face, internal-get-face)
3671         (frame-update-faces, frame-update-face-colors)
3672         (x-frob-font-weight, x-frob-font-slant)
3673         (internal-frob-font-weight, internal-frob-font-slant)
3674         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
3675         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
3676         (x-make-font-bold-italic): Remove functions and aliases, obsolete
3677         since Emacs 21.1.
3678         * emulation/viper-util.el (viper-get-face):
3679         * obsolete/lucid.el (find-face, get-face): Use facep.
3680         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
3681         Remove unused functions.
3682         * vc/ediff-util.el (ediff-submit-report): Doc fix.
3684         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
3685         delete tempfile if interrupted during compilation.
3687 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3689         * net/tls.el (tls-starttls-switches): Give up on using starttls with
3690         gnutls-cli.
3691         (tls-program): Add --insecure to be consistent with the defaults from
3692         openssl s_client.  Now all three commands are insecure.
3694 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
3696         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
3697         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
3698         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
3700 2010-10-01  Glenn Morris  <rgm@gnu.org>
3702         * obsolete/sc.el: Remove file.
3704         * files.el (temporary-file-directory): On darwin, also try
3705         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
3707 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
3709         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
3710         Let's not break compatibility gratuitously, shall we?
3712 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3714         * net/tls.el (tls-starttls-switches): New variable.
3715         (tls-find-starttls-argument): Use it.
3716         (open-tls-stream): Ditto.
3718         * net/netrc.el (netrc-credentials): Return the value of the "default"
3719         entry.
3720         (netrc-machine): Ditto.
3722 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
3724         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
3726 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
3728         * server.el (server-start): Don't write pid to the authentication file.
3729         (server-create-tty-frame): Don't send pid.
3730         (server-process-filter): Send pid at the start of every connection.
3732 2010-09-30  Glenn Morris  <rgm@gnu.org>
3734         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
3735         (show-all-diary-entries): Remove obsolete function aliases.
3737         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
3738         Remove options, obsolete since 22.1.
3739         (appt-display-format, appt-display-message):
3740         Remove backwards-compatibility code.
3741         (appt-check): No longer check appt-issue-message.
3742         (appt-make-list): No longer autoload it.  Doc fix.  No longer
3743         activate the package.
3745 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3747         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
3748         (starttls-negotiate): Just call boot, and let the handshake be
3749         triggered from the read loop.
3751 2010-09-29  Glenn Morris  <rgm@gnu.org>
3753         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
3754         not displaying the diary.
3755         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
3756         * calendar/appt.el (appt-check): No longer need to kill diary.
3758         * calendar/diary-lib.el (diary-list-entries): Move the
3759         "Preparing..." message entirely here.
3760         (diary-simple-display, diary-fancy-display): Move "Preparing..."
3761         messages to diary-list-entries.
3762         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
3763         diary-display-function.
3765         * calendar/diary-lib.el (diary-include-other-diary-files):
3766         Trap some recursive includes.
3768         * calendar/appt.el (appt-activate): Check diary file.
3770 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
3772         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
3773         construction.
3775         * calendar/time-date.el: No need to require cl for Emacs 21.
3777 2010-09-28  Glenn Morris  <rgm@gnu.org>
3779         * calendar/appt.el (appt-check): Minor simplification.
3781 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
3783         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
3784         citation prefix.
3786 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
3788         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3789         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
3791 2010-09-27  Kenichi Handa  <handa@m17n.org>
3793         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
3794         "ustar" format.
3796 2010-09-27  Kenichi Handa  <handa@m17n.org>
3798         * international/mule.el (define-coding-system): Docstring fixed.
3800         * international/mule-diag.el (describe-character-set): Use princ
3801         with proper print-length and print-level instead of insert.
3803 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
3805         * window.el (walk-windows): Doc fix (bug#7105).
3807 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3809         * emacs-lisp/float-sup.el (e): Remove.
3811 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
3813         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
3814         variable.
3815         (starttls-negotiate): Use it.
3817 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3819         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
3820         back.
3822 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3824         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
3826 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3828         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
3830         * net/netrc.el (netrc-store-data): New function.
3832 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
3834         * net/gnutls.el: GnuTLS glue code to set up a connection.
3836 2010-09-25  Julien Danjou  <julien@danjou.info>
3838         * notifications.el: Call dbus-register-signal only if it is bound.
3840 2010-09-25  Glenn Morris  <rgm@gnu.org>
3842         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3843         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3844         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3845         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3846         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3847         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
3848         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
3849         * eshell/esh-util.el, eshell/esh-var.el:
3850         Remove leading `*' from docs of faces and defcustoms.
3852 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
3854         * eshell/em-ls.el (eshell-ls-archive-regexp):
3855         * eshell/esh-util.el (eshell-tar-regexp):
3856         * ibuffer.el (ibuffer-compressed-file-name-regexp):
3857         * info.el (Info-suffix-list):
3858         * international/mule.el (auto-coding-alist):
3859         * woman.el (woman-file-regexp, woman-file-compression-regexp):
3860         * progmodes/etags.el (tags-compression-info-list):
3861         Support xz compression.
3863 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
3865         * files.el (get-free-disk-space): Don't assume the "df" output
3866         columns line up (Bug#6995).
3868 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3870         * finder.el (finder-unknown-keywords):
3871         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
3872         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
3874 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
3876         * server.el (server-start): Revert part of 2010-08-08 change.  Using
3877         address 127.0.0.1 for local host is now done in Fmake_network_process.
3879 2010-09-24  Glenn Morris  <rgm@gnu.org>
3881         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
3882         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
3883         * textmodes/css-mode.el, textmodes/dns-mode.el:
3884         Move autoloaded auto-mode-alist entries to files.el.
3885         * files.el (auto-mode-alist): Move entries here.
3887 2010-09-23  Glenn Morris  <rgm@gnu.org>
3889         * isearch.el (isearch-lazy-highlight-cleanup)
3890         (isearch-lazy-highlight-initial-delay)
3891         (isearch-lazy-highlight-interval)
3892         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
3893         * net/net-utils.el (ipconfig-program-options):
3894         Move aliases to options before the associated definitions.
3896 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3898         * newcomment.el (comment-normalize-vars): Better test validity of
3899         comment-end-skip.
3901 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3903         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
3904         (float-e): New name for `e'.
3905         (degrees-to-radians, radians-to-degrees):
3906         * calendar/solar.el (solar-longitude):
3907         * calculator.el (calculator-registers, calculator-funcall):
3908         * textmodes/artist.el (artist-spray-random-points):
3909         * play/bubbles.el (bubbles--initialize-images): Use new names.
3911 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
3913         Update to CEDET 1.0's version of EIEIO.
3915         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
3916         New function.
3917         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
3918         (eieio-default-eval-maybe): Eval val instead of unquoting only.
3919         (class-precedence-list): If class is nil, return nil.
3920         (eieio-generic-call): If class of first input arg is nil, don't
3921         look up static methods, and do check for primary methods.
3922         (initialize-instance): See if the default needs to be evaluated
3923         during the constructor.
3924         (eieio-perform-slot-validation-for-default): Don't do the check
3925         for values that will eventually be evaluated.
3926         (eieio-eval-default-p): New function.
3927         (eieio-default-eval-maybe): Use it.
3929 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3931         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
3932         method-invocation-order.
3933         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
3934         (eieio-class-precedence-dfs): Compute class precedence list using
3935         dfs algorithm.
3936         (eieio-class-precedence-bfs): Compute class precedence list using
3937         bfs algorithm.
3938         (eieio-class-precedence-c3): Compute class precedence list using
3939         c3 algorithm.
3940         (class-precedence-list): New function.
3941         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
3942         (inconsistent-class-hierarchy): New error symbol.
3943         (call-next-method): Stow the replacement argument list for future
3944         call-next-method invocations.
3946 2010-09-23  Glenn Morris  <rgm@gnu.org>
3948         * calendar/appt.el (appt-check): If not displaying the diary,
3949         use (diary 1) to only get the entries we need.
3950         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
3951         that it is in day order.  (Bug#7019)
3953         * calendar/appt.el (appt-check): Rather than showing the diary,
3954         just turn off invisible display, and only if needed.
3956         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
3958 2010-09-23  Glenn Morris  <rgm@gnu.org>
3960         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3961         (byte-compile-defvar, byte-compile-cl-warn):
3962         Start warnings with lower-case, like the majority.
3964         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
3966         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
3968         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
3969         * files.el (auto-mode-alist): Move ld-script entries here, further down
3970         the list.
3972         * vc/add-log.el: Don't require timezone when compiling.
3973         (timezone-make-date-sortable): Autoload it.
3974         (change-log-sortable-date-at): Don't require timezone.
3975         Use `ignore-errors'.
3977         * comint.el (comint-use-prompt-regexp-instead-of-fields):
3978         Move alias before definition, so it does not need autoloading.
3980         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
3981         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
3982         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
3983         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
3984         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
3985         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
3986         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
3987         * textmodes/tex-mode.el, textmodes/two-column.el:
3988         Remove leading `*' from docs of defcustoms etc.
3990 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
3992         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
3994 2010-09-22  Dan Christensen  <jdc@uwo.ca>
3996         * calendar/time-date.el (date-to-time): Try using parse-time-string
3997         first before using the slower timezone-make-date-arpa-standard.
3999 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
4001         * calendar/time-date.el (format-seconds): Comment fix.
4003 2010-09-22  Glenn Morris  <rgm@gnu.org>
4005         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
4006         is not automatically buffer-local.
4008 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4010         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
4011         (smie-indent-comment): Be more careful with comment-start-skip.
4012         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
4013         (smie-indent-functions): Use them.
4015 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
4017         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
4019 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
4021         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
4022         tool-bar-position.  Don't modify frame parameters here.
4023         (menu-bar-options-save): Add tool-bar-position.
4025         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
4027 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4029         * textmodes/reftex-parse.el (reftex-what-macro)
4030         (reftex-context-substring): Let-bind forward-sexp-function to nil
4031         since we don't need/want to treat \begin...\end as a block (bug#7053).
4033         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
4035         * simple.el (blink-matching-open): Use syntax-class.
4037         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
4038         Set invisibility spec for pascal's outline mode.
4039         (pascal-outline-change): Clean up calling convention.
4040         (pascal-show-all, pascal-hide-other-defuns): Update callers.
4042         * progmodes/prolog.el (prolog-smie-forward-token)
4043         (prolog-smie-backward-token): New functions.
4044         (prolog-mode-variables): Use them to parse "!," correctly.
4045         Set up smie-blink-matching for ".".
4047         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
4048         and `end'.
4049         (ispell-region, ispell-process-line): Update users.
4051         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
4052         point-min==1.
4054         * textmodes/ispell.el: Fix commenting convention.
4055         (ispell-parse-output): Simplify, use push.
4056         (ispell-region): Use match-string-no-properties.
4057         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
4058         (ispell-minor-mode): Use define-minor-mode.
4059         (ispell-message): Remove unused var `skip-regexp'.
4060         (ispell-add-per-file-word-list): Use dynamic let-binding.
4061         Try and use the proper comment marker.
4063         * mail/sendmail.el: Fix commenting convention.
4064         (sendmail-send-it): Use line-beginning-position.
4066         * help-fns.el (describe-variable): Add original value, if applicable.
4068 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
4070         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
4072         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
4074 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4076         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
4077         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
4078         (smie-prec2-levels): Use them to better diagnose precedence cycles.
4079         (smie-blink-matching-check): Don't signal a mismatch if car is t.
4080         (smie-blink-matching-open): Rewrite to remove assumptions, so that
4081         something like "." can also be a closer.
4082         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
4083         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
4084         Rename internal functions to use "--".  Update callers.
4086         * frame.el (make-frame-names-alist): Don't list frames on other displays.
4088         * fringe.el (fringe-styles): New var.
4089         (fringe-mode, fringe-query-style): Use it.
4091 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
4093         * progmodes/sql.el: Version 2.8
4094         (sql-login-params): Update widget structure; changes still needed.
4095         (sql-product-alist): Add :list-all and :list-table features for
4096         SQLite, Postgres and MySQL products.
4097         (sql-redirect): Handle default value.
4098         (sql-execute, sql-execute-feature): New functions.
4099         (sql-read-table-name): New function.
4100         (sql-list-all, sql-list-table): New functions.  User API.
4101         (sql-mode-map, sql-interactive-mode-map): Add key definitions
4102         for above functions.
4103         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
4104         for above functions.
4105         (sql-postgres-login-params): Add user and database defaults.
4106         (sql-buffer-live-p): Bug fix.
4107         (sql-product-history): New variable.
4108         (sql-read-product): New function. Use it.
4109         (sql-set-product, sql-product-interactive): Use it.
4110         (sql-connection-history): New variable.
4111         (sql-read-connection): New function.  Use it.
4112         (sql-connect): New function.
4113         (sql-for-each-login): Redesign function interface.
4114         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
4115         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
4116         (sql-comint): Check for program.  Existing live buffer.
4117         (sql-comint-postgres): Add port parameter.
4119 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4121         * emacs-lisp/warnings.el: Fix commenting convention.
4122         (display-warning): Use special mode and make the buffer read-only.
4124 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
4126         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
4127         empty string when it follows a repeated or optional pattern.
4129 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4131         * indent.el (indent-according-to-mode): Apply syntax-propertize.
4132         (indent-region): Use indent-according-to-mode.
4134 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
4136         * fringe.el (fringe-mode): Doc fix.
4138 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
4140         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
4141         refreshing the preview buffer.
4143 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4145         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
4146         (latex-syntax-propertize-rules): New consts; replace
4147         tex-font-lock-syntactic-keywords.
4148         (tex-env-mark, latex-env-before-change): New functions.
4149         (latex-electric-env-pair-mode): New minor mode.
4150         (tex-font-lock-verb): Change arguments; do move point.
4151         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
4152         representation as a form of comment.
4153         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
4154         (doctex-syntax-propertize-rules): New const; replaces
4155         doctex-font-lock-syntactic-keywords.
4156         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
4158         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
4159         (fortran-make-syntax-propertize-function): New function; replaces
4160         fortran-font-lock-syntactic-keywords.
4161         (fortran-mode): Use it.
4162         (fortran-line-length): Use it.  Improve interactive spec.
4164         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
4165         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
4166         when adding surrounding \(..\).
4168         * progmodes/js.el (js-mode): Fix last change (bug#7054).
4170 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4172         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
4173         Use with-current-buffer.
4175         * isearch.el (isearch-face): Rename from `isearch'.
4176         (isearch-highlight): Use new name.
4178 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
4180         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
4181         5, for `half' width fringes.  (Bug#6933)
4183 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4185         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
4186         (byte-compile-defvar): "foo/bar" does not lack a prefix.
4188         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
4190 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
4192         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
4193         in calculating new frame position.  Add more space between new and
4194         parent on the left (Bug#7048).
4196 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
4198         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
4199         defmacro.
4201 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
4203         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
4205         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
4206         obsolete alias for x-selection-value.
4208         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
4210 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
4212         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
4213         cookie.
4215 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
4217         * net/tramp-compat.el (tramp-compat-with-temp-message)
4218         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
4219         (tramp-compat-process-put): New defuns.
4221         * net/tramp.el (top):
4222         * net/tramp-gvfs.el (top):
4223         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
4225         * net/tramp.el (tramp-progress-reporter-update):
4226         Use `tramp-compat-funcall'.
4228         * net/tramp.el (tramp-process-actions):
4229         * net/tramp-gvfs.el (tramp-handle-vc-registered):
4230         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
4231         (tramp-get-remote-stat, tramp-get-remote-readlink):
4232         Use `tramp-compat-with-temp-message'.
4234         * net/tramp-sh.el (top): Require 'cl.
4235         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
4236         (tramp-open-connection-setup-interactive-shell):
4237         Use `tramp-compat-process-put'.
4239 2010-09-15  Alan Mackenzie  <acm@muc.de>
4241         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
4242         indentation.
4243         (c-forward-<>-arglist-recur): Fix an infinite recursion.
4245 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4247         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4248         `lexical' for warnings related to lexical scoping.
4249         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
4250         global vars which don't have a prefix and could hence affect lexical
4251         scoping in unrelated files.
4253 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4255         * net/imap.el: Revert back to version
4256         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
4257         seem problematic.
4259 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
4261         * obsolete/old-whitespace.el (whitespace-unload-function):
4262         Explicitly pass `obarray' to `unintern' to avoid a warning.
4264 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4266         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4267         Add `when' argument.  Update callers.
4269         * subr.el (unintern): Declare the obarray arg mandatory.
4271 2010-09-14  Glenn Morris  <rgm@gnu.org>
4273         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
4274         Doc fixes.
4276         * calendar/diary-lib.el (diary-included-files): New variable.
4277         (diary-list-entries): Maybe initialize diary-included-files.
4278         (diary-include-other-diary-files): Append to diary-included-files.
4279         * calendar/appt.el (appt-update-list): Also check the members of
4280         diary-included-files.  (Bug#6999)
4281         (appt-check): Doc fix.
4283 2010-09-14  David Reitter  <david.reitter@gmail.com>
4285         * simple.el (line-move-visual): Do not truncate goal column to
4286         integer size.  (Bug#7020)
4288 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4290         * repeat.el (repeat): Allow repeating when the last event is a click.
4291         Suggested by Drew Adams (bug#6256).
4293 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
4295         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
4296         Replace setting HGRCPATH to "" by some less invasive --config options.
4298 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4300         * font-lock.el (font-lock-beginning-of-syntax-function):
4301         Mark as obsolete.
4303 2010-09-14  Glenn Morris  <rgm@gnu.org>
4305         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
4306         and tool-bar modes.  (Bug#6211)
4307         (menu-bar-mode): Move setting of standard-value after the
4308         minor-mode definition, otherwise it seems to have no effect.
4310 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
4312         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
4313         Fix typo.  (Bug#6976)
4315 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4317         * whitespace.el: Allow cleaning up blanks without blank
4318         visualization (Bug#6651).  Adjust help window for
4319         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4320         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
4321         (whitespace-style): Add new value 'face.  Adjust docstring.
4322         (whitespace-space, whitespace-hspace, whitespace-tab):
4323         Adjust foreground property face.
4324         (whitespace-line-column): Adjust docstring and type declaration.
4325         (whitespace-style-value-list, whitespace-toggle-option-alist)
4326         (whitespace-help-text): Adjust const initialization.
4327         (whitespace-toggle-options, global-whitespace-toggle-options):
4328         Adjust docstring.
4329         (whitespace-display-window, whitespace-interactive-char)
4330         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4331         (whitespace-help-scroll): New fun.
4333 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
4335         * calendar/time-date.el (format-seconds): Comment fix.
4337 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
4339         * progmodes/sql.el: Version 2.7.
4340         (sql-buffer-live-p): Improve detection.
4341         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4342         (sql-set-sqli-buffer): Use it.
4343         (sql-product-interactive): Run `sql-set-sqli-hook'.
4344         (sql-rename-buffer): Code cleanup.
4345         (sql-redirect, sql-redirect-value): New functions.  More to come.
4347 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
4349         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.
4350         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4351         (TRAMP_SRC): New macro.
4352         ($(lisp)/net/tramp-loaddefs.el): New target.
4354 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
4356         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
4358         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
4360         * net/tramp.el (top): Don't show loading message.  Require just
4361         'tramp-compat, everything else is required there.
4362         Use `ignore-errors' where appropriate.
4363         (tramp-inline-compress-start-size, tramp-copy-size-limit)
4364         (tramp-terminal-type, tramp-end-of-output)
4365         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
4366         (tramp-completion-function-alist-ssh)
4367         (tramp-completion-function-alist-telnet)
4368         (tramp-completion-function-alist-su)
4369         (tramp-completion-function-alist-putty, tramp-remote-path)
4370         (tramp-remote-process-environment, tramp-sh-extra-args)
4371         (tramp-actions-before-shell, tramp-uudecode)
4372         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
4373         (tramp-perl-file-attributes)
4374         (tramp-perl-directory-files-and-attributes)
4375         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
4376         (tramp-perl-encode, tramp-perl-decode)
4377         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
4378         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
4379         (tramp-handle-make-symbolic-link, tramp-handle-load)
4380         (tramp-handle-file-name-as-directory)
4381         (tramp-handle-file-name-directory)
4382         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
4383         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
4384         (tramp-do-file-attributes-with-ls)
4385         (tramp-do-file-attributes-with-perl)
4386         (tramp-do-file-attributes-with-stat)
4387         (tramp-handle-set-visited-file-modtime)
4388         (tramp-handle-verify-visited-file-modtime)
4389         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
4390         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
4391         (tramp-handle-file-selinux-context)
4392         (tramp-handle-set-file-selinux-context)
4393         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
4394         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
4395         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
4396         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
4397         (tramp-handle-file-ownership-preserved-p)
4398         (tramp-handle-directory-file-name, tramp-handle-directory-files)
4399         (tramp-handle-directory-files-and-attributes)
4400         (tramp-do-directory-files-and-attributes-with-perl)
4401         (tramp-do-directory-files-and-attributes-with-stat)
4402         (tramp-handle-file-name-all-completions)
4403         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
4404         (tramp-handle-copy-file, tramp-handle-copy-directory)
4405         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
4406         (tramp-do-copy-or-rename-file-via-buffer)
4407         (tramp-do-copy-or-rename-file-directly)
4408         (tramp-do-copy-or-rename-file-out-of-band)
4409         (tramp-handle-make-directory, tramp-handle-delete-directory)
4410         (tramp-handle-delete-file)
4411         (tramp-handle-dired-recursive-delete-directory)
4412         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
4413         (tramp-handle-insert-directory)
4414         (tramp-handle-unhandled-file-name-directory)
4415         (tramp-handle-expand-file-name)
4416         (tramp-handle-substitute-in-file-name)
4417         (tramp-handle-executable-find, tramp-process-sentinel)
4418         (tramp-handle-start-file-process, tramp-handle-process-file)
4419         (tramp-handle-call-process-region, tramp-handle-shell-command)
4420         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
4421         (tramp-handle-insert-file-contents)
4422         (tramp-handle-insert-file-contents-literally)
4423         (tramp-handle-find-backup-file-name)
4424         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
4425         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
4426         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
4427         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
4428         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
4429         (tramp-find-file-exists-command, tramp-open-shell)
4430         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
4431         (tramp-open-connection-setup-interactive-shell)
4432         (tramp-local-coding-commands, tramp-remote-coding-commands)
4433         (tramp-find-inline-encoding, tramp-call-local-coding-command)
4434         (tramp-inline-compress-commands, tramp-find-inline-compress)
4435         (tramp-compute-multi-hops, tramp-maybe-open-connection)
4436         (tramp-send-command, tramp-wait-for-output)
4437         (tramp-send-command-and-check, tramp-barf-unless-okay)
4438         (tramp-send-command-and-read, tramp-mode-string-to-int)
4439         (tramp-convert-file-attributes, tramp-check-cached-permissions)
4440         (tramp-file-mode-from-int, tramp-file-mode-permissions)
4441         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
4442         (tramp-method-out-of-band-p, tramp-local-host-p)
4443         (tramp-get-remote-path, tramp-get-remote-tmpdir)
4444         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
4445         (tramp-get-test-command, tramp-get-test-nt-command)
4446         (tramp-get-file-exists-command, tramp-get-remote-ln)
4447         (tramp-get-remote-perl, tramp-get-remote-stat)
4448         (tramp-get-remote-readlink, tramp-get-remote-trash)
4449         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
4450         (tramp-get-local-uid, tramp-get-local-gid)
4451         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
4452         tramp-sh.el.
4453         (tramp-methods, tramp-default-method-alist)
4454         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
4455         Move initialization to tramp-sh.el.
4456         (tramp-temp-name-prefix): Make it a defconst.
4457         (tramp-dissect-file-name): Don't check anymore for multi-hop
4458         methods.
4459         (tramp-debug-outline-regexp): Add a docstring.
4460         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
4461         (tramp-get-debug-buffer): Use it.
4463         * net/tramp-cache.el (top): Set tramp-autoload cookie for
4464         initialization forms.
4465         (tramp-set-connection-property): Don't protect `tramp-message'
4466         call, it isn't necessary any longer.
4467         (tramp-dump-connection-properties): Use `ignore-errors'.
4469         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
4470         'password-cache and 'auth-source.
4472         * net/tramp-gvfs.el (top):
4473         * net/tramp-smb.el (top): Require 'tramp-sh.
4475         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
4477         * net/tramp-sh.el: New file, derived from tramp.el.
4478         (top): Initialize `tramp-methods', `tramp-default-method-alist',
4479         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
4480         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
4481         Use `ignore-errors' where appropriate.
4482         (tramp-sh-file-name-handler-alist): Rename from
4483         `tramp-file-name-handler-alist'.
4484         (tramp-send-command-and-check): Return t or nil.  Remove all
4485         `zerop' checks, where called.
4486         (tramp-handle-set-file-modes)
4487         (tramp-do-copy-or-rename-file-directly)
4488         (tramp-handle-delete-directory, tramp-handle-delete-file)
4489         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
4490         (tramp-sh-file-name-handler, tramp-send-command-and-check)
4491         (tramp-get-remote-ln): Set tramp-autoload cookie.
4493         * net/tramp-fish.el: Remove file.
4495 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
4497         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
4498         buffer-file-name to avoid file-locking.  (Bug#7026)
4500 2010-09-13  Julien Danjou  <julien@danjou.info>
4502         * notifications.el (notifications-notify): Add support for
4503         image-path and sound-name.
4504         (notifications-specification-version): Add this variable.
4506 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4508         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
4510 2010-09-12  Leo  <sdl.web@gmail.com>
4512         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
4513         (rcirc-completion-start): New variables.
4514         (rcirc-nick-completions): Rename to rcirc-completions.
4515         (rcirc-nick-completion-start-offset): Delete.
4516         (rcirc-completion-at-point): New function for constructing
4517         completion data for both nicks and irc commands.  Add to
4518         completion-at-point-functions in rcirc mode.
4519         (rcirc-complete): Rename from rcirc-nick-complete; use
4520         rcirc-completion-at-point.
4521         (defun-rcirc-command): Update rcirc-client-commands.
4523 2010-09-11  Glenn Morris  <rgm@gnu.org>
4525         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
4526         atomically, to avoid parallel build errors.  (Bug#4196)
4528 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
4530         * progmodes/sql.el: Version 2.6
4531         (sql-dialect): Synonym for "sql-product".
4532         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
4533         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
4534         Set "sql-buffer" to buffer name not buffer object so multiple sql
4535         interactive buffers work properly.  Reverts misguided changes in
4536         earlier work.
4537         (sql-comint): Make sure different buffer name is used if "*SQL*"
4538         buffer is for a different product.
4539         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
4540         login param.
4541         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4542         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4543         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
4544         Accept new buffer name or prompt for one.
4545         (sql-port): Default to zero.
4546         (sql-comint-mysql): Handle "sql-port" as a numeric.
4547         (sql-port-history): Delete unused variable.
4548         (sql-get-login): Default "sql-port" to a number.
4549         (sql-product-alist): Correct Postgres prompt and terminator regexp.
4550         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
4551         "sqlite3" executables.
4552         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
4553         (sql-buffer-live-p): New function.
4554         (sql-mode-menu, sql-send-string): Use it.
4555         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
4556         syntax pattern.
4557         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
4558         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
4560 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4562         * net/netrc.el (netrc-credentials): New convenience function.
4564 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4566         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
4567         to replace texinfo-font-lock-syntactic-keywords.
4568         (texinfo-mode): Use it.
4570         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
4571         Use syntax-propertize-function.
4573         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
4574         replace sgml-font-lock-syntactic-keywords.
4575         (sgml-mode): Use it.
4577         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
4578         since we don't use it.
4580         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
4582         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
4583         if available.
4584         (vhdl-fontify-buffer): Adjust.
4586         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
4587         replace tcl-font-lock-syntactic-keywords.
4588         (tcl-mode): Use it.
4590         * progmodes/simula.el (simula-syntax-propertize-function): New var to
4591         replace simula-font-lock-syntactic-keywords.
4592         (simula-mode): Use it.
4594         * progmodes/sh-script.el (sh-st-symbol): Remove.
4595         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
4596         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
4597         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
4598         (sh-font-lock-paren): Set syntax-multiline.
4599         (sh-font-lock-syntactic-keywords): Remove.
4600         (sh-syntax-propertize-function): New function to replace it.
4601         (sh-mode): Use it.
4603         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
4604         Define while compiling.
4605         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4606         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
4607         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
4608         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4609         (ruby-here-doc-end-syntax): Only define when
4610         syntax-propertize is not available.
4611         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
4612         New functions.
4613         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
4614         (electric-indent-chars): Silence bytecompiler.
4615         (ruby-mode): Use prog-mode, syntax-propertize-function, and
4616         electric-indent-chars.
4618         * progmodes/python.el (python-syntax-propertize-function): New var to
4619         replace python-font-lock-syntactic-keywords.
4620         (python-mode): Use it.
4621         (python-quote-syntax): Simplify and adjust to new use.
4623         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
4624         replace perl-font-lock-syntactic-keywords.
4625         (perl-syntax-propertize-special-constructs): New fun to replace
4626         perl-font-lock-special-syntactic-constructs.
4627         (perl-font-lock-syntactic-face-function): New fun.
4628         (perl-mode): Use it.
4630         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
4631         to replace octave-font-lock-close-quotes.
4632         (octave-syntax-propertize-function): New function to replace
4633         octave-font-lock-syntactic-keywords.
4634         (octave-mode): Use it.
4636         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
4637         replaces mixal-font-lock-syntactic-keywords.
4638         (mixal-mode): Use it.
4640         * progmodes/make-mode.el (makefile-syntax-propertize-function):
4641         New var; replaces makefile-font-lock-syntactic-keywords.
4642         (makefile-mode): Use it.
4643         (makefile-imake-mode): Adjust.
4645         * progmodes/js.el (js--regexp-literal): Define while compiling.
4646         (js-syntax-propertize-function): New var; replaces
4647         js-font-lock-syntactic-keywords.
4648         (js-mode): Use it.
4650         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
4651         replaces gdb-script-font-lock-syntactic-keywords.
4652         (gdb-script-mode): Use it.
4654         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
4655         (fortran--font-lock-syntactic-keywords): New var.
4656         (fortran-line-length): Update syntax-propertize-function and
4657         fortran--font-lock-syntactic-keywords.
4659         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
4661         * progmodes/cfengine.el (cfengine-mode):
4662         Use syntax-propertize-function.
4663         (cfengine-font-lock-syntactic-keywords): Remove.
4665         * progmodes/autoconf.el (autoconf-mode):
4666         Use syntax-propertize-function.
4667         (autoconf-font-lock-syntactic-keywords): Remove.
4669         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
4670         (ada-after-change-function, ada-initialize-syntax-table-properties)
4671         (ada-handle-syntax-table-properties): Only define when
4672         syntax-propertize is not available.
4673         (ada-mode): Use syntax-propertize-function.
4675         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
4676         (font-lock-fontify-syntactic-keywords-region): Move handling of
4677         font-lock-syntactically-fontified to...
4678         (font-lock-default-fontify-region): ...here.
4679         Let syntax-propertize-function take precedence.
4680         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
4682         * emacs-lisp/syntax.el (syntax-propertize-function)
4683         (syntax-propertize-chunk-size, syntax-propertize--done)
4684         (syntax-propertize-extend-region-functions): New vars.
4685         (syntax-propertize-wholelines, syntax-propertize-multiline)
4686         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
4687         (syntax-propertize): New functions.
4688         (syntax-propertize-rules): New macro.
4689         (syntax-ppss-flush-cache): Set syntax-propertize--done.
4690         (syntax-ppss): Call syntax-propertize.
4692         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
4694 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
4696         * textmodes/ispell.el (ispell-init-process): Improve comments.
4697         XEmacs compatibility changes regarding (add-hook) 'local option
4698         and (set-process-query-on-exit-flag).
4700 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
4702         * net/tramp-cache.el (tramp-parse-connection-properties):
4703         Set tramp-autoload cookie.
4705 2010-09-09  Glenn Morris  <rgm@gnu.org>
4707         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4708         (imagemagick-register-types): Doc fix.
4710 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4712         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
4714         * progmodes/js.el (require): Require is already "eval-and-compile".
4715         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
4716         (js--re-search-backward): Use js--re-search-forward.
4718         * progmodes/fortran.el (fortran-line-length): Don't recompute
4719         syntactic keywords redundantly a second time.
4721         * progmodes/ada-mode.el: Replace "(set '" with setq.
4722         (ada-mode): Simplify.
4723         (ada-create-case-exception, ada-adjust-case-interactive)
4724         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
4725         (ada-search-ignore-string-comment, ada-move-to-start)
4726         (ada-move-to-end): Use with-syntax-table.
4728         * font-lock.el (save-buffer-state): Remove `varlist' arg.
4729         (font-lock-unfontify-region, font-lock-default-fontify-region):
4730         Update usage correspondingly.
4731         (font-lock-fontify-syntactic-keywords-region):
4732         Set parse-sexp-lookup-properties buffer-locally here.
4733         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
4735         * simple.el (blink-matching-open): Don't burp if we can't find a match.
4737 2010-09-08  Glenn Morris  <rgm@gnu.org>
4739         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
4740         Error if not compiled with -DBYTE_CODE_METER.
4742         * emacs-lisp/bytecomp.el (byte-recompile-directory):
4743         Ignore dir-locals-file.
4745 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4747         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4748         Not a const.
4749         (compilation-error-regexp-alist-alist): Rule out ": " in file names
4750         for the `gnu' messages.
4751         (compilation-set-skip-threshold): New command.
4752         (compilation-start): Use \' rather than $.
4753         (compilation-forget-errors): Use clrhash.
4755 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
4757         * textmodes/ispell.el (ispell-valid-dictionary-list):
4758         Simplify logic.
4760 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
4762         Migrate to Tramp 2.2.  Rearrange load dependencies.
4763         (Bug#1529, Bug#5448, Bug#5705)
4765         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
4766         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
4767         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
4769         * net/tramp.el (top): Remove all other tramp-* loads except
4770         tramp-compat.el.  Remove all changes to tramp-unload-hook for
4771         other tramp-* packages.  Rearrange defun order.  Change calls of
4772         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
4773         `tramp-compat-octal-to-decimal' to new function names.
4774         (tramp-terminal-type, tramp-initial-end-of-output)
4775         (tramp-methods, tramp-foreign-file-name-handler-alist)
4776         (tramp-tramp-file-p, tramp-completion-mode-p)
4777         (tramp-send-command-and-check, tramp-get-remote-path)
4778         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
4779         (tramp-shell-quote-argument): Set tramp-autoload cookie.
4780         (with-file-property, with-connection-property): Move to
4781         tramp-cache.el.
4782         (tramp-local-call-process, tramp-decimal-to-octal)
4783         (tramp-octal-to-decimal): Move to tramp-compat.el.
4784         (tramp-handle-shell-command): Do not require 'shell.
4785         (tramp-compute-multi-hops): No special handling for tramp-gw-*
4786         symbols.
4787         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
4789         * net/tramp-cache.el (top): Require 'tramp.  Add to
4790         `tramp-unload-hook'.
4791         (tramp-cache-data, tramp-get-file-property)
4792         (tramp-set-file-property, tramp-flush-file-property)
4793         (tramp-flush-directory-property, tramp-get-connection-property)
4794         (tramp-set-connection-property, tramp-flush-connection-property)
4795         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
4796         cookie.
4797         (with-file-property, with-connection-property): New defuns, moved
4798         from tramp.el.
4799         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
4800         macro.
4802         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
4803         (tramp-version): Set tramp-autoload cookie.
4805         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
4806         changes to tramp-unload-hook for other tramp-* packages.  Add to
4807         `tramp-unload-hook'.
4808         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
4809         (tramp-compat-call-process): New defuns, moved from tramp.el.
4811         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
4812         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4813         Add to `tramp-unload-hook'.  Change call of
4814         `tramp-compat-decimal-to-octal' to new function name.
4815         (tramp-fish-method): Make it a defconst.
4816         (tramp-fish-file-name-p): Make it a defsubst.
4817         (tramp-fish-method, tramp-fish-file-name-handler)
4818         (tramp-fish-file-name-p): Set tramp-autoload cookie.
4820         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
4821         `tramp-foreign-file-name-handler-alist'.  Add to
4822         `tramp-unload-hook'.
4823         (tramp-ftp-method): Make it a defconst.
4824         (tramp-ftp-file-name-p): Make it a defsubst.
4825         (tramp-ftp-method, tramp-ftp-file-name-handler)
4826         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
4828         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
4829         `tramp-foreign-file-name-handler-alist'.  Add to
4830         `tramp-unload-hook'.  Change checks, whether package can be
4831         loaded.
4832         (tramp-gvfs-file-name-p): Make it a defsubst.
4833         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
4834         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
4835         (tramp-gvfs-handle-file-directory-p): New defun.
4836         (tramp-gvfs-file-name-handler-alist): Use it.
4838         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
4839         `tramp-foreign-file-name-handler-alist'.  Add to
4840         `tramp-unload-hook'.
4841         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
4842         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
4843         defconst.
4844         (tramp-gw-tunnel-method, tramp-gw-socks-method)
4845         (tramp-gw-open-connection): Set tramp-autoload cookie.
4847         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
4848         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4849         Add to `tramp-unload-hook'.  Change checks, whether package can be
4850         loaded.
4851         (tramp-imap-file-name-p): Make it a defsubst.
4852         (tramp-imap-method, tramp-imaps-method)
4853         (tramp-imap-file-name-handler)
4854         (tramp-imap-file-name-p): Set tramp-autoload cookie.
4856         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
4857         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
4858         Add to `tramp-unload-hook'.  Change checks, whether package can be
4859         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
4860         function name.
4861         (tramp-smb-tunnel-method): Make it a defconst.
4862         (tramp-smb-file-name-p): Make it a defsubst.
4863         (tramp-smb-method, tramp-smb-file-name-handler)
4864         (tramp-smb-file-name-p): Set tramp-autoload cookie.
4866         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
4867         (tramp-uuencode-region): Set tramp-autoload cookie.
4869         * net/trampver.el (top) Add to `tramp-unload-hook'.
4870         (tramp-version, tramp-bug-report-address): Set tramp-autoload
4871         cookie.  Update release number.
4873 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
4875         * textmodes/ispell.el (ispell-start-process): Make sure original
4876         arg list is properly initialized (Bug#6993, Bug#6994).
4878 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4880         * files.el (directory-abbrev-alist): Use \` as default regexp.
4882         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
4883         chars like - or ] (bug#6984).
4884         (rx-any-condense-range): Explode 2-char ranges.
4886 2010-09-06  Glenn Morris  <rgm@gnu.org>
4888         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
4890 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4892         * textmodes/bibtex.el:
4893         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
4895 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4897         * net/imap.el (imap-message-map): Remove optional buffer parameter,
4898         since no callers use it.
4899         (imap-message-get): Ditto.
4900         (imap-message-put): Ditto.
4901         (imap-mailbox-map): Ditto.
4902         (imap-mailbox-put): Ditto.
4903         (imap-mailbox-get): Ditto.
4904         (imap-mailbox-get): Revert last change for this function.
4906 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4908         * net/imap.el (imap-fetch-safe): Remove function, and alter all
4909         callers to use `imap-fetch' instead.  According to the comments, this
4910         should be safe, since all other IMAP clients use the 1:* syntax.
4911         (imap-enable-exchange-bug-workaround): Remove.
4912         (imap-debug): Remove -- doesn't seem very useful.
4914 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4916         * net/imap.el (imap-log): New convenience function used throughout
4917         instead of repeating the same code all over the place.
4919 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
4921         * mouse.el (mouse-save-then-kill): Save region to kill-ring
4922         when mouse-drag-copy-region is non-nil (Bug#6956).
4924 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
4926         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
4927         Improve regexps (Bug#6987).
4928         (dired-sort-toggle): Search more robustly for -t flag.
4930         * files.el (get-free-disk-space): Search more robustly for
4931         "available" column.  Suggested by Ehud Karni
4932         <ehud@unix.mvs.co.il>.
4934 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
4936         * international/uni-bidi.el:
4937         * international/uni-category.el:
4938         * international/uni-combining.el:
4939         * international/uni-decimal.el:
4940         * international/uni-mirrored.el:
4941         * international/uni-name.el: Regenerate.
4943 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4945         * electric.el (electric-indent-post-self-insert-function):
4946         Don't reindent with a sloppy indentation function.
4948         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
4949         border case in change-log-mode.
4951 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
4953         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4954         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
4955         Recognize leading tab in gcc-include regexp.  Ignore names with
4956         leading "from" or "in" in gnu regexp (Bug#6937).
4958 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4960         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
4961         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
4962         (ispell-start-process): Avoid setq and simplify logic.
4963         (ispell-init-process): Setup kill-buffer-hook locally when needed.
4964         (kill-buffer-hook): Don't use it globally with code that uses
4965         expand-file-name since that may call kill-buffer via
4966         code_conversion_restore.
4968 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
4970         * emacs-lisp/package.el (package-directory-list): Only call
4971         file-name-nondirectory on a string.
4973 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4975         * emacs-lisp/package.el (package--download-one-archive):
4976         Ensure that archive-contents is valid before saving it.
4977         (package-activate-1, package-mark-obsolete, define-package)
4978         (package-compute-transaction, package-list-maybe-add): Use push.
4980 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4982         Use SMIE's blink-paren for octave-mode.
4983         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
4984         Backslashes do not escape single-quotes, single-quotes do.
4985         (octave-block-else-regexp, octave-block-end-regexp)
4986         (octave-block-match-alist): Remove.
4987         (octave-smie-bnf-table): New var, with old content.
4988         (octave-smie-op-levels): Use it.
4989         (octave-smie-closer-alist): New var.
4990         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
4991         (octave-blink-matching-block-open): Remove.
4992         (octave-reindent-then-newline-and-indent, octave-electric-semi)
4993         (octave-electric-space): Let self-insert-command run expand-abbrev and
4994         blink parens.
4996         * electric.el (electricity): New group.
4997         (electric-indent-chars): New var.
4998         (electric-indent-post-self-insert-function): New fun.
4999         (electric-indent-mode): New minor mode.
5000         (electric-pair-skip-self): New custom.
5001         (electric-pair-post-self-insert-function): New function.
5002         (electric-pair-mode): New minor mode.
5004         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
5005         calcAlg-blink-matching-open.
5006         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
5007         (calc-do-alg-entry): Only touch the part of the keymap that varies.
5008         Use the new blink-matching-check-function.
5010         Provide blink-matching support to SMIE.
5011         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
5012         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
5013         (smie-blink-matching-check, smie-blink-matching-open): New functions.
5015         * simple.el (newline): Fix last change to properly remove itself from
5016         the hook.
5018 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5020         * simple.el (newline): Eliminate optimization.
5021         Use post-self-insert-hook to set hard-newline and things before
5022         running post-self-insert-hook.
5023         (blink-matching-check-mismatch): New function.
5024         (blink-matching-check-function): New variable.
5025         (blink-matching-open): Use them.
5026         Skip back forward over prefix chars skipped by forward-sexp.
5027         Don't check if the parens are backslash escaped.
5028         (blink-paren-post-self-insert-function): Check backslash escaping here.
5030 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
5032         * emacs-lisp/package.el (package-menu-mode-map):
5033         Change package-menu-revert bindings to revert-buffer.
5034         (package-menu-mode): Set revert-buffer-function.
5035         (package-menu-revert): Doc fix.
5037 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
5039         * textmodes/ispell.el (ispell-init-process): Use "~/" as
5040         `default-directory' unless using Ispell per-directory personal
5041         dictionaries and not in a mini-buffer under XEmacs.
5042         (kill-buffer-hook): Do not kill ispell process on exit when
5043         `ispell-process-directory' is "~/".  (Bug#6143)
5045 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
5047         * simple.el (kill-new): Call interprogram-cut-function with only
5048         one argument.
5050         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
5051         Remove cut buffer from error message.
5053         * term/x-win.el (x-select-text):
5054         * term/pc-win.el (x-selection-value):
5055         * term/ns-win.el (x-selection-value):
5056         * eshell/em-term.el:
5057         * w32-fns.el (x-get-selection-value):
5058         * mouse-sel.el (mouse-sel-set-selection-function):
5059         * frame.el (display-selections-p): Remove cut-buffer in documentation.
5061         * term/x-win.el: Update documentation for x-last-selected-text-*.
5062         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
5063         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
5064         (x-select-text): Remove argument PUSH, update documentation.
5065         Remove cut-buffer code.
5066         (x-selection-value-internal): Was previously x-selection-value.
5067         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5068         Update documentation, remove cut-buffer code.
5069         Call x-selection-value-internal.
5070         (x-clipboard-yank): Call x-selection-value-internal.
5071         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
5073         * term/pc-win.el (x-last-selected-text):
5074         x-cut-buffer-or-selection-value renamed to x-selection-value
5075         (x-select-text): Remove argument PUSH, update documentation.
5077         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
5078         x-cut-buffer-or-selection-value renamed to x-selection-value
5079         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
5080         (x-select-text): Remove argument PUSH, update documentation.
5082         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
5084         * w32-fns.el (x-last-selected-text):
5085         x-cut-buffer-or-selection-value renamed to x-selection-value.
5086         (x-cut-buffer-max): Remove.
5087         (x-select-text): Remove argument PUSH, update documentation.
5089         * simple.el (interprogram-cut-function): Remove mention of PUSH.
5091         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
5093         * mouse-sel.el (mouse-sel-get-selection-function):
5094         x-cut-buffer-or-selection-value renamed to x-selection-value.
5095         (x-select-text): Remove optional push.
5097 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5099         * simple.el (blink-paren-function): Move from C to here.
5100         (blink-paren-post-self-insert-function): New function.
5101         (post-self-insert-hook): Use it.
5103         * emacs-lisp/pcase.el (pcase-split-memq):
5104         Fix overenthusiastic optimisation.
5105         (pcase-u1): Handle the case of a lambda pred.
5107 2010-08-31  Kenichi Handa  <handa@m17n.org>
5109         * international/mule-cmds.el (standard-display-european-internal):
5110         Setup standard-display-table for 8-bit characters by storing 8-bit
5111         characters in the element vector.
5113         * disp-table.el (standard-display-8bit):
5114         Setup standard-display-table for 8-bit characters by storing 8-bit
5115         characters in the element vector.
5116         (standard-display-european): Likewise.
5118 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
5120         * textmodes/nroff-mode.el (nroff-view): New command.
5121         (nroff-mode-map): Bind it to C-c C-c.
5123 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5125         * emacs-lisp/smie.el (smie-down-list): New command.
5127         Remove old indentation and navigation code on octave-mode.
5128         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
5129         smie-down-list rather than add a binding for octave-down-block.
5130         (octave-mark-block, octave-blink-matching-block-open):
5131         Rely on forward-sexp-function.
5132         (octave-fill-paragraph): Don't narrow, so you can use
5133         indent-according-to-mode.
5134         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
5135         (octave-in-block-p, octave-re-search-forward-kw)
5136         (octave-re-search-backward-kw, octave-indent-calculate)
5137         (octave-end-as-array-index-p, octave-block-end-offset)
5138         (octave-scan-blocks, octave-forward-block, octave-backward-block)
5139         (octave-down-block, octave-backward-up-block, octave-up-block)
5140         (octave-before-magic-comment-p, octave-indent-line): Remove.
5142 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
5144         * emacs-lisp/package.el (package--read-archive-file): Just use
5145         `read', to avoid copying an additional string.
5146         (package-menu-mode): Set header-line-format here.
5147         (package-menu-refresh, package-menu-revert): Signal an error if
5148         not in the Package Menu.
5149         (package-menu-package-list): New var.
5150         (package--generate-package-list): Operate on the current buffer;
5151         don't assume that it is *Packages*, since the user may rename it.
5152         Allow persistent package listings and sort keys using
5153         package-menu-package-list and package-menu-package-sort-key.
5154         (package-menu--version-predicate): Fix version calculation.
5155         (package-menu-sort-by-column): Don't select the window.
5156         (package--list-packages): Create the *Packages* buffer.
5157         Set package-menu-package-list-key.
5158         (list-packages): Sorting by status is now the default.
5159         (package-buffer-info): Use match-string-no-properties.
5160         (define-package): Add a &rest argument for future proofing, but
5161         don't use it yet.
5162         (package-install-from-buffer, package-install-buffer-internal):
5163         Merge into a single function, package-install-from-buffer.
5164         (package-install-file): Change caller.
5166         * finder.el: Load finder-inf using `require'.
5167         (finder-list-matches): Sorting by status is now the default.
5168         (finder-compile-keywords): Simpify printing.
5170 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5172         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5173         (octave-mode-map): Remove special bindings for forward/backward-block
5174         and octave-backward-up-block.  Use smie-close-block.
5175         (octave-continuation-marker-regexp): New var.
5176         (octave-continuation-regexp): Use it.
5177         (octave-operator-table, octave-smie-op-levels)
5178         (octave-operator-regexp, octave-smie-indent-rules): New vars.
5179         (octave-smie-backward-token, octave-smie-forward-token): New funs.
5180         (octave-mode): Use SMIE.
5181         (octave-close-block): Delete.
5183 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
5185         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
5186         CLIPBOARD, not in PRIMARY.  (Bug#6944)
5188 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
5191         a list of parents.
5192         (smie-indent-column): Allow indirection through variables.
5194         * composite.el (save-buffer-state): Delete, unused.
5195         * font-lock.el (save-buffer-state): Use with-silent-modifications.
5196         (font-lock-default-fontify-region): Use with-syntax-table.
5197         * jit-lock.el (with-buffer-unmodified): Remove.
5198         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
5200         Use `declare' in defmacros.
5201         * window.el (save-selected-window):
5202         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
5203         * progmodes/python.el (def-python-skeleton):
5204         * net/dbus.el (dbus-ignore-errors):
5205         * jka-cmpr-hook.el (with-auto-compression-mode):
5206         * international/mule.el (with-category-table):
5207         * emacs-lisp/timer.el (with-timeout):
5208         * emacs-lisp/lisp-mnt.el (lm-with-file):
5209         * emacs-lisp/eieio.el (with-slots):
5210         * emacs-lisp/easymenu.el (easy-menu-define):
5211         * emacs-lisp/debug.el (debugger-env-macro):
5212         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
5213         (Multiple-value-call, Multiple-value-prog1):
5214         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
5215         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
5216         edebug rule to definition.
5217         * emacs-lisp/lisp-mode.el (save-selected-window)
5218         (with-current-buffer, combine-after-change-calls)
5219         (with-output-to-string, with-temp-file, with-temp-buffer)
5220         (with-temp-message, with-syntax-table, read-if, eval-after-load)
5221         (dolist, dotimes, when, unless):
5222         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
5224 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5226         * finder.el: Require `package'.
5227         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
5228         (finder-package-info): Var deleted.
5229         (finder-keywords-hash, finder--builtins-alist): New vars.
5230         (finder-compile-keywords): Compute package--builtins and
5231         finder-keywords-hash instead of finder-keywords-hash, respecting
5232         the "Package" header.
5233         (finder-unknown-keywords, finder-list-matches):
5234         Use finder-keywords-hash and package--list-packages.
5235         (finder-mode): Don't set font-lock-defaults.
5236         (finder-exit): We don't use "*Finder-package*" and "*Finder
5237         Category*" buffers anymore.
5239         * emacs-lisp/package.el (package--builtins-base): Var deleted.
5240         (package--builtins): Set default value to nil.
5241         (package-initialize): Load precomputed value of package--builtins
5242         from finder-inf.el.
5243         (package-alist, package-compute-transaction)
5244         (package-download-transaction): Improve docstring.
5245         (package-read-all-archive-contents): Do not change
5246         package--builtins here.
5247         (list-packages): Make package-list-packages an alias for this.
5248         Sort by status by default.
5249         (package--list-packages): Add optional PACKAGES arg.
5250         (describe-package-1): Use font-lock-face property.  For built-in
5251         packages, insert file commentary.
5252         (package--generate-package-list): Rename from
5253         package-list-packages-internal; all callers changed.  Add optional
5254         PACKAGES arg.  Add alphabetical sort fallbacks.
5255         (package-menu--version-predicate, package-menu--status-predicate)
5256         (package-menu--description-predicate)
5257         (package-menu--name-predicate): New functions.
5259         * info.el (Info-finder-find-node): Search package-alist instead of
5260         finder-package-info.
5262 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
5264         * subr.el (version-regexp-alist): Don't use "a" and "b" for
5265         "alpha" and "beta".
5266         (version-to-list): Handle versions like "10.3d".
5268 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5270         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
5271         (macroexp-accumulate): Use `declare'.
5273 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5275         * whitespace.el (whitespace-style): Adjust type declaration.
5277 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
5279         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5280         empty argument to gvfs-copy.
5282 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5284         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
5285         handle new TRASH arg of `delete-file'.
5287 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
5289         * net/tramp.el (tramp-handle-insert-directory): Don't use
5290         `forward-word', its default syntax could be changed.
5292 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5293             Michael Albinus  <michael.albinus@gmx.de>
5295         Implement compression for inline methods.
5297         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5298         (tramp-copy-size-limit): Allow also nil.
5299         (tramp-inline-compress-commands): New defconst.
5300         (tramp-find-inline-compress, tramp-get-inline-compress)
5301         (tramp-get-inline-coding): New defuns.
5302         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5303         replaced by `tramp-get-inline-coding'.
5304         (tramp-handle-file-local-copy, tramp-handle-write-region)
5305         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5307 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
5309         Detect ssh 'ControlMaster' argument automatically in some cases.
5311         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5312         (tramp-default-method): Use it.
5314 2010-08-26  Karel Klíč  <kklic@redhat.com>
5316         * net/tramp.el (tramp-file-name-for-operation):
5317         Add file-selinux-context.
5319 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
5321         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
5323 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5325         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
5326         (Bug#6907).
5328 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
5330         * progmodes/js.el: Make indentation more customizable (Bug#6914).
5331         (js-paren-indent-offset, js-square-indent-offset)
5332         (js-curly-indent-offset): New options.
5333         (js--proper-indentation): Use them.
5335 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
5337         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
5338         instead of inspecting font-lock properties (Bug#6916).
5340 2010-08-26  David Reitter  <david.reitter@gmail.com>
5342         * server.el (server-visit-files): Run pre-command-hook and
5343         post-command-hook for each buffer while it is current (Bug#6910).
5344         (server-execute): Do not run hooks here.
5346 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
5348         Sync with Tramp 2.1.19.
5350         * net/tramp-cmds.el (tramp-cleanup-all-connections)
5351         (tramp-reporter-dump-variable, tramp-load-report-modules)
5352         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
5353         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
5355         * net/tramp-compat.el (top): Do not autoload
5356         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5357         only when `start-file-process' is not bound.
5358         (byte-compile-not-obsolete-vars): Define if not bound.
5359         (tramp-compat-funcall): New defmacro.
5360         (tramp-compat-line-beginning-position)
5361         (tramp-compat-line-end-position)
5362         (tramp-compat-temporary-file-directory)
5363         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5364         (tramp-compat-copy-file, tramp-compat-copy-directory)
5365         (tramp-compat-delete-file, tramp-compat-delete-directory)
5366         (tramp-compat-number-sequence, tramp-compat-process-running-p):
5367         Use it.
5368         (tramp-advice-file-expand-wildcards): Do not use
5369         `tramp-handle-file-remote-p'.
5370         (tramp-compat-make-temp-file): Simplify fallback implementation.
5371         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5372         (tramp-compat-copy-tree): Remove function.
5373         (tramp-compat-delete-file): New defun.
5374         (tramp-compat-delete-directory): Provide implementation for older
5375         Emacsen.
5376         (tramp-compat-file-attributes): Handle only
5377         `wrong-number-of-arguments' error.
5379         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5380         Add PRESERVE_SELINUX_CONTEXT.
5381         (tramp-fish-handle-delete-file): Add TRASH arg.
5382         (tramp-fish-handle-directory-files-and-attributes):
5383         Do not use `tramp-fish-handle-file-attributes.
5384         (tramp-fish-handle-file-local-copy)
5385         (tramp-fish-handle-insert-file-contents)
5386         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
5388         * net/tramp-gvfs.el (top): Require url-util.
5389         (tramp-gvfs-mount-point): Remove.
5390         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
5391         and `set-file-selinux-context'.
5392         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
5393         (tramp-gvfs-handle-file-selinux-context)
5394         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5395         (with-tramp-dbus-call-method): Format trace message.
5396         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5397         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5398         Implement backup call, when operation on local files fails.
5399         Use progress reporter.  Flush properties of changed files.
5400         (tramp-gvfs-handle-delete-file): Add TRASH arg.
5401         Use `tramp-compat-delete-file'.
5402         (tramp-gvfs-handle-expand-file-name): Expand "~/".
5403         (tramp-gvfs-handle-make-directory): Make more traces.
5404         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
5405         (tramp-gvfs-url-file-name): Hexify file name in url.
5406         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5407         into account for the resulting file name.
5408         (tramp-gvfs-handler-askquestion): Preserve current message, in
5409         order to let progress reporter continue afterwards.  (Bug#6257)
5410         Return dummy mountpoint, when the answer is "no".
5411         See `tramp-gvfs-maybe-open-connection'.
5412         (tramp-gvfs-handler-mounted-unmounted)
5413         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5414         attribute "default_location".  Set "prefix" property.
5415         Handle default-location.
5416         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5417         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5418         exists.  Raise an error, if not (due to a corresponding answer
5419         "no" in interactive questions, for example).
5420         Use `tramp-compat-funcall'.
5422         * net/tramp-imap.el (top): Autoload `epg-make-context'.
5423         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5424         (tramp-imap-do-copy-or-rename-file)
5425         (tramp-imap-handle-insert-file-contents)
5426         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
5427         (tramp-imap-handle-delete-file): Add TRASH arg.
5429         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5430         Add PRESERVE-SELINUX-CONTEXT.
5431         (tramp-smb-handle-copy-file)
5432         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
5433         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5434         Use `with-progress-reporter'.
5435         (tramp-smb-handle-delete-file): Add TRASH arg.
5437         * net/tramp.el (tramp-methods): Move hostname to the end in all
5438         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
5439         appropriate.
5440         (tramp-verbose): Describe verbose level 9.
5441         (tramp-completion-function-alist)
5442         (tramp-file-name-regexp, tramp-chunksize)
5443         (tramp-local-coding-commands, tramp-remote-coding-commands)
5444         (with-connection-property, tramp-completion-mode-p)
5445         (tramp-action-process-alive, tramp-action-out-of-band)
5446         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5447         (tramp-exists-file-name-handler): Fix docstring.
5448         (tramp-remote-process-environment): Use `format' instead of
5449         `concat'.  Protect version string by apostroph.
5450         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5451         XEmacs.
5452         (tramp-file-name-regexp-unified)
5453         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5454         not regard the volume letter as remote filename.  (Bug#5447)
5455         (tramp-perl-file-attributes)
5456         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5457         (tramp-vc-registered-read-file-names): Read input as
5458         here-document, otherwise the command could exceed maximum length
5459         of command line.
5460         (tramp-file-name-handler-alist): Add `file-selinux-context' and
5461         `set-file-selinux-context'.
5462         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
5463         backtrace functions.
5464         (tramp-error-with-buffer): Don't show the connection buffer when
5465         we are in completion mode.
5466         (tramp-progress-reporter-update, tramp-remote-selinux-p)
5467         (tramp-handle-file-selinux-context)
5468         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
5469         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
5470         New defuns.
5471         (with-progress-reporter): New defmacro.
5472         (tramp-debug-outline-regexp): New defconst.
5473         (top, tramp-rfn-eshadow-setup-minibuffer)
5474         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5475         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5476         (tramp-completion-mode-p, tramp-check-for-regexp)
5477         (tramp-open-connection-setup-interactive-shell)
5478         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5479         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5480         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
5481         Use `tramp-compat-funcall'.
5482         (tramp-handle-make-symbolic-link): Flush file properties.
5483         (tramp-handle-load, tramp-handle-file-local-copy)
5484         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5485         (tramp-handle-vc-registered, tramp-maybe-send-script)
5486         (tramp-find-shell): Use `with-progress-reporter'.
5487         (tramp-do-file-attributes-with-stat): Add space in format string,
5488         in order to work around a bug in pdksh.  Reported by Gilles Pion
5489         <gpion@lfdj.com>.
5490         (tramp-handle-verify-visited-file-modtime): Do not send a command
5491         when the connection is not established.
5492         (tramp-handle-set-file-times): Simplify the check for utc.
5493         (tramp-handle-directory-files-and-attributes)
5494         (tramp-get-remote-path): Use `copy-tree'.
5495         (tramp-completion-handle-file-name-all-completions): Ensure, that
5496         non remote files are still checked.  Oops.
5497         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5498         Handle PRESERVE-SELINUX-CONTEXT.
5499         (tramp-do-copy-or-rename-file): Add progress reporter.
5500         (tramp-do-copy-or-rename-file-directly): Do not use
5501         `tramp-handle-file-remote-p'.
5502         (tramp-do-copy-or-rename-file-out-of-band):
5503         Use `tramp-compat-delete-directory'.
5504         (tramp-do-copy-or-rename-file-out-of-band)
5505         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5506         Use `format-spec-make'.
5507         (tramp-handle-delete-file): Add TRASH arg.
5508         (tramp-handle-dired-uncache): Flush directory cache, not only file
5509         cache.
5510         (tramp-handle-expand-file-name)
5511         (tramp-completion-handle-file-name-all-completions)
5512         (tramp-completion-handle-file-name-completion):
5513         Use `tramp-connectable-p'.
5514         (tramp-handle-start-file-process): Set connection property "vec".
5515         Use it, in order to invalidate file caches.  Check only for
5516         `remote-tty' process property.
5517         Implement tty setting.  (Bug#4604, Bug#6360)
5518         (tramp-file-name-for-operation): Add `call-process-region' and
5519         `set-file-selinux-context'.
5520         (tramp-find-foreign-file-name-handler)
5521         (tramp-advice-make-auto-save-file-name)
5522         (tramp-set-auto-save-file-modes): Remove superfluous check for
5523         `stringp'.  This is done inside `tramp-tramp-file-p'.
5524         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
5525         operations when we are in completion mode.  This gives the user
5526         the chance to correct the file name in the minibuffer.
5527         (tramp-completion-mode-p): Use `non-essential'.
5528         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5529         compatibility: Use `completion-ignore-case' if
5530         `read-file-name-completion-ignore-case' does not exist.
5531         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
5532         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5533         `tramp-open-shell'.
5534         (tramp-action-password): Hide password prompt before next run.
5535         (tramp-process-actions): Widen connection buffer for the trace.
5536         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5537         process property.  Trace stty settings if `tramp-verbose' >= 9.
5538         Apply workaround for IRIX64 bug.  Move argument of last
5539         `tramp-send-command' where it belongs to.
5540         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5541         front of `login-args'.
5542         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
5543         on "/dev/null" instead of "/".
5544         (tramp-get-ls-command-with-dired): Make test for "--dired"
5545         stronger.
5546         (tramp-set-auto-save-file-modes): Adapt version check.
5547         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5548         (tramp-handle-process-file): Call the program in a subshell, in
5549         order to preserve working directory.
5550         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
5551         `tramp-remote-sh' from `tramp-methods'.
5552         (tramp-get-ls-command): Make test for "--color=never" stronger.
5553         (tramp-check-for-regexp): Use (forward-line 1).
5555         * net/trampver.el: Update release number.
5557 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
5559         * help.el (help-map): Bind `C-h P' to describe-package.
5561         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
5563         * emacs-lisp/package.el (package-refresh-contents): Catch errors
5564         when downloading archives.
5565         (describe-package-1): Add package commentary.
5566         (package-install-button-action): New function.
5567         (package-menu-mode-map): Bind ? to package-menu-describe-package.
5568         (package-menu-view-commentary): Function removed.
5569         (package-list-packages-internal): Hide the `package' package too.
5571 2010-08-25  Kenichi Handa  <handa@m17n.org>
5573         * language/misc-lang.el ("Arabic"): New language environment.
5574         Setup composition-function-table for Arabic characters.
5576         * international/fontset.el (setup-default-fontset): Fix typo for
5577         arabic OTF spec (fini->fina).
5579 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
5581         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
5582         on all frames.
5584 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5586         * whitespace.el: Allow cleaning up blanks without blank
5587         visualization (Bug#6651).  Adjust help window for
5588         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5589         instead of whitespace-line-column (from EmacsWiki).  New version
5590         13.1.
5591         (whitespace-style): Add new value 'face.  Adjust docstring.
5592         (whitespace-space, whitespace-hspace, whitespace-tab):
5593         Adjust foreground property face.
5594         (whitespace-line-column): Adjust docstring and type declaration.
5595         (whitespace-style-value-list, whitespace-toggle-option-alist)
5596         (whitespace-help-text): Adjust const initialization.
5597         (whitespace-toggle-options, global-whitespace-toggle-options):
5598         Adjust docstring.
5599         (whitespace-display-window, whitespace-interactive-char)
5600         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5601         (whitespace-help-scroll): New fun.
5603 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5605         * emacs-lisp/package.el (list-packages): Alias for
5606         package-list-packages.
5608 2010-08-24  Kevin Ryde  <user42@zip.com.au>
5610         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
5611         (Bug#5651).
5613         * progmodes/ruby-mode.el (ruby): Add defgroup.
5615 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5617         * progmodes/python.el: Add Ipython support (Bug#5390).
5618         (python-shell-prompt-alist)
5619         (python-shell-continuation-prompt-alist): New options.
5620         (python--set-prompt-regexp): New function.
5621         (inferior-python-mode, run-python, python-shell):
5622         Require ansi-color.  Use python--set-prompt-regexp to set the comint
5623         prompt based on the Python interpreter.
5624         (python--prompt-regexp): New var.
5625         (python-check-comint-prompt)
5626         (python-comint-output-filter-function): Use it.
5627         (run-python): Use a pipe (Bug#5694).
5629 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
5631         * progmodes/python.el (python-send-region): Send a different
5632         Python command if Ipython is in use.
5633         (python-check-version): Use a Python command to find the version.
5635 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
5637         * mouse.el (mouse-yank-primary): Avoid setting primary when
5638         deactivating the mark (Bug#6872).
5640 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
5642         * progmodes/python.el (python-block-pairs): Allow use of "finally"
5643         with "else" (Bug#3991).
5645 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
5647         * net/dbus.el: Accept UNIX domain sockets as bus address.
5648         (top): Don't initialize `dbus-registered-objects-table' anymore,
5649         this is done in dbusbind,c.
5650         (dbus-check-event): Adapt test for bus.
5651         (dbus-return-values-table, dbus-unregister-service)
5652         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
5653         Adapt doc string.
5655 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
5657         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
5659 2010-08-22  Juri Linkov  <juri@jurta.org>
5661         * simple.el (read-extended-command): New function with the logic
5662         for `completing-read' moved to Elisp from `execute-extended-command'.
5663         Use `function-called-at-point' in `minibuffer-default-add-function'
5664         to get a command name for M-n (bug#5364, bug#5214).
5666 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5668         * startup.el (command-line-1): Issue warning for ignored arguments
5669         --unibyte, etc (Bug#6886).
5671 2010-08-22  Leo  <sdl.web@gmail.com>
5673         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
5674         (ignore, bright, dim, keyword): Split list of nicknames before
5675         passing to rcirc-add-or-remove (Bug#6894).
5677 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5679         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
5681 2010-08-22  Leo  <sdl.web@gmail.com>
5683         Fix buffer-list rename&refresh after killing a buffer in ido.
5684         * ido.el: Revert Óscar's.
5685         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
5686         Remember the buffers at head, rather than their name.
5687         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
5689 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
5690             Stefan Monnier  <monnier@iro.umontreal.ca>
5692         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
5693         extra backslash added to each line (bug#6890).
5695 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5697         * subr.el (read-key): Don't echo keystrokes (bug#6883).
5699 2010-08-22  Glenn Morris  <rgm@gnu.org>
5701         * menu-bar.el (menu-bar-games-menu): Add landmark.
5703 2010-08-22  Glenn Morris  <rgm@gnu.org>
5705         * align.el (align-regexp): Make group and spacing arguments
5706         use the interactive defaults when non-interactive.  (Bug#6698)
5708         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
5709         expansion, so as not to need sendmail.
5710         (mail-text-start): Remove declaration.
5711         (rmail-retry-failure): Require sendmail.
5713 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5715         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
5717 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
5719         * progmodes/flymake.el (flymake-start-syntax-check-process):
5720         Use `start-file-process' in order to let it run also on remote hosts.
5722 2010-08-22  Kenichi Handa  <handa@m17n.org>
5724         * files.el: Add `word-wrap' as safe local variable.
5726 2010-08-22  Glenn Morris  <rgm@gnu.org>
5728         * woman.el (woman-translate): Case matters.  (Bug#6849)
5730 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
5732         * simple.el (kill-region): Doc fix (Bug#6787).
5734 2010-08-22  Glenn Morris  <rgm@gnu.org>
5736         * calendar/diary-lib.el (diary-header-line-format):
5737         Fit it to the window, not the frame.
5739 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
5741         * subr.el (ignore-errors): Add debug declaration.
5743 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
5745         * whitespace.el (whitespace-color-off): Remove post-command-hook
5746         locally.
5748 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5750         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
5752 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5754         * cus-edit.el (custom-group-value-create): Add extra newline
5755         before end line (Bug#6876).
5757 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
5759         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
5760         when extending it.  Before killing on the second click, check if
5761         the buffer is the correct one.  Doc fix.
5762         (mouse-secondary-save-then-kill): Allow usage without first
5763         calling mouse-start-secondary, by defaulting to point.  Don't save
5764         an empty secondary selection.  Doc fix.
5766 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5768         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
5769         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
5770         New version 13.0.
5771         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5772         Adjust initialization.
5773         (whitespace-bob-marker, whitespace-eob-marker)
5774         (whitespace-buffer-changed): New vars.
5775         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
5776         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
5777         (whitespace-post-command-hook, whitespace-display-char-on):
5778         Adjust code.
5779         (whitespace-looking-back, whitespace-buffer-changed): New funs.
5780         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
5782 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5784         * files.el (locate-file-completion-table): Only list the .el and .elc
5785         extensions if there's no other choice (bug#5955).
5787         * facemenu.el (facemenu-self-insert-data): New var.
5788         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
5789         New functions.
5790         (facemenu-add-face): Use them.
5792         * simple.el (blink-matching-open): Obey forward-sexp-function.
5794 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5796         * simple.el (prog-mode-map): New var.
5797         (prog-indent-sexp): New command.
5799         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
5801         * progmodes/prolog.el (smie): Require.
5803         * emacs-lisp/smie.el (smie-default-backward-token)
5804         (smie-default-forward-token): Strip properties.
5805         (smie-next-sexp): Be more careful with associative operators.
5806         (smie-forward-sexp-command): Generalize.
5807         (smie-backward-sexp-command): Simplify.
5808         (smie-closer-alist): New var.
5809         (smie-close-block): New command.
5810         (smie-indent-debug-log): New var.
5811         (smie-indent-offset-rule): Add a few more cases.
5812         (smie-indent-column): New function.
5813         (smie-indent-after-keyword): Use it.
5814         (smie-indent-keyword): Use it.
5815         Fix up the opener code's point position.
5816         (smie-indent-comment): Only applies at BOL.
5817         (smie-indent-debug): New command.
5819         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
5820         declarations that are useful before running the macro.
5822 2010-08-18  Joakim Verona  <joakim@verona.se>
5824         * image.el (imagemagick-types-inhibit): New variable.
5825         (imagemagick-register-types): New function.
5826         * image-mode.el (image-transform-properties): New function.
5827         (image-transform-set-scale, image-transform-fit-to-height)
5828         (image-transform-set-rotation, image-transform-set-resize)
5829         (image-transform-fit-to-width, image-transform-fit-to-height):
5830         New functions.
5831         (image-toggle-display-image): Support image transforms.
5833 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
5835         * image.el (create-animated-image): Don't add heuristic mask to image
5836         (Bug#6839).
5838 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
5840         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
5841         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
5843 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5845         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
5847         Font-lock '...' strings, plus various simplifications and fixes.
5848         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
5849         (octave-font-lock-close-quotes): New function.
5850         (octave-font-lock-syntactic-keywords): New var.
5851         (octave-mode): Use it.  Set beginning-of-defun-function.
5852         (octave-mode-map): Don't override the <foo>-defun commands.
5853         (octave-mode-menu): Pass it directly to easy-menu-define;
5854         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
5855         (octave-block-match-alist): Fix up last change so that
5856         octave-close-block uses the more specific keyword.
5857         (info-lookup-mode): Silence byte-compiler.
5858         (octave-beginning-of-defun): Not interactive any more.
5859         Optimize slightly.
5860         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
5861         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
5862         (octave-completion-at-point-function): Make sure point is within
5863         beg..end.
5864         (octave-reindent-then-newline-and-indent):
5865         Use reindent-then-newline-and-indent.
5866         (octave-add-octave-menu): Remove.
5868 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
5870         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
5871         (report-emacs-bug-can-use-xdg-email): New functions.
5872         (report-emacs-bug): Set can-xdg-email to result of
5873         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
5874         \C-cm to report-emacs-bug-insert-to-mailer and add help text
5875         about it.
5877         * net/browse-url.el (browse-url-default-browser): Add cond
5878         for browse-url-xdg-open.
5879         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
5881 2010-08-17  Glenn Morris  <rgm@gnu.org>
5883         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
5884         (c-fontify-recorded-types-and-refs): Define for compiler.
5885         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
5886         before use.
5888         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
5889         Fix format call.
5891 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
5893         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
5894         properties.
5895         (tramp-handle-process-file): Call the program in a subshell, in
5896         order to preserve working directory.
5897         (tramp-action-password): Hide password prompt before next run.
5898         (tramp-process-actions): Widen connection buffer for the trace.
5900 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5902         * net/rcirc.el (rcirc-log-process-buffers): New option.
5903         (rcirc-print): Use it.
5904         (rcirc-generate-log-filename): New function.
5905         (rcirc-log-filename-function): Change default to
5906         rcirc-generate-log-filename (Bug#6828).
5908 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
5910         * simple.el (deactivate-mark): If select-active-regions is `only',
5911         only set selection for temporarily active regions.
5913         * cus-start.el: Change defcustom for select-active-regions.
5915 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5917         * mouse.el (mouse--drag-set-mark-and-point): New function.
5918         (mouse-drag-track): Use LOCATION arg to push-mark.
5919         Use mouse--drag-set-mark-and-point to take click-count into
5920         consideration when updating point and mark (Bug#6840).
5922 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
5924         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5925         Give the Ruby rule a lower priority than Gnu (Bug#6778).
5927 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5929         * font-lock.el (lisp-font-lock-keywords-2):
5930         Add combine-after-change-calls, condition-case-no-debug,
5931         with-demoted-errors, and with-silent-modifications (Bug#6025).
5933 2010-08-14  Kevin Ryde  <user42@zip.com.au>
5935         * emacs-lisp/copyright.el (copyright-update-year)
5936         (copyright-update): Temporary switch-to-buffer to ensure the
5937         buffer change being queried is visible (Bug#5394).
5939 2010-08-14  Tom Tromey  <tromey@redhat.com>
5941         * progmodes/etags.el (tags-file-name): Mark safe if stringp
5942         (Bug#6733).
5944 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
5946         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
5947         MS-DOS.  (Bug#6689)
5949 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
5951         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
5952         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5953         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5954         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
5955         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
5956         Call menu-bar-set-tool-bar-position.
5958 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5960         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
5961         comment style (bug#6834).
5962         * progmodes/scheme.el (scheme-mode-syntax-table):
5963         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
5964         "b" flag in "' 14b" syntax.
5966         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
5967         for (un)commenting the region and performing completion.
5968         (octave-mode-menu): Use standard commands for help and completion.
5969         (octave-mode-syntax-table): Support %{..%} comments (sort of).
5970         (octave-mode): Use define-derived-mode.
5971         Set completion-at-point-functions and don't set columns.
5972         Don't disable adaptive-fill-regexp.
5973         (octave-describe-major-mode, octave-comment-region)
5974         (octave-uncomment-region, octave-comment-indent)
5975         (octave-indent-for-comment): Remove.
5976         (octave-indent-calculate): Rename from calculate-octave-indent.
5977         (octave-indent-line, octave-fill-paragraph): Update caller.
5978         (octave-initialize-completions): No need to make an alist.
5979         (octave-completion-at-point-function): New function.
5980         (octave-complete-symbol): Use it.
5981         (octave-insert-defun): Use define-skeleton.
5983         * progmodes/octave-mod.el (octave-mode): Set comment-add.
5984         (octave-mode-map): Use comment-dwim (bug#6829).
5986 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
5988         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
5989         indentation of inserted comment.
5991 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
5993         * faces.el (region): Add type gtk that uses gtk colors.
5995         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
5996         Handle theme-name change.
5998 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
6000         * progmodes/sql.el: Version 2.5
6001         (sql-product-alist): Add :prompt-cont-regexp property for several
6002         database products.
6003         (sql-prompt-cont-regexp): New variable.
6004         (sql-output-newline-count, sql-output-by-send):
6005         New variables.  Record number of newlines in input text.
6006         (sql-send-string): Handle multiple filters and count newlines.
6007         (sql-send-magic-terminator): Count terminator newline.
6008         (sql-interactive-remove-continuation-prompt): Filters output to
6009         remove continuation prompts; one for each newline.
6010         (sql-interactive-mode): Set up new variables, prompt regexp and
6011         output filter.
6012         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
6013         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
6015 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6017         * emacs-lisp/pcase.el: New file.
6019 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
6021         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
6022         as here-document, otherwise the command could exceed maximum
6023         length of command line.
6024         (tramp-handle-vc-registered): Call script accordingly.
6025         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
6027 2010-08-10  Kenichi Handa  <handa@m17n.org>
6029         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
6030         composable pattern.
6032 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
6034         * emacs-lisp/package.el (package-version-split)
6035         (package--version-first-nonzero, package-version-compare):
6036         Functions removed.
6037         (package-directory-list, package-load-all-descriptors)
6038         (package--built-in, package-activate, define-package)
6039         (package-installed-p, package-compute-transaction)
6040         (package-read-all-archive-contents)
6041         (package--add-to-archive-contents, package-buffer-info)
6042         (package-tar-file-info, package-list-packages-internal):
6043         Use version-to-list and version-list-*.
6045         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6046         Use version-to-list.
6047         (package-upload-buffer-internal): Use version-list-<=.
6049 2010-08-09  Kenichi Handa  <handa@m17n.org>
6051         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
6052         composable pattern.
6054 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
6056         * tutorial.el (tutorial--default-keys): C-d is now bound to
6057         delete-forward-char (Bug#6826).
6059         * mouse.el (mouse-drag-track): Remove accidentally-removed check
6060         for `double' value of mouse-1-click-follows-link (Bug#6807).
6062 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
6064         * replace.el (replace-highlight): Bind isearch-forward and
6065         isearch-error, ensuring that highlighting is updated if the user
6066         switches the search direction (Bug#6808).
6068         * isearch.el (isearch-lazy-highlight-forward): New var.
6069         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6070         (isearch-lazy-highlight-update): Use it.
6072 2010-08-08  Kenichi Handa  <handa@m17n.org>
6074         * international/mule.el (define-charset): Store NAME as :base property.
6075         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
6076         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
6077         current priority.  Force using the designation of the specific
6078         charset by adding `charset' text property.  Improve the whole algorithm.
6080 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6082         * emulation/pc-select.el (pc-selection-mode-hook)
6083         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
6084         (pc-selection-mode): Fix typos in docstrings.
6086 2010-08-08  Kenichi Handa  <handa@m17n.org>
6088         * language/cyrillic.el: Don't add "microsoft-cp1251" to
6089         ctext-non-standard-encodings-alist here.
6091         * international/mule.el (ctext-non-standard-encodings-alist):
6092         Add "koi8-r" and "microsoft-cp1251".
6093         (ctext-standard-encodings): New variable.
6094         (ctext-non-standard-encodings-table): List only elements for
6095         non-standard encodings.
6096         (ctext-pre-write-conversion): Adjust for the above change.
6097         Check ctext-standard-encodings.
6099         * international/mule-conf.el (compound-text): Doc fix.
6100         (ctext-no-compositions): Doc fix.
6101         (compound-text-with-extensions): Doc fix.
6103 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6105         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
6107 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6109         * progmodes/which-func.el (which-func-format): Split help-echo text
6110         into lines, like other mode-line tooltips.
6112         * server.el (server-start): When using TCP sockets, force IPv4
6113         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
6115 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6117         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
6119 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6121         * term.el (term-delimiter-argument-list): Reflow docstring.
6122         (term-read-input-ring, term-write-input-ring, term-send-input)
6123         (term-bol, term-erase-in-display, serial-supported-or-barf):
6124         Fix typos in docstrings.
6126 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6128         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
6130 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6132         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
6134 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
6136         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
6137         Fix typo in docstring (bug#6747).
6139 2010-08-08  Leo  <sdl.web@gmail.com>
6141         * eshell/esh-io.el (eshell-get-target): Better detection of
6142         read-only file (Bug#6762).
6144 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
6146         * align.el (align-default-spacing): Doc fix.
6147         (align-region-heuristic, align-regexp): Fix typos in docstrings.
6149 2010-08-08  Stephen Peters  <speters@itasoftware.com>
6151         * calendar/icalendar.el
6152         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
6153         (icalendar--get-weekday-numbers): New.
6154         (icalendar--convert-recurring-to-diary): Handle multiple byday
6155         values in weekly rules.  (Bug#6766)
6157 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
6159         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
6160         (icalendar--create-uid, icalendar-export-region)
6161         (icalendar--parse-summary-and-rest): Code formatting.
6163 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
6165         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
6166         to italicize headers.
6167         (calc-highlight-selections-with-faces): New variable.
6168         (calc-selected-face, calc-nonselected-face): New faces.
6170         * calc/calccomp.el (math-comp-highlight-string): Use
6171         `calc-highlight-selections-with-faces' to determine how to highlight
6172         sub-formulas.
6174         * calc/calc-sel.el (calc-show-selections): Change message to when
6175         using faces to highlight selections.
6177 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
6179         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
6180         Add SQLite 3 keywords, functions and datatypes.
6181         (sql-interactive-mode): Remove `comint-process-echoes' set to t
6182         (Bug#6686).
6184 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
6186         * simple.el (select-active-regions): Move to keyboard.c.
6187         (deactivate-mark): Used saved-region-selection.
6188         (select-active-region): Function removed.
6189         (activate-mark, set-mark, push-mark-command)
6190         (handle-shift-selection): Don't call it.
6191         (keyboard-quit): Avoid adding the region to the window selection.
6193         * mouse.el (mouse-drag-track): Remove hacks to deal with old
6194         select-active-regions implementation.
6195         (mouse-yank-at-click): Doc fix.
6197         * cus-start.el: Add custom declaration for select-active-regions.
6199 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
6201         * simple.el (delete-forward-char): Doc fix.
6203         * tutorial.el (help-with-tutorial): Hack safe file-local variables
6204         after reading the tutorial.
6206 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
6208         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
6209         Fix for the case that a C style comment has its delimiters alone on
6210         their respective lines.
6212 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
6214         * net/tramp.el (tramp-handle-start-file-process): Set connection
6215         property "vec".
6216         (tramp-process-sentinel): Use it for flushing the cache.
6217         We cannot do it via the process buffer, the buffer could be deleted
6218         already when running the sentinel.
6220 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
6222         * comint.el (comint-mode): Make directory tracking functions
6223         functional on remote files.  (Bug#6764)
6225 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
6227         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
6229 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
6231         * emacs-lisp/find-gc.el (find-gc-source-files):
6232         Rename unexec.c => unexcoff.c.
6234         * emacs-lisp/authors.el (authors-fixed-entries):
6235         Rename unexec.c => unexcoff.c.
6237 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
6239         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
6240         cache, not only file cache.
6241         (tramp-process-sentinel): New defun.
6242         (tramp-handle-start-file-process): Use it, in order to invalidate
6243         file caches.
6245 2010-08-03  Leo  <sdl.web@gmail.com>
6247         * server.el (server-start): Simplify loop.
6249 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6251         * frame.el (screen-height, screen-width, set-screen-width)
6252         (set-screen-height): Remove ancient compatibility aliases.
6254         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
6255         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
6257         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
6258         that change current buffer.
6260 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
6262         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
6263         beginning of the string.  Use `string-match-p'.  (Bug#6765)
6265 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
6267         * cus-start.el (x-gtk-use-system-tooltips): New variable.
6269 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
6271         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
6272         (package--builtins): Tweak descriptions.
6273         (package-print-package): Upcase descriptions if necessary.
6274         Show all built-in packages in font-lock-builtin-face.
6275         (package-list-packages-internal): Omit "emacs" package.
6276         Show status of built-in packages as "built-in".
6278 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
6280         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
6281         before killing to preserve the primary selection (Bug#6701).
6283         * term/x-win.el (x-select-text): Doc fix.
6285 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
6287         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
6288         (objc-font-lock-extra-types):
6289         * progmodes/cc-mode.el (c-basic-common-init):
6290         * progmodes/cc-langs.el (c-make-mode-syntax-table)
6291         (c++-make-template-syntax-table)
6292         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
6293         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
6294         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
6295         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
6296         * progmodes/cc-fonts.el (c-make-inverse-face)
6297         (c-basic-matchers-after):
6298         * progmodes/cc-engine.el (c-forward-keyword-clause)
6299         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
6300         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
6301         (c-guess-continued-construct, c-guess-basic-syntax):
6302         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
6303         The above functions were modified or created.
6305 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
6307         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
6309 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
6311         * files.el (bidi-paragraph-direction): Define safe local values.
6313         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
6314         language-info-alist.  Remove outdated FIXME in a comment.
6316 2010-07-31  Alan Mackenzie  <acm@muc.de>
6318         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
6319         Auto-fill broken in C/C++ modes.
6321 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
6323         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6324         (menu-bar-showhide-tool-bar-menu-customize-disable)
6325         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6326         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
6327         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
6328         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
6329         make a menu for Options => toolbar that can move it.
6331 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
6333         * emacs-lisp/package-x.el (package--make-rss-entry):
6334         (package-maint-add-news-item, package--update-news)
6335         (package-upload-buffer-internal): New arg ARCHIVE-URL.
6337         * emacs-lisp/package.el (package-archive-url): Rename from
6338         package-archive-id.
6339         (package-install): Doc fix.
6340         (package-download-single, package-download-tar, package-install)
6341         (package-menu-view-commentary): Callers changed.
6343 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
6345         * net/tramp.el (tramp-handle-start-file-process): Check only for
6346         `remote-tty' process property.
6347         (tramp-open-shell): Don't check for tty.
6348         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6349         process property.
6351         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
6352         host.
6354 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
6356         * emacs-lisp/package.el (package-load-list, package-archives)
6357         (package-archive-contents, package-user-dir)
6358         (package-directory-list, package--builtins, package-alist)
6359         (package-activated-list, package-obsolete-alist): Mark as risky.
6361 2010-07-28  Phil Hagelberg  <phil@evri.com>
6363         Add support for non-default package repositories.
6364         * emacs-lisp/package.el (package-archive-base): Var deleted.
6365         (package-archives): New variable.
6366         (package-archive-contents): Doc fix.
6367         (package-load-descriptor): Do nothing if descriptor file is missing.
6368         (package--write-file-no-coding): New function.
6369         (package-unpack-single): Use it.
6370         (package-archive-id): New function.
6371         (package-download-single, package-download-tar)
6372         (package-menu-view-commentary): Use it.
6373         (package-installed-p): Make second argument optional.
6374         (package-read-all-archive-contents): New function.
6375         (package-initialize): Use it.
6376         (package-read-archive-contents): Add ARCHIVE argument.
6377         (package--add-to-archive-contents): New function.
6378         (package-install): Don't call package-read-archive-contents.
6379         (package--download-one-archive): Store archive file in a
6380         subdirectory of package-user-dir.
6381         (package-menu-execute): Remove spurious line movement.
6383 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
6385         * cus-start.el (tool-bar-style): Add text-image-horiz.
6387 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6389         * progmodes/gud.el (gud-common-init): Check for remoteness of
6390         `file', and not of `default-directory'.
6392 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
6394         * net/tramp.el (tramp-methods): Move hostname to the end in all
6395         ssh `tramp-login-args'.
6396         (tramp-verbose): Describe verbose level 9.
6397         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
6398         (tramp-open-connection-setup-interactive-shell): Trace stty
6399         settings if `tramp-verbose' >= 9.
6400         (tramp-handle-start-file-process): Implement tty setting.
6401         (Bug#4604, Bug#6360)
6403         * net/tramp-cmds.el (tramp-bug): Recommend setting of
6404         `tramp-verbose' to 9.
6406 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
6408         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
6409         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
6410         Remove references to package `lisp-re' (bug#4369).
6412 2010-07-27  Tom Tromey  <tromey@redhat.com>
6414         * progmodes/js.el (js-mode):
6415         * progmodes/make-mode.el (makefile-mode):
6416         * progmodes/simula.el (simula-mode):
6417         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
6419 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
6421         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
6423         * time.el (display-time-day-and-date): Remove spurious * in docstring.
6424         (display-time-world-buffer-name, display-time-world-mode-map):
6425         Fix typos in docstrings.
6427 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
6429         * image-mode.el (image-display-size): New function.
6430         (image-forward-hscroll, image-next-line, image-eol, image-eob)
6431         (image-mode-fit-frame): Use it (Bug#6639).
6433 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
6435         * dired.el (dired-buffers-for-dir): Handle list values of
6436         dired-directory (Bug#6636).
6438 2010-07-26  Sam Steingold  <sds@gnu.org>
6440         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
6441         Do not call `x-get-selection' the second time, reuse the value.
6443 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
6445         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
6446         which consist of control chars only.  Suggested by Richard Stallman.
6448 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
6450         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
6451         exists before passing an error to find-file-not-found-functions
6452         (bug#6723).
6454 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
6456         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
6457         Remove leading nil element, adjust values.
6458         (tetris-shapes, tetris-shape-scores):
6459         Change representation of shapes and remove some redundancy.
6460         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
6461         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
6462         Adjust for working with new representation of shapes.
6463         (tetris-shape-rotations): New function.
6464         (tetris-move-bottom, tetris-move-left, tetris-move-right)
6465         (tetris-rotate-prev, tetris-rotate-next):
6466         Adjust for working with the new version of tetris-test-shape.
6468 2010-07-23  Markus Triska  <markus.triska@gmx.at>
6470         * progmodes/ps-mode.el: Use comint (bug#5954).
6471         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
6472         (ps-mode-other-newline): Simplify.
6473         (ps-run-mode): Derive from comint-mode instead of
6474         fundamental-mode, yielding input history etc.
6475         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
6476         (ps-run-send-string): Adapt for comint-mode.
6477         (ps-run-newline): Remove now unneeded function.
6479 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6481         * net/tramp.el (tramp-methods): Move hostname to the end in all
6482         plink `tramp-login-args'.
6484 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6486         * net/tramp.el (tramp-open-shell): New defun.
6487         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6488         Use it.
6490 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
6492         * net/tramp.el (tramp-file-name-regexp-unified)
6493         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6494         not regard the volume letter as remote filename.  (Bug#5447)
6496 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
6498         * custom.el (custom-declare-variable): Give a clearer error message
6499         when the docstring is missing (bug#6476).
6501 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
6503         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
6504         (sql-login-params): New widget definition.
6505         (sql-oracle-login-params, sql-mysql-login-params)
6506         (sql-solid-login-params, sql-sybase-login-params)
6507         (sql-informix-login-params, sql-ingres-login-params)
6508         (sql-ms-login-params, sql-postgres-login-params)
6509         (sql-interbase-login-params, sql-db2-login-params)
6510         (sql-linter-login-params): Use it.
6511         (sql-sqlite-login-params): Use it; Define "database" parameter as
6512         a file name.
6513         (sql-sqlite-program): Change to "sqlite3".
6514         (sql-comint-sqlite): Make sure database name is complete.
6515         (sql-for-each-login): New function.
6516         (sql-connect, sql-save-connection): Use it.
6517         (sql-get-login-ext): New function.
6518         (sql-get-login): Use it.
6519         (sql-make-alternate-buffer-name): Handle :file parameters.
6521 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
6523         * dired.el (dired-no-confirm): Document value t and fix defcustom to
6524         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
6526 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
6528         * dired.el (dired-mode-map): Use command remapping (bug#6632).
6530 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
6532         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
6534 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
6536         * net/tramp.el (tramp-get-ls-command)
6537         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
6538         instead of "/".
6540 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
6542         * progmodes/sql.el: Version 2.3.
6543         (sql-connection-alist): Change keys from symbols to strings;
6544         enhanced the widget definition.
6545         (sql-mode-menu): Add submenu to select connections.
6546         (sql-interactive-mode-menu): Add "Save Connection" item.
6547         (sql-add-product): Fix menu item.
6548         (sql-get-product-feature): Improved error handling.
6549         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
6550         (sql-make-alternate-buffer-name): Simplified.
6551         (sql-product-interactive): Handle missing product.
6552         (sql-connect): Support string keys, minor improvements.
6553         (sql-save-connection): New function.
6554         (sql-connection-menu-filter): New function.
6556 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6558         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
6559         (tramp-open-connection-setup-interactive-shell):
6560         Apply workaround for IRIX64 bug.  Move argument of last
6561         `tramp-send-command' where it belongs to.
6563 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
6565         * net/tramp.el (tramp-perl-file-attributes)
6566         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6567         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6568         front of `login-args'.
6570 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
6572         * time.el (display-time-world-mode): Define with `define-derived-mode'.
6573         Set `show-trailing-whitespace' to nil.
6574         (display-time-world-display): Simplify.
6576 2010-07-18  Alan Mackenzie  <acm@muc.de>
6578         Enhance `c-file-style' in file/directory local variables.
6579         * progmodes/cc-mode.el (c-count-cfss): New function.
6580         (c-before-hack-hook): Call `c-set-style' differently according to
6581         whether c-file-style was set in file or directory local
6582         variables.
6584 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
6586         * progmodes/sql.el: Version 2.2.
6587         (sql-product, sql-user, sql-database, sql-server, sql-port):
6588         Use defcustom :safe keyword rather than putting safe-local-variable
6589         property.
6590         (sql-password): Use defcustom :risky keyword rather than putting
6591         risky-local-variable property.
6592         (sql-oracle-login-params, sql-sqlite-login-params)
6593         (sql-solid-login-params, sql-sybase-login-params)
6594         (sql-informix-login-params, sql-ingres-login-params)
6595         (sql-ms-login-params, sql-postgres-login-params)
6596         (sql-interbase-login-params, sql-db2-login-params)
6597         (sql-linter-login-params): Add `port' option.
6598         (sql-get-product-feature): Add NO-INDIRECT parameter.
6599         (sql-comint-oracle, sql-comint-sybase)
6600         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
6601         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
6602         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
6603         (sql-comint-linter): Rename sql-connect-* functions to
6604         sql-comint-*.
6605         (sql-product-alist, sql-mode-menu): Rename as above and
6606         :sqli-connect-func to :sqli-comint-func.
6607         (sql-connection): New variable.
6608         (sql-interactive-mode): Set it.
6609         (sql-connection-alist): New variable.
6610         (sql-connect): New function.
6611         (sql--alt-buffer-part, sql--alt-if-not-empty)
6612         (sql-make-alternate-buffer-name): Improved alternative buffer name.
6614 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6616         * image-mode.el (image-bookmark-make-record): Do not set context
6617         in an image (Bug#6650).
6619 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6621         * simple.el (select-active-region): New function.
6622         (push-mark-command, set-mark, activate-mark)
6623         (handle-shift-selection): Use it.
6624         (deactivate-mark): Don't check for size of region.
6626         * mouse.el (mouse-drag-track): Use select-active-region.
6628 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
6630         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
6631         "--dired" stronger.
6633 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
6635         * term/x-win.el (x-select-enable-primary): Change default to nil.
6636         (x-select-enable-clipboard): Add :version keyword.
6638         * mouse.el (mouse-drag-copy-region):
6639         * simple.el (select-active-regions): Likewise.
6641 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
6643         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
6644         (vc-coding-system-for-diff): Use it to decide whether to inherit
6645         from the file the EOL format for reading the diffs of that file.
6646         (Bug#4451)
6648 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
6650         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
6651         unibyte, so compressed attachments are not compressed again.
6653 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
6655         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
6656         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
6657         (tramp-find-shell): Simplify setting connection property.
6658         (tramp-get-ls-command): Make test for "--color=never" stronger.
6660 2010-07-15  Simon South  <ssouth@member.fsf.org>
6662         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
6663         blocks within record declarations (i.e. variant parts) correctly.
6665 2010-07-15  Simon South  <ssouth@member.fsf.org>
6667         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
6668         over literal tokens when parsing so newlines aren't "absorbed" by
6669         single-line comments.  Corrects the indentation of case blocks
6670         that have a comment on the first line.
6672 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
6674         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
6675         by Drew Adams (Bug#5504).
6677 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
6679         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
6680         now that Unicode is used (Bug#6594).
6682 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
6684         * term/x-win.el (x-select-enable-clipboard): Default to t.
6685         (x-initialize-window-system): Don't overwrite Paste menu item.
6687         * simple.el (select-active-regions): Default to t.
6688         (push-mark-command): Don't overwrite primary with empty string.
6690         * mouse.el: Bind mouse-2 to mouse-yank-primary.
6691         (mouse-drag-copy-region): Default to nil.
6693         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
6694         Cut/Copy/Paste menu bar items.
6696 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6698         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
6699         Patch applied by Karl Fogel.
6701         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
6702         and `bookmark-current-buffer' if they have been already set in
6703         another buffer (e.g gnus-art).
6705 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6706             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6708         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
6710         * bookmark.el (bookmark-make-record-default): Allow unneeded
6711         information to be omitted from the record.
6713         Adjust declarations and calls:
6715         * info.el (bookmark-make-record-default): Adjust declaration.
6716         (Info-bookmark-make-record): Adjust call.
6718         * woman.el (bookmark-make-record-default): Adjust declaration.
6719         (woman-bookmark-make-record): Adjust call.
6721         * man.el (bookmark-make-record-default): Adjust declaration.
6722         (Man-bookmark-make-record): Adjust call.
6724         * image-mode.el (bookmark-make-record-default): Adjust declaration.
6726         * doc-view.el (bookmark-make-record-default): Adjust declaration.
6728 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
6730         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
6731         This is also from Thierry Volpiatto's patch in bug #6444.  However,
6732         because it was extraneous to the functional change in that patch,
6733         and causes a re-indendation, I am committing it separately.
6735 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6737         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
6738         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
6739         Patch applied by Karl Fogel (Bug#6444).
6741 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
6743         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
6745 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
6747         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
6748         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
6749         (ns-alternatives-map): Change S-tab binding to backtab
6750         (bug#6616).
6752         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
6753         under ns.
6755 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
6757         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
6758         (Bug#5806)
6760         * language/tv-util.el (tai-viet-re): Remove format.
6762 2010-07-12  Kenichi Handa  <handa@m17n.org>
6764         * language/hebrew.el: Remove no-byte-compile declaration.
6765         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
6766         composition-function-table for 3-character looking back.
6767         (hebrew-font-get-precomposed): New function.
6768         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
6770 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
6772         * mouse.el (mouse-drag-track): Handle select-active-regions
6773         (Bug#6612).
6775 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
6777         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6778         empty argument to gvfs-copy.
6780 2010-07-10  Glenn Morris  <rgm@gnu.org>
6782         * calendar/calendar.el (calendar-week-end-day): New function.
6783         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
6784         Respect calendar-week-start-day.  (Bug#6606)
6785         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
6786         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
6787         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
6788         respect calendar-week-start-day.
6790 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
6792         * simple.el (use-region-p): Doc fix (Bug#6607).
6794 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
6796         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6797         Add regexps for cucumber and ruby.
6799 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
6801         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
6802         (epa-file-insert-file-contents): Hack to prevent
6803         find-file from opening empty buffer when decryption failed
6804         (bug#6568).
6806 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
6808         * textmodes/ispell.el (ispell-alternate-dictionary):
6809         Use file-readable-p.
6810         Return nil if no word-list is found at default locations.
6811         (ispell-complete-word-dict): Default to nil.
6812         (ispell-command-loop): Use 'word-list' when using lookup-words.
6813         (lookup-words): Use ispell-complete-word-dict or
6814         ispell-alternate-dictionary.  Check for word-list availability
6815         and handle errors if needed with better messages (Bug#6539).
6816         (ispell-complete-word): Use ispell-complete-word-dict or
6817         ispell-alternate-dictionary.
6819 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
6821         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
6822         builtins (BufferError, BytesWarning, WindowsError; callables
6823         bin, bytearray, bytes, format, memoryview, next, print; __package__).
6825 2010-07-07  Glenn Morris  <rgm@gnu.org>
6827         * play/zone.el (top-level): Do not require timer, tabify, or cl.
6828         (zone-shift-left): Ignore intangibility, and any errors from
6829         forward-char.
6830         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
6831         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
6832         deleting, and copying text properties.
6833         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
6834         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
6835         to point-max is hard.
6836         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
6837         (zone-fill-out-screen): Ignore intangibility.
6839 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
6841         * menu-bar.el (menu-bar-mode):
6842         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
6843         if it has been set.
6845         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
6846         word/line selection (Bug#6565).
6848 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
6850         * net/dbus.el (dbus-send-signal): Declare function.
6852 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
6854         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
6855         (dbus-register-property): New optional argument EMITS-SIGNAL.
6856         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
6858 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
6860         * mouse.el (mouse-drag-overlay): Variable deleted.
6861         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
6862         (mouse--remap-link-click-p): New function.
6863         (mouse-drag-track): Handle dragging by using temporary Transient
6864         Mark mode, instead of a special overlay.
6865         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
6866         mouse-show-mark.
6868         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
6869         deleted.
6871 2010-07-02  Juri Linkov  <juri@jurta.org>
6873         * autoinsert.el (auto-insert-alist): Fix readability
6874         by using dotted pair notation for lambda.
6876 2010-07-02  Juri Linkov  <juri@jurta.org>
6878         * faces.el (read-face-name): Rename arg `string-describing-default'
6879         to `default'.  Doc fix.  Display the default value in quotes
6880         in the prompt.  With empty input, return the `default' arg,
6881         unless the default value is a string (in which case return nil).
6882         (describe-face): Replace the string `default' arg of `read-face-name'
6883         with the symbol `default'.
6885 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
6887         * emulation/viper-cmd.el (viper-delete-backward-char)
6888         (viper-del-backward-char-in-insert)
6889         (viper-del-backward-char-in-replace, viper-change)
6890         (viper-backward-indent): Replace delete-backward-char with
6891         delete-char (Bug#6552).
6893 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
6895         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
6897 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6899         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
6900         argument passed to frame-creation-function (Bug#5378).
6902         * faces.el (x-handle-named-frame-geometry)
6903         (x-handle-reverse-video, x-create-frame-with-faces)
6904         (face-set-after-frame-default, tty-create-frame-with-faces):
6905         Don't separately consult default-frame-alist.  It is now passed as the
6906         PARAMETER argument.
6908 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
6910         * startup.el (command-line): Don't call tool-bar-setup in a
6911         tty-only build.
6913 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6915         * ruler-mode.el (ruler--save-header-line-format): New fun.
6916         (ruler-mode): Use it as a setter function, so as not to overwrite
6917         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
6919 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
6921         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
6922         (vc-root-diff, vc-print-root-log, vc-log-incoming)
6923         (vc-log-outgoing): Use it.
6924         (vc-diff-internal): Set diff-vc-backend.
6926         * vc/diff-mode.el (diff-vc-backend): New var.
6928 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
6930         * dynamic-setting.el (font-setting-change-default-font):
6931         Remove call to message.
6933 2010-06-28  Kenichi Handa  <handa@m17n.org>
6935         * international/quail.el (quail-insert-kbd-layout): Fix the
6936         showing of untranslated characters.
6938 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
6940         * simple.el (delete-active-region): New option.
6941         (delete-backward-char): Implement in Lisp.
6942         (delete-forward-char): New command.
6944         * mouse.el (mouse-region-delete-keys): Deleted.
6945         (mouse-show-mark): Simplify.
6947         * bindings.el (global-map): Bind delete and DEL, the former to
6948         delete-forward-char.
6950 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
6952         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
6953         (ruby-mode): Bind indent-line-function (Bug#5119).
6955 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6957         * startup.el (command-line): Recognize "0" X resource value.
6959 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6961         * startup.el (command-line): Use X resources to set the value of
6962         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6964         * menu-bar.el (menu-bar-mode):
6965         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6966         Set init-value to t.
6968         * frame.el (frame-notice-user-settings): Don't change
6969         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6970         vice versa (Bug#2249).
6972 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6974         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6976 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6978         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6979         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6981         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6982         default directories are expanded (Bug#6143).
6984 2010-06-24  Juri Linkov  <juri@jurta.org>
6986         * minibuffer.el (completions-format): Change default from nil to
6987         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6989 2010-06-24  Juri Linkov  <juri@jurta.org>
6991         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6992         buffer-locally to lambda that re-runs the vc diff command.
6993         (Bug#6447)
6995 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6997         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6998         echo area is in use (Bug#3412).
7000 2010-06-22  Glenn Morris  <rgm@gnu.org>
7002         * textmodes/texinfmt.el (texinfo-format-region)
7003         (texinfo-raise-lower-sections, texinfo-format-separate-node)
7004         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
7005         (texinfo-format-option, texinfo-noindent):
7006         Use line-beginning-position and line-end-position.
7008         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
7009         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
7010         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
7011         utf-8 characters.
7013 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
7015         * play/zone.el (zone-fall-through-ws): Fix next-line ->
7016         forward-line fallout.
7018 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
7020         * mouse.el (mouse-appearance-menu): Add docstring.
7022         * help.el (describe-key): Print up-event using key-description.
7024 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
7026         * net/zeroconf.el (zeroconf-resolve-service)
7027         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
7028         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
7030 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
7032         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
7034 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
7036         Avoid displaying files with a nil state in vc-dir.
7037         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
7038         cases that cause insertion.
7039         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
7040         with a nil state.
7042 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7044         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
7046 2010-06-29  Leo  <sdl.web@gmail.com>
7048         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
7050 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
7052         * generic-x.el (bat-generic-mode): Fix regexp for command line
7053         switches (Bug#5719).
7055 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
7057         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
7058         of nconc to avoid pure storage error (Bug#6239).
7060 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
7062         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
7063         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
7064         bindings of bookmark-automatically-show-annotations (Bug#6515).
7066 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
7068         * arc-mode.el (archive-zip-extract): Don't quote the file name on
7069         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
7071 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
7073         * comint.el (make-comint, make-comint-in-buffer): Mention return
7074         value in the docstrings.  (Bug#6498)
7076 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
7078         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
7079         since it is not present when using some non-default switches.
7081 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
7083         * simple.el (compose-mail): Fix doc string to refer to
7084         `compose-mail-user-agent-warnings', instead of to the
7085         nonexistent `compose-mail-check-user-agent'.
7087 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
7089         Fix an indentation bug:
7091         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
7092         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
7093         of existing values.
7095         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
7096         (c-clear->-pair-props-if-match-before): now return t when they've
7097         cleared properties, nil otherwise.
7098         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
7099         by taking account of the existing value.
7101         * progmodes/cc-defs.el
7102         (c-clear-char-property-with-value-function): Fix this to clear the
7103         property rather than overwriting it with nil.
7105 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
7107         * emacs-lisp/package.el (package-print-package): Add link to
7108         package description via describe-package.
7109         (describe-package-1): List package requirements.  Add button to
7110         perform installation.
7111         (package-menu-describe-package): New command.
7113         * help-mode.el (help-package): New button type.
7115 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
7117         * emacs-lisp/package.el: Move package-list-packages binding to
7118         menu-bar.el.
7119         (describe-package, describe-package-1, package--dir): New funs.
7120         (package-activate-1): Use package--dir.
7122         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
7124         * help-mode.el (help-package-def): New button type.
7126         * menu-bar.el: Move package-list-packages binding here from
7127         package.el.
7129 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
7131         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
7133 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7135         * emacs-lisp/edebug.el (edebug-read-list):
7136         Phase out old-style backquotes.
7138 2010-06-17  Juri Linkov  <juri@jurta.org>
7140         * help-mode.el (help-mode): Set buffer-local variable
7141         revert-buffer-function to help-mode-revert-buffer.
7142         (help-mode-revert-buffer): New function.
7144         * info.el (Info-revert-find-node): Check for major-mode Info-mode
7145         before popping to "*info*" (like in other Info functions).
7146         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
7147         old-history-forward.  Pop to old-buffer-name or "*info*" to
7148         recreate the killed buffer.  Set Info-history-forward from
7149         old-history-forward.
7150         (Info-breadcrumbs-depth): Add :group and :version.
7152 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
7154         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
7156 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
7158         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
7159         for languages like Portuguese with pt_{BR,PT} and no plain pt.
7161 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
7163         * emacs-lisp/package.el (package-menu-mode-map):
7164         Move initialization into declaration.
7166         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
7168 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
7170         * emacs-lisp/package.el (package-archive-base): Point to
7171         elpa.gnu.org.
7172         (package-enable, package-load-list): New defcustoms.
7173         (package-user-dir, package-directory-list): Turn into defcustoms.
7174         Don't include package-user-dir in package-directory-list.
7175         (package--builtins-base): Don't include Emacs as a "package".
7176         (package-subdirectory-regexp): New var.
7177         (package-load-all-descriptors, package-compute-transaction)
7178         (package-download-transaction): Obey package-load-list.
7179         (package-activate-1): Rename from package-do-activate.
7180         (package-list-packages-internal): Check package-load-list.
7181         (package-load-descriptor, package-generate-autoloads)
7182         (package-unpack, package-unpack-single)
7183         (package--read-archive-file, package-delete):
7184         Use expand-file-name.
7186         * emacs-lisp/package-x.el: New file.  Package uploading
7187         functionality split out from package.el.
7189         * startup.el (command-line): Load packages after reading init file.
7191 2010-06-17  Tom Tromey  <tromey@redhat.com>
7193         * emacs-lisp/package.el: New file.
7195 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7197         Fix vc-annotate for renamed files when using Git.
7198         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
7199         ls-files.  Doe not pass the object as a file name to cat-file, it
7200         is not a file name.
7201         (vc-git-annotate-command): Pass the file name using -- to avoid
7202         ambiguity with the revision.
7203         (vc-git-previous-revision): Pass a relative file name.
7205 2010-06-22  Glenn Morris  <rgm@gnu.org>
7207         * progmodes/js.el (js-mode-map): Use standard capitalization and
7208         ellipses for menu entries.
7210         * wid-edit.el (widget-complete): Doc fix.
7212 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
7214         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
7216 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
7218         Fix annotating other revisions for renamed files in vc-annotate.
7219         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
7220         VC backend.  Use it when non-nil.
7221         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
7222         (Bug#6487).
7224         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
7225         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7226         Do not pass the file name to the 'previous-revision call when we
7227         don't want a file diff.  (Bug#6489)
7229 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7231         Fix finding revisions for renamed files in vc-annotate.
7232         * vc/vc.el (vc-find-revision): Add an optional argument for
7233         the VC backend.  Use it when non-nil.
7234         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
7235         backend to vc-find-revision.  (Bug#6487)
7237 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
7239         Fix reading file names in Git annotate buffers.
7240         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
7241         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
7243 2010-06-20  Alan Mackenzie  <acm@muc.de>
7245         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
7246         in file local variables, set it first.
7248 2010-06-19  Glenn Morris  <rgm@gnu.org>
7250         * descr-text.el (describe-char-unicode-data): Insert separating
7251         space when needed.  (Bug#6422)
7253         * progmodes/idlwave.el (idlwave-action-and-binding):
7254         Fix typo in 2009-12-03 change.  (Bug#6450)
7256 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7258         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
7259         handling for `lambda' (misunderstanding).
7261 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
7263         * calc/calc-poly.el (math-accum-factors): Make sure that
7264         constants aren't distributed after they are factored out.
7266 2010-06-16  Juri Linkov  <juri@jurta.org>
7268         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
7269         `list-colors-print'.  (Bug#6332)
7271         * subr.el (read-quoted-char): Fix up last change (bug#6290).
7273 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7275         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
7276         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
7278         * font-lock.el (font-lock-major-mode): Rename from
7279         font-lock-mode-major-mode to distinguish it from
7280         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
7281         (font-lock-set-defaults):
7282         * font-core.el (font-lock-default-function): Adjust users.
7283         (font-lock-mode): Don't set it at all.
7285 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
7287         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
7289 2010-06-16  Glenn Morris  <rgm@gnu.org>
7291         * calendar/appt.el (appt-time-msg-list): Doc fix.
7292         (appt-check): Let-bind appt-warn-time.
7293         (appt-add): Make the 3rd argument optional.
7294         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
7295         Only add WARNTIME to the output list if non-nil.
7297 2010-06-16  Ivan Kanis  <apple@kanis.eu>
7299         * calendar/appt.el (appt-check): Let the 3rd element of
7300         appt-time-msg-list specify the warning time.
7301         (appt-add): Add new argument with the warning time.  (Bug#5176)
7303 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7305         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
7306         older than version 1.6.  (Bug#6361)
7308 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
7310         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
7311         used by cl-do-arglist.  (Bug#6408)
7313 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
7315         * textmodes/ispell.el (ispell-dictionary-base-alist):
7316         Fix portuguese casechars/not-casechars for missing 'çÇ'.
7317         Suggested by Rolando Pereira (bug#6434).
7319 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
7321         * facemenu.el (list-colors-sort): Doc fix.
7323 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
7325         * progmodes/sql.el (sql-connect-mysql): Fix typo.
7327 2010-06-14  Juri Linkov  <juri@jurta.org>
7329         Add sort option `list-colors-sort'.  (Bug#6332)
7330         * facemenu.el (color-rgb-to-hsv): New function.
7331         (list-colors-sort): New defcustom.
7332         (list-colors-sort-key): New function.
7333         (list-colors-display): Doc fix.  Sort list according to the option
7334         `list-colors-sort'.
7335         (list-colors-print): Add HSV values to `help-echo' property of
7336         RGB strings.
7338 2010-06-14  Juri Linkov  <juri@jurta.org>
7340         * compare-w.el: Move to the "vc" subdirectory.
7342 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7344         * image-mode.el (image-mode-map): Remap left-char and right-char.
7346         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
7348 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
7350         * term/common-win.el (x-colors): Add all the color names defined
7351         in rgb.txt (Bug#6332).
7353         * facemenu.el (list-colors-print): Don't print extra names if it
7354         will overflow the window width.
7356         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
7357         change (Bug#6343).
7359 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
7361         * files.el (make-directory): Doc fix (bug#6396).
7363 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
7365         * net/tramp.el (tramp-remote-process-environment): Protect version
7366         string by apostroph.
7367         (tramp-shell-prompt-pattern): Do not use a shy group in case of
7368         XEmacs.
7369         (tramp-file-name-for-operation): Add `call-process-region'.
7370         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
7372         * net/tramp-compat.el (top): Do not autoload
7373         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
7374         only when `start-file-process' is not bound.
7375         (tramp-advice-file-expand-wildcards): Do not use
7376         `tramp-handle-file-remote-p'.
7377         (tramp-compat-make-temp-file): Handle the case, that
7378         `make-temp-file' has no third argument EXTENSION.
7380 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
7382         * makefile.w32-in (WINS_BASIC): Include new directory vc.
7384         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
7386 2010-06-11  Juri Linkov  <juri@jurta.org>
7388         * finder.el (finder-known-keywords): Add keyword "vc"
7389         for version control.
7391         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
7392         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
7393         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
7394         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
7396 2010-06-11  Juri Linkov  <juri@jurta.org>
7398         Move version control related files to the "vc" subdirectory.
7399         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
7400         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
7401         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
7402         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
7403         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
7404         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
7405         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
7406         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
7407         Move files to the "vc" subdirectory.
7409 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
7411         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
7412         (Bug#6367).
7414 2010-06-11  Stephen Eglen  <stephen@gnu.org>
7416         * shell.el: Bind `shell-resync-dirs' to M-RET.
7418 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
7420         * notifications.el: Move file from lisp/net, because it is
7421         supposed to talk locally to the user.
7423 2010-06-10  Julien Danjou  <julien@danjou.info>
7425         * net/notifications.el (notifications-on-action-signal)
7426         (notifications-on-closed-signal): Pass notification id as first
7427         argument to the callback functions.  Add docstrings.
7428         (notifications-notify): Fix docstring.
7430 2010-06-10  Glenn Morris  <rgm@gnu.org>
7432         * emacs-lisp/authors.el (authors-ignored-files)
7433         (authors-valid-file-names): Add some files.
7435 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
7438         merge conflict, giving preference to the emacs-23 version of the code.
7440 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7442         * emacs-lisp/advice.el (ad-compile-function):
7443         Define warning-suppress-types before we let-bind it (bug#6275).
7445         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
7446         declare it, make it buffer-local and permanent-local (bug#6324).
7447         (vc-resynch-window): Adjust name.
7448         * vc-hooks.el (vc-find-file-hook): Adjust name.
7450 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
7452         * net/notifications.el (notifications-notify): Fix docstring.
7454 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7456         Update to Unicode 6.0.0 beta.
7457         * international/charprop.el: Update copyright.
7458         * international/mule-cmds.el (ucs-names): Update character ranges.
7459         * international/uni-bidi.el:
7460         * international/uni-category.el:
7461         * international/uni-combining.el:
7462         * international/uni-comment.el:
7463         * international/uni-decimal.el:
7464         * international/uni-decomposition.el:
7465         * international/uni-digit.el:
7466         * international/uni-lowercase.el:
7467         * international/uni-mirrored.el:
7468         * international/uni-name.el:
7469         * international/uni-numeric.el:
7470         * international/uni-old-name.el:
7471         * international/uni-titlecase.el:
7472         * international/uni-uppercase.el: Regenerate.
7474 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
7476         * emacs-lisp/smie.el (comment-string-strip): Declare function.
7477         (smie-precs-precedence-table): Fix typo in docstring.
7479         * vc-mtn.el (log-edit-extract-headers): Declare function.
7481         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
7483         * net/notifications.el (dbus-register-signal): Declare function.
7484         (notifications-notify): Fix typos and reflow docstring.
7486 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7488         Improve VC create/retrieve tag/branch.
7489         * vc.el (vc-create-tag): Do not read the directory name for VCs
7490         with repository revision granularity.  Adjust the tag/branch
7491         prompt.  Reset VC properties.
7492         (vc-retrieve-tag): Do not read the directory name for VCs
7493         with repository revision granularity.  Reset VC properties.
7495 2010-06-09  Julien Danjou  <julien@danjou.info>
7497         * net/notifications.el: New file.
7499 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
7501         Add optional support for resetting VC properties.
7502         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
7503         call vc-file-clearprops when true.
7504         (vc-resynch-buffer): Add new optional argument, pass it down.
7505         (vc-resynch-buffers-in-directory): Likewise.
7507         Improve support for special markup in the VC commit message.
7508         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
7509         * vc-hg.el (vc-hg-checkin): Add support for Date:.
7510         * vc-git.el (vc-git-checkin):
7511         * vc-bzr.el (vc-bzr-checkin): Likewise.
7513 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7515         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
7516         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
7518 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
7520         * iimage.el: Remove images as soon as the underlying text is modified.
7521         (iimage-modification-hook): New function.
7522         (iimage-mode-buffer): Use it.
7524 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7526         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
7527         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
7528         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
7529         (smie-indent-keyword): Add handling of open-paren keywords.
7530         (smie-indent-comment-continue): Don't assume comment-continue.
7532 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
7534         * window.el (pop-to-buffer): Remove the conditional that
7535         compares new-window and old-window, so it will reselect
7536         the selected window unconditionally.
7537         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
7539 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7541         * emacs-lisp/smie.el (smie-indent-offset-after)
7542         (smie-indent-forward-token, smie-indent-backward-token): New functions.
7543         (smie-indent-after-keyword): Use them.
7544         (smie-indent-fixindent): Only applies to the indentation of the BOL.
7545         (smie-indent-keyword): Tweak the black magic.
7546         (smie-indent-comment-continue): Strip comment-continue before use.
7547         (smie-indent-functions): Indent comments before keywords.
7549 2010-06-06  Juri Linkov  <juri@jurta.org>
7551         * isearch.el (isearch-lazy-highlight-search): Fix looping
7552         by checking for empty match.  This syncs this loop with the
7553         similar loop in `isearch-search'.  (Bug#6362)
7555 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
7557         * net/dbus.el (dbus-register-method): Declare function.
7558         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
7559         (dbus-introspect): Doc fix.
7560         (dbus-event-bus-name, dbus-introspect-get-interface)
7561         (dbus-introspect-get-argument): Reflow docstrings.
7563 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
7565         vc-log-incoming/vc-log-outgoing fixes for Git.
7566         * vc-git.el (vc-git-log-view-mode): Fix font lock for
7567         incoming/outgoing logs.
7568         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
7569         instead of vc-git-compute-remote.
7570         (vc-git-compute-remote): Remove.
7572 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
7574         * term/common-win.el (x-colors): Add "dark green" and "dark
7575         turquoise" (Bug#6332).
7577 2010-06-04  Juri Linkov  <juri@jurta.org>
7579         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
7580         Instead of setting `replace' to t and replacing the same string
7581         with itself, don't do certain actions when
7582         kill-do-not-save-duplicates is non-nil and string is equal to car
7583         of kill-ring: don't call menu-bar-update-yank-menu, don't push
7584         interprogram-paste strings to kill-ring, and don't push the input
7585         argument `string' to kill-ring.
7586         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
7588 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7590         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
7592 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
7594         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
7595         (tramp-gvfs-handler-mounted-unmounted)
7596         (tramp-gvfs-connection-mounted-p): Handle default-location.
7598         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
7599         move files to trash.
7601 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
7603         * international/mule-cmds.el (nonascii-insert-offset)
7604         (nonascii-translation-table): Add obsolescence information.
7606         * international/mule.el (make-translation-table-from-vector): Doc fix.
7608 2010-06-03  Glenn Morris  <rgm@gnu.org>
7610         * desktop.el (desktop-clear-preserve-buffers):
7611         Add "*Warnings*" buffer.  (Bug#6336)
7613 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
7615         vc-log-incoming/vc-log-outgoing improvements for Git.
7616         * vc-git.el (vc-git-log-outgoing): Use the same format as the
7617         short log.
7618         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
7620         Add bindings for vc-log-incoming and vc-log-outgoing.
7621         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
7622         and vc-log-outgoing.
7623         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
7624         and vc-log-outgoing.
7626 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7628         * net/rcirc.el (rcirc-sort-nicknames): Remove.
7629         (rcirc-handler-366): Always sort nicknames.
7631 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
7633         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
7635 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
7637         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
7639 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7641         * net/rcirc.el (rcirc-sort-nicknames): Change default.
7642         (rcirc-sort-nicknames-join): Avoid setq.
7644 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7646         * net/rcirc.el (rcirc-sort-nicknames): New custom.
7647         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
7648         (rcirc-handler-366): Use them.
7650 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7652         Split smie-indent-calculate into more manageable chunks.
7653         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
7654         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
7655         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
7656         (smie-indent-exps): Extract from smie-indent-calculate.
7657         (smie-indent-functions): New var.
7658         (smie-indent-functions): Use them.
7660 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7662         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
7663         (smie-indent-calculate): Simplify and cleanup.
7665 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
7667         * net/tramp-gvfs.el (top): Require url-util.
7668         (tramp-gvfs-mount-point): Remove.
7669         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
7670         New defuns.
7671         (with-tramp-dbus-call-method): Format trace message.
7672         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
7673         Implement backup call, when operation on local files fails.
7674         Use progress reporter.  Flush properties of changed files.
7675         (tramp-gvfs-handle-make-directory): Make more traces.
7676         (tramp-gvfs-url-file-name): Hexify file name in url.
7677         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
7678         into account for the resulting file name.
7679         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
7680         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
7681         (tramp-gvfs-handler-mounted-unmounted)
7682         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
7683         attribute "default_location".  Set "prefix" property.
7684         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
7685         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
7686         exists.  Raise an error, if not (due to a corresponding answer
7687         "no" in interactive questions, for example).
7689 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
7691         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
7693 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
7695         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
7696         right-*.  (Bug#6265)
7698 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
7700         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
7701         * vc-git.el (vc-git-compute-remote): New function.
7702         (vc-git-log-outgoing): Use it instead of hard coding a value.
7703         (vc-git-log-incoming): New function.
7705         Improve state updating for VC tag commands.
7706         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
7707         to update the state of all buffers in the directory.
7709         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
7711 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
7714         `file-directory-p' to the filename part rather than to the whole text.
7716 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7718         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
7720 2010-05-31  Drew Adams  <drew.adams@oracle.com>
7722         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
7724 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
7726         * subr.el (momentary-string-display): Just use read-event to read
7727         the exit event (Bug#6238).
7729 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
7731         * international/mule.el (define-coding-system): Doc fix (bug#6313).
7733 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7735         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
7736         Suggested by Eli Zaretskii <eliz@gnu.org>.
7738 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7740         * minibuffer.el (completion-file-name-table): Don't return a boundary
7741         past the end of `string' (bug#6299).
7742         (completion--file-name-table): Delegate to completion-file-name-table
7743         for the `boundaries' case.
7745 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
7747         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
7748         movement commands.
7750         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
7751         `path-separator', but maintain compatibility with Emacs 20.2.
7753 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7755         * server.el (server-process-filter): Receive parent-id argument
7756         from emacsclient.
7757         (server-create-window-system-frame): New arg.  Pass parent-id as
7758         frame parameter.
7760 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
7762         Bidi-sensitive word movement with arrow keys.
7763         * subr.el (right-arrow-command, left-arrow-command): Move to
7764         bindings.el.
7766         * bindings.el (right-char, left-char): Move from subr.el and
7767         rename from right-arrow-command and left-arrow-command.
7768         (right-word, left-word): New functions.
7769         (global-map) <right>: Bind to right-char.
7770         (global-map) <left>: Bind to left-char.
7771         (global-map) <C-right>: Bind to right-word.
7772         (global-map) <C-left>: Bind to left-word.
7774         * ls-lisp.el (ls-lisp-classify-file): New function.
7775         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
7776         (ls-lisp-classify): Call ls-lisp-classify-file.
7777         (insert-directory): Remove blanks from switches.
7779 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
7781         * ansi-color.el: Delete unused escape sequences (Bug#6085).
7782         (ansi-color-drop-regexp): New constant.
7783         (ansi-color-apply, ansi-color-filter-region)
7784         (ansi-color-apply-on-region): Delete unrecognized control sequences.
7785         (ansi-color-apply): Build string list before calling concat.
7787 2010-05-28  Juri Linkov  <juri@jurta.org>
7789         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7790         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
7791         (Bug#5270)
7793 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7795         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
7796         to ignored backtrace functions.
7797         (with-progress-reporter): Expand docstring.
7798         (tramp-handle-delete-file): Implement TRASH argument.
7799         (tramp-get-remote-trash): New defun.
7801 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
7803         * net/tramp-compat.el (tramp-compat-delete-file):
7804         Use `symbol-value' for backward compatibility.
7806         * net/tramp.el (tramp-handle-make-symbolic-link)
7807         (tramp-handle-load)
7808         (tramp-do-copy-or-rename-file-via-buffer)
7809         (tramp-do-copy-or-rename-file-directly)
7810         (tramp-do-copy-or-rename-file-out-of-band)
7811         (tramp-handle-process-file, tramp-handle-call-process-region)
7812         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7813         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7814         (tramp-delete-temp-file-function): Use `delete-file' instead
7815         of `tramp-compat-delete-file'.
7817         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7818         (tramp-fish-handle-make-symbolic-link)
7819         (tramp-fish-handle-process-file): Use `delete-file' instead
7820         of `tramp-compat-delete-file'.
7822         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7823         Use `delete-file' instead of `tramp-compat-delete-file'.
7825         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7826         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7827         `tramp-compat-delete-file'.
7829         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
7830         Use `delete-file' instead of `tramp-compat-delete-file'.
7832         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7833         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7834         (tramp-smb-handle-write-region): Use `delete-file' instead of
7835         `tramp-compat-delete-file'.
7836         (tramp-smb-handle-delete-directory): Use 'trash as arg.
7838 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7840         * dired.el (dired-delete-file): New arg TRASH.
7841         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
7842         (dired-do-flagged-delete, dired-do-delete): Use trash.
7844         * speedbar.el (speedbar-item-delete): Allow trashing.
7846         * files.el (delete-directory): New arg TRASH.
7848         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7849         (ange-ftp-rename-remote-to-remote)
7850         (ange-ftp-rename-local-to-remote)
7851         (ange-ftp-rename-remote-to-local, ange-ftp-load)
7852         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7853         `delete-file'.
7854         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7855         allow trashing.
7857         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7858         handle new TRASH arg of `delete-file'.
7860         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7861         (tramp-handle-make-symbolic-link, tramp-handle-load)
7862         (tramp-do-copy-or-rename-file-via-buffer)
7863         (tramp-do-copy-or-rename-file-directly)
7864         (tramp-do-copy-or-rename-file-out-of-band)
7865         (tramp-handle-process-file, tramp-handle-call-process-region)
7866         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7867         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7868         (tramp-delete-temp-file-function): Use null TRASH arg in
7869         tramp-compat-delete-file call.
7871         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7872         (tramp-fish-handle-delete-file)
7873         (tramp-fish-handle-make-symbolic-link)
7874         (tramp-fish-handle-process-file): Use null TRASH arg in
7875         `tramp-compat-delete-file' call.
7877         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7878         arg in `tramp-compat-delete-file' call.
7880         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7881         (tramp-gvfs-handle-write-region): Use null TRASH arg in
7882         `tramp-compat-delete-file' call.
7884         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7885         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7886         `tramp-compat-delete-file' call.
7888         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7889         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7890         (tramp-smb-handle-write-region): Use null TRASH arg in
7891         tramp-compat-delete-file call.
7892         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7893         (tramp-smb-handle-delete-file): Rename arg.
7895         * diff.el (diff-sentinel):
7896         * epg.el (epg--make-temp-file, epg-decrypt-string)
7897         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7898         * jka-compr.el (jka-compr-partial-uncompress)
7899         (jka-compr-call-process, jka-compr-write-region):
7900         * server.el (server-sentinel): Remove optional arg from
7901         delete-file, reverting 2010-05-03 change.
7903 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7905         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7906         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7908 2010-05-27  Kenichi Handa  <handa@m17n.org>
7910         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7911         element of GSTRING is nil.
7913 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7915         * emacs-lisp/smie.el (smie-forward-token-function)
7916         (smie-backward-token-function): New vars.
7917         (smie-backward-sexp, smie-forward-sexp)
7918         (smie-indent-hanging-p, smie-indent-calculate): Use them.
7919         (smie-default-backward-token): Rename from smie-backward-token and
7920         skip comments.
7921         (smie-default-forward-token): Rename from smie-forward-token and
7922         skip comments.
7923         (smie-next-sexp): Handle nil results from next-token.
7924         (smie-indent-calculate): Add a new case for special `fixindent' comments.
7926 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7928         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7929         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7931 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
7933         * htmlfontify.el (hfy-face-resolve-face): New function.
7934         (hfy-face-to-style): Use it (Bug#6279).
7936 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7938         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7939         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7941 2010-05-26  Glenn Morris  <rgm@gnu.org>
7943         * emulation/edt.el (edt-load-keys): Use locate-library.
7945 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
7947         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7948         (log-edit-changelog-entries): Doc fix.
7949         (log-edit-changelog-insert-entries): Args changed.
7950         Rename relative filenames in ChangeLog entries.  Delete tabs.
7951         (log-edit-insert-changelog-entries): Reorganize return value of
7952         `log-edit-changelog-entries' to pass filenames to
7953         log-edit-changelog-insert-entries.
7955 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7957         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7958         `image-dired-dired-insert-marked-thumbs' to
7959         `image-dired-dired-toggle-marked-thumbs'.
7961         * image-dired.el: Require cl when compiling.
7962         (image-dired-dired-toggle-marked-thumbs): Rename from
7963         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7964         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7965         to 'no-dir.  Skip files whose names don't match
7966         `image-file-name-regexp'.  When file has a thumbnail overlay,
7967         delete it.  (Bug#5270)
7969 2010-05-25  Juri Linkov  <juri@jurta.org>
7971         * image-mode.el (image-mode): Add image-after-revert-hook to
7972         after-revert-hook.
7973         (image-after-revert-hook): New function.  (Bug#5669)
7975 2010-05-25  Juri Linkov  <juri@jurta.org>
7977         * image.el (image-animated-p): When delay between animated images
7978         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7980 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7982         * net/tramp.el (tramp-handle-insert-directory): Don't use
7983         `forward-word', its default syntax could be changed.
7985 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7987         * net/tramp.el (tramp-progress-reporter-update): New defun.
7988         (with-progress-reporter): Use it.
7989         (tramp-process-actions):
7990         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7991         Preserve current message, in order to let progress reporter continue
7992         afterwards.  (Bug#6257)
7994 2010-05-25  Glenn Morris  <rgm@gnu.org>
7996         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7997         Add :version.
7999 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8001         * net/rcirc.el (rcirc-default-user-name): Change to "user".
8002         (rcirc-default-full-name): Change to "unknown".
8003         (rcirc-user-name-history): Add variable.
8005 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
8006             Jonathan Rockway  <jon@jrock.us>
8008         * net/rcirc.el (rcirc-server-alist): Add :pass.
8009         (rcirc): When prompting for connection parameters, also prompt for
8010         username and password.
8011         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
8012         value to server when connecting.
8014 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8016         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
8017         (smie-merge-prec2s): Pass the tables as separate args.
8018         (smie-bnf-precedence-table): Adjust call accordingly.
8019         (smie-prec2-levels): Set levels at the end.
8021         Replace Lisp calls to delete-backward-char by delete-char.
8022         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
8023         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
8024         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
8025         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
8026         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
8027         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
8028         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
8029         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
8030         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
8031         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
8032         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
8033         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
8034         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
8035         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
8036         delete-backward-char by calls to delete-char.
8038 2010-05-25  Kenichi Handa  <handa@m17n.org>
8040         * language/hebrew.el (hebrew-shape-gstring): New function.
8041         Register it in composition-function-table for all Hebrew combining
8042         characters.
8044 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8046         * epa.el (epa--select-keys): Don't explicitly delete the window since
8047         that can fail (e.g. sole window in frame).  Use dedication instead.
8049 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
8051         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
8053 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
8055         * image.el (image-refresh): Define as an alias for image-flush.
8057         * image-mode.el (image-toggle-display-image): Caller changed.
8059 2010-05-21  Juri Linkov  <juri@jurta.org>
8061         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
8062         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
8063         whitespace, call wildcard-to-regexp on substrings and concat them
8064         with "\\|".  (Bug#6114)
8066 2010-05-21  Alan Mackenzie  <acm@muc.de>
8068         * progmodes/cc-engine.el (c-parse-state-get-strategy):
8069         Replace parameter `here' with `here-' and `here-plus', which sandwich
8070         any pertinent CPP construct.
8071         (c-remove-stale-state-cache-backwards): Fix a bug which happens
8072         when doing (c-parse-state) in a CPP construct: Exclude any "new"
8073         CPP construct from taking part in the scanning.
8075 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
8077         * net/tramp.el (tramp-do-copy-or-rename-file)
8078         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
8079         Tune `with-progress-reporter' messages.
8080         (tramp-handle-vc-registered):
8081         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
8082         (tramp-fish-handle-insert-file-contents)
8083         (tramp-fish-maybe-open-connection):
8084         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8085         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
8086         (tramp-imap-handle-insert-file-contents)
8087         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
8089 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
8091         * add-log.el (change-log-font-lock-keywords):
8092         Highlight all authors in multi-author entries.
8094         * smerge-mode.el (smerge-refine-ignore-whitespace)
8095         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
8096         Fix typos in docstrings.
8097         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
8099 2010-05-21  Glenn Morris  <rgm@gnu.org>
8101         * progmodes/fortran.el (fortran-mode):
8102         * progmodes/f90.el (f90-mode): Derive from prog-mode.
8104         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
8105         having a relative path in src/Makefile.in.
8107 2010-05-20  Kevin Ryde  <user42@zip.com.au>
8109         * help-mode.el (help-make-xrefs): For Info node links turn
8110         newlines into spaces.  Link node names with newlines are matched
8111         by help-xref-info-regexp and buttonized, this change ensures they
8112         can be followed successfully with RET.  (Bug#6206)
8114 2010-05-20  Juri Linkov  <juri@jurta.org>
8116         * locate.el (locate): Use pop-to-buffer instead of
8117         switch-to-buffer-other-window.  (Bug#6204)
8119 2010-05-20  Juri Linkov  <juri@jurta.org>
8121         * replace.el (replace-highlight): Fix lazy-highlighting
8122         for `M-s w str M-% str RET'.
8124 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
8126         * isearch.el (isearch-yank-word-or-char): Pull next subword
8127         when `subword-mode' is activated.  (Bug#6220)
8129 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
8131         * isearch.el (isearch-update-post-hook): New hook.
8132         (isearch-update): Use the new hook.  (Bug#6225)
8134 2010-05-20  Juri Linkov  <juri@jurta.org>
8136         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
8137         [f1], [help], and (char-to-string help-char) instead of "\C-h".
8138         (Bug#6222)
8140 2010-05-20  Juri Linkov  <juri@jurta.org>
8142         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
8143         (Bug#6223)
8145 2010-05-20  Juri Linkov  <juri@jurta.org>
8147         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
8148         FILE-NAME to read from the minibuffer when called interactively
8149         with prefix argument instead of using buffer-file-name.
8150         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
8152         * dired.el: Update autoloads.
8154 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
8156         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
8157         nxml-finish-element, for consistency with SGML mode.
8159         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
8160         octave-close-block.
8162 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
8164         * composite.el: Require cl when compiling.
8165         (reference-point-alist, compose-gstring-for-graphic)
8166         (compose-gstring-for-terminal): Fix typos in docstrings.
8168 2010-05-19  Juri Linkov  <juri@jurta.org>
8170         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
8171         set-window-parameter.
8173 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8175         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
8176         where appropriate.
8177         (tramp-maybe-open-connection): Use it.
8179 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
8181         * simple.el (move-end-of-line): Make sure we are at line beginning
8182         before backing up to end of previous line.
8184 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
8186         * password-cache.el (password-cache-remove): Fix docstring.
8188         * net/secrets.el: Autoload the widget functions.
8189         (secrets-search-items, secrets-create-item)
8190         (secrets-get-attributes, secrets-expand-item): Attributes will be
8191         stored on the password database without leading ":", as all other
8192         clients do as well.
8193         (secrets-mode): Fix docstring.
8194         (secrets-show-secrets): Provide it as autoloaded command only when
8195         D-Bus support is available.  Check existence of Secret Service API.
8197 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8199         * indent.el (indent-region): Deactivate region (bug#6200).
8201 2010-05-19  Glenn Morris  <rgm@gnu.org>
8203         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
8205 2010-05-19  Kenichi Handa  <handa@m17n.org>
8207         * composite.el: Register compose-gstring-for-graphic in
8208         composition-function-table only for combining characters (Mn, Mc, Me).
8210 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
8212         * calc/calc-trail.el (calc-trail-isearch-forward)
8213         (calc-trail-isearch-backward): Ensure that the new window
8214         point is set correctly.
8216 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8218         * subr.el (read-quoted-char): Resolve modifiers after key
8219         remapping (bug#6212).
8221 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
8223         Add visualization code for secrets.
8224         * net/secrets.el (secrets-mode): New major mode.
8225         (secrets-show-secrets, secrets-show-collections)
8226         (secrets-expand-collection, secrets-expand-item)
8227         (secrets-tree-widget-after-toggle-function)
8228         (secrets-tree-widget-show-password): New defuns.
8230 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8232         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
8233         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
8234         handled in smie-next-sexp.
8235         (smie-indent-calculate): Provide a starting indentation (so the
8236         recursion is well-founded ;-).
8238         Fix handling of non-associative equal levels.
8239         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
8240         when it's not needed.
8241         (smie-op-left, smie-op-right): New functions.
8242         (smie-next-sexp): New function, extracted from smie-backward-sexp.
8243         Better handle equal levels to distinguish the associative case from
8244         the "multi-keyword construct" case.
8245         (smie-backward-sexp, smie-forward-sexp): Use it.
8247 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
8249         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
8251         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
8252         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
8254 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8256         Provide a simple generic indentation engine and use it for Prolog.
8257         * emacs-lisp/smie.el: New file.
8258         * progmodes/prolog.el (prolog-smie-op-levels)
8259         (prolog-smie-indent-rules): New var.
8260         (prolog-mode-variables): Use them to configure SMIE.
8261         (prolog-indent-line, prolog-indent-level): Remove.
8263 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
8265         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
8266         order before computing the averages.
8268 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
8270         * calc/calc-vec.el (calc-histogram):
8271         (calcFunc-histogram): Allow vectors as inputs.
8272         (math-vector-avg): New function.
8274         * calc/calc-ext.el (math-group-float): Have the number of digits
8275         being grouped depend on the radix (Bug#6189).
8277 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
8279         * version.el (emacs-copyright, emacs-version): Don't define here,
8280         now that emacs.c defines it.
8282 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
8284         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
8285         "Describe Language Environment" menu item.
8287         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
8289         Bidi-sensitive movement with arrow keys.
8290         * subr.el (right-arrow-command, left-arrow-command): New functions.
8292         * bindings.el (global-map): Bind them to right and left arrow keys.
8294         Don't override standard definition of convert-standard-filename.
8295         * files.el (convert-standard-filename):
8296         Call w32-convert-standard-filename and dos-convert-standard-filename on
8297         the corresponding systems.
8299         * w32-fns.el (w32-convert-standard-filename): Rename from
8300         convert-standard-filename.  Doc fix.
8302         * dos-fns.el (dos-convert-standard-filename): Doc fix.
8303         (convert-standard-filename): Don't defalias.
8304         (register-name-alist, make-register, register-value)
8305         (set-register-value, intdos): Obsolete aliases for the
8306         corresponding dos-* functions and variables.
8307         (dos-intdos): Add a doc string.
8309 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
8311         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
8312         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
8313         (math-compose-tex-func):
8314         * calc/calccomp.el (math-compose-expr):
8315         * calc/calc-ext.el (math-format-flat-expr-fancy):
8316         * calc/calc-store.el (calc-read-var-name):
8317         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
8319         * calc/calc.el (var-π, var-φ, var-γ): New variables.
8320         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
8321         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
8322         (math-standard-units): Add units.
8324 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8326         * progmodes/asm-mode.el (asm-mode):
8327         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
8329         * pcomplete.el (pcomplete-completions-at-point): New function,
8330         extracted from pcomplete-std-complete.
8331         (pcomplete-std-complete): Use it.
8333 2010-05-15  Glenn Morris  <rgm@gnu.org>
8335         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8336         Remove references to CVS, RCS and Old directories.
8338 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
8340         * calc/calc-bin.el (math-format-twos-complement): Group digits when
8341         appropriate.
8343 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8345         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
8346         (sh-mode-syntax-table): Give it a default value instead.
8347         (sh-header-marker): Make buffer-local.
8348         (sh-mode): Move make-local-variable to the corresponding setq.
8349         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
8350         Use complete-with-action.
8352         * simple.el (prog-mode): New (abstract) major mode.
8353         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
8354         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
8356 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
8358         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
8359         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
8360         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
8361         (sql-make-alternate-buffer-name, sql-placeholders-filter)
8362         (sql-escape-newlines-filter, sql-input-sender)
8363         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
8365 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
8367         Add TeX open-block and close-block keybindings to SGML, and vice versa.
8369         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
8370         latex-open-block and C-c / to latex-close-block.
8372         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
8373         and C-c C-e to sgml-close-tag.
8375 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
8377         * net/tramp.el (with-progress-reporter): Create reporter object
8378         only when the message would be displayed.  Handle nested calls.
8379         (tramp-handle-load, tramp-handle-file-local-copy)
8380         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8381         (tramp-maybe-send-script, tramp-find-shell):
8382         Use `with-progress-reporter'.
8383         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
8384         Fix message text.
8386         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8387         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8388         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
8389         Use `with-progress-reporter'.
8391 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
8393         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
8394         process everytime when spellchecking from the minibuffer (bug#6143).
8396 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8398         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
8400         * dos-fns.el: Add "dos-" prefix for namespace control.
8401         (convert-standard-filename): Define as alias for
8402         dos-convert-standard-filename but only if applicable.
8404 2010-05-12  Alan Mackenzie  <acm@muc.de>
8406         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
8407         Push the mark at the start of these functions when appropriate.
8409 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8411         * minibuffer.el (completion-cycle-threshold): New custom var.
8412         (completion--do-completion): Use it.
8413         (minibuffer-complete): Use cycling if appropriate.
8415 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
8417         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
8418         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
8420 2010-05-11  Juri Linkov  <juri@jurta.org>
8422         * scroll-all.el (scroll-all-check-to-scroll):
8423         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
8425 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8427         * iimage.el (iimage-mode-map): Move initialization into declaration.
8428         (iimage-mode-buffer): Use with-silent-modifications.
8429         Simplify calling convention.  Adjust callers.
8430         (iimage-mode): Don't run hook redundantly.
8432         * minibuffer.el (completion-pcm--pattern->regex):
8433         Fix last change (bug#6160).
8435 2010-05-10  Juri Linkov  <juri@jurta.org>
8437         Remove nodes visited during Isearch from the Info history.
8438         * info.el (Info-isearch-initial-history)
8439         (Info-isearch-initial-history-list): New variables.
8440         (Info-isearch-start): Record initial values of
8441         Info-isearch-initial-history and Info-isearch-initial-history-list.
8442         Add Info-isearch-end to isearch-mode-end-hook.
8443         (Info-isearch-end): New function.
8445 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
8447         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
8448         format string, in order to work around a bug in pdksh.
8449         Reported by Gilles Pion <gpion@lfdj.com>.
8450         (tramp-handle-verify-visited-file-modtime): Do not send a command
8451         when the connection is not established.
8452         (tramp-handle-set-file-times): Simplify the check for utc.
8454 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
8456         Fix use of `filter-buffer-substring' (rework previous change).
8457         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
8458         (cua-repeat-replace-region):
8459         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
8460         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8461         (cua-cut-region-to-global-mark): Use it.
8463 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
8465         * progmodes/sql.el: Version 2.1.
8466         (sql-product-alist): Redesign structure of product info.
8467         (sql-product, sql-user, sql-server, sql-database): Safe variables.
8468         (sql-port, sql-port-history): New variables.
8469         (sql-interactive-product): New variable.
8470         (sql-send-terminator): New variable.
8471         (sql-imenu-generic-expression): Add "Types" imenu entry.
8472         (sql-oracle-login-params, sql-sqlite-login-params)
8473         (sql-mysql-login-params, sql-solid-login-params)
8474         (sql-sybase-login-params, sql-informix-login-params)
8475         (sql-ingres-login-params, sql-ms-login-params)
8476         (sql-postgres-login-params, sql-interbase-login-params)
8477         (sql-db2-login-params, sql-linter-login-params)
8478         (sql-oracle-scan-on): New variables.
8479         (sql-mode-map): Add C-c C-i to start interactive mode.
8480         (sql-mode-menu): Update existing menu entries.
8481         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
8482         (sql-mode-oracle-font-lock-keywords)
8483         (sql-mode-postgres-font-lock-keywords)
8484         (sql-mode-ms-font-lock-keywords)
8485         (sql-mode-sybase-font-lock-keywords)
8486         (sql-mode-informix-font-lock-keywords)
8487         (sql-mode-interbase-font-lock-keywords)
8488         (sql-mode-ingres-font-lock-keywords)
8489         (sql-mode-solid-font-lock-keywords)
8490         (sql-mode-mysql-font-lock-keywords)
8491         (sql-mode-sqlite-font-lock-keywords)
8492         (sql-mode-db2-font-lock-keywords)
8493         (sql-mode-linter-font-lock-keywords): Update initialization to
8494         reduce run-time complexity.
8495         (sql-add-product, sql-del-product): New functions.
8496         (sql-set-product-feature, sql-get-product-feature): New functions.
8497         (sql-product-font-lock): Update product API.
8498         (sql-add-product-keywords): New function.
8499         (sql-highlight-product): Update product API.
8500         (sql-help-list-products): New function.
8501         (sql-help): Dynamically lists free and non-free products.
8502         (sql-get-login): Correct bug in handling history and added
8503         prompt for port.
8504         (sql-copy-column): Copy without properties.
8505         (sqli-input-sender): Apply filters to SQLi input.
8506         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
8507         Implement as a filter.
8508         (sql-escape-newlines-filter): Implement as a filter.
8509         (sql-remove-tabs-filter): New function.
8510         (sql-send-magic-terminator): New function.
8511         (sql-send-string): Implement magic terminator.
8512         (sql-send-region): Use `sql-send-string'.
8513         (sql-interactive-mode): Use product API.
8514         (sql-product-interactive): Use product API.
8515         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
8516         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
8517         (sql-db2, sql-linter): Use `sql-product-interactive'.
8518         (sql-connect): New function.
8519         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
8520         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
8521         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
8522         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
8523         Use `sql-connect'.
8525 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8527         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
8528         New custom variable.
8529         (completion-pcm--string->pattern): Use it.
8530         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
8531         Make it handle any symbol as `any'.
8532         (completion-pcm--merge-completions): Extract common suffix for the new
8533         `prefix' symbol as well.
8534         (completion-substring--all-completions): Use the new `prefix' symbol.
8536 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
8538         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
8539         not bound.
8540         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
8541         (tramp-compat-funcall): New defmacro.
8542         (tramp-compat-line-beginning-position)
8543         (tramp-compat-line-end-position)
8544         (tramp-compat-temporary-file-directory)
8545         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
8546         (tramp-compat-copy-file, tramp-compat-copy-directory)
8547         (tramp-compat-delete-file, tramp-compat-delete-directory)
8548         (tramp-compat-number-sequence, tramp-compat-process-running-p)
8549         * net/tramp.el (top, with-progress-reporter)
8550         (tramp-rfn-eshadow-setup-minibuffer)
8551         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
8552         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
8553         (tramp-completion-mode-p, tramp-check-for-regexp)
8554         (tramp-open-connection-setup-interactive-shell)
8555         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
8556         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
8557         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
8558         * net/tramp-cmds.el (tramp-cleanup-all-connections)
8559         (tramp-reporter-dump-variable, tramp-load-report-modules)
8560         (tramp-append-tramp-buffers)
8561         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
8563         * net/tramp-imap.el (top): Autoload `epg-make-context'.
8565 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8567         * progmodes/compile.el (compilation-buffer-modtime): Rename from
8568         buffer-modtime.  Adjust users.
8570 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8572         * international/mule.el (auto-coding-alist): Only purecopy
8573         car of each item, not the whole list (Bug#6083).
8575 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8577         * progmodes/js.el (js-mode): Make paragraph variables local before
8578         calling c-setup-paragraph-variables (Bug#6071).
8580 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
8582         * composite.el (compose-region, reference-point-alist): Fix typos
8583         in the doc strings.
8585 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
8587         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
8588         gnuplot's "set" command.
8590 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8592         * abbrev.el (last-abbrev-text): Doc fix.
8593         (abbrev-prefix-mark): Don't escape parenthesis.
8595 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
8597         * composite.el (find-composition): Doc fix.
8599 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8601         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
8602         (sql-oracle-program, sql-sqlite-options)
8603         (sql-query-placeholders-and-send): Doc fixes.
8604         (sql-set-product, sql-interactive-mode): Reflow docstrings.
8605         (sql-imenu-generic-expression, sql-buffer)
8606         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
8607         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
8608         (sql-mode-sybase-font-lock-keywords)
8609         (sql-mode-informix-font-lock-keywords)
8610         (sql-mode-interbase-font-lock-keywords)
8611         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
8612         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
8613         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
8614         (sql-product-feature, sql-highlight-product)
8615         (comint-line-beginning-position, sql-rename-buffer)
8616         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
8617         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
8618         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
8619         Fix typos in docstrings.
8621 2010-05-08  Juri Linkov  <juri@jurta.org>
8623         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
8624         property instead of `invisible' and `after-string' (bug#5998).
8626 2010-05-08  Juri Linkov  <juri@jurta.org>
8628         * image-mode.el (image-mode-as-text): Fix typo in docstring.
8630 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
8632         * filecache.el (file-cache-add-directory-list)
8633         (file-cache-add-directory-recursively): Fix typos in docstrings.
8635 2010-05-08  Kenichi Handa  <handa@m17n.org>
8637         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
8638         (gujarati-composable-pattern): Fix typo.
8640 2010-05-08  Kenichi Handa  <handa@m17n.org>
8642         * language/indian.el (oriya-composable-pattern)
8643         (tamil-composable-pattern, malayalam-composable-pattern):
8644         Add two-part vowels to "v" (vowel sign).
8646 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
8648         * files.el (copy-directory): Handle symlinks (Bug#5982).
8650 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
8652         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
8653         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
8654         (Bug#5846).
8656 2010-05-08  Glenn Morris  <rgm@gnu.org>
8658         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
8660         * minibuffer.el (completion-at-point): Doc fix.
8662 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8664         * electric.el (Electric-command-loop): Minor tweak.
8666         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
8667         better with dedicated windows.
8669 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
8671         * Version 23.2 released.
8673 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
8674             Stefan Monnier  <monnier@iro.umontreal.ca>
8676         Highlight vendor specific properties.
8677         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
8678         (css-proprietary-property): New face.
8679         (css-font-lock-keywords): Use them.
8681 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
8683         * cus-start.el (all): Add native condition for tool-bar-* symbols.
8685 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8687         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
8688         * files.el (auto-mode-alist): Remove redundant entries.
8690         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
8691         * simple.el (auto-save-mode): Move from files.el.
8692         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
8694 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
8696         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
8698 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
8700         * mail/binhex.el (binhex-decode-region-internal)
8701         * mail/uudecode.el (uudecode-decode-region-internal)
8702         * net/dns.el (dns-read-string-name, dns-write, dns-read)
8703         (dns-read-type, dns-query)
8704         * pgg-parse.el (pgg-parse-armor)
8705         * pgg.el (pgg-verify-region)
8706         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
8707         XEmacs.
8709         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
8711 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
8713         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
8715         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
8716         * emulation/cua-base.el (cua-repeat-replace-region):
8717         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8718         (cua-cut-region-to-global-mark):
8719         Remove text properties with `set-text-properties'.
8721 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
8723         * net/tramp.el (top, with-progress-reporter):
8724         Use `symbol-function' inside `funcall'.
8726         * net/tramp-compat.el (tramp-compat-file-attributes)
8727         (tramp-compat-delete-file, tramp-compat-delete-directory):
8728         Handle only `wrong-number-of-arguments' error.
8730         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
8731         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
8732         inside `funcall'.
8734 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8736         * minibuffer.el (completion--sreverse, completion--common-suffix):
8737         New functions.
8738         (completion-pcm--merge-completions): Extract common suffix when safe.
8740         * emacs-lisp/easy-mmode.el (define-minor-mode):
8741         Make :variable more flexible.
8742         * files.el (auto-save-mode): Use it to define using define-minor-mode.
8744 2010-05-05  Juri Linkov  <juri@jurta.org>
8746         Add `slow' and `history' tags to the desktop data.
8748         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
8749         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
8750         (Info-finder-find-node): Require `finder.el' to be able
8751         to restore node from the desktop.
8752         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
8753         data `Info-history' and `slow' tag in the assoc list.
8754         (Info-restore-desktop-buffer): Don't restore nodes with the
8755         `slow' tag.  Restore `Info-history'.
8757 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
8759         Add FORCE argument to `delete-file'.
8761         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
8762         forcing to delete the temporary file.
8763         (ange-ftp-delete-file): Add FORCE arg.
8764         (ange-ftp-rename-remote-to-remote)
8765         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
8766         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
8767         Force file deletion.
8769         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
8771         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
8772         (tramp-handle-make-symbolic-link, tramp-handle-load)
8773         (tramp-do-copy-or-rename-file-via-buffer)
8774         (tramp-do-copy-or-rename-file-directly)
8775         (tramp-do-copy-or-rename-file-out-of-band)
8776         (tramp-handle-process-file, tramp-handle-call-process-region)
8777         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8778         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8779         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
8781         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
8782         (tramp-fish-handle-make-symbolic-link)
8783         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
8785         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8786         Use `tramp-compat-delete-file'.
8788         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
8789         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
8791         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
8792         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
8794         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
8795         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
8796         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8797         Use `tramp-compat-delete-file'.
8799 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8801         Minor cleanups.
8802         * subr.el (add-minor-mode): Use push.
8803         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
8804         * emulation/edt.el (edt-select-mode): Simplify.
8806         Use define-minor-mode in more cases.
8807         * term/tvi970.el (tvi970-set-keypad-mode):
8808         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8809         (normal-erase-is-backspace-mode):
8810         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8811         (set-scroll-bar-mode-1): (Re)move to its sole caller.
8812         (get-scroll-bar-mode): New function.
8813         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8815         Use define-minor-mode for less obvious cases.
8816         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8817         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8818         * international/iso-ascii.el (iso-ascii-mode):
8819         * frame.el (auto-raise-mode, auto-lower-mode):
8820         * composite.el (global-auto-composition-mode): Use define-minor-mode.
8822 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
8824         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8825         in order to see error messages for failed logins.
8827 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
8829         * diff.el (diff-sentinel):
8831         * epg.el (epg--make-temp-file, epg-decrypt-string)
8832         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8834         * jka-compr.el (jka-compr-partial-uncompress)
8835         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8837         * server.el (server-sentinel): Use delete-file's new FORCE arg
8838         (Bug#6070).
8840 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8842         Use define-minor-mode where applicable.
8843         * view.el (view-mode):
8844         * type-break.el (type-break-query-mode)
8845         (type-break-mode-line-message-mode):
8846         * textmodes/reftex.el (reftex-mode):
8847         * term/vt100.el (vt100-wide-mode):
8848         * tar-mode.el (tar-subfile-mode):
8849         * savehist.el (savehist-mode):
8850         * ibuf-ext.el (ibuffer-auto-mode):
8851         * composite.el (auto-composition-mode):
8852         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8853         Use define-minor-mode.
8854         (vhdl-mode): Use static mode-line format.
8855         (vhdl-mode-line-update): Delete.
8856         (vhdl-create-mode-menu, vhdl-activate-customizations)
8857         (vhdl-hs-minor-mode): Don't bother calling it.
8859 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8861         * simple.el (with-wrapper-hook): Move.
8862         (buffer-substring-filters): Mark obsolete.
8863         (filter-buffer-substring-functions): New variable.
8864         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
8866 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
8867             Michael Albinus  <michael.albinus@gmx.de>
8869         Implement compression for inline methods.
8871         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8872         (tramp-copy-size-limit): Allow also nil.
8873         (tramp-inline-compress-commands): New defconst.
8874         (tramp-find-inline-compress, tramp-get-inline-compress)
8875         (tramp-get-inline-coding): New defuns.
8876         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8877         replaced by `tramp-get-inline-coding'.
8878         (tramp-handle-file-local-copy, tramp-handle-write-region)
8879         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8881 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8883         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8884         Remove unused functions.
8886         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8887         Set find-tag-default-function as a variable rather than a property.
8889         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8890         * progmodes/etags.el (tags-completion-at-point-function):
8891         Remove left over interactive spec.  Add autoloading stub.
8892         (complete-tag): Use tags-completion-at-point-function.
8894 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
8896         * minibuffer.el (tags-completion-at-point-function): Fix return value.
8898 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8900         * ido.el (ido-init-completion-maps): Remove C-v binding.
8901         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8903 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8905         * minibuffer.el (tags-completion-at-point-function): New function.
8906         (completion-at-point-functions): Use it.
8908         * progmodes/etags.el (complete-tag): Revert last change.
8910 2010-04-29  Alan Mackenzie  <acm@muc.de>
8912         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8913         off-by-one error (in end of macro position).
8915 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8917         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8918         firefox is absent.  Don't autoload.
8919         (browse-url-galeon-program): Don't autoload.
8921 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8923         * bindings.el (complete-symbol): Move into minibuffer.el.
8925         * minibuffer.el (complete-tag): Move from etags.el.  If tags
8926         completion cannot be performed, return nil instead of signalling
8927         an error.
8928         (completion-at-point): Make it an alias for complete-symbol.
8929         (complete-symbol): Move from bindings.el, and replace with the
8930         body of completion-at-point.
8932         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8934 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
8936         * net/tramp.el (tramp-remote-selinux-p): New defun.
8937         (tramp-handle-file-selinux-context)
8938         (tramp-handle-set-file-selinux-context): Use it.
8940 2010-04-28  Sam Steingold  <sds@gnu.org>
8942         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8943         `safe-local-variable' if the value is a string or a symbol with
8944         the property `bug-reference-url-format'.
8946 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8948         * progmodes/bug-reference.el (bug-reference-url-format):
8949         Revert 2010-04-27 change due to security risk.
8951 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8953         Make it possible to locally disable a globally enabled mode.
8954         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8955         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8956         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8957         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8958         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8959         that subsequent hooks get a chance to disable it.
8961 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8963         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8964         Avoid re-enabling a minor mode after the user turned the minor mode
8965         off if MODE-enable-in-buffers is run twice (typically once from
8966         fundamental-mode's after-change-major-mode-hook and a second time from
8967         run-mode-hook's own after-change-major-mode-hook).
8969         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8971 2010-04-27  Sam Steingold  <sds@gnu.org>
8973         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8974         `safe-local-variable' if the value is a string or a function, as
8975         documented and implemented on 2010-04-02.
8977 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8979         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8980         when method is 'kill.
8982 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8984         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8985         condition in default directory check.
8986         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8987         Kill ispell process when killing its associated buffer.
8989 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8991         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8992         but we aren't using it.
8994 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8996         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8997         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8999 2010-04-24  Glenn Morris  <rgm@gnu.org>
9001         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
9002         Ignore VCS-ignore files, and deleted nextstep preferences files.
9003         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
9004         (authors-ambiguous-files): New list.
9005         (authors-valid-file-names): Add some deleted files.
9006         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
9007         (authors-disambiguate-file-name): New function.  (Bug#5501)
9008         (authors-canonical-file-name): Doc fix.
9009         Don't warn about obsolete files.
9010         (authors-canonical-file-name, authors-scan-el):
9011         Use authors-disambiguate-file-name.
9013         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9014         Add autoload cookies.
9015         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
9016         (generated-autoload-file): Set file-local value to "htmlfontify.el".
9017         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
9018         They have definitions / compiler macros in cl.el.
9019         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
9020         Replace manual autoloads with generated ones.
9021         (htmlfontify-unload-rgb-file): Remove autoload.
9022         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
9024 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9026         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
9027         (byte-compile-setq-default): Optimize for the
9028         single-var case and don't call byte-compile-form in this case to avoid
9029         inf-loop with byte-compile-set-default.
9031         * progmodes/compile.el (compilation-start): Abbreviate default directory.
9033 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
9035         Implement SELINUX backends.
9037         * net/tramp.el (tramp-file-name-handler-alist):
9038         Add `file-selinux-context' and `set-file-selinux-context'.
9039         (tramp-handle-file-selinux-context)
9040         (tramp-handle-set-file-selinux-context): New defuns.
9041         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
9042         Handle PRESERVE-SELINUX-CONTEXT.
9044         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9045         Add `file-selinux-context' and `set-file-selinux-context'.
9046         (tramp-gvfs-handle-file-selinux-context)
9047         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
9048         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
9050         * net/ange-ftp.el (ange-ftp-copy-file):
9051         * net/tramp-fish.el (tramp-fish-handle-copy-file):
9052         * net/tramp-imap.el (tramp-imap-handle-copy-file):
9053         * net/tramp-smb.el (tramp-smb-handle-copy-file):
9054         Add PRESERVE-SELINUX-CONTEXT.
9056 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9058         Synchronize with Tramp repository.
9060         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
9061         (tramp-action-process-alive, tramp-action-out-of-band)
9062         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
9063         (tramp-exists-file-name-handler): Fix docstring.
9064         (with-progress-reporter): New defmacro.
9065         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
9066         (tramp-maybe-open-connection): Use it.
9068 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
9070         Detect ssh 'ControlMaster' argument automatically in some cases.
9072         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
9073         (tramp-default-method): Use it.
9075 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9077         * net/tramp.el (tramp-handle-copy-file): Add new optional
9078         parameter `preserve-selinux-context'.
9079         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
9081 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
9083         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
9084         Ensure, that non remote files are still checked.  Oops.
9086 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
9088         Fix Bug#5840.
9090         * icomplete.el (icomplete-completions): Use `non-essential'.
9092         * net/tramp.el (tramp-connectable-p): New defun.
9093         (tramp-handle-expand-file-name)
9094         (tramp-completion-handle-file-name-all-completions)
9095         (tramp-completion-handle-file-name-completion): Use it.
9097 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9099         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
9101 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
9103         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
9105         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
9107         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
9108         is present.
9110         * info.el (info-tool-bar-map): Add labels.
9112         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
9114         * cus-edit.el (custom-commands): Add labels for tool bar.
9115         (custom-buffer-create-internal, Custom-mode): Adjust for
9116         labels in custom-commands.
9118         * dynamic-setting.el: Renamed from font-setting.el.
9120 2010-04-21  John Wiegley  <jwiegley@gmail.com>
9122         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
9123         toggles the use of virtual buffers.
9124         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
9125         (ido-toggle-virtual-buffers): New function.
9127 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
9129         Use `define-derived-mode'; fix window selection; doc fixes.
9130         * play/tetris.el (tetris, tetris-update-speed-function)
9131         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
9132         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
9133         (tetris-rotate-next, tetris-end-game, tetris-start-game)
9134         (tetris-pause-game): Fix typos in docstrings.
9135         (tetris-mode-map, tetris-null-map):
9136         Move initialization into declaration.
9137         (tetris-mode): Define with `define-derived-mode';
9138         set show-trailing-whitespace to nil.
9139         (tetris): Prefer window already displaying the "*Tetris*" buffer.
9141 2010-04-21  Karel Klíč  <kklic@redhat.com>
9143         * files.el (backup-buffer): Handle SELinux context, and return it
9144         if a backup was made by renaming.
9145         (backup-buffer-copy): Set SELinux context to the target file.
9146         (basic-save-buffer): Set SELinux context of the newly written file.
9147         (basic-save-buffer-1): Now it also returns any SELinux context.
9148         (basic-save-buffer-2): Set SELinux context of the newly created file,
9149         and return it.
9150         * net/tramp.el (tramp-file-name-for-operation):
9151         Add file-selinux-context.
9153 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9155         Make the log-edit comments use RFC822 format throughout.
9157         * vc.el (vc-checkin, vc-modify-change-comment):
9158         Adjust to new vc-start/finish-logentry.
9159         (vc-find-conflicted-file): New command.
9160         (vc-transfer-file): Adjust to new vc-checkin.
9161         (vc-next-action): Improve scoping.
9163         * vc-hg.el (vc-hg-log-edit-mode): Remove.
9164         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
9166         * vc-git.el (vc-git-log-edit-mode): Remove.
9167         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
9168         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
9170         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
9171         (vc-start-logentry): Remove argument `extra'.
9172         (vc-finish-logentry): Remove extra args.
9174         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
9175         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
9176         (vc-bzr-conflicted-files): New function.
9178         * log-edit.el (log-edit-extra-flags)
9179         (log-edit-before-checkin-process): Remove.
9180         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
9181         (log-edit-headers-alist): New var.
9182         (log-edit-header-contents-regexp): New const.
9183         (log-edit-match-to-eoh): New function.
9184         (log-edit-font-lock-keywords): Use them.
9185         (log-edit): Insert a "Summary:" header as default.
9186         (log-edit-mode): Mark font-lock rules as case-insensitive.
9187         (log-edit-done): Cleanup headers.
9188         (log-view-process-buffer): Remove.
9189         (log-edit-extract-headers): New function to replace it.
9191 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
9193         * subr.el (default-direction-reversed): Remove obsolescence info.
9195 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9197         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
9198         windows/frames.
9200         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
9201         I.e. include text after point in the completion region.
9202         Also, return nil when we're not after/in a symbol.
9204         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
9205         default enable-multibyte-characters.
9207 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9209         * international/mule.el: Help the user choose a valid coding-system.
9210         (read-buffer-file-coding-system): New function.
9211         (set-buffer-file-coding-system): Use it.  Prompt the user if the
9212         coding-system cannot encode all the chars.
9214         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
9215         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
9216         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
9217         Don't use *vc-bzr-shelve*.
9219 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
9221         Fix the version number for added files.
9222         * vc-hg.el (vc-hg-working-revision): Check if the file is
9223         registered after hg parent fails (Bug#5961).
9225 2010-04-19  Glenn Morris  <rgm@gnu.org>
9227         * htmlfontify.el (htmlfontify-buffer)
9228         (htmlfontify-copy-and-link-dir): Autoload entry points.
9230 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
9232         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
9233         name relative to the project root (Bug#5960).
9235 2010-04-19  Glenn Morris  <rgm@gnu.org>
9237         * vc-git.el (vc-git-print-log): Doc fix.
9239 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
9241         * ido.el (ido-file-internal): Fix 2009-12-02 change.
9243 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
9245         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
9246         default settings (Bug#5928).
9248 2010-04-19  Glenn Morris  <rgm@gnu.org>
9250         * progmodes/fortran.el (fortran-match-and-skip-declaration):
9251         New function.
9252         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
9254 2010-04-19  Kenichi Handa  <handa@m17n.org>
9256         * language/indian.el (malayalam-composable-pattern): Fix previous
9257         change (add U+0D4D "SIGN VIRAMA").
9258         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
9259         (tamil-composable-pattern): Fix typo in the regexp.
9260         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
9261         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
9262         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
9264 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9266         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
9267         paragraph-separate (Bug#5821).
9269 2010-04-19  Juri Linkov  <juri@jurta.org>
9271         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
9273         * info.el (Info-find-node-2): Comment out code that skips
9274         breadcrumbs line.
9275         (Info-mouse-follow-link): New command.
9276         (Info-link-keymap): New keymap.
9277         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
9278         Return a string with links instead of inserting breadcrumbs
9279         to the Info buffer.
9280         (Info-fontify-node): Comment out code that inserts breadcrumbs.
9281         Instead of putting the `invisible' text property over the Info
9282         header, make an overlay over the Info header with the `invisible'
9283         property and `after-string' set to the string returned by
9284         `Info-breadcrumbs'.
9286 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
9288         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
9289         Reported by monkey@sandpframing.com.
9291 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9293         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
9294         (tmm-get-keymap): Add key-binding shortcuts now that they're not
9295         available in the "keyseq cache" any more.
9297         * custom.el (defcustom): Add edebug spec.
9299 2010-04-18  Juri Linkov  <juri@jurta.org>
9301         Test for special mode-class in view-buffer instead of view-file (bug#5513).
9303         * view.el (view-file, view-buffer): Move test for special mode-class
9304         from view-file to view-buffer.
9306         * tar-mode.el (tar-extract): Turn if's into one cond
9307         like in arc-mode.el.
9309 2010-04-18  Juri Linkov  <juri@jurta.org>
9311         Add 7z archive format support (bug#5475).
9313         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
9314         (archive-7z-extract): New defcustom.
9315         (archive-find-type): Add magic string for 7z.
9316         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
9317         If `stderr-file' is non-nil, use `(t stderr-file)' for the
9318         `buffer' arg of `call-process'.
9319         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
9320         call the function `archive-7z-extract' with the variable
9321         `archive-7z-extract' let-bound to `archive-zip-extract'.
9322         (archive-7z-summarize, archive-7z-extract): New functions.
9324         * international/mule.el (auto-coding-alist):
9325         * files.el (auto-mode-alist): Add 7z file extension.
9327 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9329         * loadup.el: Setup hash-cons for pure data.
9331         Fix duplicate entries in cedet's loaddefs.el files.
9332         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
9333         Should make most file-local generated-autoload-file unnecessary.
9334         (print-readably): Silence warnings.
9335         (autoload-find-destination): Take load-name as an arg to make sure
9336         it's the same as the one that will be in the file.
9337         (autoload-generate-file-autoloads): Adjust to above changes.
9338         Try to make the dataflow a bit simpler.
9340         * cvs-status.el (cvs-refontify): Remove unused.
9342 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
9344         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
9346         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
9347         twos-complement mode.
9349 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
9351         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
9352         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
9353         (calc-inverse): Add "Option" to message, as appropriate.
9354         (calc-hyperbolic): Add "Option" to message, as appropriate.
9355         (calc-option, calc-is-option): New functions.
9357         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
9358         (calc-option-prefix-help): New function.
9360         * calc/calc-misc.el (calc-help): Add "Option" entry.
9362         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
9363         (calc-option-flag): New variable.
9364         (calc-do): Set `calc-option-flag to nil.
9365         (calc-set-mode-line): Add "Opt " as appropriate.
9367 2010-04-16  Juri Linkov  <juri@jurta.org>
9369         Move scrolling commands from simple.el to window.el
9370         because their primitives are implemented in window.c.
9372         * simple.el (scroll-error-top-bottom)
9373         (scroll-up-command, scroll-down-command, scroll-up-line)
9374         (scroll-down-line, scroll-other-window-down)
9375         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9376         * window.el (scroll-error-top-bottom)
9377         (scroll-up-command, scroll-down-command, scroll-up-line)
9378         (scroll-down-line, scroll-other-window-down)
9379         (beginning-of-buffer-other-window, end-of-buffer-other-window):
9380         Move from simple.el to window.el because their primitives are
9381         implemented in window.c.
9383 2010-04-16  Juri Linkov  <juri@jurta.org>
9385         * isearch.el (isearch-lookup-scroll-key): Check both
9386         `isearch-scroll' and `scroll-command' properties.
9387         (scroll-up, scroll-down): Remove `isearch-scroll' property.
9389         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
9391         * simple.el (scroll-up-command, scroll-down-command)
9392         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
9394 2010-04-15  Juri Linkov  <juri@jurta.org>
9396         * simple.el (scroll-up-command, scroll-down-command)
9397         (scroll-up-line, scroll-down-line): Put `scroll-command'
9398         property on the these symbols.  Remove them from
9399         `scroll-preserve-screen-position-commands'.
9401         * mwheel.el (mwheel-scroll): Put `scroll-command' and
9402         `isearch-scroll' properties on the `mwheel-scroll' symbol.
9403         Remove it from `scroll-preserve-screen-position-commands'.
9405         * isearch.el (isearch-allow-scroll): Doc fix.
9407 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
9409         * net/tramp.el (tramp-error-with-buffer): Don't show the
9410         connection buffer when we are in completion mode.
9411         (tramp-file-name-handler): Catch the error for some operations
9412         when we are in completion mode.  This gives the user the chance to
9413         correct the file name in the minibuffer.
9415 2010-04-15  Glenn Morris  <rgm@gnu.org>
9417         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
9419 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
9421         Simplify by using `define-derived-mode'.
9422         * info.el (Info-mode):
9423         * calendar/todo-mode.el (todo-mode):
9424         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
9425         (gomoku-mode-map): Move initialization into declaration.
9427 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
9429         Fix Bug#5840.
9430         * ido.el (ido-file-name-all-completions-1):
9431         * minibuffer.el (minibuffer-completion-help):
9432         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
9434 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9436         * simple.el (non-essential): New var.
9438         Add a new field `location' to bookmarks for non-file bookmarks.
9439         * bookmark.el (bookmark-location): Use the new field, if present.
9440         (bookmark-insert-location): Undo last change, not needed any more.
9441         * man.el (Man-bookmark-make-record):
9442         * woman.el (woman-bookmark-make-record): Add `location' field.
9444 2010-04-14  Juri Linkov  <juri@jurta.org>
9446         * simple.el (scroll-error-top-bottom): New defcustom.
9447         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
9449         * emulation/pc-select.el (pc-select-override-scroll-error):
9450         Obsolete in favor of `scroll-error-top-bottom'.
9452 2010-04-14  Juri Linkov  <juri@jurta.org>
9454         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
9455         `scroll-up-command' and `M-v' to `scroll-down-command'.
9457         * emulation/cua-rect.el (cua--init-rectangles):
9458         * forms.el (forms--change-commands):
9459         * image-mode.el (image-mode-map):
9460         Remap scroll-down-command and scroll-up-command
9461         in addition to scroll-down and scroll-up.
9463 2010-04-14  Juri Linkov  <juri@jurta.org>
9465         * mwheel.el (scroll-preserve-screen-position-commands):
9466         Add mwheel-scroll to this list of commands.
9468         * simple.el (scroll-preserve-screen-position-commands):
9469         Add scroll-up-command, scroll-down-command, scroll-up-line,
9470         scroll-down-line to this list of commands.
9472 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9474         * obsolete/complete.el: Move from lisp/complete.el.
9476         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
9478         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
9479         to the minor mode function now turns the mode ON unconditionally.
9481 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9483         * vc-dir.el (vc-dir-kill-line): New command.
9484         (vc-dir-mode-map): Bind it to C-k.
9486         * bookmark.el (bookmark-insert-location): Handle a nil filename.
9488         * woman.el: Add bookmark declarations to silence the compiler.
9489         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
9490         step to compatibility between man and woman bookmarks.
9491         Adjust for Man-default-bookmark-title renaming.
9492         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
9494         * man.el: Add bookmark declarations to silence the compiler.
9495         (Man-name-local-regexp): Make it match NAME as well.
9496         (Man-getpage-in-background): Return the buffer.
9497         (Man-notify-when-ready): Use `case'.
9498         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
9499         Don't hardcode "NAME".  Simplify.
9500         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
9501         Rename from Man-bookmark-make-record.
9502         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
9503         we have the actual man-args.  Use Man-getpage-in-background rather
9504         than `man' since the arg is already processed.  Let bookmark.el do the
9505         window handling.  Only wait for the relevant process.
9506         Don't forget to autoload.
9508         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
9510 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9512         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
9513         New functions.
9514         (woman-mode): Setup bookmark support.
9516         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
9517         (man-bookmark-jump): New functions.
9518         (Man-mode): Setup bookmark support.
9520 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
9522         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
9523         recognize ssh-keygen prompt (Bug#2817).
9525 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9527         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
9529 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
9531         Synchronize with Tramp repository.
9533         * net/tramp.el (tramp-completion-function-alist)
9534         (tramp-file-name-regexp, tramp-chunksize)
9535         (tramp-local-coding-commands, tramp-remote-coding-commands):
9536         Fix docstring.
9537         (tramp-remote-process-environment): Use `format' instead of `concat'.
9538         (tramp-handle-directory-files-and-attributes)
9539         (tramp-get-remote-path): Use `copy-tree'.
9540         (tramp-handle-file-name-all-completions): Backward/ XEmacs
9541         compatibility: Use `completion-ignore-case' if
9542         `read-file-name-completion-ignore-case' does not exist.
9543         (tramp-do-copy-or-rename-file-directly): Do not use
9544         `tramp-handle-file-remote-p'.
9545         (tramp-do-copy-or-rename-file-out-of-band):
9546         Use `tramp-compat-delete-directory'.
9547         (tramp-do-copy-or-rename-file-out-of-band)
9548         (tramp-compute-multi-hops, tramp-maybe-open-connection):
9549         Use `format-spec-make'.
9550         (tramp-find-foreign-file-name-handler)
9551         (tramp-advice-make-auto-save-file-name)
9552         (tramp-set-auto-save-file-modes): Remove superfluous check for
9553         `stringp'.  This is done inside `tramp-tramp-file-p'.
9554         (tramp-debug-outline-regexp): New defconst.
9555         (tramp-get-debug-buffer): Use it.
9556         (tramp-check-for-regexp): Use (forward-line 1).
9557         (tramp-set-auto-save-file-modes): Adapt version check.
9559         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
9560         Wrap call of `featurep' for 2nd argument.
9561         (tramp-compat-make-temp-file): Simplify fallback implementation.
9562         (tramp-compat-copy-tree): Remove function.
9563         (tramp-compat-delete-directory): Provide implementation for older
9564         Emacsen.
9566         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
9567         Do not use `tramp-fish-handle-file-attributes.
9569         * net/trampver.el: Update release number.
9571 2010-04-10  Glenn Morris  <rgm@gnu.org>
9573         * progmodes/compile.el (compilation-save-buffers-predicate):
9574         Add missing :version tag.
9576 2010-04-09  Sam Steingold  <sds@gnu.org>
9578         * progmodes/compile.el (compilation-save-buffers-predicate):
9579         Remove the "autoload" cookie.
9581         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
9582         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
9583         and `bug-reference-prog-mode' can be used in hooks directly.
9585 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
9587         Add --author support to git commit.
9588         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
9589         (vc-git-log-edit-mode): New minor mode.
9590         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
9591         New declarations.
9593 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
9595         * vc-hooks.el, vc-git.el: Improve documentation comments.
9597 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         Fix some of the problems in defsubst* (bug#5728).
9600         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
9601         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
9603 2010-04-07  Sam Steingold  <sds@gnu.org>
9605         * progmodes/compile.el (compilation-save-buffers-predicate):
9606         New custom variable.
9607         (compile, recompile): Pass it to `save-some-buffers'.
9609 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
9611         * wid-edit.el (widget-choose): Move cursor to the second line of
9612         the buffer (Bug#5695).
9614 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9616         Add new VC methods: vc-log-incoming and vc-log-outgoing.
9617         * vc.el (vc-print-log-setup-buttons): New function split out from
9618         vc-print-log-internal.
9619         (vc-log-internal-common): New function, a parametrized version of
9620         vc-print-log-internal.
9621         (vc-print-log-internal): Just call vc-log-internal-common with the
9622         right arguments.
9623         (vc-incoming-outgoing-internal):
9624         (vc-log-incoming, vc-log-outgoing): New functions.
9625         (vc-log-view-type): New permanent local variable.
9627         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
9629         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
9630         of the dynamic bound vc-short-log.
9631         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
9633         * vc-git.el (vc-git-log-outgoing): New function.
9634         (vc-git-log-view-mode): Use vc-log-view-type instead
9635         of the dynamic bound vc-short-log.
9637         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
9638         of the dynamic bound vc-short-log.  Highlight the tag.
9639         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
9640         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
9641         (vc-hg-incoming-mode): Remove.
9642         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
9644 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
9646         Fix default-directory for vc-root-diff.
9647         * vc.el (vc-root-diff): Bind default-directory to the root
9648         directory for the diff command.
9650 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
9652         * progmodes/verilog-mode.el (verilog-forward-sexp):
9653         (verilog-calc-1): Support "disable fork" and "fork wait" multi
9654         word keywords, suggested by Steve Pearlmutter.
9655         (verilog-pretty-declarations): Support lineup of declarations in
9656         port lists.
9657         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
9658         fix bug for /* / comments.
9659         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
9660         Speed up and simplfy as this is never called with a bound.
9661         (verilog-pretty-declarations): Enhance to line up declarations
9662         inside a parameter list, suggested by Alan Morgan.
9663         (verilog-pretty-expr): Tune assignment regular expression match
9664         string for corner cases; also use markers instead of character
9665         number as indent changes the later.
9667 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
9669         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
9670         as missing keyword.
9671         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
9672         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
9673         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
9674         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
9675         Tennant.
9676         (verilog-keywords):
9677         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
9678         1800-2009 keywords, including "global.".
9680 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9682         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
9683         appearing in buffer list (if a live buffer name matched a recentf
9684         file basename).  Should use uniquify to offer a real solution.
9686 2010-04-06  John Wiegley  <jwiegley@gmail.com>
9688         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
9689         comment to code, and add a :version tag.
9690         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
9692 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
9694         Enable recentf-mode if using virtual buffers.
9695         * ido.el (recentf-list): Declare for byte-compiler.
9696         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
9697         (ido-make-buffer-list): Simplify.
9698         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
9700 2010-04-05  Juri Linkov  <juri@jurta.org>
9702         Scrolling commands which scroll a line instead of full screen.
9703         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9705         * simple.el (scroll-up-line, scroll-down-line): New commands.
9706         Put property isearch-scroll=t on them.
9708         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
9709         Remove commands.
9711 2010-04-05  Juri Linkov  <juri@jurta.org>
9713         Scrolling commands which do not signal errors at top/bottom.
9714         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
9716         * simple.el (scroll-up-command, scroll-down-command): New commands.
9717         Put property isearch-scroll=t on them.
9719         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
9720         `scroll-down-command' and [next] from `scroll-up' to
9721         `scroll-up-command'.
9723         * emulation/cua-base.el: Put property CUA=move on
9724         `scroll-up-command' and `scroll-down-command'.
9725         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
9726         and `scroll-down-command' to `cua-scroll-down'.
9728 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
9730         * help.el (describe-mode): Return nil.
9732 2010-04-04  John Wiegley  <jwiegley@gmail.com>
9734         * ido.el (ido-use-virtual-buffers): New variable to indicate
9735         whether "virtual buffer" support is enabled for IDO.
9736         (ido-virtual): Face used to indicate virtual buffers in the list.
9737         (ido-buffer-internal): If a buffer is chosen, and no such buffer
9738         exists, but a virtual buffer of that name does (which would be why
9739         it was in the list), recreate the buffer by reopening the file.
9740         (ido-make-buffer-list): If virtual buffers are being used, call
9741         `ido-add-virtual-buffers-to-list' before the make list hook.
9742         (ido-virtual-buffers): New variable which contains a copy of the
9743         current contents of the `recentf-list', albeit pared down for the
9744         sake of speed, and with proper faces applied.
9745         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
9746         create a list of "virtual buffers" to present to the user in
9747         addition to the currently open set.  Note that this logic could
9748         get rather slow if that list is too large.  With the default
9749         `recentf-max-saved-items' of 200, there is little speed penalty.
9751 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9753         * font-lock.el: Require CL when compiling.
9754         (font-lock-turn-on-thing-lock): Use `case'.
9756 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
9758         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
9759         Zaretskii.
9761 2010-04-02  Juri Linkov  <juri@jurta.org>
9763         * ehelp.el (electric-help-orig-major-mode):
9764         New buffer-local variable.
9765         (electric-help-mode): Set it to original major-mode.  Doc fix.
9766         (with-electric-help): Use `electric-help-orig-major-mode' instead
9767         of (default-value 'major-mode).  Doc fix.
9768         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
9770 2010-04-02  Sam Steingold  <sds@gnu.org>
9772         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
9773         `vc-hg-command' with a list of flags.
9775         * progmodes/bug-reference.el (bug-reference-bug-regexp):
9776         Also accept "patch" and "RFE".
9777         (bug-reference-fontify): `bug-reference-url-format' can also be a
9778         function to be able to handle the bug kind.
9779         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
9781 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
9783         * tmm.el (tmm-get-keymap): Check with symbolp before passing
9784         value to fboundp, it may not be a symbol.
9786 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9788         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
9790 2010-03-31  Juri Linkov  <juri@jurta.org>
9792         * simple.el (next-line, previous-line): Re-throw a signal
9793         with `signal' instead of using `ding'.
9794         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
9796 2010-03-31  Juri Linkov  <juri@jurta.org>
9798         * simple.el (keyboard-escape-quit): Raise deselecting the active
9799         region higher than exiting the minibuffer.
9800         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
9802 2010-03-31  Juri Linkov  <juri@jurta.org>
9804         * image.el (image-animated-p): Use `image-metadata' instead of
9805         `image-extension-data'.  Get GIF extenstion data from metadata
9806         property `extension-data'.
9808 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9810         * simple.el (append-to-buffer): Simplify.
9812 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
9814         * textmodes/artist.el (artist-mode): Fix typo in docstring.
9815         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
9817 2010-03-31  Kenichi Handa  <handa@m17n.org>
9819         * language/sinhala.el (composition-function-table): Fix regexp for
9820         the new Unicode specification.
9822         * language/indian.el (devanagari-composable-pattern)
9823         (tamil-composable-pattern, kannada-composable-pattern)
9824         (malayalam-composable-pattern): Adjust for the new Unicode
9825         specification.
9826         (bengali-composable-pattern, gurmukhi-composable-pattern)
9827         (gujarati-composable-pattern, oriya-composable-pattern)
9828         (telugu-composable-pattern): New variables to cope with the new
9829         Unicode specification.  Use them in composition-function-table.
9831 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9833         Make tmm-menubar work for the Buffers menu again (bug#5726).
9834         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9835         vectors rather than cons cells, as used in menu-bar-update-buffers.
9837 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9839         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9840         (js-insert-and-indent): Revert 2009-08-15 change, restoring
9841         electric punctuation for "{}();,:" (Bug#5586).
9843         * mail/sendmail.el (mail-default-directory): Doc fix.
9845 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9847         * mail/sendmail.el (mail-default-directory): Doc fix.
9849 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
9851         * subr.el (version-regexp-alist, version-to-list)
9852         (version-list-<, version-list-=, version-list-<=)
9853         (version-list-not-zero, version<, version<=, version=): Doc fix.
9854         (Bug#5744).
9856 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
9858         * vc.el (vc-root-diff): Doc fix.
9860 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9862         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9864         * simple.el (append-to-buffer): Fix last change.
9866 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9868         * simple.el (append-to-buffer): Ensure that point is preserved if
9869         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
9870         (Bug#5749)
9872 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9874         * files.el (auto-mode-case-fold): Change default to t.
9876 2010-03-30  Juri Linkov  <juri@jurta.org>
9878         * dired-x.el (dired-omit-mode): Doc fix.
9880 2010-03-30  Juri Linkov  <juri@jurta.org>
9882         * replace.el (occur-accumulate-lines): Move occur-engine related
9883         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9884         to be located after `occur-engine'.
9886 2010-03-30  Juri Linkov  <juri@jurta.org>
9888         Make occur handle multi-line matches cleanly with context.
9889         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9891         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9892         (occur-engine): Add local variables `ret', `prev-after-lines',
9893         `prev-lines'.  Use more arguments for `occur-context-lines'.
9894         Set first elem of its returned list to `data', and the second elem
9895         to `prev-after-lines'.  Don't print the separator line.
9896         In the end, print remaining context after-lines.
9897         (occur-context-lines): Add new arguments `begpt', `endpt',
9898         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
9899         after-lines of the previous match with before-lines of the
9900         current match and not overlap them.  Return a list with two
9901         values: the output line and the list of context after-lines.
9903 2010-03-30  Juri Linkov  <juri@jurta.org>
9905         * replace.el (occur-accumulate-lines): Fix a bug where the first
9906         context line at the beginning of the buffer was missing.
9908 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
9910         * files.el: Make bidi-display-reordering safe variable for boolean
9911         values.
9913 2010-03-29  Phil Hagelberg  <phil@evri.com>
9914             Chong Yidong  <cyd@stupidchicken.com>
9916         * subr.el: Extend progress reporters to perform "spinning".
9917         (progress-reporter-update, progress-reporter-do-update):
9918         Handle non-numeric value arguments.
9919         (progress-reporter--pulse-characters): New var.
9921 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
9923         * progmodes/compile.el (compilation-start): Fix regexp detection
9924         of initial cd command (Bug#5771).
9926 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
9928         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9930 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
9932         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9933         * progmodes/gdb-mi.el: Restore.
9934         * progmodes/gdb-ui.el: Remove.
9935         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9937 2010-03-25  Glenn Morris  <rgm@gnu.org>
9939         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9940         all dired buffers, even tramp ones.  (Bug#5755)
9942 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9944         Add "union tags" in mpc.el.
9945         * mpc.el: Remove backward compatibility code.
9946         (mpc-browser-tags): Change default.
9947         (mpc--find-memoize-union-tags): New var.
9948         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9949         (mpc-cmd-find): Handle the case where the playlist does not exist.
9950         Handle union-tags.
9951         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9952         (mpc-cmd-add): Use mpc-cmd-flush.
9953         (mpc-tagbrowser-tag-name): New fun.
9954         (mpc-tagbrowser-buf): Use it.
9955         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9957 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9959         Misc cleanup.
9960         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9961         Use replace-regexp-in-string.
9962         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9963         (makefile-imake-mode-syntax-table): Move init into defvar.
9964         (makefile-mode): Use define-derived-mode.
9966         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9967         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9968         not be present any more.
9970 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9972         * faces.el (set-face-attribute): Fix typo in docstring.
9973         (face-valid-attribute-values): Reflow docstring.
9975 2010-03-24  Glenn Morris  <rgm@gnu.org>
9977         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9979 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9981         * indent.el (indent-for-tab-command): Doc fix.
9983 2010-03-24  Alan Mackenzie  <acm@muc.de>
9985         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9986         Fix off-by-one error.  Fixes bug #5747.
9988 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9990         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9991         (image-dired-read-comment): Doc fix.
9993         * json.el (json-object-type, json-array-type, json-key-type)
9994         (json-false, json-null, json-read-number):
9995         * minibuffer.el (completion-in-region-functions):
9996         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9997         (cal-tex-cursor-week):
9998         * emacs-lisp/trace.el (trace-function):
9999         * eshell/em-basic.el (eshell/printnl):
10000         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
10001         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
10002         * obsolete/levents.el (allocate-event, event-key, event-object)
10003         (event-point, event-process, event-timestamp, event-to-character)
10004         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
10005         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
10006         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
10007         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
10008         (reftex-highlight-selection): Fix typos in docstrings.
10010 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
10012         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
10014 2010-03-24  Glenn Morris  <rgm@gnu.org>
10016         * mail/rmail.el (rmail-highlight-face): Restore option deleted
10017         2008-02-13 without comment; mark it obsolete.
10018         (rmail-highlight-headers): Use rmail-highlight-face once more.
10020 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
10022         * woman.el (woman2-process-escapes): Only consume the newline if
10023         the filler character is on a line by itself (Bug#5729).
10025 2010-03-24  Kenichi Handa  <handa@m17n.org>
10027         * language/indian.el (devanagari-composable-pattern): Add more
10028         consonants.
10030 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10032         * net/trampver.el: Update release number.
10034 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
10036         * net/tramp.el (tramp-find-executable):
10037         Use `tramp-get-connection-buffer'.  Make the regexp for checking
10038         output of "wc -l" more robust.
10039         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
10040         (tramp-open-connection-setup-interactive-shell): Remove workaround
10041         for OpenSolaris bug, it is not needed anymore.
10043 2010-03-24  Glenn Morris  <rgm@gnu.org>
10045         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
10047 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
10049         * files.el (auto-mode-alist): Accept more verilog file patterns.
10051 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10053         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
10055 2010-03-24  Glenn Morris  <rgm@gnu.org>
10057         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
10058         log-edit-before-checkin-process.
10060         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
10062         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
10064         * vc-dispatcher.el (vc-start-logentry): Doc fix.
10065         (log-view-process-buffer, log-edit-extra-flags): Declare.
10067         * log-edit.el (log-edit-before-checkin-process): Doc fix.
10069 2010-03-23  Sam Steingold  <sds@gnu.org>
10071         Fix bug#5620: recalculate all markers on compilation buffer
10072         modifications, not on file modifications.
10073         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
10074         variable: the buffer modification time, for buffers not associated with
10075         files.
10076         (compilation-mode): Create it.
10077         (compilation-filter): Update it.
10078         (compilation-next-error-function): Use it instead of
10079         `visited-file-modtime' for timestamp.
10081 2010-03-23  Juri Linkov  <juri@jurta.org>
10083         Implement Occur multi-line matches.
10084         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
10086         * replace.el (occur): Doc fix.
10087         (occur-engine): Set `begpt' to the beginning of the first line.
10088         Set `endpt' to the end of the last match line.  At first, count
10089         line numbers between `origpt' and `begpt'.  Split out code from
10090         `out-line' variable to new let-bindings `match-prefix' and
10091         `match-str'.  In `out-line' add non-numeric prefix to all
10092         non-first lines of multi-line matches.  Finally, count lines
10093         between `begpt' and `endpt' and add to `lines'.
10095 2010-03-23  Juri Linkov  <juri@jurta.org>
10097         * replace.el (occur-accumulate-lines, occur-engine):
10098         Use `occur-engine-line' instead of duplicate code.
10099         (occur-engine-line): New function created from duplicate code
10100         in `occur-accumulate-lines' and `occur-engine'.
10102         * replace.el (occur-engine-line): Add optional arg `keep-props'.
10103         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
10105 2010-03-23  Juri Linkov  <juri@jurta.org>
10107         * finder.el: Remove TODO tasks.
10109         * info.el (Info-finder-find-node): Add node "all"
10110         with all package info.  Handle a list of multiple keywords
10111         separated by comma.
10112         (info-finder): In interactive use with a prefix argument,
10113         use `completing-read-multiple' to read a list of keywords
10114         separated by comma.
10116 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10118         Add a new completion style `substring'.
10119         * minibuffer.el (completion-basic--pattern): New function.
10120         (completion-basic-try-completion, completion-basic-all-completions):
10121         Use it.
10122         (completion-substring--all-completions)
10123         (completion-substring-try-completion)
10124         (completion-substring-all-completions): New functions.
10125         (completion-styles-alist): New style `substring'.
10127 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10129         Get rid of .elc files after removal of the corresponding .el.
10130         * Makefile.in (compile-clean): New target.
10131         (compile-main): Use it.
10133 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
10135         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
10136         don't do make there.  When compiling with separate object dir, there
10137         is no Makefile there.
10139 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10141         Get rid of the ELCFILES abomination, again.
10142         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10143         (all, compile): Don't call compile-last.
10144         (compile-main): Build the "elcfiles" list dynamically.
10145         (compile-targets): New (internal) target.
10147 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
10149         * Makefile.in (top_srcdir): Define.
10150         (abs_top_builddir): Define.
10151         (srcdir): Don't append `/..'.
10152         (EMACS): Use ${abs_top_builddir}.
10153         (all, compile, compile-always, compile-last): Don't set emacswd.
10154         (update-subdirs, update-authors): Use $(top_srcdir) instead of
10155         $(srcdir).
10156         (lisp): Use $(srcdir) instead of @srcdir@.
10158 2010-03-21  Juri Linkov  <juri@jurta.org>
10160         Fix message of multi-line occur regexps and multi-buffer header lines.
10161         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
10163         * replace.el (occur-1): Don't display regexp if it is longer
10164         than window-width.  Use `query-replace-descr' to display regexp.
10165         (occur-engine): Don't display regexp in the buffer header for
10166         multi-buffer occur.  Display a separate header line with total
10167         match count and regexp for multi-buffer occur.
10168         Use `query-replace-descr' to display regexp.
10170 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
10172         * net/secrets.el: Fix parenthesis.
10173         (secrets-enabled): Fix parenthesis.
10175 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10177         Use more relative file and directory names.
10178         * Makefile.in (EMACS): Arrange for it to work when we chdir.
10179         (setwins, setwins_almost, setwins_for_subdirs):
10180         Don't `cd'; output relative names.
10181         (all, compile, compile-always, compile-last): Set emacswd.
10182         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
10183         Just cd to the lisp source dir so we can use relative file names.
10185         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
10187 2010-03-20  Glenn Morris  <rgm@gnu.org>
10189         * textmodes/rst.el: Use faces for font-lock customization, and make the
10190         old -face variables obsolete.
10191         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
10192         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
10193         (rst-block-face, rst-external-face, rst-definition-face)
10194         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
10195         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
10196         Make obsolete.
10197         (rst-font-lock-keywords-function): Update for above changes.
10199 2010-03-20  Juri Linkov  <juri@jurta.org>
10201         * s-region.el:
10202         * obsolete/s-region.el: Move to obsolete.
10204 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
10206         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
10208 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10210         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
10212 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
10214         Add special markup processing for commit logs.
10215         * log-edit.el (log-edit-extra-flags): New variable.
10216         (log-edit): Add new argument MODE.  Use that mode when non-nil
10217         instead of the log-view-mode.
10218         (log-view-process-buffer): New function.
10220         * vc.el: Document that the checkin method takes optional
10221         arguments.  Document new backend specific method: log-view-mode.
10222         (vc-default-log-edit-mode): New function.
10223         (vc-checkin): Use a backend specific log-view-mode.
10224         Pass extra arguments to the checkin method.
10225         (vc-modify-change-comment): Pass a dummy extra argument.
10227         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
10228         log-edit.
10229         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
10230         (vc-finish-logentry): Process the log buffer before passing it
10231         down.  Pass log-edit-extra-flags.
10233         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
10234         command.
10235         (log-edit-extra-flags, log-edit-before-checkin-process):
10236         New declarations.
10238         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
10239         command.
10240         (log-edit-extra-flags, log-edit-before-checkin-process):
10241         New declarations.
10242         (vc-hg-log-edit-mode): New derived mode.
10244         * vc-arch.el (vc-arch-checkin):
10245         * vc-cvs.el (vc-cvs-checkin):
10246         * vc-git.el (vc-git-checkin):
10247         * vc-mtn.el (vc-mtn-checkin):
10248         * vc-rcs.el (vc-rcs-checkin):
10249         * vc-sccs.el (vc-sccs-checkin):
10250         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
10252 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10254         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
10255         parent typo).
10257 2010-03-19  Glenn Morris  <rgm@gnu.org>
10259         * password-cache.el (password-cache, password-cache-expiry): Autoload.
10261 2010-03-18  Glenn Morris  <rgm@gnu.org>
10263         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
10265         * replace.el (query-replace-history): Give it a doc string.
10266         (map-query-replace-regexp): Use query-replace-from-history-variable
10267         and query-replace-to-history-variable.
10269         * mail/hashcash.el (declare-function): Remove duplicate definition.
10271         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10272         Make it an obsolete alias for report-emacs-bug-address.
10273         (message-strip-special-text-properties): Declare.
10274         (report-emacs-bug): Remove test for a pretest bug address.
10275         Combine message-mode-specific code.
10277         * mail/supercite.el: Don't require sendmail.
10278         (mh-in-header-p): Declare rather than using with-no-warnings.
10279         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
10280         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
10282         * calendar/cal-french.el: Convert to utf-8.
10284         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
10285         Emacs scripts.
10287 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
10289         * net/secrets.el (secrets-enabled): New variable.  Use it instead
10290         of a subfeature.
10292 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
10294         * net/secrets.el (top): Register the D-Bus signals only when the
10295         service "org.freedesktop.secrets" can be pinged.
10296         Provide subfeature `enabled'.
10298 2010-03-14  Juri Linkov  <juri@jurta.org>
10300         Add finder unknown keywords.
10302         * finder.el (finder-unknown-keywords): New function.
10304         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
10305         to create a Finder node with unknown keywords.
10307 2010-03-14  Juri Linkov  <juri@jurta.org>
10309         * finder.el (finder-compile-keywords): Replace `princ' with
10310         `prin1' on a list of symbols interned from keyword strings.
10312         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
10313         a comma, then split keywords using a comma and optional whitespace.
10314         Otherwise, split by whitespace.
10316         * complete.el:
10317         * face-remap.el:
10318         * log-view.el:
10319         * net/hmac-def.el:
10320         * net/hmac-md5.el:
10321         * net/netrc.el:
10322         * progmodes/mixal-mode.el: Fix keywords.
10324 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
10326         * Makefile.in (ELCFILES): Add net/secrets.elc.
10328         * net/secrets.el: New file.
10330 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10332         * facemenu.el (list-colors-display, list-colors-print): New arg
10333         callback.  Use it to allow selecting colors.
10335         * wid-edit.el (widget-image-insert): Insert image prop even if the
10336         current display is non-graphic.
10337         (widget-field-value-set): New fun.
10338         (editable-field): Use it.
10339         (widget-field-value-get): Clean up unused var.
10340         (widget-color-value-create, widget-color--choose-action):
10341         New funs.  Allow using list-colors-display to choose color.
10343 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10345         * cus-edit.el: Resort topmost custom groups.
10346         (custom-buffer-sort-alphabetically): Default to t.
10347         (customize-apropos): Use apropos-parse-pattern.
10348         (custom-search-field): New var.
10349         (custom-buffer-create-internal): Add custom-apropos search field.
10350         (custom-add-parent-links): Don't display parent doc.
10351         (custom-group-value-create): Don't sort top-level custom group.
10352         (custom-magic-value-create): Show visibility button before option name.
10354         (custom-variable-state): New fun, from custom-variable-state-set.
10355         (custom-variable-state-set): Use it.
10356         (custom-group-value-create): Hide options with standard values
10357         using the :hidden-states property.  Use progress reporter.
10359         (custom-show): Simplify.
10360         (custom-visibility): Disable images by default.
10361         (custom-variable): New property :hidden-states.
10362         (custom-variable-value-create): Enable images for
10363         custom-visibility widgets.  Use :hidden-states property to
10364         determine initial visibility.
10366         * wid-edit.el (widget-image-find): Give images center ascent.
10367         (visibility): Add :on-image and :off-image properties.
10368         (widget-visibility-value-create): Use them.
10370 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
10372         * cus-edit.el (processes): Remove from development group.
10373         (oop, hypermedia): Delete group.
10374         (comm): Promote to top-level group.
10376         * net/browse-url.el (browse-url):
10377         * net/xesam.el (xesam):
10378         * net/tramp.el (tramp):
10379         * net/goto-addr.el (goto-address):
10380         * net/ange-ftp.el (ange-ftp): Put in comm group.
10382         * view.el (view): Remove from editing group.
10384         * uniquify.el (uniquify): Put in files group.
10386         * net/browse-url.el (browse-url):
10387         * ps-print.el (postscript): Put in external group.
10389         * cus-edit.el (outlines):
10390         * textmodes/text-mode.el (text-mode-hook):
10391         * textmodes/table.el (table):
10392         * textmodes/picture.el (picture):
10393         * outline.el (outlines): Put in wp group.
10395         * nxml/nxml-mode.el (nxml): Remove from wp group.
10397         * net/tramp-imap.el (tramp-imap): Put in tramp group.
10399         * mail/metamail.el (metamail): Remove from hypermedia group.
10401         * cus-edit.el (abbrev):
10402         * whitespace.el (whitespace):
10403         * vcursor.el (vcursor):
10404         * reveal.el (reveal):
10405         * hl-line.el (hl-line): Put in convenience group.
10407         * epg-config.el (epg): Put in data group.
10409         * emulation/pc-select.el (pc-select): Put in emulations group.
10411         * calculator.el (calculator): Put in applications group.
10413 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10415         Add .dir-locals.el support for file-less buffers.
10416         * files.el (hack-local-variables): Split out code to apply local
10417         variable settings ...
10418         (hack-local-variables-apply): ... here.  New function.
10419         (hack-dir-local-variables): Use the default directory for when the
10420         buffer does not have an associated file.
10421         (hack-dir-local-variables-non-file-buffer): New function.
10422         * diff-mode.el (diff-mode):
10423         * vc-annotate.el (vc-annotate-mode):
10424         * vc-dir.el (vc-dir-mode):
10425         * log-edit.el (log-edit-mode):
10426         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
10428 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
10430         Add support for shelving snapshots and for showing shelves.
10431         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
10432         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
10433         New functions.
10434         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10435         (vc-bzr-extra-menu-map): Map them.
10437 2010-03-11  Glenn Morris  <rgm@gnu.org>
10439         * cus-edit.el (customize-changed-options-previous-release):
10440         Bump to 23.1.
10442         * image.el (image-animate-max-time): Fix :version tag.
10444 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
10446         * Branch for 23.2.
10448 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10450         * vc-git.el (vc-git-revision-table): Include remote branches.
10452 2010-03-10  Kim F. Storm  <storm@cua.dk>
10454         Animated image API.
10455         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
10457         * image.el (image-animate-max-time): New defcustom.
10458         (image-animated-types): New defconst.
10459         (create-animated-image, image-animate-timer)
10460         (image-animate-start, image-animate-stop, image-animate-timeout)
10461         (image-animated-p): New functions.
10463         * image-mode.el (image-toggle-display-image):
10464         Replace `create-image' with `create-animated-image'.
10466 2010-03-09  Miles Bader  <miles@gnu.org>
10468         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
10469         instead of "format:"; this ensures that the output is
10470         newline-terminated.
10472 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
10474         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
10475         that all errors are caught, and that the return value is always a
10476         list (Bug#5692).
10478 2010-03-08  Kenichi Handa  <handa@m17n.org>
10480         * language/misc-lang.el (windows-1256): New coding system.
10481         (cp1256): New alias of windows-1256 (bug#5690).
10483 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
10485         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
10486         call to rfc822-bad-address.  (Bug#5692)
10488 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10490         * vc-git.el (vc-git-annotate-extract-revision-at-line):
10491         Use vc-git-root as default directory for revision path (Bug#5657).
10493 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
10495         * calculator.el (calculator): Don't bind split-window-keep-point
10496         (Bug#5674).
10498 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10500         * vc-git.el: Re-flow to fit into 80 columns.
10501         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
10502         Remove spurious `quote' element in each case alternative.
10503         (vc-git-show-log-entry): Use prog1.
10504         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
10506 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10508         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
10510 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
10512         * macros.el (insert-kbd-macro): Look up keyboard macro using the
10513         definition, not the name (Bug#5481).
10515 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
10517         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
10518         argument with a local variable.  (Bug#5670)
10520 2010-03-02  Juri Linkov  <juri@jurta.org>
10522         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
10524 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
10526         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
10527         error when FILENAME and NEWNAME are existing remote directories.
10529         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
10530         parameter DIR-FLAG.
10532 2010-03-02  Glenn Morris  <rgm@gnu.org>
10534         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
10535         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
10537 2010-03-01  Kenichi Handa  <handa@m17n.org>
10539         * language/burmese.el (burmese-composable-pattern): Rename from
10540         myanmar-composable-pattern.
10542         * international/characters.el (script-list):
10543         * international/fontset.el (script-representative-chars):
10544         Change myanmar to burmese.
10545         (otf-script-alist): Likewise.
10546         (setup-default-fontset): Likewise.  Re-fix :otf spec.
10548 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
10550         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
10552 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
10554         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
10556 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10558         * net/tramp.el (tramp-handle-write-region): START can be a string.
10559         Take care in the checks.  Reported by Dan Davison
10560         <davison@stats.ox.ac.uk>.
10562 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
10564         * net/dbus.el (dbus-introspect, dbus-get-property)
10565         (dbus-set-property, dbus-get-all-properties):
10566         Use `dbus-call-method' when noninteractive.  (Bug#5645)
10568 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
10570         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
10571         * emacs-lisp/elint.el (elint-add-required-env):
10572         * calendar/icalendar.el (icalendar--add-diary-entry):
10573         * calc/calcalg2.el (math-tracing-integral):
10574         * files.el (recover-session-finish): Use with-current-buffer
10575         instead of save-excursion.
10577 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10579         Fix in-buffer completion when after-change-functions modify the buffer.
10580         * minibuffer.el (completion--replace): New function.
10581         (completion--do-completion): Use it and use relative movement.
10583 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
10585         * international/fontset.el (setup-default-fontset): Fix :otf spec.
10587 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
10589         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
10590         Allow the characters _<> in the stack entry (Bug#5653).
10592 2010-02-26  Kenichi Handa  <handa@m17n.org>
10594         * language/burmese.el: Fix entries in composition-function-table.
10595         (myanmar-composable-pattern): New variable.
10597         * international/fontset.el (setup-default-fontset): Add an entry
10598         for myanmar.
10600         * international/characters.el (script-list): Add Myanmar
10601         Extended-A.
10603 2010-02-26  Glenn Morris  <rgm@gnu.org>
10605         * custom.el (custom-initialize-delay): Doc fix.
10607         * mail/sendmail.el (send-mail-function): Autoload the call
10608         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
10610 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
10612         * files.el (hack-local-variables-filter): For eval forms, also
10613         check safe-local-variable-p (Bug#5636).
10615 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
10617         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
10618         setting the modes by `ignore-errors'.  It might fail, for example
10619         if the file is not owned by the user but the group.
10620         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
10622 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
10624         * files.el (directory-listing-before-filename-regexp):
10625         Use stricter matching for iso-style dates, to avoid false matches with
10626         date-like filenames (Bug#5597).
10628         * htmlfontify.el (htmlfontify): Doc fix.
10630         * eshell/eshell.el (eshell): Doc fix.
10632         * startup.el (fancy-about-screen): In mode-line, apply
10633         mode-line-buffer-id face only to the buffer name (Bug#5613).
10635 2010-02-20  Kevin Ryde  <user42@zip.com.au>
10637         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10638         In `watcom' anchor regexp to start of line, to avoid slowness
10639         (Bug#5599).
10641 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
10643         * subr.el (remove-yank-excluded-properties): Explain in a comment
10644         why `category' property is removed.
10646 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
10648         * isearch.el (isearch-update-post-hook, isearch-update):
10649         Revert 2010-02-17 change.
10651 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
10653         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
10654         (icalendar--convert-weekly-to-ical)
10655         (icalendar--convert-yearly-to-ical)
10656         (icalendar--convert-block-to-ical)
10657         (icalendar--convert-cyclic-to-ical)
10658         (icalendar--convert-anniversary-to-ical): Take care of time
10659         specifications where hour has 1-digit only (Bug#5549).
10661 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
10663         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
10664         of disassemble output in GDB 7.1.
10666 2010-02-19  Glenn Morris  <rgm@gnu.org>
10668         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
10669         property.  (Bug#5593)
10671 2010-02-18  Sam Steingold  <sds@gnu.org>
10673         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
10675 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10677         Use abbreviated file names in bookmarks (bug#5591).
10678         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
10679         calls to expand-file-name.
10680         (bookmark-relocate): Use abbreviated file names in bookmarks.
10681         (bookmark-load): Use abbreviated file names in messages.
10683 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10685         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
10686         expand "." and "..".  Reported by Thierry Volpiatto
10687         <thierry.volpiatto@gmail.com>.
10689 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
10691         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
10692         permissions of the temporary file to "0600".  In case the remote
10693         file has no read permissions for the owner, there might be
10694         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
10696 22010-02-18  Glenn Morris  <rgm@gnu.org>
10698         * emacs-lisp/authors.el (authors-renamed-files-alist):
10699         Add entries for INSTALL.CVS.
10701 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
10703         * vc-bzr.el: Fix typo in Known Bugs section.
10705         * isearch.el (isearch-update-post-hook): New hook.
10706         (isearch-update): Use the new hook.
10708 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
10710         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10711         Fix errors in copying directories.
10712         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
10713         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
10714         (tramp-handle-delete-file)
10715         (tramp-handle-dired-recursive-delete-directory)
10716         (tramp-handle-write-region): Flush also the cache for the upper
10717         directory.
10719 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
10721         * simple.el (save-interprogram-paste-before-kill): Doc fix.
10723         * cus-edit.el (hardware): Doc fix.
10725         * man.el (man): Add to external custom group.
10727         * delim-col.el (columns): Move to wp custom group.
10729         * doc-view.el (doc-view): Add to data custom group.
10731         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
10733         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
10734         by ispell-parse-output (Bug#5575).
10736 2010-02-16  Kenichi Handa  <handa@m17n.org>
10738         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
10739         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
10740         (skkdic-convert): Use `euc-japan' coding system for writing.
10742 2010-02-16  Glenn Morris  <rgm@gnu.org>
10744         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
10745         tex-main-file before using it.  (Bug#5562)
10747 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10749         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
10750         warnings, since it is annoying for the user to see them each time he
10751         runs the code.
10753 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
10755         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
10756         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
10757         instead of PROC for caching "first-password-request".  Otherwise,
10758         new processes would not profit from passwords already entered.
10760         * net/tramp-cache.el (tramp-dump-connection-properties):
10761         Don't save "first-password-request" property.
10763 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
10765         * outline.el (outline-head-from-level):
10766         * simple.el (with-wrapper-hook):
10767         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
10768         (elint-defun, elint-buffer-env, elint-top-form-logged)
10769         (elint-unbound-variable):
10770         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
10771         Fix typos in docstrings.
10773 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
10775         * files.el (insert-directory): When WILDCARD-REGEXP and
10776         FULL-DIRECTORY-P are nil, insert the file entry instead of the
10777         whole directory.  (Bug#5551)
10779         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
10780         dired's alignment sanity.  (Bug#5516)
10782 2010-02-14  Juri Linkov  <juri@jurta.org>
10784         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
10785         Remove remaining ^H with their preceding chars.  (Bug#5566)
10787 2010-02-13  Glenn Morris  <rgm@gnu.org>
10789         * simple.el (transpose-subr): Give it a doc-string.
10791         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
10792         Doc fixes.
10794 2010-02-12  Juri Linkov  <juri@jurta.org>
10796         * arc-mode.el (archive-unique-fname): Make directories for nested
10797         archives.  (Bug#5540)
10799 2010-02-12  Juri Linkov  <juri@jurta.org>
10801         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
10803 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10805         * subr.el (copy-overlay): Handle deleted overlays.
10807         * man.el (Man-completion-table): Don't signal an error if we can't run
10808         manual-program (bug#4056).
10810 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
10812         * textmodes/artist.el (artist-mt): Fix typos in docstring.
10814 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10816         * info.el (Info-bookmark-jump): Simplify.
10818         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10819         (bookmark-default-handler): Accept new bookmark field `buffer'.
10821 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
10823         * iswitchb.el (iswitchb-completions): Revert last change.
10825 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
10827         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10828         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10829         This prevents file names like "~/" being listed literally.
10831 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
10833         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10834         Remove dead code.  (Bug#5546)
10836 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
10838         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10839         correctly (Bug#5548).
10841 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
10843         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10844         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10846 2010-02-08  Kenichi Handa  <handa@m17n.org>
10848         * international/mule-util.el (with-coding-priority): Add autoload
10849         cookie for putting `lisp-indent-function'.
10851 2010-02-07  Glenn Morris  <rgm@gnu.org>
10853         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10854         Move F2003 named interfaces from keywords-2 to keywords-1, and
10855         use function-name-face rather than constant-face.
10856         Simplify "abstract interface" regexp.
10858 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
10860         * eshell/esh-util.el (eshell-file-attributes): New optional arg
10861         ID-FORMAT.  Pass it to `file-attributes'.
10863         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10865 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
10867         * faces.el (set-face-attribute): Allow calling
10868         internal-set-lisp-face-attribute with 'unspecified family and
10869         foundry argument (Bug#5536).
10871 2010-02-07  Glenn Morris  <rgm@gnu.org>
10873         * progmodes/f90.el (f90-font-lock-keywords-2)
10874         (f90-looking-at-type-like, f90-looking-at-program-block-end):
10875         Handle F2003 named interfaces.
10877 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
10879         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10880         beg and end before calling c-get-state-before-change-functions.
10882 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
10884         * vc-bzr.el (vc-bzr-dir-extra-headers):
10885         Disable the pending merges header.
10887 2010-02-05  Juri Linkov  <juri@jurta.org>
10889         * doc-view.el (doc-view-mode):
10890         * image-mode.el (image-mode): Put property mode-class=special.
10891         (Bug#4896)
10893 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
10895         * vc-svn.el (vc-svn-revision-table): New function.
10897 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
10899         * net/ange-ftp.el (ange-ftp-insert-directory):
10900         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10901         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10902         Handle also directories.  (Bug#5478)
10904 2010-02-05  Glenn Morris  <rgm@gnu.org>
10906         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10908 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
10910         * startup.el (command-line-1): Convert options beginning with a
10911         single dash as well (Bug#5519).
10913 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10915         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10916         * minibuffer.el (completion-initials-expand): Only check the presence
10917         of delims *within* the boundaries, since otherwise the / delim is
10918         always found for files.
10920         Fix up various corner case problems.
10921         * doc-view.el (doc-view-last-page-number): New function.
10922         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10923         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10924         (doc-view-kill-proc): Avoid inf-loop in freak cases.
10925         (doc-view-reconvert-doc): Use the new recursive delete-directory.
10926         (doc-view-convert-current-doc): Don't create the resolution.el file
10927         here any more.
10928         (doc-view-pdf/ps->png): Do it here instead.
10929         (doc-view-already-converted-p): Check that resolution.el is present.
10930         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10931         windows that are not yet showing images.
10933 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
10935         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10936         `dired-uncache' for every elemnt which is an absolute file name.
10938         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10939         directory, handle its directory component.
10940         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10941         function is called permanently and creates noise, otherwise.
10943         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10944         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10945         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
10947 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10949         * macros.el (apply-macro-to-region-lines):
10950         Minor simplification.  (Bug#5485)
10952 2010-02-04  Glenn Morris  <rgm@gnu.org>
10954         * mail/rmail.el (rmail-show-message-1): Handle malformed
10955         quoted-printable text.  (Bug#5441)
10957         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10959         * simple.el (visual-line-mode): Capitalize lighter.
10961 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10963         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10964         list of files considered for "virtual buffer" completions.
10966 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10968         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10969         also in case of (and (not full) (not wildcard)).  This is needed
10970         when dired is called with a list of files, which are not in
10971         `default-directory'.  (Bug#5478)
10973 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10975         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10977 2010-02-02  Juri Linkov  <juri@jurta.org>
10979         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10980         from unidiff to allow function-line after @@.
10982 2010-02-02  Juri Linkov  <juri@jurta.org>
10984         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10985         '(RCS SCCS) with inverted condition.
10987 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10989         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10990         messages.
10992 2010-02-01  Juri Linkov  <juri@jurta.org>
10994         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10995         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10996         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10997         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10999 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11001         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
11002         (doc-view-revert-buffer): New command.
11003         (doc-view-mode-map): Use it.
11005 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
11007         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
11008         pending merge is detected.
11010 2010-01-31  Juri Linkov  <juri@jurta.org>
11012         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
11013         beginning of interactive spec like all other grep commands do.
11014         Put "all" in front of "gz".  (Bug#5260)
11016 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
11018         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
11020 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
11022         * dirtrack.el (dirtrack): Warn instead of signalling error if the
11023         regexp is incorrect (Bug#5476).
11025 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
11027         * net/tramp.el (tramp-handle-insert-directory): Handle also
11028         symlinks, when FILENAME is not in `default-directory'.
11030 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11032         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
11033         FILE is not in `default-directory'.  (Bug#5478)
11035         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
11036         of SWITCHES.  Handle the case, FILENAME is not in
11037         `default-directory'.  (Bug#5478)
11038         (tramp-register-file-name-handlers): Add safe-magic property.
11040 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
11042         * arc-mode.el (archive-zip-extract): Quote the argument passed to
11043         unzip (Bug#5475).
11045 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
11047         * progmodes/flymake.el (flymake-allowed-file-name-masks)
11048         (flymake-master-make-header-init): Add other C++ filename masks.
11049         (flymake-find-possible-master-files)
11050         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
11052 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
11054         Fix some busybox annoyances.
11056         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
11057         not responding." string.
11058         (tramp-open-connection-setup-interactive-shell): Dump stty
11059         settings.  Enable "neveropen" arg for all `tramp-send-command'
11060         calls.  Handle "=" in variable values properly.
11061         (tramp-find-inline-encoding): Raise an error, when no encoding is
11062         found.
11063         (tramp-wait-for-output): Check, whether PROC buffer is available.
11064         Remove spurious " ^H" sequences, sent by busybox.
11065         (tramp-get-ls-command): Suppress coloring, if possible.
11067 2010-01-28  Glenn Morris  <rgm@gnu.org>
11069         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
11071         * log-edit.el (log-edit-strip-single-file-name): Add missing
11072         :safe, :group, and :version tags.
11074 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
11076         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
11077         buffers.  (Bug#5477)
11079 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
11081         * files.el (delete-directory): Handle moving to trash without
11082         first doing recursion (Bug#5436).
11084 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
11086         * vc-hooks.el (vc-path): Mark as obsolete.
11088 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
11090         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
11091         names too.
11093         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
11094         for the short log.
11095         (vc-bzr-log-view-mode): Adjust regexp for the above change.
11097 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
11099         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
11101         * vc-bzr.el (vc-bzr-revision-table): New function.
11103 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
11105         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
11106         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
11108 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
11110         Remove support for adding --signoff on commit.
11111         Future support will use an incompatible generic mechanism.
11112         * vc-git.el (vc-git-add-signoff): Remove variable.
11113         (vc-git-toggle-signoff): Remove function.
11114         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
11116         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11117         Rename from xterm-set-background-mode.  Return t if the background mode
11118         was set.
11119         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
11120         earlier, call it again in case the background mode has changed.
11122 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
11124         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
11125         (Bug#3541).
11127 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
11129         * emacs-lisp/assoc.el (aelement): Doc fix.
11130         (aput, adelete, amake): Use lexical-let (Bug#5450).
11132 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
11134         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
11135         is the same as subprogram call, not declaration.  (Bug#5435).
11137 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
11139         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
11140         (tramp-smb-maybe-open-connection): Use it.
11142 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
11144         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
11146 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11148         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
11149         just because we see "encoding: 8bit".
11150         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
11152 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
11154         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
11156 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
11158         * jka-compr.el (jka-compr-load): If load-file is not in
11159         load-history, try its file-truename version.  (bug#5447)
11161 2010-01-21  Alan Mackenzie  <acm@muc.de>
11163         Fix a situation where deletion of a cpp construct throws an error.
11164         * progmodes/cc-engine.el (c-invalidate-state-cache):
11165         Before invoking c-with-all-but-one-cpps-commented-out, check that the
11166         special cpp construct is still in the buffer.
11167         (c-parse-state): Record the special cpp with markers, not numbers.
11169 2010-01-21  Kenichi Handa  <handa@m17n.org>
11171         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
11172         process last-command-event, as it is now decoded first (Bug#5380).
11174 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
11176         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
11178 2010-01-20  Glenn Morris  <rgm@gnu.org>
11180         * indent.el (tab-always-indent): Fix custom-type.
11182 2010-01-19  Alan Mackenzie  <acm@muc.de>
11184         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
11185         buffer throws "args out of range".
11186         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
11187         playing the role of delimiter.
11189 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
11191         * progmodes/ada-mode.el: Fix bug#5400.
11192         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
11193         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
11194         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
11195         Improve comments in "is" portion.  Handle null procedure declaration.
11196         (ada-move-to-end): Improve doc string.
11198 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
11200         * ido.el (ido-cur-list): Initialize to nil.
11201         Remove obsolete information from commentary.
11202         (ido-choice-list): Initialize to nil.
11203         (ido-get-bufname): Reject minibuffers.
11204         (ido-make-buffer-list): If "default" is a nonexistent
11205         buffer, ignore it, as per the function's comment.
11206         (ido-kill-buffer-internal): New function.
11207         (ido-kill-buffer-at-head): Use it.
11208         (ido-visit-buffer): Likewise.
11210 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
11212         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
11214 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
11216         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
11217         Fix typos in chart titles.
11219         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
11220         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
11221         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
11222         (describe-class, eieio-describe-generic, describe-generic):
11223         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
11224         (eieio-speedbar-expand):
11225         * emulation/viper-cmd.el (viper-exec-form-in-vi)
11226         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
11227         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
11228         (viper-del-backward-char-in-replace, viper-backward-indent)
11229         (viper-brac-function, viper-register-to-point, viper-submit-report):
11230         * net/tramp.el (tramp-remote-coding-commands):
11231         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
11232         Fix typos in docstrings.
11234 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
11236         * mail/sendmail.el (mail-yank-original): Set the mark if the
11237         specified function for yanking does not do it.
11239 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
11241         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
11243         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
11244         resyncing a directory.
11246 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
11248         * progmodes/ada-mode.el: Fix bug#1920.
11249         (ada-ident-re): Delete ., allow multibyte characters.
11250         (ada-goto-label-re): New; matches goto labels.
11251         (ada-block-label-re): New; matches block labels.
11252         (ada-label-re): New; matches both.
11253         (ada-named-block-re): Deleted; callers changed to use
11254         `ada-block-label-re' instead.
11255         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
11256         Use `ada-block-label-re'.
11257         (ada-indent-on-previous-lines): Improve handling of goto labels.
11258         (ada-get-indent-block-start): Special-case block label.
11259         (ada-get-indent-label): Split into `ada-indent-block-label' and
11260         `ada-indent-goto-label'.
11261         (ada-goto-stmt-start, ada-goto-next-non-ws):
11262         Optionally ignore goto labels.
11263         (ada-goto-next-word): Simplify.
11264         (ada-indent-newline-indent-conditional): Insert newline before
11265         trying to fix indentation; doc fix.
11267 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
11269         * calc/calc.el (calc-command-flags): Give it an initial value.
11271 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
11273         * files.el (minibuffer-with-setup-hook):
11274         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
11275         (artist-key-draw-continously, artist-key-do-continously-continously)
11276         (artist-key-set-point-continously, artist-mouse-draw-continously):
11277         Fix typos in docstrings.
11279 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
11281         * nxml/nxml-mode.el (nxml-extend-after-change-region):
11282         Never return t (Bug#3898).
11284 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
11286         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
11287         can parse the output of the external commands (Bug#5279).
11289 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
11291         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
11293 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
11295         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
11297         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
11299         * startup.el (command-line): Remove unused --icon-type arg.
11300         Handle --display arg, passing it to command-line-1 (Bug#5392).
11302 2010-01-16  Mario Lang  <mlang@delysid.org>
11304         * emacs-lisp/chart.el (chart-translate-namezone):
11305         * textmodes/artist.el (artist-compute-popup-menu-table):
11306         Remove duplicated words in doc-strings.
11308 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
11310         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
11311         to mairix-search to suppress threading (Bug#5342).
11313 2010-01-15  Kenichi Handa  <handa@m17n.org>
11315         * international/mule-cmds.el (canonicalize-coding-system-name):
11316         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
11318 2010-01-15  Glenn Morris  <rgm@gnu.org>
11320         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
11322         * wid-edit.el (widget-keymap): Doc fix.
11324         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
11325         former seems to be more widely accepted by various svn versions.
11327 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11329         * find-cmd.el (find-constituents):
11330         * vc-arch.el (vc-arch-root):
11331         * window.el (window-body-height, pop-up-frames):
11332         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
11333         * progmodes/ada-stmt.el (ada-if):
11334         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
11335         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
11336         (ispell-encoding8-command, ispell-aspell-supports-utf8)
11337         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
11339         * progmodes/flymake.el (flymake-post-syntax-check):
11340         Fix typo in error message.
11342 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11344         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
11345         which is always a string.  (Bug#5313)
11347 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
11349         * progmodes/ada-xref.el (ada-default-prj-properties):
11350         Simplify previous change.
11352 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11354         * progmodes/ada-xref.el (ada-default-prj-properties):
11355         Default ada_project_path to $ADA_PROJECT_PATH.
11357 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11359         * progmodes/ada-mode.el (ada-create-keymap):
11360         Override `narrow-to-defun' with `ada-narrow-to-defun'.
11362 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11364         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
11365         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
11366         (ada-get-current-indent, ada-imenu-generic-expression)
11367         (ada-which-function): Check for it.
11369 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
11371         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
11372         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
11374 2010-01-14  Glenn Morris  <rgm@gnu.org>
11376         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
11378 2010-01-14  Kenichi Handa  <handa@m17n.org>
11380         * composite.el (auto-composition-mode): Make it a buffer local
11381         variable (permanent-local).
11382         (auto-composition-function): Set the default value to
11383         auto-compose-chars.
11384         (auto-composition-mode): Make it a simple function, not a minor mode.
11385         (global-auto-composition-mode): Likewise.
11386         (turn-on-auto-composition-if-enabled): Delete it.
11388 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
11390         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
11392 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
11394         * files.el (copy-directory): Compute target for recursive
11395         directories with identical names.  (Bug#5343)
11397 2010-01-12  Glenn Morris  <rgm@gnu.org>
11399         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11400         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
11402 2010-01-11  Sam Steingold  <sds@gnu.org>
11404         * imenu.el (imenu-default-create-index-function): Detect infinite
11405         loops caused by imenu-prev-index-position-function.
11407 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11409         * htmlfontify.el (htmlfontify-load-rgb-file)
11410         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
11411         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
11412         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
11413         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
11414         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
11415         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
11416         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
11417         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
11418         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
11419         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
11420         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
11421         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
11422         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
11423         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
11424         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
11425         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
11426         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
11427         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
11428         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
11429         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
11430         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
11431         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
11432         backslash-quoting from parentheses, etc.
11434 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
11436         * progmodes/js.el: Autoload javascript-mode alias.
11438 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
11440         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
11441         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
11442         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
11443         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
11444         Fix typos in docstrings.
11445         (ffap-url-regexp): Doc fix.
11446         (ffap-at-mouse): Fix typo in message.
11448 2010-01-11  Glenn Morris  <rgm@gnu.org>
11450         * version.el (emacs-copyright): Set copyright year to 2010.
11452 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11454         * format.el (format-annotate-function): Only set
11455         write-region-post-annotation-function after running to-fn so as not to
11456         affect nested write-region calls (bug#5273).
11458 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
11460         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
11461         wisent/python.el.
11463 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11465         * man.el (Man-goto-section): Signal error if the section is not
11466         found (Bug#5317).
11468 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
11470         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
11471         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
11473 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
11475         * progmodes/compile.el: Don't treat compile-command as safe if
11476         compilation-read-command might be nil (Bug#4218).
11478 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
11480         * startup.el (command-line-1): Use orig-argi to check for ignored X and
11481         NS options.
11483 2010-01-08  Kenichi Handa  <handa@m17n.org>
11485         * international/fontset.el (build-default-fontset-data):
11486         Exclude characters in scripts kana, hangul, han, or cjk-misc.
11488 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
11490         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
11491         to `create-file-buffer' as it expects, not just a buffer name.
11492         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
11493         to help uniquify.  (Bug#3224)
11495 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
11497         * font-setting.el (font-setting-change-default-font): Use user-spec
11498         instead of name.
11500 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
11502         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
11504 2010-01-05  Tom Tromey  <tromey@redhat.com>
11506         * progmodes/python.el (python-font-lock-keywords):
11507         Handle qualified decorators (Bug#881).
11509 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11511         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
11512         in a lightweight checkout.
11514 2010-01-05  Kenichi Handa  <handa@m17n.org>
11516         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
11518 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
11520         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
11522 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
11524         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
11525         checkouts.  (Bug#618)
11526         (vc-bzr-log-view-mode): Also highlight the author.
11527         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
11528         (vc-bzr-shelve-menu-map):
11529         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
11530         (vc-bzr-shelve-apply): Make prompt more explicit.
11532 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
11534         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
11535         They are valid characters in URL paths (rfc3986), and at least
11536         Firefox does not understand the encoded version (Bug#3166).
11538 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
11540         * progmodes/octave-mod.el (octave-end-keywords)
11541         (octave-block-begin-or-end-regexp, octave-block-match-alist):
11542         Add "end" keyword (Bug#3061).
11543         (octave-end-as-array-index-p): New function.
11544         (calculate-octave-indent): Use it.
11546 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11548         * bookmark.el: Consistently put the text property on the bookmark name.
11549         (bookmark-bmenu-marks-width): Bump back to 2, to include
11550         annotation marks.
11551         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
11552         property on the bookmark name, instead of not putting it at all.
11553         (bookmark-bmenu-list): Fix where we put the text property.
11555 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11557         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
11558         for showing buffer modified state (as added in the previous change).
11560 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11562         * bookmark.el: Show modified state of bookmark buffer more accurately.
11563         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
11564         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
11565         (with-buffer-modified-unmodified): New macro.
11566         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11567         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
11568         Use new macro to preserve the buffer modified state.
11570 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11572         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
11573         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
11574         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
11575         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
11576         (bookmark-bmenu-rename, bookmark-bmenu-locate)
11577         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
11578         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
11580 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11582         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11583         Make the lines in the generated doc string shorter.  (Bug#4668)
11585 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
11587         * net/rcirc.el: Add follow-link binding (Bug#4738).
11589 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
11591         * Makefile.in (bzr-update): Rename from cvs-update.
11592         (cvs-update): New target for backward compatibility.
11594         * makefile.w32-in (bzr-update): Rename from cvs-update.
11595         (cvs-update): New target for backward compatibility.
11597 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11599         * bookmark.el: Remove gratuitous gratitude.
11601 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11603         * bookmark.el (bookmark-bmenu-any-marks): New function.
11604         (bookmark-bmenu-save): Clear buffer modification if no marks.
11606 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11608         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
11609         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
11610         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
11611         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
11613         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
11614         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
11615         To: emacs-devel {_AT_} gnu.org
11616         Subject: bookmark.el bug report
11617         Date: Mon, 28 Dec 2009 14:19:16 +0800
11618         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
11620 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
11622         * bookmark.el: Improvements suggested by Drew Adams:
11623         (bookmark-bmenu-ensure-position): New name for
11624         `bookmark-bmenu-check-position'.  Just ensure the position,
11625         don't return any meaningful value.
11626         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
11627         New constants.
11629 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
11631         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
11632         (bookmark-yank-point, bookmark-bmenu-check-position):
11633         Fix typos in docstrings.
11634         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
11635         (bookmark-name-from-full-record, bookmark-get-position)
11636         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
11637         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
11638         Remove useless quoting of parenthesis, etc. in docstrings.
11640         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
11641         (ediff-append-custom-diff): Fix typo in error message.
11642         (ediff-meta-mark-equal-files): Fix typos in messages.
11644         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
11646         * net/imap-hash.el (imap-hash-make): Doc fix.
11647         (imap-hash-test): Fix typo in error message; reflow docstring.
11648         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
11649         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
11650         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
11651         Fix typos in docstrings.
11652         (imap-hash-open-connection): Fix typo in error message.
11654         * play/gomoku.el (gomoku): Fix typos in docstring.
11656         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
11657         (gdb-jsonify-buffer): Fix typos in docstring.
11658         (gdb-goto-breakpoint): Fix typo in error message.
11659         ("Display Other Windows"): Fix typo in help message.
11660         (gdb-speedbar-expand-node): Fix typo in question.
11662         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
11663         (idlwave-html-system-help-location, idlwave-html-help-location)
11664         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
11665         (idlwave-help-browser-generic-args, idlwave-help-directory)
11666         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
11667         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
11668         (idlwave-online-help, idlwave-help-html-link)
11669         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
11670         Fix typos in docstrings.
11671         (idlwave-help-with-source, idlwave-help-find-routine-definition):
11672         Reflow docstrings.
11673         (idlwave-help-assistant-start): Fix typo in error message.
11675         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
11676         (octave-electric-space): Fix typos in docstrings.
11678 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
11680         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
11682 2010-01-01  Juri Linkov  <juri@jurta.org>
11684         * comint.el (comint-input-ring-size): Make it a defcustom and
11685         increase the default to 500 (Bug#5148).
11687 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
11689         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
11690         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
11691         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
11693 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
11695         Show working revision correctly for mercurial.
11696         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
11697         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
11699 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
11701         Declare some functions for the byte-compiler.
11702         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
11703         (speedbar-timer-fn, speedbar-change-expand-button-char)
11704         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
11706 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
11708         This changeset reverts GDB Graphical Interface to use annotations.
11709         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
11711 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
11713         Make vc-dir work on subdirectories of the bzr root.
11714         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
11715         Return file names relative to it.
11716         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
11717         relative directory to vc-bzr-after-dir-status.
11719 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
11721         * font-lock.el (font-lock-refresh-defaults): New function, which
11722         can be used to let font-lock react to external changes in
11723         variables like font-lock-defaults and keywords.
11724         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
11726 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
11728         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
11730         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
11732 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
11734         Supersede color.diff settings in git log (bug#5211).
11736         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
11737         escape chars in its output when the user has color.diff set to `always'.
11738         This fix works on git 1.4.2 and newer (released on 2006-08-13).
11740 2009-12-26  Kevin Ryde  <user42@zip.com.au>
11742         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
11743         node.  Keep previous "Index" name to work with past coreutils too.
11745         * man.el (man): Revise docstring a bit to show -a and -l as
11746         examples.  Add -k description since support for it has otherwise
11747         been a secret.  (Further to bug#3717.)
11748         (Man-bgproc-sentinel): When "-k foo" produces no output show error
11749         "no matches" rather than "Can't find manpage", as the latter reads
11750         like -k was interpreted as a page name, which is not so.  (Bug#5431)
11752 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
11754         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
11755         switches.  Check also for //SUBDIRED// line.
11757 2009-12-25  Kenichi Handa  <handa@m17n.org>
11759         * language/indian.el (devanagari-composable-pattern): Fix to
11760         handle ZWNJ and ZWJ.  Use it in composition-function-table for
11761         Devanagari.
11762         (malayalam-composable-pattern): Fix previous change.
11764 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11766         * ps-print.el (ps-face-attributes): It was not returning the
11767         attribute face for faces specified as string.  Reported by harven
11768         <harven@free.fr>.  (Bug#5254)
11769         (ps-print-version): New version 7.3.5.
11771 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
11773         * calendar/icalendar.el (icalendar--convert-tz-offset):
11774         Fix timezone names.
11775         (icalendar--convert-tz-offset): Fix the "last-day-problem".
11776         (icalendar--add-diary-entry): Remove the trailing blank that
11777         diary-make-entry inserts.
11779 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
11781         Make `file-expand-wildcards' work for remote files.
11783         * files.el (file-expand-wildcards): In case of remote files, check
11784         only local file name part for wildcards.  Provide feature 'files
11785         and subfeature 'remote-wildcards.  (Bug#5198)
11787         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
11788         if there is already an established connection.
11789         (tramp-advice-file-expand-wildcards): Remove it.
11791         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
11792         (tramp-advice-file-expand-wildcards): Move from tramp.el.
11793         Activate advice for older GNU Emacs versions.  (Bug#5237)
11795 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
11797         Some doc fixes (more needed).
11799         * find-cmd.el (find-constituents): Reflow docstring.
11800         (find-cmd, find-prune, find-command): Fix typos in docstrings.
11801         (find-generic): Doc fix.
11803 2009-12-17  Juri Linkov  <juri@jurta.org>
11805         Fix regression from 23.1 to allow multiple modes in Local Variables.
11807         * files.el (hack-local-variables-filter): While ignoring duplicates,
11808         don't take `mode' into account.
11809         (hack-local-variables-filter, hack-dir-local-variables):
11810         Don't remove duplicate `mode' from local-variables-alist (like `eval').
11812 2009-12-17  Juri Linkov  <juri@jurta.org>
11814         Make `dired-diff' safer.  (Bug#5225)
11816         * dired-aux.el (dired-diff): Signal an error when `file' equals to
11817         `current' or when `file' is a directory of the `current' file.
11819 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
11821         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11822         unconditionally preloaded files.
11824 2009-12-16  Juri Linkov  <juri@jurta.org>
11826         Revert to old 23.1 logic of using the file at the mark as default.
11827         * dired-aux.el (dired-diff): Use the file at the mark as default
11828         if it's not the same as the current file, and the target dir is
11829         the current dir or the mark is active.  Add the current file
11830         as the arg of `dired-dwim-target-defaults'.  Use the default file
11831         in the prompt.  (Bug#5225)
11833 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
11835         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11836         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11837         (tramp-check-for-regexp): Check also, when an echoing shell stops
11838         to echo sent commands.
11840 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11842         * Makefile.in: Revert last change (Bug#5191).
11844 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
11846         * vc-hg.el (vc-hg-print-log): Fix argument order.
11847         (vc-hg-working-revision): Make sure the command is executed in a
11848         known environment so that we can parse the output.  (Bug#4417)
11850 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11852         * progmodes/python.el (python-symbol-completions): Remove text
11853         properties from symbol string before calling python-send-receive.
11855 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
11857         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11858         when there are values for both file and line.  (Bug#5060)
11860 2009-12-14  Juri Linkov  <juri@jurta.org>
11862         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11863         whitespace after the file name of the first line of unified format,
11864         because git-diff doesn't output whitespace and file modification time
11865         after the file name.
11867 2009-12-14  David Kastrup  <dak@gnu.org>
11869         * info.el (Info-hide-cookies-node): Before hiding a cookie,
11870         check if it already has the `display' property added by
11871         `Info-display-images-node', and not put the `invisible' property
11872         in this case.
11874 2009-12-13  Glenn Morris  <rgm@gnu.org>
11876         * mail/emacsbug.el (message-sort-headers): Define for compiler.
11877         (report-emacs-bug): In message-mode, sort manually before storing
11878         original report text.  (Bug#5178)
11879         Remove superfluous save-excursion.
11881 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
11883         * net/dbus.el (dbus-property-handler): Filter lambda forms out
11884         when responding to "GetAll" properties.
11886 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
11888         * simple.el (compose-mail): Remove mail-setup-with-from from
11889         customization checks.
11891 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
11893         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11894         RAR archives created on Unix systems.
11896 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11898         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11899         the varalias that was accidentally removed by the 2009-11-19 change
11900         (bug#5186).
11902 2009-12-12  Kenichi Handa  <handa@m17n.org>
11904         * language/indian.el (indian-compose-regexp): New function.
11905         (malayalam-composable-pattern): Fix the pattern.
11906         (composition-function-table): Set malayalam-composable-pattern for
11907         Malayalam characters.
11909 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
11911         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11912         rather than down-mouse-1, based on follow-link conventions.
11914         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11915         are compiled.
11917 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
11919         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11920         (verilog-vmm-statement-re, verilog-ovm-statement-re)
11921         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11922         (verilog-leap-to-head, verilog-backward-token):
11923         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
11925 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
11927         * progmodes/verilog-mode.el (verilog-auto-lineup)
11928         (verilog-nameable-item-re): Cleanup user-visible spelling and
11929         documentation errors.  One reported by Gary Delp.
11930         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11931         (verilog-read-decls): Fix AUTOWIRE with types declared in a
11932         package, bug195.  Reported by Pierre-David Pfister.
11934 2009-12-11  Glenn Morris  <rgm@gnu.org>
11936         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11938         * mail/emacsbug.el: No longer require sendmail.
11939         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
11940         (report-emacs-bug-orig-text): Doc fix.
11941         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11942         New local variables, to adapt to different mail-user-agents.
11943         (report-emacs-bug): Fix test for a gnu.org address.
11944         Use overlays for emphasis, since font-lock defeats 'face property.
11945         Pretest bugs also end up at the newsgroup these days.
11946         Stop message-mode stripping text properties.
11947         Set and use the new buffer-local variables.
11948         (report-emacs-bug-hook): Add doc-string.
11949         Remove some unnecessary save-excursions and simplify.
11950         Use the appropriate hook and send-command.
11952         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11953         capitalization of some menu entries.
11955 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11957         * whitespace.el (whitespace-display-char-on):
11958         Ensure `buffer-display-table' is unique when two or more windows are
11959         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11960         New version 12.1.
11962 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11964         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11965         characters in the Attribute field.
11967 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11969         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11971 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11973         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11974         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11975         Disregard autoload-excludes.
11976         (update-directory-autoloads): Obey autoload-excludes here instead.
11977         But don't store its contents in no-autoloads and remove entries that
11978         refer to excludes files.
11980 2009-12-10  Glenn Morris  <rgm@gnu.org>
11982         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11983         (expand-mail-aliases): Define for compiler.
11985         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11986         Define for compiler.
11988         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11989         appropriate for the mail-user-agent in use.
11991 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11993         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11995 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11997         Fix short log parsing and fontification.
11998         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11999         Fix fontification for the [merge] label.
12001 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
12003         Drop some properties to avoid surprises (bug#5002).
12004         * htmlfontify.el (hfy-ignored-properties): New defcustom.
12005         (hfy-fontify-buffer): Use it.
12007 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12009         Minor cleanup.
12010         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
12011         Adjust all callers.
12012         (ffap-locate-file): Remove unused arg `dir-ok' and make other
12013         args compulsory.  Adjust callers.
12014         (ffap-gopher-at-point): Remove unused var `name'.
12016         Get rid of the ELCFILES abomination.
12017         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12018         (compile-elcfiles): New phony target.
12019         (compile-main): Compute ELCFILES dynamically.
12020         (compile-clean): New target to remove left-over elc files.
12021         (compile, all): Use it.
12023 2009-12-09  Kenichi Handa  <handa@etlken>
12025         * international/mule-diag.el: Require help-mode instead of help-fns.
12027 2009-12-09  Kenichi Handa  <handa@m17n.org>
12029         * international/mule-cmds.el (ucs-names): Supply sufficiently
12030         fine ranges instead of pre-calculating accurate ranges.
12031         Iterate with bigger gc-cons-threshold.
12033 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
12035         Add support for stashing a snapshot of the current tree.
12036         * vc-git.el (vc-git-stash-snapshot): New function.
12037         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
12039 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
12041         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
12042         instead of `(beginning|end)-of-line'.
12044 2009-12-08  Glenn Morris  <rgm@gnu.org>
12046         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
12048         * Makefile.in (ELCFILES): Regenerate.
12050 2009-12-07  Juri Linkov  <juri@jurta.org>
12052         Don't lazy-highlight the comint output in history Isearch mode.
12054         * comint.el (comint-history-isearch-search): Instead of
12055         `comint-line-beginning-position', use `comint-after-pmark-p'
12056         to check if point if before the process mark, and go to
12057         `process-mark' in this case.
12059 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12061         * textmodes/tex-mode.el (latex-complete)
12062         (latex-indent-or-complete): Remove.
12063         (latex-mode): Set completion-at-point-functions instead.
12065         Provide a standard completion command and hook it into TAB.
12066         * minibuffer.el (completion-at-point-functions): New var.
12067         (completion-at-point): New command.
12068         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
12069         * progmodes/python.el (python-mode-map): Use completion-at-point.
12070         (python-completion-at-point): Rename from python-partial-symbol and
12071         adjust for use in completion-at-point-functions.
12072         (python-mode): Setup completion-at-point for Python completion.
12073         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
12074         extracted from lisp-complete-symbol.
12075         (lisp-complete-symbol): Use it.
12076         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
12077         setup completion-at-point for Elisp completion.
12078         (emacs-lisp-mode-map, lisp-interaction-mode-map):
12079         Use completion-at-point.
12080         * ielm.el (ielm-map): Use completion-at-point.
12081         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
12082         * progmodes/sym-comp.el: Move to...
12083         * obsolete/sym-comp.el: Move from progmodes.
12085 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
12087         Prevent save-buffer in Rmail buffers from using the coding-system
12088         of the current message, and from clobbering the encoding mnemonics
12089         in the mode line (Bug#4623).
12091         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
12092         flag, too.
12093         (rmail-message-encoding): New variable.
12094         (rmail-write-region-annotate): Record the encoding of the current
12095         message in rmail-message-encoding.
12096         (rmail-after-save-hook): New function, restores the encoding of
12097         the current message after the message collection is saved.
12099 2009-12-07  Juri Linkov  <juri@jurta.org>
12101         * progmodes/grep.el (grep-read-files): Use `completing-read'
12102         instead of `read-string'.  Set its `collection' arg to
12103         `read-file-name-internal'.  (Bug#4301)
12105 2009-12-07  Juri Linkov  <juri@jurta.org>
12107         Correctly restore original Isearch point.  (Bug#4994)
12109         * isearch.el (isearch-mode): Move `isearch-push-state' after
12110         `(run-hooks 'isearch-mode-hook)'.
12111         (isearch-cancel): When `isearch-push-state-function' is defined,
12112         let-bind `isearch-cmds' to the first state (the last element of
12113         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
12114         function and restores the original point).  Otherwise, move point
12115         to `isearch-opoint'.
12117 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12119         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
12120         chars that don't have names, so the table can be built much faster at
12121         run-time.
12123 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
12125         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
12126         change.  Suggested by David Kastrup.
12128         * simple.el (compose-mail): Check for incompatibilities and warn.
12129         (compose-mail-user-agent-warnings): New option.
12131 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12133         Support showing a single log entry from vc-annotate.
12134         * vc.el (print-log): Add a new argument: START-REVISION.
12135         (vc-print-log-internal): Add a new optional argument and
12136         pass it to the backend.
12137         (vc-print-log, vc-print-root-log): Adjust callers.
12138         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
12139         buffer already displays the requested log entry, use it.
12140         Otherwise display only the log entry in question.
12141         * vc-svn.el (vc-svn-print-log):
12142         * vc-mtn.el (vc-mtn-print-log):
12143         * vc-hg.el (vc-hg-state):
12144         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
12145         (vc-git-show-log-entry): Return t on success.
12146         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
12147         (vc-bzr-show-log-entry): Return t on success.
12148         * vc-rcs.el (vc-rcs-print-log):
12149         * vc-sccs.el (vc-sccs-print-log):
12150         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
12152 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12154         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
12155         Add menus to the meta mode.  (Bug#5043)
12157 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
12159         * ediff-init.el (ediff-event-key): Use event-to-character instead of
12160         event-key.
12162         * ediff.el (ediff-buffers-internal): Add unwind-protect.
12164 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
12166         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
12167         Berbain <raphael.berbain@gmail.com>.
12169         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
12170         characters.
12171         (tramp-initial-end-of-output): New defconst.
12172         (tramp-methods, tramp-find-shell)
12173         (tramp-open-connection-setup-interactive-shell)
12174         (tramp-maybe-open-connection): Use it.
12175         (tramp-shell-prompt-pattern, tramp-wait-for-output):
12176         Handle existence of `#' and `$'.
12178         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
12179         Use `tramp-initial-end-of-output'.
12181 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
12183         Get the background mode from the terminal for xterm, and set
12184         faces accordingly.
12185         * term/xterm.el (xterm-set-background-mode): New function.
12186         (terminal-init-xterm): Use it in case xterm supports background
12187         color queries.  Recompute faces after getting the background
12188         color.
12190 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
12192         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
12193         number comment back on its own line, for easier parsing.
12195 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12197         Make it work for non-file buffers (bug#5102).
12198         * doc-view.el (doc-view-current-cache-dir):
12199         Use doc-view-buffer-file-name rather than buffer-file-name.
12200         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
12202 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
12204         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
12205         author field is too short.
12207 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
12209         * vc-git.el (vc-git-print-log): Handle a limit argument.
12210         Display the short log in graph form and with labels.
12211         (vc-git-log-view-mode): Handle labels.
12213         Make vc-revert change VC state from 'added to 'unregistered.
12214         * vc-git.el (vc-git-revert): Call git reset first.
12216 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12218         * net/newst-backend.el, net/newst-plainview.el:
12219         * net/newst-reader.el, net/newst-ticker.el:
12220         * net/newst-treeview.el, net/newsticker.el:
12221         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
12223 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12225         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
12227         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
12228         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
12229         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
12230         Update annotation regexp.
12232         * simple.el (beginning-of-visual-line): Constrain to field
12233         boundaries (Bug#5106).
12235 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
12237         * xml.el (xml-substitute-numeric-entities):
12238         Move newsticker--decode-numeric-entities in newst-backend.el to
12239         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12240         * net/newst-backend.el (newsticker--parse-generic-feed)
12241         (newsticker--parse-generic-items)
12242         (newsticker--decode-numeric-entities):
12243         Move newsticker--decode-numeric-entities in newst-backend.el to
12244         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
12246 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
12248         * progmodes/js.el (js--js-not): Add null to the list of values.
12250 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
12252         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
12254 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12256         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
12257         delimiter if it is at the end of the current line.
12258         (bibtex-generate-url-list): Fix docstring.
12260 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12262         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
12263         minibuffer's content with itself.
12264         Fold the confirm-after-completion case into the `confirm' case.
12265         (completion-pcm-word-delimiters): Add : and / to the delimiters.
12267 2009-12-06  Kevin Ryde  <user42@zip.com.au>
12269         * ffap.el (ffap-rfc-path): Make this a defcustom since
12270         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
12272         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
12273         manuals, similar to existing setup for help-mode.  (Bug#3913.)
12275 2009-12-05  Juri Linkov  <juri@jurta.org>
12277         Save and restore dired buffer's point positions too.  (Bug#4880)
12279         * dired.el (dired-save-positions): Return in the first element
12280         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
12281         Doc fix.
12282         (dired-restore-positions): First restore buffer's position.
12283         While restoring window's positions, check if window still displays
12284         the original buffer.
12286 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
12288         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
12289         if possible.
12291         * shell.el (shell): Require ansi-color (Bug#5113).
12293         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
12295         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
12297 2009-12-05  Alan Mackenzie  <acm@muc.de>
12299         * progmodes/cc-mode.el (c-before-hack-hook)
12300         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
12301         `c-file-style' to work again.  This reversion restores the current
12302         software to its state in Emacs 23.1.  (Bug#4146)
12304 2009-12-05  Kevin Ryde  <user42@zip.com.au>
12306         * textmodes/sgml-mode.el (sgml-lexical-context):
12307         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
12309 2009-12-05  Juri Linkov  <juri@jurta.org>
12311         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
12312         for virtual nodes.  (Bug#4147)
12313         (Info-find-node-2): Set `Info-current-node-virtual' to nil
12314         when moving from a virtual node.
12315         (Info-mode-menu): Add `Info-virtual-index' to the menu.
12316         (Info-mode): Add `Info-virtual-index' to the docstring.
12318 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12320         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
12321         track of the buffer position of the end of a BibTeX entry as this
12322         position may change during reformatting.
12323         (bibtex-format-entry): Remove whitespace before processing
12324         numerical fields so that we recognize the latter properly.
12325         (bibtex-reformat): Do not use push which changes the global value
12326         of bibtex-entry-format.
12327         (bibtex-field-braces-alist, bibtex-field-strings-alist)
12328         (bibtex-field-re-init): Replace only space characters by regexp
12329         for whitespace.
12330         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
12331         (bibtex-initialize): Also update bibtex-strings.
12332         (bibtex-kill-field): Preserve white space at end of entry.
12333         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
12334         Update bibtex-reference-keys.
12336 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12338         * minibuffer.el (completion-pcm--merge-try): Also consider placing
12339         point after a star, if that's the only place where modifications can
12340         make progress.
12342 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
12344         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
12345         in docstrings.
12347 2009-12-04  Juri Linkov  <juri@jurta.org>
12349         * proced.el (proced): Call `(proced-update t)' to update process
12350         information instead of only running proced-post-display-hook.
12351         (proced-send-signal): Add a leading space to the buffer name
12352         " *Marked Processes*" to make this buffer ephemeral.
12354 2009-12-04  Juri Linkov  <juri@jurta.org>
12356         * dired.el (dired-auto-revert-buffer): New defcustom.
12357         (dired-internal-noselect): Use it.
12359 2009-12-04  Juri Linkov  <juri@jurta.org>
12361         Change roles of modes and functions in image-mode.el (Bug#5062).
12363         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
12364         in `auto-mode-alist'.
12365         (image-mode-previous-major-mode): New variable.
12366         (image-minor-mode-map): Rename from `image-mode-text-map'.
12367         (image-mode): Move graceful error-handling code from
12368         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
12369         (image-minor-mode): Remove all image-handling code.
12370         Replace `image-mode-text-map' with `image-minor-mode-map'.
12371         Check for `image-type' in mode-line format string.
12372         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
12373         (image-mode-as-text): New function with most code from
12374         `image-mode-maybe'.
12375         (image-toggle-display-text): Move code that removes image
12376         properties from `image-toggle-display' to here.
12377         (image-toggle-display-image): New function with code that adds
12378         image properties copied from `image-toggle-display'.
12379         (image-toggle-display): Remove most code with leaving only code
12380         that toggles between `image-mode-as-text' and `image-mode'.
12382 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
12384         * net/newst-treeview.el
12385         (newsticker--treeview-list-highlight-start): Restored call to
12386         save-excursion: Selected item was stuck.
12387         (newsticker--treeview-list-select): New.
12388         (newsticker--treeview-item-show-text)
12389         (newsticker--treeview-item-show)
12390         (newsticker--treeview-item-update): Use new
12391         newsticker-treeview-item-mode.
12392         (newsticker-treeview-update): Keep current item.
12393         (newsticker-treeview-next-new-or-immortal-item): Doc change.
12394         (newsticker--treeview-first-feed): Doc change.
12395         (newsticker-treeview-list-menu)
12396         (newsticker-treeview-item-menu): Add menu entries.
12397         (newsticker-treeview-item-mode): New.
12399         * net/newst-backend.el (newsticker-customize): Delete other
12400         windows.
12402 2009-12-04  Sam Steingold  <sds@gnu.org>
12404         * log-view.el (log-view-mode-map): "q" calls quit-window,
12405         like in all the other non-self-insert buffers.
12407 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12409         Minor cleanup.
12410         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
12411         key decoding rather than do it manually via last-input-event +
12412         ascii-character.
12413         (term-exec): Use delete-and-extract-region.
12414         (term-handle-ansi-terminal-messages): Remove unused var `end'.
12415         (term-process-pager): Remove unused var `i'.
12416         (term-dynamic-simple-complete): Make obsolete.
12417         (serial-update-config-menu): Remove unused vars `y' and `str'.
12418         (term-update-mode-line): Remove unused var `temp'.
12420 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12422         Limit the number of log entries displayed by default.
12423         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
12424         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
12425         using a prefix argument.
12427 2009-12-03  Glenn Morris  <rgm@gnu.org>
12429         * progmodes/idlwave.el (class): Restore still useful declaration.
12431 2009-12-03  Alan Mackenzie  <acm@muc.de>
12433         Enhance `c-parse-state' to run efficiently in "brace deserts".
12435         * progmodes/cc-mode.el (c-basic-common-init):
12436         Call c-state-cache-init.
12437         (c-neutralize-syntax-in-and-mark-CPP): Rename from
12438         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
12439         placing `category' properties value 'c-cpp-delimiter at its boundaries.
12441         * progmodes/cc-langs.el (c-before-font-lock-function):
12442         c-extend-and-neutralize-syntax-in-CPP has been renamed
12443         c-neutralize-syntax-in-and-mark-CPP.
12445         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
12446         with `category' properties now, not `syntax-table' ones.
12448         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
12449         enhanced (but slower) version of c-end-of-macro that won't land
12450         inside a literal or on another awkward character.
12451         (c-state-cache-too-far, c-state-cache-start)
12452         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
12453         (c-state-nonlit-pos-cache-limit, c-state-point-min)
12454         (c-state-point-min-lit-type, c-state-point-min-lit-start)
12455         (c-state-min-scan-pos, c-state-brace-pair-desert)
12456         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
12457         buffer local variables.
12458         (c-state-literal-at, c-state-lit-beg)
12459         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
12460         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
12461         (c-state-cache-top-paren, c-state-cache-after-top-paren)
12462         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
12463         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
12464         (c-renarrow-state-cache)
12465         (c-append-lower-brace-pair-to-state-cache)
12466         (c-state-push-any-brace-pair, c-append-to-state-cache)
12467         (c-remove-stale-state-cache)
12468         (c-remove-stale-state-cache-backwards, c-state-cache-init)
12469         (c-invalidate-state-cache-1, c-parse-state-1)
12470         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
12471         (c-parse-state): Enhance and refactor.
12472         (c-debug-parse-state): Amend to deal with all the new variables.
12474         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
12475         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
12476         modify to use category text properties rather than syntax-table ones.
12477         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
12478         to switch off/on the syntactic paren property of C++ template
12479         delimiters using the category property.
12480         (c-with-<->-as-parens-suppressed): Macro to invoke code with
12481         template delims suppressed.
12482         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
12483         New constant/macros which apply category properties to the start
12484         and end of preprocessor constructs.
12485         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
12486         "comment out" the syntactic value of characters in preprocessor
12487         constructs.
12488         (c-with-cpps-commented-out)
12489         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
12490         with characters in all or all but one preprocessor constructs
12491         "commented out".
12493 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
12495         * proced.el (proced-filter-alist): Use regexp-quote.
12497 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
12499         Cleanup.
12500         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
12501         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
12502         arguments.  Expand `default-directory'.
12504         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
12505         the benefit of returning an expanded localname.
12506         (tramp-tramp-file-p): Handle the case NAME is not a string.
12508 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12510         Add support for bzr shelve/unshelve.
12511         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
12512         (vc-bzr-extra-menu-map): New variables.
12513         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
12514         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
12515         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
12516         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
12517         (vc-bzr-dir-extra-headers): Display shelves.
12519         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
12521 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12523         * textmodes/bibtex.el (bibtex-complete-internal):
12524         Use completion-in-region.
12525         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
12527 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
12529         Support applying stashes.  Improve UI.
12530         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
12531         (vc-git-stash-apply, vc-git-stash-pop)
12532         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
12533         (vc-git-stash-menu): New functions.
12534         (vc-git-stash-menu-map): New variable.
12535         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
12537 2009-12-03  Glenn Morris  <rgm@gnu.org>
12539         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
12540         (vc-print-log-internal): Fix previous change.
12541         (vc-revert): Correct pluralization.
12543 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12545         * progmodes/make-mode.el (makefile-special-targets-list): No need for
12546         it to be an alist any more.
12547         (makefile-complete): Use completion-in-region.
12549         * progmodes/octave-mod.el (octave-complete-symbol):
12550         Use completion-in-region.
12552         Misc cleanup.
12553         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
12554         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
12555         (idlwave-complete-class): Don't quote lambda.
12556         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
12557         (idlwave-mode-map): Move initialization into declaration.
12558         (idlwave-action-and-binding): Use backquotes.
12559         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
12560         Simplify.
12561         (idlwave-is-pointer-dereference): Remove unused var `pos'.
12562         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
12563         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
12564         `parts', and `all-parts'.
12565         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
12566         (idlwave-convert-xml-system-routine-info): Remove unused string
12567         `version-string'.
12568         (idlwave-display-user-catalog-widget): Use dolist.
12569         (idlwave-scanning-lib): Declare dynamically-scoped var.
12570         (idlwave-scan-library-catalogs): Remove unused var `flags'.
12571         (completion-highlight-first-word-only): Declare to silence bytecomp.
12572         (idlwave-popup-select): Tighten scope of `resp'.
12573         (idlwave-find-struct-tag): Remove unused var `beg'.
12574         (idlwave-after-load-rinfo-hook): Declare.
12575         (idlwave-sintern-class-info): Remove unused var `taglist'.
12576         (idlwave-find-class-definition): Remove unused var `list'.
12577         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
12578         (idlwave-what-module-find-class): Remove unused var `classes'.
12580 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
12582         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
12584 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12586         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
12587         buffers visited.  Remove redundant current-buffer-saving.
12589 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12591         Use completion-in-buffer and remove uses of dynamic scoping.
12592         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
12593         (pascal-buffer-to-use, pascal-flag): Don't declare.
12594         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
12595         (pascal-get-completion-decl, pascal-keyword-completion):
12596         Add `pascal-str' argument, save-excursion,
12597         return the found completions, and don't filter with pascal-pred.
12598         (pascal-completion-cache): New var.
12599         (pascal-completion): Don't switch buffer any more (it was never
12600         necessary).  Don't save-excursion any more (it's done by the called
12601         subroutines).  Use a cache to avoid redundant computations.
12602         Use complete-with-action rather than pascal-completion-response and
12603         let it apply the predicate as well.
12604         (pascal-complete-word): Use completion-in-buffer when
12605         pascal-toggle-completions is nil.
12606         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
12607         not used any more.
12608         (pascal-comp-defun): Don't change buffer any more.
12609         Use complete-with-action rather than pascal-completion-response and
12610         let it apply the predicate as well.
12611         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
12612         when neded.
12614 2009-12-02  Kenichi Handa  <handa@m17n.org>
12616         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
12617         shape for all Indic scripts.
12619 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12621         Use completion-in-buffer.
12622         * wid-edit.el (widget-field-text-end): New function.
12623         (widget-field-value-get): Use it.
12624         (widget-string-complete, widget-file-complete)
12625         (widget-color-complete): Use it and completion-in-region.
12626         (widget-complete): Don't narrow the buffer.
12628 2009-12-02  Glenn Morris  <rgm@gnu.org>
12630         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
12631         (rmail-select-summary): Use rmail-pop-to-buffer.
12632         * mail/rmailsum.el: Replace all pop-to-buffer calls with
12633         rmail-pop-to-buffer, to prevent horizontal splits.
12635         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
12636         save-excursion with save-current-buffer.
12637         Widen before searching.  (Bug#5093)
12638         (diary-list-sexp-entries): Remove superfluous save-excursion.
12640 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
12642         * woman.el (woman-make-bufname): Handle man-pages with "." in the
12643         name.  (Bug#5038)
12645 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
12647         * ido.el (ido-file-internal): Handle filenames at point that do
12648         not have a directory part.  (Bug#5049)
12650 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
12652         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
12653         (mpc-songs-jump-to, mpc-resume): Doc fixes.
12655 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
12657         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
12658         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
12659         any more.
12661 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12663         * comint.el (comint-insert-input): Ignore clicks to the right of
12664         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
12666         * vc.el (vc-print-log-internal): Don't wait for the process to
12667         terminate before setting up the major mode.
12669         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
12670         in case.
12672         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
12673         the last element.
12675         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
12677 2009-12-01  Glenn Morris  <rgm@gnu.org>
12679         * window.el (window--display-buffer-2): Fix previous changes.
12681 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
12683         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
12685 2009-12-01  Glenn Morris  <rgm@gnu.org>
12687         * Makefile.in (ELCFILES): Add mpc.elc.
12689 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12691         * mpc.el: New file.
12693 2009-12-01  Glenn Morris  <rgm@gnu.org>
12695         * window.el (window-to-use): Define for compiler.
12697         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
12698         consistent with others (no final period).
12700         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
12701         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
12703 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
12705         Make vc-print-log buttons work.
12706         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
12708 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
12710         * savehist.el (savehist-autosave-interval): Allow setting to nil
12711         through customize.  (Bug#5056)
12713 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
12715         Fix references to jit-lock properties.
12716         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
12717         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
12718         (perl-font-lock-special-syntactic-constructs):
12719         Quote jit-lock-defer-multiline property.
12721 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
12723         * vc-git.el (vc-git-registered): Call vc-git-root only once.
12725 2009-11-30  Juri Linkov  <juri@jurta.org>
12727         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
12728         value `buffer' of `multi-isearch-next-buffer-current-function'.
12729         Use `(current-buffer)' when `buffer' is nil.
12730         (multi-isearch-next-buffer-from-list): Don't fallback to
12731         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
12733 2009-11-30  Juri Linkov  <juri@jurta.org>
12735         * misearch.el (multi-isearch-read-buffers): Move canonicalization
12736         of buffers with `get-buffer' to `multi-isearch-buffers'.
12737         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12738         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
12739         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
12740         FILES with `expand-file-name' converting relative file names
12741         to absolute.  Doc fix.  (Bug#4727)
12743 2009-11-30  Juri Linkov  <juri@jurta.org>
12745         * misearch.el (multi-isearch-read-buffers)
12746         (multi-isearch-read-matching-buffers): New functions.
12747         (multi-isearch-buffers, multi-isearch-buffers-regexp):
12748         Use them in the `interactive' spec.  Doc fix.
12749         (multi-isearch-read-files, multi-isearch-read-matching-files):
12750         New functions.
12751         (multi-isearch-files, multi-isearch-files-regexp):
12752         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
12754 2009-11-30  Juri Linkov  <juri@jurta.org>
12756         * doc-view.el (doc-view-continuous):
12757         Rename from `doc-view-continuous-mode'.
12758         (doc-view-menu): Move "Toggle display" to the top.
12759         Add submenu "Continuous" with radio buttons "Off"/"On"
12760         and "Save as Default".
12761         (doc-view-scroll-up-or-next-page)
12762         (doc-view-scroll-down-or-previous-page)
12763         (doc-view-next-line-or-next-page)
12764         (doc-view-previous-line-or-previous-page):
12765         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
12767 2009-11-30  Juri Linkov  <juri@jurta.org>
12769         * comint.el (comint-mode-map): Rebind `M-r' from
12770         `comint-previous-matching-input' to
12771         `comint-history-isearch-backward-regexp'.
12772         Unbind `M-s' to allow global key binding `M-s'.
12773         Add menu items for `comint-history-isearch-backward' and
12774         `comint-history-isearch-backward-regexp'.  (Bug#3746)
12776 2009-11-30  Juri Linkov  <juri@jurta.org>
12778         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
12779         For def=recenter, replace `recenter' with `recenter-top-bottom'
12780         that is called with `this-command' and `last-command' let-bound
12781         to `recenter-top-bottom'.  When the last `def' was not `recenter',
12782         set `recenter-last-op' to nil.  (Bug#4981)
12784 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12786         Minor cleanup and simplification.
12787         * filecache.el (file-cache-add-directory)
12788         (file-cache-add-directory-recursively)
12789         (file-cache-add-from-file-cache-buffer)
12790         (file-cache-delete-file-regexp, file-cache-delete-directory)
12791         (file-cache-files-matching-internal, file-cache-display): Use dolist.
12792         (file-cache-temp-minibuffer-message): Delete function.
12793         (file-cache-minibuffer-complete): Use minibuffer-message instead.
12795         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
12796         Don't signal an error when bumping into EOB in tr, s, or y.
12798 2009-11-29  Juri Linkov  <juri@jurta.org>
12800         * startup.el (fancy-about-text): Fix wording of Guided Tour.
12801         (Bug#4960)
12803         * descr-text.el (describe-char-unidata-list): Use lowercase name
12804         for "Unicode name" like in other tags.
12806 2009-11-29  Juri Linkov  <juri@jurta.org>
12808         * ediff-util.el (ediff-minibuffer-with-setup-hook):
12809         New compatibility macro.
12810         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12812 2009-11-29  Juri Linkov  <juri@jurta.org>
12814         Add defcustom to define the cycling order of `recenter-top-bottom'.
12815         (Bug#4981)
12817         * window.el (recenter-last-op): Doc fix.
12818         (recenter-positions): New defcustom.
12819         (recenter-top-bottom): Rewrite to use `recenter-positions'.
12820         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12822 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
12824         Improve integration of Tramp and ange-ftp in eshell.
12826         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12827         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
12828         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
12830         * eshell/esh-util.el (top): Require also Tramp when compiling.
12831         (eshell-directory-files-and-attributes): Check for FTP remote
12832         connection.
12833         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12834         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12835         (eshell-file-attributes): Handle ".".  Return `entry'.
12837         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12838         (ange-ftp-directory-files-and-attributes)
12839         (ange-ftp-real-directory-files-and-attributes): New defuns.
12841         * net/tramp.el (tramp-maybe-open-connection): Open the remote
12842         shell with "exec" when possible.  This prevents trailing prompts
12843         in `start-file-process'.
12845 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12847         Try and remove assumptions about point-min==1.
12848         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12849         (rng-compute-mode-line-string): Show the validation percentage in
12850         terms of the narrowed text, not the widened text.
12851         (rng-do-some-validation): Don't catch internal errors when debugging.
12852         (rng-first-error): Simplify.
12853         (rng-after-change-function): Remove work around.  AFAIK the bug has
12854         been fixed a while ago.
12856         * image-mode.el (image-minor-mode): Exit more gracefully when the image
12857         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12859         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12861         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12862         `cd' doesn't always do it for us (bug#5067).
12864         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12865         on 2009-10-25 as part of some other change (bug#5067).
12867 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12869         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12870         `suspicious'.
12871         (byte-compile-warnings): Use byte-compile-warning-types.
12872         (byte-compile-save-excursion): Warn about use of set-buffer right
12873         after save-excursion.
12875         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12876         the excursion as well.
12878 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
12880         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12881         providing a Tramp related implementation of "su" and "sudo".
12882         (eshell-unix-initialize): Add "su" and "sudo".
12884 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
12886         * net/socks.el (socks-send-command): Convert binary request to
12887         unibyte before sending.  This fixes mishandling of some port
12888         numbers such as 129.
12890 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12892         * help.el (describe-bindings-internal): Remove `interactive'.
12894         * man.el (Man-completion-table): Trim a terminating "(".
12895         Remove the space between name page a section.
12896         Add the command's description on the `help-echo' property.
12897         Remove `process-connection-type' binding since it's unused by
12898         call-process.
12899         Provide completion for the "<section> <name>" format as well.
12900         (Man-default-man-entry): Remove spurious var shadowing the argument.
12902 2009-11-26  Kevin Ryde  <user42@zip.com.au>
12904         * log-view.el: Add "Keywords: tools", since its other keywords
12905         aren't in finder-known-keywords, and following vc.el.
12907         * sha1.el (sha1-string-external): default-directory "/" in case
12908         otherwise non-existent.  process-connection-type pipe for touch of
12909         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
12911 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12913         Misc coding convention cleanups.
12914         * htmlfontify.el (hfy-init-kludge-hook): Rename from
12915         hfy-init-kludge-hooks.
12916         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12917         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12918         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12919         and push.
12920         (hfy-slant, hfy-weight): Use tables rather than code.
12921         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12922         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12923         (hfy-face-attr-for-class): Initialize `face-spec' directly.
12924         (hfy-face-to-css): Remove `nconc' with single arg.
12925         (hfy-p-to-face-lennart): Use `or'.
12926         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
12927         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12928         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12929         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12930         (hfy-force-fontification): Use run-hooks.
12932 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
12934         Various minor fixes.
12935         * htmlfontify.el (hfy-default-header): Add toggle_invis since
12936         Javascript belongs in the header, not the body.
12937         (hfy-javascript): Remove.
12938         (hfy-fontify-buffer): Don't insert it any more.
12939         (hfy-face-at): Handle (face0 face1 face2) style face properties.
12940         Fix bug in invis handling when there were no invis props in a chunk.
12942 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12944         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12946 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
12948         * finder.el (finder-mode-map): Add a menu.
12950 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12952         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12953         "unsigned" structs.
12955         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12956         fork" statement better.
12958 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12960         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12961         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12962         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12963         Reported by Clay Douglass.
12965         (verilog-auto-inst, verilog-auto-star-safe)
12966         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12967         Fix removing "// Interfaces" when saving .* expansions.
12968         Reported by Pierre-David Pfister.
12970 2009-11-26  Glenn Morris  <rgm@gnu.org>
12972         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12973         the scope.
12975 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12977         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12978         Really use previous revision.
12980 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12982         * man.el (Man-completion-table): default-directory "/" in case
12983         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12984         not to truncate long names.  process-connection-type pipe to avoid
12985         any chance of hitting the pseudo-tty TIOCGWINSZ.
12986         (man): completion-ignore-case t for friendliness and since man
12987         itself is case-insensitive on the command line.
12988         Further to Bug#3717.
12990         * arc-mode.el: Add "Keywords: files", so the details in its
12991         commentary can be reached from finder-by-keyword.
12992         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12993         editing mode, but it's comms related and sgml-mode.el has "comm"
12994         on that basis too.
12995         * textmodes/bibtex-style.el: Add "Keywords: tex".
12996         * international/isearch-x.el, international/ja-dic-cnv.el:
12997         * international/ja-dic-utl.el, international/kkc.el:
12998         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
13000 2009-11-25  Juri Linkov  <juri@jurta.org>
13002         * man.el (Man-completion-table): Modify regexp to include
13003         section names to completion strings.  (Bug#3717)
13005 2009-11-25  Juri Linkov  <juri@jurta.org>
13007         Search recursively in gzipped files.  (Bug#4982)
13009         * progmodes/grep.el (grep-highlight-matches): Add new options
13010         `always' and `auto'.  Doc fix.
13011         (grep-process-setup): Check `grep-highlight-matches' for
13012         `auto-detect' to determine the need to compute grep defaults.
13013         Move Windows/DOS specific --colors settings handling
13014         to `grep-compute-defaults'.  Check `grep-highlight-matches'
13015         to get the value of "--color=".
13016         (grep-compute-defaults): Compute `grep-highlight-matches' when it
13017         has the value `auto-detect'.  Move Windows/DOS specific settings
13018         from `grep-process-setup'.
13019         (zrgrep): New command with alias `rzgrep'.
13021 2009-11-25  Juri Linkov  <juri@jurta.org>
13023         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
13024         to nil instead of switching off view-mode.  (Bug#4896)
13026 2009-11-25  Juri Linkov  <juri@jurta.org>
13028         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
13030         * mwheel.el (mwheel-scroll-up-function)
13031         (mwheel-scroll-down-function): New defvars.
13032         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
13033         `scroll-up', and `mwheel-scroll-down-function' instead of
13034         `scroll-down'.
13036         * doc-view.el (doc-view-scroll-up-or-next-page)
13037         (doc-view-scroll-down-or-previous-page): Add optional ARG.
13038         Use this ARG in the call to image-scroll-up/image-scroll-down.
13039         Change `interactive' spec to "P".  Goto next/previous page only
13040         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
13041         SPC/DEL case).  Doc fix.
13042         (doc-view-next-line-or-next-page)
13043         (doc-view-previous-line-or-previous-page): Rename arg to ARG
13044         for consistency.
13045         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
13046         `doc-view-scroll-up-or-next-page', and buffer-local
13047         `mwheel-scroll-down-function' to
13048         `doc-view-scroll-down-or-previous-page'.
13050 2009-11-25  Juri Linkov  <juri@jurta.org>
13052         Provide additional default values (directories at other Dired
13053         windows) via M-n in the minibuffer of some Dired commands.
13055         * dired-aux.el (dired-diff, dired-compare-directories)
13056         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
13057         `minibuffer-default' in `minibuffer-with-setup-hook'.
13058         (dired-dwim-target-directory): Find a window that displays Dired
13059         buffer instead of failing when the next window is not Dired.
13060         Use `get-window-with-predicate' to find for the next Dired window.
13061         (dired-dwim-target-defaults): New function.
13063         * ediff-util.el (ediff-read-file-name):
13064         Use `dired-dwim-target-defaults' to set `minibuffer-default'
13065         in `minibuffer-with-setup-hook'.
13067 2009-11-25  Juri Linkov  <juri@jurta.org>
13069         Provide additional default values (file name at point or at the
13070         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
13072         * minibuffer.el (read-file-name-defaults): New function.
13073         (read-file-name): Reset `minibuffer-default' to nil when
13074         it duplicates initial input `insdef'.
13075         Bind `minibuffer-default-add-function' to lambda that
13076         calls `read-file-name-defaults' in `minibuffer-selected-window'.
13077         (minibuffer-insert-file-name-at-point): New command.
13079         * files.el (file-name-at-point-functions): New defcustom.
13080         (find-file-default): Remove defvar.
13081         (find-file-read-args): Don't use `find-file-default'.
13082         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13083         to `read-file-name'.
13084         (find-file-literally): Use `read-file-name' with
13085         `confirm-nonexistent-file-or-buffer'.
13087         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
13089         * dired.el (dired-read-dir-and-switches):
13090         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
13091         to `read-file-name'.
13092         (dired-file-name-at-point): New function.
13093         (dired-mode): Add hook `dired-file-name-at-point' to
13094         `file-name-at-point-functions'.
13096 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13098         Really make the *Completions* window soft-dedicated (bug#5030).
13099         * window.el (window--display-buffer-2): Add `dedicated' argument.
13100         (display-buffer): Pass it when needed so the dedicated flag is set
13101         after calling set-window-buffer, which would otherwise reset it.
13103 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13105         * progmodes/meta-mode.el (meta-complete-symbol):
13106         * progmodes/etags.el (complete-tag):
13107         * mail/mailabbrev.el (mail-abbrev-complete-alias):
13108         Use completion-in-region.
13110         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
13111         (dabbrev-completion): Use completion-in-region.
13112         (dabbrev--abbrev-at-point): Simplify regexp.
13114         * abbrev.el (abbrev--before-point): Use word-motion functions
13115         if :regexp is not specified (bug#5031).
13117         * subr.el (string-prefix-p): New function.
13119         * man.el (Man-completion-cache): New var.
13120         (Man-completion-table): Use it.
13122         * vc.el (vc-print-log-internal): Make `limit' optional for better
13123         compatibility (e.g. with vc-annotate.el).
13125 2009-11-24  Kevin Ryde  <user42@zip.com.au>
13127         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
13128         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
13130         * emacs-lisp/elint.el (elint-add-required-env): Better error message
13131         when .el source file not found or other error.
13133 2009-11-24  Markus Triska  <markus.triska@gmx.at>
13135         * linum.el (linum-update-window): Ignore intangible (bug#4996).
13137 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13139         Handle the [back] button properly (bug#4979).
13140         * descr-text.el (describe-text-properties): Add a `buffer' argument.
13141         Use help-setup-xref, help-buffer, and with-help-window.
13142         (describe-char): Add `buffer' argument.
13143         Pass proper command to help-setup-xref.  Don't meddle with
13144         help-xref-stack-item directly.
13145         (describe-text-category): Use with-help-window and help-buffer.
13147         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
13148         for the displayed buffer (bug#4887).
13150         * man.el (Man-completion-table): New function.
13151         (man): Use it.
13153 2009-11-24  David Reitter  <david.reitter@gmail.com>
13155         * vc-git.el (vc-git-registered): Use checkout directory (where
13156         .git is) rather than the file's directory and a relative path spec
13157         to work around a bug in git.
13159 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
13161         Improve handling of processes on remote hosts.
13163         * eshell/esh-util.el (eshell-path-env): New defvar.
13164         (eshell-parse-colon-path): New defun.
13165         (eshell-file-attributes): Use `eshell-parse-colon-path'.
13167         * eshell/esh-ext.el (eshell-search-path):
13168         Use `eshell-parse-colon-path'.
13169         (eshell-remote-command): Remove argument HANDLER.
13170         (eshell-external-command): Check for FTP remote connection.
13172         * eshell/esh-proc.el (eshell-gather-process-output):
13173         Use `file-truename', in order to start also symlinked files.
13174         Apply `start-file-process' instead of `start-process'.
13175         Shorten `command' to the local file name part.
13177         * eshell/em-cmpl.el (eshell-complete-commands-list):
13178         Use `eshell-parse-colon-path'.
13180         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
13182         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
13183         to `eshell-directory-change-hook'.
13185 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
13187         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
13188         because it could be enabled automatically if view-read-only is non-nil.
13190 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
13192         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
13193         made on 2009-11-22.
13195 2009-11-24  Glenn Morris  <rgm@gnu.org>
13197         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
13198         deleted variable bookmark-bmenu-bookmark-column.
13200 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13202         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
13204 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13206         * net/browse-url.el (browse-url-filename-alist): On Windows, add
13207         two slashes to the "file:" prefix.
13208         (browse-url-file-url): De-munge Cygwin filenames before passing
13209         them to Windows browser.
13210         (browse-url-default-windows-browser): Use call-process.
13212 2009-11-23  Juri Linkov  <juri@jurta.org>
13214         Implement DocView Continuous mode.  (Bug#4896)
13215         * doc-view.el (doc-view-continuous-mode): New defcustom.
13216         (doc-view-mode-map): Bind C-n/<down> to
13217         `doc-view-next-line-or-next-page', C-p/<up> to
13218         `doc-view-previous-line-or-previous-page'.
13219         (doc-view-next-line-or-next-page)
13220         (doc-view-previous-line-or-previous-page): New commands.
13222 2009-11-23  Juri Linkov  <juri@jurta.org>
13224         Implement Isearch in comint input history.  (Bug#3746)
13225         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
13226         `isearch-mode-hook'.
13227         (comint-history-isearch): New defcustom.
13228         (comint-history-isearch-backward)
13229         (comint-history-isearch-backward-regexp): New commands.
13230         (comint-history-isearch-message-overlay): New buffer-local variable.
13231         (comint-history-isearch-setup, comint-history-isearch-end)
13232         (comint-goto-input, comint-history-isearch-search)
13233         (comint-history-isearch-message, comint-history-isearch-wrap)
13234         (comint-history-isearch-push-state)
13235         (comint-history-isearch-pop-state): New functions.
13237 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
13239         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
13240         return.
13241         (tramp-handle-make-symbolic-link)
13242         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
13243         Quote file names.
13244         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
13245         (tramp-handle-process-file): Use it.
13247 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13249         * window.el (move-to-window-line-last-op): Remove.
13250         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
13252 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
13254         Make M-r mirror the new cycling behavior of C-l.
13255         * window.el (move-to-window-line-last-op): New var.
13256         (move-to-window-line-top-bottom): New command.
13257         (global-map): Bind M-r move-to-window-line-top-bottom.
13259 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
13261         * dired-x.el (dired-guess-shell-alist-default):
13262         Support xz format.  (Bug#4953)
13264 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
13266         * emulation/viper-cmd.el: Use viper-last-command-char instead of
13267         last-command-char/last-command-event.
13268         (viper-prefix-arg-value): Do correct conversion of event-char for
13269         XEmacs.
13271         * emulation/viper-util.el, emulation/viper.el:
13272         Use viper-last-command-char instead of
13273         last-command-char/last-command-event.
13275         * ediff-init.el, ediff-mult.el, ediff-util.el:
13276         Replace last-command-char and last-command-event
13277         with (ediff-last-command-char) everywhere.
13279         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
13280         created in fundamental mode.
13282         * ediff.el (ediff-version): Revert the change of interactive-p to
13283         called-interactively-p.
13285 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
13287         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
13288         generation from word-movement command names.
13290 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
13292         * cus-start.el (all): Add native condition for font-use-system-font.
13294 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
13296         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
13297         Correct the patch from 2009-11-18.  (Bug#3910)
13299 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
13301         * progmodes/subword.el: Rename from lisp/subword.el.
13303         * subword.el: Rename to progmodes/subword.el.
13305         * Makefile.in (ELCFILES): Adapt to subword.el move.
13307 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13308             Stefan Monnier  <monnier@iro.umontreal.ca>
13310         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
13311         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
13312         (bookmark-bmenu-show-filenames): Use push.
13313         (bookmark-bmenu-hide-filenames): Use local var instead of
13314         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
13315         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
13316         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
13317         filenames now that the bookmark names are always available.
13319 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13321         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
13322         (bookmark-search-pattern): Move and leave unbound.
13323         (bookmark-bmenu-mode-map): Change binding.
13324         (bookmark-read-search-input): Simplify.
13325         Don't use text-char-description.  Don't error on non-char events.
13326         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
13327         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
13328         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
13329         Use a local var for the timer.
13330         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
13331         (i.e. bookmark-bmenu-search).
13333 2009-11-21  Glenn Morris  <rgm@gnu.org>
13335         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
13337 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
13339         * net/browse-url.el (browse-url-default-windows-browser):
13340         Use cygstart for cygwin.
13342 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
13344         * bookmark.el: Formatting and doc fixes only:
13345         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
13346         (bookmark-bmenu-search): Wrap to fit within 80 columns.
13347         Minor grammar and punctuation fixes in doc string.
13348         (bookmark-read-search-input): Adjust to fit within 80 columns.
13350 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13352         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
13353         (c-backward-into-nomenclature): Adapt to subword renaming.
13355         * subword.el (subword-forward, subword-backward, subword-mark)
13356         (subword-kill, subword-backward-kill, subword-transpose)
13357         (subword-downcase, subword-upcase, subword-capitalize)
13358         (subword-forward-internal, subword-backward-internal):
13359         Rename from forward-subword, backward-subword, mark-subword,
13360         kill-subword, backward-kill-subword, transpose-subwords,
13361         downcase-subword, upcase-subword, capitalize-subword,
13362         forward-subword-internal, backward-subword-internal.
13364 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13366         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
13367         New options.
13368         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
13369         New vars.
13370         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
13371         (bookmark-bmenu-filter-alist-by-regexp)
13372         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
13373         (bookmark-bmenu-search): New command.
13374         (bookmark-bmenu-mode-map): Bind it.
13376 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
13378         * progmodes/cc-cmds.el: declare-functioned forward-subword and
13379         backward-subword to quit the byte-compiler.
13381         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
13383         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
13385         * progmodes/cc-cmds.el (c-update-modeline)
13386         (c-forward-into-nomenclature, c-backward-into-nomenclature):
13387         Refer to subword.el functions instead of cc-subword.el.
13389         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
13390         subword.el functions instead of cc-subword.el.
13392         * progmodes/cc-subword.el: Rename to subword.el.
13393         * subword.el: Rename from progmodes/cc-subword.el.
13394         (subword-mode-map): Rename from c-subword-mode-map.
13395         (subword-mode): Rename from c-subword-mode.
13396         (global-subword-mode): New global minor mode.
13397         (forward-subword): Rename from c-forward-subword.
13398         (backward-subword): Rename from c-backward-subword.
13399         (mark-subword): Rename from c-mark-subword.
13400         (kill-subword): Rename from c-kill-subword.
13401         (backward-kill-subword): Rename from c-backward-kill-subword.
13402         (transpose-subwords): Rename from c-tranpose-subword.
13403         (downcase-subword): Rename from c-downcase-subword.
13404         (capitalize-subword): Rename from c-capitalize-subword.
13405         (forward-subword-internal): Rename from c-forward-subword-internal.
13406         (backward-subword-internal): Rename from c-backward-subword-internal.
13408 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
13410         * vc.el (vc-deduce-fileset): Allow non-state changing operations
13411         from a dired buffer.
13412         (vc-dired-deduce-fileset): New function.
13413         (vc-root-diff, vc-print-root-log): Use it.
13415         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
13416         nil LIMIT argument to vc-print-log-internal.
13418 2009-11-20  Glenn Morris  <rgm@gnu.org>
13420         * Makefile.in (ELCFILES): Regenerate.
13422 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
13424         * calc/calc.el (calc-set-mode-line):
13425         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13426         (math-format-number): Rename `math-format-complement-signed' to
13427         `math-format-twos-complement'.
13429         * calc/calc-bin.el (math-format-twos-complement): Rename from
13430         math-format-complement-signed.
13431         (calc-radix): Rename `calc-complement-signed-mode' to
13432         `calc-twos-complement-mode'.
13433         (calc-octal-radix, calc-hex-radix): Add an argument for
13434         two's complement.
13436         * calc/calc-embed.el (calc-embedded-mode-vars):
13437         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13439         * calc/calc-ext.el (calc-init-extensions):
13440         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
13441         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
13443         * calc/calc-units.el (math-build-units-table-buffer):
13444         Let `calc-twos-complement-mode' be nil.
13446         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
13447         entries.
13449         * calc/calc-vec.el (calcFunc-vunpack):
13450         * calc/calc-aent.el (calc-do-calc-eval):
13451         * calc/calc-forms.el (math-format-date):
13452         * calc/calc-graph.el (calc-graph-plot):
13453         * calc/calc-math.el (math-use-emacs-fn):
13454         * calc/calccomp.el (math-compose-expr):
13455         Let `calc-twos-complement-mode' be nil.
13457 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13459         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
13460         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
13461         * minibuffer.el (completion-in-region-functions): New hook.
13462         (completion-in-region): New function.
13463         * emacs-lisp/lisp.el (lisp-complete-symbol):
13464         * pcomplete.el (pcomplete-std-complete): Use it.
13466 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13468         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
13469         (latex-complete-alist): New vars.
13470         (latex-string-prefix-p, latex-complete-bibtex-keys)
13471         (latex-complete-envnames, latex-complete-refkeys)
13472         (latex-complete-data): New functions.
13473         (latex-complete, latex-indent-or-complete): New commands.
13475         * window.el (display-buffer-mark-dedicated): New var.
13476         (display-buffer): Obey it.
13477         * minibuffer.el (minibuffer-completion-help): Use it.
13479         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
13481         * filecache.el (file-cache-add-file): Use push and cons.
13482         (file-cache-delete-file-regexp): Use push.
13483         (file-cache-complete): Use completion-in-region.
13485         * simple.el (with-wrapper-hook): Fix thinko.
13487         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
13488         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
13489         Use with-current-buffer and string-to-number.
13490         (hfy-fallback-colour-values): Use assoc-string.
13491         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
13492         (hfy-face-at): Remove unused var `found-face'.
13493         (hfy-compile-stylesheet): Remove unused var `css'.
13494         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
13495         and `orig-buffer'.
13496         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
13497         Use with-current-buffer.
13498         (hfy-text-p): Use expand-file-name and fewer setq.
13500 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
13502         * htmlfontify.el, hfy-cmap.el: New files.
13504 2009-11-19  Juri Linkov  <juri@jurta.org>
13506         * minibuffer.el (completions-format): New defcustom.
13507         (completion--insert-strings): Implement vertical format.
13509         * simple.el (switch-to-completions): Move point to the first
13510         completion when point was at the beginning of the buffer.
13512 2009-11-19  Juri Linkov  <juri@jurta.org>
13514         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
13516         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
13518 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
13520         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
13521         (mail-signature): Change default to t.
13522         (mail-from-style): Deprecate `system-default' value.
13523         (mail-insert-from-field): For default value of mail-from-style,
13524         default to `angles' unless `angles' needs quoting and `parens'
13525         does not.
13526         (mail-citation-prefix-regexp): Use citation regexp from
13527         message-mode.
13529 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
13531         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13532         Set variables for computing the prompt for reading password.
13534 2009-11-19  Glenn Morris  <rgm@gnu.org>
13536         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
13538         * textmodes/flyspell.el (sgml-lexical-context): Declare.
13540         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
13541         (newsticker-treeview-listwindow-height): Fix custom type.
13543 2009-11-19  Kenichi Handa  <handa@m17n.org>
13545         * descr-text.el (describe-char-padded-string): Compose with TAB
13546         only if there's a font for CH.
13547         (describe-char): Fix the condition for detecting a trivial composition.
13549 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
13551         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
13552         more accurate version of the regexp.  (Bug#3910)
13554 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13556         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
13558 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
13560         * font-setting.el (font-use-system-font): Declare for byte-compiler.
13561         (font-setting-change-default-font): Fix typo in docstring.
13563 2009-11-18  Alan Mackenzie  <acm@muc.de>
13565         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
13567 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13569         * font-setting.el (font-use-system-font): Move ...
13571         * cus-start.el (all): ... to here.
13573 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
13575         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
13576         Don't set `ad-return-value' if `ad-do-it' doesn't.
13578         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
13579         modification time.
13581 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
13583         * menu-bar.el: Put "Use system font" in Option-menu.
13584         (menu-bar-options-save): Add font-use-system-font.
13586         * loadup.el: If feature system-font-setting or font-render-setting is
13587         there, load font-setting.
13589         * Makefile.in (ELCFILES): Add font-settings.el.
13590         * font-setting.el: New file.
13592 2009-11-17  Glenn Morris  <rgm@gnu.org>
13594         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
13596         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
13597         Preserve point in the list buffer.  (Bug#4939)
13598         Use point-at-eol.
13599         (newsticker--treeview-list-update-highlight)
13600         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
13602 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13604         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
13605         Remove.
13607         * calc/calc-ext.el (calc-init-extensions): Remove references to
13608         symclip.
13610         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
13612         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
13613         * calc/calc-help.el (calc-b-prefix-help): Remove references to
13614         `calc-symclip'.
13616 2009-11-16  Kevin Ryde  <user42@zip.com.au>
13618         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13619         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
13621         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
13622         (lm-keywords-list): Allow comma-only separator like "foo,bar".
13623         Ignore trailing spaces by omit-nulls to split-string (fixing
13624         regression from Emacs 21 due to the incompatible split-string
13625         change).  (Bug #4928.)
13627 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
13629         * vc.el (vc-log-show-limit): Default to 2000.
13630         (vc-print-log-internal): Insert buttons to request more entries
13631         when limiting the output.
13633         * vc-sccs.el (vc-sccs-print-log):
13634         * vc-rcs.el (vc-rcs-print-log):
13635         * vc-cvs.el (vc-cvs-print-log):
13636         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
13637         LIMIT is non-nil.
13639 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13641         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
13642         error when `tramp-gvfs-dbus-event-vector' is set.
13643         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
13645 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13647         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
13649 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
13651         * net/dbus.el (dbus-unregister-service): New defun.
13652         (dbus-register-property): Register the handlers of
13653         "org.freedesktop.DBus.Properties" for SERVICE.
13654         (dbus-property-handler): Fix docstring.
13656 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
13658         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
13659         Quote doc string reference in defvaralias as it is not in special form.
13660         (byte-compile-output-docform): Doc fix.
13662 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
13664         * calc/calc.el (math-2-word-size, math-half-2-word-size)
13665         (calc-complement-signed-mode): New variables.
13666         (calc-set-mode-line): Add indicator for twos-complements.
13667         (math-format-number): Format twos-complement notation.
13669         * calc/calc-bin.el (calc-word-size): Reset the variables
13670         `math-2-word-size' and `math-half-2-word-size'.
13671         (math-format-complement-signed, math-symclip, calcFunc-symclip)
13672         (calc-symclip): New functions.
13674         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
13676         * calc/calc-embed.el (calc-embedded-mode-vars):
13677         Add `calc-complement-signed-mode' to the list of modes.
13679         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
13680         (calc-b-oper-keys): Add `calc-symclip' to list.
13682         * calc/calc-ext.el (math-read-number-fancy): Read complement
13683         signed numbers.
13684         (calc-init-extensions): Add binding for `calc-symclip'.
13685         Add autoload for `calcFunc-symclip' and `calc-symclip'.
13687         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
13688         `calc-symclip'.
13689         (calc-modes-menu): Add item for twos complement mode.
13691         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
13693 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13695         * register.el (jump-to-register, insert-register): Handle Semantic
13696         tags.  From commented-out advice in semantic/senator.el.
13698 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
13700         * vc.el (vc-log-show-limit): New variable.
13701         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
13702         when using a prefix argument.
13703         (vc-print-log-internal): Add new argument LIMIT.
13705         * vc-svn.el (vc-svn-print-log):
13706         * vc-mtn.el (vc-mtn-print-log):
13707         * vc-hg.el (vc-hg-print-log):
13708         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
13709         pass it to the log command when set.  Make the BUFFER argument
13710         non-optional.
13712         * vc-sccs.el (vc-sccs-print-log):
13713         * vc-rcs.el (vc-rcs-print-log):
13714         * vc-git.el (vc-git-print-log):
13715         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
13716         ignore it.  Make the BUFFER argument non-optional
13718         * bindings.el (mode-line-buffer-identification): Do not purecopy.
13720 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
13722         * dired.el (dired-mode-map): Move encryption items to "Operate"
13723         menu (Bug#4703).
13725         * strokes.el (strokes-update-window-configuration): Make strokes
13726         buffer current before erasing (Bug#4906).
13728 2009-11-15  Juri Linkov  <juri@jurta.org>
13730         * simple.el (set-mark-default-inactive): Add :type, :group
13731         and :version.  (Bug#4876)
13733 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
13735         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
13736         (archive-unique-fname): ... here.  (Bug#4929)
13738 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13740         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
13741         with a real fix.
13743         * novice.el (disabled-command-function): Add useful args.
13744         Setup the help buffer so that [back] works.
13745         Remove redundant call to help-mode.
13746         (disabled-command-function): Use `case'.
13747         (en/disable-command): New function extracted from enable-command.
13748         (enable-command, disable-command): Use it.
13750 2009-11-14  Glenn Morris  <rgm@gnu.org>
13752         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
13753         constants.  (Bug#4913)
13755         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
13757 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
13759         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
13760         defined in C that have no doc-strings.  (Bug#1063)
13762 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
13764         * cus-edit.el (data, files):
13765         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
13767 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
13769         * simple.el (shell-command): Doc fix (Bug#4891).
13771         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
13773 2009-11-14  Glenn Morris  <rgm@gnu.org>
13775         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
13776         statements for vc-diff, emerge-quit, and rmail-cease-edit.
13777         If they are already loaded, eval-after-load will do the right thing.
13779         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
13780         compiling.
13782         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
13784         * simple.el (x-selection-owner-p): Declare.
13785         (read-mail-command): Use custom radio type rather than choice.
13786         (completion-no-auto-exit): Doc fix.
13788         * custom.el (defgroup):
13789         * epg-config.el (epg): Doc fixes.
13791 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
13793         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
13794         * international/ccl.el (define-ccl-program): Do not purecopy the
13795         docstring, defconst does it anyway.
13797 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13799         * add-log.el (add-change-log-entry): Avoid displaying the changelog
13800         a second time.
13802         * x-dnd.el (x-dnd-maybe-call-test-function):
13803         * window.el (split-window-vertically):
13804         * whitespace.el (whitespace-help-on):
13805         * vc-rcs.el (vc-rcs-consult-headers):
13806         * userlock.el (ask-user-about-lock-help)
13807         (ask-user-about-supersession-help):
13808         * type-break.el (type-break-force-mode-line-update):
13809         * time-stamp.el (time-stamp-conv-warn):
13810         * terminal.el (te-set-output-log, te-more-break, te-filter)
13811         (te-sentinel, terminal-emulator):
13812         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13813         (term-write-input-ring, term-check-source, term-start-output-log):
13814         (term-display-buffer-line, term-dynamic-list-completions):
13815         (term-ansi-make-term, serial-term):
13816         * subr.el (selective-display):
13817         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13818         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13819         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13820         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13821         (speedbar-remove-localized-speedbar-support)
13822         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13823         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13824         (speedbar-buffers-line-directory):
13825         * simple.el (shell-command-on-region, append-to-buffer)
13826         (prepend-to-buffer):
13827         * shadowfile.el (shadow-save-todo-file):
13828         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13829         (scroll-bar-maybe-set-window-start):
13830         * sb-image.el (speedbar-image-dump):
13831         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13832         (load-save-place-alist-from-file):
13833         * ps-samp.el (ps-print-message-from-summary):
13834         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13835         (ps-background-image, ps-begin-job, ps-do-despool):
13836         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13837         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13838         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13839         (pr-call-process, pr-file-list, pr-interface-save):
13840         * novice.el (disabled-command-function)
13841         (enable-command, disable-command):
13842         * mouse.el (mouse-buffer-menu-alist):
13843         * mouse-copy.el (mouse-kill-preserving-secondary):
13844         * macros.el (kbd-macro-query):
13845         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13846         * informat.el (batch-info-validate):
13847         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13848         * hippie-exp.el (try-expand-dabbrev-visible):
13849         * help-mode.el (help-make-xrefs):
13850         * help-fns.el (describe-variable):
13851         * generic-x.el (bat-generic-mode-run-as-comint):
13852         * finder.el (finder-mouse-select):
13853         * find-dired.el (find-dired-sentinel):
13854         * filesets.el (filesets-file-close):
13855         * files.el (list-directory):
13856         * faces.el (list-faces-display, describe-face):
13857         * facemenu.el (list-colors-display):
13858         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13859         * epg.el (epg--process-filter, epg-cancel):
13860         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13861         (epa--read-signature-type):
13862         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13863         (emerge-file-names):
13864         * ehelp.el (electric-helpify):
13865         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13866         * ediff-vers.el (rcs-ediff-view-revision):
13867         * ediff-util.el (ediff-setup):
13868         * ediff-mult.el (ediff-append-custom-diff):
13869         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13870         (ediff-wordify):
13871         * echistory.el (Electric-command-history-redo-expression):
13872         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13873         * disp-table.el (describe-display-table):
13874         * dired.el (dired-find-buffer-nocreate):
13875         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13876         * dabbrev.el (dabbrev--same-major-mode-p):
13877         * chistory.el (list-command-history):
13878         * apropos.el (apropos-documentation):
13879         * allout.el (allout-obtain-passphrase):
13880         (allout-copy-exposed-to-buffer):
13881         (allout-verify-passphrase): Use with-current-buffer.
13883 2009-11-13  Glenn Morris  <rgm@gnu.org>
13885         * Makefile.in (ELCFILES): Regenerate.
13887 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
13889         * net/dbus.el (dbus-registered-objects-table): Rename from
13890         `dbus-registered-functions-table', because it contains also properties.
13891         (dbus-unregister-object): Unregister also properties.
13892         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13893         Use a timeout of 500 msec, in order to not block.
13894         (dbus-register-property, dbus-property-handler): New defuns.
13896 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13898         * simple.el (minibuffer-default-add-completions): Drop deprecated
13899         4th arg.
13901 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
13903         * textmodes/artist.el (artist-mouse-choose-operation):
13904         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13905         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13906         (artist-compute-up-event-key): New function.
13907         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13909 2009-11-13  Kenichi Handa  <handa@m17n.org>
13911         * language/japan-util.el: Make sure that the value of jisx0208
13912         property is jisx0208 character.
13914 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
13916         * international/mule.el (auto-coding-regexp-alist): Only purecopy
13917         car or each item, not the whole list.
13919 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13921         * minibuffer.el (minibuffer-completion-help):
13922         Use minibuffer-hide-completions.
13924 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
13926         * dired.el (dired-save-positions, dired-restore-positions): New funs.
13927         (dired-revert): Use them (bug#4880).
13929 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13931         * tooltip.el (tooltip-frame-parameters): Undo previous change.
13933 2009-11-12  Juri Linkov  <juri@jurta.org>
13935         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13936         New functions.
13937         (find-file-literally-at-point): Alias of `ffap-literally'.
13939 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13941         * textmodes/ispell.el (ispell-skip-region-alist):
13942         * textmodes/css-mode.el (auto-mode-alist):
13943         * progmodes/compile.el (auto-mode-alist):
13944         * international/mule.el (ctext-non-standard-encodings-alist)
13945         (ctext-non-standard-encodings-regexp):
13946         * simple.el (shell-command-switch, text-read-only):
13947         * replace.el (occur-mode-map):
13948         * paths.el (rmail-file-name):
13949         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13950         * find-file.el (ff-special-constructs):
13951         * files.el (file-name-handler-alist):
13952         * composite.el: Purecopy strings.
13954         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13956 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13958         * widget.el (define-widget): Purecopy the docstring.
13959         * international/mule-cmds.el (charset): Do not purecopy the
13960         docstring here, define-widget does it.
13962         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13963         * textmodes/bibtex-style.el (auto-mode-alist):
13964         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13965         * progmodes/compile.el (compile-command):
13966         * language/korea-util.el (default-korean-keyboard):
13967         * international/mule-conf.el (file-coding-system-alist):
13968         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13969         * tooltip.el (tooltip-frame-parameters):
13970         * newcomment.el (comment-end, comment-padding):
13971         * dired.el (dired-trivial-filenames):
13972         * comint.el (comint-file-name-prefix): Purecopy initial values.
13974 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13976         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13977         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13978         `tramp-unload'.
13979         (tramp-advice-make-auto-save-file-name)
13980         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13981         after removing the advice.
13983 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13985         * progmodes/grep.el (grep-regexp-alist):
13986         * international/mule-cmds.el (iso-2022-control-alist):
13987         * emacs-lisp/timer.el (timer-duration-words):
13988         * subr.el (version-separator, version-regexp-alist):
13989         * minibuffer.el (completion-styles-alist):
13990         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13991         Change defvars to defconsts.
13993         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13994         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13995         * international/mule-conf.el: Allow to be byte compiled.
13997         * international/mule.el (define-charset): Purecopy props.
13998         (load-with-code-conversion): Purecopy doc string and file name.
13999         (put-charset-property): Purecopy strings.
14000         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
14002         * international/mule-cmds.el (register-input-method): Purecopy arguments.
14003         (define-char-code-property): Correctly purecopy the table.
14005         * international/ccl.el (define-ccl-program): Purecopy the docstring.
14007         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
14009         * subr.el (add-hook): Purecopy strings.
14010         (eval-after-load): Purecopy load-history-regexp and the form.
14012         * custom.el (custom-declare-group): Purecopy load-file-name.
14014         * subr.el (menu-bar-separator): New defconst.
14015         * net/eudc.el (eudc-tools-menu):
14016         * international/mule-cmds.el (set-coding-system-map)
14017         (mule-menu-keymap):
14018         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14019         * vc-hooks.el (vc-menu-map):
14020         * replace.el (occur-mode-map):
14021         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
14022         (menu-bar-edit-menu, menu-bar-goto-menu)
14023         (menu-bar-custom-menu, menu-bar-showhide-menu)
14024         (menu-bar-options-menu, menu-bar-tools-menu)
14025         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
14026         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
14027         (menu-bar-help-menu):
14028         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
14029         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
14031         * term/x-win.el (x-gtk-stock-map):
14032         * progmodes/vera-mode.el (auto-mode-alist):
14033         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
14034         (inferior-lisp-program, inferior-lisp-load-command):
14035         * progmodes/hideshow.el (hs-special-modes-alist):
14036         * progmodes/gud.el (same-window-regexps):
14037         * progmodes/grep.el (grep-program, find-program, xargs-program):
14038         * net/telnet.el (same-window-regexps):
14039         * net/rlogin.el (same-window-regexps):
14040         * language/ethiopic.el (font-ccl-encoder-alist):
14041         * vc-sccs.el (vc-sccs-master-templates):
14042         * vc-rcs.el (vc-rcs-master-templates):
14043         * subr.el (cl-assertion-failed):
14044         * simple.el (next-error-overlay-arrow-position):
14045         * lpr.el (lpr-command):
14046         * locate.el (locate-ls-subdir-switches):
14047         * info.el (same-window-regexps, info)
14048         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
14049         * image-mode.el (image-mode, auto-mode-alist):
14050         * hippie-exp.el (hippie-expand-ignore-buffers):
14051         * format.el (format-alist):
14052         * find-dired.el (find-ls-subdir-switches, find-grep-options)
14053         (find-name-arg):
14054         * facemenu.el (facemenu-keybindings):
14055         * dired.el (dired-listing-switches, dired-chown-program):
14056         * diff.el (diff-switches, diff-command):
14057         * cus-edit.el (same-window-regexps):
14058         * bindings.el (mode-line-mule-info)
14059         (mode-line-buffer-identification): Purecopy strings.
14061 2009-11-11  Juri Linkov  <juri@jurta.org>
14063         * simple.el (dired-get-filename) <declare-function>:
14064         Tell the byte-compiler about dired-get-filename.
14065         (shell-command): In Dired mode, get filename from the current line
14066         as the default value.
14068 2009-11-10  Glenn Morris  <rgm@gnu.org>
14070         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
14071         * calendar/holidays.el, progmodes/cperl-mode.el:
14072         Update x-popup-menu declarations.
14074         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
14075         (list-load-path-shadows): Use dolist.
14076         (list-load-path-shadows): Use with-current-buffer.
14078 2009-11-10  Juri Linkov  <juri@jurta.org>
14080         * minibuffer.el (read-file-name): Support a list of default values
14081         in `default-filename'.  Use the first file name where only one
14082         element is required.  Doc fix.
14084 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
14086         * net/dbus.el (dbus-unregister-object): Release service, if no
14087         other method is registered for it.
14089 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
14091         * bookmark.el (bookmark-completing-read): Sort bookmark names if
14092         bookmark-sort-flag is non-nil (Bug#4653).
14094 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14096         * emulation/cua-base.el: Add CUA property to some CC mode commands
14097         (Bug#4100).
14099 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14101         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
14102         at end of sentence (Bug#4818).
14104 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
14106         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14107         Handle "see declaration of" MSFT statements (Bug#4100).
14109 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
14111         * net/tramp.el (tramp-advice-make-auto-save-file-name)
14112         (tramp-advice-file-expand-wildcards): Unload via
14113         `ad-remove-advice'.
14115         * net/trampver.el: Update release number.
14117 2009-11-08  Kevin Ryde  <user42@zip.com.au>
14119         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
14120         `ad-do-it'.
14122 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
14124         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
14125         in order to keep context in SELinux.
14127 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
14129         * dired-aux.el (dired-query): Place cursor in echo area and allow
14130         C-g.
14132         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
14133         menu item if not on a directory (Bug#4701).
14135 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
14137         Sync with Tramp 2.1.17.
14139         * net/tramp.el (tramp-handle-copy-directory): Don't use
14140         `file-remote-p' (due to compatibility).
14142         * net/tramp-compat.el (tramp-compat-copy-directory)
14143         (tramp-compat-delete-directory): New defuns.
14145         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14146         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14147         Use `tramp-compat-delete-directory'.
14149         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
14150         (tramp-smb-handle-delete-directory):
14151         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
14153         * net/trampver.el: Update release number.
14155 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
14157         * tar-mode.el (tar-copy): Call write-region on the right buffer
14158         (Bug#4857).
14160         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
14161         by hand, if necessary (Bug#4878).
14163 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
14165         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
14166         align size column (Bug#4839).
14168         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
14169         statement.
14171 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14173         * progmodes/ld-script.el (auto-mode-alist):
14174         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
14176         * cus-face.el (custom-declare-face): Purecopy face spec.
14178 2009-11-06  Kenichi Handa  <handa@m17n.org>
14180         * international/uni-bidi.el: Re-generated.
14181         * international/uni-category.el: Re-generated.
14182         * international/uni-combining.el: Re-generated.
14183         * international/uni-mirrored.el: Re-generated.
14185 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
14187         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
14188         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
14189         (tex-start-options, slitex-run-command, latex-run-command)
14190         (tex-run-command, tex-directory):
14191         * textmodes/ispell.el (ispell-html-skip-alists)
14192         (ispell-tex-skip-alists, ispell-tex-skip-alists):
14193         * textmodes/fill.el (adaptive-fill-first-line-regexp):
14194         (adaptive-fill-regexp):
14195         * textmodes/dns-mode.el (auto-mode-alist):
14196         * progmodes/python.el (interpreter-mode-alist):
14197         * progmodes/etags.el (tags-compression-info-list):
14198         * progmodes/etags.el (tags-file-name):
14199         * net/browse-url.el (browse-url-galeon-program)
14200         (browse-url-firefox-program):
14201         * mail/sendmail.el (mail-signature-file)
14202         (mail-citation-prefix-regexp):
14203         * international/mule-conf.el (eight-bit):
14204         * international/latexenc.el (latex-inputenc-coding-alist):
14205         * international/fontset.el (x-pixel-size-width-font-regexp):
14206         * emacs-lisp/warnings.el (warning-type-format):
14207         * emacs-lisp/trace.el (trace-buffer):
14208         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
14209         (emacs-lisp-mode-map):
14210         * calendar/holidays.el (holiday-solar-holidays)
14211         (holiday-bahai-holidays, holiday-islamic-holidays)
14212         (holiday-christian-holidays, holiday-hebrew-holidays)
14213         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
14214         (hebrew-holidays-1, holiday-oriental-holidays)
14215         (holiday-general-holidays):
14216         * x-dnd.el (x-dnd-known-types):
14217         * tool-bar.el (tool-bar):
14218         * startup.el (site-run-file):
14219         * shell.el (shell-dumb-shell-regexp):
14220         * rfn-eshadow.el (file-name-shadow-tty-properties)
14221         (file-name-shadow-properties):
14222         * paths.el (remote-shell-program, news-directory):
14223         * mouse.el ([C-down-mouse-3]):
14224         * menu-bar.el (menu-bar-tools-menu):
14225         * jka-cmpr-hook.el (jka-compr-load-suffixes)
14226         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
14227         (jka-compr-compression-info-list):
14228         * isearch.el (search-whitespace-regexp):
14229         * image-file.el (image-file-name-extensions):
14230         * find-dired.el (find-ls-option):
14231         * files.el (directory-listing-before-filename-regexp)
14232         (directory-free-space-args, insert-directory-program)
14233         (list-directory-brief-switches, magic-fallback-mode-alist)
14234         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
14235         (automount-dir-prefix):
14236         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
14237         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
14238         (face-font-registry-alternatives, face-font-registry-alternatives)
14239         (face-font-family-alternatives):
14240         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
14241         (facemenu-foreground-menu, facemenu-face-menu):
14242         * epa-hook.el (epa-file-name-regexp):
14243         * dnd.el (dnd-protocol-alist):
14244         * textmodes/rst.el (auto-mode-alist):
14245         * button.el (default-button): Purecopy strings.
14247 2009-11-06  Glenn Morris  <rgm@gnu.org>
14249         * Makefile.in (ELCFILES): Update.
14251 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14253         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
14254         * emacs-lisp/levents.el: Move to obsolete/levents.el.
14256         * nxml/xsd-regexp.el (xsdre-gen-categories):
14257         * nxml/xmltok.el (xmltok-parse-entity):
14258         * nxml/rng-parse.el (rng-parse-validate-file):
14259         * nxml/rng-maint.el (rng-format-manual)
14260         (rng-manual-output-force-new-line):
14261         * nxml/rng-loc.el (rng-save-schema-location-1):
14262         * nxml/rng-cmpct.el (rng-c-parse-file):
14263         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
14264         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
14266 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
14268         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
14269         Remove extra save-excursions and make-variable-buffer-local's.
14270         Suggested by Stefan Monnier.
14272         (verilog-getopt-file, verilog-module-inside-filename-p)
14273         (verilog-set-define): Merge GNU 1.35 and repair changes from
14274         switching to using with-current-buffer.
14276         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
14277         being treated as a number and confusing AUTORESET.
14278         Reported by Dan Dever.
14280         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
14281         Add verilog-auto-ignore-concat to fix backward compatibility with
14282         older verilog-modes.  Reported by Dan Katz.
14284         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
14285         containing closing anchors "...$".
14287         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
14288         Reported by Wade Smith.
14290         (verilog-batch-execute-func): Comment on function usage.
14292 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
14294         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
14295         for labels.
14297         (verilog-label-re, verilog-calc-1): Support proper indent of named
14298         asserts.
14300         (verilog-backward-token, verilog-basic-complete-re)
14301         (verilog-beg-of-statement, verilog-indent-re): Support proper
14302         indent of the assert statement at the beginning of a block of text.
14304         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
14305         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
14306         tokens as begins.
14308 2009-11-05  Glenn Morris  <rgm@gnu.org>
14310         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
14311         Emacs 19.  (Bug#1531)
14312         (byte-compile-fix-header): Update for the above change.
14313         Drop test for epoch::version.
14315         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
14316         * cus-dep.el (custom-make-dependencies):
14317         * finder.el (finder-compile-keywords):
14318         Use autoload-rubric's feature argument.
14320         * calendar/diary-lib.el (top-level): Make load behave more like require.
14322         * vc-git.el (vc-git-stash-map): Move definition before use.
14324 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
14326         * custom.el (custom-declare-group): Purecopy standard-value.
14327         (custom-declare-group): Purecopy custom-prefix.
14329         * international/mule.el (load-with-code-conversion):
14330         Call do-after-load-evaluation unconditionally.
14332         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
14334 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14336         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
14338 2009-11-04  Glenn Morris  <rgm@gnu.org>
14340         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
14341         (byte-compile-compatibility): Remove option.
14342         (byte-compile-close-variables, byte-compile-fix-header)
14343         (byte-compile-insert-header, byte-compile-output-docform)
14344         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
14345         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
14346         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
14347         (byte-compile-insert, byte-compile-defun):
14348         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
14349         (byte-defop-compiler19): Remove.
14350         Without byte-compile-compatibility, the 'emacs19-opcode property is not
14351         used by anything.  Replace all calls with byte-defop-compiler.
14353 2009-11-04  Juri Linkov  <juri@jurta.org>
14355         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
14356         (menu-bar-options-menu): Don't quote the `prop' arg of
14357         `menu-bar-make-mm-toggle'.
14359 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
14361         * calendar/calendar.el (cal-loaddefs):
14362         * calendar/diary-lib.el (diary-loaddefs):
14363         * calendar/holidays.el (hol-loaddefs):
14364         * eshell/esh-module.el (esh-groups): Load rather than require.
14366 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14368         * calendar/todo-mode.el (todo-add-category): Don't hardcode
14369         point-min==1.
14370         (todo-top-priorities): Only display-buffer when called interactively.
14371         (todo-item-start): Don't save excursion point.
14372         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
14373         (todo-insert-item-here, todo-file-item, todo-remove-item):
14374         Adjust uses of todo-item-start and todo-item-end.
14376         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
14377         (autoload-rubric): Don't use any more.
14379         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
14380         and only put a prop if it is non-nil.
14382 2009-11-03  Juri Linkov  <juri@jurta.org>
14384         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
14385         (menu-bar-options-menu): Fix list quoting (Bug#4429).
14387         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
14388         and "Menu" to make top-level menu item visually one unit (like
14389         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
14390         multi-word menu items).  Fix :help string for quit-window.
14392 2009-11-03  Glenn Morris  <rgm@gnu.org>
14394         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
14395         (byte-compile-file-form-define-abbrev-table)
14396         (byte-compile-file-form-custom-declare-variable)
14397         (byte-compile-variable-ref, byte-compile-defvar):
14398         Whether or not a warning is enabled should only affect whether we issue
14399         the warning, not whether or not we collect the relevant data.
14400         Eg warnings can be turned on and off throughout the course of a file.
14402         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
14403         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
14405 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14407         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
14408         * play/mpuz.el (mpuz-create-buffer):
14409         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
14410         (lm-print-y,s,noise, lm-print-w0, lm-init):
14411         * play/gomoku.el (gomoku-prompt-for-move):
14412         * play/fortune.el (fortune-in-buffer):
14413         * play/dissociate.el (dissociated-press):
14414         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
14415         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
14416         * mail/supercite.el (sc-eref-show):
14417         * mail/smtpmail.el (smtpmail-send-it):
14418         * mail/rmailsum.el (rmail-summary-next-labeled-message)
14419         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
14420         (rmail-summary-undelete-many, rmail-summary-rmail-update)
14421         (rmail-summary-goto-msg, rmail-summary-expunge)
14422         (rmail-summary-get-new-mail, rmail-summary-search-backward)
14423         (rmail-summary-add-label, rmail-summary-output-menu)
14424         (rmail-summary-output-body):
14425         * mail/rfc822.el (rfc822-addresses):
14426         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
14427         * mail/mailpost.el (post-mail-send-it):
14428         * mail/hashcash.el (hashcash-generate-payment):
14429         * mail/feedmail.el (feedmail-run-the-queue)
14430         (feedmail-queue-send-edit-prompt-help-first)
14431         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
14432         (feedmail-deduce-address-list):
14433         * eshell/esh-ext.el (eshell-remote-command):
14434         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
14435         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
14436         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
14437         (viper-save-string-in-file, viper-valid-marker):
14438         * emulation/viper-keym.el (viper-toggle-key):
14439         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
14440         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
14441         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
14442         * emulation/viper-cmd.el (viper-exec-form-in-vi)
14443         (viper-exec-form-in-emacs, viper-brac-function):
14444         * emulation/viper.el (viper-delocalize-var):
14445         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
14446         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
14447         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
14448         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
14449         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
14450         * emulation/edt.el (edt-electric-helpify):
14451         * emulation/cua-rect.el (cua--rectangle-aux-replace):
14452         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
14453         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
14454         (cua-indent-to-global-mark-column):
14455         * calendar/diary-lib.el (calendar-mark-1):
14456         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
14457         Use with-current-buffer.
14458         * emulation/viper.el (viper-delocalize-var): Use dolist.
14460 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
14462         * comint.el (comint-replace-by-expanded-history-before-point):
14463         Replace !! with the previous input string literally (Bug#1795).
14465 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
14467         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
14468         to be made up of whitespace.
14470 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
14472         * minibuffer.el (read-file-name): Don't use file dialogs for
14473         remote directories (Bug#99).
14475 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
14477         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
14479 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
14481         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
14482         instead of deleting the window or frame.
14484 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14486         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
14487         Support face colors.
14489         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
14490         New function.  Support face colors (Bug#1168).
14491         (tex-common-initialization): Use it.
14493         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
14494         mode allows it (Bug#1168).
14496 2009-10-31  Juri Linkov  <juri@jurta.org>
14498         * facemenu.el (list-colors-display): Don't mark buffer as
14499         modified (Bug#3948).
14501 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
14503         * international/mule-diag.el (list-character-sets-1):
14504         Minor message fix (Bug#3526).
14506         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
14507         Fix face property (Bug#4834).
14508         (etags-list-tags, etags-tags-apropos-additional)
14509         (etags-tags-apropos, tags-select-tags-table): Add follow-link
14510         property.
14512         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
14513         items.
14515 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14517         * textmodes/two-column.el (2C-split):
14518         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
14519         * textmodes/tex-mode.el (tex-set-buffer-directory):
14520         * textmodes/spell.el (spell-region, spell-string):
14521         * textmodes/reftex.el (reftex-erase-buffer):
14522         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
14523         * textmodes/reftex-toc.el (reftex-toc-promote-action):
14524         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
14525         (reftex-select-item):
14526         * textmodes/reftex-ref.el (reftex-label-info-update)
14527         (reftex-offer-label-menu):
14528         * textmodes/reftex-index.el (reftex-index-change-entry)
14529         (reftex-index-phrases-info):
14530         * textmodes/reftex-global.el (reftex-create-tags-file)
14531         (reftex-save-all-document-buffers, reftex-ensure-write-access):
14532         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
14533         (reftex-view-crossref-from-bibtex):
14534         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
14535         (reftex-extract-bib-entries-from-thebibliography)
14536         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
14537         * textmodes/refbib.el (r2b-capitalize-title):
14538         (r2b-convert-buffer, r2b-help):
14539         * textmodes/page-ext.el (pages-directory)
14540         (pages-directory-goto-with-mouse):
14541         * textmodes/bibtex.el (bibtex-validate-globally):
14542         * textmodes/bib-mode.el (bib-capitalize-title):
14543         * textmodes/artist.el (artist-clear-buffer, artist-system):
14544         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
14545         (local-set-scheme-interaction-buffer, xscheme-process-filter)
14546         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
14547         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
14548         (xscheme-send-control-g-interrupt, xscheme-start-process)
14549         (xscheme-process-sentinel, xscheme-cd):
14550         * progmodes/verilog-mode.el (verilog-read-always-signals)
14551         (verilog-set-define, verilog-getopt-file)
14552         (verilog-module-inside-filename-p):
14553         * progmodes/sh-script.el:
14554         * progmodes/python.el (python-pdbtrack-get-source-buffer)
14555         (python-pdbtrack-grub-for-buffer, python-execute-file):
14556         * progmodes/octave-inf.el (inferior-octave):
14557         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14558         (idlwave-shell-compile-helper-routines, idlwave-set-local)
14559         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
14560         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
14561         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
14562         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
14563         (idlwave-shell-filter, idlwave-shell-examine-highlight)
14564         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
14565         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
14566         (idlwave-shell-examine-display, idlwave-shell-run-region)
14567         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
14568         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
14569         * progmodes/idlw-help.el (idlwave-help-get-special-help)
14570         (idlwave-help-get-help-buffer):
14571         * progmodes/gud.el (gud-basic-call, gud-find-class)
14572         (gud-tooltip-activate-mouse-motions-if-enabled):
14573         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
14574         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
14575         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
14576         (ebrowse-tags-next-file):
14577         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
14578         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
14579         (ebnf-eps-finish-and-write):
14580         * progmodes/cpp.el (cpp-edit-save):
14581         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
14582         * progmodes/cc-defs.el (c-emacs-features):
14583         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
14584         (antlr-directory-dependencies):
14585         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
14586         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
14587         (ada-find-any-references, ada-make-filename-from-adaname)
14588         (ada-make-body-gnatstub):
14589         * obsolete/rnews.el (news-list-news-groups):
14590         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
14591         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
14592         * net/rcirc.el (rcirc-debug):
14593         * net/newst-treeview.el (newsticker--treeview-list-add-item)
14594         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
14595         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
14596         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
14597         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
14598         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
14599         (newsticker--treeview-list-clear-highlight)
14600         (newsticker--treeview-list-update-highlight)
14601         (newsticker--treeview-list-highlight-start)
14602         (newsticker--treeview-tree-update-highlight)
14603         (newsticker--treeview-get-selected-item)
14604         (newsticker-treeview-mark-list-items-old)
14605         (newsticker--treeview-set-current-node):
14606         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
14607         * net/newst-backend.el (newsticker--get-news-by-funcall)
14608         (newsticker--get-news-by-wget, newsticker--image-get)
14609         (newsticker--image-sentinel):
14610         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
14611         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
14612         (eudc-ph-close-session):
14613         * net/eudc.el (eudc-save-options):
14614         * language/thai-word.el (thai-update-word-table):
14615         * language/japan-util.el (japanese-string-conversion):
14616         * international/titdic-cnv.el (tsang-quick-converter)
14617         (ziranma-converter, ctlau-converter):
14618         * international/mule-cmds.el (describe-language-environment):
14619         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
14620         (skkdic-convert-postfix, skkdic-convert-prefix):
14621         (skkdic-convert-okuri-nasi, skkdic-convert):
14622         * emacs-lisp/re-builder.el (reb-update-overlays):
14623         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
14624         * emacs-lisp/gulp.el (gulp-send-requests):
14625         * emacs-lisp/find-gc.el (trace-call-tree):
14626         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
14627         (eieio-describe-generic):
14628         * emacs-lisp/eieio-base.el (eieio-persistent-read):
14629         * emacs-lisp/edebug.el (edebug-outside-excursion):
14630         * emacs-lisp/debug.el (debugger-make-xrefs):
14631         * emacs-lisp/cust-print.el (custom-prin1-to-string):
14632         * emacs-lisp/chart.el (chart-new-buffer):
14633         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
14634         Use with-current-buffer.
14635         * textmodes/artist.el (artist-system): Don't call
14636         copy-sequence on a fresh string.
14637         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
14639 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
14641         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
14642         is no item to edit.  (Bug#4820)
14643         (todo-top-priorities): Restore point and restore narrowing in Todo
14644         buffer.  (Bug#4820)
14646 2009-10-31  Glenn Morris  <rgm@gnu.org>
14648         * net/ange-ftp.el (top-level): Don't require dired when compiling.
14649         (comint-last-output-start, comint-last-input-start)
14650         (comint-last-input-end): Don't defvar when compiling.
14651         (ange-ftp-process-file): Use bound-and-true-p.
14653         * pcmpl-rpm.el (top-level): Move provide statement to end.
14654         (pcmpl-rpm): Remove unused custom group.
14656         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
14658         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
14660         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
14661         (byte-compile-warnings): Add `constants' as an option.
14662         (byte-compile-callargs-warn, byte-compile-arglist-warn)
14663         (display-call-tree): Update for byte-compile-fdefinition possibly
14664         returning `(macro lambda ...)'.  (Bug#4778)
14665         (byte-compile-variable-ref, byte-compile-setq-default):
14666         Respect `constants' member of byte-compile-warnings.
14668 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14670         * vc-bzr.el (vc-bzr-revision-keywords): New var.
14671         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
14672         to "submit:".
14674 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
14676         * textmodes/ispell.el (ispell-skip-region-alist):
14677         * international/mule-conf.el (eight-bit):
14678         * international/fontset.el (font-encoding-alist):
14679         * startup.el (pure-space-overflow-message):
14680         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
14681         * paths.el (gnus-nntp-service, rmail-spool-directory)
14682         (term-file-prefix):
14683         * files.el (save-some-buffers-action-alist):
14684         * cmuscheme.el (same-window-buffer-names):
14685         * ielm.el (same-window-buffer-names):
14686         * shell.el (same-window-buffer-names):
14687         * mail/sendmail.el (same-window-buffer-names):
14688         * progmodes/inf-lisp.el (same-window-buffer-names):
14689         * bindings.el (mode-line-client)
14690         (mode-line-column-line-number-mode-map):
14691         * language/tibetan.el (tibetan-precomposition-rule-regexp)
14692         (tibetan-precomposed-regexp): Purecopy string arguments.
14694 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14696         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
14697         (calcDigit-nondigit):
14698         * calc/calc-yank.el (calc-copy-to-buffer):
14699         * calc/calc-units.el (calc-invalidate-units-table):
14700         * calc/calc-trail.el (calc-trail-yank):
14701         * calc/calc-store.el (calc-insert-variables):
14702         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
14703         * calc/calc-prog.el (calc-read-parse-table):
14704         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
14705         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
14706         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
14707         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
14708         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
14709         (calc-graph-name, calc-graph-find-command, calc-graph-view)
14710         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
14711         * calc/calc-ext.el (calc-realign):
14712         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
14713         (calc-embedded-finish-edit, calc-embedded-make-info)
14714         (calc-embedded-finish-command, calc-embedded-stack-change):
14715         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
14717         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
14718         shell-dynamic-complete-filename in preference to
14719         comint-dynamic-complete-filename.
14721         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
14722         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
14723         Don't consider whether the display supports colors.
14724         (bookmark-import-new-list): Use dolist.
14725         (bookmark-bmenu-mode-map): Move initialization into declaration.
14726         (bookmark-bmenu-list): Use dolist, simplify.
14727         (bookmark-show-all-annotations): Use save-selected-window and dolist.
14728         (menu-bar-final-items): Use push.
14730 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14732         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
14733         it works on remote files.
14734         (vc-hg-diff): Don't pass any `--cwd' argument.
14736 2009-10-27  Kevin Ryde  <user42@zip.com.au>
14738         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14739         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
14740         (Further to Bug#3921).
14742 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
14744         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
14745         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
14746         calling `tramp-imap-put-file'.  Add file size to the call.
14747         (tramp-imap-get-file-entries): Compute also user name, file size,
14748         and date.
14749         (tramp-imap-handle-insert-directory): Insert uid and gid.
14750         (tramp-imap-handle-file-attributes): Transform uid and gid
14751         according to `id-format'.
14752         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
14753         size in header X-Size.
14755 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
14757         * simple.el (transpose-subr): Give clearer error when the mark
14758         is not set.  (Bug#4807)
14760 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
14762         * net/tramp.el (tramp-perl-file-truename): New defconst.
14763         Perl code contributed by yary <not.com@gmail.com> (tiny change).
14764         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
14765         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
14766         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
14768         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
14769         Ignore `dired-call-process'.
14770         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
14772 2009-10-26  Julian Scheid  <julians37@gmail.com>
14774         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
14775         (tramp-get-remote-readlink): New defun.
14776         (tramp-handle-file-truename): Use it.
14777         (tramp-handle-file-exists-p): Check file-attributes cache, assume
14778         file exists if cache value present.
14779         (tramp-check-cached-permissions): New defun.
14780         (tramp-handle-file-readable-p): Use it.
14781         (tramp-handle-file-writable-p): Likewise.
14782         (tramp-handle-file-executable-p): Likewise.
14783         (tramp-handle-file-name-all-completions): Try using Perl to get
14784         partial completions.  When perl not available, combine `cd' and
14785         `ls' into single remote operation and use shell expansion to get
14786         partial remote directory contents.  Set `file-exists-p' cache for
14787         directory and any files returned by ls.  Change cache handling to
14788         support partial directory contents.  Use error message emitted by
14789         remote `cd' or Perl code for local tramp-error.
14790         (tramp-do-copy-or-rename-file-directly): Avoid separate
14791         tramp-send-command-and-check call.
14792         (tramp-handle-process-file): Merge three remote ops into one.
14793         Do not flush all caches when `process-file-side-effects' is set.
14794         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
14795         file-attributes shows uid/gid to be set already.
14797 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
14799         * textmodes/tex-mode.el (tex-dvi-view-command)
14800         (tex-show-queue-command, tex-open-quote):
14801         * progmodes/ruby-mode.el (auto-mode-alist)
14802         (interpreter-mode-alist): Purecopy strings.
14804         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
14806         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
14807         string for the hook, keymap and abbrev table.
14809         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14811         * x-dnd.el (x-dnd-xdnd-to-action):
14812         * startup.el (fancy-startup-text, fancy-about-text): Change to
14813         defconst from defvar.
14815         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14817         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14818         Purecopy initialization strings.
14820         * mail/sendmail.el (mail-header-separator)
14821         (mail-personal-alias-file):
14822         * mail/rmail.el (rmail-default-dont-reply-to-names)
14823         (rmail-ignored-headers, rmail-retry-ignored-headers)
14824         (rmail-highlighted-headers, rmail-secondary-file-directory)
14825         (rmail-secondary-file-regexp):
14826         * files.el (null-device, file-name-invalid-regexp)
14827         (locate-dominating-stop-dir-regexp)
14828         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14829         (interpreter-mode-alist): Use mapcar instead of mapc.
14831         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14833         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14834         (completion-ignored-extensions):
14835         (debug-ignored-errors): Purecopy strings.
14837 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14839         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14840         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14841         (pcomplete--here): Use push.
14843         * subr.el (all-completions): Declare the 4th arg obsolete.
14845 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14847         * pcomplete.el (pcomplete-unquote-argument-function): New var.
14848         (pcomplete-unquote-argument): New function.
14849         (pcomplete--common-suffix): Always pay attention to case.
14850         (pcomplete--table-subvert): Quote and unquote the text.
14851         (pcomplete--common-quoted-suffix): New function.
14852         (pcomplete-std-complete): Use it and pcomplete-begin.
14854         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14855         we're inside a dedicated or minibuffer window.
14857 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
14859         * bookmark.el: Update documentation, especially documentation
14860         of `bookmark-alist' and of the bookmark file format.
14861         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
14863 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
14865         * mail/emacsbug.el (report-emacs-bug): Clarify that the
14866         keybindings apply to the mail buffer (Bug#4003).  Shrink help
14867         window to buffer.
14869         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14870         (global-whitespace-mode, global-whitespace-newline-mode)
14871         (whitespace-toggle-options, global-whitespace-toggle-options):
14872         Doc fix (Bug#3660).
14874         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14875         of xmltok-start before the end tag was inserted (Bug#2840).
14877         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14878         patterns that are preceded by an open-paren (Bug#1320).
14880 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
14882         * files.el (delete-directory): Delete symlinks to directories with
14883         delete-file (Bug#4739).
14885 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
14887         * vc.el (vc-backend-for-registration): Rename from
14888         vc-get-backend-for-registration.  Update callers.
14890         * international/mule-cmds.el (set-language-info-alist):
14891         Purecopy lang-env.
14892         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14893         (charset): Purecopy the name.
14894         (define-char-code-property): Purecopy string arguments.
14896         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14897         Purecopy string arguments.
14899         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14900         * ediff-hook.el (menu-bar-ediff-menu):
14901         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14902         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14904 2009-10-24  Glenn Morris  <rgm@gnu.org>
14906         * comint.el (comint-dynamic-list-completions):
14907         * term.el (term-dynamic-list-completions): Use choose-completion rather
14908         than obsolete alias mouse-choose-completion.
14910         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14911         file-cache-choose-completion.
14912         (file-cache-choose-completion): Handle an optional event argument.
14913         (file-cache-mouse-choose-completion): Make it an obsolete alias.
14915         * progmodes/octave-mod.el (octave-complete-symbol):
14916         Use choose-completion if mouse-choose-completion is ever removed.
14918         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14919         use.
14921         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14922         compiler.
14924         * vc-hooks.el (vc-responsible-backend): Fix declaration.
14926 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14928         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14929         Ignore `pred' now that we receive one.
14930         Handle test-completion specially.
14932 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14934         * vc.el (vc-responsible-backend): Throw an error if not backend is
14935         found.  Remove the REGISTER argument.  Move the code dealing with
14936         REGISTER ...
14937         (vc-get-backend-for-registration): ... here.  New function.
14938         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14939         of vc-responsible-backend, pass the file name instead of the
14940         directory name.
14942 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14944         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14945         New funs.
14946         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
14947         (pcomplete-comint-setup): Don't modify a global var via
14948         accidental side-effects.
14949         (pcomplete-shell-setup): Adjust call accordingly.
14950         (pcomplete-parse-comint-arguments): Use push.
14952 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14954         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14955         Allow uncapitalized info node names (Bug#3921).
14957         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14958         to the DEBUG file (Bug#3781).
14960 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14962         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14963         dictionary entry (Bug#4579).
14965 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14967         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14968         from `rfn-eshadow-update-overlay-hook' when unloading.
14969         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14970         "rsyncc".  Adjust doc string.
14971         (tramp-temp-buffer-file-name): New buffer-local defvar.
14972         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14973         Keep temporary file when indicated by method ("rsync" and
14974         "rsyncc").
14975         (tramp-handle-write-region): Handle APPEND.
14976         (tramp-delete-temp-file-function): New defun.  Added to
14977         `kill-buffer-hook'.
14979 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14981         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14983 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14985         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14986         (color-name-rgb-alist, tty-standard-colors)
14987         (tty-color-mode-alist): Change to defconst.
14989         * simple.el (mark-inactive): Purecopy message.
14991         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14992         (global-map, yank-menu):
14993         * textmodes/ispell.el (ispell-menu-map):
14994         * net/eudc.el (eudc-tools-menu):
14995         * international/mule-cmds.el (describe-language-environment-map)
14996         (setup-language-environment-map, set-coding-system-map)
14997         (mule-menu-keymap):
14998         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14999         * replace.el (occur-mode-map):
15000         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
15002 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
15004         * calc/calc.el (math-read-number, math-read-number-simple):
15005         Use `save-match-data'.
15007 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15009         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
15010         rather than fiddling with global-map bindings, since it should only
15011         affect per-terminal settings.
15012         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
15014         * minibuffer.el (completion-table-with-terminator): Allow to specify
15015         the terminator-regexp.
15017         * simple.el (switch-to-completions): Look for *Completions* in other
15018         frames as well.
15020         * pcomplete.el: Allow the use of completion-tables.
15021         (pcomplete-std-complete): New command.
15022         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
15023         (pcomplete--here): Use a function for `form' rather than an expression,
15024         so it can be byte-compiled.
15025         (pcomplete-here, pcomplete-here*): Adjust accordingly.
15026         Add edebug declaration.
15027         (pcomplete-show-completions): Remove unused var `curbuf'.
15028         (pcomplete-do-complete, pcomplete-stub):
15029         Don't assume `completions' is a list of strings any more.
15031 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
15033         * find-dired.el (find-name-arg): Fix typo in docstring.
15035 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15037         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
15038         (pcmpl-linux-fs-types): Same, and update to new modules layout.
15040         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
15041         pcomplete-entries.
15043         * comint.el (comint-read-input-ring, comint-write-input-ring)
15044         (comint-substitute-in-file-name)
15045         (comint-dynamic-complete-as-filename)
15046         (comint-dynamic-simple-complete)
15047         (comint-dynamic-list-filename-completions)
15048         (comint-dynamic-list-completions)
15049         (comint-redirect-results-list-from-process): Minor simplifications.
15051 2009-10-21  Kevin Ryde  <user42@zip.com.au>
15053         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
15054         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
15055         the first form.  And insert a blank line after ";;; Code" since
15056         that's usual style.  (Bug#4612)
15058         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
15060 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15062         * minibuffer.el (completion-table-with-terminator): Properly implement
15063         boundaries, in case `terminator' appears in the suffix.
15064         (completion--embedded-envvar-table): Don't return boundaries if
15065         there's no valid completion.  Simplify.
15066         (completion-file-name-table): New completion table extracted from
15067         completion--file-name-table.
15068         (completion--file-name-table): Use it.
15069         (read-file-name-predicate): Declare obsolete.
15070         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
15071         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
15072         completion-file-name-table, and use the `pred' argument.
15073         * files.el (locate-file-completion-table): Use the `pred' arg rather
15074         than read-file-name-predicate.
15075         (abbreviate-file-name): Use \` rather than ^ for BOS.
15077 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
15079         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
15080         vc-responsible-backend to register, it causes problems.
15082 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15084         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
15086 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
15088         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
15089         (tramp-smb-handle-file-attributes): Use it.
15090         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
15091         (tramp-smb-handle-insert-directory): Use `mapc' rather than
15092         `mapcar'.  Use `tramp-smb-get-stat-capability'.
15093         Add `dired-filename' text properties.
15094         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
15095         (tramp-smb-maybe-open-connection): Simplify check for smbclient
15096         version.
15098 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15100         * subr.el (read-key-delay): Reduce to 0.01.
15101         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
15102         (bug#4751).
15104 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
15106         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
15108         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
15109         (Info-menu): Remove unused vars `last' and `completions'.
15110         (Info-index-nodes): Remove unused var `node'.
15112         * info.el (Info-complete-menu-item): Use complete-with-action.
15114 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
15116         Make vc-annotate work through copies and renames.
15117         * vc-annotate.el (vc-annotate-extract-revision-at-line):
15118         Return the file name too.
15119         (vc-annotate-revision-at-line)
15120         (vc-annotate-find-revision-at-line)
15121         (vc-annotate-revision-previous-to-line)
15122         (vc-annotate-show-log-revision-at-line): Update to get the file
15123         name from vc-annotate-extract-revision-at-line.
15124         (vc-annotate-show-diff-revision-at-line-internal): Change the
15125         argument to mean whether to show a file diff or not.  Get the file
15126         name from vc-annotate-extract-revision-at-line.
15127         (vc-annotate-show-diff-revision-at-line):
15128         Update vc-annotate-show-diff-revision-at-line call.
15129         (vc-annotate-warp-revision): Add an optional file argument.
15131         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
15132         (vc-git-annotate-extract-revision-at-line): Also return the file
15133         name if found.
15135         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
15136         command.  Remove unused code.
15137         (vc-hg-annotate-re): Update to match --follow output.
15138         (vc-hg-annotate-extract-revision-at-line): Also return the file
15139         name if found.
15141         * vc.el: Update annotate-extract-revision-at-line documentation.
15143 2009-10-18  Kevin Ryde  <user42@zip.com.au>
15145         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
15146         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
15148         * net/browse-url.el (browse-url): Identify alist with "consp and
15149         not functionp" and let all other things go down the `apply' leg,
15150         as suggested by Stefan.  (Further to bug#4531.)
15152 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
15154         * minibuffer.el (read-file-name): Check for repeat before putting
15155         a default argument in file-name-history (Bug#4657).
15157         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
15158         read syntax (Bug#4737).
15160         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
15162 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
15164         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
15165         (html-tag-alist, html-tag-help): Add descriptions for undocumented
15166         entries and make note of obsolete tags.
15168 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15170         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
15172 2009-10-18  Glenn Morris  <rgm@gnu.org>
15174         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
15175         grep, so that binary files (eg international/uni-bidi.el) can match.
15176         Remove test for "UnicodeData" files, since it is hopefully unnecessary
15177         now, and in any case the file header format has changed.
15179 2009-10-17  Glenn Morris  <rgm@gnu.org>
15181         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
15182         (flyspell-get-word, flyspell-large-region)
15183         (flyspell-auto-correct-previous-word): Doc/error message fixes.
15185 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
15187         * Makefile.in (ELCFILES): Add ede/shell.
15189 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
15191         * term/common-win.el (x-colors): Purecopy it.
15193 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15195         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
15196         permissive for when the buffer is empty.
15197         (tar-header-block-tokenize): Decode the username and groupname.
15198         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
15200 2009-10-17  Eric Ludlam  <zappo@gnu.org>
15202         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
15203         contains multibyte characters, choose first applicable coding
15204         system automatically.
15206 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15208         * international/mule-cmds.el (select-safe-coding-system): If the file
15209         has a coding cookie, use it regardless of any other setting (bug#4712).
15211 2009-10-17  Glenn Morris  <rgm@gnu.org>
15213         * foldout.el (foldout-mouse-swallow-events):
15214         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
15216         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
15217         (dired-keep-marker-copy, dired-keep-marker-hardlink)
15218         (dired-keep-marker-symlink, dired-dwim-target)
15219         (dired-copy-preserve-time): Do not autoload these defcustoms.
15221         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
15222         messages from messing up the file coding.  (Bug#4623)
15224 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
15226         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
15227         if no match is found for the current dictionary.  (Bug#4578)
15229         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
15230         optional, since that is how it is documented, and this is often called
15231         with a nil argument.  (Bug#4577)
15232         (flyspell-external-point-words, flyspell-auto-correct-word)
15233         (flyspell-correct-word-before-point, flyspell-word-search-forward)
15234         (flyspell-word-search-backward): Remove nil argument in calls to
15235         flyspell-get-word, since it is not needed now.
15237 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
15239         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
15241 2009-10-16  Glenn Morris  <rgm@gnu.org>
15243         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
15245 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
15247         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
15248         (ange-ftp-file-size): New function.
15249         (ange-ftp-file-attributes): Use it.
15251 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
15253         * net/tramp-smb.el (tramp-smb-version): New defvar.
15254         (tramp-smb-maybe-open-connection): Use it, in order to avoid
15255         repeated checks.
15257 2009-10-16  Glenn Morris  <rgm@gnu.org>
15259         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
15260         Maybe copy some custom properties from old to new name.  (Bug#4706)
15262 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
15264         * subr.el (error, sit-for, start-process-shell-command)
15265         (start-file-process-shell-command): Set the calling convention
15266         after the function definition.
15268 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15270         * subr.el (error, sit-for, start-process-shell-command)
15271         (start-file-process-shell-command): Use the new
15272         set-advertised-calling-convention feature.
15274 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
15276         * international/ucs-normalize.el (ucs-normalize-version):
15277         Change to 1.2.
15278         (check-range): Adjust for Unicode 5.2.
15280 2009-10-15  Juri Linkov  <juri@jurta.org>
15282         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
15283         to the `menu-item' format.
15285 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
15287         * net/tramp.el (tramp-replace-environment-variables): Do not fail
15288         if the environment variable does not exist.
15290         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15291         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
15292         parameter.
15293         (tramp-smb-handle-add-name-to-file)
15294         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15295         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15296         (tramp-smb-handle-file-attributes)
15297         (tramp-smb-do-file-attributes-with-stat)
15298         (tramp-smb-handle-file-local-copy)
15299         (tramp-smb-handle-insert-directory)
15300         (tramp-smb-handle-make-directory)
15301         (tramp-smb-handle-make-directory-internal)
15302         (tramp-smb-handle-make-symbolic-link)
15303         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
15304         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
15305         (tramp-smb-maybe-open-connection): Apply the changed parameters.
15306         (tramp-smb-read-file-entry): Read Disk names in compressed format.
15307         Handle long file names.
15308         (tramp-smb-get-cifs-capabilities): Check, whether the connection
15309         process is running.
15310         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
15311         Read share names with "-g" option.
15313 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
15315         * net/rcirc.el (rcirc-view-log-file): New command.
15316         (rcirc-track-minor-mode-map): Remove C-c ` binding.
15317         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
15318         specified.
15320 2009-10-15  Glenn Morris  <rgm@gnu.org>
15322         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
15323         from the second command-line argument.
15324         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
15325         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
15326         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
15327         w32-batch-update-autoloads.
15328         * emacs-lisp/autoload.el (autoload-make-program): New variable.
15329         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
15331         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
15332         the headers cannot be located.  Simplify, subtracting superflous
15333         save-excursions.
15335 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15337         Replace completion-base-size by completion-base-position to fix bugs
15338         such as (bug#4699).
15339         * simple.el (completion-base-position): New var.
15340         (completion-base-size): Mark as obsolete.
15341         (choose-completion): Make it work for mouse events as well.
15342         Pass the new base-position to choose-completion-string.
15343         (choose-completion-guess-base-position): New function, extracted from
15344         choose-completion-delete-max-match.
15345         (choose-completion-delete-max-match): Use it.  Make obsolete.
15346         (choose-completion-string): Use the new base-position info.
15347         (completion-root-regexp): Delete.
15348         (completion-setup-function): Preserve completion-base-position.
15349         Eliminate obsolete base-size manipulation.
15350         * minibuffer.el (display-completion-list): Don't mess with base-size.
15351         (minibuffer-completion-help): Set completion-base-position instead.
15352         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
15353         choose-completion.
15354         * textmodes/bibtex.el (bibtex-complete):
15355         * emacs-lisp/crm.el (crm--choose-completion-string):
15356         Adjust to new calling convention.
15357         * complete.el (partial-completion-mode): Use minibufferp to avoid
15358         bumping into incompatible change to choose-completion-string-functions.
15359         * ido.el (ido-choose-completion-string): Make its calling convention
15360         more permissive.
15361         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
15362         base-size manipulation.
15363         (comint-dynamic-list-input-ring): Use dotimes and push.
15364         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
15365         fundamental-mode.  Use `or'.
15367 2009-10-14  Juri Linkov  <juri@jurta.org>
15369         * misearch.el (multi-isearch-next-buffer-from-list)
15370         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
15372 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15374         * Makefile.in (compile-onefile): Load `bytecomp' rather than
15375         `bytecomp.el'.
15377         * minibuffer.el (completion-pcm--merge-completions): Make sure the
15378         string we return is all made up of text from the completions rather
15379         than part from the completions and part from the input (bug#4219).
15381         * ido.el (ido-everywhere): Use define-minor-mode.
15383         * buff-menu.el (list-buffers, ctl-x-map):
15384         Mark the entry points with ;;;###autoload cookies.
15386 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
15388         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
15389         correctly in the detached head case.
15390         (vc-git-print-log): Remove unused binding.
15392         * vc.el (vc-responsible-backend): When a directory is passed for
15393         for registration create a VC repository if no backend is
15394         responsible for the directory argument.
15395         (vc-deduce-fileset): Tell vc-responsible-backend to register.
15397         * vc.el: Move comments about RCS and SCCS ...
15398         * vc-rcs.el:
15399         * vc-sccs.el: ... here, respectively.
15401 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15403         * minibuffer.el (completion--file-name-table): Return nil if there's
15404         no file completion, even if substitute-in-file-name changed
15405         the string (bug#4708).
15407 2009-10-13  Juri Linkov  <juri@jurta.org>
15409         * files-x.el (read-file-local-variable-value): Don't filter out
15410         minor modes from mode name completion (bug#4664).
15412 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15414         * international/mule-cmds.el (ucs-names): Remove exclusion of
15415         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
15417 2009-10-13  Kenichi Handa  <handa@m17n.org>
15419         * international/uni-name.el: Regenerated.
15421 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
15423         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
15424         should be automatically buffer-local, but isn't.)
15426 2009-10-12  Sam Steingold  <sds@gnu.org>
15428         * progmodes/compile.el (compilation-next-error-function): Fix the
15429         timestamps if the buffer has been visited before.
15430         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
15431         non-anchored patterns, like the perl one (bug#3928).
15433 2009-10-12  Glenn Morris  <rgm@gnu.org>
15435         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
15436         Let-bind `size'.
15438 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
15440         * proced.el (proced-unload-function): New function.
15442         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
15443         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
15444         Doc fix.
15446         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
15448 2009-10-11  Juri Linkov  <juri@jurta.org>
15450         * files-x.el (read-file-local-variable-value):
15451         Provide default value only for bound variables (bug#4664).
15453 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
15455         * net/tramp.el (tramp-local-host-p): Function shall return nil for
15456         connection methods like smb.
15458         * net/tramp-cache.el (tramp-flush-connection-property): The hash
15459         can be empty.
15461         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15462         (tramp-smb-file-name-handler-alist): Add handlers for
15463         `add-name-to-file', `make-symbolic-link'.
15464         (tramp-smb-handle-add-name-to-file)
15465         (tramp-smb-do-file-attributes-with-stat)
15466         (tramp-smb-handle-make-symbolic-link)
15467         (tramp-smb-get-cifs-capabilities): New defuns.
15468         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
15469         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
15470         (tramp-smb-handle-file-local-copy)
15471         (tramp-smb-handle-make-directory-internal)
15472         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
15473         The file name syntax depends on cifs capabilities.
15474         (tramp-smb-handle-file-attributes):
15475         Call `tramp-smb-do-file-attributes-with-stat' if possible.
15476         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
15477         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
15479 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
15481         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
15482         (eieio-defclass): Apply deftype handler and setf-method properties
15483         directly.
15484         (eieio-add-new-slot): Avoid union function from cl library.
15485         (eieio--typep): New function.
15486         (eieio-perform-slot-validation): Use it.
15488 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15490         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
15491         Update documentation to refer to the variables documented in r1.135.
15492         (Bug#4188)
15494 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
15496         * bookmark.el (Info-suffix-list): Remove this unused variable.
15497         (bookmark-current-point): Remove this obsolete variable.
15498         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
15499         Adjust for removal of bookmark-current-point.
15501         (bookmarks-already-loaded, bookmark-current-buffer)
15502         (bookmark-yank-point): Document.  (Bug#4188)
15504 2009-10-10  Glenn Morris  <rgm@gnu.org>
15506         * frame.el (frame-height): Doc fix.
15508         * calendar/calendar.el (calendar-split-width-threshold): New option.
15509         (calendar-basic-setup): Use calendar-split-width-threshold.
15511 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
15513         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
15514         Ideographic Supplement" range (U+1F200..U+1F2FF).
15516 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15518         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
15519         since the list will have been rebuilt anyway.  (Bug#4349)
15521 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15523         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
15524         (bookmark-bmenu-execute-deletions): Don't save here, as
15525         bookmark-delete will now do so if necessary.
15526         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
15527         (Bug#4348)
15529 2009-10-09  Glenn Morris  <rgm@gnu.org>
15531         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
15533 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
15535         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
15536         (bookmark-jump-other-window): Just invoke bookmark-jump with new
15537         argument now, so the two function's behaviors will match.  (Bug#3645)
15539 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
15541         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
15542         (tramp-file-name-real-host, tramp-file-name-port):
15543         Apply `save-match-data'.
15545         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
15546         case both directories are remote.
15547         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
15548         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
15550 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15552         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
15554 2009-10-07  Glenn Morris  <rgm@gnu.org>
15556         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
15557         of concat.
15559 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15561         * files-x.el (read-file-local-variable): Include some
15562         non-user-variables in the completion table (bug#4664).
15564 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
15566         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
15567         message.
15569         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
15570         (tramp-smb-file-name-handler-alist): Add handler for
15571         `copy-directory', `expand-file-name', `set-file-modes'.
15572         (tramp-smb-handle-copy-directory)
15573         (tramp-smb-handle-expand-file-name)
15574         (tramp-smb-handle-set-file-modes): New defuns.
15575         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
15576         (tramp-smb-handle-file-attributes): Simplify check for retrieving
15577         entry.
15578         (tramp-smb-handle-insert-directory): Don't flush the cache.
15579         (tramp-smb-maybe-open-connection): Check for samba client and
15580         server versions.
15582 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
15584         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
15585         to not error out of search for "^lisp=" fails.
15587 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
15589         * makefile.w32-in (WINS_UPDATES): New macro.
15590         (custom-deps, finder-data, autoloads): Use it.
15592 2009-10-07  Glenn Morris  <rgm@gnu.org>
15594         * Makefile.in (autoloads): Revert previous change.
15595         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
15596         the list of preloaded files passed on the command-line, get
15597         it from src/Makefile.
15599         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
15600         show the original buffer rather than a random one.
15602 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
15604         * help.el (describe-no-warranty): Place point in a slightly better
15605         position in the GPLv3 text.
15607 2009-10-06  Sam Steingold  <sds@gnu.org>
15609         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
15610         the comm attribute is present before calling regexp-quote.
15612 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
15614         * play/animate.el (animate-string): For good effect, make sure
15615         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
15617         * play/animate.el (animate-sequence, animate-birthday-present):
15618         * misc.el (butterfly): Don't set `indent-tabs-mode'.
15620 2009-10-06  Glenn Morris  <rgm@gnu.org>
15622         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
15624         * emacs-lisp/autoload.el (autoload-excludes): New variable.
15625         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
15626         (batch-update-autoloads): Process a string value of autoload-excludes,
15627         set during the build process.
15628         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
15630         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
15631         inside with-parsed...  macro so that `v' is defined.
15633         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
15634         * progmodes/fortran.el (fortran-end-of-block)
15635         (fortran-beginning-of-block):
15636         Also push mark in the macro case.
15638         * emerge.el (emerge-show-file-name):
15639         * calc/calc.el (calc-quit):
15640         * calc/calc-misc.el (calc-big-or-small):
15641         * calc/calc-graph.el (calc-graph-view):
15642         * calc/calc-ext.el (calc-reset):
15643         * calendar/calendar.el (calendar-basic-setup):
15644         Use window-full-height-p.
15646         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
15647         header we don't understand, don't insert another.  (Bug#4624)
15648         If changing mime charset, insert the new one in the right place.
15650 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
15652         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
15653         (cal-tex-cursor-month): Correctly increment the end date for diary and
15654         holiday listing.  (Bug#4626)
15656 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15658         * help-fns.el (describe-function-1): Don't burp if the function is not
15659         a symbol.
15661 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
15663         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
15664         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
15665         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
15666         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
15668         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
15669         (eieio-default-superclass): Reflow docstrings.
15670         (this, class-option-assoc, defclass, eieio-class-un-autoload)
15671         (eieio-unbind-method-implementations, defmethod)
15672         (eieio-validate-slot-value, eieio-validate-class-slot-value)
15673         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
15674         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
15675         (eieio-slot-originating-class-p, eieio-slot-name-index)
15676         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
15677         (constructor, initialize-instance, no-next-method, object-print)
15678         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
15679         Fix typos in docstrings.
15680         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
15681         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
15682         (next-method-p): Doc fixes.
15683         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
15684         Fix typos in error messages.
15685         (eieio-defmethod): Fix typo in description of generic method.
15687         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
15688         (eieio-persistent-save-interactive, slot-missing):
15689         Fix typos in docstrings.
15690         (eieio-instance-inheritor-slot-boundp): Doc fix.
15692         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
15693         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
15695         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
15696         (eieio-custom-object-apply-reset):
15697         Fix typos in docstrings and error messages.
15699         * emacs-lisp/eieio-datadebug.el (data-debug-show):
15700         Fix typo in docstring.
15702         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
15703         (eieio-browse-tree): Doc fix.
15704         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
15705         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
15706         Fix typos in docstrings.
15708         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
15709         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
15710         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
15711         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
15712         Reflow docstrings.
15714 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
15716         * vc-hg.el (log-view-vc-backend): Declare for compiler.
15717         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
15718         Set log-view-vc-backend so that diff can work.
15720         * log-view.el (log-view-diff): Use vc-diff-internal instead of
15721         vc-version-diff.
15722         (vc-diff-internal): Autoload this instead of vc-version-diff.
15724 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
15726         * simple.el (eval-expression): Doc fix.
15728         * progmodes/cwarn.el (cwarn-mode): Doc fix.
15730 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
15732         * files.el (directory-files-no-dot-files-regexp): New defconst.
15733         (delete-directory): Use it.
15734         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
15736         * net/tramp.el (tramp-verbose): Fix docstring.
15737         (tramp-methods): Add recursive option to `tramp-copy-args'.
15738         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
15739         "scp1_old", "scp2_old", "rsync", "rsyncc".
15740         (tramp-default-method): Check also for `auth-source-user-or-password'.
15741         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
15742         Add handler for `copy-directory'.
15743         (tramp-handle-copy-directory): New defun.
15744         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
15745         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
15746         Optimize sent command.
15748 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15750         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
15751         window if necessary.
15753         * calendar/calendar.el (calendar-basic-setup): Don't call
15754         switch-to-buffer in a dedicated window.
15756 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
15758         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
15759         don't do anything related to relocating, just return nil.
15760         (bookmark-error-no-filename): New error.
15761         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
15762         bookmark has no file.  Don't even attempt to handle things that
15763         are not files; the whole point of custom handlers is to keep that
15764         knowledge elsewhere anyway.  Tighten some comments.
15765         (bookmark-file-or-variation-thereof): Remove now-unused function.
15766         (bookmark-location): Doc string fix.
15767         (Bug#4250)
15769 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15771         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
15772         don't use a file dialog, because they usually don't know how to read
15773         a directory target from the user.  (Bug#4230)
15774         Also, make sure the prompt can display directories as well as files.
15776 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15778         * bookmark.el (bookmark-set, bookmark-buffer-name):
15779         Improve doc strings.  (Bug#1193)
15781 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15783         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
15784         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
15785         (bookmark-get-annotation, bookmark-set-annotation)
15786         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
15787         (bookmark-set-position, bookmark-get-front-context-string)
15788         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
15789         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
15790         (bookmark-jump-other-window, bookmark-handle-bookmark)
15791         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
15792         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
15793         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
15794         Improve doc strings to say whether bookmark can be a string or
15795         a record or both, and make other consistency and clarity fixes.
15796         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
15797         (bookmark-default-annotation-text, bookmark-yank-word)
15798         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
15799         (bookmark-import-new-list, bookmark-maybe-rename)
15800         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
15801         (bookmark-bmenu-bookmark): Give these doc strings.
15802         (bookmark-bmenu-check-position): Give this a doc string, but also
15803         add a FIXME comment about how the function may be pointless.
15804         (bookmark-default-handler): Rework doc string and change a
15805         parameter name, to clarify that this takes a bookmark record
15806         not a bookmark name.
15807         (bookmark-set): Change a parameter name to indicate its meaning,
15808         and improve the doc string a bit.
15809         (Bug#4188)
15811 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15813         * bookmark.el (bookmark-alist): Document the new `handler' element
15814         in the param alist.
15815         (bookmark-make-record-function): Adjust documentation for above.
15816         (Bug#4193)
15818 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15820         * info.el (Info-bookmark-make-record): Document this function.
15821         (Info-bookmark-jump): Document with a doc string, not just a comment.
15822         (Bug#4203)
15824 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
15826         * files.el (copy-directory): New defun.
15828         * dired-aux.el (dired-copy-file-recursive): Use it.
15830 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
15832         * files-x.el (modify-dir-local-variable)
15833         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15834         docstrings.
15836         * recentf.el (recentf-unload-function): New function.
15838 2009-10-04  Glenn Morris  <rgm@gnu.org>
15840         * window.el (window-full-height-p): Add doc string.
15842 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
15844         * window.el (window-full-height-p): New function.  (Bug#4543)
15846 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
15848         * vc.el: Remove commented out code.
15849         (vc-derived-from-dir-mode): Remove, unused.
15850         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15852 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
15854         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15855         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
15856         there could be recursive loading when `default-directory' is a
15857         remote file name.  (Bug#4614)
15859 2009-10-03  Glenn Morris  <rgm@gnu.org>
15861         * calendar/calendar.el (calendar-basic-setup): Handle the case where
15862         the frame is wide.
15863         (calendar-generate-window): Test for shrinkability rather than width.
15865         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15866         reusing existing buffers, in case we happen to visit two files with the
15867         same basename.  (Bug#4593)
15869 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15871         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15872         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15873         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15874         subdirs of cedet as well.
15875         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15877 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15879         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15880         Obey advertised-signature-table.
15882         * help-fns.el (help-function-arglist): Don't check
15883         advertised-signature-table.
15884         (describe-function-1): Do it here instead so it also applies to subrs.
15886 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
15888         * simple.el (start-file-process): Say in the doc-string, that file
15889         handlers might not support pty association, if PROGRAM is nil.
15891         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15892         HOST and USER are strings.  They are nil, when there are
15893         incomplete entries in ~/.netrc, for example.
15894         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
15895         root directory ("device busy" error otherwise).
15897         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15898         Flush file properties of created directory.
15900 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15902         * makefile.w32-in (WINS_BASIC): Remove cedet.
15903         (WINS_CEDET): Add cedet.
15904         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15906 2009-10-02  Kevin Ryde  <user42@zip.com.au>
15908         * net/browse-url.el (browse-url): Pass any symbol in
15909         browse-url-browser-function to `apply', since if you've mistakenly put
15910         an unbound symbol then the error is clearer.  (Bug#4531)
15912 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15914         * allout.el (allout-init, allout-back-to-current-heading)
15915         (allout-beginning-of-current-entry, allout-ascend-to-depth)
15916         (allout-ascend, allout-up-current-level, allout-end-of-level)
15917         (allout-previous-visible-heading, allout-forward-current-level)
15918         (allout-backward-current-level, allout-show-children):
15919         * apropos.el (apropos-describe-plist):
15920         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15921         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15922         * completion.el (add-completion, add-permanent-completion):
15923         * descr-text.el (describe-text-category, describe-char):
15924         * desktop.el (desktop-lazy-abort):
15925         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15926         * dired.el (dired-build-subdir-alist):
15927         * ediff.el (ediff-version):
15928         * elide-head.el (elide-head, elide-head-show):
15929         * emerge.el (emerge-version):
15930         * env.el (getenv):
15931         * face-remap.el (variable-pitch-mode):
15932         * faces.el (describe-face):
15933         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15934         (dired-at-point):
15935         * files.el (find-file-existing, auto-save-mode):
15936         * font-lock.el (font-lock-fontify-buffer):
15937         * help-fns.el (describe-function, describe-variable)
15938         (describe-syntax, describe-categories):
15939         * help.el (view-lossage, describe-bindings, describe-key)
15940         (describe-mode):
15941         * hexl.el (hexl-current-address):
15942         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15943         * info.el (Info-goto-emacs-key-command-node):
15944         * log-edit.el (log-edit-insert-cvs-template)
15945         (log-edit-insert-cvs-rcstemplate):
15946         * menu-bar.el (menu-bar-mode):
15947         * mouse.el (mouse-appearance-menu):
15948         * newcomment.el (comment-indent-new-line):
15949         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15950         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15951         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15952         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15953         * recentf.el (recentf-mode):
15954         * savehist.el (savehist-mode, savehist-save):
15955         * shadowfile.el (shadow-copy-files):
15956         * simple.el (kill-ring-save, next-line, previous-line)
15957         (normal-erase-is-backspace-mode):
15958         * strokes.el (strokes-update-window-configuration)
15959         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15960         (strokes-xpm-for-stroke):
15961         * time.el (emacs-uptime, emacs-init-time):
15962         * tutorial.el (tutorial--describe-nonstandard-key)
15963         (tutorial--detailed-help):
15964         * type-break.el (type-break-mode)
15965         (type-break-mode-line-message-mode, type-break-query-mode)
15966         (type-break-guesstimate-keystroke-threshold):
15967         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15968         * version.el (emacs-version):
15969         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15970         * winner.el (winner-mode):
15971         * calendar/timeclock.el (timeclock-in, timeclock-out)
15972         (timeclock-status-string, timeclock-change)
15973         (timeclock-workday-remaining-string)
15974         (timeclock-workday-elapsed-string)
15975         (timeclock-when-to-leave-string):
15976         * calendar/todo-mode.el (todo-add-category):
15977         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15978         * emacs-lisp/autoload.el (update-file-autoloads):
15979         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15980         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15981         (checkdoc-message-text, checkdoc-defun):
15982         * emacs-lisp/debug.el (debugger-list-functions):
15983         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15984         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15985         (eieio-describe-generic):
15986         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15987         * emacs-lisp/shadow.el (list-load-path-shadows):
15988         * emulation/cua-base.el (cua-mode):
15989         * emulation/edt.el (edt-set-scroll-margins):
15990         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15991         (tpu-toggle-regexp, tpu-toggle-search-direction)
15992         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15993         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15994         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15995         (viper-set-parsing-style-toggling-macro)
15996         (viper-set-emacs-state-searchstyle-macros):
15997         * emulation/viper.el (viper-set-hooks):
15998         * eshell/esh-mode.el (eshell-truncate-buffer):
15999         * international/mule-cmds.el (prefer-coding-system)
16000         (describe-input-method, describe-language-environment):
16001         * international/mule-diag.el (list-character-sets)
16002         (describe-character-set, describe-coding-system)
16003         (describe-fontset, list-fontsets, list-input-methods):
16004         * mail/sendmail.el (mail-signature):
16005         * net/ange-ftp.el (ange-ftp-copy-file):
16006         * net/browse-url.el (browse-url):
16007         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
16008         * net/quickurl.el (quickurl-add-url):
16009         * net/rcirc.el (names, topic):
16010         * net/xesam.el (xesam-mode):
16011         * play/5x5.el (5x5-new-game):
16012         * play/yow.el (apropos-zippy):
16013         * progmodes/ada-mode.el (ada-mode-version):
16014         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
16015         (f90-end-of-block)
16016         (f90-beginning-of-block):
16017         * progmodes/fortran.el (fortran-end-of-block)
16018         (fortran-beginning-of-block):
16019         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
16020         * progmodes/python.el (python-describe-symbol, python-shell):
16021         * term/ns-win.el (ns-print-buffer):
16022         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
16023         * textmodes/flyspell.el (flyspell-mode-on):
16024         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
16025         (pages-directory-for-addresses):
16026         * textmodes/table.el (table-recognize-cell)
16027         (table-query-dimension, table-generate-source)
16028         (table-insert-sequence, table--warn-incompatibility):
16029         * textmodes/tex-mode.el (tex-validate-buffer):
16030         * textmodes/texinfmt.el (texinfmt-version)
16031         (texinfo-format-buffer):
16032         Use `called-interactively-p' instead of `interactive-p'.
16034 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16036         * image-mode.el (image-toggle-display):
16037         * emacs-lisp/elp.el (elp-instrument-function):
16038         * emacs-lisp/advice.el (ad-make-advised-definition):
16039         * emacs-lisp/easy-mmode.el (define-minor-mode):
16040         * net/browse-url.el (browse-url-maybe-new-window):
16041         * progmodes/sh-script.el (sh-learn-buffer-indent):
16042         Pass new argument 'any to `called-interactively-p'.
16044 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
16046         * international/uni-bidi.el:
16047         * international/uni-category.el:
16048         * international/uni-combining.el:
16049         * international/uni-comment.el:
16050         * international/uni-decimal.el:
16051         * international/uni-decomposition.el:
16052         * international/uni-digit.el:
16053         * international/uni-lowercase.el:
16054         * international/uni-mirrored.el:
16055         * international/uni-name.el:
16056         * international/uni-numeric.el:
16057         * international/uni-old-name.el:
16058         * international/uni-titlecase.el:
16059         * international/uni-uppercase.el:
16060         Regenerate from Unicode 5.2.0 data.
16062 2009-10-01  Glenn Morris  <rgm@gnu.org>
16064         * Makefile.in (ELCFILES): Regenerate.
16066 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16068         * subr.el (interactive-p): Mark obsolete.
16069         (called-interactively-p): Make the optional-ness of `kind' obsolete.
16070         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
16071         advertised-signature-table for subroutines as well.
16073         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
16074         (set-advertised-calling-convention): New function.
16075         (make-obsolete, define-obsolete-function-alias)
16076         (make-obsolete-variable, define-obsolete-variable-alias):
16077         Make the optional-ness of `when' obsolete.
16078         (define-obsolete-face-alias): Make `when' non-optional.
16079         * help-fns.el (help-function-arglist):
16080         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
16081         Use advertised-signature-table.
16083 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
16085         * files.el (delete-directory): New defun.  The original function
16086         in fileio.c has been renamed to `delete-directory-internal'.
16088         * dired.el (dired-delete-file): Call `delete-directory' with
16089         RECURSIVE parameter.
16091         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
16092         parameter RECURSIVE.  Implementation is missing.
16094         * net/tramp.el (tramp-handle-make-directory): Flush upper
16095         directory's file properties.
16096         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
16097         (tramp-handle-dired-recursive-delete-directory): Flush directory
16098         properties after the remove command only.
16100         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16101         Handle optional parameter RECURSIVE.
16103         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16104         Handle optional parameter RECURSIVE.
16106         * net/tramp-smb.el (tramp-smb-errors): Add error message for
16107         connection timeout.
16108         (tramp-smb-handle-delete-directory): Handle optional parameter
16109         RECURSIVE.
16111 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16113         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
16114         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
16115         (byte-compile-defmacro): Use backquotes.
16117         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
16119         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
16120         has no associated file.
16121         (vc-resynch-buffer): Use vc-dir-buffers.
16123 2009-10-01  Glenn Morris  <rgm@gnu.org>
16125         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
16126         (chart-file-count):
16127         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
16128         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
16129         * emacs-lisp/eieio-opt.el (eieio-describe-class):
16130         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
16131         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
16132         (eieio-copy-parents-into-subclass, make-instance, class-children)
16133         (eieio-generic-form):
16135         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
16136         match-data.  (Bug#4555).
16138         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
16139         rather than parsing it as a regexp.  This relaxes the layout
16140         requirements and makes errors easier to detect.
16141         (check-declare-verify): Check file is regular.
16142         (check-declare-directory): Doc fix.
16143         * subr.el (declare-function): Doc fix.
16145         * ibuffer.el (ibuffer-format-qualifier):
16146         * isearch.el (hi-lock-regexp-okay):
16147         * calc/calc.el (math-zerop):
16148         * mail/uce.el (rmail-msgbeg, rmail-msgend):
16149         * term/w32-win.el (setup-default-fontset, set-fontset-font):
16150         Remove unused declarations.
16152 2009-09-30  Eric Ludlam  <zappo@gnu.org>
16154         * emacs-lisp/eieio.el (boolean-p): Delete.
16156 2009-09-30  Glenn Morris  <rgm@gnu.org>
16158         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
16160         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
16161         filename is not a string.
16163 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
16165         * files.el (safe-local-eval-forms): Fix typo.
16167 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16169         * vc-hooks.el (vc-dir-buffers): New var.
16170         (vc-state-refresh): New function.
16171         (vc-state): Use it.
16172         (vc-after-save): Always ask the backend to recompute the new state.
16173         Always call vc-dir if necessary, using vc-dir-buffers.
16174         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
16175         Use vc-dir-buffers.
16176         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
16177         (vc-dir-prepare-status-buffer, vc-dir-update)
16178         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
16179         Don't call expand-file-name on default-directory.
16181 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16183         * speedbar.el (speedbar-item-delete):
16184         * calc/calc-prog.el (calc-kbd-if):
16185         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
16187         * epa.el (epa-key-list-mode-map):
16188         * hi-lock.el (hi-lock-menu): Fix typos in menus.
16190         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
16191         (hs-show-hook): Fix typo in docstring.
16193 2009-09-29  Glenn Morris  <rgm@gnu.org>
16195         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
16196         file-name-nondirectory call preventing location of cedet files.
16197         (check-declare-verify): Use literal search rather than re-search.
16198         Add basic defmethod and defclass, and define-overloadable-function.
16200         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16201         Use tramp-compat-file-attributes rather than nonexistent
16202         tramp-compat-handle-file-attributes.
16204         * Makefile.in (lisptagsfiles4): New.
16205         (AUTOGENEL): Add cedet loaddefs files.
16206         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
16207         (update-elclist, compile-always, backup-compiled-files)
16208         (bootstrap-clean): Add yet another directory level.
16209         (update-elclist): Use LC_COLLATE rather than COLLATE.
16210         (ELCFILES): Update, via `make update-elclist'.
16212 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
16214         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
16215         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
16216         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
16218 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
16220         * Makefile.in (lisptagsfiles3): Define.
16221         (TAGS, TAGS-LISP): Use it.
16222         (update-elclist): Add third directory level to look for elc files.
16223         (compile-always): Likewise.
16224         (backup-compiled-files): Likewise.
16225         (bootstrap-clean): Likewise.
16226         (ELCFILES): Update.
16228 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
16230         * Makefile.in (ELCFILES): Add CEDET files.
16232 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
16234         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
16236         * net/tramp.el (top): Require tramp-imap.
16238         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
16239         Use `tramp-compat-handle-file-attributes'.
16241 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
16243         * net/tramp-imap.el: New package.
16245 2009-09-28  Eric Ludlam  <zappo@gnu.org>
16247         * emacs-lisp/chart.el:
16248         * emacs-lisp/eieio-base.el:
16249         * emacs-lisp/eieio-comp.el:
16250         * emacs-lisp/eieio-custom.el:
16251         * emacs-lisp/eieio-datadebug.el:
16252         * emacs-lisp/eieio-opt.el:
16253         * emacs-lisp/eieio-speedbar.el:
16254         * emacs-lisp/eieio.el: New files.
16256 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16258         * whitespace.el (whitespace-trailing-regexp)
16259         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
16260         Fix doc string.
16262 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
16264         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
16265         menu.
16267         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
16268         menu-bar-ediff-menu.
16270         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
16271         define-overloadable-function.
16273         * progmodes/autoconf.el: Provide autoconf as well, so that this
16274         file can be `require'd.
16276         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
16278         * emacs-lisp/autoload.el (generated-autoload-feature)
16279         (generated-autoload-load-name): New vars.
16280         (autoload-rubric, autoload-generate-file-autoloads): Use them.
16281         (make-autoload): Recognize define-overloadable-function and
16282         defclass forms (for EIEIO).
16284         * Makefile.in (update-subdirs): Exclude cedet directory.
16286 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
16288         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
16290         * faces.el: Default light-background background for region face to
16291         ns_selection_color under NS.
16293 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
16295         * net/imap-hash.el: New library, see NEWS.
16297         * Makefile.in (ELCFILES): Add imap-hash.el.
16299 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16301         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
16302         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
16303         * help-macro.el (make-help-screen): Avoid using an ambiguous function
16304         definition where the docstring could be taken for the return value.
16306 2009-09-26  Glenn Morris  <rgm@gnu.org>
16308         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
16309         Add option to only show images below a certain size.
16310         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
16311         save-excursion calls.
16313 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
16315         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
16316         subdirectories) and eieio.
16318 2009-09-26  Alan Mackenzie  <acm@muc.de>
16320         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16321         Correct buggy bracketing.  (Bug#4289)
16323         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
16324         character constants (as case labels).  (Bug#4289)
16326 2009-09-25  Juri Linkov  <juri@jurta.org>
16328         * files.el (safe-local-eval-forms): Allow time-stamp in
16329         before-save-hook (Bug#4554).
16331 2009-09-25  Drew Adams  <drew.adams@oracle.com>
16333         * menu-bar.el (list-buffers-directory): Doc fix.
16335 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16337         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
16338         Try and avoid copying twice the same paragraph.
16339         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
16340         Remove save-excursion.
16341         (log-edit-changelog-entry): Do it here instead.
16343 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
16345         * bs.el (bs--get-file-name): Use `list-buffers-directory'
16346         when available, instead of hardcoding mode names.  Doc fix.
16348         * menu-bar.el (list-buffers-directory): Add docstring.
16349         Make automatically buffer-local.
16351         * dired.el (dired-mode):
16352         * files.el (cd-absolute):
16353         * pcvs.el (cvs-temp-buffer):
16354         * pcvs-util.el (cvs-get-buffer-create):
16355         * shell.el (shell-mode):
16356         * vc-dir.el (vc-dir-mode):
16357         Don't make `list-buffers-directory' buffer local.
16359 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
16361         * comint.el (comint-exec, comint-run, make-comint):
16362         Doc fixes (Bug#4542).
16364 2009-09-25  Glenn Morris  <rgm@gnu.org>
16366         * mail/rmailmm.el (rmail-mime): New custom group.
16367         Move all defcustoms in this file into this group.
16368         (rmail-mime-media-type-handlers-alist): Revert previous change.
16369         (rmail-mime-show-images): New option.
16370         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
16371         references to it, since it wasn't actually used for anything.
16372         (rmail-mime-insert-image): New function.
16373         (rmail-mime-image): Use rmail-mime-insert-image.
16374         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
16375         obey the value of `rmail-mime-show-images' option.  Print the size of
16376         attachments.
16378 2009-09-25  David Engster  <deng@randomsample.de>
16380         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
16382 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16384         * whitespace.el: Does not highlight trailing spaces While point is
16385         at end of line.  Does not highligt spaces at beginning of buffer
16386         while point is at beginning of buffer.  Does not highlight spaces
16387         at end of buffer while point is at end of buffer.  (Bug#4177)
16388         New version 12.0.
16389         (whitespace-display-mappings): Adjust initialization.
16390         (whitespace-point, whitespace-font-lock-refontify): New vars.
16391         (whitespace-color-on, whitespace-color-off): Adjust code.
16392         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
16393         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
16394         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
16396 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
16398         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
16400         * textmodes/sgml-mode.el: Remove xml-mode alias.
16402         * files.el (auto-mode-alist, conf-mode-maybe)
16403         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
16405 2009-09-24  Alan Mackenzie  <acm@muc.de>
16407         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
16408         c-forward-conditionals, but it doesn't move point and doesn't set
16409         the mark.
16410         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
16411         (c-down-conditional-with-else, c-backward-conditional)
16412         (c-forward-conditional): Refactor to use c-scan-conditionals.
16414 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16416         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
16417         (help-default-arg-highlight): Remove.
16418         (help-highlight-arg): New function.
16419         (help-do-arg-highlight): Use it.
16420         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
16422 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16424         * term.el (term-set-scroll-region, term-handle-ansi-escape):
16425         Undo last change, which didn't fix the problem and introduced others.
16427 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
16429         * progmodes/gdb-mi.el: Don't require speedbar.
16430         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
16432 2009-09-24  Glenn Morris  <rgm@gnu.org>
16434         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
16436         * term/ns-win.el (ns-reg-to-script): Define for compiler.
16438         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
16439         there is no newline after the final mime boundary.  (Bug#4539)
16440         Move markers on insertion so that any buttons inserted don't end up in
16441         the next part of a multipart message.
16442         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
16443         (rmail-mime-bulk-handler): Optionally handle images.
16444         (rmail-mime-image): New button action.
16445         (rmail-mime-image-handler): New function.
16446         (rmail-mime-mode): New mode.
16447         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
16449 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16451         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
16452         than just dropping elements from it (bug#4504).
16454         * term.el (term-set-scroll-region): Don't move cursor any more.
16455         (term-handle-ansi-escape): Call term-goto here instead.
16456         Suggested by Ivan Kanis <apple@kanis.eu>.
16458         * term.el: Require CL.
16459         (term-ansi-reset): New function.
16460         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
16461         (term-handle-colors-array): Simplify.
16463 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
16465         * allout.el (allout-overlay-interior-modification-handler)
16466         (allout-obtain-passphrase):
16467         * epa-file.el (epa-file-write-region):
16468         * ps-print.el (ps-begin-job):
16469         * vc-hooks.el (vc-toggle-read-only):
16470         * vc-rcs.el (vc-rcs-rollback):
16471         * vc-sccs.el (vc-sccs-rollback):
16472         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
16473         (vc-version-diff, vc-revert, vc-rollback):
16474         * wdired.el (wdired-check-kill-buffer):
16475         * emacs-lisp/authors.el (authors):
16476         * net/socks.el (socks-open-connection):
16477         * net/zeroconf.el (zeroconf-service-add-hook):
16478         * obsolete/vc-mcvs.el (vc-mcvs-register):
16479         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
16480         (gdb-select-frame):
16481         * progmodes/grep.el (lgrep, rgrep):
16482         * progmodes/idlw-help.el (idlwave-help-check-locations)
16483         (idlwave-help-html-link, idlwave-help-assistant-open-link):
16484         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
16485         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
16486         (reftex-toc-rename-label): Fix typos in error messages.
16488         * dired-aux.el (dired-do-shell-command): Reflow docstring.
16489         (dired-copy-how-to-fn): Doc fix.
16490         (dired-files-attributes, dired-read-shell-command):
16491         Fix typos in docstrings.
16493         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
16494         (dired-x-find-file-other-window): Reflow docstrings.
16495         (dired-omit-marker-char, dired-read-shell-command)
16496         (dired-x-submit-report): Fix typos in docstrings.
16498         * shell.el (shell-mode-hook):
16499         * view.el (View-scroll-line-forward):
16500         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
16501         Fix typos in docstrings.
16503         * net/dig.el (dig-invoke): Fix typo in docstring.
16504         (query-dig): Reflow docstring.
16506         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
16507         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
16508         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
16509         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
16510         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
16511         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
16512         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
16513         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
16514         (idlwave-completion-map, idlwave-current-indent)
16515         (idlwave-custom-ampersand-surround, idlwave-customize)
16516         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
16517         (idlwave-define-abbrev, idlwave-determine-class-special)
16518         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
16519         (idlwave-end-block-reg, idlwave-end-of-statement)
16520         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
16521         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
16522         (idlwave-explicit-class-listed, idlwave-file-header)
16523         (idlwave-fill-paragraph, idlwave-find-class-definition)
16524         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
16525         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
16526         (idlwave-in-quote, idlwave-indent-action-table)
16527         (idlwave-indent-expand-table, idlwave-indent-line)
16528         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
16529         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
16530         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
16531         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
16532         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
16533         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
16534         (idlwave-outlawed-buffers, idlwave-popup-select)
16535         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
16536         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
16537         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
16538         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
16539         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
16540         (idlwave-statement-type, idlwave-struct-skip)
16541         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
16542         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
16543         (idlwave-what-module-find-class): Fix typos in docstrings.
16544         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
16545         (idlwave-calculate-cont-indent, idlwave-expand-equal)
16546         (idlwave-find-module, idlwave-find-structure-definition)
16547         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
16548         (idlwave-list-load-path-shadows, idlwave-next-statement)
16549         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
16550         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
16551         (idlwave-template): Reflow docstrings.
16553         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
16554         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
16555         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
16556         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
16557         (idlwave-shell-display-line, idlwave-shell-display-wframe)
16558         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
16559         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
16560         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
16561         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
16562         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
16563         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
16564         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
16565         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
16566         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
16567         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
16568         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
16569         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
16570         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
16571         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
16572         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
16573         Fix typos in docstrings.
16574         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
16575         (idlwave-shell-hide-output, idlwave-shell-mode)
16576         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
16577         Reflow docstrings.
16579         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
16581 2009-09-24  Ivan Kanis  <apple@kanis.eu>
16583         * term.el (term-bold-attribute): New var.
16584         (term-handle-colors-array): Use it.
16586 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
16588         * progmodes/gdb-mi.el (gdb-version): New variable.
16589         (gdb-non-stop-handler): Set gdb-version.
16590         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
16591         Condition "--thread" option on gdb-version.
16592         (gdb-invalidate-threads): Remove unused argument.
16594 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16596         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
16597         to looking-back to avoid ridiculous slow down in large files (bug#4511).
16599 2009-09-23  Glenn Morris  <rgm@gnu.org>
16601         * mail/rmail.el (rmail-reply): Don't try to add a References header when
16602         replying to mail without References or Message-Id.  (Bug#4525)
16604 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
16606         * term/ns-win.el (ns-reg-to-script): New variable.
16608 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
16610         * epg.el (epg-wait-for-status): Preserve existing 'error results.
16612 2009-09-22  Sam Steingold  <sds@gnu.org>
16614         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
16615         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
16616         to 1 because hg returns status 1 when nothing is found.
16617         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
16619 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16621         * textmodes/fill.el: Convert to utf-8 encoding.
16622         (fill-french-nobreak-p): Remove redundant » and « inherited from our
16623         pre-Unicode days.
16625         * add-log.el (change-log-fill-forward-paragraph): New function.
16626         (change-log-mode): Use it so fill-region DTRT.
16627         Set fill-indent-according-to-mode here rather than in
16628         change-log-fill-paragraph.
16629         (change-log-fill-paragraph): Remove.
16631 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
16633         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
16634         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
16636 2009-09-22  Glenn Morris  <rgm@gnu.org>
16638         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
16639         the scroll-bar scroll the calendar window rather than the buffer.
16641         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
16642         commands that move point (as opposed to scrolling).
16644         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
16646         * emacs-lisp/elint.el (elint): New custom group.
16647         (elint-log-buffer): Make it a defcustom.
16648         (elint-scan-preloaded, elint-ignored-warnings)
16649         (elint-directory-skip-re): New options.
16650         (elint-builtin-variables): Doc fix.
16651         (elint-preloaded-env): New variable.
16652         (elint-unknown-builtin-args): Add an entry for encode-time.
16653         (elint-extra-errors): Make it a variable rather than a constant.
16654         (elint-preloaded-skip-re): New constant.
16655         (elint-directory): Skip files matching elint-directory-skip-re.
16656         (elint-features): New variable, local to linted buffers.
16657         (elint-update-env): Initialize elint-features.  Possibly add
16658         elint-preloaded-env to the buffer's environment.
16659         (elint-get-top-forms): Bind elint-current-pos, for log messages.
16660         Skip quoted forms.
16661         (elint-init-form): New function, extracted from elint-init-env.
16662         Make non-list forms a warning rather than an error.
16663         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
16664         easy-menu-define, put that adds an error-condition, and provide.
16665         When requiring cl, also require cl-macs.  Really require cl, to handle
16666         some cl macros.  Store required libraries in the list elint-features,
16667         so as not to re-load them.  Treat cc-require like require.
16668         (elint-init-env): Call elint-init-form to do the work.
16669         Handle eval-and-compile and such like.
16670         (elint-add-required-env): Do not clear messages.
16671         (elint-special-forms): Add handlers for function, defalias, if, when,
16672         unless, and, or.
16673         (elint-form): Add optional argument to ignore elint-special-forms,
16674         useful to prevent recursive calls from handlers.  Doc fix.
16675         Respect elint-ignored-warnings.
16676         (elint-form): Respect elint-ignored-warnings.
16677         (elint-bound-variable, elint-bound-function): New variables.
16678         (elint-unbound-variable): Respect elint-bound-variable.
16679         (elint-get-args): Respect elint-bound-function.
16680         (elint-check-cond-form): Add some simple handling for (f)boundp and
16681         featurep tests.
16682         (elint-check-defalias-form): New handler.
16683         (elint-check-let-form): Make an empty let a warning rather than an
16684         error.
16685         (elint-check-setq-form): Make an empty setq a warning rather than an
16686         error.  Respect elint-ignored-warnings.
16687         (elint-check-defvar-form): Accept null doc-strings.
16688         (elint-check-conditional-form): New handler.  Does some simple-minded
16689         checking of featurep and (f)boundp tests.
16690         (elint-put-function-args): New function.
16691         (elint-initialize): Use elint-scan-doc-file rather than
16692         elint-find-builtin-variables.  Use elint-put-function-args.
16693         Possibly scan preloaded-file-list.
16694         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
16695         extend to handle functions as well.
16697 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
16699         * linum.el (linum-delete-overlays, linum-update-window):
16700         Do not modify the right margin.  (Bug#3971)
16702 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
16704         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
16705         Use nxml-mode instead of xml-mode.
16707 2009-09-21  Kevin Ryde  <user42@zip.com.au>
16709         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
16711 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16713         * net/dig.el (dig-mode): Use define-derived-mode.
16715 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
16717         * vc-dispatcher.el (vc-do-command): Return the process object in
16718         the asynchronous case.  Use when instead of if.  Do not run
16719         vc-exec-after to display a message if not enabled.  (Bug#4463)
16721         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
16722         properties to the stash strings.
16723         (vc-git-stash-list): Return a list of strings.
16724         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
16725         (vc-git-stash-show-at-point): New functions.
16726         (vc-git-stash-map): New keymap.
16728         * register.el (ctl-x-r-map): Define the keys here instead of
16729         using autoload.
16731 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
16733         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
16734         list, to workaround performance problem (bug#4485).
16736 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
16738         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
16740 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
16742         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16743         Document that this option is not recommended to use.
16745 2009-09-19  Glenn Morris  <rgm@gnu.org>
16747         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
16748         variable `var'.
16750         * calc/calc-alg.el (var):
16751         * calc/calcalg2.el (var): Define for compiler.
16753 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
16755         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
16756         Doc fix (Bug#3932).
16758         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
16760         * time-stamp.el (time-stamp-month-dd-yyyy)
16761         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
16762         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
16763         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
16764         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
16765         Remove functions that have been obsolete since 1995 (Bug#4436).
16767         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
16768         indent buffer only if called interactively (Bug#4452).
16770 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
16771             Eli Zaretskii  <eliz@gnu.org>
16773         This fixes bug#4197 (merged to bug#865, though not identical).
16774         * server.el (server-auth-dir): Add docstring note about FAT32.
16775         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
16776         but warn against using them.
16778 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
16780         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
16781         older GDB where there is no has_more field.
16783 2009-09-19  Glenn Morris  <rgm@gnu.org>
16785         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
16787 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
16789         * files.el (auto-mode-alist): Change default for XML files to nXML
16790         mode (Bug#4169).
16792 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
16794         * server.el (server-ensure-safe-dir): Pass 'integer
16795         to `file-attributes', as suggested.
16797 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16799         * dired-aux.el (dired-query-alist): Remove spurious backslash.
16800         (dired-query): Use read-key.
16802 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
16804         * cus-start.el (ns-use-qd-smoothing): Remove.
16806 2009-09-18  Glenn Morris  <rgm@gnu.org>
16808         * allout.el (top-level): Remove unnecessary progn.
16810         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16812         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16813         definition of abbrev table.
16815         * speedbar.el (speedbar-track-mouse):
16816         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16817         * net/eudc.el (eudc-expand-inline):
16818         * net/newst-backend.el (newsticker--cache-read-feed):
16819         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16820         condition-case handlers.
16822 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
16824         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16825         (gdb-var-list): Add an element for has_more field.
16826         (gdb-non-stop-handler): Enable pretty printing for STL containers.
16827         (gdb-var-create-handler, gdb-var-list-children-handler-1)
16828         (gdb-var-update-handler-1): Parse output of dynamic variable
16829         objects (STL containers).
16830         (gdb-var-delete-1): Pass var1 as an explicit second argument.
16831         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
16833         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16834         gdb-var-list.
16835         (gud-speedbar-buttons): Make node expandable if expression "has more"
16836         children.
16838 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
16840         * startup.el (emacs-quick-startup): Remove variable and all uses.
16841         (command-line): Set `inhibit-x-resources' instead.
16842         (command-line-1): Use `inhibit-x-resources' instead.
16844 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
16846         * subr.el: Fix last change to avoid using the `unless' macro,
16847         which breaks bootstrapping.
16849 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16851         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16852         extended definitions, in case we reload subr.el after having
16853         loaded CL.
16854         (eval-next-after-load): Mark as obsolete.
16856 2009-09-17  Juri Linkov  <juri@jurta.org>
16858         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16859         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16860         (menu-bar-showhide-menu, menu-bar-tools-menu)
16861         (menu-bar-describe-menu, menu-bar-help-menu)
16862         (minibuffer-local-completion-map, minibuffer-local-map):
16863         Fix list quoting.
16865 2009-09-17  Glenn Morris  <rgm@gnu.org>
16867         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16868         arguments, whether or not it has a handler.
16870         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16872         * simple.el (hard-newline): Give it a doc-string.
16874         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16875         (lisp-mode-syntax-table): Give them doc-strings.
16877 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
16879         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16880         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16881         (menu-bar-options-menu, menu-bar-showhide-menu)
16882         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16883         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16884         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16885         (menu-bar-options-menu, menu-bar-tools-menu)
16886         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16887         (menu-bar-help-menu):
16888         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16889         string arguments.
16891         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16892         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16893         calls for the menu names and :help.
16895 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16897         * mouse.el (minor-mode-menu-from-indicator): Pay attention
16898         to :minor-mode-function (bug#4455).
16900 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16902         * startup.el (command-line): Initialize the window-system after
16903         processing the command-line.
16905         * textmodes/page.el (what-page): Make sure we don't inf-loop if
16906         page-delimiter matches the empty string.
16908 2009-09-16  Glenn Morris  <rgm@gnu.org>
16910         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16911         byte-compile-not-obsolete-var.  It's a list now.
16912         (byte-compile-not-obsolete-funcs): New variable.
16913         (byte-compile-warn-obsolete): Don't warn about functions if they are in
16914         byte-compile-not-obsolete-funcs.
16915         (byte-compile-variable-ref, byte-compile-defvar): Update for
16916         byte-compile-not-obsolete-vars name-change and list nature.
16917         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16918         and variables behind (f)boundp tests.
16919         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16921 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16923         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16925 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16927         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16928         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16929         Don't autoload.
16931 2009-09-15  Stephen Eglen  <stephen@gnu.org>
16933         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16934         the virtual-buffers, use the name of the buffer specified by
16935         find-file-noselect, as the match may be a symlink.  (This was a
16936         problem if the target and the symlink had different names.)
16938 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16940         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16942         * desktop.el (desktop-path): Check user-emacs-directory.
16944         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16946         * loadup.el: Use after-load-functions to GC after loading each file.
16947         Remove the explicit GC calls that used to be sprinkled around.
16949         * subr.el (after-load-functions): New hook.
16950         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16951         `obsolete' packages, rather than painfully extracting the relevant
16952         directory name.
16954 2009-09-15  Glenn Morris  <rgm@gnu.org>
16956         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16957         free variable `doc'.
16959         * dired.el (dired-mode-map): Add menu entry for async shell command.
16961         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16962         variables, also consider the .elc files, since the .el files are
16963         normally gzipped (subsequent code locates the .el.gz from the .elc).
16965         * calc/calc-prog.el (arglist): Define for compiler.
16967         * calendar/diary-lib.el (diary-display-function): Change the default to
16968         fancy display.
16969         (body): Define for compiler.
16971         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16972         (byte-compile-file-form, byte-compile-lambda)
16973         (byte-compile-top-level-body, byte-compile-form)
16974         (byte-compile-variable-ref, byte-compile-setq)
16975         (byte-compile-setq-default, byte-compile-body)
16976         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16977         (batch-byte-compile): Give some more local variables with common names
16978         a "bytecomp-" prefix to avoid masking warnings about free variables.
16980         * startup.el (command-line-1): Give local variables with common names a
16981         distinguishing prefix, so as not to hide free variable warnings during
16982         bootstrap.
16984         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16985         clever and add a suffix to make a unique name, just let the user decide
16986         whether or not to overwrite it.  If the input is a directory, write the
16987         default filename to that directory.  (Bug#4388)
16988         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16989         is a filename-as-a-directory.
16991 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16993         * textmodes/page.el (what-page): Don't move to beginning of line.
16994         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16996 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16998         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
17000 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
17002         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
17003         * help.el (help-for-help-internal): Add purecopy calls for text.
17005         * vc.el (top): print-log method now takes an optional SHORTLOG
17006         argument.  Add a new method: root.
17007         (vc-root-diff, vc-print-root-log): New functions.
17008         (vc-log-short-style): New variable.
17009         (vc-print-log-internal): Add support for showing short logs.
17011         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
17012         vc-print-root-log and vc-print-root-diff.
17014         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
17015         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
17016         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
17017         short logs.
17019         * vc-cvs.el (vc-cvs-print-log):
17020         * vc-mtn.el (vc-mtn-print-log):
17021         * vc-rcs.el (vc-rcs-print-log):
17022         * vc-sccs.el (vc-sccs-print-log):
17023         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
17024         that is ignored for now.
17026         * vc-mtn.el (vc-mtn-annotate-command):
17027         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
17029 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17031         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
17032         to function-key-map, and give them ascii-character property.
17033         * term/x-win.el (x-alternatives-map):
17034         * term/ns-win.el (ns-alternatives-map):
17035         * term/internal.el (msdos-key-remapping-map):
17036         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
17038 2009-09-14  Glenn Morris  <rgm@gnu.org>
17040         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
17041         temp-buffers (2009-09-12).
17043 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17045         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
17046         the new read-key function.
17048 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17050         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
17051         is defined (Bug#4405).
17053 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
17055         * recentf.el (recentf-cleanup): Use a hash table to find
17056         duplicates (Bug#4407).
17058 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
17060         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
17061         kp-0 to ascii equivalents (Bug#4325).
17063 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
17065         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
17067         * eshell/em-hist.el:
17068         * eshell/em-dirs.el (eshell-complete-user-reference):
17069         Declare pcomplete functions and variables to avoid compiler warnings.
17071 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
17073         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
17074         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
17075         * eshell/em-alias.el (eshell-aliases-file):
17076         * eshell/em-hist.el (eshell-history-file-name):
17077         Use expand-file-name instead of concat to make file names (Bug#4308).
17079 2009-09-13  Glenn Morris  <rgm@gnu.org>
17081         * ediff-merg.el (ediff-do-merge):
17082         * filesets.el (filesets-run-cmd):
17083         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
17084         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
17085         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
17086         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
17087         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
17088         Replace empty `let's with `progn'.
17090 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17092         * mail/sendmail.el (send-mail-function):
17093         * tooltip.el (tooltip-mode):
17094         * simple.el (transient-mark-mode):
17095         * rfn-eshadow.el (file-name-shadow-mode):
17096         * frame.el (blink-cursor-mode):
17097         * font-core.el (global-font-lock-mode):
17098         * files.el (temporary-file-directory)
17099         (small-temporary-file-directory, auto-save-file-name-transforms):
17100         * epa-hook.el (auto-encryption-mode):
17101         * composite.el (global-auto-composition-mode):
17102         Use custom-initialize-delay.
17103         * startup.el (command-line): Don't explicitly call
17104         custom-reevaluate-setting for all the above vars.
17105         * custom.el (custom-initialize-safe-set)
17106         (custom-initialize-safe-default): Delete.
17108 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17110         * term/x-win.el (x-initialize-window-system):
17111         * term/w32-win.el (w32-initialize-window-system):
17112         * term/ns-win.el (ns-initialize-window-system): Don't call
17113         mouse-wheel-mode since it's enabled globally by default already.
17115         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
17116         actually define the variable, but only silences the byte-compiler.
17117         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
17118         before looking it up.
17119         (mouse-wheel-scroll-amount): Also reset the bindings if this value
17120         is changed.
17122 2009-09-12  Glenn Morris  <rgm@gnu.org>
17124         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
17125         1000.
17126         (elint-add-required-env): Don't beep on error.
17127         (elint-forms): In case of error, return ENV unchanged.
17128         (elint-init-env): Skip non-list forms.
17129         (elint-log): Handle unknown file positions.
17131 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
17133         * epg.el (epg-make-context): Add autoload cookie.
17134         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
17135         (epg-decrypt-string, epg-start-verify, epg-verify-file)
17136         (epg-verify-string, epg-start-sign, epg-sign-file)
17137         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
17138         (epg-encrypt-string, epg-start-export-keys)
17139         (epg-export-keys-to-file, epg-export-keys-to-string)
17140         (epg-start-import-keys, epg-import-keys-from-file)
17141         (epg-import-keys-from-string, epg-start-receive-keys)
17142         (epg-receive-keys, epg-import-keys-from-server)
17143         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
17144         (epg-sign-keys, epg-start-generate-key)
17145         (epg-generate-key-from-file, epg-generate-key-from-string):
17146         Remove autoload cookie.
17148 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
17150         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
17151         reevaluation of trash-directory.
17153         * mwheel.el: Fix last change.
17154         (mouse-wheel-mode): New defvar.
17155         (mouse-wheel-mode): Remove autoload cookie.
17157 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17159         * mwheel.el (mwheel-installed-bindings): New var.
17160         (mouse-wheel-mode): Use it, so as to make sure we really remove all
17161         the bindings we set last time.  Use custom-initialize-delay.
17162         * loadup.el: Load mwheel after term/*-win.el.
17163         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
17164         and mouse-wheel-up-event now that their first evaluation is done
17165         sufficiently late to be correct.
17167         * startup.el (tutorial-directory): Make it a defcustom.
17168         Use custom-initialize-delay rather than eval-at-startup to set it.
17169         * image.el (image-load-path): Make it a defcustom.
17170         Use custom-initialize-delay rather than eval-at-startup to set it.
17171         * subr.el (eval-at-startup): Remove.
17172         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
17174         * subr.el (do-after-load-evaluation): Warn the user after loading an
17175         obsolete package.
17177 2009-09-12  Glenn Morris  <rgm@gnu.org>
17179         * proced.el (proced-mark-alt): Remove alias.
17180         (proced-mode-map): Remove proced-mark-alt.
17182         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
17183         Elint file and directory.  Remove initialization entry.
17185         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
17186         commands.
17187         (elint-current-buffer): Set mode-line-process.
17188         (elint-init-env): Handle define-derived-mode.
17189         Fix declare-function with unspecified arglist.  Guard against odd
17190         defalias statements (eg iso-insert's 8859-1-map).
17191         (elint-add-required-env): Use a temp buffer.
17192         (elint-form): Just print the function/macro name, not the whole form.
17193         Return env unchanged if we fail to parse a macro.
17194         (elint-forms): Guard against parse errors.
17195         (elint-output): New function, to handle batch mode.
17196         (elint-log-message): Add optional argument.  Use elint-output.
17197         (elint-set-mode-line): New function.
17199 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
17201         * emacs-lisp/elp.el (elp-not-profilable): Add more
17202         functions (Bug#4233).
17204 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
17206         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
17207         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
17209 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17211         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
17212         (gdb-var-list-children): Use json parsing.
17214 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
17216         * progmodes/js.el (js--proper-indentation): Handle the case where
17217         char-before is null.  Reported by Deniz Dogan.
17219 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17221         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
17223 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
17225         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
17226         (epg-digest-algorithm-alist): Add SHA224.
17227         (epg-context-set-passphrase-callback)
17228         (epg-context-set-progress-callback): Add description about
17229         callback function.
17231 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17233         * custom.el (custom-delayed-init-variables): New var.
17234         (custom-initialize-delay): New function.
17235         * startup.el (command-line): "Re"evaluate all vars in
17236         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
17237         explicitly any more.
17238         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
17239         to avoid creating a ~/.emacs.d at build-time (bug#4347).
17241         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
17243 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
17245         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
17246         (gdb-var-update-handler): Use json parsing.
17248 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
17250         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
17251         decode annotated text, regardless of language environment.  (Bug#2741)
17253 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17255         * Makefile.in (autoloads): Make rmail.el writable as well.
17257 2009-09-11  Glenn Morris  <rgm@gnu.org>
17259         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
17260         loaddefs.el.
17261         * dired.el: Regenerate with extracted autoloads.
17262         * Makefile.in (autoloads): Make dired.el writable.
17264         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
17265         * ibuffer.el: Regenerate with extracted autoloads.
17266         * Makefile.in (autoloads): Make ibuffer.el writable.
17268         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
17269         * version.el (emacs-copyright, emacs-major-version)
17270         (emacs-minor-version): Reformat doc-strings for make-docfile.
17272         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
17273         functions and variables, since they must be stuff specific to some other
17274         platform.
17275         (apropos-print): Make mouse-click message less specific about button.
17277         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
17278         that records where a macro was defined.
17279         * help-fns.el (describe-function-1): Mention if a function has a
17280         compiler-macro.
17281         * help-mode.el (help-function-cmacro): New button.
17283         * locate.el (top-level): Always require dired.
17284         (locate-mode-map): Initialize inside the defvar.
17286         * net/ange-ftp.el (dired-compress-file): Declare.
17287         (ange-ftp-dired-compress-file): Add doc string.
17289         * term/ns-win.el (x-display-name, x-setup-function-keys):
17290         Unify doc-strings with X versions.
17292 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
17294         * emulation/crisp.el (crisp-mode-map): Move initialization
17295         into declaration.
17296         (crisp-mode): Use define-minor-mode.
17298         * progmodes/xscheme.el (xscheme-evaluation-commands):
17299         Put a :advertised-binding property rather than using
17300         advertised-xscheme-send-previous-expression.
17301         (advertised-xscheme-send-previous-expression): Declare obsolete.
17302         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
17303         `advertised-undo'.
17304         (crisp-mode): Add corresponding bindings to
17305         undo's :advertised-binding instead.
17306         * dired.el (dired-mode-map): Put a :advertised-binding property rather
17307         than using dired-advertised-find-file.
17308         (dired-advertised-find-file):
17309         * simple.el (advertised-undo):
17310         * wid-edit.el (advertised-widget-backward): Declare obsolete.
17311         (widget-keymap): Put a :advertised-binding property rather
17312         than using advertised-widget-backward.
17313         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
17314         than using advertised-undo.
17315         * tutorial.el (tutorial--default-keys): Adjust accordingly.
17317 2009-09-10  Simon South  <ssouth@slowcomputing.org>
17319         * progmodes/delphi.el (delphi-tab): Indent region when Transient
17320         Mark mode is enabled and region is active; otherwise indent or
17321         insert TAB as usual.
17322         (delphi-mode): Update description of TAB-key binding.
17324 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17326         * subr.el (define-key-rebound-commands): Mark obsolete.
17327         * startup.el (precompute-menubar-bindings): Remove.
17328         (normal-top-level): Remove obsolete code that tried to precompute
17329         menubar bindings.
17330         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
17331         define-key-rebound-commands and precompute-menubar-bindings.
17333 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
17335         * net/imap.el (imap-interactive-login): Better messages.
17336         (imap-open): Fix bug with renamed buffer on reconnect.
17337         (imap-authenticate): Add buffer-local imap-last-authenticator variable
17338         for easier debugging and cleaner code.  On successful (guessed based on
17339         server capabilities) secondary authentication, set imap-state
17340         correctly.
17341         (imap-last-authenticator): Define imap-last-authenticator as a variable
17342         to avoid warnings.
17344 2009-09-10  Glenn Morris  <rgm@gnu.org>
17346         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
17348         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
17349         (byte-compile-file-form-autoload): Don't warn about unknown functions
17350         where the autoload statement comes after the use.
17351         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
17352         that any handlers inside the body (eg require) are in turn respected.
17354         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
17355         effects.
17357         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
17358         and syntax and abbrev tables basic docs, if they don't have any.
17360         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
17362         * international/mule-cmds.el (top-level): Require cl when compiling.
17363         (view-hello-file): Use default-value rather than
17364         default-enable-multibyte-characters.
17366         * progmodes/fortran.el: Move all safe and risky properties into the
17367         defcustoms.
17369         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
17370         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
17371         * mail/undigest.el:
17372         Put autoloads in rmail.el rather than loaddefs.el.
17373         * mail/rmail.el: Regenerate with extracted autoloads.
17375         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
17376         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
17378 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
17380         Reported in thread for Bug#4375.
17381         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
17382         "-data-evaluate-expression" instead of print.
17383         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
17384         (gdb-tooltip-print): Parse output from above MI command.
17385         (gdb): Revert 2009-08-11 change.  User should detach inferior
17386         manually.
17388         Remove the word "separate" from IO functions as inferior
17389         output is now never displayed in the GUD buffer.
17391 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
17393         * startup.el (command-line-normalize-file-name): On Windows and
17394         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
17396 2009-09-10  Juri Linkov  <juri@jurta.org>
17398         * isearch.el (isearch-text-char-description): Propertize escape
17399         character sequences with the `escape-glyph' face.  (Bug#4344)
17401         * simple.el (shell-command): Set asynchronous process filter to
17402         `comint-output-filter'.  (Bug#4343)
17404         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
17405         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
17406         the list.  Move "asm" to the bottom.
17407         (grep-find-ignored-directories): Add `choice' with nil value
17408         to empty the list easily.
17409         (grep-find-ignored-files): New option.
17410         (grep-files-history): Set to nil by default instead of '("ch" "el").
17411         (grep-compute-defaults): Add "<X>" to `grep-template'.
17412         (grep-read-files): Bind new local variables `default-alias' and
17413         `default-extension'.  Use a list of default values for the file prompt.
17414         (lgrep): Add `--exclude=' command line options composed from
17415         `grep-find-ignored-files'.
17416         (rgrep): Add `-name' command line options composed from
17417         `grep-find-ignored-files'.  (Bug#4301)
17419 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
17421         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
17422         (bug#4368).
17424 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
17426         * calendar/time-date.el (autoload):
17427         Expand define-obsolete-function-alias into defalias and make-obsolete
17428         for old Emacsen that Gnus supports.
17429         (with-no-warnings): Define it for old Emacsen.
17430         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
17431         is available.
17432         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
17433         float-time is available; suppress compile warning for time-to-seconds.
17435 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
17437         * net/imap.el (imap-message-map): Docstring fix.
17439 2009-09-09  Glenn Morris  <rgm@gnu.org>
17441         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
17442         line numbers too.  (Bug#4374)
17444 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17446         * smerge-mode.el (smerge-remove-props, smerge-refine):
17447         Use with-silent-modifications (bug#4342).
17449         * subr.el (with-silent-modifications): New macro.
17451 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
17453         * files.el (top-level): Require `cl' when compiling.
17455 2009-09-07  Glenn Morris  <rgm@gnu.org>
17457         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
17459         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
17460         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
17462 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
17464         * vc-git.el (vc-git-annotate-command): Use separator to parse
17465         arguments correctly.
17467 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
17469         * proced.el (proced-mode): Doc fix.
17471 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
17473         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
17474         lstat fails.
17475         (tramp-do-file-attributes-with-ls): Check for file existence at
17476         remote end.
17477         (tramp-do-file-attributes-with-stat): Likewise.
17478         (tramp-convert-file-attributes): Return nil when attr is nil.
17480 2009-09-05  Glenn Morris  <rgm@gnu.org>
17482         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
17483         properties to this button.
17484         (diary-fancy-display): Don't extend the button to the final newline.
17485         (diary-fancy-display-mode): Continue to define "q" as a local key.
17487         * calendar/cal-china.el (holiday-chinese): Make it slightly more
17488         efficient.
17490         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
17492         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
17493         (byte-compile-dest-file-function): New option.
17494         (byte-compile-dest-file): Doc fix.
17495         Obey byte-compile-dest-file-function.
17496         (byte-compile-cl-file-p): New function.
17497         (byte-compile-eval): Only suppress noruntime warnings about cl functions
17498         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
17499         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
17500         than for file being previously loaded.
17501         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
17502         (byte-compile-file-form-require): Handle the case where requiring a file
17503         indirectly causes CL to be loaded.
17505 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17507         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
17508         before killing the old buffer, since by the time `kill-buffer' is
17509         run so many buffer variables have been set to nil that it may not
17510         behave as expected.  (Bug#4061)
17512 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
17514         * files.el (find-alternate-file): If the old buffer is modified
17515         and visiting a file, behave similarly to `kill-buffer' when
17516         killing it, thus reverting to the pre-1.878 behavior; see
17517         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
17518         for discussion.  Also, consult `buffer-file-name' as a variable
17519         not as a function, for consistency with the rest of the code.
17521 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
17523         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
17524         also when adding a new directory.
17526         * net/tramp-compat.el (tramp-compat-line-beginning-position):
17527         New defun.
17529 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17531         * files.el (locate-file-completion-table): Make it provide boundary
17532         information, so partial-completion works better.
17534 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
17536         * mail/footnote.el (Footnote-text-under-cursor):
17537         Check footnote-text-marker-alist before using it (bug#4324).
17539 2009-09-04  Glenn Morris  <rgm@gnu.org>
17541         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
17542         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
17543         * play/solitaire.el, play/tetris.el:
17544         Remove leading * from defcustom and defface docs.
17546         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
17547         necessary.
17548         (diary-fancy-overriding-map): New variable.
17549         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
17550         Use view-mode.
17552         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
17553         goto-line.
17555 2009-09-03  Glenn Morris  <rgm@gnu.org>
17557         * arc-mode.el (archive-mode):
17558         * dos-fns.el (set-default-process-coding-system):
17559         * man.el (Man-getpage-in-background):
17560         * menu-bar.el (menu-bar-describe-menu):
17561         * server.el (server-process-filter):
17562         * startup.el (command-line):
17563         * tar-mode.el (tar-header-block-tokenize, tar-extract):
17564         * w32-fns.el (set-default-process-coding-system):
17565         * x-dnd.el (x-dnd-handle-file-name):
17566         * international/mule-cmds.el (mule-menu-keymap)
17567         (set-default-coding-systems, language-info-alist, set-language-info)
17568         (set-language-environment, standard-display-european-internal)
17569         (set-locale-environment):
17570         * international/mule-diag.el (mule-diag):
17571         * mail/emacsbug.el (report-emacs-bug):
17572         * mail/rmail.el (rmail-mode):
17573         * mail/sendmail.el (mail-setup):
17574         Use default-value rather than default-enable-multibyte-characters.
17576         * progmodes/f90.el: Move all safe properties into the defcustoms.
17577         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
17579         * calendar/appt.el (appt-check):
17580         * calendar/diary-lib.el (diary-set-header, diary-live-p)
17581         (diary-check-diary-file, diary-list-entries)
17582         (diary-include-other-diary-files, diary-simple-display)
17583         (diary-fancy-display, diary-print-entries)
17584         (diary-mark-included-diary-files, diary-make-entry):
17585         Don't call substitute-in-file-name on diary-file.
17587 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
17588             Stefan Monnier  <monnier@iro.umontreal.ca>
17590         * mail/footnote.el (footnote-prefix): Make it a defcustom.
17591         (footnote-mode-map): Move initialization into the declaration.
17592         (footnote-minor-mode-map): Define it rather than changing global-map.
17593         (footnote-mode): Use define-minor-mode.
17595 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
17597         * net/tramp.el (tramp-handle-file-attributes-with-ls)
17598         (tramp-do-file-attributes-with-perl)
17599         (tramp-do-file-attributes-with-stat): Rename from
17600         `tramp-handle-file-attributes-with-*'.
17601         (tramp-handle-file-attributes): Use them.
17602         (tramp-do-directory-files-and-attributes-with-perl)
17603         (tramp-do-directory-files-and-attributes-with-stat): Rename from
17604         `tramp-handle-directory-files-and-attributes-with-*'.
17605         (tramp-handle-directory-files-and-attributes): Use them.
17606         (tramp-method-out-of-band-p): Additional parameter SIZE.
17607         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
17608         (tramp-handle-write-region): Use it.
17609         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
17610         (tramp-handle-vc-registered): Check, whether the first run did
17611         return files to be tested.
17612         (tramp-advice-make-auto-save-file-name): Do not call directly
17613         `tramp-handle-make-auto-save-file-name', because this would bypass
17614         the locking mechanism.
17616         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
17617         (file-remote-p, process-file, start-file-process, set-file-times)
17618         (tramp-compat-file-attributes): Compatibility functions shall not
17619         call directly `tramp-handle-*', because this would bypass the
17620         locking mechanism.
17621         (tramp-compat-number-sequence): New defun.
17623 2009-09-02  Glenn Morris  <rgm@gnu.org>
17625         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
17626         alias for float-time.
17627         (time-to-number-of-days): In Emacs, use float-time.
17628         * net/newst-backend.el (time-add): Suppress warnings from compat
17629         function.
17630         * time.el (emacs-uptime, emacs-init-time):
17631         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
17632         Use float-time rather than time-to-seconds.
17634         * minibuffer.el (completion-initials-expand): Fix typo.
17636         * faces.el (modeline, modeline-inactive, modeline-highlight)
17637         (modeline-buffer-id):
17638         * info.el (info-menu-5): Mark these face aliases as obsolete.
17640 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17642         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
17643         space ...
17644         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
17645         no "--thread" option.
17646         (gdb-stopped): Don't print "Switched to thread" message when it is
17647         unchanged.
17649 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17651         * minibuffer.el (completion-try-completion)
17652         (completion-all-completions): Remove ill-defined (and
17653         mistakenly installed and luckily never used nor documented)
17654         `completion-styles' property.
17655         (completion-initials-expand, completion-initials-all-completions)
17656         (completion-initials-try-completion): New functions.
17657         (completion-styles-alist): Add doc to each entry.
17658         Add new `initials' entry.
17660 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
17662         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
17663         MI command -var-evaluate-expression.
17664         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
17665         and tweak for case of string child.
17666         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
17668 2009-09-01  Glenn Morris  <rgm@gnu.org>
17670         * add-log.el (change-log-date-face, change-log-name-face)
17671         (change-log-email-face, change-log-file-face, change-log-list-face)
17672         (change-log-conditionals-face, change-log-function-face)
17673         (change-log-acknowledgement-face):
17674         * cus-edit.el (custom-invalid-face, custom-rogue-face)
17675         (custom-modified-face, custom-set-face, custom-changed-face)
17676         (custom-saved-face, custom-button-face, custom-button-pressed-face)
17677         (custom-documentation-face, custom-state-face, custom-comment-face)
17678         (custom-comment-tag-face, custom-variable-tag-face)
17679         (custom-variable-button-face, custom-face-tag-face)
17680         (custom-group-tag-face-1, custom-group-tag-face):
17681         * diff-mode.el (diff-header-face, diff-file-header-face)
17682         (diff-index-face, diff-hunk-header-face, diff-removed-face)
17683         (diff-added-face, diff-changed-face, diff-function-face)
17684         (diff-context-face, diff-nonexistent-face):
17685         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
17686         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
17687         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
17688         (Info-title-4-face):
17689         * isearch.el (isearch-lazy-highlight-face):
17690         * log-view.el (log-view-file-face, log-view-message-face):
17691         * paren.el (show-paren-match-face, show-paren-mismatch-face):
17692         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
17693         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
17694         (cvs-msg-face):
17695         * smerge-mode.el (smerge-mine-face, smerge-other-face)
17696         (smerge-base-face, smerge-markers-face):
17697         * wid-edit.el (widget-documentation-face, widget-button-face)
17698         (widget-field-face, widget-single-line-field-face)
17699         (widget-inactive-face, widget-button-pressed-face):
17700         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
17701         (woman-addition-face):
17702         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
17703         (eshell-ls-executable-face, eshell-ls-readonly-face)
17704         (eshell-ls-unreadable-face, eshell-ls-special-face)
17705         (eshell-ls-missing-face, eshell-ls-archive-face)
17706         (eshell-ls-backup-face, eshell-ls-product-face)
17707         (eshell-ls-clutter-face):
17708         * eshell/em-prompt.el (eshell-prompt-face):
17709         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
17710         * obsolete/old-whitespace.el (whitespace-highlight-face):
17711         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
17712         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
17713         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
17714         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
17715         (antlr-font-lock-literal-face):
17716         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
17717         (ebrowse-root-class-face, ebrowse-file-name-face)
17718         (ebrowse-default-face, ebrowse-member-attribute-face)
17719         (ebrowse-member-class-face, ebrowse-progress-face):
17720         * progmodes/make-mode.el (makefile-space-face):
17721         * progmodes/sh-script.el (sh-heredoc-face):
17722         * textmodes/flyspell.el (flyspell-incorrect-face)
17723         (flyspell-duplicate-face):
17724         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
17725         * textmodes/texinfo.el (texinfo-heading-face):
17726         Mark face aliases with "-face" suffix as obsolete.
17728         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
17729         compiler.
17731         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
17732         (eudc-bob-sound-menu): Use defvar rather than defconst, since
17733         easy-menu-define wants to modify these.
17735         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
17737         * net/browse-url.el (browse-url-file-url):
17738         * term/internal.el (dos-codepage-setup):
17739         Use default-value rather than default-enable-multibyte-characters.
17741         * progmodes/etags.el (etags-goto-tag-location):
17742         * progmodes/flymake.el (flymake-highlight-line)
17743         (flymake-goto-file-and-line, flymake-goto-line):
17744         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
17745         (gdb-goto-breakpoint):
17746         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
17747         * progmodes/python.el (python-find-function)
17748         (python-pdbtrack-track-stack-file):
17749         * progmodes/verilog-mode.el (verilog-surelint-off):
17750         * term/ns-win.el (ns-open-file-select-line):
17751         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
17752         Use forward-line rather than goto-line.
17754         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
17755         * textmodes/reftex-index.el (reftex-display-index):
17756         * textmodes/reftex-ref.el (reftex-offer-label-menu):
17757         * textmodes/reftex-toc.el (reftex-toc):
17758         Remove unnecessary bindings of default-major-mode (all are followed by
17759         major-mode check and possible mode switch).
17761 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17763         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
17764         Handle watchpoints (bug#4282).
17765         (def-gdb-thread-buffer-command): Enable thread to be selected by
17766         clicking without selecting threads buffer first.
17767         (gdb-current-context-command): Use selected frame so that "up",
17768         "down" etc work in the GUD buffer.
17769         (gdb-update): Find selected frame before rendering stack buffer.
17770         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
17772 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17774         * progmodes/sym-comp.el (displayed-completions): Remove.
17775         (symbol-complete): Use minibuffer-complete.
17777 2009-08-31  Glenn Morris  <rgm@gnu.org>
17779         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
17781         * apropos.el (apropos-symbols-internal):
17782         Handle (obsolete) face aliases.
17784         * faces.el (describe-face): Adjust the output format to be more like
17785         describe-variable, and to mention (obsolete) face aliases.
17786         Adjust the whitespace so that help-setup-xref works.
17788         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
17789         * calendar/diary-lib.el (diary-button-face):
17790         Mark these face aliases as obsolete.
17792         * calendar/calendar.el (calendar-today): Doc fix.
17794 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
17796         * progmodes/gdb-mi.el (gdb-control-all-threads)
17797         (gdb-control-current-thread): Force tool bar update.
17798         (gdb-non-stop-handler): New function.
17799         (gdb-init-1): Use it to test if non-stop mode is supported.
17800         Remove unused gdbmi buffer type.
17802 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
17804         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
17805         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
17807 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
17809         * comint.el (comint-exec-1): Check command is non-null first.
17810         Part of gdb-mi.el change (2009-08-28).
17812 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17814         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17816 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
17818         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17819         instead of `dolist' to avoid a recursive require when bootstrapping.
17821 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17823         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17825         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17827         * net/imap.el (imap-send-command): Simplify.
17828         (imap-wait-for-tag): point-max -> buffer-size.
17830         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17832         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17833         with constant argument.
17835         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17837         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17839         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17840         Change default, since most of our files don't have a history.
17841         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17842         the user.
17844         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17845         Add comint-run.
17847         * calc/calc.el: Improve commenting convention.
17848         (calc-digit-map, toplevel): Simplify.
17850         * comint.el (comint-insert-input): Be careful to only set point if we
17851         don't delegate to some other command.
17853         * proced.el (proced-signal-list): Make it an alist.
17854         (proced-grammar-alist): Capitalize names.
17855         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17856         Disable undo manually and make it read-only.
17857         Use completion-annotate-function.
17859         * minibuffer.el (minibuffer-message): If the current buffer is not
17860         a minibuffer, insert the message in the echo area rather than at the
17861         end of the buffer.
17862         (completion-annotate-function): New variable.
17863         (minibuffer-completion-help): Use it.
17864         (completion--embedded-envvar-table): Environment vars are
17865         always case-sensitive.
17867 2009-08-30  Glenn Morris  <rgm@gnu.org>
17869         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17870         from fortran-current-defun.
17871         (fortran-beginning-of-subprogram): Be more precise about finding the
17872         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
17873         (fortran-end-of-subprogram): Simplify.
17874         (fortran-current-defun): Use fortran-start-prog-re.
17876 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
17878         * subr.el (do-after-load-evaluation): Simplify.
17880 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
17882         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17884         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
17885         (vc-rcs-print-log): Use it.
17887         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17889 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17891         * paths.el (abbrev-file-name): Move to abbrev.el.
17892         * abbrev.el (abbrev-file-name): Move from paths.el.
17893         Obey user-emacs-directory.
17894         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17895         user-emacs-directory.
17896         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17897         abbrev-file-name and calc-settings-file any more.
17898         * startup.el (command-line): Recompute abbrev-file-name and
17899         abbreviated-home-dir.
17900         (normal-no-mouse-startup-screen): Improve the generic code and get rid
17901         of the special code for when C-h bindings haven't been changed.
17902         (display-startup-echo-area-message): Use with-current-buffer.
17903         (command-line-1): Use a list of strings, rather than a list of lists
17904         of strings for longopts.
17906         * files.el (get-free-disk-space): Use / for default-directory.
17908         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17909         Use with-current-buffer.
17911         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17912         Recognize immutable variables like most-positive-fixnum.
17913         (byte-compile-setq-default): Check and warn if trying to assign
17914         to an immutable variable, or a non-variable.
17916         * progmodes/cc-vars.el (c-comment-continuation-stars):
17917         * progmodes/cc-engine.el (c-looking-at-bos):
17918         * progmodes/cc-cmds.el (c-toggle-auto-state)
17919         (c-forward-into-nomenclature, c-backward-into-nomenclature)
17920         (c-comment-line-break-function): Add version of obsolescence.
17922 2009-08-28  Juri Linkov  <juri@jurta.org>
17924         * files.el (magic-fallback-mode-alist): Add ZIP magic number
17925         associated with `archive-mode'.
17927         * image.el (image-type-header-regexps): Use only JPEG magic number
17928         to determine JPEG images, and don't use `image-jpeg-p' because
17929         Emacs can display non-JFIF non-Exif JPEG images.
17931 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17933         * arc-mode.el (archive-mode):
17934         * emacs-lisp/re-builder.el (re-builder-unload-function):
17935         Protect against the default value of `major-mode' being nil.
17937 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17939         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17940         Fix typos in docstrings.
17942         * progmodes/js.el (js--macro-decl-re): Doc fix.
17943         (js--plain-method-re, js--split-name): Refloc docstring.
17944         (js--class-styles, js--make-merged-item, js--splice-into-items):
17945         Fix typos in docstrings; reflow docstrings.
17946         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17947         (js--variable-decl-matcher, js--inside-pitem-p)
17948         (js--parse-state-at-point, js--get-all-known-symbols)
17949         (js--symbol-history, js-find-symbol, js--js-references)
17950         (js--moz-interactor, js--js-encode-value, js--read-tab):
17951         Fix typos in docstrings.
17953 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17955         * textmodes/reftex.el (reftex-get-file-buffer-force):
17956         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17957         * emulation/viper.el (viper-go-away, viper-set-hooks):
17958         * emacs-lisp/re-builder.el (re-builder-unload-function):
17959         * emacs-lisp/bytecomp.el (byte-compile-file):
17960         * ses.el (ses-unload-function):
17961         * hexl.el (hexl-find-file):
17962         * files.el (normal-mode):
17963         * ehelp.el (with-electric-help):
17964         * autoinsert.el (auto-insert-alist):
17965         * arc-mode.el (archive-mode):
17966         Use (default-value 'major-mode) instead of default-major-mode.
17968         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17969         * international/mule.el (load-with-code-conversion):
17970         * emacs-lisp/debug.el (debug):
17971         * ediff-vers.el (ediff-rcs-get-output-buffer):
17972         * dired.el (dired-internal-noselect): Don't let-bind
17973         default-major-mode around code that doesn't use it.
17974         E.g. buffer creation via get-buffer-create doesn't use it.
17976 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17978         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17979         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17980         when writing the temp file.  Otherwise, epa-file gets confused.
17981         (tramp-register-file-name-handlers): Make it a defun.  Move also
17982         `epa-file-handler' to the front of `file-name-handler-alist'.
17984 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17986         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17987         start right after a ^M.
17988         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17989         (tramp-completion-file-name-regexp-separate)
17990         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17991         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17992         Don't modify last-coding-system-used by accident.
17993         (tramp-completion-file-name-handler): Apply the checks here,
17994         instead during registration.
17995         (tramp-register-file-name-handlers): Rename from
17996         `tramp-register-file-name-handler'.  Register both
17997         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17998         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
18000 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
18002         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
18003         Remove variable ...
18004         (gdb-init-1, gdb-display-separate-io-buffer)
18005         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
18006         references to it.
18007         (gdb-inferior-io-mode): Use make-comint-in-buffer.
18008         (gdb-inferior-filter): Use comint-output-filter to stop
18009         echoing and remove ^M characters.
18011 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18013         * emulation/viper-init.el (viper-restore-cursor-type):
18014         * emulation/cua-base.el (cua--update-indications):
18015         Replace default-cursor-type with (default-value 'cursor-type).
18017         * mail/sendmail.el (mail-recover-1):
18018         * international/mule-diag.el (describe-current-coding-system-briefly)
18019         (describe-current-coding-system):
18020         * international/mule-cmds.el (select-safe-coding-system)
18021         (select-message-coding-system)
18022         (set-language-environment-coding-systems, set-locale-environment):
18023         * hexl.el (hexl-insert-multibyte-char):
18024         * dos-w32.el (find-buffer-file-type-coding-system):
18025         * simple.el (what-cursor-position):
18026         Replace uses of default-buffer-file-coding-system
18027         with (default-value 'buffer-file-coding-system).
18029         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
18030         Replace uses of default-cursor-in-non-selected-windows
18031         with (default-value 'cursor-in-non-selected-windows).
18032         Use with-current-buffer.
18034         * mail/feedmail.el: Use CL macros.
18035         (feedmail-run-the-queue, feedmail-send-it-immediately):
18036         * dos-w32.el (find-buffer-file-type): Replace uses of
18037         default-buffer-file-type with (default-value 'buffer-file-type).
18039 2009-08-28  Glenn Morris  <rgm@gnu.org>
18041         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
18042         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
18043         Use default-value of major-mode rather than default-major-mode.
18045 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18047         * Makefile.in (update-elcfiles): Report left over elc files.
18049         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
18050         expand-file-name and with-current-buffer.
18051         (mail-get-names, mail-directory): Use with-current-buffer.
18053         * vc.el (vc-read-revision): New function.
18054         (vc-version-diff, vc-merge): Use it.
18056 2009-08-27  Sam Steingold  <sds@gnu.org>
18058         * simple.el (kill-do-not-save-duplicates): New user option.
18059         (kill-new): When it is non-nil, and the new string is the same as
18060         the latest kill, set replace to t to avoid duplicates in kill-ring.
18062 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
18064         * net/tramp.el (tramp-handle-process-file): Do not flush all
18065         caches when `process-file-side-effects' is set.
18066         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
18067         instead of `tramp-find-file-exists-command'.
18068         Unset `process-file-side-effects'.
18070 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
18072         * net/tramp.el (tramp-methods): New method "rsyncc".
18073         (top): Add completion function for "rsyncc".
18074         (tramp-message-show-message): New defvar.
18075         (tramp-message, tramp-error): Use it.
18076         (tramp-do-copy-or-rename-file-directly): Extend check for direct
18077         remote copying.
18078         (tramp-do-copy-or-rename-file-out-of-band): Handle new
18079         `tramp-methods' entry `copy-env' of "rsyncc".
18080         (tramp-vc-registered-read-file-names): New defconst.
18081         (tramp-vc-registered-file-names): New defvar.
18082         (tramp-handle-vc-registered): Implement optimization strategy.
18083         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
18084         (tramp-vc-file-name-handler): New defun.
18085         (tramp-get-ls-command, tramp-get-test-command)
18086         (tramp-get-file-exists-command, tramp-get-remote-ln)
18087         (tramp-get-remote-perl, tramp-get-remote-stat)
18088         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
18090         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
18091         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
18092         timestamps.
18093         (tramp-get-file-property): Check for timestamps in
18094         `tramp-cache-inhibit-cache'.
18095         (tramp-set-file-property): Write timestamp.
18097 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18099         * language/japan-util.el (japanese-symbol-table): Add entries for
18100         cp932-2-byte.
18102         * international/characters.el: Add category `j' to cp932-2-byte.
18104 2009-08-27  Kenichi Handa  <handa@m17n.org>
18106         * international/fontset.el (build-default-fontset-data): New macro.
18107         (setup-default-fontset): Use build-default-fontset-data for CJK,
18108         tibetan, ethiopic, and ipa.
18110 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
18112         * cus-start.el (default-major-mode): Customize `major-mode' instead.
18113         (enable-multibyte-characters): Not customizable any more.
18115         * subr.el (default-mode-line-format, default-header-line-format)
18116         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
18117         (default-direction-reversed, default-truncate-lines)
18118         (default-left-margin, default-tab-width, default-case-fold-search)
18119         (default-left-margin-width, default-right-margin-width)
18120         (default-left-fringe-width, default-right-fringe-width)
18121         (default-fringes-outside-margins, default-scroll-bar-width)
18122         (default-vertical-scroll-bar, default-indicate-empty-lines)
18123         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
18124         (default-fringe-cursor-alist, default-scroll-up-aggressively)
18125         (default-scroll-down-aggressively, default-fill-column)
18126         (default-cursor-type, default-buffer-file-type)
18127         (default-cursor-in-non-selected-windows)
18128         (default-buffer-file-coding-system, default-major-mode)
18129         (default-enable-multibyte-characters): Mark as obsolete.
18131 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
18133         * vc-dir.el (vc-dir-update): Remove debug helper.
18135         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
18137 2009-08-26  Sam Steingold  <sds@gnu.org>
18139         * simple.el (save-interprogram-paste-before-kill): New user option.
18140         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
18141         save the interprogram-paste into kill-ring before overriding it
18142         with the Emacs kill.
18144 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18146         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
18147         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
18148         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
18149         and move to vc-rcs.el.
18150         (vc-default-next-revision): Rename to vc-rcs-next-revision and
18151         move to vc-rcs.el.
18152         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
18153         (vc-rcs-update-changelog): Remove.
18154         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
18155         and move to vc-rcs.el.
18157         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
18158         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
18159         renaming.
18160         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
18161         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
18162         vc.el, renamed to be RCS specific.
18164         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
18165         New functions.
18166         (vc-cvs-update-changelog): Move here from vc.el.
18168         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
18169         New functions.
18171 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18173         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
18175 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
18177         * vc-git.el (vc-git-register): Use "git add" for directories.
18178         (vc-git-stash, vc-git-stash-show): New functions.
18179         (vc-git-extra-menu-map): Bind them.
18181         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
18182         directory correctly in case the item is a directory itself.
18184         * vc.el: Document the desired behavior for reverted files in the
18185         `added' state.
18186         (vc-default-prettify-state-info): Remove function, unused.
18188         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
18190 2009-08-26  Glenn Morris  <rgm@gnu.org>
18192         * bindings.el (standard-mode-line-format): Reposition dashes in
18193         which-func entry.  (Bug#4217)
18195         * files.el (enable-local-variables, enable-local-eval)
18196         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
18197         the defcustoms.
18198         (auto-mode-alist, ignored-local-variables)
18199         (save-some-buffers-action-alist): Move risky declarations to the
18200         definitions.
18201         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
18202         (font-lock-defaults, format-alist, imenu--index-alist)
18203         (imenu-generic-expression, input-method-alist, minor-mode-alist)
18204         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
18205         (mode-line-modified, mode-line-mule-info, mode-line-position)
18206         (mode-line-process, mode-line-remote, outline-level)
18207         (parse-time-rules, rmail-output-file-alist)
18208         (special-display-buffer-names, vc-mode):
18209         Move risky declarations to the relevant files.
18210         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
18211         (mode-line-modified, mode-line-process, mode-line-position)
18212         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
18213         * font-core.el (font-lock-defaults):
18214         * format.el (format-alist):
18215         * vc-hooks.el (vc-mode):
18216         * window.el (special-display-buffer-names):
18217         * international/mule-cmds.el (input-method-alist):
18218         Define riskiness here (dumped file) rather than in files.el.
18219         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
18220         * imenu.el (imenu-generic-expression, imenu--index-alist):
18221         * outline.el (outline-level):
18222         * time.el (display-time-string):
18223         * calendar/parse-time.el (parse-time-rules):
18224         * mail/rmailout.el (rmail-output-file-alist):
18225         Autoload riskiness here, rather than placing in files.el.
18227 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
18229         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
18231 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
18233         * simple.el (process-file-side-effects): New defvar.
18235         * dired-aux.el (dired-show-file-type):
18236         * vc.el (vc-diff-internal):
18237         * vc-arch.el (vc-arch-diff):
18238         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
18239         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
18240         * vc-git.el (vc-git-registered, vc-git-working-revision)
18241         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
18242         (vc-git--empty-db-p):
18243         * vc-hooks.el (vc-user-login-name):
18244         * vc-svn.el (vc-svn-registered, vc-svn-state)
18245         (vc-svn-dir-extra-headers, vc-svn-find-revision):
18246         * progmodes/grep.el (grep-probe): Let-bind
18247         `process-file-side-effects' with nil.
18249         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
18251         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
18252         daemon.  Replace ping by checking for running service for bluez
18253         and zeroconf.  (Bug#4239)
18255 2009-08-25  Kevin Ryde  <user42@zip.com.au>
18257         * net/dig.el (dig): Add autoload cookie.
18259 2009-08-25  Glenn Morris  <rgm@gnu.org>
18261         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
18262         load-history for absolute file-names.
18263         (byte-compile-file-form-require): Warn about use of the cl package.
18265         * format.el (format-alist): Doc fix.
18267         * play/bubbles.el (top-level): Don't require cl at run-time.
18269         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
18270         run-time cl).
18272 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
18274         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
18275         from cl package.
18276         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
18278 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
18280         * calc/calc-alg.el (math-trig-rewrite)
18281         (math-hyperbolic-trig-rewrite): New functions.
18282         (calc-simplify): Simplify trig functions when asked.
18284 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18286         * diff-mode.el (diff-find-source-location): Avoid goto-line.
18288 2009-08-24  Kenichi Handa  <handa@m17n.org>
18290         * language/ind-util.el (mapthread): Delete it.
18291         (combinatorial): New function.
18292         (indian--puthash-cv): Use combinatorial instead of mapthread.
18294 2009-08-22  Kevin Ryde  <user42@zip.com.au>
18296         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
18297         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
18298         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
18299         Clarify docstring that the value is strings not symbols.
18300         (checkdoc-list-of-strings-p): New function.
18302 2009-08-22  Glenn Morris  <rgm@gnu.org>
18304         * files.el (auto-mode-alist):
18305         * hippie-exp.el (he-concat-directory-file-name):
18306         * lpr.el (lpr-windows-system, printer-name):
18307         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
18308         * ps-print.el (ps-windows-system):
18309         * startup.el (command-line):
18310         * emulation/viper-ex.el (viper-glob-function):
18311         * international/mule-cmds.el (set-language-environment-coding-systems):
18312         * net/ange-ftp.el (ange-ftp-write-region):
18313         * obsolete/fast-lock.el (fast-lock-cache-name):
18314         Remove code for defunct system-types emx, macos, mswindows, next-mach,
18315         unisoft-unix, vax-vms, win32, w32.
18317         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
18318         given name if the pattern is not more specific.
18320         * calendar/lunar.el (lunar-phase-names): New option.
18321         (lunar-phase): Doc fix.
18322         (lunar-cycles-per-year): New constant.
18323         (lunar-index): New function.
18324         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
18325         (lunar-phase-name): Use lunar-phase-names.
18326         (calendar-lunar-phases): Use format.
18327         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
18329         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
18330         Copy imenu-example--name-and-position function here for own use.
18331         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
18333         * bs.el (bs--redisplay):
18334         * cus-edit.el (custom-redraw):
18335         * ibuffer.el (ibuffer-bury-buffer):
18336         * server.el (server-goto-line-column):
18337         * startup.el (command-line-1):
18338         * strokes.el (strokes-xpm-for-stroke):
18339         * term.el (term-display-buffer-line):
18340         * view.el (View-goto-line):
18341         * calc/calc.el (calc-do, calc-trail-buffer):
18342         * play/gamegrid.el (gamegrid-add-score-insecure):
18343         * progmodes/ada-mode.el (ada-compile-goto-error):
18344         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
18345         (ebrowse-select-1st-to-9nth):
18346         * progmodes/cperl-mode.el (cperl-time-fontification):
18347         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
18348         * progmodes/gud.el (gud-display-line):
18349         (idlwave-shell-display-line):
18350         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
18351         * progmodes/make-mode.el (makefile-browser-toggle):
18352         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
18353         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
18354         * textmodes/picture.el (picture-draw-rectangle):
18355         * textmodes/reftex-index.el (reftex-index-goto-letter):
18356         (reftex-select-jump-to-previous):
18357         * textmodes/reftex-sel.el (reftex-find-start-point)
18358         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
18359         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
18360         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
18361         * textmodes/tex-mode.el (tex-compilation-parse-errors):
18362         * textmodes/two-column.el (2C-associated-buffer):
18363         Use forward-line rather than goto-line.
18365         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
18366         goto-line.
18368         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
18369         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
18370         (quick-check-list-to-regexp): Declare.
18372         * progmodes/make-mode.el (makefile-browser-insert-selection):
18373         Use goto-char rather than goto-line.
18375         * progmodes/prolog.el (compilation-error-regexp-alist)
18376         (compilation-forget-errors): Declare.
18378 2009-08-22  Juri Linkov  <juri@jurta.org>
18380         * progmodes/grep.el (lgrep, rgrep): At the beginning
18381         set `dir' to `default-directory' unless `dir' is a non-nil
18382         readable directory.  (Bug#4052)
18383         (lgrep, rgrep): Change a weird way to report an error
18384         from using `read-string' to using `error'.
18385         Instead of using interactive arguments in the function body,
18386         add new argument `confirm'.
18388 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18390         * textmodes/remember.el (remember-buffer):
18391         * progmodes/cperl-mode.el (cperl-vc-header-alist):
18392         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
18393         (icalendar-extract-ical-from-buffer):
18394         * net/newst-treeview.el (newsticker-groups-filename):
18395         * net/newst-backend.el (newsticker-cache-filename):
18396         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
18397         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
18398         (speedbar-add-ignored-path-regexp, speedbar-line-path)
18399         (speedbar-buffers-line-path, speedbar-path-line)
18400         (speedbar-buffers-line-path):
18401         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
18402         (epg-sign-keys):
18403         * epa.el (epa-display-verify-result):
18404         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
18406 2009-08-21  Glenn Morris  <rgm@gnu.org>
18408         * progmodes/js.el (inferior-moz-process): Fix declaration.
18410         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
18412         * obsolete/rnewspost.el (news-mail-reply):
18413         Use goto-char rather than goto-line.
18415         * term/ns-win.el (ns-open-file-select-line):
18416         Use line-beginning-position rather than goto-line.
18418         * apropos.el (apropos-command):
18419         * ehelp.el (electric-helpify):
18420         * printing.el (pr-show-setup):
18421         * strokes.el (strokes-help):
18422         * tutorial.el (tutorial--describe-nonstandard-key)
18423         (tutorial--detailed-help):
18424         * woman.el (woman-mini-help, woman-display-extended-fonts):
18425         * calc/calc-help.el (calc-describe-key):
18426         * emulation/edt.el (edt-electric-helpify):
18427         * international/mule-diag.el (mule-diag):
18428         * play/yow.el (apropos-zippy):
18429         * progmodes/python.el (python-describe-symbol):
18430         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
18431         * textmodes/table.el (*table--cell-describe-mode)
18432         (*table--cell-describe-bindings):
18433         Use help-print-return-message rather than the now obsolete alias.
18435         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
18436         (calendar-cursor-to-visible-date):
18437         * play/5x5.el (5x5-position-cursor):
18438         * play/decipher.el (decipher):
18439         * play/gomoku.el (gomoku-goto-xy):
18440         * play/landmark.el (lm-goto-xy):
18441         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
18442         (mpuz-paint-digit):
18443         Use forward-line, not goto-line.
18445         * mail/rmail.el (rmail-obsolete): Delete custom group.
18446         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
18447         (rmail-remote-password, rmail-remote-password-required):
18448         Remove unneeded :set-after and :set properties.
18450 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
18452         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
18454 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
18456         * loadup.el: Remove leftover macos code.
18458         * vc-git.el (vc-git-annotate-command): Run asynchronously.
18459         Explicitly pass the date format to git blame so that user local
18460         so that the output format can be parsed.
18462 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
18464         * net/dbus.el (top): Don't check for (getenv
18465         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
18467 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
18469         * log-edit.el (log-edit-strip-single-file-name): New var.
18470         (log-edit-insert-changelog): Use it.  Bug#3571
18472 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18474         * subr.el (read-passwd): Use read-key so keypad keys work as well.
18475         Bug#3287
18477         * help.el (help-print-return-message): Rename from
18478         print-help-return-message.
18480         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
18481         cvs-mode-map parent hack.
18482         (log-view-mode): Derive from special-mode.
18484         * linum.el (linum-mode): window-size-change-functions is redundant.
18485         Adapt to new window-configuration-change-hook behavior.
18486         (linum-after-size, linum-after-config): Remove.
18488         * imenu.el (imenu-example--name-and-position)
18489         (imenu-example--lisp-extract-index-name)
18490         (imenu-example--create-lisp-index, imenu-example--create-c-index):
18491         Mark as obsolete.
18493         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
18494         (inferior-prolog-mode): Use it.
18495         (inferior-prolog-load-file): Reset list of errors.
18497 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
18499         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
18501         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
18503 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
18505         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
18506         is running already.
18508 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18510         * subr.el (listify-key-sequence-1): Use normal syntax since those
18511         integers are nowadays always represented by the same (positive) number
18512         on all platforms.
18513         (read-key-empty-map): New const.
18514         (read-key-delay): New var.
18515         (read-key): New function.
18516         (force-mode-line-update): Use with-current-buffer.
18517         (locate-user-emacs-file): Don't forget to abbreviate the file name.
18518         (start-process-shell-command, start-file-process-shell-command):
18519         Discourage the use of command-args.
18521 2009-08-19  Glenn Morris  <rgm@gnu.org>
18523         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
18525 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18527         * simple.el (choose-completion-string): Don't rely on
18528         minibuffer-completing-file-name and ad-hoc checks to decide whether
18529         to continue completion or not.
18531         * minibuffer.el (minibuffer-hide-completions): New function.
18532         (completion--do-completion): Use it.
18533         (completions-annotations): New face.
18534         (completion--insert-strings): Use it.
18535         (completion-pcm--delim-wild-regex): Add docstring.
18536         (completion-pcm--string->pattern): Add support for 0-width delimiters
18537         in completion-pcm--delim-wild-regex.
18539 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18541         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
18542         Remove unused var `buffer-modified-p'.
18544         * minibuffer.el (completion--do-completion): Move point for the #b001
18545         case as well (bug#4176).
18546         (minibuffer-complete, minibuffer-complete-word): Don't move point.
18548 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
18550         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
18551         and :session buses.
18553 2009-08-18  Kenichi Handa  <handa@m17n.org>
18555         * international/ucs-normalize.el (ucs-normalize-version):
18556         Change to 1.1.
18557         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
18558         (utf-8-hfs): Make it perform normalization on encoding too.
18560         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
18561         (sentence-end-without-space): Delete duplicated chars.
18562         (sentence-end-base): Likewise.
18564         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
18565         (html-mode): Delete duplicated chars from sentence-end-base.
18567         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
18568         (texinfo-mode): Delete duplicated chars from sentence-end-base.
18570 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
18572         * files.el (hack-one-local-variable): If the mode function is for
18573         a minor mode, pass it an argument (Bug#4148).
18575 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
18577         * net/tramp.el (tramp-register-completion-file-name-handler):
18578         Check also for (member 'partial-completion completion-styles).
18580 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18582         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
18583         abbrev (Bug#3943).
18585 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
18587         * progmodes/cperl-mode.el: Merge upstream 6.2.
18588         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
18589         (cperl-forward-re): Check cperl-brace-recursing.
18590         (cperl-highlight-charclass): New function.
18591         (cperl-find-pods-heres): Use it.
18592         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
18593         (cperl-beautify-regexp-piece): Fix column calculation.
18594         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
18595         (cperl-beautify-level): Don't process entire regexp.
18596         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
18597         calling man.
18598         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
18599         (cperl-init-faces): Build a list in the normal way.
18601 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18603         * calendar/parse-time.el (parse-time-string-chars): Save match
18604         data.
18606 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18608         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
18609         (sql-product): Use it.
18610         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
18611         (sql-set-product): Add completion.
18612         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
18613         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
18614         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
18615         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
18616         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
18617         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
18618         (sql-highlight-db2-keywords): Remove.
18619         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
18620         (sql-highlight-product): Use derived-mode-p.
18621         (sql-set-sqli-buffer): Use with-current-buffer.
18622         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
18623         Simplify.
18625         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
18627         * term.el: Fix commenting convention, turn comments into docstrings.
18629 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18631         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
18633 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
18635         * calendar/parse-time.el (parse-time-string-chars): Compute using
18636         character classes, to handle non-ascii characters (Bug#3190).
18638 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
18640         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
18641         another heredoc if the user adds another < (Bug#3226).
18643         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
18644         Don't initialize based on window-system (Bug#4124).
18646         * facemenu.el (facemenu-read-color): Use a completion function
18647         that accepts any defined color, such as RGB triplets (Bug#3677).
18649         * files.el (get-free-disk-space): Change fallback default
18650         directory to /.  Expand DIR argument before switching to fallback.
18651         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
18653 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18655         * files.el (load-library): Doc fix.
18657 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
18659         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
18660         (viper-if-string): Redefine C-s in the minibuffer to insert the last
18661         incremental search string.
18663         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
18664         XEmacs.
18666         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
18667         (ediff-merge-region-is-non-clash)
18668         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
18669         Also check if the job is really a merge job.
18671         * ediff.el (ediff-current-file): New function.
18673 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
18675         * progmodes/js.el: Edit docstrings throughout to follow Emacs
18676         conventions.
18677         (js-insert-and-indent): Delete function.
18678         (js-mode-map): Don't bind keys to js-insert-and-indent.
18679         (js-beginning-of-defun): Rename from js--beginning-of-defun.
18680         (js-end-of-defun): Rename from js--end-of-defun.
18681         (js-auto-indent-flag): Delete variable.
18683 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
18685         * progmodes/js.el: Remove proclaim statement.
18686         Defvar which-func-imenu-joiner-function to silence compiler.
18688         * files.el (auto-mode-alist): Use js-mode for .js files.
18690         * progmodes/js2-mode.el: Remove file.
18692         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
18694         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
18696         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
18698 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
18699             Karl Landstrom  <karl.landstrom@brgeight.se>
18701         * progmodes/js.el: New file.
18703 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
18705         * timezone.el (timezone-parse-date): Add ability to understand ISO
18706         basic format (minimal separators) dates in addition to the
18707         already-supported extended format dates.
18709 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
18711         * international/ucs-normalize.el: Add a `coding' file variable.
18713         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
18715 2009-08-14  Sam Steingold  <sds@gnu.org>
18717         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
18719 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
18721         * faces.el (help-argument-name): Define it here instead of
18722         help-fns.el, because in daemon mode help-fns.el may be loaded when
18723         faces are still uninitialized (Bug#1078).
18725         * help-fns.el (help-argument-name): Move defface to faces.el.
18727 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
18729         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
18730         create buffer with a pty but no process so that GDB can make the
18731         inferior the controlling process.
18733 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
18735         * international/ucs-normalize.el: New file.
18737 2009-08-13  Richard Stallman  <rms@gnu.org>
18739         * mail/rmail.el (rmail-get-attr-names):
18740         Accept an attribute header that is too short.
18742         * mail/rmail.el (rmail-forget-messages):
18743         Ignore nil elt in rmail-message-vector.  Use dotimes.
18745         * progmodes/compile.el (compilation-goto-locus):
18746         Use next-error-move-function.
18748         * simple.el (next-error-move-function): New variable.
18750 2009-08-12  Juri Linkov  <juri@jurta.org>
18752         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
18753         always non-nil.  (Bug#4052)
18755         * replace.el (read-regexp): Return empty string when
18756         `default-value' is nil.
18757         (keep-lines-read-args): Don't use empty string as the
18758         default value for `read-regexp'.  (Bug#2495)
18760 2009-08-12  Juri Linkov  <juri@jurta.org>
18762         * international/mule-cmds.el (ucs-insert): Change arguments
18763         from `arg' to `character', `count', `inherit' to be the same
18764         as in `insert-char'.  Doc fix.  (Bug#4039)
18766         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
18768 2009-08-12  Juri Linkov  <juri@jurta.org>
18770         * files-x.el: New file.
18772         * files.el: Move code that deals with adding/deleting
18773         file/directory-local variables to files-x.el.
18775         * Makefile.in (ELCFILES): Add files-x.elc.
18777 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
18779         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
18780         to use `goto-line'.
18781         (gdb-place-breakpoints, gdb-get-location): Rewritten without
18782         `goto-line'.
18783         (gdb-invalidate-disassembly): Do not refresh upon receiving
18784         'update signal.  Instead, update all disassembly buffers only after
18785         threads list.
18786         (gdb): Send -target-detach when buffer is killed (Bug#3794).
18787         (gdb-starting): Move -data-list-register-names...
18788         (gdb-stopped): ...here so it's sent when first thread stops.
18789         (gdb-registers-handler-custom): Do nothing if register names are
18790         unknown yet.
18792         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
18793         from `gdb-mi.el' to avoid extra tangling.
18795         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
18796         change which breaks `gud-def' definitions used in `gdb'.
18797         (gdb-update-gud-running): No extra fuss for updating frame number.
18799 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18801         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
18802         (describe-language-environment-map, setup-language-environment-map)
18803         (set-coding-system-map): Move initialization into declaration.
18804         (set-language-info-alist): Last arg to define-key-after can be skipped.
18806         * international/quail.el (quail-completion-1): Simplify.
18807         (quail-define-rules): Use slightly more compact code.
18808         (quail-insert-decode-map): Propertize keys, compact columns.
18810         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18811         Add goto-line.
18813 2009-08-10  Miles Bader  <miles@gnu.org>
18815         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18816         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18817         (js2-instance-member, js2-private-member, js2-private-function-call)
18818         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18819         (js2-magic-paren, js2-external-variable):
18820         Remove "-face" suffix from face names.
18821         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18822         (js2-highlight-undeclared-vars, js2-peek-token)
18823         (js2-parse-function-params, js2-mode-show-errors)
18824         (js2-mode-show-warnings, js2-make-magic-delimiter)
18825         (js2-mode-highlight-magic-parens): Update to use new face names.
18827 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
18829         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18830         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
18832 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
18834         * subr.el: Provide hashtable-print-readable.
18836         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18837         hs-c-like-adjust-block-beginning.
18838         (hs-hide-block-at-point): Stop hiding at the beginning of
18839         hs-block-end-regexp (Bug#700).
18841 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
18843         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18844         a macro.
18845         (gdb-registers-handler-custom): Do not fail when register names
18846         are unavailable.
18848 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18850         * progmodes/gdb-mi.el (gdb-control-all-threads)
18851         (gdb-control-current-thread): Interactive setters for
18852         `gdb-gud-control-all-threads' to use in menu.
18853         (gdb-show-run-p): Show «Go» when process is not active.
18854         (gud-tool-bar-map): Add non-stop/A,T indicator.
18855         Uses gud/thread.xpm and gud/all.xpm.
18857 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
18859         * net/net-utils.el (net-utils-font-lock-keywords): New var.
18860         (nslookup-font-lock-keywords): Make it a variable.
18861         (net-utils-mode): New mode for viewing diagnostic network output.
18862         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18863         (net-utils-run-simple): New function.
18864         (ifconfig, iwconfig, netstat, arp, route): Use it.
18866 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18868         * progmodes/gdb-mi.el (gdb-read-memory-custom)
18869         (gdb-memory-set-address, def-gdb-set-positive-number)
18870         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18871         after changing settings.
18872         (gdb-invalidate-disassembly): Update when first shown.
18873         (gdb-edit-locals-value): Fixed.
18874         (gdb-registers-handler-custom): Print registers in right order and
18875         allow changing register values (only for current thread yet).
18876         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18877         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18878         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18879         (gdb-locals-handler-custom, gdb-registers-handler-custom):
18880         Thread info in mode name.
18881         (gdb-registers-mode-map): TAB to switch to locals.
18883 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
18885         * mail/rmail.el (rmail-add-mbox-headers)
18886         (rmail-set-message-counters-counter): Search for
18887         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
18889 2009-08-08  Glenn Morris  <rgm@gnu.org>
18891         * Makefile.in (ELCFILES): Update.
18893 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18895         * mail/sendmail.el (mail-yank-original):
18896         Set buffer-file-coding-system from the one used by the message whose
18897         text is yanked.
18899         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18900         to "windows" when "pgnuplot" is used.
18901         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
18902         Don't call accept-process-output if "pgnuplot" is used.
18903         (calc-graph-init): Don't send -display and -geometry to
18904         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
18905         running "pgnuplot -V" with shell-command-to-string.
18907         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18908         the default.
18910 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18912         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18913         org/org-latex.elc.
18915 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
18917         * vc-dispatcher.el (vc-resynch-window): Update comment.
18919         * term.el (term-handle-ansi-escape): Add comments with the
18920         terminfo capabilities implemented.
18922 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
18924         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18925         (gdb-var-create-handler): Rewritten using JSON parser.
18926         (gdb-propertize-header): Move earlier.
18927         (gdb-set-header): Remove to avoid duplication.
18928         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18929         Refresh disassembly buffers only after threads list have been
18930         update.
18931         (gdb-threads-header, gdb-registers-header): Per-buffer header line
18932         variables.
18934 2009-08-04  Juri Linkov  <juri@jurta.org>
18936         * files.el: Commands to add/delete file/directory-local variables.
18937         (read-file-local-variable, read-file-local-variable-value)
18938         (read-file-local-variable-mode, modify-file-local-variable)
18939         (modify-file-local-variable-prop-line)
18940         (modify-dir-local-variable): New functions.
18941         (add-file-local-variable, delete-file-local-variable)
18942         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18943         (add-dir-local-variable, delete-dir-local-variable)
18944         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18945         (copy-dir-locals-to-file-locals-prop-line): New commands.
18947 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18949         * abbrev.el (insert-abbrev-table-description): Prettify output.
18950         Suggested by Karl Chen.
18952 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18954         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18955         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18956         (gdb-overlay-arrow-position, gdb-thread-position)
18957         (gdb-disassembly-position): Declare variables.
18958         (gdb-wait-for-pending): Function now.
18959         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18960         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18961         compilation goes smoothly.
18962         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18963         (gdb-non-stop-setting): New customization setting which replaces
18964         `gdb-non-stop' so changing it doesn't break active GDB session.
18965         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18966         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18967         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18968         (gdb-show-threads-by-default): New customization options.
18969         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18970         routines.
18971         (gdb-get-buffer-create): Send buffers update signal when they are
18972         created.
18973         (gdb-invalidate-locals, gdb-invalidate-registers)
18974         (gdb-invalidate-breakpoints)
18975         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18976         (gdb-invalidate-memory): Accept update signal.
18977         (gdb-current-context-command): Use --frame option.
18978         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18979         Implement `gdb-frame-number' selection logic.
18980         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18981         whether to show GUD toolbar buttons.
18982         (gdb-thread-exited): Unselect current thread when it exits.
18983         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18984         (gdb-mark-line): Routine which sets overlay arrow or inverses
18985         video on fringeless displays.
18986         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18987         to build aligned columns of data in GDB buffers and set text
18988         properties line-by-line.
18989         (gdb-invalidate-breakpoints)
18990         (gdb-breakpoints-list-handler-custom)
18991         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18992         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18993         (gdb-registers-handler-custom): Align data columns.
18994         (gdb-locals-handler-custom): Now prints data like in variable
18995         declarations.
18996         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18997         Remove confusing buttons.
18998         (gdb-invalidate-threads): Append --frame.
18999         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
19000         between breakpoints/threads buffers.
19001         (gdb-set-window-buffer): Now can ignore dedicated windows.
19002         (gdb-propertize-header): Use `gdb-set-window-buffer'.
19003         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
19004         (def-gdb-thread-buffer-gud-command): Replaces
19005         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
19006         for fine thread control.
19007         (gdb-preempt-existing-or-display-buffer): New function used to
19008         display bound buffers without breaking window layout.
19009         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
19010         (gdb-select-frame): New version of `gdb-frames-select' which now
19011         sets `gdb-frame-number' so commands may use --frame option instead
19012         of inner debugger state.
19013         (gdb-frame-handler): Do not set `gdb-frame-number'.
19014         (gdb-threads-mode-map): Select threads with mouse.
19016         * progmodes/gud.el (gdb-gud-context-call): Declare function to
19017         avoid compilation warning.
19018         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
19019         `gdb-show-stop-p`.
19021         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
19022         Argument `key' renamed to `buffer-type'.
19023         (gdb-current-context-buffer-name): Do not add thread info to
19024         buffer name when no thread is selected.
19025         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
19026         command (bug 3794).
19027         (gdb-thread-selected): Handle `=thread-selected' notification.
19028         (gdb-wait-for-pending): New macro to deal with congestion problems.
19029         (gdb-breakpoints-list-handler-custom): Don't fail on pending
19030         breakpoints.
19031         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
19032         This fixes problem similar to one described in bug 3947.
19033         (gud-menu-map): More menu items.
19034         (gdb-init-1): Reset `gdb-thread-number' to nil.
19036         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
19037         non-stop settings.
19039         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
19040         (gdb-current-context-command): Do not append --thread if
19041         `gdb-thread-number' is nil.
19042         (gdb-running-threads-count, gdb-stopped-threads-count):
19043         New variables.
19044         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
19045         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
19046         New customization options.
19047         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
19048         GUD commands.
19049         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
19050         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
19051         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
19052         set `gdb-thread-number' and update `gud-running' properly.
19053         (gdb-running): Update threads list when new threads appear.
19054         (gdb-stopped): Support non-stop operation and new thread switching
19055         logic.
19056         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
19057         (gdb-json-partial-output): New set of JSON routines.
19058         (def-gdb-auto-update-trigger): New `signal-list' optional
19059         argument.
19060         (gdb-thread-list-handler-custom): Update `gud-running',
19061         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
19062         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
19063         (gdb-continue-thread, gdb-step-thread): New commands for fine
19064         thread execution control.
19065         (gud-menu-map): New menu items to switch non-stop options.
19066         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
19067         (gdb-send): Mimic RET properly (bug 3794).
19069         * progmodes/gdb-mi.el (gdb-rules-name-maker)
19070         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
19071         gdb-buffer-rules.
19072         (def-gdb-auto-update-handler): New nopreserve optional argument.
19073         (gdb-stack-list-frames-custom): Print stack from top to bottom.
19075         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
19076         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
19077         (gdb-parent-mode): New mode to derive other GDB modes from.
19078         (gdb-display-disassembly-for-thread)
19079         (gdb-frame-disassembly-for-thread): New commands for threads
19080         buffer.
19082         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
19083         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
19084         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
19085         (gdb-update): We now store all GDB buffers in a list so that they
19086         can be updated by traversing a list instead of calling invalidate
19087         triggers explicitly.
19088         (def-gdb-trigger-and-handler): New macro to define trigger-handler
19089         pair for GDB buffer.
19090         (gdb-stack-buffer-name): Add thread information.
19091         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
19092         handle pending triggers.
19093         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
19094         (def-gdb-thread-buffer-simple-command)
19095         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
19096         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
19097         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
19098         New commands which show buffers bound to thread.
19099         (gdb-stack-list-locals-regexp): Remove unused regexp.
19101         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
19102         (gdb-locals-buffer-name, gdb-registers-buffer-name)
19103         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
19104         to (gud-comint-buffer) in *-buffer-name functions
19105         because (gdb-get-target-string) already does that.
19106         (gdb-locals-handler-custom, gdb-registers-handler-custom)
19107         (gdb-changed-registers-handler): Rewritten without regexps.
19109         * progmodes/gdb-mi.el: Basic thread selection support.
19110         (gdb-thread-number): New variable.
19111         (gdb-current-context-command): New macro which adds --thread
19112         option to command.
19113         (gdb-threads-mode-map): Select thread with SPC.
19114         (gdb-thread-list-handler-custom): Mark current thread with overlay
19115         arrow.  Synchronize GDB thread and Emacs thread.
19116         (gdb-select-thread): New command which selects current thread.
19117         (gdb-invalidate-frames, gdb-invalidate-locals)
19118         (gdb-invalidate-registers): Use --thread option.
19120 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
19122         * net/tramp.el (top): Make check for tramp-gvfs loading more
19123         robust.  (Bug#3977)
19124         (tramp-handle-insert-file-contents): `unwind-protect' must be
19125         inside `with-parsed-tramp-file-name'.
19127         * net/tramp-gvfs.el (top): Remove superfluous message when loading
19128         fails.
19130 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
19132         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
19133         directory if CLASSPATH is not set.
19135 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
19137         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
19138         New defconst.
19139         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
19141 2009-08-02  Kevin Ryde  <user42@zip.com.au>
19143         * net/newst-backend.el (newsticker--raw-url-list-defaults):
19144         Update freshmeat link.  Delete newsforge.com as it seems gone.
19146 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19148         * select.el (x-set-selection): Doc fix (Bug#4021).
19150         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
19152         * help-fns.el (describe-variable): Treat list return values from
19153         dir-locals-find-file properly (Bug#4005).
19155 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
19157         * net/tramp.el (tramp-debug-message): Print also microseconds.
19159 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
19161         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
19162         or END is non-nil.
19163         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
19164         (tramp-get-debug-buffer): Change `outline-regexp' according to new
19165         format.
19167         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
19168         (tramp-get-file-property): Use it.
19170         * autorevert.el (auto-revert-handler):
19171         Allow `auto-revert-tail-mode' for remote files.
19173 2009-08-02  Jason Rumney  <jasonr@gnu.org>
19175         * minibuffer.el (read-file-name): Treat confirm options to
19176         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
19178 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
19180         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
19181         (font-lock-variable-name-face, font-lock-constant-face):
19182         Darken the colors for light backgrounds.
19184 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
19186         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
19187         month names.  (Bug#3987)
19189 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
19191         * simple.el (line-move-finish): Pass whole number to
19192         line-move-to-column.
19193         (line-move-visual): Perform hscroll to the recorded position.
19195 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
19197         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
19199 2009-07-29  Alan Mackenzie  <acm@muc.de>
19201         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
19203 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
19205         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
19206         (gdb-place-breakpoints): Use full path when setting breakpoints.
19208 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
19210         * calc/calc.el (calc-mode-map): Add keybinding for
19211         `calc-transpose-lines'.
19213 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
19215         * calc/calc-misc.el (calc-transpose-lines): New function.
19217 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
19219         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
19220         Simplify check for out-of-band methods.
19221         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
19222         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
19224 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
19226         * vc-git.el (vc-git-checkin): Fix typo.
19228 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
19230         * progmodes/js2-mode.el: New file.
19232 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
19234         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
19235         (gud-menu-map): Adjust tooltip accordingly.
19237 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
19239         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
19240         (vc-bzr-log-view-mode): Adjust log-view-file-re.
19242         * add-log.el (change-log-mode-map): Add a menu.
19244 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
19246         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
19247         function returns nil.
19248         (dbus-handle-event): Handle special return value :ignore.
19249         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
19251 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
19253         * view.el (view-mode-enable): Don't define Helper-return-blurb if
19254         it's not needed.
19256 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
19258         Fix Bug#3888:
19260         * w32-vars.el (x-select-enable-clipboard): Doc fix.
19262         * term/pc-win.el (x-display-name, x-colors)
19263         (x-select-enable-clipboard, x-select-text): Doc fix.
19265         * term/common-win.el (x-display-name, x-colors): Doc fix.
19267         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
19268         (xw-defined-colors): Doc fix.
19270         * w32-fns.el (x-select-text, x-setup-function-keys)
19271         (x-get-selection, x-set-selection): Doc fix.
19273         * term/x-win.el (x-select-text, x-setup-function-keys)
19274         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
19276         * select.el (x-set-selection): Doc fix.
19278 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
19280         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
19281         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
19282         "IsNSSSupportAvailable" method is not available.
19283         Reported by Steve Youngs <steve@sxemacs.org>.
19285 2009-07-24  Kenichi Handa  <handa@m17n.org>
19287         * international/characters.el: Fix setting of category ?C, ?|, ?K,
19288         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
19289         (build-unicode-category-table): Fix range checks.
19291 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
19293         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
19294         the buffer we try to sync is current when calling
19295         vc-resynch-buffer.
19297         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
19298         not show up to date files.
19300 2009-07-24  Glenn Morris  <rgm@gnu.org>
19302         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
19303         Add autoload cookies.  If necessary, initialize.
19304         (elint-log): Handle non-file buffers.
19305         (elint-initialize): Add optional argument to reinitialize.
19306         (elint-find-builtin-variables): Save excursion.
19308 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
19310         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
19311         for Lint.
19313 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
19315         * vc.el (vc-print-log-internal): New function, split out from ...
19316         (vc-print-log): ... here.
19317         (vc-dir-move-to-goal-column): Declare.
19319         * vc-git.el (vc-git-add-signoff): New variable.
19320         (vc-git-checkin): Use it.
19321         (vc-git-toggle-signoff): New function.
19322         (vc-git-extra-menu-map): Bind it to menu.
19323         (vc-git--run-command-string): Accept a nil FILE argument.
19324         (vc-git-stash-list): New function.
19325         (vc-git-dir-extra-headers): Use it.
19327 2009-07-23  Glenn Morris  <rgm@gnu.org>
19329         * help-fns.el (describe-variable): Describe ignored and risky local
19330         variables in a similar way to that in which we describe safe ones.
19332         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
19333         (byte-compile-output-file-form, byte-compile-output-docform)
19334         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
19335         Give some more local variables with common names a "bytecomp-" prefix,
19336         so as not to shadow things during compilation.
19337         * emacs-lisp/cl-macs.el (load-time-value)
19338         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
19339         `outbuffer' to `bytecomp-outbuffer'.
19341         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
19342         since the next two variables cover them automatically now.
19343         (elint-builtin-variables, elint-autoloaded-variables): New.
19344         (elint-unknown-builtin-args): Remove all members, since they can be
19345         parsed automatically now.
19346         (elint-extra-errors): New.
19347         (elint-env-add-env, elint-env-add-macro): Use cadr.
19348         (elint-current-buffer): Use or.  Change final message.
19349         (elint-get-top-forms): Use line-end-position.
19350         (elint-init-env): Use cadr.  Handle autoload, declare-function,
19351         and defalias.
19352         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
19353         (regexp-assoc): Remove unused function.
19354         (elint-top-form): Set elint-current-pos, to record the start of the
19355         top-level form, for compilation-mode.
19356         (elint-form): Trap errors in macro expansion.  Use dolist.
19357         (elint-unbound-variable): Use elint-builtin-variables and
19358         elint-autoloaded-variables.
19359         (elint-get-args): Use cadr, or.
19360         (elint-check-cond-form): Use dolist, cadr.
19361         (elint-check-condition-case-form): Doc fix.  Use cadr.
19362         Use elint-extra-errors.
19363         (elint-log): New function.
19364         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
19365         Distinguish errors and warnings.
19366         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
19367         Use a bytecomp-style format.
19368         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
19369         (elint-get-log-buffer): Use compilation mode.  Disable undo.
19370         Don't truncate lines.
19371         (elint-initialize): Set builtin and autoloaded variable lists.
19372         Only process elint-unknown-builtin-args if non-nil.
19373         (elint-find-builtin-variables, elint-find-autoloaded-variables):
19374         New functions.
19375         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
19377 2009-07-22  Kevin Ryde  <user42@zip.com.au>
19379         * net/newst-backend.el (newsticker--parse-atom-1.0)
19380         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
19381         (newsticker--parse-rss-1.0):
19382         * progmodes/idlwave.el (idlwave-mode):
19383         * progmodes/idlw-shell.el (idlwave-shell-mode):
19384         * progmodes/vera-mode.el (vera-mode):
19385         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
19386         * progmodes/vhdl-mode.el (vhdl-mode):
19387         * textmodes/table.el (table-generate-source)
19388         (table--warn-incompatibility):
19389         Hyperlink urls in docstrings with URL `...'.
19391 2009-07-22  Glenn Morris  <rgm@gnu.org>
19393         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
19394         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
19395         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
19396         Remove leading * from defcustom docs.
19398         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
19400         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
19401         defcustom doc.
19402         (list-load-path-shadows): Optionally, just return shadows as a string.
19404         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
19406 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
19408         * mail/rmailedit.el (rmail-edit-mode):
19409         Use auto-save-include-big-deletions.
19411         * mail/rmail.el (rmail-variables):
19412         Use auto-save-include-big-deletions.
19414         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
19415         changes.
19417 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
19419         * calc/calc.el (calc-undo-length): New variable.
19420         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
19422 2009-07-21  Richard Stallman  <rms@gnu.org>
19424         * files.el (auto-save-mode): Handle buffer-save-size = -2
19425         for toggling mode.
19427 2009-07-21  Glenn Morris  <rgm@gnu.org>
19429         * textmodes/ispell.el (ispell-looking-back): Update declaration.
19431         * calendar/todo-mode.el (calendar-current-date): Update declaration.
19433         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
19434         silence compiler.  Instead...
19435         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
19436         (ps-print-ensure-fontified): Update for above function name changes.
19438         * printing.el (pr-mh-get-msg-num, pr-mh-show)
19439         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
19440         silence compiler.  Instead...
19441         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
19442         (mh-show-buffer): Only define for compiler.
19443         (pr-mh-current-message): Update for above function name changes.
19445         * files.el (abort-if-file-too-large): Explicitly pass `filename'
19446         as an argument.
19447         (find-file-noselect, insert-file-1): Update for above change.
19449         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
19451         * mail/mailclient.el (mailclient-send-it): Fix message.
19453         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
19454         (edebug-eval): Check cl-debug-env is bound.
19455         (print-level, print-circle): Don't redefine built-in variables.
19457         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
19458         (custom-print-vectors): Remove old comments from doc.
19460         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
19461         (emerge-version): Make the variable an obsolete alias for the
19462         emacs-version variable.  Make the function obsolete.
19463         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
19464         Emerge options, rather than merging in into the main Options menu.
19465         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
19466         and auto advance modes.  Disable edit/fast items when not relevant.
19468 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
19470         * term/vt420.el (terminal-init-vt420): Fix typo.
19472 2009-07-20  Sam Steingold  <sds@gnu.org>
19474         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
19475         variable (removed from compile.el on 2004-03-11).
19477 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
19479         * files.el (hack-local-variables-filter): Fix last change.
19481 2009-07-19  Juri Linkov  <juri@jurta.org>
19483         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
19484         (dir-local-variables-alist): New buffer-local variable.
19485         (hack-local-variables-filter): If variable is not dir-local,
19486         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
19487         because file-local overrides dir-local.
19488         (c-postprocess-file-styles) <declare-function>:
19489         Remove obsolete declaration.
19490         (hack-dir-local-variables): Add dir-local variable/value pair to
19491         `dir-local-variables-alist' and remove duplicates.  Doc fix.
19493         * help-fns.el (describe-variable): Add information about
19494         file-local and dir-local variables.
19496 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
19498         * files.el (hack-local-variables-filter): Rewrite.
19500 2009-07-19  Glenn Morris  <rgm@gnu.org>
19502         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
19503         Silence compiler by only defining on XEmacs.
19505         * international/mule.el (auto-coding-regexp-alist): Only match
19506         BABYL... at the start of buffer, not of lines.  (Bug#3790)
19508         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
19509         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
19510         (cal-menu-context-mouse-menu): Doc fix.
19512         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
19514         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
19516 2009-07-18  Juri Linkov  <juri@jurta.org>
19518         * info.el: Virtual Info keyword finder.
19519         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
19520         (Info-finder-file): New variable.
19521         (Info-finder-find-file): New function.
19522         (finder-known-keywords, finder-package-info)
19523         (find-library-name, lm-commentary): Use defvar and
19524         declare-function to silence compiler warnings.
19525         (Info-finder-find-node): New function.
19526         (info-finder): New command.
19528         * subr.el (process-kill-buffer-query-function): New function.
19529         (add-hook)<kill-buffer-query-functions>: Add hook
19530         `process-kill-buffer-query-function'.
19532 2009-07-18  Alan Mackenzie  <acm@muc.de>
19534         * progmodes/cc-mode.el (c-before-hack-hook)
19535         (c-postprocess-file-styles): Give invocation of `c-set-style'
19536         DONT-OVERRIDE parameter of t.  Already set style variables will
19537         thus not be overridden by style settings given by `c-file-syle'.
19539         * files.el (hack-local-variables-filter): Remove entries with
19540         duplicate keys from `file-local-variables-alist'.
19542 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19544         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
19545         x-set-selection if display-selections-p returns nil for the
19546         current frame.
19548 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
19550         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
19552 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
19554         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
19555         Accept nil in addition to a regexp.
19556         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
19557         Accept nil in addition to a regexp.
19558         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
19559         buffers that have an associated file.  Handle nil values of
19560         desktop-buffers-not-to-save and desktop-files-not-to-save.
19561         (Bug#3833)
19563         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
19564         (x-disown-selection-internal): New functions.
19566 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
19568         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
19569         warning.
19570         (gdb-breakpoints-header): Move forward to avoid compiler warning.
19571         (gdb-make-header-line-mouse-map): Remove duplicate definition.
19573 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
19575         * simple.el (set-mark): Revert last change.
19577 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
19579         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
19580         rendering of pngs is not possible instead of messaging a long
19581         description.
19583 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
19585         * w32-fns.el (x-selection-owner-p): New function.
19587         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
19588         (mouse-yank-at-click, mouse-yank-primary):
19589         If select-active-regions is non-nil, deactivate the mark before
19590         insertion.
19592         * simple.el (deactivate-mark, set-mark): Only save selection if we
19593         own it.
19595 2009-07-17  Kenichi Handa  <handa@m17n.org>
19597         * case-table.el (describe-buffer-case-table): Fix for the case
19598         that KEY is a cons.
19600 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
19602         * vc-rcs.el (vc-rcs-find-file-hook):
19603         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
19605 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
19607         * net/tramp.el (tramp-wait-for-output): Handle the case when
19608         commands do not return a newline but a null byte before the shell
19609         prompt.  (Bug#3858)
19611 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
19613         * term/ns-win.el (ns-set-alpha): Don't declare.
19614         (ns-set-background-alpha): Remove function.
19616 2009-07-16  Kevin Ryde  <user42@zip.com.au>
19618         * emacs-lisp/copyright.el (copyright-update): Save match-data across
19619         y-or-n-p, for safety.
19621 2009-07-16  Richard Stallman  <rms@gnu.org>
19623         * files.el (auto-save-mode): If buffer-saved-size is -2,
19624         don't clobber it.
19626         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
19627         (rmail-retry-ignored-headers): Add more uninteresting fields.
19629 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
19631         * net/rcirc.el (rcirc): Use history variables.
19632         (rcirc-server-name-history, rcirc-nick-name-history)
19633         (rcirc-server-port-history): New variables.
19635 2009-07-15  Kenichi Handa  <handa@m17n.org>
19637         * international/mule-cmds.el (set-language-environment-charset):
19638         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
19639         ignore them.
19641         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
19642         Delete unibyte-display.
19644 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19646         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
19648 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
19650         * simple.el (deactivate-mark): Optional argument FORCE.
19651         (set-mark): Use deactivate-mark.
19653         * info.el (Info-search): No need to check transient-mark-mode
19654         before calling deactivate-mark.
19656         * select.el (x-set-selection): Doc fix.
19657         (x-valid-simple-selection-p): Allow buffer values.
19658         (xselect--selection-bounds): Handle buffer values.
19659         Suggested by David De La Harpe Golden.
19661         * mouse.el (mouse-set-region, mouse-drag-track):
19662         Call copy-region-as-kill before setting the mark, to let
19663         select-active-regions work.
19665 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
19667         * simple.el (deactivate-mark): If select-active-regions is
19668         non-nil, copy the selection data into a string.
19669         (activate-mark): If select-active-regions is non-nil, set the
19670         selection to the current buffer.
19671         (set-mark): Update selection if select-active-regions is non-nil.
19673         * select.el (x-valid-simple-selection-p): Allow buffer values.
19675 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19677         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
19678         and more featureful message-mode.
19680 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
19682         * select.el (x-set-selection): Doc fix.
19683         (x-valid-simple-selection-p): Disallow selection data consisting
19684         of a list or cons of integers, since that is not used.
19685         (xselect--selection-bounds, xselect--int-to-cons): New functions.
19686         (xselect-convert-to-string, xselect-convert-to-length)
19687         (xselect-convert-to-filename, xselect-convert-to-charpos)
19688         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
19690 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
19692         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
19693         output in -break-info command (Emacs bug #3794).
19695 2009-07-14  Glenn Morris  <rgm@gnu.org>
19697         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
19698         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
19699         (edebug-print-length, edebug-print-level, edebug-print-circle)
19700         (edebug-sit-for-seconds, edebug-view-outside)
19701         (edebug-bounce-point, edebug-set-global-break-condition)
19702         (edebug-Go-nonstop-mode, edebug-trace-mode)
19703         (edebug-Trace-fast-mode, edebug-continue-mode)
19704         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
19705         (edebug-visit-eval-list): Doc fixes.
19707         * subr.el (def-edebug-spec): Doc fix.
19709 2009-07-14  Kenichi Handa  <handa@m17n.org>
19711         * international/characters.el: Fix setting of category ?C.
19713 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
19715         * term/ns-win.el (x-select-font): defalias x-select-font to
19716         ns-popup-font-panel instead of generate-fontset-menu.
19718 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
19720         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
19722 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
19724         * arc-mode.el (archive-find-type): Allow for a PK00 string before
19725         the PK\003\004 header (Bug#3770).
19727 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
19729         * pcomplete.el (pcomplete-comint-setup): Check for
19730         shell-dynamic-complete-filename too.
19732 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
19734         * simple.el (temporary-goal-column): Change the value for
19735         line-move-visual to a cons cell.
19736         (line-move-visual): Record or set the window hscroll, if
19737         necessary (Bug#3494).
19738         (line-move-1): Handle cons value of temporary-goal-column.
19740 2009-07-11  Kenichi Handa  <handa@m17n.org>
19742         * international/mule-diag.el (describe-character-set): Don't show
19743         width.
19745 2009-07-10  Sam Steingold  <sds@gnu.org>
19747         * progmodes/compile.el (compilation-mode-font-lock-keywords):
19748         Omake sometimes indents the errors it prints, so allow all
19749         regexps to start with spaces.
19751 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
19753         * cus-edit.el (customize-changed-options-previous-release):
19754         Bump value to 22.1.  (Bug#3804)
19756 2009-07-08  Sam Steingold  <sds@gnu.org>
19758         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
19759         to be a cons cell (test . ignored-directory) to selectively ignore
19760         some directories depending on the location of the search.
19762 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
19764         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
19765         remote user is root, on the local host.
19766         (tramp-local-host-p): Either the local user or the remote user
19767         must be root.  (Bug#3771)
19769 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19771         * progmodes/gdb-mi.el (gdb): Remove description of
19772         gdb-use-separate-io-buffer.
19773         (menu): Don't allow toggling of or enable
19774         gdb-use-separate-io-buffer from menubar.
19776 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19778         * mail/unrmail.el (unrmail): Make sure the message ends with two
19779         newlines (Bug#3769).
19781 2009-07-08  Glenn Morris  <rgm@gnu.org>
19783         * calendar/calendar.el (calendar-current-date): Rework previous change.
19785 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
19787         * calendar/calendar.el (calendar-current-date):
19788         Add an optional argument giving an offset from today.
19790 2009-07-08  Glenn Morris  <rgm@gnu.org>
19792         * tutorial.el (tutorial--describe-nonstandard-key):
19793         Adjust the message for when a key has been unbound.
19794         (help-with-tutorial): Hide the arch-tag.
19796 2009-07-08  Kenichi Handa  <handa@m17n.org>
19798         * international/fontset.el (setup-default-fontset): For each
19799         script, append (not set) font-specs.
19801         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
19802         docstring.
19804 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
19806         * progmodes/gdb-mi.el (gdb-init-1): Move sending
19807         -data-list-register-names to ...
19808         (gdb-starting): ... here because GDB 7.0 requires execution to
19809         have started when using this MI command.
19810         (gdb-set-header): New function to distinguish select and
19811         unselected tabs in gdb buffers.
19812         (gdb-propertize-header): New macro that uses gdb-set-header.
19813         (gdb-breakpoints-header, gdb-locals-header): Use it.
19814         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19816 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
19818         * Makefile.in (ELCFILES): Remove fadr.elc.
19820 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
19822         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19823         may contain frame information, so `string-match' should be used.
19824         (gdb-update): Disassembly is invalidated through
19825         `gdb-get-selected-frame'.
19826         (gdb-pad-string): New function to pad string with spaces.
19827         (gdb-invalidate-disassembly): Invalidate only if the buffer
19828         exists.
19829         (gdb-disassembly-handler-custom): Column alignment.
19830         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19831         placing new ones.
19832         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19833         end of line, too.
19834         (gdb-frame-handler): Match convention to for disassembly buffer
19835         mode name.
19836         (gdb-stack-list-frames-handler): Rewritten without regexps.
19837         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19838         not highlight breakpoints without line information.
19839         (gdb-input): Add trailing newline to command.
19841         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19842         buffer properly.
19843         (gdb-breakpoints-list-handler-custom): Replacement for
19844         `gdb-break-list-handler'.  Using real parser instead of regexps
19845         now.
19846         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19847         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19848         to place breakpoints.
19849         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19850         functions.
19851         (gdb-disassembly-handler-custom): Show overlay arrow.
19852         (gdb-disassembly-place-breakpoints): Show breakpoints in
19853         disassembly buffer.
19854         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19855         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19856         instead of parsing breakpoints buffer.  Fixed old menu references
19857         in `gud-menu-map'.
19859         * fadr.el: Remove.
19861         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19862         (gdb-memory-address): New variable which holds top address of
19863         memory page shown in memory buffer.
19864         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
19865         New customization variables.
19866         New functions:
19867         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19868         display the memory buffer.
19869         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19870         buffer display parameters.
19871         (def-gdb-memory-format, gdb-memory-format-binary)
19872         (gdb-memory-format-octal, gdb-memory-format-unsigned)
19873         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19874         Functions for setting memory buffer format.
19875         (gdb-memory-unit-word, gdb-memory-unit-halfword)
19876         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19877         unit size used in memory buffer.
19878         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
19879         Switch to next/previous page of memory buffer.
19880         Now using (bindat-get-field) instead of fadr functions.
19882 2009-07-07  Sam Steingold  <sds@gnu.org>
19884         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19885         non-top-level files.
19887 2009-07-07  Kenichi Handa  <handa@m17n.org>
19889         * international/mule-cmds.el (reset-language-environment):
19890         Put the highset priority to the charset iso-8859-1.
19892 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19894         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19895         to the end of the line when locating the block (Bug#700).
19897 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
19899         * net/tramp.el (tramp-handle-write-region): Flush file properties
19900         in case of short track.
19902 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
19904         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19905         Coded custom representation of verilog error regular expressions
19906         to work with Emacs-22's new format.
19907         (verilog-error-regexp-xemacs-alist): Coded custom representation
19908         of verilog error regular expressions to work with XEmacs format.
19909         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19910         error recognition into XEmacs.
19911         (verilog-error-regexp-add-emacs): Hook routine to install verilog
19912         error recognition into Emacs-22.
19914 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19916         * woman.el: Remove stand-alone closing parentheses.
19917         (woman-file-name, woman2-format-paragraphs)
19918         (woman-leave-blank-lines): Code cleanup.
19919         (woman-use-own-frame): Change default to nil.
19920         (woman-italic, woman-bold, woman-unknown, woman-addition):
19921         Change defaults to inherit from default faces.
19922         (woman2-process-escapes): Consume the newline after a stand-alone
19923         filler character (Bug#3651).
19925 2009-07-06  Glenn Morris  <rgm@gnu.org>
19927         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19928         (top-level): Move provide to the end.
19929         (ffap): Remove defunct URL from custom group.
19931         * subr.el (eval-after-load): Doc fix.
19933 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
19935         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19936         `calc-embedded-word' is called twice.
19938 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19940         * files.el (find-alternate-file-other-window, find-alternate-file):
19941         Obey confirm-nonexistent-file-or-buffer.
19943 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
19945         * dired-aux.el (dired-show-file-type): Handle remote files.
19947 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19949         * desktop.el (desktop-globals-to-save):
19950         Add file-name-history (Bug#2750).
19952 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19954         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19956 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19958         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19959         property on entire argument since this is what eshell-lisp-command
19960         expects.
19962 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19964         * net/tramp-gvfs.el (tramp-gvfs-methods)
19965         (tramp-gvfs-zeroconf-domain)
19966         (tramp-bluez-discover-devices-timeout): Add version flag.
19967         (tramp-gvfs-handler-mounted-unmounted)
19968         (tramp-gvfs-connection-mounted-p): Polish handling of
19969         incompatibilities between GVFS 0.2 and 1.0.
19971 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19973         * cus-start.el (all): Add make-pointer-invisible.
19975 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19977         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19978         formatted correctly.
19980 2009-07-02  Juri Linkov  <juri@jurta.org>
19982         * info.el: Virtual Info files and nodes.
19983         (Info-virtual-files, Info-virtual-nodes): New variables.
19984         (Info-current-node-virtual): New variable.
19985         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19986         New functions.
19987         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19988         to check for a virtual file instead of checking a fixed list
19989         of node names.
19990         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19991         instead of ad-hoc processing of "dir" and (apropos history toc).
19992         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19993         instead of ad-hoc processing of "dir" and (apropos history toc).
19994         Reread a file when moving from a virtual node.
19995         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19996         (Info-directory-toc-nodes, Info-directory-find-file)
19997         (Info-directory-find-node): New functions.
19998         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19999         (Info-history): Move part of code to
20000         `Info-history-find-node'.
20001         (Info-history-toc-nodes, Info-history-find-file)
20002         (Info-history-find-node): New functions.
20003         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
20004         (Info-toc): Move part of code to `Info-toc-find-node'.
20005         (Info-toc-find-node): New function.
20006         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
20007         the current Info file name to references because now the node
20008         "*TOC*" belongs to the same Info manual.
20009         (Info-toc-build): Rename from `Info-build-toc'.
20010         (Info-toc-nodes): Rename input argument `file' to `filename'.
20011         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
20012         instead of ad-hoc processing of ("dir" apropos history toc).
20013         (Info-index-nodes): Use Info-virtual-file-p
20014         to check for a virtual file instead of checking a fixed list
20015         of node names.
20016         (Info-index-node): Add check for `Info-current-node-virtual'.
20017         Raise `save-match-data' higher up the tree to contain
20018         `search-forward' too (bug fix).
20019         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
20020         (Info-virtual-index-nodes): New variable.
20021         (Info-virtual-index-find-node, Info-virtual-index): New functions.
20022         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
20023         (Info-apropos-file, Info-apropos-nodes): New variables.
20024         (Info-apropos-toc-nodes, Info-apropos-find-file)
20025         (Info-apropos-find-node, Info-apropos-matches): New functions.
20026         (info-apropos): Move part of code to `Info-apropos-find-node' and
20027         `Info-apropos-matches'.
20028         (Info-mode-map): Bind "I" to `Info-virtual-index'.
20029         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
20030         for a virtual file instead of checking a fixed list of node names.
20032         * simple.el (async-shell-command): New command.
20034         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
20036         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
20037         instead of `mount-info'.
20039 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
20041         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
20042         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
20044 2009-07-02  Kenichi Handa  <handa@m17n.org>
20046         * international/mule.el (set-keyboard-coding-system): Force *-unix
20047         coding-system to avoid eol conversion.
20049 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
20051         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20052         Add handler for `process-file', `shell-command' and
20053         `start-file-process'.
20054         (tramp-gvfs-handle-shell-command)
20055         (tramp-gvfs-handle-start-file-process)
20056         (tramp-gvfs-handle-process-file): New defuns.
20057         (tramp-synce-list-devices): Simplify check for existence of property.
20059 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
20061         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
20063 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
20065         * language/korean.el (set-language-info-alist): Add korean-cp949,
20066         cp949 to spec.
20068 2009-07-01  Kenichi Handa  <handa@m17n.org>
20070         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
20072         * international/encoded-kb.el: Deleted.
20074         * international/mule.el (set-keyboard-coding-system): Perform the
20075         necessary setup here instead of calling encoded-kbd-setup-display.
20077 2009-07-01  Glenn Morris  <rgm@gnu.org>
20079         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
20081 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
20083         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
20085 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
20087         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
20088         Handle also the 'rename case, when setting file modes.  (Bug#3712)
20089         (tramp-default-file-modes): Remove execute permissions.
20091         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
20092         (top): Add a default for "synce" in `tramp-default-user-alist'.
20093         Add completion function for "synce" method.
20094         (tramp-hal-service, tramp-hal-path-manager)
20095         (tramp-hal-interface-manager, tramp-hal-interface-device):
20096         New defconst.
20097         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
20098         (tramp-synce-list-devices, tramp-synce-parse-device-names):
20099         New defuns.
20101         * net/trampver.el: Update release number.
20103 2009-06-30  Kenichi Handa  <handa@m17n.org>
20105         * international/fontset.el (setup-default-fontset): Add CJK fonts
20106         for symbols and the other miscellaneous characters.
20108         * language/korea-util.el (setup-korean-environment-internal):
20109         Make char-width-table suitable for Korean environments.
20110         (exit-korean-environment): Cancel above.
20112         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
20113         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
20114         setup-function to make char-width-table suitable for respective
20115         environments, and an exit-function to cancel that.
20117         * language/japan-util.el (setup-japanese-environment-internal):
20118         Call use-cjk-char-width-table with arg `ja_JP'.
20120         * international/characters.el (cjk-char-width-table): Delete it.
20121         (cjk-char-width-table-list): New variable.
20122         (use-cjk-char-width-table): New arg local-name.
20123         (use-default-char-width-table): Fix for the case that Emacs is
20124         already using the default char-width-table.
20126 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
20128         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
20129         modes mandatory.  (Bug#3712)
20131 2009-06-29  Alan Mackenzie  <acm@muc.de>
20133         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
20134         correction between the visible width of TABs and their number of bytes.
20136 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
20138         * server.el (server-buffer-done): Prevent kill-buffer from
20139         prompting by clearing the buffer modification flag (Bug#3696).
20141 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
20143         * progmodes/verilog-mode.el (verilog-beg-of-statement)
20144         (verilog-endcomment-reason-re): Support unique case and priority case.
20145         (verilog-basic-complete-re): Support localparam lineup.
20146         (verilog-beg-of-statement-1): Fix for robustness, unique case.
20147         (verilog-set-auto-endcomments): Fix for unique case, always_comb
20148         commenting.
20149         (verilog-leap-to-case-head): Now support *nested* unique &
20150         priority case statements.
20151         (verilog-auto-lineup): Make just declarations the default (as it
20152         had been).
20153         (verilog-leap-to-case-head): Support priority/unique case statements.
20154         (verilog-auto-lineup): Rework to give users radio buttons to
20155         select the various styles of automatic lineup.
20156         (verilog-error-regexp-alist): Rework to support the XEmacs style
20157         of error regular expressions from compilers, lint tools &
20158         simulators.  Note that GNU Emacs has made it impossible for a mode
20159         to load such things.
20160         (electric-verilog-terminate-line, verilog-indent-declaration)
20161         (verilog-auto-wiure): Rework for radio button selection of
20162         auto-lineup selection of specification of auto lineup.
20163         (verilog-beg-of-statement-1): Redesign to support proper operation
20164         in additional code, based on testing with auto-lineup.
20165         (verilog-calculate-indent, assignments & declarations)
20166         (verilog-backward-token): Enhance to support auto-lineup of
20167         assignments & declarations.
20168         (verilog-in-directive-p, verilog-at-struct-p): New function for
20169         easy test of whether we are.
20170         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
20171         to support safe execution at almost anyline.
20172         (verilog-calc-1): Properly support indenting deep inside generate
20173         blocks.
20174         (verilog-init-font): Remove definition & use of verilog-init-font,
20175         as it is redundant with font-lock-defaults.
20176         (verilog-mode): Alter the definition of verilog-font-lock-defaults
20177         to avoid circular calls if syntax-ppss is a function (as is the
20178         case now in 22.x GNU Emacs) as that function would sometimes call
20179         itself, leading to (nearly) infinite recursion.
20180         (verilog-ovm-begin-re, verilog-ovm-end-re)
20181         (verilog-ovm-statement-re, verilog-leap-to-head)
20182         (verilog-backward-token): Add support for OVM macros.  Some are
20183         complete statements, and others open and close scopes like begin
20184         and end.
20185         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
20186         (verilog-defun-level-generate-only-re): Really fix the defun-list
20187         compilation issue.
20188         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
20189         coverpoint, constraint and cross statements.
20190         (verilog-defun-level-list, verilog-generate-defun-level-list)
20191         (verilog-all-defun-level-list): Redo these specifications - it is
20192         too hard to support eval-when compile aggregation of lists also
20193         built at when-compile time.
20194         (verilog-defun-level-list): Place defconsts of variables used in
20195         building regular expressions which are built in eval-when-compile
20196         bodies in the same eval-when-compile body to facilitate compile
20197         without load.
20198         (verilog-beg-block-re-ordered): Support indenting
20199         virtual/protected tasks and functions.
20200         (verilog-defun-level-list, verilog-in-generate-region-p)
20201         (verilog-backward-ws&directives, verilog-calc-1): Speed up
20202         indentation of some module items (generate items).
20203         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
20204         across virtual/protected tasks and functions.
20206 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
20208         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
20209         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
20210         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
20211         in concatenations.  Reported by Yishay Belkind.
20212         (verilog-auto-ascii-enum): Support one-hot state machines in
20213         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
20214         (verilog-auto-inst, verilog-auto-inst-port): Include interface
20215         modport in AUTOINST and add vl-modport for users.
20216         Reported by David Rogoff.
20217         (verilog-auto-inout-module, verilog-auto-inst)
20218         (verilog-decls-get-interfaces, verilog-insert-definition)
20219         (verilog-insert-one-definition, verilog-read-decls)
20220         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
20221         (verilog-sig-modport, verilog-signals-combine-bus)
20222         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
20223         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
20224         Suggested by David Rogoff.
20225         (verilog-repair-open-comma): Fix non-insertion of comma when
20226         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
20227         (verilog-make-width-expression): Simplify [A-1:0] expression
20228         widths to just {A{1'b0}}.
20229         (verilog-mode): Cleanup checkdoc warnings.
20230         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
20231         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
20232         inputs/outputs or data type.  Suggested by Vasu Kandadi.
20233         (next-error-last-buffer): Fix byte-compiler warning.
20234         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
20235         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
20236         or shell command text during AUTO expansion.  Suggested by Tad Truex.
20237         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
20238         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
20239         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
20240         in AUTOINOUT.  Reported by Matthew Lovell.
20241         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
20242         causing use of <= assignments.  Reported by Alex Reed.
20243         (verilog-read-decls): Fix triand, trior, wand, wor to be
20244         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
20245         (verilog-extended-complete-re): Support import "DPI-C" functions.
20246         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
20247         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
20248         (verilog-insert-date, verilog-insert-year)
20249         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
20250         Windows systems.  Reported by Michael Potts.
20251         (verilog-read-module-name): Fix AUTOINST when the child module
20252         declaration's name is a tick define.  Reported by Elliot Mednick.
20253         (verilog-read-decls): Fix V2K parameter bit subscripts getting
20254         passed to next parameter's definition.  Reported by Bruce T.
20255         (verilog-read-decls): Fix detecting "parameter int" when using
20256         AUTOINSTPARAM.  Reported by Bruce T.
20257         (verilog-goto-defun): Fix goto not finding modules unless first
20258         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
20259         (verilog-mode): Expand -f flag arguments on entry to mode so
20260         verilog-goto-defun will work.  Reported by Lawrence Butcher.
20261         (verilog-getopt): Expand environment variables in -f file
20262         arguments.  Suggested by Lawrence Butcher.
20263         (verilog-set-define): Fix "Symbol's value as variable is void"
20264         when reading enumerations.
20265         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
20266         Suggested by Stephen Peltan.
20267         (verilog-read-defines): Fix reading of enumerations in include
20268         files.  Reported by Steve Peltan.
20270 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20272         * files.el (trash-directory): Fix defcustom type.
20274 2009-06-28  Juri Linkov  <juri@jurta.org>
20276         * help-fns.el (describe-function-1): Correctly locate adviced
20277         functions in hyperlink (Bug#2438).
20279 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
20281         * files.el (trash-directory): Change default to nil.
20282         (move-file-to-trash): If trash-directory is nil and
20283         system-move-file-to-trash is unbound, perform freedesktop-style
20284         trashing.
20286 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
20288         * files.el (move-file-to-trash): Add freedesktop trash
20289         support (Bug#973).
20291 2009-06-28  Glenn Morris  <rgm@gnu.org>
20293         * autorevert.el (global-auto-revert-non-file-buffers)
20294         (global-auto-revert-mode): Doc fixes.
20296 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
20298         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
20300 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
20302         * faces.el (x-handle-named-frame-geometry): Ensure that we have
20303         opened an X connection before calling x-get-resource (Bug#3194).
20305         * play/doctor.el: Remove reference to obsolete website.
20306         (make-doctor-variables): Correct grammar mistake (Bug#2633).
20308 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
20310         Remove find-file-not-found-hook VC method.  (Bug#2757)
20311         * vc-hooks.el (vc-file-not-found-hook)
20312         (vc-default-find-file-not-found-hook): Remove functions.
20313         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
20314         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
20315         * vc.el:
20316         * vc-hg.el:
20317         * vc-git.el: Do not mention find-file-not-found-hook VC method.
20319 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
20321         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
20322         compatibility function for `looking-back'.
20324         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
20325         Use `ispell-looking-back'.
20327 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
20329         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
20330         rather than `filename'.
20332 2009-06-23  Miles Bader  <miles@gnu.org>
20334         * face-remap.el (text-scale-set): New function.
20336 2009-06-23  Glenn Morris  <rgm@gnu.org>
20338         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
20340         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
20342         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
20344         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
20346         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
20347         Simplify Persian conditionals.
20349         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
20350         variable `filename'.
20352         * comint.el (comint-insert-input): Doc fix.
20354         * Makefile.in (ELCFILES): Fix typo in previous change.
20356 2009-06-23  Miles Bader  <miles@gnu.org>
20358         * cus-start.el: Add entry for `recenter-redisplay'.
20360 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20362         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
20363         Add an optional argument for the backend, use it instead of
20364         calling vc-backend.
20365         (vc-mode-line): Add an optional argument for the backend.
20366         Pass the backend to vc-state and vc-working-revision.  Move code for
20367         special handling for vc-state being a buffer to ...
20369         * vc-rcs.el (vc-rcs-find-file-hook):
20370         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
20372         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
20373         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
20374         vc-stay-local-p and vc-mode-line calls.
20376         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
20377         (vc-cvs-diff, vc-cvs-annotate-command)
20378         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
20379         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
20380         vc-mode-line calls.
20382         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
20383         direct comparison.
20384         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
20385         backend when calling vc-mode-line.
20386         (vc-register): Do not create a closure for calling the vc register
20387         function, call it directly.
20389 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
20391         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
20392         to make it obvious item can be clicked.
20394         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
20396 2009-06-23  Kenichi Handa  <handa@m17n.org>
20398         * language/korea-util.el (korean-key-bindings): Change the binding
20399         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
20400         same command.
20402 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
20404         Sync with Tramp 2.1.16.
20406         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
20408         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
20409         when a loading of a package fails.  Completion function for rsync
20410         is `tramp-completion-function-alist-ssh'.
20411         (all): Replace all calls of `split-string' and
20412         `tramp-split-string' by `tramp-compat-split-string'.
20413         (tramp-default-method): Use `tramp-compat-process-running-p'.
20414         (tramp-default-proxies-alist): Allow also Lisp forms.
20415         (tramp-remote-path): Add choice "Private Directories".
20416         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
20417         (tramp-domain-regexp): Allow also "-", "_" and ".".
20418         (tramp-end-of-output): Remove newlines, and add "$" at the end.
20419         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
20420         (tramp-debug-message): Insert header line in debug buffer.
20421         (tramp-handle-directory-files-and-attributes-with-stat):
20422         Care about filenames with spaces, or starting with "-".
20423         (tramp-handle-dired-uncache): New defun.
20424         (tramp-handle-insert-directory): Don't flush the directory from
20425         cache, this is handled by `dired-uncache' now.
20426         (tramp-handle-insert-file-contents): Improve error handling.
20427         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20428         Quote `tramp-end-of-output'.
20429         (tramp-action-password): Improve trace message.
20430         (tramp-check-for-regexp): Both echoes must be present, before removing.
20431         (tramp-open-connection-setup-interactive-shell): Trace coding system.
20432         (tramp-compute-multi-hops): Eval cons cells of
20433         `tramp-default-proxies-alist'.
20434         (tramp-maybe-open-connection): Use the same command pattern for
20435         first hop and further hops.
20436         (tramp-wait-for-output): Remove handling of newlines.
20437         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
20438         (tramp-split-string): Remove function.  It is handled in
20439         tramp-compat now.
20441         * net/tramp-cmds.el (tramp-bug):
20442         Recommend `tramp-cleanup-all-connections' in the bug mail.
20444         * net/tramp-compat.el (tramp-compat-split-string)
20445         (tramp-compat-process-running-p): New defuns.
20447         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
20448         for `dired-uncache'.
20450         * net/tramp-gvfs.el: New package.
20452         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20453         Add handler for `dired-uncache'.
20454         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
20456         * net/trampver.el: Update release number.  Make version check fit
20457         for SXEmacs 22.
20459 2009-06-22  Jim Meyering  <meyering@redhat.com>
20461         Automatically handle .xz suffix (XZ-compressed files), too.
20462         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
20463         XZ is the successor to LZMA: <http://tukaani.org/xz/>
20465 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
20466             Nick Roberts  <nickrob@snap.net.nz>
20468         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
20469         repository (http://sphinx.net.ru/hg/gdb-mi/).
20471 2009-06-22  Glenn Morris  <rgm@gnu.org>
20473         * files.el (dir-locals-collect-mode-variables): Allow for any number of
20474         `mode' and `eval' entries.  (Bug#3430)
20476         * Makefile.in (ELCFILES): Add fadr.elc.
20478         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
20479         differing behavior of \n and ^ in strings.  (Bug#3385)
20481         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
20483         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
20484         property.
20485         (lisp-indent-function): Make it a defcustom.
20487 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
20489         * progmodes/gdb-ui.el: Replace with ...
20490         * progmodes/gdb-mi.el: ... this file.
20491         * progmodes/gud.el: Modify for gdb-mi.el.
20493 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
20495         * fadr.el: New file.
20497 See ChangeLog.14 for earlier changes.
20499 ;; Local Variables:
20500 ;; coding: utf-8
20501 ;; End:
20503   Copyright (C) 2009, 2010, 2011  Free Software Foundation, Inc.
20505   This file is part of GNU Emacs.
20507   GNU Emacs is free software: you can redistribute it and/or modify
20508   it under the terms of the GNU General Public License as published by
20509   the Free Software Foundation, either version 3 of the License, or
20510   (at your option) any later version.
20512   GNU Emacs is distributed in the hope that it will be useful,
20513   but WITHOUT ANY WARRANTY; without even the implied warranty of
20514   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20515   GNU General Public License for more details.
20517   You should have received a copy of the GNU General Public License
20518   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.