* subr.el (booleanp): Return t instead of a list (Bug#7086).
[emacs.git] / lisp / ChangeLog
blobd2a75cdc227308264858d3b5163f78ec10a47a52
1 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
3         * subr.el (booleanp): Return t instead of a list (Bug#7086).
5 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
7         * server.el (server-process-filter, server-return-error): Give
8         emacsclient time to shut down after receiving an error string.
10 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
12         * files.el (remote-file-name-inhibit-cache): New defcustom.
14         * time.el (display-time-file-nonempty-p): Use
15         `remote-file-name-inhibit-cache'.
17         * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
18         docstring.
20         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
21         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
22         `remote-file-name-inhibit-cache'.  Check also for an integer
23         value.  Add/increase counter when `tramp-verbose' >= 10.
24         (tramp-set-file-property): Add/increase counter when
25         `tramp-verbose' >= 10.
27         * net/tramp-cmds.el (tramp-cleanup-all-connections)
28         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
29         (tramp-bug): Set tramp-autoload cookie.  Report all interned
30         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
31         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
32         characters only in strings.
34         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
35         to backward compatibility.
37         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
38         (tramp-handle-file-name-all-completions)
39         (tramp-handle-vc-registered): Use
40         `remote-file-name-inhibit-cache'.
41         (tramp-open-connection-setup-interactive-shell): Call
42         `tramp-cleanup-connection' directly.
44 2010-10-02  Glenn Morris  <rgm@gnu.org>
46         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
48         * subr.el (char-bytes): Remove obsolete function.
50         * isearch.el (isearch-return-char): Remove obsolete function.
52         * mouse.el: No longer provide mldrag.
53         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
54         Remove obsolete aliases.
56         * comint.el (comint-kill-output): Remove obsolete alias.
58         * composite.el (decompose-composite-char): Remove obsolete function.
59         * ps-def.el (decompose-composite-char): Remove unused function.
61         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
63         * outline.el (outline-visible): Remove obsolete function.
65         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
66         * faces.el (internal-find-face, internal-get-face)
67         (frame-update-faces, frame-update-face-colors)
68         (x-frob-font-weight, x-frob-font-slant)
69         (internal-frob-font-weight, internal-frob-font-slant)
70         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
71         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
72         (x-make-font-bold-italic): Remove functions and aliases, obsolete
73         since Emacs 21.1.
74         * emulation/viper-util.el (viper-get-face):
75         * obsolete/lucid.el (find-face, get-face): Use facep.
76         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
77         Remove unused functions.
78         * vc/ediff-util.el (ediff-submit-report): Doc fix.
80         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
81         delete tempfile if interrupted during compilation.
83 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
85         * net/tls.el (tls-starttls-switches): Give up on using starttls with
86         gnutls-cli.
87         (tls-program): Add --insecure to be consistent with the defaults from
88         openssl s_client.  Now all three commands are insecure.
90 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
92         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
93         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
94         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
96 2010-10-01  Glenn Morris  <rgm@gnu.org>
98         * obsolete/sc.el: Remove file.
100         * files.el (temporary-file-directory): On darwin, also try
101         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
103 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
105         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
106         Let's not break compatibility gratuitously, shall we?
108 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
110         * net/tls.el (tls-starttls-switches): New variable.
111         (tls-find-starttls-argument): Use it.
112         (open-tls-stream): Ditto.
114         * net/netrc.el (netrc-credentials): Return the value of the "default"
115         entry.
116         (netrc-machine): Ditto.
118 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
120         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
122 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
124         * server.el (server-start): Don't write pid to the authentication file.
125         (server-create-tty-frame): Don't send pid.
126         (server-process-filter): Send pid at the start of every connection.
128 2010-09-30  Glenn Morris  <rgm@gnu.org>
130         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
131         (show-all-diary-entries): Remove obsolete function aliases.
133         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
134         Remove options, obsolete since 22.1.
135         (appt-display-format, appt-display-message): Remove
136         backwards-compatibility code.
137         (appt-check): No longer check appt-issue-message.
138         (appt-make-list): No longer autoload it.  Doc fix.  No longer
139         activate the package.
141 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
143         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
144         (starttls-negotiate): Just call boot, and let the handshake be
145         triggered from the read loop.
147 2010-09-29  Glenn Morris  <rgm@gnu.org>
149         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
150         not displaying the diary.
151         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
152         * calendar/appt.el (appt-check): No longer need to kill diary.
154         * calendar/diary-lib.el (diary-list-entries): Move the
155         "Preparing..." message entirely here.
156         (diary-simple-display, diary-fancy-display): Move "Preparing..."
157         messages to diary-list-entries.
158         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
159         diary-display-function.
161         * calendar/diary-lib.el (diary-include-other-diary-files):
162         Trap some recursive includes.
164         * calendar/appt.el (appt-activate): Check diary file.
166 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
168         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
169         construction.
171         * calendar/time-date.el: No need to require cl for Emacs 21.
173 2010-09-28  Glenn Morris  <rgm@gnu.org>
175         * calendar/appt.el (appt-check): Minor simplification.
177 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
179         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
180         citation prefix.
182 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
184         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
185         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
187 2010-09-27  Kenichi Handa  <handa@m17n.org>
189         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
190         "ustar" format.
192 2010-09-27  Kenichi Handa  <handa@m17n.org>
194         * international/mule.el (define-coding-system): Docstring fixed.
196         * international/mule-diag.el (describe-character-set): Use princ
197         with proper print-length and print-level instead of insert.
199 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
201         * window.el (walk-windows): Doc fix (bug#7105).
203 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
205         * emacs-lisp/float-sup.el (e): Remove.
207 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
209         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
210         variable.
211         (starttls-negotiate): Use it.
213 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
215         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
216         back.
218 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
220         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
222 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
224         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
226         * net/netrc.el (netrc-store-data): New function.
228 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
230         * net/gnutls.el: GnuTLS glue code to set up a connection.
232 2010-09-25  Julien Danjou  <julien@danjou.info>
234         * notifications.el: Call dbus-register-signal only if it is bound.
236 2010-09-25  Glenn Morris  <rgm@gnu.org>
238         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
239         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
240         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
241         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
242         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
243         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
244         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
245         * eshell/esh-util.el, eshell/esh-var.el:
246         Remove leading `*' from docs of faces and defcustoms.
248 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
250         * eshell/em-ls.el (eshell-ls-archive-regexp):
251         * eshell/esh-util.el (eshell-tar-regexp):
252         * ibuffer.el (ibuffer-compressed-file-name-regexp):
253         * info.el (Info-suffix-list):
254         * international/mule.el (auto-coding-alist):
255         * woman.el (woman-file-regexp, woman-file-compression-regexp):
256         * progmodes/etags.el (tags-compression-info-list):
257         Support xz compression.
259 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
261         * files.el (get-free-disk-space): Don't assume the "df" output
262         columns line up (Bug#6995).
264 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
266         * finder.el (finder-unknown-keywords):
267         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
268         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
270 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
272         * server.el (server-start): Revert part of 2010-08-08 change.  Using
273         address 127.0.0.1 for local host is now done in Fmake_network_process.
275 2010-09-24  Glenn Morris  <rgm@gnu.org>
277         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
278         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
279         * textmodes/css-mode.el, textmodes/dns-mode.el:
280         Move autoloaded auto-mode-alist entries to files.el.
281         * files.el (auto-mode-alist): Move entries here.
283 2010-09-23  Glenn Morris  <rgm@gnu.org>
285         * isearch.el (isearch-lazy-highlight-cleanup)
286         (isearch-lazy-highlight-initial-delay)
287         (isearch-lazy-highlight-interval)
288         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
289         * net/net-utils.el (ipconfig-program-options):
290         Move aliases to options before the associated definitions.
292 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
294         * newcomment.el (comment-normalize-vars): Better test validity of
295         comment-end-skip.
297 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
299         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
300         (float-e): New name for `e'.
301         (degrees-to-radians, radians-to-degrees):
302         * calendar/solar.el (solar-longitude):
303         * calculator.el (calculator-registers, calculator-funcall):
304         * textmodes/artist.el (artist-spray-random-points):
305         * play/bubbles.el (bubbles--initialize-images): Use new names.
307 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
309         Update to CEDET 1.0's version of EIEIO.
311         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
312         New function.
313         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
314         (eieio-default-eval-maybe): Eval val instead of unquoting only.
315         (class-precedence-list): If class is nil, return nil.
316         (eieio-generic-call): If class of first input arg is nil, don't
317         look up static methods, and do check for primary methods.
318         (initialize-instance): See if the default needs to be evaluated
319         during the constructor.
320         (eieio-perform-slot-validation-for-default): Don't do the check
321         for values that will eventually be evaluated.
322         (eieio-eval-default-p): New function.
323         (eieio-default-eval-maybe): Use it.
325 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
327         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
328         method-invocation-order.
329         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
330         (eieio-class-precedence-dfs): Compute class precedence list using
331         dfs algorithm.
332         (eieio-class-precedence-bfs): Compute class precedence list using
333         bfs algorithm.
334         (eieio-class-precedence-c3): Compute class precedence list using
335         c3 algorithm.
336         (class-precedence-list): New function.
337         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
338         (inconsistent-class-hierarchy): New error symbol.
339         (call-next-method): Stow the replacement argument list for future
340         call-next-method invocations.
342 2010-09-23  Glenn Morris  <rgm@gnu.org>
344         * calendar/appt.el (appt-check): If not displaying the diary,
345         use (diary 1) to only get the entries we need.
346         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
347         that it is in day order.  (Bug#7019)
349         * calendar/appt.el (appt-check): Rather than showing the diary,
350         just turn off invisible display, and only if needed.
352         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
354 2010-09-23  Glenn Morris  <rgm@gnu.org>
356         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
357         (byte-compile-defvar, byte-compile-cl-warn):
358         Start warnings with lower-case, like the majority.
360         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
362         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
364         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
365         * files.el (auto-mode-alist): Move ld-script entries here, further down
366         the list.
368         * vc/add-log.el: Don't require timezone when compiling.
369         (timezone-make-date-sortable): Autoload it.
370         (change-log-sortable-date-at): Don't require timezone.
371         Use `ignore-errors'.
373         * comint.el (comint-use-prompt-regexp-instead-of-fields):
374         Move alias before definition, so it does not need autoloading.
376         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
377         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
378         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
379         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
380         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
381         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
382         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
383         * textmodes/tex-mode.el, textmodes/two-column.el:
384         Remove leading `*' from docs of defcustoms etc.
386 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
388         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
390 2010-09-22  Dan Christensen  <jdc@uwo.ca>
392         * calendar/time-date.el (date-to-time): Try using parse-time-string
393         first before using the slower timezone-make-date-arpa-standard.
395 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
397         * calendar/time-date.el (format-seconds): Comment fix.
399 2010-09-22  Glenn Morris  <rgm@gnu.org>
401         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
402         is not automatically buffer-local.
404 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
406         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
407         (smie-indent-comment): Be more careful with comment-start-skip.
408         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
409         (smie-indent-functions): Use them.
411 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
413         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
415 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
417         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
418         tool-bar-position.  Don't modify frame parameters here.
419         (menu-bar-options-save): Add tool-bar-position.
421         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
423 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
425         * textmodes/reftex-parse.el (reftex-what-macro)
426         (reftex-context-substring): Let-bind forward-sexp-function to nil
427         since we don't need/want to treat \begin...\end as a block (bug#7053).
429         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
431         * simple.el (blink-matching-open): Use syntax-class.
433         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
434         Set invisibility spec for pascal's outline mode.
435         (pascal-outline-change): Clean up calling convention.
436         (pascal-show-all, pascal-hide-other-defuns): Update callers.
438         * progmodes/prolog.el (prolog-smie-forward-token)
439         (prolog-smie-backward-token): New functions.
440         (prolog-mode-variables): Use them to parse "!," correctly.
441         Set up smie-blink-matching for ".".
443         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
444         and `end'.
445         (ispell-region, ispell-process-line): Update users.
447         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
448         point-min==1.
450         * textmodes/ispell.el: Fix commenting convention.
451         (ispell-parse-output): Simplify, use push.
452         (ispell-region): Use match-string-no-properties.
453         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
454         (ispell-minor-mode): Use define-minor-mode.
455         (ispell-message): Remove unused var `skip-regexp'.
456         (ispell-add-per-file-word-list): Use dynamic let-binding.
457         Try and use the proper comment marker.
459         * mail/sendmail.el: Fix commenting convention.
460         (sendmail-send-it): Use line-beginning-position.
462         * help-fns.el (describe-variable): Add original value, if applicable.
464 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
466         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
468         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
470 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
472         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
473         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
474         (smie-prec2-levels): Use them to better diagnose precedence cycles.
475         (smie-blink-matching-check): Don't signal a mismatch if car is t.
476         (smie-blink-matching-open): Rewrite to remove assumptions, so that
477         something like "." can also be a closer.
478         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
479         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
480         Rename internal functions to use "--".  Update callers.
482         * frame.el (make-frame-names-alist): Don't list frames on other displays.
484         * fringe.el (fringe-styles): New var.
485         (fringe-mode, fringe-query-style): Use it.
487 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
489         * progmodes/sql.el: Version 2.8
490         (sql-login-params): Update widget structure; changes still needed.
491         (sql-product-alist): Add :list-all and :list-table features for
492         SQLite, Postgres and MySQL products.
493         (sql-redirect): Handle default value.
494         (sql-execute, sql-execute-feature): New functions.
495         (sql-read-table-name): New function.
496         (sql-list-all, sql-list-table): New functions.  User API.
497         (sql-mode-map, sql-interactive-mode-map): Add key definitions
498         for above functions.
499         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
500         for above functions.
501         (sql-postgres-login-params): Add user and database defaults.
502         (sql-buffer-live-p): Bug fix.
503         (sql-product-history): New variable.
504         (sql-read-product): New function. Use it.
505         (sql-set-product, sql-product-interactive): Use it.
506         (sql-connection-history): New variable.
507         (sql-read-connection): New function.  Use it.
508         (sql-connect): New function.
509         (sql-for-each-login): Redesign function interface.
510         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
511         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
512         (sql-comint): Check for program.  Existing live buffer.
513         (sql-comint-postgres): Add port parameter.
515 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
517         * emacs-lisp/warnings.el: Fix commenting convention.
518         (display-warning): Use special mode and make the buffer read-only.
520 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
522         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
523         empty string when it follows a repeated or optional pattern.
525 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
527         * indent.el (indent-according-to-mode): Apply syntax-propertize.
528         (indent-region): Use indent-according-to-mode.
530 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
532         * fringe.el (fringe-mode): Doc fix.
534 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
536         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
537         refreshing the preview buffer.
539 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
541         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
542         (latex-syntax-propertize-rules): New consts; replace
543         tex-font-lock-syntactic-keywords.
544         (tex-env-mark, latex-env-before-change): New functions.
545         (latex-electric-env-pair-mode): New minor mode.
546         (tex-font-lock-verb): Change arguments; do move point.
547         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
548         representation as a form of comment.
549         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
550         (doctex-syntax-propertize-rules): New const; replaces
551         doctex-font-lock-syntactic-keywords.
552         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
554         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
555         (fortran-make-syntax-propertize-function): New function; replaces
556         fortran-font-lock-syntactic-keywords.
557         (fortran-mode): Use it.
558         (fortran-line-length): Use it.  Improve interactive spec.
560         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
561         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
562         when adding surrounding \(..\).
564         * progmodes/js.el (js-mode): Fix last change (bug#7054).
566 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
568         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
569         Use with-current-buffer.
571         * isearch.el (isearch-face): Rename from `isearch'.
572         (isearch-highlight): Use new name.
574 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
576         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
577         5, for `half' width fringes.  (Bug#6933)
579 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
581         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
582         (byte-compile-defvar): "foo/bar" does not lack a prefix.
584         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
586 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
588         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
589         in calculating new frame position.  Add more space between new and
590         parent on the left (Bug#7048).
592 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
594         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
595         defmacro.
597 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
599         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
601         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
602         obsolete alias for x-selection-value.
604         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
606 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
608         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
609         cookie.
611 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
613         * net/tramp-compat.el (tramp-compat-with-temp-message)
614         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
615         (tramp-compat-process-put): New defuns.
617         * net/tramp.el (top):
618         * net/tramp-gvfs.el (top):
619         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
621         * net/tramp.el (tramp-progress-reporter-update):
622         Use `tramp-compat-funcall'.
624         * net/tramp.el (tramp-process-actions):
625         * net/tramp-gvfs.el (tramp-handle-vc-registered):
626         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
627         (tramp-get-remote-stat, tramp-get-remote-readlink):
628         Use `tramp-compat-with-temp-message'.
630         * net/tramp-sh.el (top): Require 'cl.
631         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
632         (tramp-open-connection-setup-interactive-shell):
633         Use `tramp-compat-process-put'.
635 2010-09-15  Alan Mackenzie  <acm@muc.de>
637         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
638         indentation.
639         (c-forward-<>-arglist-recur): Fix an infinite recursion.
641 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
643         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
644         `lexical' for warnings related to lexical scoping.
645         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
646         global vars which don't have a prefix and could hence affect lexical
647         scoping in unrelated files.
649 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
651         * net/imap.el: Revert back to version
652         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
653         seem problematic.
655 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
657         * obsolete/old-whitespace.el (whitespace-unload-function):
658         Explicitly pass `obarray' to `unintern' to avoid a warning.
660 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
662         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
663         Add `when' argument.  Update callers.
665         * subr.el (unintern): Declare the obarray arg mandatory.
667 2010-09-14  Glenn Morris  <rgm@gnu.org>
669         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
670         Doc fixes.
672         * calendar/diary-lib.el (diary-included-files): New variable.
673         (diary-list-entries): Maybe initialize diary-included-files.
674         (diary-include-other-diary-files): Append to diary-included-files.
675         * calendar/appt.el (appt-update-list): Also check the members of
676         diary-included-files.  (Bug#6999)
677         (appt-check): Doc fix.
679 2010-09-14  David Reitter  <david.reitter@gmail.com>
681         * simple.el (line-move-visual): Do not truncate goal column to
682         integer size.  (Bug#7020)
684 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
686         * repeat.el (repeat): Allow repeating when the last event is a click.
687         Suggested by Drew Adams (bug#6256).
689 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
691         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
692         Replace setting HGRCPATH to "" by some less invasive --config options.
694 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
696         * font-lock.el (font-lock-beginning-of-syntax-function):
697         Mark as obsolete.
699 2010-09-14  Glenn Morris  <rgm@gnu.org>
701         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
702         and tool-bar modes.  (Bug#6211)
703         (menu-bar-mode): Move setting of standard-value after the
704         minor-mode definition, otherwise it seems to have no effect.
706 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
708         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
709         Fix typo.  (Bug#6976)
711 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
713         * whitespace.el: Allow cleaning up blanks without blank
714         visualization (Bug#6651).  Adjust help window for
715         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
716         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
717         (whitespace-style): Add new value 'face.  Adjust docstring.
718         (whitespace-space, whitespace-hspace, whitespace-tab):
719         Adjust foreground property face.
720         (whitespace-line-column): Adjust docstring and type declaration.
721         (whitespace-style-value-list, whitespace-toggle-option-alist)
722         (whitespace-help-text): Adjust const initialization.
723         (whitespace-toggle-options, global-whitespace-toggle-options):
724         Adjust docstring.
725         (whitespace-display-window, whitespace-interactive-char)
726         (whitespace-style-face-p, whitespace-color-on): Adjust code.
727         (whitespace-help-scroll): New fun.
729 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
731         * calendar/time-date.el (format-seconds): Comment fix.
733 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
735         * progmodes/sql.el: Version 2.7.
736         (sql-buffer-live-p): Improve detection.
737         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
738         (sql-set-sqli-buffer): Use it.
739         (sql-product-interactive): Run `sql-set-sqli-hook'.
740         (sql-rename-buffer): Code cleanup.
741         (sql-redirect, sql-redirect-value): New functions.  More to come.
743 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
745         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.
746         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
747         (TRAMP_SRC): New macro.
748         ($(lisp)/net/tramp-loaddefs.el): New target.
750 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
752         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
754         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
756         * net/tramp.el (top): Don't show loading message.  Require just
757         'tramp-compat, everything else is required there.
758         Use `ignore-errors' where appropriate.
759         (tramp-inline-compress-start-size, tramp-copy-size-limit)
760         (tramp-terminal-type, tramp-end-of-output)
761         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
762         (tramp-completion-function-alist-ssh)
763         (tramp-completion-function-alist-telnet)
764         (tramp-completion-function-alist-su)
765         (tramp-completion-function-alist-putty, tramp-remote-path)
766         (tramp-remote-process-environment, tramp-sh-extra-args)
767         (tramp-actions-before-shell, tramp-uudecode)
768         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
769         (tramp-perl-file-attributes)
770         (tramp-perl-directory-files-and-attributes)
771         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
772         (tramp-perl-encode, tramp-perl-decode)
773         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
774         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
775         (tramp-handle-make-symbolic-link, tramp-handle-load)
776         (tramp-handle-file-name-as-directory)
777         (tramp-handle-file-name-directory)
778         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
779         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
780         (tramp-do-file-attributes-with-ls)
781         (tramp-do-file-attributes-with-perl)
782         (tramp-do-file-attributes-with-stat)
783         (tramp-handle-set-visited-file-modtime)
784         (tramp-handle-verify-visited-file-modtime)
785         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
786         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
787         (tramp-handle-file-selinux-context)
788         (tramp-handle-set-file-selinux-context)
789         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
790         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
791         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
792         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
793         (tramp-handle-file-ownership-preserved-p)
794         (tramp-handle-directory-file-name, tramp-handle-directory-files)
795         (tramp-handle-directory-files-and-attributes)
796         (tramp-do-directory-files-and-attributes-with-perl)
797         (tramp-do-directory-files-and-attributes-with-stat)
798         (tramp-handle-file-name-all-completions)
799         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
800         (tramp-handle-copy-file, tramp-handle-copy-directory)
801         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
802         (tramp-do-copy-or-rename-file-via-buffer)
803         (tramp-do-copy-or-rename-file-directly)
804         (tramp-do-copy-or-rename-file-out-of-band)
805         (tramp-handle-make-directory, tramp-handle-delete-directory)
806         (tramp-handle-delete-file)
807         (tramp-handle-dired-recursive-delete-directory)
808         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
809         (tramp-handle-insert-directory)
810         (tramp-handle-unhandled-file-name-directory)
811         (tramp-handle-expand-file-name)
812         (tramp-handle-substitute-in-file-name)
813         (tramp-handle-executable-find, tramp-process-sentinel)
814         (tramp-handle-start-file-process, tramp-handle-process-file)
815         (tramp-handle-call-process-region, tramp-handle-shell-command)
816         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
817         (tramp-handle-insert-file-contents)
818         (tramp-handle-insert-file-contents-literally)
819         (tramp-handle-find-backup-file-name)
820         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
821         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
822         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
823         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
824         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
825         (tramp-find-file-exists-command, tramp-open-shell)
826         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
827         (tramp-open-connection-setup-interactive-shell)
828         (tramp-local-coding-commands, tramp-remote-coding-commands)
829         (tramp-find-inline-encoding, tramp-call-local-coding-command)
830         (tramp-inline-compress-commands, tramp-find-inline-compress)
831         (tramp-compute-multi-hops, tramp-maybe-open-connection)
832         (tramp-send-command, tramp-wait-for-output)
833         (tramp-send-command-and-check, tramp-barf-unless-okay)
834         (tramp-send-command-and-read, tramp-mode-string-to-int)
835         (tramp-convert-file-attributes, tramp-check-cached-permissions)
836         (tramp-file-mode-from-int, tramp-file-mode-permissions)
837         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
838         (tramp-method-out-of-band-p, tramp-local-host-p)
839         (tramp-get-remote-path, tramp-get-remote-tmpdir)
840         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
841         (tramp-get-test-command, tramp-get-test-nt-command)
842         (tramp-get-file-exists-command, tramp-get-remote-ln)
843         (tramp-get-remote-perl, tramp-get-remote-stat)
844         (tramp-get-remote-readlink, tramp-get-remote-trash)
845         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
846         (tramp-get-local-uid, tramp-get-local-gid)
847         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
848         tramp-sh.el.
849         (tramp-methods, tramp-default-method-alist)
850         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
851         Move initialization to tramp-sh.el.
852         (tramp-temp-name-prefix): Make it a defconst.
853         (tramp-dissect-file-name): Don't check anymore for multi-hop
854         methods.
855         (tramp-debug-outline-regexp): Add a docstring.
856         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
857         (tramp-get-debug-buffer): Use it.
859         * net/tramp-cache.el (top): Set tramp-autoload cookie for
860         initialization forms.
861         (tramp-set-connection-property): Don't protect `tramp-message'
862         call, it isn't necessary any longer.
863         (tramp-dump-connection-properties): Use `ignore-errors'.
865         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
866         'password-cache and 'auth-source.
868         * net/tramp-gvfs.el (top):
869         * net/tramp-smb.el (top): Require 'tramp-sh.
871         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
873         * net/tramp-sh.el: New file, derived from tramp.el.
874         (top): Initialize `tramp-methods', `tramp-default-method-alist',
875         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
876         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
877         Use `ignore-errors' where appropriate.
878         (tramp-sh-file-name-handler-alist): Rename from
879         `tramp-file-name-handler-alist'.
880         (tramp-send-command-and-check): Return t or nil.  Remove all
881         `zerop' checks, where called.
882         (tramp-handle-set-file-modes)
883         (tramp-do-copy-or-rename-file-directly)
884         (tramp-handle-delete-directory, tramp-handle-delete-file)
885         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
886         (tramp-sh-file-name-handler, tramp-send-command-and-check)
887         (tramp-get-remote-ln): Set tramp-autoload cookie.
889         * net/tramp-fish.el: Remove file.
891 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
893         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
894         buffer-file-name to avoid file-locking.  (Bug#7026)
896 2010-09-13  Julien Danjou  <julien@danjou.info>
898         * notifications.el (notifications-notify): Add support for
899         image-path and sound-name.
900         (notifications-specification-version): Add this variable.
902 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
904         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
906 2010-09-12  Leo  <sdl.web@gmail.com>
908         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
909         (rcirc-completion-start): New variables.
910         (rcirc-nick-completions): Rename to rcirc-completions.
911         (rcirc-nick-completion-start-offset): Delete.
912         (rcirc-completion-at-point): New function for constructing
913         completion data for both nicks and irc commands.  Add to
914         completion-at-point-functions in rcirc mode.
915         (rcirc-complete): Rename from rcirc-nick-complete; use
916         rcirc-completion-at-point.
917         (defun-rcirc-command): Update rcirc-client-commands.
919 2010-09-11  Glenn Morris  <rgm@gnu.org>
921         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
922         atomically, to avoid parallel build errors.  (Bug#4196)
924 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
926         * progmodes/sql.el: Version 2.6
927         (sql-dialect): Synonym for "sql-product".
928         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
929         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
930         Set "sql-buffer" to buffer name not buffer object so multiple sql
931         interactive buffers work properly.  Reverts misguided changes in
932         earlier work.
933         (sql-comint): Make sure different buffer name is used if "*SQL*"
934         buffer is for a different product.
935         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
936         login param.
937         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
938         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
939         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
940         Accept new buffer name or prompt for one.
941         (sql-port): Default to zero.
942         (sql-comint-mysql): Handle "sql-port" as a numeric.
943         (sql-port-history): Delete unused variable.
944         (sql-get-login): Default "sql-port" to a number.
945         (sql-product-alist): Correct Postgres prompt and terminator regexp.
946         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
947         "sqlite3" executables.
948         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
949         (sql-buffer-live-p): New function.
950         (sql-mode-menu, sql-send-string): Use it.
951         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
952         syntax pattern.
953         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
954         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
956 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
958         * net/netrc.el (netrc-credentials): New convenience function.
960 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
962         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
963         to replace texinfo-font-lock-syntactic-keywords.
964         (texinfo-mode): Use it.
966         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
967         Use syntax-propertize-function.
969         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
970         replace sgml-font-lock-syntactic-keywords.
971         (sgml-mode): Use it.
973         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
974         since we don't use it.
976         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
978         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
979         if available.
980         (vhdl-fontify-buffer): Adjust.
982         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
983         replace tcl-font-lock-syntactic-keywords.
984         (tcl-mode): Use it.
986         * progmodes/simula.el (simula-syntax-propertize-function): New var to
987         replace simula-font-lock-syntactic-keywords.
988         (simula-mode): Use it.
990         * progmodes/sh-script.el (sh-st-symbol): Remove.
991         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
992         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
993         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
994         (sh-font-lock-paren): Set syntax-multiline.
995         (sh-font-lock-syntactic-keywords): Remove.
996         (sh-syntax-propertize-function): New function to replace it.
997         (sh-mode): Use it.
999         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1000         Define while compiling.
1001         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1002         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1003         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1004         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1005         (ruby-here-doc-end-syntax): Only define when
1006         syntax-propertize is not available.
1007         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1008         New functions.
1009         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1010         (electric-indent-chars): Silence bytecompiler.
1011         (ruby-mode): Use prog-mode, syntax-propertize-function, and
1012         electric-indent-chars.
1014         * progmodes/python.el (python-syntax-propertize-function): New var to
1015         replace python-font-lock-syntactic-keywords.
1016         (python-mode): Use it.
1017         (python-quote-syntax): Simplify and adjust to new use.
1019         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1020         replace perl-font-lock-syntactic-keywords.
1021         (perl-syntax-propertize-special-constructs): New fun to replace
1022         perl-font-lock-special-syntactic-constructs.
1023         (perl-font-lock-syntactic-face-function): New fun.
1024         (perl-mode): Use it.
1026         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1027         to replace octave-font-lock-close-quotes.
1028         (octave-syntax-propertize-function): New function to replace
1029         octave-font-lock-syntactic-keywords.
1030         (octave-mode): Use it.
1032         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1033         replaces mixal-font-lock-syntactic-keywords.
1034         (mixal-mode): Use it.
1036         * progmodes/make-mode.el (makefile-syntax-propertize-function):
1037         New var; replaces makefile-font-lock-syntactic-keywords.
1038         (makefile-mode): Use it.
1039         (makefile-imake-mode): Adjust.
1041         * progmodes/js.el (js--regexp-literal): Define while compiling.
1042         (js-syntax-propertize-function): New var; replaces
1043         js-font-lock-syntactic-keywords.
1044         (js-mode): Use it.
1046         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1047         replaces gdb-script-font-lock-syntactic-keywords.
1048         (gdb-script-mode): Use it.
1050         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1051         (fortran--font-lock-syntactic-keywords): New var.
1052         (fortran-line-length): Update syntax-propertize-function and
1053         fortran--font-lock-syntactic-keywords.
1055         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1057         * progmodes/cfengine.el (cfengine-mode):
1058         Use syntax-propertize-function.
1059         (cfengine-font-lock-syntactic-keywords): Remove.
1061         * progmodes/autoconf.el (autoconf-mode):
1062         Use syntax-propertize-function.
1063         (autoconf-font-lock-syntactic-keywords): Remove.
1065         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1066         (ada-after-change-function, ada-initialize-syntax-table-properties)
1067         (ada-handle-syntax-table-properties): Only define when
1068         syntax-propertize is not available.
1069         (ada-mode): Use syntax-propertize-function.
1071         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1072         (font-lock-fontify-syntactic-keywords-region): Move handling of
1073         font-lock-syntactically-fontified to...
1074         (font-lock-default-fontify-region): ...here.
1075         Let syntax-propertize-function take precedence.
1076         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1078         * emacs-lisp/syntax.el (syntax-propertize-function)
1079         (syntax-propertize-chunk-size, syntax-propertize--done)
1080         (syntax-propertize-extend-region-functions): New vars.
1081         (syntax-propertize-wholelines, syntax-propertize-multiline)
1082         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1083         (syntax-propertize): New functions.
1084         (syntax-propertize-rules): New macro.
1085         (syntax-ppss-flush-cache): Set syntax-propertize--done.
1086         (syntax-ppss): Call syntax-propertize.
1088         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1090 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
1092         * textmodes/ispell.el (ispell-init-process): Improve comments.
1093         XEmacs compatibility changes regarding (add-hook) 'local option
1094         and (set-process-query-on-exit-flag).
1096 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
1098         * net/tramp-cache.el (tramp-parse-connection-properties):
1099         Set tramp-autoload cookie.
1101 2010-09-09  Glenn Morris  <rgm@gnu.org>
1103         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1104         (imagemagick-register-types): Doc fix.
1106 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1108         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1110         * progmodes/js.el (require): Require is already "eval-and-compile".
1111         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
1112         (js--re-search-backward): Use js--re-search-forward.
1114         * progmodes/fortran.el (fortran-line-length): Don't recompute
1115         syntactic keywords redundantly a second time.
1117         * progmodes/ada-mode.el: Replace "(set '" with setq.
1118         (ada-mode): Simplify.
1119         (ada-create-case-exception, ada-adjust-case-interactive)
1120         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1121         (ada-search-ignore-string-comment, ada-move-to-start)
1122         (ada-move-to-end): Use with-syntax-table.
1124         * font-lock.el (save-buffer-state): Remove `varlist' arg.
1125         (font-lock-unfontify-region, font-lock-default-fontify-region):
1126         Update usage correspondingly.
1127         (font-lock-fontify-syntactic-keywords-region):
1128         Set parse-sexp-lookup-properties buffer-locally here.
1129         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1131         * simple.el (blink-matching-open): Don't burp if we can't find a match.
1133 2010-09-08  Glenn Morris  <rgm@gnu.org>
1135         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1136         Error if not compiled with -DBYTE_CODE_METER.
1138         * emacs-lisp/bytecomp.el (byte-recompile-directory):
1139         Ignore dir-locals-file.
1141 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1143         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1144         Not a const.
1145         (compilation-error-regexp-alist-alist): Rule out ": " in file names
1146         for the `gnu' messages.
1147         (compilation-set-skip-threshold): New command.
1148         (compilation-start): Use \' rather than $.
1149         (compilation-forget-errors): Use clrhash.
1151 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
1153         * textmodes/ispell.el (ispell-valid-dictionary-list):
1154         Simplify logic.
1156 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
1158         Migrate to Tramp 2.2.  Rearrange load dependencies.
1159         (Bug#1529, Bug#5448, Bug#5705)
1161         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1162         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1163         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1165         * net/tramp.el (top): Remove all other tramp-* loads except
1166         tramp-compat.el.  Remove all changes to tramp-unload-hook for
1167         other tramp-* packages.  Rearrange defun order.  Change calls of
1168         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1169         `tramp-compat-octal-to-decimal' to new function names.
1170         (tramp-terminal-type, tramp-initial-end-of-output)
1171         (tramp-methods, tramp-foreign-file-name-handler-alist)
1172         (tramp-tramp-file-p, tramp-completion-mode-p)
1173         (tramp-send-command-and-check, tramp-get-remote-path)
1174         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1175         (tramp-shell-quote-argument): Set tramp-autoload cookie.
1176         (with-file-property, with-connection-property): Move to
1177         tramp-cache.el.
1178         (tramp-local-call-process, tramp-decimal-to-octal)
1179         (tramp-octal-to-decimal): Move to tramp-compat.el.
1180         (tramp-handle-shell-command): Do not require 'shell.
1181         (tramp-compute-multi-hops): No special handling for tramp-gw-*
1182         symbols.
1183         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1185         * net/tramp-cache.el (top): Require 'tramp.  Add to
1186         `tramp-unload-hook'.
1187         (tramp-cache-data, tramp-get-file-property)
1188         (tramp-set-file-property, tramp-flush-file-property)
1189         (tramp-flush-directory-property, tramp-get-connection-property)
1190         (tramp-set-connection-property, tramp-flush-connection-property)
1191         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1192         cookie.
1193         (with-file-property, with-connection-property): New defuns, moved
1194         from tramp.el.
1195         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1196         macro.
1198         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1199         (tramp-version): Set tramp-autoload cookie.
1201         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
1202         changes to tramp-unload-hook for other tramp-* packages.  Add to
1203         `tramp-unload-hook'.
1204         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1205         (tramp-compat-call-process): New defuns, moved from tramp.el.
1207         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
1208         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1209         to `tramp-unload-hook'.  Change call of
1210         `tramp-compat-decimal-to-octal' to new function name.
1211         (tramp-fish-method): Make it a defconst.
1212         (tramp-fish-file-name-p): Make it a defsubst.
1213         (tramp-fish-method, tramp-fish-file-name-handler)
1214         (tramp-fish-file-name-p): Set tramp-autoload cookie.
1216         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1217         `tramp-foreign-file-name-handler-alist'.  Add to
1218         `tramp-unload-hook'.
1219         (tramp-ftp-method): Make it a defconst.
1220         (tramp-ftp-file-name-p): Make it a defsubst.
1221         (tramp-ftp-method, tramp-ftp-file-name-handler)
1222         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1224         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1225         `tramp-foreign-file-name-handler-alist'.  Add to
1226         `tramp-unload-hook'.  Change checks, whether package can be
1227         loaded.
1228         (tramp-gvfs-file-name-p): Make it a defsubst.
1229         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1230         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1231         (tramp-gvfs-handle-file-directory-p): New defun.
1232         (tramp-gvfs-file-name-handler-alist): Use it.
1234         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1235         `tramp-foreign-file-name-handler-alist'.  Add to
1236         `tramp-unload-hook'.
1237         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1238         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1239         defconst.
1240         (tramp-gw-tunnel-method, tramp-gw-socks-method)
1241         (tramp-gw-open-connection): Set tramp-autoload cookie.
1243         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
1244         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1245         to `tramp-unload-hook'.  Change checks, whether package can be
1246         loaded.
1247         (tramp-imap-file-name-p): Make it a defsubst.
1248         (tramp-imap-method, tramp-imaps-method)
1249         (tramp-imap-file-name-handler)
1250         (tramp-imap-file-name-p): Set tramp-autoload cookie.
1252         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
1253         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1254         to `tramp-unload-hook'.  Change checks, whether package can be
1255         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
1256         function name.
1257         (tramp-smb-tunnel-method): Make it a defconst.
1258         (tramp-smb-file-name-p): Make it a defsubst.
1259         (tramp-smb-method, tramp-smb-file-name-handler)
1260         (tramp-smb-file-name-p): Set tramp-autoload cookie.
1262         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1263         (tramp-uuencode-region): Set tramp-autoload cookie.
1265         * net/trampver.el (top) Add to `tramp-unload-hook'.
1266         (tramp-version, tramp-bug-report-address): Set tramp-autoload
1267         cookie.  Update release number.
1269 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
1271         * textmodes/ispell.el (ispell-start-process): Make sure original
1272         arg list is properly initialized (Bug#6993, Bug#6994).
1274 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1276         * files.el (directory-abbrev-alist): Use \` as default regexp.
1278         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1279         chars like - or ] (bug#6984).
1280         (rx-any-condense-range): Explode 2-char ranges.
1282 2010-09-06  Glenn Morris  <rgm@gnu.org>
1284         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1286 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1288         * textmodes/bibtex.el:
1289         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1291 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1293         * net/imap.el (imap-message-map): Remove optional buffer parameter,
1294         since no callers use it.
1295         (imap-message-get): Ditto.
1296         (imap-message-put): Ditto.
1297         (imap-mailbox-map): Ditto.
1298         (imap-mailbox-put): Ditto.
1299         (imap-mailbox-get): Ditto.
1300         (imap-mailbox-get): Revert last change for this function.
1302 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1304         * net/imap.el (imap-fetch-safe): Remove function, and alter all
1305         callers to use `imap-fetch' instead.  According to the comments, this
1306         should be safe, since all other IMAP clients use the 1:* syntax.
1307         (imap-enable-exchange-bug-workaround): Remove.
1308         (imap-debug): Remove -- doesn't seem very useful.
1310 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1312         * net/imap.el (imap-log): New convenience function used throughout
1313         instead of repeating the same code all over the place.
1315 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1317         * mouse.el (mouse-save-then-kill): Save region to kill-ring
1318         when mouse-drag-copy-region is non-nil (Bug#6956).
1320 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
1322         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1323         Improve regexps (Bug#6987).
1324         (dired-sort-toggle): Search more robustly for -t flag.
1326         * files.el (get-free-disk-space): Search more robustly for
1327         "available" column.  Suggested by Ehud Karni
1328         <ehud@unix.mvs.co.il>.
1330 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
1332         * international/uni-bidi.el:
1333         * international/uni-category.el:
1334         * international/uni-combining.el:
1335         * international/uni-decimal.el:
1336         * international/uni-mirrored.el:
1337         * international/uni-name.el: Regenerate.
1339 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1341         * electric.el (electric-indent-post-self-insert-function):
1342         Don't reindent with a sloppy indentation function.
1344         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1345         border case in change-log-mode.
1347 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
1349         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1350         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1351         Recognize leading tab in gcc-include regexp.  Ignore names with
1352         leading "from" or "in" in gnu regexp (Bug#6937).
1354 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1356         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1357         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1358         (ispell-start-process): Avoid setq and simplify logic.
1359         (ispell-init-process): Setup kill-buffer-hook locally when needed.
1360         (kill-buffer-hook): Don't use it globally with code that uses
1361         expand-file-name since that may call kill-buffer via
1362         code_conversion_restore.
1364 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
1366         * emacs-lisp/package.el (package-directory-list): Only call
1367         file-name-nondirectory on a string.
1369 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1371         * emacs-lisp/package.el (package--download-one-archive):
1372         Ensure that archive-contents is valid before saving it.
1373         (package-activate-1, package-mark-obsolete, define-package)
1374         (package-compute-transaction, package-list-maybe-add): Use push.
1376 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1378         Use SMIE's blink-paren for octave-mode.
1379         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1380         Backslashes do not escape single-quotes, single-quotes do.
1381         (octave-block-else-regexp, octave-block-end-regexp)
1382         (octave-block-match-alist): Remove.
1383         (octave-smie-bnf-table): New var, with old content.
1384         (octave-smie-op-levels): Use it.
1385         (octave-smie-closer-alist): New var.
1386         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
1387         (octave-blink-matching-block-open): Remove.
1388         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1389         (octave-electric-space): Let self-insert-command run expand-abbrev and
1390         blink parens.
1392         * electric.el (electricity): New group.
1393         (electric-indent-chars): New var.
1394         (electric-indent-post-self-insert-function): New fun.
1395         (electric-indent-mode): New minor mode.
1396         (electric-pair-skip-self): New custom.
1397         (electric-pair-post-self-insert-function): New function.
1398         (electric-pair-mode): New minor mode.
1400         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1401         calcAlg-blink-matching-open.
1402         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1403         (calc-do-alg-entry): Only touch the part of the keymap that varies.
1404         Use the new blink-matching-check-function.
1406         Provide blink-matching support to SMIE.
1407         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1408         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1409         (smie-blink-matching-check, smie-blink-matching-open): New functions.
1411         * simple.el (newline): Fix last change to properly remove itself from
1412         the hook.
1414 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1416         * simple.el (newline): Eliminate optimization.
1417         Use post-self-insert-hook to set hard-newline and things before
1418         running post-self-insert-hook.
1419         (blink-matching-check-mismatch): New function.
1420         (blink-matching-check-function): New variable.
1421         (blink-matching-open): Use them.
1422         Skip back forward over prefix chars skipped by forward-sexp.
1423         Don't check if the parens are backslash escaped.
1424         (blink-paren-post-self-insert-function): Check backslash escaping here.
1426 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1428         * emacs-lisp/package.el (package-menu-mode-map):
1429         Change package-menu-revert bindings to revert-buffer.
1430         (package-menu-mode): Set revert-buffer-function.
1431         (package-menu-revert): Doc fix.
1433 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
1435         * textmodes/ispell.el (ispell-init-process): Use "~/" as
1436         `default-directory' unless using Ispell per-directory personal
1437         dictionaries and not in a mini-buffer under XEmacs.
1438         (kill-buffer-hook): Do not kill ispell process on exit when
1439         `ispell-process-directory' is "~/".  (Bug#6143)
1441 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
1443         * simple.el (kill-new): Call interprogram-cut-function with only
1444         one argument.
1446         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1447         Remove cut buffer from error message.
1449         * term/x-win.el (x-select-text):
1450         * term/pc-win.el (x-selection-value):
1451         * term/ns-win.el (x-selection-value):
1452         * eshell/em-term.el:
1453         * w32-fns.el (x-get-selection-value):
1454         * mouse-sel.el (mouse-sel-set-selection-function):
1455         * frame.el (display-selections-p): Remove cut-buffer in documentation.
1457         * term/x-win.el: Update documentation for x-last-selected-text-*.
1458         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1459         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1460         (x-select-text): Remove argument PUSH, update documentation.  Remove
1461         cut-buffer code.
1462         (x-selection-value-internal): Was previously x-selection-value.
1463         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1464         Update documentation, remove cut-buffer code.  Call
1465         x-selection-value-internal.
1466         (x-clipboard-yank): Call x-selection-value-internal.
1467         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1469         * term/pc-win.el (x-last-selected-text):
1470         x-cut-buffer-or-selection-value renamed to x-selection-value
1471         (x-select-text): Remove argument PUSH, update documentation.
1473         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1474         x-cut-buffer-or-selection-value renamed to x-selection-value
1475         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1476         (x-select-text): Remove argument PUSH, update documentation.
1478         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1480         * w32-fns.el (x-last-selected-text):
1481         x-cut-buffer-or-selection-value renamed to x-selection-value.
1482         (x-cut-buffer-max): Remove.
1483         (x-select-text): Remove argument PUSH, update documentation.
1485         * simple.el (interprogram-cut-function): Remove mention of PUSH.
1487         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1489         * mouse-sel.el (mouse-sel-get-selection-function):
1490         x-cut-buffer-or-selection-value renamed to x-selection-value.
1491         (x-select-text): Remove optional push.
1493 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1495         * simple.el (blink-paren-function): Move from C to here.
1496         (blink-paren-post-self-insert-function): New function.
1497         (post-self-insert-hook): Use it.
1499         * emacs-lisp/pcase.el (pcase-split-memq):
1500         Fix overenthusiastic optimisation.
1501         (pcase-u1): Handle the case of a lambda pred.
1503 2010-08-31  Kenichi Handa  <handa@m17n.org>
1505         * international/mule-cmds.el (standard-display-european-internal):
1506         Setup standard-display-table for 8-bit characters by storing 8-bit
1507         characters in the element vector.
1509         * disp-table.el (standard-display-8bit):
1510         Setup standard-display-table for 8-bit characters by storing 8-bit
1511         characters in the element vector.
1512         (standard-display-european): Likewise.
1514 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
1516         * textmodes/nroff-mode.el (nroff-view): New command.
1517         (nroff-mode-map): Bind it to C-c C-c.
1519 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1521         * emacs-lisp/smie.el (smie-down-list): New command.
1523         Remove old indentation and navigation code on octave-mode.
1524         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1525         smie-down-list rather than add a binding for octave-down-block.
1526         (octave-mark-block, octave-blink-matching-block-open):
1527         Rely on forward-sexp-function.
1528         (octave-fill-paragraph): Don't narrow, so you can use
1529         indent-according-to-mode.
1530         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1531         (octave-in-block-p, octave-re-search-forward-kw)
1532         (octave-re-search-backward-kw, octave-indent-calculate)
1533         (octave-end-as-array-index-p, octave-block-end-offset)
1534         (octave-scan-blocks, octave-forward-block, octave-backward-block)
1535         (octave-down-block, octave-backward-up-block, octave-up-block)
1536         (octave-before-magic-comment-p, octave-indent-line): Remove.
1538 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
1540         * emacs-lisp/package.el (package--read-archive-file): Just use
1541         `read', to avoid copying an additional string.
1542         (package-menu-mode): Set header-line-format here.
1543         (package-menu-refresh, package-menu-revert): Signal an error if
1544         not in the Package Menu.
1545         (package-menu-package-list): New var.
1546         (package--generate-package-list): Operate on the current buffer;
1547         don't assume that it is *Packages*, since the user may rename it.
1548         Allow persistent package listings and sort keys using
1549         package-menu-package-list and package-menu-package-sort-key.
1550         (package-menu--version-predicate): Fix version calculation.
1551         (package-menu-sort-by-column): Don't select the window.
1552         (package--list-packages): Create the *Packages* buffer.
1553         Set package-menu-package-list-key.
1554         (list-packages): Sorting by status is now the default.
1555         (package-buffer-info): Use match-string-no-properties.
1556         (define-package): Add a &rest argument for future proofing, but
1557         don't use it yet.
1558         (package-install-from-buffer, package-install-buffer-internal):
1559         Merge into a single function, package-install-from-buffer.
1560         (package-install-file): Change caller.
1562         * finder.el: Load finder-inf using `require'.
1563         (finder-list-matches): Sorting by status is now the default.
1564         (finder-compile-keywords): Simpify printing.
1566 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1568         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1569         (octave-mode-map): Remove special bindings for forward/backward-block
1570         and octave-backward-up-block.  Use smie-close-block.
1571         (octave-continuation-marker-regexp): New var.
1572         (octave-continuation-regexp): Use it.
1573         (octave-operator-table, octave-smie-op-levels)
1574         (octave-operator-regexp, octave-smie-indent-rules): New vars.
1575         (octave-smie-backward-token, octave-smie-forward-token): New funs.
1576         (octave-mode): Use SMIE.
1577         (octave-close-block): Delete.
1579 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
1581         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1582         CLIPBOARD, not in PRIMARY.  (Bug#6944)
1584 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1586         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1587         a list of parents.
1588         (smie-indent-column): Allow indirection through variables.
1590         * composite.el (save-buffer-state): Delete, unused.
1591         * font-lock.el (save-buffer-state): Use with-silent-modifications.
1592         (font-lock-default-fontify-region): Use with-syntax-table.
1593         * jit-lock.el (with-buffer-unmodified): Remove.
1594         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1596         Use `declare' in defmacros.
1597         * window.el (save-selected-window):
1598         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1599         * progmodes/python.el (def-python-skeleton):
1600         * net/dbus.el (dbus-ignore-errors):
1601         * jka-cmpr-hook.el (with-auto-compression-mode):
1602         * international/mule.el (with-category-table):
1603         * emacs-lisp/timer.el (with-timeout):
1604         * emacs-lisp/lisp-mnt.el (lm-with-file):
1605         * emacs-lisp/eieio.el (with-slots):
1606         * emacs-lisp/easymenu.el (easy-menu-define):
1607         * emacs-lisp/debug.el (debugger-env-macro):
1608         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1609         (Multiple-value-call, Multiple-value-prog1):
1610         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1611         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1612         edebug rule to definition.
1613         * emacs-lisp/lisp-mode.el (save-selected-window)
1614         (with-current-buffer, combine-after-change-calls)
1615         (with-output-to-string, with-temp-file, with-temp-buffer)
1616         (with-temp-message, with-syntax-table, read-if, eval-after-load)
1617         (dolist, dotimes, when, unless):
1618         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1620 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1622         * finder.el: Require `package'.
1623         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
1624         (finder-package-info): Var deleted.
1625         (finder-keywords-hash, finder--builtins-alist): New vars.
1626         (finder-compile-keywords): Compute package--builtins and
1627         finder-keywords-hash instead of finder-keywords-hash, respecting
1628         the "Package" header.
1629         (finder-unknown-keywords, finder-list-matches):
1630         Use finder-keywords-hash and package--list-packages.
1631         (finder-mode): Don't set font-lock-defaults.
1632         (finder-exit): We don't use "*Finder-package*" and "*Finder
1633         Category*" buffers anymore.
1635         * emacs-lisp/package.el (package--builtins-base): Var deleted.
1636         (package--builtins): Set default value to nil.
1637         (package-initialize): Load precomputed value of package--builtins
1638         from finder-inf.el.
1639         (package-alist, package-compute-transaction)
1640         (package-download-transaction): Improve docstring.
1641         (package-read-all-archive-contents): Do not change
1642         package--builtins here.
1643         (list-packages): Make package-list-packages an alias for this.
1644         Sort by status by default.
1645         (package--list-packages): Add optional PACKAGES arg.
1646         (describe-package-1): Use font-lock-face property.  For built-in
1647         packages, insert file commentary.
1648         (package--generate-package-list): Rename from
1649         package-list-packages-internal; all callers changed.  Add optional
1650         PACKAGES arg.  Add alphabetical sort fallbacks.
1651         (package-menu--version-predicate, package-menu--status-predicate)
1652         (package-menu--description-predicate)
1653         (package-menu--name-predicate): New functions.
1655         * info.el (Info-finder-find-node): Search package-alist instead of
1656         finder-package-info.
1658 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1660         * subr.el (version-regexp-alist): Don't use "a" and "b" for
1661         "alpha" and "beta".
1662         (version-to-list): Handle versions like "10.3d".
1664 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1667         (macroexp-accumulate): Use `declare'.
1669 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1671         * whitespace.el (whitespace-style): Adjust type declaration.
1673 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
1675         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1676         empty argument to gvfs-copy.
1678 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1680         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1681         handle new TRASH arg of `delete-file'.
1683 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
1685         * net/tramp.el (tramp-handle-insert-directory): Don't use
1686         `forward-word', its default syntax could be changed.
1688 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
1689             Michael Albinus  <michael.albinus@gmx.de>
1691         Implement compression for inline methods.
1693         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1694         (tramp-copy-size-limit): Allow also nil.
1695         (tramp-inline-compress-commands): New defconst.
1696         (tramp-find-inline-compress, tramp-get-inline-compress)
1697         (tramp-get-inline-coding): New defuns.
1698         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1699         replaced by `tramp-get-inline-coding'.
1700         (tramp-handle-file-local-copy, tramp-handle-write-region)
1701         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1703 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
1705         Detect ssh 'ControlMaster' argument automatically in some cases.
1707         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1708         (tramp-default-method): Use it.
1710 2010-08-26  Karel Klíč  <kklic@redhat.com>
1712         * net/tramp.el (tramp-file-name-for-operation):
1713         Add file-selinux-context.
1715 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
1717         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1719 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1721         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1722         (Bug#6907).
1724 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
1726         * progmodes/js.el: Make indentation more customizable (Bug#6914).
1727         (js-paren-indent-offset, js-square-indent-offset)
1728         (js-curly-indent-offset): New options.
1729         (js--proper-indentation): Use them.
1731 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
1733         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1734         instead of inspecting font-lock properties (Bug#6916).
1736 2010-08-26  David Reitter  <david.reitter@gmail.com>
1738         * server.el (server-visit-files): Run pre-command-hook and
1739         post-command-hook for each buffer while it is current (Bug#6910).
1740         (server-execute): Do not run hooks here.
1742 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
1744         Sync with Tramp 2.1.19.
1746         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1747         (tramp-reporter-dump-variable, tramp-load-report-modules)
1748         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1749         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1751         * net/tramp-compat.el (top): Do not autoload
1752         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
1753         only when `start-file-process' is not bound.
1754         (byte-compile-not-obsolete-vars): Define if not bound.
1755         (tramp-compat-funcall): New defmacro.
1756         (tramp-compat-line-beginning-position)
1757         (tramp-compat-line-end-position)
1758         (tramp-compat-temporary-file-directory)
1759         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1760         (tramp-compat-copy-file, tramp-compat-copy-directory)
1761         (tramp-compat-delete-file, tramp-compat-delete-directory)
1762         (tramp-compat-number-sequence, tramp-compat-process-running-p):
1763         Use it.
1764         (tramp-advice-file-expand-wildcards): Do not use
1765         `tramp-handle-file-remote-p'.
1766         (tramp-compat-make-temp-file): Simplify fallback implementation.
1767         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1768         (tramp-compat-copy-tree): Remove function.
1769         (tramp-compat-delete-file): New defun.
1770         (tramp-compat-delete-directory): Provide implementation for older
1771         Emacsen.
1772         (tramp-compat-file-attributes): Handle only
1773         `wrong-number-of-arguments' error.
1775         * net/tramp-fish.el (tramp-fish-handle-copy-file):
1776         Add PRESERVE_SELINUX_CONTEXT.
1777         (tramp-fish-handle-delete-file): Add TRASH arg.
1778         (tramp-fish-handle-directory-files-and-attributes):
1779         Do not use `tramp-fish-handle-file-attributes.
1780         (tramp-fish-handle-file-local-copy)
1781         (tramp-fish-handle-insert-file-contents)
1782         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1784         * net/tramp-gvfs.el (top): Require url-util.
1785         (tramp-gvfs-mount-point): Remove.
1786         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1787         and `set-file-selinux-context'.
1788         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1789         (tramp-gvfs-handle-file-selinux-context)
1790         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1791         (with-tramp-dbus-call-method): Format trace message.
1792         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1793         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1794         Implement backup call, when operation on local files fails.
1795         Use progress reporter.  Flush properties of changed files.
1796         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
1797         `tramp-compat-delete-file'.
1798         (tramp-gvfs-handle-expand-file-name): Expand "~/".
1799         (tramp-gvfs-handle-make-directory): Make more traces.
1800         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1801         (tramp-gvfs-url-file-name): Hexify file name in url.
1802         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1803         into account for the resulting file name.
1804         (tramp-gvfs-handler-askquestion): Preserve current message, in
1805         order to let progress reporter continue afterwards.  (Bug#6257)
1806         Return dummy mountpoint, when the answer is "no".
1807         See `tramp-gvfs-maybe-open-connection'.
1808         (tramp-gvfs-handler-mounted-unmounted)
1809         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1810         attribute "default_location".  Set "prefix" property.
1811         Handle default-location.
1812         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1813         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1814         exists.  Raise an error, if not (due to a corresponding answer
1815         "no" in interactive questions, for example).
1816         Use `tramp-compat-funcall'.
1818         * net/tramp-imap.el (top): Autoload `epg-make-context'.
1819         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1820         (tramp-imap-do-copy-or-rename-file)
1821         (tramp-imap-handle-insert-file-contents)
1822         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1823         (tramp-imap-handle-delete-file): Add TRASH arg.
1825         * net/tramp-smb.el (tramp-smb-handle-copy-file):
1826         Add PRESERVE-SELINUX-CONTEXT.
1827         (tramp-smb-handle-copy-file)
1828         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1829         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1830         Use `with-progress-reporter'.
1831         (tramp-smb-handle-delete-file): Add TRASH arg.
1833         * net/tramp.el (tramp-methods): Move hostname to the end in all
1834         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
1835         appropriate.
1836         (tramp-verbose): Describe verbose level 9.
1837         (tramp-completion-function-alist)
1838         (tramp-file-name-regexp, tramp-chunksize)
1839         (tramp-local-coding-commands, tramp-remote-coding-commands)
1840         (with-connection-property, tramp-completion-mode-p)
1841         (tramp-action-process-alive, tramp-action-out-of-band)
1842         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1843         (tramp-exists-file-name-handler): Fix docstring.
1844         (tramp-remote-process-environment): Use `format' instead of
1845         `concat'.  Protect version string by apostroph.
1846         (tramp-shell-prompt-pattern): Do not use a shy group in case of
1847         XEmacs.
1848         (tramp-file-name-regexp-unified)
1849         (tramp-completion-file-name-regexp-unified): On W32 systems, do
1850         not regard the volume letter as remote filename.  (Bug#5447)
1851         (tramp-perl-file-attributes)
1852         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1853         (tramp-vc-registered-read-file-names): Read input as
1854         here-document, otherwise the command could exceed maximum length
1855         of command line.
1856         (tramp-file-name-handler-alist): Add `file-selinux-context' and
1857         `set-file-selinux-context'.
1858         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1859         backtrace functions.
1860         (tramp-error-with-buffer): Don't show the connection buffer when
1861         we are in completion mode.
1862         (tramp-progress-reporter-update, tramp-remote-selinux-p)
1863         (tramp-handle-file-selinux-context)
1864         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1865         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1866         New defuns.
1867         (with-progress-reporter): New defmacro.
1868         (tramp-debug-outline-regexp): New defconst.
1869         (top, tramp-rfn-eshadow-setup-minibuffer)
1870         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1871         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1872         (tramp-completion-mode-p, tramp-check-for-regexp)
1873         (tramp-open-connection-setup-interactive-shell)
1874         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1875         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1876         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1877         Use `tramp-compat-funcall'.
1878         (tramp-handle-make-symbolic-link): Flush file properties.
1879         (tramp-handle-load, tramp-handle-file-local-copy)
1880         (tramp-handle-insert-file-contents, tramp-handle-write-region)
1881         (tramp-handle-vc-registered, tramp-maybe-send-script)
1882         (tramp-find-shell): Use `with-progress-reporter'.
1883         (tramp-do-file-attributes-with-stat): Add space in format string,
1884         in order to work around a bug in pdksh.  Reported by Gilles Pion
1885         <gpion@lfdj.com>.
1886         (tramp-handle-verify-visited-file-modtime): Do not send a command
1887         when the connection is not established.
1888         (tramp-handle-set-file-times): Simplify the check for utc.
1889         (tramp-handle-directory-files-and-attributes)
1890         (tramp-get-remote-path): Use `copy-tree'.
1891         (tramp-completion-handle-file-name-all-completions): Ensure, that
1892         non remote files are still checked.  Oops.
1893         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
1894         Handle PRESERVE-SELINUX-CONTEXT.
1895         (tramp-do-copy-or-rename-file): Add progress reporter.
1896         (tramp-do-copy-or-rename-file-directly): Do not use
1897         `tramp-handle-file-remote-p'.
1898         (tramp-do-copy-or-rename-file-out-of-band):
1899         Use `tramp-compat-delete-directory'.
1900         (tramp-do-copy-or-rename-file-out-of-band)
1901         (tramp-compute-multi-hops, tramp-maybe-open-connection):
1902         Use `format-spec-make'.
1903         (tramp-handle-delete-file): Add TRASH arg.
1904         (tramp-handle-dired-uncache): Flush directory cache, not only file
1905         cache.
1906         (tramp-handle-expand-file-name)
1907         (tramp-completion-handle-file-name-all-completions)
1908         (tramp-completion-handle-file-name-completion):
1909         Use `tramp-connectable-p'.
1910         (tramp-handle-start-file-process): Set connection property "vec".
1911         Use it, in order to invalidate file caches.  Check only for
1912         `remote-tty' process property.
1913         Implement tty setting.  (Bug#4604, Bug#6360)
1914         (tramp-file-name-for-operation): Add `call-process-region' and
1915         `set-file-selinux-context'.
1916         (tramp-find-foreign-file-name-handler)
1917         (tramp-advice-make-auto-save-file-name)
1918         (tramp-set-auto-save-file-modes): Remove superfluous check for
1919         `stringp'.  This is done inside `tramp-tramp-file-p'.
1920         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
1921         operations when we are in completion mode.  This gives the user
1922         the chance to correct the file name in the minibuffer.
1923         (tramp-completion-mode-p): Use `non-essential'.
1924         (tramp-handle-file-name-all-completions): Backward/ XEmacs
1925         compatibility: Use `completion-ignore-case' if
1926         `read-file-name-completion-ignore-case' does not exist.
1927         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1928         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1929         `tramp-open-shell'.
1930         (tramp-action-password): Hide password prompt before next run.
1931         (tramp-process-actions): Widen connection buffer for the trace.
1932         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1933         process property.  Trace stty settings if `tramp-verbose' >= 9.
1934         Apply workaround for IRIX64 bug.  Move argument of last
1935         `tramp-send-command' where it belongs to.
1936         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1937         front of `login-args'.
1938         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1939         on "/dev/null" instead of "/".
1940         (tramp-get-ls-command-with-dired): Make test for "--dired"
1941         stronger.
1942         (tramp-set-auto-save-file-modes): Adapt version check.
1943         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1944         (tramp-handle-process-file): Call the program in a subshell, in
1945         order to preserve working directory.
1946         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1947         `tramp-remote-sh' from `tramp-methods'.
1948         (tramp-get-ls-command): Make test for "--color=never" stronger.
1949         (tramp-check-for-regexp): Use (forward-line 1).
1951         * net/trampver.el: Update release number.
1953 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1955         * help.el (help-map): Bind `C-h P' to describe-package.
1957         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1959         * emacs-lisp/package.el (package-refresh-contents): Catch errors
1960         when downloading archives.
1961         (describe-package-1): Add package commentary.
1962         (package-install-button-action): New function.
1963         (package-menu-mode-map): Bind ? to package-menu-describe-package.
1964         (package-menu-view-commentary): Function removed.
1965         (package-list-packages-internal): Hide the `package' package too.
1967 2010-08-25  Kenichi Handa  <handa@m17n.org>
1969         * language/misc-lang.el ("Arabic"): New language environment.
1970         Setup composition-function-table for Arabic characters.
1972         * international/fontset.el (setup-default-fontset): Fix typo for
1973         arabic OTF spec (fini->fina).
1975 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
1977         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
1978         on all frames.
1980 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1982         * whitespace.el: Allow cleaning up blanks without blank
1983         visualization (Bug#6651).  Adjust help window for
1984         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
1985         instead of whitespace-line-column (from EmacsWiki).  New version
1986         13.1.
1987         (whitespace-style): Added new value 'face.  Adjust docstring.
1988         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
1989         foreground property face.
1990         (whitespace-line-column): Adjust docstring and type declaration.
1991         (whitespace-style-value-list, whitespace-toggle-option-alist)
1992         (whitespace-help-text): Adjust const initialization.
1993         (whitespace-toggle-options, global-whitespace-toggle-options):
1994         Adjust docstring.
1995         (whitespace-display-window, whitespace-interactive-char)
1996         (whitespace-style-face-p, whitespace-color-on): Adjust code.
1997         (whitespace-help-scroll): New fun.
1999 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2001         * emacs-lisp/package.el (list-packages): Alias for
2002         package-list-packages.
2004 2010-08-24  Kevin Ryde  <user42@zip.com.au>
2006         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2007         (Bug#5651).
2009         * progmodes/ruby-mode.el (ruby): Add defgroup.
2011 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2013         * progmodes/python.el: Add Ipython support (Bug#5390).
2014         (python-shell-prompt-alist)
2015         (python-shell-continuation-prompt-alist): New options.
2016         (python--set-prompt-regexp): New function.
2017         (inferior-python-mode, run-python, python-shell): Require
2018         ansi-color.  Use python--set-prompt-regexp to set the comint
2019         prompt based on the Python interpreter.
2020         (python--prompt-regexp): New var.
2021         (python-check-comint-prompt)
2022         (python-comint-output-filter-function): Use it.
2023         (run-python): Use a pipe (Bug#5694).
2025 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
2027         * progmodes/python.el (python-send-region): Send a different
2028         Python command if Ipython is in use.
2029         (python-check-version): Use a Python command to find the version.
2031 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2033         * mouse.el (mouse-yank-primary): Avoid setting primary when
2034         deactivating the mark (Bug#6872).
2036 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
2038         * progmodes/python.el (python-block-pairs): Allow use of "finally"
2039         with "else" (Bug#3991).
2041 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
2043         * net/dbus.el: Accept UNIX domain sockets as bus address.
2044         (top): Don't initialize `dbus-registered-objects-table' anymore,
2045         this is done in dbusbind,c.
2046         (dbus-check-event): Adapt test for bus.
2047         (dbus-return-values-table, dbus-unregister-service)
2048         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2049         Adapt doc string.
2051 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
2053         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2055 2010-08-22  Juri Linkov  <juri@jurta.org>
2057         * simple.el (read-extended-command): New function with the logic
2058         for `completing-read' moved to Elisp from `execute-extended-command'.
2059         Use `function-called-at-point' in `minibuffer-default-add-function'
2060         to get a command name for M-n (bug#5364, bug#5214).
2062 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2064         * startup.el (command-line-1): Issue warning for ignored arguments
2065         --unibyte, etc (Bug#6886).
2067 2010-08-22  Leo  <sdl.web@gmail.com>
2069         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2070         (ignore, bright, dim, keyword): Split list of nicknames before
2071         passing to rcirc-add-or-remove (Bug#6894).
2073 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2075         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2077 2010-08-22  Leo  <sdl.web@gmail.com>
2079         Fix buffer-list rename&refresh after killing a buffer in ido.
2080         * ido.el: Revert Óscar's.
2081         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2082         Remember the buffers at head, rather than their name.
2083         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2085 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
2086             Stefan Monnier  <monnier@iro.umontreal.ca>
2088         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2089         extra backslash added to each line (bug#6890).
2091 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2093         * subr.el (read-key): Don't echo keystrokes (bug#6883).
2095 2010-08-22  Glenn Morris  <rgm@gnu.org>
2097         * menu-bar.el (menu-bar-games-menu): Add landmark.
2099 2010-08-22  Glenn Morris  <rgm@gnu.org>
2101         * align.el (align-regexp): Make group and spacing arguments
2102         use the interactive defaults when non-interactive.  (Bug#6698)
2104         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2105         expansion, so as not to need sendmail.
2106         (mail-text-start): Remove declaration.
2107         (rmail-retry-failure): Require sendmail.
2109 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2111         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2113 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
2115         * progmodes/flymake.el (flymake-start-syntax-check-process):
2116         Use `start-file-process' in order to let it run also on remote hosts.
2118 2010-08-22  Kenichi Handa  <handa@m17n.org>
2120         * files.el: Add `word-wrap' as safe local variable.
2122 2010-08-22  Glenn Morris  <rgm@gnu.org>
2124         * woman.el (woman-translate): Case matters.  (Bug#6849)
2126 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2128         * simple.el (kill-region): Doc fix (Bug#6787).
2130 2010-08-22  Glenn Morris  <rgm@gnu.org>
2132         * calendar/diary-lib.el (diary-header-line-format):
2133         Fit it to the window, not the frame.
2135 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
2137         * subr.el (ignore-errors): Add debug declaration.
2139 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
2141         * whitespace.el (whitespace-color-off): Remove post-command-hook
2142         locally.
2144 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2146         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2148 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2150         * cus-edit.el (custom-group-value-create): Add extra newline
2151         before end line (Bug#6876).
2153 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2155         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2156         when extending it.  Before killing on the second click, check if
2157         the buffer is the correct one.  Doc fix.
2158         (mouse-secondary-save-then-kill): Allow usage without first
2159         calling mouse-start-secondary, by defaulting to point.  Don't save
2160         an empty secondary selection.  Doc fix.
2162 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2164         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
2165         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2166         New version 13.0.
2167         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2168         Adjust initialization.
2169         (whitespace-bob-marker, whitespace-eob-marker)
2170         (whitespace-buffer-changed): New vars.
2171         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2172         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2173         (whitespace-post-command-hook, whitespace-display-char-on):
2174         Adjust code.
2175         (whitespace-looking-back, whitespace-buffer-changed): New funs.
2176         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2178 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2180         * files.el (locate-file-completion-table): Only list the .el and .elc
2181         extensions if there's no other choice (bug#5955).
2183         * facemenu.el (facemenu-self-insert-data): New var.
2184         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2185         New functions.
2186         (facemenu-add-face): Use them.
2188         * simple.el (blink-matching-open): Obey forward-sexp-function.
2190 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2192         * simple.el (prog-mode-map): New var.
2193         (prog-indent-sexp): New command.
2195         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2197         * progmodes/prolog.el (smie): Require.
2199         * emacs-lisp/smie.el (smie-default-backward-token)
2200         (smie-default-forward-token): Strip properties.
2201         (smie-next-sexp): Be more careful with associative operators.
2202         (smie-forward-sexp-command): Generalize.
2203         (smie-backward-sexp-command): Simplify.
2204         (smie-closer-alist): New var.
2205         (smie-close-block): New command.
2206         (smie-indent-debug-log): New var.
2207         (smie-indent-offset-rule): Add a few more cases.
2208         (smie-indent-column): New function.
2209         (smie-indent-after-keyword): Use it.
2210         (smie-indent-keyword): Use it.
2211         Fix up the opener code's point position.
2212         (smie-indent-comment): Only applies at BOL.
2213         (smie-indent-debug): New command.
2215         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2216         declarations that are useful before running the macro.
2218 2010-08-18  Joakim Verona  <joakim@verona.se>
2220         * image.el (imagemagick-types-inhibit): New variable.
2221         (imagemagick-register-types): New function.
2222         * image-mode.el (image-transform-properties): New function.
2223         (image-transform-set-scale, image-transform-fit-to-height)
2224         (image-transform-set-rotation, image-transform-set-resize)
2225         (image-transform-fit-to-width, image-transform-fit-to-height):
2226         New functions.
2227         (image-toggle-display-image): Support image transforms.
2229 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2231         * image.el (create-animated-image): Don't add heuristic mask to image
2232         (Bug#6839).
2234 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
2236         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2237         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2239 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2241         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2243         Font-lock '...' strings, plus various simplifications and fixes.
2244         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2245         (octave-font-lock-close-quotes): New function.
2246         (octave-font-lock-syntactic-keywords): New var.
2247         (octave-mode): Use it.  Set beginning-of-defun-function.
2248         (octave-mode-map): Don't override the <foo>-defun commands.
2249         (octave-mode-menu): Pass it directly to easy-menu-define;
2250         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2251         (octave-block-match-alist): Fix up last change so that
2252         octave-close-block uses the more specific keyword.
2253         (info-lookup-mode): Silence byte-compiler.
2254         (octave-beginning-of-defun): Not interactive any more.
2255         Optimize slightly.
2256         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2257         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2258         (octave-completion-at-point-function): Make sure point is within
2259         beg..end.
2260         (octave-reindent-then-newline-and-indent):
2261         Use reindent-then-newline-and-indent.
2262         (octave-add-octave-menu): Remove.
2264 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
2266         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2267         (report-emacs-bug-can-use-xdg-email): New functions.
2268         (report-emacs-bug): Set can-xdg-email to result of
2269         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
2270         \C-cm to report-emacs-bug-insert-to-mailer and add help text
2271         about it.
2273         * net/browse-url.el (browse-url-default-browser): Add cond
2274         for browse-url-xdg-open.
2275         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2277 2010-08-17  Glenn Morris  <rgm@gnu.org>
2279         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2280         (c-fontify-recorded-types-and-refs): Define for compiler.
2281         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2282         before use.
2284         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2285         Fix format call.
2287 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
2289         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2290         properties.
2291         (tramp-handle-process-file): Call the program in a subshell, in
2292         order to preserve working directory.
2293         (tramp-action-password): Hide password prompt before next run.
2294         (tramp-process-actions): Widen connection buffer for the trace.
2296 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2298         * net/rcirc.el (rcirc-log-process-buffers): New option.
2299         (rcirc-print): Use it.
2300         (rcirc-generate-log-filename): New function.
2301         (rcirc-log-filename-function): Change default to
2302         rcirc-generate-log-filename (Bug#6828).
2304 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
2306         * simple.el (deactivate-mark): If select-active-regions is `only',
2307         only set selection for temporarily active regions.
2309         * cus-start.el: Change defcustom for select-active-regions.
2311 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2313         * mouse.el (mouse--drag-set-mark-and-point): New function.
2314         (mouse-drag-track): Use LOCATION arg to push-mark.
2315         Use mouse--drag-set-mark-and-point to take click-count into
2316         consideration when updating point and mark (Bug#6840).
2318 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2320         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2321         Give the Ruby rule a lower priority than Gnu (Bug#6778).
2323 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2325         * font-lock.el (lisp-font-lock-keywords-2):
2326         Add combine-after-change-calls, condition-case-no-debug,
2327         with-demoted-errors, and with-silent-modifications (Bug#6025).
2329 2010-08-14  Kevin Ryde  <user42@zip.com.au>
2331         * emacs-lisp/copyright.el (copyright-update-year)
2332         (copyright-update): Temporary switch-to-buffer to ensure the
2333         buffer change being queried is visible (Bug#5394).
2335 2010-08-14  Tom Tromey  <tromey@redhat.com>
2337         * progmodes/etags.el (tags-file-name): Mark safe if stringp
2338         (Bug#6733).
2340 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
2342         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2343         MS-DOS.  (Bug#6689)
2345 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
2347         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2348         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2349         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2350         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2351         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2352         Call menu-bar-set-tool-bar-position.
2354 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2356         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2357         comment style (bug#6834).
2358         * progmodes/scheme.el (scheme-mode-syntax-table):
2359         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2360         "b" flag in "' 14b" syntax.
2362         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2363         for (un)commenting the region and performing completion.
2364         (octave-mode-menu): Use standard commands for help and completion.
2365         (octave-mode-syntax-table): Support %{..%} comments (sort of).
2366         (octave-mode): Use define-derived-mode.
2367         Set completion-at-point-functions and don't set columns.
2368         Don't disable adaptive-fill-regexp.
2369         (octave-describe-major-mode, octave-comment-region)
2370         (octave-uncomment-region, octave-comment-indent)
2371         (octave-indent-for-comment): Remove.
2372         (octave-indent-calculate): Rename from calculate-octave-indent.
2373         (octave-indent-line, octave-fill-paragraph): Update caller.
2374         (octave-initialize-completions): No need to make an alist.
2375         (octave-completion-at-point-function): New function.
2376         (octave-complete-symbol): Use it.
2377         (octave-insert-defun): Use define-skeleton.
2379         * progmodes/octave-mod.el (octave-mode): Set comment-add.
2380         (octave-mode-map): Use comment-dwim (bug#6829).
2382 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2384         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2385         indentation of inserted comment.
2387 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
2389         * faces.el (region): Add type gtk that uses gtk colors.
2391         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2392         Handle theme-name change.
2394 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
2396         * progmodes/sql.el: Version 2.5
2397         (sql-product-alist): Add :prompt-cont-regexp property for several
2398         database products.
2399         (sql-prompt-cont-regexp): New variable.
2400         (sql-output-newline-count, sql-output-by-send):
2401         New variables.  Record number of newlines in input text.
2402         (sql-send-string): Handle multiple filters and count newlines.
2403         (sql-send-magic-terminator): Count terminator newline.
2404         (sql-interactive-remove-continuation-prompt): Filters output to
2405         remove continuation prompts; one for each newline.
2406         (sql-interactive-mode): Set up new variables, prompt regexp and
2407         output filter.
2408         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2409         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2411 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2413         * emacs-lisp/pcase.el: New file.
2415 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
2417         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2418         as here-document, otherwise the command could exceed maximum
2419         length of command line.
2420         (tramp-handle-vc-registered): Call script accordingly.
2421         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2423 2010-08-10  Kenichi Handa  <handa@m17n.org>
2425         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2426         composable pattern.
2428 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
2430         * emacs-lisp/package.el (package-version-split)
2431         (package--version-first-nonzero, package-version-compare):
2432         Functions removed.
2433         (package-directory-list, package-load-all-descriptors)
2434         (package--built-in, package-activate, define-package)
2435         (package-installed-p, package-compute-transaction)
2436         (package-read-all-archive-contents)
2437         (package--add-to-archive-contents, package-buffer-info)
2438         (package-tar-file-info, package-list-packages-internal):
2439         Use version-to-list and version-list-*.
2441         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2442         Use version-to-list.
2443         (package-upload-buffer-internal): Use version-list-<=.
2445 2010-08-09  Kenichi Handa  <handa@m17n.org>
2447         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2448         composable pattern.
2450 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
2452         * tutorial.el (tutorial--default-keys): C-d is now bound to
2453         delete-forward-char (Bug#6826).
2455         * mouse.el (mouse-drag-track): Remove accidentally-removed check
2456         for `double' value of mouse-1-click-follows-link (Bug#6807).
2458 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
2460         * replace.el (replace-highlight): Bind isearch-forward and
2461         isearch-error, ensuring that highlighting is updated if the user
2462         switches the search direction (Bug#6808).
2464         * isearch.el (isearch-lazy-highlight-forward): New var.
2465         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2466         (isearch-lazy-highlight-update): Use it.
2468 2010-08-08  Kenichi Handa  <handa@m17n.org>
2470         * international/mule.el (define-charset): Store NAME as :base property.
2471         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2472         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2473         current priority.  Force using the designation of the specific
2474         charset by adding `charset' text property.  Improve the whole algorithm.
2476 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2478         * emulation/pc-select.el (pc-selection-mode-hook)
2479         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2480         (pc-selection-mode): Fix typos in docstrings.
2482 2010-08-08  Kenichi Handa  <handa@m17n.org>
2484         * language/cyrillic.el: Don't add "microsoft-cp1251" to
2485         ctext-non-standard-encodings-alist here.
2487         * international/mule.el (ctext-non-standard-encodings-alist):
2488         Add "koi8-r" and "microsoft-cp1251".
2489         (ctext-standard-encodings): New variable.
2490         (ctext-non-standard-encodings-table): List only elements for
2491         non-standard encodings.
2492         (ctext-pre-write-conversion): Adjust for the above change.
2493         Check ctext-standard-encodings.
2495         * international/mule-conf.el (compound-text): Doc fix.
2496         (ctext-no-compositions): Doc fix.
2497         (compound-text-with-extensions): Doc fix.
2499 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2501         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2503 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2505         * progmodes/which-func.el (which-func-format): Split help-echo text
2506         into lines, like other mode-line tooltips.
2508         * server.el (server-start): When using TCP sockets, force IPv4
2509         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
2511 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2513         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2515 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2517         * term.el (term-delimiter-argument-list): Reflow docstring.
2518         (term-read-input-ring, term-write-input-ring, term-send-input)
2519         (term-bol, term-erase-in-display, serial-supported-or-barf):
2520         Fix typos in docstrings.
2522 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2524         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2526 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2528         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2530 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
2532         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2533         Fix typo in docstring (bug#6747).
2535 2010-08-08  Leo  <sdl.web@gmail.com>
2537         * eshell/esh-io.el (eshell-get-target): Better detection of
2538         read-only file (Bug#6762).
2540 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2542         * align.el (align-default-spacing): Doc fix.
2543         (align-region-heuristic, align-regexp): Fix typos in docstrings.
2545 2010-08-08  Stephen Peters  <speters@itasoftware.com>
2547         * calendar/icalendar.el
2548         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
2549         (icalendar--get-weekday-numbers): New.
2550         (icalendar--convert-recurring-to-diary): Handle multiple byday
2551         values in weekly rules.  (Bug#6766)
2553 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
2555         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2556         (icalendar--create-uid, icalendar-export-region)
2557         (icalendar--parse-summary-and-rest): Code formatting.
2559 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2561         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2562         to italicize headers.
2563         (calc-highlight-selections-with-faces): New variable.
2564         (calc-selected-face, calc-nonselected-face): New faces.
2566         * calc/calccomp.el (math-comp-highlight-string): Use
2567         `calc-highlight-selections-with-faces' to determine how to highlight
2568         sub-formulas.
2570         * calc/calc-sel.el (calc-show-selections): Change message to when
2571         using faces to highlight selections.
2573 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
2575         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2576         Add SQLite 3 keywords, functions and datatypes.
2577         (sql-interactive-mode): Remove `comint-process-echoes' set to t
2578         (Bug#6686).
2580 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
2582         * simple.el (select-active-regions): Move to keyboard.c.
2583         (deactivate-mark): Used saved-region-selection.
2584         (select-active-region): Function removed.
2585         (activate-mark, set-mark, push-mark-command)
2586         (handle-shift-selection): Don't call it.
2587         (keyboard-quit): Avoid adding the region to the window selection.
2589         * mouse.el (mouse-drag-track): Remove hacks to deal with old
2590         select-active-regions implementation.
2591         (mouse-yank-at-click): Doc fix.
2593         * cus-start.el: Add custom declaration for select-active-regions.
2595 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
2597         * simple.el (delete-forward-char): Doc fix.
2599         * tutorial.el (help-with-tutorial): Hack safe file-local variables
2600         after reading the tutorial.
2602 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
2604         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2605         for the case that a C style comment has its delimiters alone on
2606         their respective lines.
2608 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
2610         * net/tramp.el (tramp-handle-start-file-process): Set connection
2611         property "vec".
2612         (tramp-process-sentinel): Use it for flushing the cache.  We
2613         cannot do it via the process buffer, the buffer could be deleted
2614         already when running the sentinel.
2616 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2618         * comint.el (comint-mode): Make directory tracking functions
2619         functional on remote files.  (Bug#6764)
2621 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
2623         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2625 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
2627         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2628         unexec.c => unexcoff.c.
2630         * emacs-lisp/authors.el (authors-fixed-entries): Rename
2631         unexec.c => unexcoff.c.
2633 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
2635         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2636         cache, not only file cache.
2637         (tramp-process-sentinel): New defun.
2638         (tramp-handle-start-file-process): Use it, in order to invalidate
2639         file caches.
2641 2010-08-03  Leo  <sdl.web@gmail.com>
2643         * server.el (server-start): Simplify loop.
2645 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2647         * frame.el (screen-height, screen-width, set-screen-width)
2648         (set-screen-height): Remove ancient compatibility aliases.
2650         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2651         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
2653         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2654         that change current buffer.
2656 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2658         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2659         beginning of the string.  Use `string-match-p'.  (Bug#6765)
2661 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
2663         * cus-start.el (x-gtk-use-system-tooltips): New variable.
2665 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
2667         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2668         (package--builtins): Tweak descriptions.
2669         (package-print-package): Upcase descriptions if necessary.
2670         Show all built-in packages in font-lock-builtin-face.
2671         (package-list-packages-internal): Omit "emacs" package.
2672         Show status of built-in packages as "built-in".
2674 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
2676         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
2677         before killing to preserve the primary selection (Bug#6701).
2679         * term/x-win.el (x-select-text): Doc fix.
2681 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
2683         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2684         The following functions were modified or created:
2686         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2687         (objc-font-lock-extra-types):
2688         * progmodes/cc-mode.el (c-basic-common-init):
2689         * progmodes/cc-langs.el (c-make-mode-syntax-table)
2690         (c++-make-template-syntax-table)
2691         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2692         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2693         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2694         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2695         * progmodes/cc-fonts.el (c-make-inverse-face)
2696         (c-basic-matchers-after):
2697         * progmodes/cc-engine.el (c-forward-keyword-clause)
2698         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2699         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2700         (c-guess-continued-construct, c-guess-basic-syntax):
2702 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
2704         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2706 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
2708         * files.el (bidi-paragraph-direction): Define safe local values.
2710         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2711         language-info-alist.  Remove outdated FIXME in a comment.
2713 2010-07-31  Alan Mackenzie  <acm@muc.de>
2715         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2716         Auto-fill broken in C/C++ modes.
2718 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
2720         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2721         (menu-bar-showhide-tool-bar-menu-customize-disable)
2722         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2723         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2724         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2725         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2726         make a menu for Options => toolbar that can move it.
2728 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
2730         * emacs-lisp/package-x.el (package--make-rss-entry):
2731         (package-maint-add-news-item, package--update-news)
2732         (package-upload-buffer-internal): New arg ARCHIVE-URL.
2734         * emacs-lisp/package.el (package-archive-url): Rename from
2735         package-archive-id.
2736         (package-install): Doc fix.
2737         (package-download-single, package-download-tar, package-install)
2738         (package-menu-view-commentary): Callers changed.
2740 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
2742         * net/tramp.el (tramp-handle-start-file-process): Check only for
2743         `remote-tty' process property.
2744         (tramp-open-shell): Don't check for tty.
2745         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2746         process property.
2748         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2749         host.
2751 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
2753         * emacs-lisp/package.el (package-load-list, package-archives)
2754         (package-archive-contents, package-user-dir)
2755         (package-directory-list, package--builtins, package-alist)
2756         (package-activated-list, package-obsolete-alist): Mark as risky.
2758 2010-07-28  Phil Hagelberg  <phil@evri.com>
2760         Add support for non-default package repositories.
2761         * emacs-lisp/package.el (package-archive-base): Var deleted.
2762         (package-archives): New variable.
2763         (package-archive-contents): Doc fix.
2764         (package-load-descriptor): Do nothing if descriptor file is missing.
2765         (package--write-file-no-coding): New function.
2766         (package-unpack-single): Use it.
2767         (package-archive-id): New function.
2768         (package-download-single, package-download-tar)
2769         (package-menu-view-commentary): Use it.
2770         (package-installed-p): Make second argument optional.
2771         (package-read-all-archive-contents): New function.
2772         (package-initialize): Use it.
2773         (package-read-archive-contents): Add ARCHIVE argument.
2774         (package--add-to-archive-contents): New function.
2775         (package-install): Don't call package-read-archive-contents.
2776         (package--download-one-archive): Store archive file in a
2777         subdirectory of package-user-dir.
2778         (package-menu-execute): Remove spurious line movement.
2780 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
2782         * cus-start.el (tool-bar-style): Add text-image-horiz.
2784 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2786         * progmodes/gud.el (gud-common-init): Check for remoteness of
2787         `file', and not of `default-directory'.
2789 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2791         * net/tramp.el (tramp-methods): Move hostname to the end in all
2792         ssh `tramp-login-args'.
2793         (tramp-verbose): Describe verbose level 9.
2794         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2795         (tramp-open-connection-setup-interactive-shell): Trace stty
2796         settings if `tramp-verbose' >= 9.
2797         (tramp-handle-start-file-process): Implement tty setting.
2798         (Bug#4604, Bug#6360)
2800         * net/tramp-cmds.el (tramp-bug): Recommend setting of
2801         `tramp-verbose' to 9.
2803 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
2805         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2806         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2807         Remove references to package `lisp-re' (bug#4369).
2809 2010-07-27  Tom Tromey  <tromey@redhat.com>
2811         * progmodes/js.el (js-mode):
2812         * progmodes/make-mode.el (makefile-mode):
2813         * progmodes/simula.el (simula-mode):
2814         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2816 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
2818         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2820         * time.el (display-time-day-and-date): Remove spurious * in docstring.
2821         (display-time-world-buffer-name, display-time-world-mode-map):
2822         Fix typos in docstrings.
2824 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
2826         * image-mode.el (image-display-size): New function.
2827         (image-forward-hscroll, image-next-line, image-eol, image-eob)
2828         (image-mode-fit-frame): Use it (Bug#6639).
2830 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
2832         * dired.el (dired-buffers-for-dir): Handle list values of
2833         dired-directory (Bug#6636).
2835 2010-07-26  Sam Steingold  <sds@gnu.org>
2837         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2838         Do not call `x-get-selection' the second time, reuse the value.
2840 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
2842         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2843         which consist of control chars only.  Suggested by Richard Stallman.
2845 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
2847         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2848         exists before passing an error to find-file-not-found-functions
2849         (bug#6723).
2851 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
2853         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2854         Remove leading nil element, adjust values.
2855         (tetris-shapes, tetris-shape-scores):
2856         Change representation of shapes and remove some redundancy.
2857         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2858         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2859         Adjust for working with new representation of shapes.
2860         (tetris-shape-rotations): New function.
2861         (tetris-move-bottom, tetris-move-left, tetris-move-right)
2862         (tetris-rotate-prev, tetris-rotate-next):
2863         Adjust for working with the new version of tetris-test-shape.
2865 2010-07-23  Markus Triska  <markus.triska@gmx.at>
2867         * progmodes/ps-mode.el: Use comint (bug#5954).
2868         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2869         (ps-mode-other-newline): Simplify.
2870         (ps-run-mode): Derive from comint-mode instead of
2871         fundamental-mode, yielding input history etc.
2872         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2873         (ps-run-send-string): Adapt for comint-mode.
2874         (ps-run-newline): Remove now unneeded function.
2876 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2878         * net/tramp.el (tramp-methods): Move hostname to the end in all
2879         plink `tramp-login-args'.
2881 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2883         * net/tramp.el (tramp-open-shell): New defun.
2884         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2885         Use it.
2887 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2889         * net/tramp.el (tramp-file-name-regexp-unified)
2890         (tramp-completion-file-name-regexp-unified): On W32 systems, do
2891         not regard the volume letter as remote filename.  (Bug#5447)
2893 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
2895         * custom.el (custom-declare-variable): Give a clearer error message
2896         when the docstring is missing (bug#6476).
2898 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
2900         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
2901         (sql-login-params): New widget definition.
2902         (sql-oracle-login-params, sql-mysql-login-params)
2903         (sql-solid-login-params, sql-sybase-login-params)
2904         (sql-informix-login-params, sql-ingres-login-params)
2905         (sql-ms-login-params, sql-postgres-login-params)
2906         (sql-interbase-login-params, sql-db2-login-params)
2907         (sql-linter-login-params): Use it.
2908         (sql-sqlite-login-params): Use it; Define "database" parameter as
2909         a file name.
2910         (sql-sqlite-program): Change to "sqlite3".
2911         (sql-comint-sqlite): Make sure database name is complete.
2912         (sql-for-each-login): New function.
2913         (sql-connect, sql-save-connection): Use it.
2914         (sql-get-login-ext): New function.
2915         (sql-get-login): Use it.
2916         (sql-make-alternate-buffer-name): Handle :file parameters.
2918 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
2920         * dired.el (dired-no-confirm): Document value t and fix defcustom to
2921         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
2923 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
2925         * dired.el (dired-mode-map): Use command remapping (bug#6632).
2927 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
2929         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2931 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
2933         * net/tramp.el (tramp-get-ls-command)
2934         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2935         instead of "/".
2937 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
2939         * progmodes/sql.el: Version 2.3.
2940         (sql-connection-alist): Changed keys from symbols to strings;
2941         enhanced the widget definition.
2942         (sql-mode-menu): Added submenu to select connections.
2943         (sql-interactive-mode-menu): Added "Save Connection" item.
2944         (sql-add-product): Fixed menu item.
2945         (sql-get-product-feature): Improved error handling.
2946         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2947         (sql-make-alternate-buffer-name): Simplified.
2948         (sql-product-interactive): Handle missing product.
2949         (sql-connect): Support string keys, minor improvements.
2950         (sql-save-connection): New function.
2951         (sql-connection-menu-filter): New function.
2953 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2955         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2956         (tramp-open-connection-setup-interactive-shell): Apply
2957         workaround for IRIX64 bug.  Move argument of last
2958         `tramp-send-command' where it belongs to.
2960 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2962         * net/tramp.el (tramp-perl-file-attributes)
2963         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2964         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2965         front of `login-args'.
2967 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
2969         * time.el (display-time-world-mode): Define with `define-derived-mode'.
2970         Set `show-trailing-whitespace' to nil.
2971         (display-time-world-display): Simplify.
2973 2010-07-18  Alan Mackenzie  <acm@muc.de>
2975         Enhance `c-file-style' in file/directory local variables.
2976         * progmodes/cc-mode.el (c-count-cfss): New function.
2977         (c-before-hack-hook): Call `c-set-style' differently according to
2978         whether c-file-style was set in file or directory local
2979         variables.
2981 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
2983         * progmodes/sql.el: Version 2.2.
2984         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
2985         defcustom :safe keyword rather than putting safe-local-variable
2986         property.
2987         (sql-password): Use defcustom :risky keyword rather than putting
2988         risky-local-variable property.
2989         (sql-oracle-login-params, sql-sqlite-login-params)
2990         (sql-solid-login-params, sql-sybase-login-params)
2991         (sql-informix-login-params, sql-ingres-login-params)
2992         (sql-ms-login-params, sql-postgres-login-params)
2993         (sql-interbase-login-params, sql-db2-login-params)
2994         (sql-linter-login-params): Add `port' option.
2995         (sql-get-product-feature): Added NO-INDIRECT parameter.
2996         (sql-comint-oracle, sql-comint-sybase)
2997         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
2998         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
2999         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3000         (sql-comint-linter): Renamed sql-connect-* functions to
3001         sql-comint-*.
3002         (sql-product-alist, sql-mode-menu): Renamed as above and
3003         :sqli-connect-func to :sqli-comint-func.
3004         (sql-connection): New variable.
3005         (sql-interactive-mode): Set it.
3006         (sql-connection-alist): New variable.
3007         (sql-connect): New function.
3008         (sql--alt-buffer-part, sql--alt-if-not-empty)
3009         (sql-make-alternate-buffer-name): Improved alternative buffer name.
3011 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3013         * image-mode.el (image-bookmark-make-record): Do not set context
3014         in an image (Bug#6650).
3016 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3018         * simple.el (select-active-region): New function.
3019         (push-mark-command, set-mark, activate-mark)
3020         (handle-shift-selection): Use it.
3021         (deactivate-mark): Don't check for size of region.
3023         * mouse.el (mouse-drag-track): Use select-active-region.
3025 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
3027         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3028         "--dired" stronger.
3030 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3032         * term/x-win.el (x-select-enable-primary): Change default to nil.
3033         (x-select-enable-clipboard): Add :version keyword.
3035         * mouse.el (mouse-drag-copy-region):
3036         * simple.el (select-active-regions): Likewise.
3038 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
3040         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3041         (vc-coding-system-for-diff): Use it to decide whether to inherit
3042         from the file the EOL format for reading the diffs of that file.
3043         (Bug#4451)
3045 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
3047         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3048         unibyte, so compressed attachments are not compressed again.
3050 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
3052         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3053         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3054         (tramp-find-shell): Simplify setting connection property.
3055         (tramp-get-ls-command): Make test for "--color=never" stronger.
3057 2010-07-15  Simon South  <ssouth@member.fsf.org>
3059         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3060         blocks within record declarations (i.e. variant parts) correctly.
3062 2010-07-15  Simon South  <ssouth@member.fsf.org>
3064         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3065         over literal tokens when parsing so newlines aren't "absorbed" by
3066         single-line comments.  Corrects the indentation of case blocks
3067         that have a comment on the first line.
3069 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
3071         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3072         by Drew Adams (Bug#5504).
3074 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3076         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3077         now that Unicode is used (Bug#6594).
3079 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
3081         * term/x-win.el (x-select-enable-clipboard): Default to t.
3082         (x-initialize-window-system): Don't overwrite Paste menu item.
3084         * simple.el (select-active-regions): Default to t.
3085         (push-mark-command): Don't overwrite primary with empty string.
3087         * mouse.el: Bind mouse-2 to mouse-yank-primary.
3088         (mouse-drag-copy-region): Default to nil.
3090         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3091         Cut/Copy/Paste menu bar items.
3093 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3095         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3096         Patch applied by Karl Fogel.
3098         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3099         and `bookmark-current-buffer' if they have been already set in
3100         another buffer (e.g gnus-art).
3102 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3103             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3105         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3107         * bookmark.el (bookmark-make-record-default): Allow unneeded
3108         information to be omitted from the record.
3110         Adjust declarations and calls:
3112         * info.el (bookmark-make-record-default): Adjust declaration.
3113         (Info-bookmark-make-record): Adjust call.
3115         * woman.el (bookmark-make-record-default): Adjust declaration.
3116         (woman-bookmark-make-record): Adjust call.
3118         * man.el (bookmark-make-record-default): Adjust declaration.
3119         (Man-bookmark-make-record): Adjust call.
3121         * image-mode.el (bookmark-make-record-default): Adjust declaration.
3123         * doc-view.el (bookmark-make-record-default): Adjust declaration.
3125 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3127         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3128         This is also from Thierry Volpiatto's patch in bug #6444.  However,
3129         because it was extraneous to the functional change in that patch,
3130         and causes a re-indendation, I am committing it separately.
3132 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3134         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3135         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3136         Patch applied by Karl Fogel (Bug#6444).
3138 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
3140         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3142 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
3144         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3145         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
3146         (ns-alternatives-map): Change S-tab binding to backtab
3147         (bug#6616).
3149         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3150         under ns.
3152 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
3154         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3155         (Bug#5806)
3157         * language/tv-util.el (tai-viet-re): Remove format.
3159 2010-07-12  Kenichi Handa  <handa@m17n.org>
3161         * language/hebrew.el: Remove no-byte-compile declaration.
3162         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
3163         composition-function-table for 3-character looking back.
3164         (hebrew-font-get-precomposed): New function.
3165         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3167 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
3169         * mouse.el (mouse-drag-track): Handle select-active-regions
3170         (Bug#6612).
3172 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
3174         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3175         empty argument to gvfs-copy.
3177 2010-07-10  Glenn Morris  <rgm@gnu.org>
3179         * calendar/calendar.el (calendar-week-end-day): New function.
3180         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3181         Respect calendar-week-start-day.  (Bug#6606)
3182         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3183         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3184         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3185         respect calendar-week-start-day.
3187 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
3189         * simple.el (use-region-p): Doc fix (Bug#6607).
3191 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
3193         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3194         regexps for cucumber and ruby.
3196 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
3198         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3199         (epa-file-insert-file-contents): Hack to prevent
3200         find-file from opening empty buffer when decryption failed
3201         (bug#6568).
3203 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
3205         * textmodes/ispell.el (ispell-alternate-dictionary):
3206         Use file-readable-p.
3207         Return nil if no word-list is found at default locations.
3208         (ispell-complete-word-dict): Default to nil.
3209         (ispell-command-loop): Use 'word-list' when using lookup-words.
3210         (lookup-words): Use ispell-complete-word-dict or
3211         ispell-alternate-dictionary.  Check for word-list availability
3212         and handle errors if needed with better messages (Bug#6539).
3213         (ispell-complete-word): Use ispell-complete-word-dict or
3214         ispell-alternate-dictionary.
3216 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
3218         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3219         builtins (BufferError, BytesWarning, WindowsError; callables
3220         bin, bytearray, bytes, format, memoryview, next, print; __package__).
3222 2010-07-07  Glenn Morris  <rgm@gnu.org>
3224         * play/zone.el (top-level): Do not require timer, tabify, or cl.
3225         (zone-shift-left): Ignore intangibility, and any errors from
3226         forward-char.
3227         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
3228         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3229         deleting, and copying text properties.
3230         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3231         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3232         to point-max is hard.
3233         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3234         (zone-fill-out-screen): Ignore intangibility.
3236 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
3238         * menu-bar.el (menu-bar-mode):
3239         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3240         if it has been set.
3242         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3243         word/line selection (Bug#6565).
3245 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
3247         * net/dbus.el (dbus-send-signal): Declare function.
3249 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
3251         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3252         (dbus-register-property): New optional argument EMITS-SIGNAL.
3253         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3255 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
3257         * mouse.el (mouse-drag-overlay): Variable deleted.
3258         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3259         (mouse--remap-link-click-p): New function.
3260         (mouse-drag-track): Handle dragging by using temporary Transient
3261         Mark mode, instead of a special overlay.
3262         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3263         mouse-show-mark.
3265         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3266         deleted.
3268 2010-07-02  Juri Linkov  <juri@jurta.org>
3270         * autoinsert.el (auto-insert-alist): Fix readability
3271         by using dotted pair notation for lambda.
3273 2010-07-02  Juri Linkov  <juri@jurta.org>
3275         * faces.el (read-face-name): Rename arg `string-describing-default'
3276         to `default'.  Doc fix.  Display the default value in quotes
3277         in the prompt.  With empty input, return the `default' arg,
3278         unless the default value is a string (in which case return nil).
3279         (describe-face): Replace the string `default' arg of `read-face-name'
3280         with the symbol `default'.
3282 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
3284         * emulation/viper-cmd.el (viper-delete-backward-char)
3285         (viper-del-backward-char-in-insert)
3286         (viper-del-backward-char-in-replace, viper-change)
3287         (viper-backward-indent): Replace delete-backward-char with
3288         delete-char (Bug#6552).
3290 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
3292         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3294 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3296         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3297         argument passed to frame-creation-function (Bug#5378).
3299         * faces.el (x-handle-named-frame-geometry)
3300         (x-handle-reverse-video, x-create-frame-with-faces)
3301         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3302         separately consult default-frame-alist.  It is now passed as the
3303         PARAMETER argument.
3305 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
3307         * startup.el (command-line): Don't call tool-bar-setup in a
3308         tty-only build.
3310 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3312         * ruler-mode.el (ruler--save-header-line-format): New fun.
3313         (ruler-mode): Use it as a setter function, so as not to overwrite
3314         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3316 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
3318         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
3319         (vc-root-diff, vc-print-root-log, vc-log-incoming)
3320         (vc-log-outgoing): Use it.
3321         (vc-diff-internal): Set diff-vc-backend.
3323         * vc/diff-mode.el (diff-vc-backend): New var.
3325 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
3327         * dynamic-setting.el (font-setting-change-default-font): Remove
3328         call to message.
3330 2010-06-28  Kenichi Handa  <handa@m17n.org>
3332         * international/quail.el (quail-insert-kbd-layout): Fix the
3333         showing of untranslated characters.
3335 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
3337         * simple.el (delete-active-region): New option.
3338         (delete-backward-char): Implement in Lisp.
3339         (delete-forward-char): New command.
3341         * mouse.el (mouse-region-delete-keys): Deleted.
3342         (mouse-show-mark): Simplify.
3344         * bindings.el (global-map): Bind delete and DEL, the former to
3345         delete-forward-char.
3347 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
3349         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3350         (ruby-mode): Bind indent-line-function (Bug#5119).
3352 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3354         * startup.el (command-line): Recognize "0" X resource value.
3356 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3358         * startup.el (command-line): Use X resources to set the value of
3359         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3361         * menu-bar.el (menu-bar-mode):
3362         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3363         Set init-value to t.
3365         * frame.el (frame-notice-user-settings): Don't change
3366         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3367         vice versa (Bug#2249).
3369 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
3371         * w32-fns.el (w32-convert-standard-filename): Doc fix.
3373 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3375         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3376         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3378         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3379         default directories are expanded (Bug#6143).
3381 2010-06-24  Juri Linkov  <juri@jurta.org>
3383         * minibuffer.el (completions-format): Change default from nil to
3384         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
3386 2010-06-24  Juri Linkov  <juri@jurta.org>
3388         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3389         buffer-locally to lambda that re-runs the vc diff command.
3390         (Bug#6447)
3392 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
3394         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3395         echo area is in use (Bug#3412).
3397 2010-06-22  Glenn Morris  <rgm@gnu.org>
3399         * textmodes/texinfmt.el (texinfo-format-region)
3400         (texinfo-raise-lower-sections, texinfo-format-separate-node)
3401         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3402         (texinfo-format-option, texinfo-noindent):
3403         Use line-beginning-position and line-end-position.
3405         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3406         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3407         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3408         utf-8 characters.
3410 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
3412         * play/zone.el (zone-fall-through-ws): Fix next-line ->
3413         forward-line fallout.
3415 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
3417         * mouse.el (mouse-appearance-menu): Add docstring.
3419         * help.el (describe-key): Print up-event using key-description.
3421 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
3423         * net/zeroconf.el (zeroconf-resolve-service)
3424         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3425         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3427 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3429         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3431 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
3433         Avoid displaying files with a nil state in vc-dir.
3434         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3435         cases that cause insertion.
3436         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3437         with a nil state.
3439 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3441         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3443 2010-06-29  Leo  <sdl.web@gmail.com>
3445         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
3447 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
3449         * generic-x.el (bat-generic-mode): Fix regexp for command line
3450         switches (Bug#5719).
3452 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
3454         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3455         of nconc to avoid pure storage error (Bug#6239).
3457 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
3459         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3460         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3461         bindings of bookmark-automatically-show-annotations (Bug#6515).
3463 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
3465         * arc-mode.el (archive-zip-extract): Don't quote the file name on
3466         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
3468 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3470         * comint.el (make-comint, make-comint-in-buffer): Mention return
3471         value in the docstrings.  (Bug#6498)
3473 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
3475         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3476         since it is not present when using some non-default switches.
3478 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
3480         * simple.el (compose-mail): Fix doc string to refer to
3481         `compose-mail-user-agent-warnings', instead of to the
3482         nonexistent `compose-mail-check-user-agent'.
3484 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
3486         Fix an indentation bug:
3488         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3489         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3490         of existing values.
3492         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3493         (c-clear->-pair-props-if-match-before): now return t when they've
3494         cleared properties, nil otherwise.
3495         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3496         by taking account of the existing value.
3498         * progmodes/cc-defs.el
3499         (c-clear-char-property-with-value-function): Fix this to clear the
3500         property rather than overwriting it with nil.
3502 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
3504         * emacs-lisp/package.el (package-print-package): Add link to
3505         package description via describe-package.
3506         (describe-package-1): List package requirements.  Add button to
3507         perform installation.
3508         (package-menu-describe-package): New command.
3510         * help-mode.el (help-package): New button type.
3512 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
3514         * emacs-lisp/package.el: Move package-list-packages binding to
3515         menu-bar.el.
3516         (describe-package, describe-package-1, package--dir): New funs.
3517         (package-activate-1): Use package--dir.
3519         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3521         * help-mode.el (help-package-def): New button type.
3523         * menu-bar.el: Move package-list-packages binding here from
3524         package.el.
3526 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
3528         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
3530 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * emacs-lisp/edebug.el (edebug-read-list):
3533         Phase out old-style backquotes.
3535 2010-06-17  Juri Linkov  <juri@jurta.org>
3537         * help-mode.el (help-mode): Set buffer-local variable
3538         revert-buffer-function to help-mode-revert-buffer.
3539         (help-mode-revert-buffer): New function.
3541         * info.el (Info-revert-find-node): Check for major-mode Info-mode
3542         before popping to "*info*" (like in other Info functions).
3543         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
3544         old-history-forward.  Pop to old-buffer-name or "*info*" to
3545         recreate the killed buffer.  Set Info-history-forward from
3546         old-history-forward.
3547         (Info-breadcrumbs-depth): Add :group and :version.
3549 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
3551         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3553 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
3555         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3556         for languages like Portuguese with pt_{BR,PT} and no plain pt.
3558 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
3560         * emacs-lisp/package.el (package-menu-mode-map):
3561         Move initialization into declaration.
3563         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3565 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
3567         * emacs-lisp/package.el (package-archive-base): Point to
3568         elpa.gnu.org.
3569         (package-enable, package-load-list): New defcustoms.
3570         (package-user-dir, package-directory-list): Turn into defcustoms.
3571         Don't include package-user-dir in package-directory-list.
3572         (package--builtins-base): Don't include Emacs as a "package".
3573         (package-subdirectory-regexp): New var.
3574         (package-load-all-descriptors, package-compute-transaction)
3575         (package-download-transaction): Obey package-load-list.
3576         (package-activate-1): Rename from package-do-activate.
3577         (package-list-packages-internal): Check package-load-list.
3578         (package-load-descriptor, package-generate-autoloads)
3579         (package-unpack, package-unpack-single)
3580         (package--read-archive-file, package-delete): Use
3581         expand-file-name.
3583         * emacs-lisp/package-x.el: New file.  Package uploading
3584         functionality split out from package.el.
3586         * startup.el (command-line): Load packages after reading init file.
3588 2010-06-17  Tom Tromey  <tromey@redhat.com>
3590         * emacs-lisp/package.el: New file.
3592 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3594         Fix vc-annotate for renamed files when using Git.
3595         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3596         ls-files.  Doe not pass the object as a file name to cat-file, it
3597         is not a file name.
3598         (vc-git-annotate-command): Pass the file name using -- to avoid
3599         ambiguity with the revision.
3600         (vc-git-previous-revision): Pass a relative file name.
3602 2010-06-22  Glenn Morris  <rgm@gnu.org>
3604         * progmodes/js.el (js-mode-map): Use standard capitalization and
3605         ellipses for menu entries.
3607         * wid-edit.el (widget-complete): Doc fix.
3609 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
3611         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3613 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3615         Fix annotating other revisions for renamed files in vc-annotate.
3616         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3617         VC backend.  Use it when non-nil.
3618         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3619         (Bug#6487)
3621         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3622         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3623         Do not pass the file name to the 'previous-revision call when we
3624         don't want a file diff.  (Bug#6489)
3626 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3628         Fix finding revisions for renamed files in vc-annotate.
3629         * vc/vc.el (vc-find-revision): Add an optional argument for
3630         the VC backend.  Use it when non-nil.
3631         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3632         backend to vc-find-revision.  (Bug#6487)
3634 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3636         Fix reading file names in Git annotate buffers.
3637         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3638         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
3640 2010-06-20  Alan Mackenzie  <acm@muc.de>
3642         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3643         in file local variables, set it first.
3645 2010-06-19  Glenn Morris  <rgm@gnu.org>
3647         * descr-text.el (describe-char-unicode-data): Insert separating
3648         space when needed.  (Bug#6422)
3650         * progmodes/idlwave.el (idlwave-action-and-binding):
3651         Fix typo in 2009-12-03 change.  (Bug#6450)
3653 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3655         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3656         handling for `lambda' (misunderstanding).
3658 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
3660         * calc/calc-poly.el (math-accum-factors): Make sure that
3661         constants aren't distributed after they are factored out.
3663 2010-06-16  Juri Linkov  <juri@jurta.org>
3665         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3666         `list-colors-print'.  (Bug#6332)
3668         * subr.el (read-quoted-char): Fix up last change (bug#6290).
3670 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3672         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3673         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
3675         * font-lock.el (font-lock-major-mode): Rename from
3676         font-lock-mode-major-mode to distinguish it from
3677         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3678         (font-lock-set-defaults):
3679         * font-core.el (font-lock-default-function): Adjust users.
3680         (font-lock-mode): Don't set it at all.
3682 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3684         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
3686 2010-06-16  Glenn Morris  <rgm@gnu.org>
3688         * calendar/appt.el (appt-time-msg-list): Doc fix.
3689         (appt-check): Let-bind appt-warn-time.
3690         (appt-add): Make the 3rd argument optional.
3691         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
3692         Only add WARNTIME to the output list if non-nil.
3694 2010-06-16  Ivan Kanis  <apple@kanis.eu>
3696         * calendar/appt.el (appt-check): Let the 3rd element of
3697         appt-time-msg-list specify the warning time.
3698         (appt-add): Add new argument with the warning time.  (Bug#5176)
3700 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3702         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3703         older than version 1.6.  (Bug#6361)
3705 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
3707         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3708         used by cl-do-arglist.  (Bug#6408)
3710 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
3712         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3713         portuguese casechars/not-casechars for missing 'çÇ'.
3714         Suggested by Rolando Pereira (bug#6434).
3716 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
3718         * facemenu.el (list-colors-sort): Doc fix.
3720 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3722         * progmodes/sql.el (sql-connect-mysql): Fix typo.
3724 2010-06-14  Juri Linkov  <juri@jurta.org>
3726         Add sort option `list-colors-sort'.  (Bug#6332)
3727         * facemenu.el (color-rgb-to-hsv): New function.
3728         (list-colors-sort): New defcustom.
3729         (list-colors-sort-key): New function.
3730         (list-colors-display): Doc fix.  Sort list according to the option
3731         `list-colors-sort'.
3732         (list-colors-print): Add HSV values to `help-echo' property of
3733         RGB strings.
3735 2010-06-14  Juri Linkov  <juri@jurta.org>
3737         * compare-w.el: Move to the "vc" subdirectory.
3739 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3741         * image-mode.el (image-mode-map): Remap left-char and right-char.
3743         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3745 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
3747         * term/common-win.el (x-colors): Add all the color names defined
3748         in rgb.txt (Bug#6332).
3750         * facemenu.el (list-colors-print): Don't print extra names if it
3751         will overflow the window width.
3753         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3754         change (Bug#6343).
3756 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
3758         * files.el (make-directory): Doc fix (bug#6396).
3760 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
3762         * net/tramp.el (tramp-remote-process-environment): Protect version
3763         string by apostroph.
3764         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3765         XEmacs.
3766         (tramp-file-name-for-operation): Add `call-process-region'.
3767         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3769         * net/tramp-compat.el (top): Do not autoload
3770         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3771         only when `start-file-process' is not bound.
3772         (tramp-advice-file-expand-wildcards): Do not use
3773         `tramp-handle-file-remote-p'.
3774         (tramp-compat-make-temp-file): Handle the case, that
3775         `make-temp-file' has no third argument EXTENSION.
3777 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
3779         * makefile.w32-in (WINS_BASIC): Include new directory vc.
3781         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3783 2010-06-11  Juri Linkov  <juri@jurta.org>
3785         * finder.el (finder-known-keywords): Add keyword "vc"
3786         for version control.
3788         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3789         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3790         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3791         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3793 2010-06-11  Juri Linkov  <juri@jurta.org>
3795         Move version control related files to the "vc" subdirectory.
3796         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3797         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3798         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3799         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3800         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3801         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3802         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3803         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3804         Move files to the "vc" subdirectory.
3806 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
3808         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3809         (Bug#6367).
3811 2010-06-11  Stephen Eglen  <stephen@gnu.org>
3813         * shell.el: Bind `shell-resync-dirs' to M-RET.
3815 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
3817         * notifications.el: Move file from lisp/net, because it is
3818         supposed to talk locally to the user.
3820 2010-06-10  Julien Danjou  <julien@danjou.info>
3822         * net/notifications.el (notifications-on-action-signal)
3823         (notifications-on-closed-signal): Pass notification id as first
3824         argument to the callback functions.  Add docstrings.
3825         (notifications-notify): Fix docstring.
3827 2010-06-10  Glenn Morris  <rgm@gnu.org>
3829         * emacs-lisp/authors.el (authors-ignored-files)
3830         (authors-valid-file-names): Add some files.
3832 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3834         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3835         merge conflict, giving preference to the emacs-23 version of the code.
3837 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3839         * emacs-lisp/advice.el (ad-compile-function):
3840         Define warning-suppress-types before we let-bind it (bug#6275).
3842         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3843         declare it, make it buffer-local and permanent-local (bug#6324).
3844         (vc-resynch-window): Adjust name.
3845         * vc-hooks.el (vc-find-file-hook): Adjust name.
3847 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
3849         * net/notifications.el (notifications-notify): Fix docstring.
3851 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3853         Update to Unicode 6.0.0 beta.
3854         * international/charprop.el: Update copyright.
3855         * international/mule-cmds.el (ucs-names): Update character ranges.
3856         * international/uni-bidi.el:
3857         * international/uni-category.el:
3858         * international/uni-combining.el:
3859         * international/uni-comment.el:
3860         * international/uni-decimal.el:
3861         * international/uni-decomposition.el:
3862         * international/uni-digit.el:
3863         * international/uni-lowercase.el:
3864         * international/uni-mirrored.el:
3865         * international/uni-name.el:
3866         * international/uni-numeric.el:
3867         * international/uni-old-name.el:
3868         * international/uni-titlecase.el:
3869         * international/uni-uppercase.el: Regenerate.
3871 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3873         * emacs-lisp/smie.el (comment-string-strip): Declare function.
3874         (smie-precs-precedence-table): Fix typo in docstring.
3876         * vc-mtn.el (log-edit-extract-headers): Declare function.
3878         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3880         * net/notifications.el (dbus-register-signal): Declare function.
3881         (notifications-notify): Fix typos and reflow docstring.
3883 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3885         Improve VC create/retrieve tag/branch.
3886         * vc.el (vc-create-tag): Do not read the directory name for VCs
3887         with repository revision granularity.  Adjust the tag/branch
3888         prompt.  Reset VC properties.
3889         (vc-retrieve-tag): Do not read the directory name for VCs
3890         with repository revision granularity.  Reset VC properties.
3892 2010-06-09  Julien Danjou  <julien@danjou.info>
3894         * net/notifications.el: New file.
3896 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3898         Add optional support for resetting VC properties.
3899         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3900         call vc-file-clearprops when true.
3901         (vc-resynch-buffer): Add new optional argument, pass it down.
3902         (vc-resynch-buffers-in-directory): Likewise.
3904         Improve support for special markup in the VC commit message.
3905         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3906         * vc-hg.el (vc-hg-checkin): Add support for Date:.
3907         * vc-git.el (vc-git-checkin):
3908         * vc-bzr.el (vc-bzr-checkin): Likewise.
3910 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3912         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3913         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3915 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
3917         * iimage.el: Remove images as soon as the underlying text is modified.
3918         (iimage-modification-hook): New function.
3919         (iimage-mode-buffer): Use it.
3921 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3923         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3924         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
3925         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
3926         (smie-indent-keyword): Add handling of open-paren keywords.
3927         (smie-indent-comment-continue): Don't assume comment-continue.
3929 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
3931         * window.el (pop-to-buffer): Remove the conditional that
3932         compares new-window and old-window, so it will reselect
3933         the selected window unconditionally.
3934         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3936 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3938         * emacs-lisp/smie.el (smie-indent-offset-after)
3939         (smie-indent-forward-token, smie-indent-backward-token): New functions.
3940         (smie-indent-after-keyword): Use them.
3941         (smie-indent-fixindent): Only applies to the indentation of the BOL.
3942         (smie-indent-keyword): Tweak the black magic.
3943         (smie-indent-comment-continue): Strip comment-continue before use.
3944         (smie-indent-functions): Indent comments before keywords.
3946 2010-06-06  Juri Linkov  <juri@jurta.org>
3948         * isearch.el (isearch-lazy-highlight-search): Fix looping
3949         by checking for empty match.  This syncs this loop with the
3950         similar loop in `isearch-search'.  (Bug#6362)
3952 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
3954         * net/dbus.el (dbus-register-method): Declare function.
3955         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3956         (dbus-introspect): Doc fix.
3957         (dbus-event-bus-name, dbus-introspect-get-interface)
3958         (dbus-introspect-get-argument): Reflow docstrings.
3960 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
3962         vc-log-incoming/vc-log-outgoing fixes for Git.
3963         * vc-git.el (vc-git-log-view-mode): Fix font lock for
3964         incoming/outgoing logs.
3965         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3966         instead of vc-git-compute-remote.
3967         (vc-git-compute-remote): Remove.
3969 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
3971         * term/common-win.el (x-colors): Add "dark green" and "dark
3972         turquoise" (Bug#6332).
3974 2010-06-04  Juri Linkov  <juri@jurta.org>
3976         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
3977         Instead of setting `replace' to t and replacing the same string
3978         with itself, don't do certain actions when
3979         kill-do-not-save-duplicates is non-nil and string is equal to car
3980         of kill-ring: don't call menu-bar-update-yank-menu, don't push
3981         interprogram-paste strings to kill-ring, and don't push the input
3982         argument `string' to kill-ring.
3983         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
3985 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
3987         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
3989 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
3991         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
3992         (tramp-gvfs-handler-mounted-unmounted)
3993         (tramp-gvfs-connection-mounted-p): Handle default-location.
3995         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
3996         move files to trash.
3998 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4000         * international/mule-cmds.el (nonascii-insert-offset)
4001         (nonascii-translation-table): Add obsolescence information.
4003         * international/mule.el (make-translation-table-from-vector): Doc fix.
4005 2010-06-03  Glenn Morris  <rgm@gnu.org>
4007         * desktop.el (desktop-clear-preserve-buffers):
4008         Add "*Warnings*" buffer.  (Bug#6336)
4010 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
4012         vc-log-incoming/vc-log-outgoing improvements for Git.
4013         * vc-git.el (vc-git-log-outgoing): Use the same format as the
4014         short log.
4015         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
4017         Add bindings for vc-log-incoming and vc-log-outgoing.
4018         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4019         and vc-log-outgoing.
4020         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4021         and vc-log-outgoing.
4023 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4025         * net/rcirc.el (rcirc-sort-nicknames): Remove.
4026         (rcirc-handler-366): Always sort nicknames.
4028 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
4030         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4032 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4034         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4036 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4038         * net/rcirc.el (rcirc-sort-nicknames): Change default.
4039         (rcirc-sort-nicknames-join): Avoid setq.
4041 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4043         * net/rcirc.el (rcirc-sort-nicknames): New custom.
4044         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4045         (rcirc-handler-366): Use them.
4047 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4049         Split smie-indent-calculate into more manageable chunks.
4050         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4051         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4052         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4053         (smie-indent-exps): Extract from smie-indent-calculate.
4054         (smie-indent-functions): New var.
4055         (smie-indent-functions): Use them.
4057 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4060         (smie-indent-calculate): Simplify and cleanup.
4062 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
4064         * net/tramp-gvfs.el (top): Require url-util.
4065         (tramp-gvfs-mount-point): Remove.
4066         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4067         New defuns.
4068         (with-tramp-dbus-call-method): Format trace message.
4069         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4070         Implement backup call, when operation on local files fails.
4071         Use progress reporter.  Flush properties of changed files.
4072         (tramp-gvfs-handle-make-directory): Make more traces.
4073         (tramp-gvfs-url-file-name): Hexify file name in url.
4074         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4075         into account for the resulting file name.
4076         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4077         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
4078         (tramp-gvfs-handler-mounted-unmounted)
4079         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4080         attribute "default_location".  Set "prefix" property.
4081         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4082         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4083         exists.  Raise an error, if not (due to a corresponding answer
4084         "no" in interactive questions, for example).
4086 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
4088         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4090 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
4092         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4093         right-*.  (Bug#6265)
4095 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
4097         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4098         * vc-git.el (vc-git-compute-remote): New function.
4099         (vc-git-log-outgoing): Use it instead of hard coding a value.
4100         (vc-git-log-incoming): New function.
4102         Improve state updating for VC tag commands.
4103         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4104         to update the state of all buffers in the directory.
4106         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4108 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4110         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4111         `file-directory-p' to the filename part rather than to the whole text.
4113 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4115         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4117 2010-05-31  Drew Adams  <drew.adams@oracle.com>
4119         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4121 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
4123         * subr.el (momentary-string-display): Just use read-event to read
4124         the exit event (Bug#6238).
4126 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
4128         * international/mule.el (define-coding-system): Doc fix (bug#6313).
4130 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4132         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4133         Suggested by Eli Zaretskii <eliz@gnu.org>.
4135 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4137         * minibuffer.el (completion-file-name-table): Don't return a boundary
4138         past the end of `string' (bug#6299).
4139         (completion--file-name-table): Delegate to completion-file-name-table
4140         for the `boundaries' case.
4142 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4144         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4145         movement commands.
4147         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4148         `path-separator', but maintain compatibility with Emacs 20.2.
4150 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4152         * server.el (server-process-filter): Receive parent-id argument
4153         from emacsclient.
4154         (server-create-window-system-frame): New arg.  Pass parent-id as
4155         frame parameter.
4157 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
4159         Bidi-sensitive word movement with arrow keys.
4160         * subr.el (right-arrow-command, left-arrow-command): Move to
4161         bindings.el.
4163         * bindings.el (right-char, left-char): Move from subr.el and
4164         rename from right-arrow-command and left-arrow-command.
4165         (right-word, left-word): New functions.
4166         (global-map) <right>: Bind to right-char.
4167         (global-map) <left>: Bind to left-char.
4168         (global-map) <C-right>: Bind to right-word.
4169         (global-map) <C-left>: Bind to left-word.
4171         * ls-lisp.el (ls-lisp-classify-file): New function.
4172         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4173         (ls-lisp-classify): Call ls-lisp-classify-file.
4174         (insert-directory): Remove blanks from switches.
4176 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4178         * ansi-color.el: Delete unused escape sequences (Bug#6085).
4179         (ansi-color-drop-regexp): New constant.
4180         (ansi-color-apply, ansi-color-filter-region)
4181         (ansi-color-apply-on-region): Delete unrecognized control sequences.
4182         (ansi-color-apply): Build string list before calling concat.
4184 2010-05-28  Juri Linkov  <juri@jurta.org>
4186         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4187         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4188         (Bug#5270)
4190 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4192         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4193         to ignored backtrace functions.
4194         (with-progress-reporter): Expand docstring.
4195         (tramp-handle-delete-file): Implement TRASH argument.
4196         (tramp-get-remote-trash): New defun.
4198 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4200         * net/tramp-compat.el (tramp-compat-delete-file): Use
4201         `symbol-value' for backward compatibility.
4203         * net/tramp.el (tramp-handle-make-symbolic-link)
4204         (tramp-handle-load)
4205         (tramp-do-copy-or-rename-file-via-buffer)
4206         (tramp-do-copy-or-rename-file-directly)
4207         (tramp-do-copy-or-rename-file-out-of-band)
4208         (tramp-handle-process-file, tramp-handle-call-process-region)
4209         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4210         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4211         (tramp-delete-temp-file-function): Use `delete-file' instead
4212         of `tramp-compat-delete-file'.
4214         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4215         (tramp-fish-handle-make-symbolic-link)
4216         (tramp-fish-handle-process-file): Use `delete-file' instead
4217         of `tramp-compat-delete-file'.
4219         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4220         `delete-file' instead of `tramp-compat-delete-file'.
4222         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4223         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4224         `tramp-compat-delete-file'.
4226         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4227         `delete-file' instead of `tramp-compat-delete-file'.
4229         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4230         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4231         (tramp-smb-handle-write-region): Use `delete-file' instead of
4232         `tramp-compat-delete-file'.
4233         (tramp-smb-handle-delete-directory): Use 'trash as arg.
4235 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4237         * dired.el (dired-delete-file): New arg TRASH.
4238         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
4239         (dired-do-flagged-delete, dired-do-delete): Use trash.
4241         * speedbar.el (speedbar-item-delete): Allow trashing.
4243         * files.el (delete-directory): New arg TRASH.
4245         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4246         (ange-ftp-rename-remote-to-remote)
4247         (ange-ftp-rename-local-to-remote)
4248         (ange-ftp-rename-remote-to-local, ange-ftp-load)
4249         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4250         `delete-file'.
4251         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4252         allow trashing.
4254         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4255         handle new TRASH arg of `delete-file'.
4257         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4258         (tramp-handle-make-symbolic-link, tramp-handle-load)
4259         (tramp-do-copy-or-rename-file-via-buffer)
4260         (tramp-do-copy-or-rename-file-directly)
4261         (tramp-do-copy-or-rename-file-out-of-band)
4262         (tramp-handle-process-file, tramp-handle-call-process-region)
4263         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4264         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4265         (tramp-delete-temp-file-function): Use null TRASH arg in
4266         tramp-compat-delete-file call.
4268         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4269         (tramp-fish-handle-delete-file)
4270         (tramp-fish-handle-make-symbolic-link)
4271         (tramp-fish-handle-process-file): Use null TRASH arg in
4272         `tramp-compat-delete-file' call.
4274         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4275         arg in `tramp-compat-delete-file' call.
4277         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4278         (tramp-gvfs-handle-write-region): Use null TRASH arg in
4279         `tramp-compat-delete-file' call.
4281         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4282         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4283         `tramp-compat-delete-file' call.
4285         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4286         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4287         (tramp-smb-handle-write-region): Use null TRASH arg in
4288         tramp-compat-delete-file call.
4289         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4290         (tramp-smb-handle-delete-file): Rename arg.
4292         * diff.el (diff-sentinel):
4293         * epg.el (epg--make-temp-file, epg-decrypt-string)
4294         (epg-verify-string, epg-sign-string, epg-encrypt-string):
4295         * jka-compr.el (jka-compr-partial-uncompress)
4296         (jka-compr-call-process, jka-compr-write-region):
4297         * server.el (server-sentinel): Remove optional arg from
4298         delete-file, reverting 2010-05-03 change.
4300 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4302         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4303         font-lock-constant-face, not obsolete font-lock-reference-face.
4305 2010-05-27  Kenichi Handa  <handa@m17n.org>
4307         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4308         element of GSTRING is nil.
4310 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4312         * emacs-lisp/smie.el (smie-forward-token-function)
4313         (smie-backward-token-function): New vars.
4314         (smie-backward-sexp, smie-forward-sexp)
4315         (smie-indent-hanging-p, smie-indent-calculate): Use them.
4316         (smie-default-backward-token): Rename from smie-backward-token and
4317         skip comments.
4318         (smie-default-forward-token): Rename from smie-forward-token and
4319         skip comments.
4320         (smie-next-sexp): Handle nil results from next-token.
4321         (smie-indent-calculate): Add a new case for special `fixindent' comments.
4323 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4325         * progmodes/verilog-mode.el (verilog-type-font-keywords):
4326         Use font-lock-constant-face, not obsolete font-lock-reference-face.
4328 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
4330         * htmlfontify.el (hfy-face-resolve-face): New function.
4331         (hfy-face-to-style): Use it (Bug#6279).
4333 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4335         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4336         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4338 2010-05-26  Glenn Morris  <rgm@gnu.org>
4340         * emulation/edt.el (edt-load-keys): Use locate-library.
4342 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
4344         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4345         (log-edit-changelog-entries): Doc fix.
4346         (log-edit-changelog-insert-entries): Args changed.
4347         Rename relative filenames in ChangeLog entries.  Delete tabs.
4348         (log-edit-insert-changelog-entries): Reorganize return value of
4349         `log-edit-changelog-entries' to pass filenames to
4350         log-edit-changelog-insert-entries.
4352 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4354         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4355         `image-dired-dired-insert-marked-thumbs' to
4356         `image-dired-dired-toggle-marked-thumbs'.
4358         * image-dired.el: Require cl when compiling.
4359         (image-dired-dired-toggle-marked-thumbs): Rename from
4360         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
4361         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
4362         to 'no-dir.  Skip files whose names don't match
4363         `image-file-name-regexp'.  When file has a thumbnail overlay,
4364         delete it.  (Bug#5270)
4366 2010-05-25  Juri Linkov  <juri@jurta.org>
4368         * image-mode.el (image-mode): Add image-after-revert-hook to
4369         after-revert-hook.
4370         (image-after-revert-hook): New function.  (Bug#5669)
4372 2010-05-25  Juri Linkov  <juri@jurta.org>
4374         * image.el (image-animated-p): When delay between animated images
4375         is 0, set it to 10 (0.1 sec).  (Bug#6258)
4377 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4379         * net/tramp.el (tramp-handle-insert-directory): Don't use
4380         `forward-word', its default syntax could be changed.
4382 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
4384         * net/tramp.el (tramp-progress-reporter-update): New defun.
4385         (with-progress-reporter): Use it.
4386         (tramp-process-actions):
4387         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4388         current message, in order to let progress reporter continue
4389         afterwards.  (Bug#6257)
4391 2010-05-25  Glenn Morris  <rgm@gnu.org>
4393         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4394         Add :version.
4396 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4398         * net/rcirc.el (rcirc-default-user-name): Change to "user".
4399         (rcirc-default-full-name): Change to "unknown".
4400         (rcirc-user-name-history): Add variable.
4402 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4403             Jonathan Rockway  <jon@jrock.us>
4405         * net/rcirc.el (rcirc-server-alist): Add :pass.
4406         (rcirc): When prompting for connection parameters, also prompt for
4407         username and password.
4408         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
4409         value to server when connecting.
4411 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4413         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4414         (smie-merge-prec2s): Pass the tables as separate args.
4415         (smie-bnf-precedence-table): Adjust call accordingly.
4416         (smie-prec2-levels): Set levels at the end.
4418         Replace Lisp calls to delete-backward-char by delete-char.
4419         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4420         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4421         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4422         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4423         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4424         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4425         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4426         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4427         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4428         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4429         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4430         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4431         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4432         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4433         delete-backward-char by calls to delete-char.
4435 2010-05-25  Kenichi Handa  <handa@m17n.org>
4437         * language/hebrew.el (hebrew-shape-gstring): New function.
4438         Register it in composition-function-table for all Hebrew combining
4439         characters.
4441 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4443         * epa.el (epa--select-keys): Don't explicitly delete the window since
4444         that can fail (e.g. sole window in frame).  Use dedication instead.
4446 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4448         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4450 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
4452         * image.el (image-refresh): Define as an alias for image-flush.
4454         * image-mode.el (image-toggle-display-image): Caller changed.
4456 2010-05-21  Juri Linkov  <juri@jurta.org>
4458         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4459         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
4460         whitespace, call wildcard-to-regexp on substrings and concat them
4461         with "\\|".  (Bug#6114)
4463 2010-05-21  Alan Mackenzie  <acm@muc.de>
4465         * progmodes/cc-engine.el (c-parse-state-get-strategy):
4466         Replace parameter `here' with `here-' and `here-plus', which sandwich
4467         any pertinent CPP construct.
4468         (c-remove-stale-state-cache-backwards): Fix a bug which happens
4469         when doing (c-parse-state) in a CPP construct: Exclude any "new"
4470         CPP construct from taking part in the scanning.
4472 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
4474         * net/tramp.el (tramp-do-copy-or-rename-file)
4475         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4476         Tune `with-progress-reporter' messages.
4477         (tramp-handle-vc-registered):
4478         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4479         (tramp-fish-handle-insert-file-contents)
4480         (tramp-fish-maybe-open-connection):
4481         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4482         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4483         (tramp-imap-handle-insert-file-contents)
4484         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4486 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
4488         * add-log.el (change-log-font-lock-keywords):
4489         Highlight all authors in multi-author entries.
4491         * smerge-mode.el (smerge-refine-ignore-whitespace)
4492         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4493         Fix typos in docstrings.
4494         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4496 2010-05-21  Glenn Morris  <rgm@gnu.org>
4498         * progmodes/fortran.el (fortran-mode):
4499         * progmodes/f90.el (f90-mode): Derive from prog-mode.
4501         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4502         having a relative path in src/Makefile.in.
4504 2010-05-20  Kevin Ryde  <user42@zip.com.au>
4506         * help-mode.el (help-make-xrefs): For Info node links turn
4507         newlines into spaces.  Link node names with newlines are matched
4508         by help-xref-info-regexp and buttonized, this change ensures they
4509         can be followed successfully with RET.  (Bug#6206)
4511 2010-05-20  Juri Linkov  <juri@jurta.org>
4513         * locate.el (locate): Use pop-to-buffer instead of
4514         switch-to-buffer-other-window.  (Bug#6204)
4516 2010-05-20  Juri Linkov  <juri@jurta.org>
4518         * replace.el (replace-highlight): Fix lazy-highlighting
4519         for `M-s w str M-% str RET'.
4521 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
4523         * isearch.el (isearch-yank-word-or-char): Pull next subword
4524         when `subword-mode' is activated.  (Bug#6220)
4526 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
4528         * isearch.el (isearch-update-post-hook): New hook.
4529         (isearch-update): Use the new hook.  (Bug#6225)
4531 2010-05-20  Juri Linkov  <juri@jurta.org>
4533         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4534         [f1], [help], and (char-to-string help-char) instead of "\C-h".
4535         (Bug#6222)
4537 2010-05-20  Juri Linkov  <juri@jurta.org>
4539         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4540         (Bug#6223)
4542 2010-05-20  Juri Linkov  <juri@jurta.org>
4544         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4545         FILE-NAME to read from the minibuffer when called interactively
4546         with prefix argument instead of using buffer-file-name.
4547         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4549         * dired.el: Update autoloads.
4551 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
4553         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4554         nxml-finish-element, for consistency with SGML mode.
4556         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4557         octave-close-block.
4559 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
4561         * composite.el: Require cl when compiling.
4562         (reference-point-alist, compose-gstring-for-graphic)
4563         (compose-gstring-for-terminal): Fix typos in docstrings.
4565 2010-05-19  Juri Linkov  <juri@jurta.org>
4567         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4568         set-window-parameter.
4570 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4572         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4573         where appropriate.
4574         (tramp-maybe-open-connection): Use it.
4576 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
4578         * simple.el (move-end-of-line): Make sure we are at line beginning
4579         before backing up to end of previous line.
4581 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4583         * password-cache.el (password-cache-remove): Fix docstring.
4585         * net/secrets.el: Autoload the widget functions.
4586         (secrets-search-items, secrets-create-item)
4587         (secrets-get-attributes, secrets-expand-item): Attributes will be
4588         stored on the password database without leading ":", as all other
4589         clients do as well.
4590         (secrets-mode): Fix docstring.
4591         (secrets-show-secrets): Provide it as autoloaded command only when
4592         D-Bus support is available.  Check existence of Secret Service API.
4594 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4596         * indent.el (indent-region): Deactivate region (bug#6200).
4598 2010-05-19  Glenn Morris  <rgm@gnu.org>
4600         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
4602 2010-05-19  Kenichi Handa  <handa@m17n.org>
4604         * composite.el: Register compose-gstring-for-graphic in
4605         composition-function-table only for combining characters (Mn, Mc, Me).
4607 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
4609         * calc/calc-trail.el (calc-trail-isearch-forward)
4610         (calc-trail-isearch-backward): Ensure that the new window
4611         point is set correctly.
4613 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4615         * subr.el (read-quoted-char): Resolve modifiers after key
4616         remapping (bug#6212).
4618 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
4620         Add visualization code for secrets.
4621         * net/secrets.el (secrets-mode): New major mode.
4622         (secrets-show-secrets, secrets-show-collections)
4623         (secrets-expand-collection, secrets-expand-item)
4624         (secrets-tree-widget-after-toggle-function)
4625         (secrets-tree-widget-show-password): New defuns.
4627 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4629         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4630         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4631         handled in smie-next-sexp.
4632         (smie-indent-calculate): Provide a starting indentation (so the
4633         recursion is well-founded ;-).
4635         Fix handling of non-associative equal levels.
4636         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4637         when it's not needed.
4638         (smie-op-left, smie-op-right): New functions.
4639         (smie-next-sexp): New function, extracted from smie-backward-sexp.
4640         Better handle equal levels to distinguish the associative case from
4641         the "multi-keyword construct" case.
4642         (smie-backward-sexp, smie-forward-sexp): Use it.
4644 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
4646         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4648         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4649         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4651 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4653         Provide a simple generic indentation engine and use it for Prolog.
4654         * emacs-lisp/smie.el: New file.
4655         * progmodes/prolog.el (prolog-smie-op-levels)
4656         (prolog-smie-indent-rules): New var.
4657         (prolog-mode-variables): Use them to configure SMIE.
4658         (prolog-indent-line, prolog-indent-level): Remove.
4660 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4662         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4663         order before computing the averages.
4665 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
4667         * calc/calc-vec.el (calc-histogram):
4668         (calcFunc-histogram): Allow vectors as inputs.
4669         (math-vector-avg): New function.
4671         * calc/calc-ext.el (math-group-float): Have the number of digits
4672         being grouped depend on the radix (Bug#6189).
4674 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
4676         * version.el (emacs-copyright, emacs-version): Don't define here,
4677         now that emacs.c defines it.
4679 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
4681         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4682         "Describe Language Environment" menu item.
4684         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4686         Bidi-sensitive movement with arrow keys.
4687         * subr.el (right-arrow-command, left-arrow-command): New functions.
4689         * bindings.el (global-map): Bind them to right and left arrow keys.
4691         Don't override standard definition of convert-standard-filename.
4692         * files.el (convert-standard-filename): Call
4693         w32-convert-standard-filename and dos-convert-standard-filename on
4694         the corresponding systems.
4696         * w32-fns.el (w32-convert-standard-filename): Rename from
4697         convert-standard-filename.  Doc fix.
4699         * dos-fns.el (dos-convert-standard-filename): Doc fix.
4700         (convert-standard-filename): Don't defalias.
4701         (register-name-alist, make-register, register-value)
4702         (set-register-value, intdos): Obsolete aliases for the
4703         corresponding dos-* functions and variables.
4704         (dos-intdos): Add a doc string.
4706 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
4708         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4709         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4710         (math-compose-tex-func):
4711         * calc/calccomp.el (math-compose-expr):
4712         * calc/calc-ext.el (math-format-flat-expr-fancy):
4713         * calc/calc-store.el (calc-read-var-name):
4714         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4716         * calc/calc.el (var-π, var-φ, var-γ): New variables.
4717         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4718         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4719         (math-standard-units): Add units.
4721 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4723         * progmodes/asm-mode.el (asm-mode):
4724         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4726         * pcomplete.el (pcomplete-completions-at-point): New function,
4727         extracted from pcomplete-std-complete.
4728         (pcomplete-std-complete): Use it.
4730 2010-05-15  Glenn Morris  <rgm@gnu.org>
4732         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4733         Remove references to CVS, RCS and Old directories.
4735 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
4737         * calc/calc-bin.el (math-format-twos-complement): Group digits when
4738         appropriate.
4740 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4742         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4743         (sh-mode-syntax-table): Give it a default value instead.
4744         (sh-header-marker): Make buffer-local.
4745         (sh-mode): Move make-local-variable to the corresponding setq.
4746         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4747         Use complete-with-action.
4749         * simple.el (prog-mode): New (abstract) major mode.
4750         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4751         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4753 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
4755         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4756         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4757         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4758         (sql-make-alternate-buffer-name, sql-placeholders-filter)
4759         (sql-escape-newlines-filter, sql-input-sender)
4760         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4762 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
4764         Add TeX open-block and close-block keybindings to SGML, and vice versa.
4766         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4767         latex-open-block and C-c / to latex-close-block.
4769         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4770         and C-c C-e to sgml-close-tag.
4772 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
4774         * net/tramp.el (with-progress-reporter): Create reporter object
4775         only when the message would be displayed.  Handle nested calls.
4776         (tramp-handle-load, tramp-handle-file-local-copy)
4777         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4778         (tramp-maybe-send-script, tramp-find-shell):
4779         Use `with-progress-reporter'.
4780         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4781         Fix message text.
4783         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4784         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4785         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4786         Use `with-progress-reporter'.
4788 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
4790         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4791         process everytime when spellchecking from the minibuffer (bug#6143).
4793 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4795         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4797         * dos-fns.el: Add "dos-" prefix for namespace control.
4798         (convert-standard-filename): Define as alias for
4799         dos-convert-standard-filename but only if applicable.
4801 2010-05-12  Alan Mackenzie  <acm@muc.de>
4803         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4804         Push the mark at the start of these functions when appropriate.
4806 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4808         * minibuffer.el (completion-cycle-threshold): New custom var.
4809         (completion--do-completion): Use it.
4810         (minibuffer-complete): Use cycling if appropriate.
4812 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
4814         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4815         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4817 2010-05-11  Juri Linkov  <juri@jurta.org>
4819         * scroll-all.el (scroll-all-check-to-scroll):
4820         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4822 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4824         * iimage.el (iimage-mode-map): Move initialization into declaration.
4825         (iimage-mode-buffer): Use with-silent-modifications.
4826         Simplify calling convention.  Adjust callers.
4827         (iimage-mode): Don't run hook redundantly.
4829         * minibuffer.el (completion-pcm--pattern->regex):
4830         Fix last change (bug#6160).
4832 2010-05-10  Juri Linkov  <juri@jurta.org>
4834         Remove nodes visited during Isearch from the Info history.
4835         * info.el (Info-isearch-initial-history)
4836         (Info-isearch-initial-history-list): New variables.
4837         (Info-isearch-start): Record initial values of
4838         Info-isearch-initial-history and Info-isearch-initial-history-list.
4839         Add Info-isearch-end to isearch-mode-end-hook.
4840         (Info-isearch-end): New function.
4842 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
4844         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4845         format string, in order to work around a bug in pdksh.
4846         Reported by Gilles Pion <gpion@lfdj.com>.
4847         (tramp-handle-verify-visited-file-modtime): Do not send a command
4848         when the connection is not established.
4849         (tramp-handle-set-file-times): Simplify the check for utc.
4851 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
4853         Fix use of `filter-buffer-substring' (rework previous change).
4854         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4855         (cua-repeat-replace-region):
4856         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4857         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4858         (cua-cut-region-to-global-mark): Use it.
4860 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
4862         * progmodes/sql.el: Version 2.1.
4863         (sql-product-alist): Redesign structure of product info.
4864         (sql-product, sql-user, sql-server, sql-database): Safe variables.
4865         (sql-port, sql-port-history): New variables.
4866         (sql-interactive-product): New variable.
4867         (sql-send-terminator): New variable.
4868         (sql-imenu-generic-expression): Add "Types" imenu entry.
4869         (sql-oracle-login-params, sql-sqlite-login-params)
4870         (sql-mysql-login-params, sql-solid-login-params)
4871         (sql-sybase-login-params, sql-informix-login-params)
4872         (sql-ingres-login-params, sql-ms-login-params)
4873         (sql-postgres-login-params, sql-interbase-login-params)
4874         (sql-db2-login-params, sql-linter-login-params)
4875         (sql-oracle-scan-on): New variables.
4876         (sql-mode-map): Add C-c C-i to start interactive mode.
4877         (sql-mode-menu): Update existing menu entries.
4878         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4879         (sql-mode-oracle-font-lock-keywords)
4880         (sql-mode-postgres-font-lock-keywords)
4881         (sql-mode-ms-font-lock-keywords)
4882         (sql-mode-sybase-font-lock-keywords)
4883         (sql-mode-informix-font-lock-keywords)
4884         (sql-mode-interbase-font-lock-keywords)
4885         (sql-mode-ingres-font-lock-keywords)
4886         (sql-mode-solid-font-lock-keywords)
4887         (sql-mode-mysql-font-lock-keywords)
4888         (sql-mode-sqlite-font-lock-keywords)
4889         (sql-mode-db2-font-lock-keywords)
4890         (sql-mode-linter-font-lock-keywords): Update initialization to
4891         reduce run-time complexity.
4892         (sql-add-product, sql-del-product): New functions.
4893         (sql-set-product-feature, sql-get-product-feature): New functions.
4894         (sql-product-font-lock): Update product API.
4895         (sql-add-product-keywords): New function.
4896         (sql-highlight-product): Update product API.
4897         (sql-help-list-products): New function.
4898         (sql-help): Dynamically lists free and non-free products.
4899         (sql-get-login): Correct bug in handling history and added
4900         prompt for port.
4901         (sql-copy-column): Copy without properties.
4902         (sqli-input-sender): Apply filters to SQLi input.
4903         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4904         Implement as a filter.
4905         (sql-escape-newlines-filter): Implement as a filter.
4906         (sql-remove-tabs-filter): New function.
4907         (sql-send-magic-terminator): New function.
4908         (sql-send-string): Implement magic terminator.
4909         (sql-send-region): Use `sql-send-string'.
4910         (sql-interactive-mode): Use product API.
4911         (sql-product-interactive): Use product API.
4912         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4913         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4914         (sql-db2, sql-linter): Use `sql-product-interactive'.
4915         (sql-connect): New function.
4916         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4917         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4918         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4919         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4920         Use `sql-connect'.
4922 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4924         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4925         New custom variable.
4926         (completion-pcm--string->pattern): Use it.
4927         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4928         Make it handle any symbol as `any'.
4929         (completion-pcm--merge-completions): Extract common suffix for the new
4930         `prefix' symbol as well.
4931         (completion-substring--all-completions): Use the new `prefix' symbol.
4933 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
4935         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4936         not bound.
4937         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4938         (tramp-compat-funcall): New defmacro.
4939         (tramp-compat-line-beginning-position)
4940         (tramp-compat-line-end-position)
4941         (tramp-compat-temporary-file-directory)
4942         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4943         (tramp-compat-copy-file, tramp-compat-copy-directory)
4944         (tramp-compat-delete-file, tramp-compat-delete-directory)
4945         (tramp-compat-number-sequence, tramp-compat-process-running-p)
4946         * net/tramp.el (top, with-progress-reporter)
4947         (tramp-rfn-eshadow-setup-minibuffer)
4948         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4949         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4950         (tramp-completion-mode-p, tramp-check-for-regexp)
4951         (tramp-open-connection-setup-interactive-shell)
4952         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4953         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4954         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4955         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4956         (tramp-reporter-dump-variable, tramp-load-report-modules)
4957         (tramp-append-tramp-buffers)
4958         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4960         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4962 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4964         * progmodes/compile.el (compilation-buffer-modtime): Rename from
4965         buffer-modtime.  Adjust users.
4967 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4969         * international/mule.el (auto-coding-alist): Only purecopy
4970         car of each item, not the whole list (Bug#6083).
4972 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4974         * progmodes/js.el (js-mode): Make paragraph variables local before
4975         calling c-setup-paragraph-variables (Bug#6071).
4977 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
4979         * composite.el (compose-region, reference-point-alist): Fix typos
4980         in the doc strings.
4982 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4984         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
4985         gnuplot's "set" command.
4987 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4989         * abbrev.el (last-abbrev-text): Doc fix.
4990         (abbrev-prefix-mark): Don't escape parenthesis.
4992 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
4994         * composite.el (find-composition): Doc fix.
4996 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4998         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
4999         (sql-oracle-program, sql-sqlite-options)
5000         (sql-query-placeholders-and-send): Doc fixes.
5001         (sql-set-product, sql-interactive-mode): Reflow docstrings.
5002         (sql-imenu-generic-expression, sql-buffer)
5003         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5004         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5005         (sql-mode-sybase-font-lock-keywords)
5006         (sql-mode-informix-font-lock-keywords)
5007         (sql-mode-interbase-font-lock-keywords)
5008         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5009         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5010         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5011         (sql-product-feature, sql-highlight-product)
5012         (comint-line-beginning-position, sql-rename-buffer)
5013         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5014         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5015         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5016         Fix typos in docstrings.
5018 2010-05-08  Juri Linkov  <juri@jurta.org>
5020         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5021         property instead of `invisible' and `after-string' (bug#5998).
5023 2010-05-08  Juri Linkov  <juri@jurta.org>
5025         * image-mode.el (image-mode-as-text): Fix typo in docstring.
5027 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5029         * filecache.el (file-cache-add-directory-list)
5030         (file-cache-add-directory-recursively): Fix typos in docstrings.
5032 2010-05-08  Kenichi Handa  <handa@m17n.org>
5034         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5035         (gujarati-composable-pattern): Fix typo.
5037 2010-05-08  Kenichi Handa  <handa@m17n.org>
5039         * language/indian.el (oriya-composable-pattern)
5040         (tamil-composable-pattern, malayalam-composable-pattern):
5041         Add two-part vowels to "v" (vowel sign).
5043 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5045         * files.el (copy-directory): Handle symlinks (Bug#5982).
5047 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
5049         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5050         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
5051         (Bug#5846).
5053 2010-05-08  Glenn Morris  <rgm@gnu.org>
5055         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5057         * minibuffer.el (completion-at-point): Doc fix.
5059 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5061         * electric.el (Electric-command-loop): Minor tweak.
5063         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5064         better with dedicated windows.
5066 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
5068         * Version 23.2 released.
5070 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
5071             Stefan Monnier  <monnier@iro.umontreal.ca>
5073         Highlight vendor specific properties.
5074         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5075         (css-proprietary-property): New face.
5076         (css-font-lock-keywords): Use them.
5078 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
5080         * cus-start.el (all): Add native condition for tool-bar-* symbols.
5082 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5084         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5085         * files.el (auto-mode-alist): Remove redundant entries.
5087         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5088         * simple.el (auto-save-mode): Move from files.el.
5089         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5091 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
5093         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5095 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5097         * mail/binhex.el (binhex-decode-region-internal)
5098         * mail/uudecode.el (uudecode-decode-region-internal)
5099         * net/dns.el (dns-read-string-name, dns-write, dns-read)
5100         (dns-read-type, dns-query)
5101         * pgg-parse.el (pgg-parse-armor)
5102         * pgg.el (pgg-verify-region)
5103         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5104         XEmacs.
5106         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5108 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
5110         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5112         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5113         * emulation/cua-base.el (cua-repeat-replace-region):
5114         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5115         (cua-cut-region-to-global-mark):
5116         Remove text properties with `set-text-properties'.
5118 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
5120         * net/tramp.el (top, with-progress-reporter):
5121         Use `symbol-function' inside `funcall'.
5123         * net/tramp-compat.el (tramp-compat-file-attributes)
5124         (tramp-compat-delete-file, tramp-compat-delete-directory):
5125         Handle only `wrong-number-of-arguments' error.
5127         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5128         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5129         inside `funcall'.
5131 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5133         * minibuffer.el (completion--sreverse, completion--common-suffix):
5134         New functions.
5135         (completion-pcm--merge-completions): Extract common suffix when safe.
5137         * emacs-lisp/easy-mmode.el (define-minor-mode):
5138         Make :variable more flexible.
5139         * files.el (auto-save-mode): Use it to define using define-minor-mode.
5141 2010-05-05  Juri Linkov  <juri@jurta.org>
5143         Add `slow' and `history' tags to the desktop data.
5145         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5146         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5147         (Info-finder-find-node): Require `finder.el' to be able
5148         to restore node from the desktop.
5149         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
5150         data `Info-history' and `slow' tag in the assoc list.
5151         (Info-restore-desktop-buffer): Don't restore nodes with the
5152         `slow' tag.  Restore `Info-history'.
5154 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
5156         Add FORCE argument to `delete-file'.
5158         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5159         forcing to delete the temporary file.
5160         (ange-ftp-delete-file): Add FORCE arg.
5161         (ange-ftp-rename-remote-to-remote)
5162         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5163         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5164         Force file deletion.
5166         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5168         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5169         (tramp-handle-make-symbolic-link, tramp-handle-load)
5170         (tramp-do-copy-or-rename-file-via-buffer)
5171         (tramp-do-copy-or-rename-file-directly)
5172         (tramp-do-copy-or-rename-file-out-of-band)
5173         (tramp-handle-process-file, tramp-handle-call-process-region)
5174         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5175         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5176         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5178         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5179         (tramp-fish-handle-make-symbolic-link)
5180         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5182         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5183         Use `tramp-compat-delete-file'.
5185         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5186         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5188         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5189         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5191         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5192         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5193         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5194         `tramp-compat-delete-file'.
5196 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5198         Minor cleanups.
5199         * subr.el (add-minor-mode): Use push.
5200         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5201         * emulation/edt.el (edt-select-mode): Simplify.
5203         Use define-minor-mode in more cases.
5204         * term/tvi970.el (tvi970-set-keypad-mode):
5205         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5206         (normal-erase-is-backspace-mode):
5207         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5208         (set-scroll-bar-mode-1): (Re)move to its sole caller.
5209         (get-scroll-bar-mode): New function.
5210         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5212         Use define-minor-mode for less obvious cases.
5213         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5214         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5215         * international/iso-ascii.el (iso-ascii-mode):
5216         * frame.el (auto-raise-mode, auto-lower-mode):
5217         * composite.el (global-auto-composition-mode): Use define-minor-mode.
5219 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
5221         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5222         in order to see error messages for failed logins.
5224 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
5226         * diff.el (diff-sentinel):
5228         * epg.el (epg--make-temp-file, epg-decrypt-string)
5229         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5231         * jka-compr.el (jka-compr-partial-uncompress)
5232         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5234         * server.el (server-sentinel): Use delete-file's new FORCE arg
5235         (Bug#6070).
5237 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5239         Use define-minor-mode where applicable.
5240         * view.el (view-mode):
5241         * type-break.el (type-break-query-mode)
5242         (type-break-mode-line-message-mode):
5243         * textmodes/reftex.el (reftex-mode):
5244         * term/vt100.el (vt100-wide-mode):
5245         * tar-mode.el (tar-subfile-mode):
5246         * savehist.el (savehist-mode):
5247         * ibuf-ext.el (ibuffer-auto-mode):
5248         * composite.el (auto-composition-mode):
5249         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5250         Use define-minor-mode.
5251         (vhdl-mode): Use static mode-line format.
5252         (vhdl-mode-line-update): Delete.
5253         (vhdl-create-mode-menu, vhdl-activate-customizations)
5254         (vhdl-hs-minor-mode): Don't bother calling it.
5256 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5258         * simple.el (with-wrapper-hook): Move.
5259         (buffer-substring-filters): Mark obsolete.
5260         (filter-buffer-substring-functions): New variable.
5261         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
5263 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5264             Michael Albinus  <michael.albinus@gmx.de>
5266         Implement compression for inline methods.
5268         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5269         (tramp-copy-size-limit): Allow also nil.
5270         (tramp-inline-compress-commands): New defconst.
5271         (tramp-find-inline-compress, tramp-get-inline-compress)
5272         (tramp-get-inline-coding): New defuns.
5273         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5274         replaced by `tramp-get-inline-coding'.
5275         (tramp-handle-file-local-copy, tramp-handle-write-region)
5276         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5278 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5280         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5281         Remove unused functions.
5283         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5284         Set find-tag-default-function as a variable rather than a property.
5286         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5287         * progmodes/etags.el (tags-completion-at-point-function):
5288         Remove left over interactive spec.  Add autoloading stub.
5289         (complete-tag): Use tags-completion-at-point-function.
5291 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
5293         * minibuffer.el (tags-completion-at-point-function): Fix return value.
5295 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5297         * ido.el (ido-init-completion-maps): Remove C-v binding.
5298         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5300 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5302         * minibuffer.el (tags-completion-at-point-function): New function.
5303         (completion-at-point-functions): Use it.
5305         * progmodes/etags.el (complete-tag): Revert last change.
5307 2010-04-29  Alan Mackenzie  <acm@muc.de>
5309         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5310         off-by-one error (in end of macro position).
5312 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5314         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5315         firefox is absent.  Don't autoload.
5316         (browse-url-galeon-program): Don't autoload.
5318 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5320         * bindings.el (complete-symbol): Move into minibuffer.el.
5322         * minibuffer.el (complete-tag): Move from etags.el.  If tags
5323         completion cannot be performed, return nil instead of signalling
5324         an error.
5325         (completion-at-point): Make it an alias for complete-symbol.
5326         (complete-symbol): Move from bindings.el, and replace with the
5327         body of completion-at-point.
5329         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5331 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
5333         * net/tramp.el (tramp-remote-selinux-p): New defun.
5334         (tramp-handle-file-selinux-context)
5335         (tramp-handle-set-file-selinux-context): Use it.
5337 2010-04-28  Sam Steingold  <sds@gnu.org>
5339         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5340         `safe-local-variable' if the value is a string or a symbol with
5341         the property `bug-reference-url-format'.
5343 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5345         * progmodes/bug-reference.el (bug-reference-url-format):
5346         Revert 2010-04-27 change due to security risk.
5348 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5350         Make it possible to locally disable a globally enabled mode.
5351         * simple.el (fundamental-mode): Run fundamental-mode-hook.
5352         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5353         rather than kill-all-local-variables so it runs fundamental-mode-hook.
5354         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5355         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5356         that subsequent hooks get a chance to disable it.
5358 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5360         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5361         Avoid re-enabling a minor mode after the user turned the minor mode
5362         off if MODE-enable-in-buffers is run twice (typically once from
5363         fundamental-mode's after-change-major-mode-hook and a second time from
5364         run-mode-hook's own after-change-major-mode-hook).
5366         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5368 2010-04-27  Sam Steingold  <sds@gnu.org>
5370         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5371         `safe-local-variable' if the value is a string or a function, as
5372         documented and implemented on 2010-04-02.
5374 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
5376         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5377         when method is 'kill.
5379 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
5381         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5382         condition in default directory check.
5383         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5384         Kill ispell process when killing its associated buffer.
5386 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
5388         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5389         but we aren't using it.
5391 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
5393         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5394         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5396 2010-04-24  Glenn Morris  <rgm@gnu.org>
5398         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5399         Ignore VCS-ignore files, and deleted nextstep preferences files.
5400         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5401         (authors-ambiguous-files): New list.
5402         (authors-valid-file-names): Add some deleted files.
5403         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5404         (authors-disambiguate-file-name): New function.  (Bug#5501)
5405         (authors-canonical-file-name): Doc fix.
5406         Don't warn about obsolete files.
5407         (authors-canonical-file-name, authors-scan-el):
5408         Use authors-disambiguate-file-name.
5410         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5411         Add autoload cookies.
5412         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5413         (generated-autoload-file): Set file-local value to "htmlfontify.el".
5414         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5415         They have definitions / compiler macros in cl.el.
5416         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5417         Replace manual autoloads with generated ones.
5418         (htmlfontify-unload-rgb-file): Remove autoload.
5419         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5421 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5423         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5424         (byte-compile-setq-default): Optimize for the
5425         single-var case and don't call byte-compile-form in this case to avoid
5426         inf-loop with byte-compile-set-default.
5428         * progmodes/compile.el (compilation-start): Abbreviate default directory.
5430 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
5432         Implement SELINUX backends.
5434         * net/tramp.el (tramp-file-name-handler-alist):
5435         Add `file-selinux-context' and `set-file-selinux-context'.
5436         (tramp-handle-file-selinux-context)
5437         (tramp-handle-set-file-selinux-context): New defuns.
5438         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5439         Handle PRESERVE-SELINUX-CONTEXT.
5441         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5442         Add `file-selinux-context' and `set-file-selinux-context'.
5443         (tramp-gvfs-handle-file-selinux-context)
5444         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5445         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5447         * net/ange-ftp.el (ange-ftp-copy-file):
5448         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5449         * net/tramp-imap.el (tramp-imap-handle-copy-file):
5450         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5451         Add PRESERVE-SELINUX-CONTEXT.
5453 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5455         Synchronize with Tramp repository.
5457         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5458         (tramp-action-process-alive, tramp-action-out-of-band)
5459         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5460         (tramp-exists-file-name-handler): Fix docstring.
5461         (with-progress-reporter): New defmacro.
5462         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5463         (tramp-maybe-open-connection): Use it.
5465 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
5467         Detect ssh 'ControlMaster' argument automatically in some cases.
5469         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5470         (tramp-default-method): Use it.
5472 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5474         * net/tramp.el (tramp-handle-copy-file): Add new optional
5475         parameter `preserve-selinux-context'.
5476         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5478 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5480         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5481         Ensure, that non remote files are still checked.  Oops.
5483 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
5485         Fix Bug#5840.
5487         * icomplete.el (icomplete-completions): Use `non-essential'.
5489         * net/tramp.el (tramp-connectable-p): New defun.
5490         (tramp-handle-expand-file-name)
5491         (tramp-completion-handle-file-name-all-completions)
5492         (tramp-completion-handle-file-name-completion): Use it.
5494 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5496         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5498 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
5500         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5502         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5504         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5505         is present.
5507         * info.el (info-tool-bar-map): Add labels.
5509         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5511         * cus-edit.el (custom-commands): Add labels for tool bar.
5512         (custom-buffer-create-internal, Custom-mode): Adjust for
5513         labels in custom-commands.
5515         * dynamic-setting.el: Renamed from font-setting.el.
5517 2010-04-21  John Wiegley  <jwiegley@gmail.com>
5519         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5520         toggles the use of virtual buffers.
5521         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5522         (ido-toggle-virtual-buffers): New function.
5524 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
5526         Use `define-derived-mode'; fix window selection; doc fixes.
5527         * play/tetris.el (tetris, tetris-update-speed-function)
5528         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5529         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5530         (tetris-rotate-next, tetris-end-game, tetris-start-game)
5531         (tetris-pause-game): Fix typos in docstrings.
5532         (tetris-mode-map, tetris-null-map):
5533         Move initialization into declaration.
5534         (tetris-mode): Define with `define-derived-mode';
5535         set show-trailing-whitespace to nil.
5536         (tetris): Prefer window already displaying the "*Tetris*" buffer.
5538 2010-04-21  Karel Klíč  <kklic@redhat.com>
5540         * files.el (backup-buffer): Handle SELinux context, and return it
5541         if a backup was made by renaming.
5542         (backup-buffer-copy): Set SELinux context to the target file.
5543         (basic-save-buffer): Set SELinux context of the newly written file.
5544         (basic-save-buffer-1): Now it also returns any SELinux context.
5545         (basic-save-buffer-2): Set SELinux context of the newly created file,
5546         and return it.
5547         * net/tramp.el (tramp-file-name-for-operation):
5548         Add file-selinux-context.
5550 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5552         Make the log-edit comments use RFC822 format throughout.
5554         * vc.el (vc-checkin, vc-modify-change-comment):
5555         Adjust to new vc-start/finish-logentry.
5556         (vc-find-conflicted-file): New command.
5557         (vc-transfer-file): Adjust to new vc-checkin.
5558         (vc-next-action): Improve scoping.
5560         * vc-hg.el (vc-hg-log-edit-mode): Remove.
5561         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
5563         * vc-git.el (vc-git-log-edit-mode): Remove.
5564         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
5565         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5567         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5568         (vc-start-logentry): Remove argument `extra'.
5569         (vc-finish-logentry): Remove extra args.
5571         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5572         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
5573         (vc-bzr-conflicted-files): New function.
5575         * log-edit.el (log-edit-extra-flags)
5576         (log-edit-before-checkin-process): Remove.
5577         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5578         (log-edit-headers-alist): New var.
5579         (log-edit-header-contents-regexp): New const.
5580         (log-edit-match-to-eoh): New function.
5581         (log-edit-font-lock-keywords): Use them.
5582         (log-edit): Insert a "Summary:" header as default.
5583         (log-edit-mode): Mark font-lock rules as case-insensitive.
5584         (log-edit-done): Cleanup headers.
5585         (log-view-process-buffer): Remove.
5586         (log-edit-extract-headers): New function to replace it.
5588 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
5590         * subr.el (default-direction-reversed): Remove obsolescence info.
5592 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5594         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5595         windows/frames.
5597         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5598         I.e. include text after point in the completion region.
5599         Also, return nil when we're not after/in a symbol.
5601         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5602         default enable-multibyte-characters.
5604 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5606         * international/mule.el: Help the user choose a valid coding-system.
5607         (read-buffer-file-coding-system): New function.
5608         (set-buffer-file-coding-system): Use it.  Prompt the user if the
5609         coding-system cannot encode all the chars.
5611         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5612         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5613         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5614         Don't use *vc-bzr-shelve*.
5616 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
5618         Fix the version number for added files.
5619         * vc-hg.el (vc-hg-working-revision): Check if the file is
5620         registered after hg parent fails (Bug#5961).
5622 2010-04-19  Glenn Morris  <rgm@gnu.org>
5624         * htmlfontify.el (htmlfontify-buffer)
5625         (htmlfontify-copy-and-link-dir): Autoload entry points.
5627 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
5629         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5630         name relative to the project root (Bug#5960).
5632 2010-04-19  Glenn Morris  <rgm@gnu.org>
5634         * vc-git.el (vc-git-print-log): Doc fix.
5636 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
5638         * ido.el (ido-file-internal): Fix 2009-12-02 change.
5640 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
5642         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5643         default settings (Bug#5928).
5645 2010-04-19  Glenn Morris  <rgm@gnu.org>
5647         * progmodes/fortran.el (fortran-match-and-skip-declaration):
5648         New function.
5649         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
5651 2010-04-19  Kenichi Handa  <handa@m17n.org>
5653         * language/indian.el (malayalam-composable-pattern): Fix previous
5654         change (add U+0D4D "SIGN VIRAMA").
5655         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5656         (tamil-composable-pattern): Fix typo in the regexp.
5657         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5658         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5659         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5661 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5663         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5664         paragraph-separate (Bug#5821).
5666 2010-04-19  Juri Linkov  <juri@jurta.org>
5668         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5670         * info.el (Info-find-node-2): Comment out code that skips
5671         breadcrumbs line.
5672         (Info-mouse-follow-link): New command.
5673         (Info-link-keymap): New keymap.
5674         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5675         Return a string with links instead of inserting breadcrumbs
5676         to the Info buffer.
5677         (Info-fontify-node): Comment out code that inserts breadcrumbs.
5678         Instead of putting the `invisible' text property over the Info
5679         header, make an overlay over the Info header with the `invisible'
5680         property and `after-string' set to the string returned by
5681         `Info-breadcrumbs'.
5683 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5685         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5686         Reported by monkey@sandpframing.com.
5688 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5690         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5691         (tmm-get-keymap): Add key-binding shortcuts now that they're not
5692         available in the "keyseq cache" any more.
5694         * custom.el (defcustom): Add edebug spec.
5696 2010-04-18  Juri Linkov  <juri@jurta.org>
5698         Test for special mode-class in view-buffer instead of view-file (bug#5513).
5700         * view.el (view-file, view-buffer): Move test for special mode-class
5701         from view-file to view-buffer.
5703         * tar-mode.el (tar-extract): Turn if's into one cond
5704         like in arc-mode.el.
5706 2010-04-18  Juri Linkov  <juri@jurta.org>
5708         Add 7z archive format support (bug#5475).
5710         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5711         (archive-7z-extract): New defcustom.
5712         (archive-find-type): Add magic string for 7z.
5713         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5714         If `stderr-file' is non-nil, use `(t stderr-file)' for the
5715         `buffer' arg of `call-process'.
5716         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5717         call the function `archive-7z-extract' with the variable
5718         `archive-7z-extract' let-bound to `archive-zip-extract'.
5719         (archive-7z-summarize, archive-7z-extract): New functions.
5721         * international/mule.el (auto-coding-alist):
5722         * files.el (auto-mode-alist): Add 7z file extension.
5724 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5726         * loadup.el: Setup hash-cons for pure data.
5728         Fix duplicate entries in cedet's loaddefs.el files.
5729         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5730         Should make most file-local generated-autoload-file unnecessary.
5731         (print-readably): Silence warnings.
5732         (autoload-find-destination): Take load-name as an arg to make sure
5733         it's the same as the one that will be in the file.
5734         (autoload-generate-file-autoloads): Adjust to above changes.
5735         Try to make the dataflow a bit simpler.
5737         * cvs-status.el (cvs-refontify): Remove unused.
5739 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
5741         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5743         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
5744         twos-complement mode.
5746 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
5748         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
5749         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
5750         (calc-inverse): Add "Option" to message, as appropriate.
5751         (calc-hyperbolic): Add "Option" to message, as appropriate.
5752         (calc-option, calc-is-option): New functions.
5754         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
5755         (calc-option-prefix-help): New function.
5757         * calc/calc-misc.el (calc-help): Add "Option" entry.
5759         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
5760         (calc-option-flag): New variable.
5761         (calc-do): Set `calc-option-flag to nil.
5762         (calc-set-mode-line): Add "Opt " as appropriate.
5764 2010-04-16  Juri Linkov  <juri@jurta.org>
5766         Move scrolling commands from simple.el to window.el
5767         because their primitives are implemented in window.c.
5769         * simple.el (scroll-error-top-bottom)
5770         (scroll-up-command, scroll-down-command, scroll-up-line)
5771         (scroll-down-line, scroll-other-window-down)
5772         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5773         * window.el (scroll-error-top-bottom)
5774         (scroll-up-command, scroll-down-command, scroll-up-line)
5775         (scroll-down-line, scroll-other-window-down)
5776         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5777         Move from simple.el to window.el because their primitives are
5778         implemented in window.c.
5780 2010-04-16  Juri Linkov  <juri@jurta.org>
5782         * isearch.el (isearch-lookup-scroll-key): Check both
5783         `isearch-scroll' and `scroll-command' properties.
5784         (scroll-up, scroll-down): Remove `isearch-scroll' property.
5786         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5788         * simple.el (scroll-up-command, scroll-down-command)
5789         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5791 2010-04-15  Juri Linkov  <juri@jurta.org>
5793         * simple.el (scroll-up-command, scroll-down-command)
5794         (scroll-up-line, scroll-down-line): Put `scroll-command'
5795         property on the these symbols.  Remove them from
5796         `scroll-preserve-screen-position-commands'.
5798         * mwheel.el (mwheel-scroll): Put `scroll-command' and
5799         `isearch-scroll' properties on the `mwheel-scroll' symbol.
5800         Remove it from `scroll-preserve-screen-position-commands'.
5802         * isearch.el (isearch-allow-scroll): Doc fix.
5804 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
5806         * net/tramp.el (tramp-error-with-buffer): Don't show the
5807         connection buffer when we are in completion mode.
5808         (tramp-file-name-handler): Catch the error for some operations
5809         when we are in completion mode.  This gives the user the chance to
5810         correct the file name in the minibuffer.
5812 2010-04-15  Glenn Morris  <rgm@gnu.org>
5814         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5816 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
5818         Simplify by using `define-derived-mode'.
5819         * info.el (Info-mode):
5820         * calendar/todo-mode.el (todo-mode):
5821         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5822         (gomoku-mode-map): Move initialization into declaration.
5824 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
5826         Fix Bug#5840.
5827         * ido.el (ido-file-name-all-completions-1):
5828         * minibuffer.el (minibuffer-completion-help):
5829         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5831 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5833         * simple.el (non-essential): New var.
5835         Add a new field `location' to bookmarks for non-file bookmarks.
5836         * bookmark.el (bookmark-location): Use the new field, if present.
5837         (bookmark-insert-location): Undo last change, not needed any more.
5838         * man.el (Man-bookmark-make-record):
5839         * woman.el (woman-bookmark-make-record): Add `location' field.
5841 2010-04-14  Juri Linkov  <juri@jurta.org>
5843         * simple.el (scroll-error-top-bottom): New defcustom.
5844         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
5846         * emulation/pc-select.el (pc-select-override-scroll-error):
5847         Obsolete in favor of `scroll-error-top-bottom'.
5849 2010-04-14  Juri Linkov  <juri@jurta.org>
5851         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5852         `scroll-up-command' and `M-v' to `scroll-down-command'.
5854         * emulation/cua-rect.el (cua--init-rectangles):
5855         * forms.el (forms--change-commands):
5856         * image-mode.el (image-mode-map):
5857         Remap scroll-down-command and scroll-up-command
5858         in addition to scroll-down and scroll-up.
5860 2010-04-14  Juri Linkov  <juri@jurta.org>
5862         * mwheel.el (scroll-preserve-screen-position-commands):
5863         Add mwheel-scroll to this list of commands.
5865         * simple.el (scroll-preserve-screen-position-commands):
5866         Add scroll-up-command, scroll-down-command, scroll-up-line,
5867         scroll-down-line to this list of commands.
5869 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5871         * obsolete/complete.el: Move from lisp/complete.el.
5873         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5875         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5876         to the minor mode function now turns the mode ON unconditionally.
5878 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5880         * vc-dir.el (vc-dir-kill-line): New command.
5881         (vc-dir-mode-map): Bind it to C-k.
5883         * bookmark.el (bookmark-insert-location): Handle a nil filename.
5885         * woman.el: Add bookmark declarations to silence the compiler.
5886         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5887         step to compatibility between man and woman bookmarks.
5888         Adjust for Man-default-bookmark-title renaming.
5889         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
5891         * man.el: Add bookmark declarations to silence the compiler.
5892         (Man-name-local-regexp): Make it match NAME as well.
5893         (Man-getpage-in-background): Return the buffer.
5894         (Man-notify-when-ready): Use `case'.
5895         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5896         Don't hardcode "NAME".  Simplify.
5897         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5898         Rename from Man-bookmark-make-record.
5899         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
5900         we have the actual man-args.  Use Man-getpage-in-background rather
5901         than `man' since the arg is already processed.  Let bookmark.el do the
5902         window handling.  Only wait for the relevant process.
5903         Don't forget to autoload.
5905         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5907 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5909         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5910         New functions.
5911         (woman-mode): Setup bookmark support.
5913         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5914         (man-bookmark-jump): New functions.
5915         (Man-mode): Setup bookmark support.
5917 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
5919         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5920         recognize ssh-keygen prompt (Bug#2817).
5922 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5924         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5926 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5928         Synchronize with Tramp repository.
5930         * net/tramp.el (tramp-completion-function-alist)
5931         (tramp-file-name-regexp, tramp-chunksize)
5932         (tramp-local-coding-commands, tramp-remote-coding-commands):
5933         Fix docstring.
5934         (tramp-remote-process-environment): Use `format' instead of `concat'.
5935         (tramp-handle-directory-files-and-attributes)
5936         (tramp-get-remote-path): Use `copy-tree'.
5937         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5938         compatibility: Use `completion-ignore-case' if
5939         `read-file-name-completion-ignore-case' does not exist.
5940         (tramp-do-copy-or-rename-file-directly): Do not use
5941         `tramp-handle-file-remote-p'.
5942         (tramp-do-copy-or-rename-file-out-of-band):
5943         Use `tramp-compat-delete-directory'.
5944         (tramp-do-copy-or-rename-file-out-of-band)
5945         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5946         Use `format-spec-make'.
5947         (tramp-find-foreign-file-name-handler)
5948         (tramp-advice-make-auto-save-file-name)
5949         (tramp-set-auto-save-file-modes): Remove superfluous check for
5950         `stringp'.  This is done inside `tramp-tramp-file-p'.
5951         (tramp-debug-outline-regexp): New defconst.
5952         (tramp-get-debug-buffer): Use it.
5953         (tramp-check-for-regexp): Use (forward-line 1).
5954         (tramp-set-auto-save-file-modes): Adapt version check.
5956         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5957         Wrap call of `featurep' for 2nd argument.
5958         (tramp-compat-make-temp-file): Simplify fallback implementation.
5959         (tramp-compat-copy-tree): Remove function.
5960         (tramp-compat-delete-directory): Provide implementation for older
5961         Emacsen.
5963         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5964         Do not use `tramp-fish-handle-file-attributes.
5966         * net/trampver.el: Update release number.
5968 2010-04-10  Glenn Morris  <rgm@gnu.org>
5970         * progmodes/compile.el (compilation-save-buffers-predicate):
5971         Add missing :version tag.
5973 2010-04-09  Sam Steingold  <sds@gnu.org>
5975         * progmodes/compile.el (compilation-save-buffers-predicate):
5976         Remove the "autoload" cookie.
5978         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
5979         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
5980         and `bug-reference-prog-mode' can be used in hooks directly.
5982 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
5984         Add --author support to git commit.
5985         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
5986         (vc-git-log-edit-mode): New minor mode.
5987         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
5988         New declarations.
5990 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
5992         * vc-hooks.el, vc-git.el: Improve documentation comments.
5994 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5996         Fix some of the problems in defsubst* (bug#5728).
5997         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
5998         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6000 2010-04-07  Sam Steingold  <sds@gnu.org>
6002         * progmodes/compile.el (compilation-save-buffers-predicate):
6003         New custom variable.
6004         (compile, recompile): Pass it to `save-some-buffers'.
6006 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
6008         * wid-edit.el (widget-choose): Move cursor to the second line of
6009         the buffer (Bug#5695).
6011 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6013         Add new VC methods: vc-log-incoming and vc-log-outgoing.
6014         * vc.el (vc-print-log-setup-buttons): New function split out from
6015         vc-print-log-internal.
6016         (vc-log-internal-common): New function, a parametrized version of
6017         vc-print-log-internal.
6018         (vc-print-log-internal): Just call vc-log-internal-common with the
6019         right arguments.
6020         (vc-incoming-outgoing-internal):
6021         (vc-log-incoming, vc-log-outgoing): New functions.
6022         (vc-log-view-type): New permanent local variable.
6024         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6026         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6027         of the dynamic bound vc-short-log.
6028         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6030         * vc-git.el (vc-git-log-outgoing): New function.
6031         (vc-git-log-view-mode): Use vc-log-view-type instead
6032         of the dynamic bound vc-short-log.
6034         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6035         of the dynamic bound vc-short-log.  Highlight the tag.
6036         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6037         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6038         (vc-hg-incoming-mode): Remove.
6039         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6041 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6043         Fix default-directory for vc-root-diff.
6044         * vc.el (vc-root-diff): Bind default-directory to the root
6045         directory for the diff command.
6047 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
6049         * progmodes/verilog-mode.el (verilog-forward-sexp):
6050         (verilog-calc-1): Support "disable fork" and "fork wait" multi
6051         word keywords, suggested by Steve Pearlmutter.
6052         (verilog-pretty-declarations): Support lineup of declarations in
6053         port lists.
6054         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6055         fix bug for /* / comments.
6056         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6057         Speed up and simplfy as this is never called with a bound.
6058         (verilog-pretty-declarations): Enhance to line up declarations
6059         inside a parameter list, suggested by Alan Morgan.
6060         (verilog-pretty-expr): Tune assignment regular expression match
6061         string for corner cases; also use markers instead of character
6062         number as indent changes the later.
6064 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
6066         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6067         as missing keyword.
6068         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6069         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
6070         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6071         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
6072         Tennant.
6073         (verilog-keywords):
6074         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6075         1800-2009 keywords, including "global.".
6077 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6079         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6080         appearing in buffer list (if a live buffer name matched a recentf
6081         file basename).  Should use uniquify to offer a real solution.
6083 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6085         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6086         comment to code, and add a :version tag.
6087         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6089 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
6091         Enable recentf-mode if using virtual buffers.
6092         * ido.el (recentf-list): Declare for byte-compiler.
6093         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
6094         (ido-make-buffer-list): Simplify.
6095         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
6097 2010-04-05  Juri Linkov  <juri@jurta.org>
6099         Scrolling commands which scroll a line instead of full screen.
6100         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6102         * simple.el (scroll-up-line, scroll-down-line): New commands.
6103         Put property isearch-scroll=t on them.
6105         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6106         Remove commands.
6108 2010-04-05  Juri Linkov  <juri@jurta.org>
6110         Scrolling commands which do not signal errors at top/bottom.
6111         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6113         * simple.el (scroll-up-command, scroll-down-command): New commands.
6114         Put property isearch-scroll=t on them.
6116         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6117         `scroll-down-command' and [next] from `scroll-up' to
6118         `scroll-up-command'.
6120         * emulation/cua-base.el: Put property CUA=move on
6121         `scroll-up-command' and `scroll-down-command'.
6122         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6123         and `scroll-down-command' to `cua-scroll-down'.
6125 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
6127         * help.el (describe-mode): Return nil.
6129 2010-04-04  John Wiegley  <jwiegley@gmail.com>
6131         * ido.el (ido-use-virtual-buffers): New variable to indicate
6132         whether "virtual buffer" support is enabled for IDO.
6133         (ido-virtual): Face used to indicate virtual buffers in the list.
6134         (ido-buffer-internal): If a buffer is chosen, and no such buffer
6135         exists, but a virtual buffer of that name does (which would be why
6136         it was in the list), recreate the buffer by reopening the file.
6137         (ido-make-buffer-list): If virtual buffers are being used, call
6138         `ido-add-virtual-buffers-to-list' before the make list hook.
6139         (ido-virtual-buffers): New variable which contains a copy of the
6140         current contents of the `recentf-list', albeit pared down for the
6141         sake of speed, and with proper faces applied.
6142         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6143         create a list of "virtual buffers" to present to the user in
6144         addition to the currently open set.  Note that this logic could
6145         get rather slow if that list is too large.  With the default
6146         `recentf-max-saved-items' of 200, there is little speed penalty.
6148 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6150         * font-lock.el: Require CL when compiling.
6151         (font-lock-turn-on-thing-lock): Use `case'.
6153 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
6155         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6156         Zaretskii.
6158 2010-04-02  Juri Linkov  <juri@jurta.org>
6160         * ehelp.el (electric-help-orig-major-mode):
6161         New buffer-local variable.
6162         (electric-help-mode): Set it to original major-mode.  Doc fix.
6163         (with-electric-help): Use `electric-help-orig-major-mode' instead
6164         of (default-value 'major-mode).  Doc fix.
6165         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6167 2010-04-02  Sam Steingold  <sds@gnu.org>
6169         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6170         `vc-hg-command' with a list of flags.
6172         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6173         Also accept "patch" and "RFE".
6174         (bug-reference-fontify): `bug-reference-url-format' can also be a
6175         function to be able to handle the bug kind.
6176         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6178 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
6180         * tmm.el (tmm-get-keymap): Check with symbolp before passing
6181         value to fboundp, it may not be a symbol.
6183 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6185         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6187 2010-03-31  Juri Linkov  <juri@jurta.org>
6189         * simple.el (next-line, previous-line): Re-throw a signal
6190         with `signal' instead of using `ding'.
6191         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6193 2010-03-31  Juri Linkov  <juri@jurta.org>
6195         * simple.el (keyboard-escape-quit): Raise deselecting the active
6196         region higher than exiting the minibuffer.
6197         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6199 2010-03-31  Juri Linkov  <juri@jurta.org>
6201         * image.el (image-animated-p): Use `image-metadata' instead of
6202         `image-extension-data'.  Get GIF extenstion data from metadata
6203         property `extension-data'.
6205 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6207         * simple.el (append-to-buffer): Simplify.
6209 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
6211         * textmodes/artist.el (artist-mode): Fix typo in docstring.
6212         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
6214 2010-03-31  Kenichi Handa  <handa@m17n.org>
6216         * language/sinhala.el (composition-function-table): Fix regexp for
6217         the new Unicode specification.
6219         * language/indian.el (devanagari-composable-pattern)
6220         (tamil-composable-pattern, kannada-composable-pattern)
6221         (malayalam-composable-pattern): Adjust for the new Unicode
6222         specification.
6223         (bengali-composable-pattern, gurmukhi-composable-pattern)
6224         (gujarati-composable-pattern, oriya-composable-pattern)
6225         (telugu-composable-pattern): New variables to cope with the new
6226         Unicode specification.  Use them in composition-function-table.
6228 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6230         Make tmm-menubar work for the Buffers menu again (bug#5726).
6231         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6232         vectors rather than cons cells, as used in menu-bar-update-buffers.
6234 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6236         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6237         (js-insert-and-indent): Revert 2009-08-15 change, restoring
6238         electric punctuation for "{}();,:" (Bug#5586).
6240         * mail/sendmail.el (mail-default-directory): Doc fix.
6242 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6244         * mail/sendmail.el (mail-default-directory): Doc fix.
6246 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
6248         * subr.el (version-regexp-alist, version-to-list)
6249         (version-list-<, version-list-=, version-list-<=)
6250         (version-list-not-zero, version<, version<=, version=): Doc fix.
6251         (Bug#5744).
6253 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
6255         * vc.el (vc-root-diff): Doc fix.
6257 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6259         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6261         * simple.el (append-to-buffer): Fix last change.
6263 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6265         * simple.el (append-to-buffer): Ensure that point is preserved if
6266         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
6267         (Bug#5749)
6269 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6271         * files.el (auto-mode-case-fold): Change default to t.
6273 2010-03-30  Juri Linkov  <juri@jurta.org>
6275         * dired-x.el (dired-omit-mode): Doc fix.
6277 2010-03-30  Juri Linkov  <juri@jurta.org>
6279         * replace.el (occur-accumulate-lines): Move occur-engine related
6280         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6281         to be located after `occur-engine'.
6283 2010-03-30  Juri Linkov  <juri@jurta.org>
6285         Make occur handle multi-line matches cleanly with context.
6286         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6288         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6289         (occur-engine): Add local variables `ret', `prev-after-lines',
6290         `prev-lines'.  Use more arguments for `occur-context-lines'.
6291         Set first elem of its returned list to `data', and the second elem
6292         to `prev-after-lines'.  Don't print the separator line.
6293         In the end, print remaining context after-lines.
6294         (occur-context-lines): Add new arguments `begpt', `endpt',
6295         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
6296         after-lines of the previous match with before-lines of the
6297         current match and not overlap them.  Return a list with two
6298         values: the output line and the list of context after-lines.
6300 2010-03-30  Juri Linkov  <juri@jurta.org>
6302         * replace.el (occur-accumulate-lines): Fix a bug where the first
6303         context line at the beginning of the buffer was missing.
6305 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
6307         * files.el: Make bidi-display-reordering safe variable for boolean
6308         values.
6310 2010-03-29  Phil Hagelberg  <phil@evri.com>
6311             Chong Yidong  <cyd@stupidchicken.com>
6313         * subr.el: Extend progress reporters to perform "spinning".
6314         (progress-reporter-update, progress-reporter-do-update):
6315         Handle non-numeric value arguments.
6316         (progress-reporter--pulse-characters): New var.
6318 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
6320         * progmodes/compile.el (compilation-start): Fix regexp detection
6321         of initial cd command (Bug#5771).
6323 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
6325         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6327 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
6329         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6330         * progmodes/gdb-mi.el: Restore.
6331         * progmodes/gdb-ui.el: Remove.
6332         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6334 2010-03-25  Glenn Morris  <rgm@gnu.org>
6336         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6337         all dired buffers, even tramp ones.  (Bug#5755)
6339 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6341         Add "union tags" in mpc.el.
6342         * mpc.el: Remove backward compatibility code.
6343         (mpc-browser-tags): Change default.
6344         (mpc--find-memoize-union-tags): New var.
6345         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6346         (mpc-cmd-find): Handle the case where the playlist does not exist.
6347         Handle union-tags.
6348         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
6349         (mpc-cmd-add): Use mpc-cmd-flush.
6350         (mpc-tagbrowser-tag-name): New fun.
6351         (mpc-tagbrowser-buf): Use it.
6352         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
6354 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6356         Misc cleanup.
6357         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6358         Use replace-regexp-in-string.
6359         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6360         (makefile-imake-mode-syntax-table): Move init into defvar.
6361         (makefile-mode): Use define-derived-mode.
6363         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6364         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6365         not be present any more.
6367 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6369         * faces.el (set-face-attribute): Fix typo in docstring.
6370         (face-valid-attribute-values): Reflow docstring.
6372 2010-03-24  Glenn Morris  <rgm@gnu.org>
6374         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6376 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6378         * indent.el (indent-for-tab-command): Doc fix.
6380 2010-03-24  Alan Mackenzie  <acm@muc.de>
6382         * progmodes/cc-engine.el (c-remove-stale-state-cache):
6383         Fix off-by-one error.  Fixes bug #5747.
6385 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6387         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6388         (image-dired-read-comment): Doc fix.
6390         * json.el (json-object-type, json-array-type, json-key-type)
6391         (json-false, json-null, json-read-number):
6392         * minibuffer.el (completion-in-region-functions):
6393         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6394         (cal-tex-cursor-week):
6395         * emacs-lisp/trace.el (trace-function):
6396         * eshell/em-basic.el (eshell/printnl):
6397         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6398         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6399         * obsolete/levents.el (allocate-event, event-key, event-object)
6400         (event-point, event-process, event-timestamp, event-to-character)
6401         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6402         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6403         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6404         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6405         (reftex-highlight-selection): Fix typos in docstrings.
6407 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6409         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6411 2010-03-24  Glenn Morris  <rgm@gnu.org>
6413         * mail/rmail.el (rmail-highlight-face): Restore option deleted
6414         2008-02-13 without comment; mark it obsolete.
6415         (rmail-highlight-headers): Use rmail-highlight-face once more.
6417 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6419         * woman.el (woman2-process-escapes): Only consume the newline if
6420         the filler character is on a line by itself (Bug#5729).
6422 2010-03-24  Kenichi Handa  <handa@m17n.org>
6424         * language/indian.el (devanagari-composable-pattern): Add more
6425         consonants.
6427 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6429         * net/trampver.el: Update release number.
6431 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6433         * net/tramp.el (tramp-find-executable):
6434         Use `tramp-get-connection-buffer'.  Make the regexp for checking
6435         output of "wc -l" more robust.
6436         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6437         (tramp-open-connection-setup-interactive-shell): Remove workaround
6438         for OpenSolaris bug, it is not needed anymore.
6440 2010-03-24  Glenn Morris  <rgm@gnu.org>
6442         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
6444 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
6446         * files.el (auto-mode-alist): Accept more verilog file patterns.
6448 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6450         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6452 2010-03-24  Glenn Morris  <rgm@gnu.org>
6454         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6455         log-edit-before-checkin-process.
6457         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6459         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6461         * vc-dispatcher.el (vc-start-logentry): Doc fix.
6462         (log-view-process-buffer, log-edit-extra-flags): Declare.
6464         * log-edit.el (log-edit-before-checkin-process): Doc fix.
6466 2010-03-23  Sam Steingold  <sds@gnu.org>
6468         Fix bug#5620: recalculate all markers on compilation buffer
6469         modifications, not on file modifications.
6470         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6471         the buffer modification time, for buffers not associated with files.
6472         (compilation-mode): Create it.
6473         (compilation-filter): Update it.
6474         (compilation-next-error-function): Use it instead of
6475         `visited-file-modtime' for timestamp.
6477 2010-03-23  Juri Linkov  <juri@jurta.org>
6479         Implement Occur multi-line matches.
6480         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6482         * replace.el (occur): Doc fix.
6483         (occur-engine): Set `begpt' to the beginning of the first line.
6484         Set `endpt' to the end of the last match line.  At first, count
6485         line numbers between `origpt' and `begpt'.  Split out code from
6486         `out-line' variable to new let-bindings `match-prefix' and
6487         `match-str'.  In `out-line' add non-numeric prefix to all
6488         non-first lines of multi-line matches.  Finally, count lines
6489         between `begpt' and `endpt' and add to `lines'.
6491 2010-03-23  Juri Linkov  <juri@jurta.org>
6493         * replace.el (occur-accumulate-lines, occur-engine):
6494         Use `occur-engine-line' instead of duplicate code.
6495         (occur-engine-line): New function created from duplicate code
6496         in `occur-accumulate-lines' and `occur-engine'.
6498         * replace.el (occur-engine-line): Add optional arg `keep-props'.
6499         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6501 2010-03-23  Juri Linkov  <juri@jurta.org>
6503         * finder.el: Remove TODO tasks.
6505         * info.el (Info-finder-find-node): Add node "all"
6506         with all package info.  Handle a list of multiple keywords
6507         separated by comma.
6508         (info-finder): In interactive use with a prefix argument,
6509         use `completing-read-multiple' to read a list of keywords
6510         separated by comma.
6512 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6514         Add a new completion style `substring'.
6515         * minibuffer.el (completion-basic--pattern): New function.
6516         (completion-basic-try-completion, completion-basic-all-completions):
6517         Use it.
6518         (completion-substring--all-completions)
6519         (completion-substring-try-completion)
6520         (completion-substring-all-completions): New functions.
6521         (completion-styles-alist): New style `substring'.
6523 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6525         Get rid of .elc files after removal of the corresponding .el.
6526         * Makefile.in (compile-clean): New target.
6527         (compile-main): Use it.
6529 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
6531         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6532         don't do make there.  When compiling with separate object dir, there
6533         is no Makefile there.
6535 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6537         Get rid of the ELCFILES abomination, again.
6538         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6539         (all, compile): Don't call compile-last.
6540         (compile-main): Build the "elcfiles" list dynamically.
6541         (compile-targets): New (internal) target.
6543 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6545         * Makefile.in (top_srcdir): Define.
6546         (abs_top_builddir): Define.
6547         (srcdir): Don't append `/..'.
6548         (EMACS): Use ${abs_top_builddir}.
6549         (all, compile, compile-always, compile-last): Don't set emacswd.
6550         (update-subdirs, update-authors): Use $(top_srcdir) instead of
6551         $(srcdir).
6552         (lisp): Use $(srcdir) instead of @srcdir@.
6554 2010-03-21  Juri Linkov  <juri@jurta.org>
6556         Fix message of multi-line occur regexps and multi-buffer header lines.
6557         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6559         * replace.el (occur-1): Don't display regexp if it is longer
6560         than window-width.  Use `query-replace-descr' to display regexp.
6561         (occur-engine): Don't display regexp in the buffer header for
6562         multi-buffer occur.  Display a separate header line with total
6563         match count and regexp for multi-buffer occur.
6564         Use `query-replace-descr' to display regexp.
6566 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
6568         * net/secrets.el: Fix parenthesis.
6569         (secrets-enabled): Fix parenthesis.
6571 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6573         Use more relative file and directory names.
6574         * Makefile.in (EMACS): Arrange for it to work when we chdir.
6575         (setwins, setwins_almost, setwins_for_subdirs):
6576         Don't `cd'; output relative names.
6577         (all, compile, compile-always, compile-last): Set emacswd.
6578         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6579         Just cd to the lisp source dir so we can use relative file names.
6581         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6583 2010-03-20  Glenn Morris  <rgm@gnu.org>
6585         * textmodes/rst.el: Use faces for font-lock customization, and make the
6586         old -face variables obsolete.
6587         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6588         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6589         (rst-block-face, rst-external-face, rst-definition-face)
6590         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6591         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6592         Make obsolete.
6593         (rst-font-lock-keywords-function): Update for above changes.
6595 2010-03-20  Juri Linkov  <juri@jurta.org>
6597         * s-region.el:
6598         * obsolete/s-region.el: Move to obsolete.
6600 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
6602         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6604 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6606         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6608 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6610         Add special markup processing for commit logs.
6611         * log-edit.el (log-edit-extra-flags): New variable.
6612         (log-edit): Add new argument MODE.  Use that mode when non-nil
6613         instead of the log-view-mode.
6614         (log-view-process-buffer): New function.
6616         * vc.el: Document that the checkin method takes optional
6617         arguments.  Document new backend specific method: log-view-mode.
6618         (vc-default-log-edit-mode): New function.
6619         (vc-checkin): Use a backend specific log-view-mode.
6620         Pass extra arguments to the checkin method.
6621         (vc-modify-change-comment): Pass a dummy extra argument.
6623         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6624         log-edit.
6625         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6626         (vc-finish-logentry): Process the log buffer before passing it
6627         down.  Pass log-edit-extra-flags.
6629         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6630         command.
6631         (log-edit-extra-flags, log-edit-before-checkin-process):
6632         New declarations.
6634         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6635         command.
6636         (log-edit-extra-flags, log-edit-before-checkin-process):
6637         New declarations.
6638         (vc-hg-log-edit-mode): New derived mode.
6640         * vc-arch.el (vc-arch-checkin):
6641         * vc-cvs.el (vc-cvs-checkin):
6642         * vc-git.el (vc-git-checkin):
6643         * vc-mtn.el (vc-mtn-checkin):
6644         * vc-rcs.el (vc-rcs-checkin):
6645         * vc-sccs.el (vc-sccs-checkin):
6646         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6648 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6650         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6651         parent typo).
6653 2010-03-19  Glenn Morris  <rgm@gnu.org>
6655         * password-cache.el (password-cache, password-cache-expiry): Autoload.
6657 2010-03-18  Glenn Morris  <rgm@gnu.org>
6659         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6661         * replace.el (query-replace-history): Give it a doc string.
6662         (map-query-replace-regexp): Use query-replace-from-history-variable
6663         and query-replace-to-history-variable.
6665         * mail/hashcash.el (declare-function): Remove duplicate definition.
6667         * mail/emacsbug.el (report-emacs-bug-pretest-address):
6668         Make it an obsolete alias for report-emacs-bug-address.
6669         (message-strip-special-text-properties): Declare.
6670         (report-emacs-bug): Remove test for a pretest bug address.
6671         Combine message-mode-specific code.
6673         * mail/supercite.el: Don't require sendmail.
6674         (mh-in-header-p): Declare rather than using with-no-warnings.
6675         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6676         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
6678         * calendar/cal-french.el: Convert to utf-8.
6680         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6681         Emacs scripts.
6683 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
6685         * net/secrets.el (secrets-enabled): New variable.  Use it instead
6686         of a subfeature.
6688 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
6690         * net/secrets.el (top): Register the D-Bus signals only when the
6691         service "org.freedesktop.secrets" can be pinged.
6692         Provide subfeature `enabled'.
6694 2010-03-14  Juri Linkov  <juri@jurta.org>
6696         Add finder unknown keywords.
6698         * finder.el (finder-unknown-keywords): New function.
6700         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6701         to create a Finder node with unknown keywords.
6703 2010-03-14  Juri Linkov  <juri@jurta.org>
6705         * finder.el (finder-compile-keywords): Replace `princ' with
6706         `prin1' on a list of symbols interned from keyword strings.
6708         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6709         a comma, then split keywords using a comma and optional whitespace.
6710         Otherwise, split by whitespace.
6712         * complete.el:
6713         * face-remap.el:
6714         * log-view.el:
6715         * net/hmac-def.el:
6716         * net/hmac-md5.el:
6717         * net/netrc.el:
6718         * progmodes/mixal-mode.el: Fix keywords.
6720 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
6722         * Makefile.in (ELCFILES): Add net/secrets.elc.
6724         * net/secrets.el: New file.
6726 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6728         * facemenu.el (list-colors-display, list-colors-print): New arg
6729         callback.  Use it to allow selecting colors.
6731         * wid-edit.el (widget-image-insert): Insert image prop even if the
6732         current display is non-graphic.
6733         (widget-field-value-set): New fun.
6734         (editable-field): Use it.
6735         (widget-field-value-get): Clean up unused var.
6736         (widget-color-value-create, widget-color--choose-action):
6737         New funs.  Allow using list-colors-display to choose color.
6739 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6741         * cus-edit.el: Resort topmost custom groups.
6742         (custom-buffer-sort-alphabetically): Default to t.
6743         (customize-apropos): Use apropos-parse-pattern.
6744         (custom-search-field): New var.
6745         (custom-buffer-create-internal): Add custom-apropos search field.
6746         (custom-add-parent-links): Don't display parent doc.
6747         (custom-group-value-create): Don't sort top-level custom group.
6748         (custom-magic-value-create): Show visibility button before option name.
6750         (custom-variable-state): New fun, from custom-variable-state-set.
6751         (custom-variable-state-set): Use it.
6752         (custom-group-value-create): Hide options with standard values
6753         using the :hidden-states property.  Use progress reporter.
6755         (custom-show): Simplify.
6756         (custom-visibility): Disable images by default.
6757         (custom-variable): New property :hidden-states.
6758         (custom-variable-value-create): Enable images for
6759         custom-visibility widgets.  Use :hidden-states property to
6760         determine initial visibility.
6762         * wid-edit.el (widget-image-find): Give images center ascent.
6763         (visibility): Add :on-image and :off-image properties.
6764         (widget-visibility-value-create): Use them.
6766 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6768         * cus-edit.el (processes): Remove from development group.
6769         (oop, hypermedia): Delete group.
6770         (comm): Promote to top-level group.
6772         * net/browse-url.el (browse-url):
6773         * net/xesam.el (xesam):
6774         * net/tramp.el (tramp):
6775         * net/goto-addr.el (goto-address):
6776         * net/ange-ftp.el (ange-ftp): Put in comm group.
6778         * view.el (view): Remove from editing group.
6780         * uniquify.el (uniquify): Put in files group.
6782         * net/browse-url.el (browse-url):
6783         * ps-print.el (postscript): Put in external group.
6785         * cus-edit.el (outlines):
6786         * textmodes/text-mode.el (text-mode-hook):
6787         * textmodes/table.el (table):
6788         * textmodes/picture.el (picture):
6789         * outline.el (outlines): Put in wp group.
6791         * nxml/nxml-mode.el (nxml): Remove from wp group.
6793         * net/tramp-imap.el (tramp-imap): Put in tramp group.
6795         * mail/metamail.el (metamail): Remove from hypermedia group.
6797         * cus-edit.el (abbrev):
6798         * whitespace.el (whitespace):
6799         * vcursor.el (vcursor):
6800         * reveal.el (reveal):
6801         * hl-line.el (hl-line): Put in convenience group.
6803         * epg-config.el (epg): Put in data group.
6805         * emulation/pc-select.el (pc-select): Put in emulations group.
6807         * calculator.el (calculator): Put in applications group.
6809 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6811         Add .dir-locals.el support for file-less buffers.
6812         * files.el (hack-local-variables): Split out code to apply local
6813         variable settings ...
6814         (hack-local-variables-apply): ... here.  New function.
6815         (hack-dir-local-variables): Use the default directory for when the
6816         buffer does not have an associated file.
6817         (hack-dir-local-variables-non-file-buffer): New function.
6818         * diff-mode.el (diff-mode):
6819         * vc-annotate.el (vc-annotate-mode):
6820         * vc-dir.el (vc-dir-mode):
6821         * log-edit.el (log-edit-mode):
6822         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6824 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6826         Add support for shelving snapshots and for showing shelves.
6827         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6828         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6829         New functions.
6830         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6831         (vc-bzr-extra-menu-map): Map them.
6833 2010-03-11  Glenn Morris  <rgm@gnu.org>
6835         * cus-edit.el (customize-changed-options-previous-release):
6836         Bump to 23.1.
6838         * image.el (image-animate-max-time): Fix :version tag.
6840 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
6842         * Branch for 23.2.
6844 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6846         * vc-git.el (vc-git-revision-table): Include remote branches.
6848 2010-03-10  Kim F. Storm  <storm@cua.dk>
6850         Animated image API.
6851         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6853         * image.el (image-animate-max-time): New defcustom.
6854         (image-animated-types): New defconst.
6855         (create-animated-image, image-animate-timer)
6856         (image-animate-start, image-animate-stop, image-animate-timeout)
6857         (image-animated-p): New functions.
6859         * image-mode.el (image-toggle-display-image):
6860         Replace `create-image' with `create-animated-image'.
6862 2010-03-09  Miles Bader  <miles@gnu.org>
6864         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6865         instead of "format:"; this ensures that the output is
6866         newline-terminated.
6868 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
6870         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6871         that all errors are caught, and that the return value is always a
6872         list (Bug#5692).
6874 2010-03-08  Kenichi Handa  <handa@m17n.org>
6876         * language/misc-lang.el (windows-1256): New coding system.
6877         (cp1256): New alias of windows-1256 (bug#5690).
6879 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
6881         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6882         call to rfc822-bad-address.  (Bug#5692)
6884 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6886         * vc-git.el (vc-git-annotate-extract-revision-at-line):
6887         Use vc-git-root as default directory for revision path (Bug#5657).
6889 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
6891         * calculator.el (calculator): Don't bind split-window-keep-point
6892         (Bug#5674).
6894 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6896         * vc-git.el: Re-flow to fit into 80 columns.
6897         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6898         Remove spurious `quote' element in each case alternative.
6899         (vc-git-show-log-entry): Use prog1.
6900         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6902 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6904         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6906 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
6908         * macros.el (insert-kbd-macro): Look up keyboard macro using the
6909         definition, not the name (Bug#5481).
6911 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6913         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6914         argument with a local variable.  (Bug#5670)
6916 2010-03-02  Juri Linkov  <juri@jurta.org>
6918         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
6920 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
6922         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6923         error when FILENAME and NEWNAME are existing remote directories.
6925         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6926         parameter DIR-FLAG.
6928 2010-03-02  Glenn Morris  <rgm@gnu.org>
6930         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6931         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6933 2010-03-01  Kenichi Handa  <handa@m17n.org>
6935         * language/burmese.el (burmese-composable-pattern): Rename from
6936         myanmar-composable-pattern.
6938         * international/characters.el (script-list):
6939         * international/fontset.el (script-representative-chars):
6940         Change myanmar to burmese.
6941         (otf-script-alist): Likewise.
6942         (setup-default-fontset): Likewise.  Re-fix :otf spec.
6944 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6946         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6948 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
6950         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6952 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6954         * net/tramp.el (tramp-handle-write-region): START can be a string.
6955         Take care in the checks.  Reported by Dan Davison
6956         <davison@stats.ox.ac.uk>.
6958 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6960         * net/dbus.el (dbus-introspect, dbus-get-property)
6961         (dbus-set-property, dbus-get-all-properties):
6962         Use `dbus-call-method' when noninteractive.  (Bug#5645)
6964 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
6966         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6967         * emacs-lisp/elint.el (elint-add-required-env):
6968         * calendar/icalendar.el (icalendar--add-diary-entry):
6969         * calc/calcalg2.el (math-tracing-integral):
6970         * files.el (recover-session-finish): Use with-current-buffer
6971         instead of save-excursion.
6973 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6975         Fix in-buffer completion when after-change-functions modify the buffer.
6976         * minibuffer.el (completion--replace): New function.
6977         (completion--do-completion): Use it and use relative movement.
6979 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
6981         * international/fontset.el (setup-default-fontset): Fix :otf spec.
6983 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
6985         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6986         Allow the characters _<> in the stack entry (Bug#5653).
6988 2010-02-26  Kenichi Handa  <handa@m17n.org>
6990         * language/burmese.el: Fix entries in composition-function-table.
6991         (myanmar-composable-pattern): New variable.
6993         * international/fontset.el (setup-default-fontset): Add an entry
6994         for myanmar.
6996         * international/characters.el (script-list): Add Myanmar
6997         Extended-A.
6999 2010-02-26  Glenn Morris  <rgm@gnu.org>
7001         * custom.el (custom-initialize-delay): Doc fix.
7003         * mail/sendmail.el (send-mail-function): Autoload the call
7004         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7006 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
7008         * files.el (hack-local-variables-filter): For eval forms, also
7009         check safe-local-variable-p (Bug#5636).
7011 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
7013         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7014         setting the modes by `ignore-errors'.  It might fail, for example
7015         if the file is not owned by the user but the group.
7016         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7018 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
7020         * files.el (directory-listing-before-filename-regexp): Use
7021         stricter matching for iso-style dates, to avoid false matches with
7022         date-like filenames (Bug#5597).
7024         * htmlfontify.el (htmlfontify): Doc fix.
7026         * eshell/eshell.el (eshell): Doc fix.
7028         * startup.el (fancy-about-screen): In mode-line, apply
7029         mode-line-buffer-id face only to the buffer name (Bug#5613).
7031 2010-02-20  Kevin Ryde  <user42@zip.com.au>
7033         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7034         In `watcom' anchor regexp to start of line, to avoid slowness
7035         (Bug#5599).
7037 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
7039         * subr.el (remove-yank-excluded-properties): Explain in a comment
7040         why `category' property is removed.
7042 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
7044         * isearch.el (isearch-update-post-hook, isearch-update): Revert
7045         2010-02-17 change.
7047 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
7049         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7050         (icalendar--convert-weekly-to-ical)
7051         (icalendar--convert-yearly-to-ical)
7052         (icalendar--convert-block-to-ical)
7053         (icalendar--convert-cyclic-to-ical)
7054         (icalendar--convert-anniversary-to-ical): Take care of time
7055         specifications where hour has 1-digit only (Bug#5549).
7057 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
7059         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7060         of disassemble output in GDB 7.1.
7062 2010-02-19  Glenn Morris  <rgm@gnu.org>
7064         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7065         property.  (Bug#5593)
7067 2010-02-18  Sam Steingold  <sds@gnu.org>
7069         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7071 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7073         Use abbreviated file names in bookmarks (bug#5591).
7074         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7075         calls to expand-file-name.
7076         (bookmark-relocate): Use abbreviated file names in bookmarks.
7077         (bookmark-load): Use abbreviated file names in messages.
7079 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7081         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7082         expand "." and "..".  Reported by Thierry Volpiatto
7083         <thierry.volpiatto@gmail.com>.
7085 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7087         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7088         permissions of the temporary file to "0600".  In case the remote
7089         file has no read permissions for the owner, there might be
7090         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
7092 22010-02-18  Glenn Morris  <rgm@gnu.org>
7094         * emacs-lisp/authors.el (authors-renamed-files-alist):
7095         Add entries for INSTALL.CVS.
7097 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
7099         * vc-bzr.el: Fix typo in Known Bugs section.
7101         * isearch.el (isearch-update-post-hook): New hook.
7102         (isearch-update): Use the new hook.
7104 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
7106         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7107         Fix errors in copying directories.
7108         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7109         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7110         (tramp-handle-delete-file)
7111         (tramp-handle-dired-recursive-delete-directory)
7112         (tramp-handle-write-region): Flush also the cache for the upper
7113         directory.
7115 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
7117         * simple.el (save-interprogram-paste-before-kill): Doc fix.
7119         * cus-edit.el (hardware): Doc fix.
7121         * man.el (man): Add to external custom group.
7123         * delim-col.el (columns): Move to wp custom group.
7125         * doc-view.el (doc-view): Add to data custom group.
7127         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7129         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7130         by ispell-parse-output (Bug#5575).
7132 2010-02-16  Kenichi Handa  <handa@m17n.org>
7134         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7135         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7136         (skkdic-convert): Use `euc-japan' coding system for writing.
7138 2010-02-16  Glenn Morris  <rgm@gnu.org>
7140         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7141         tex-main-file before using it.  (Bug#5562)
7143 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7145         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7146         warnings, since it is annoying for the user to see them each time he
7147         runs the code.
7149 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
7151         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7152         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7153         instead of PROC for caching "first-password-request".  Otherwise,
7154         new processes would not profit from passwords already entered.
7156         * net/tramp-cache.el (tramp-dump-connection-properties):
7157         Don't save "first-password-request" property.
7159 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
7161         * outline.el (outline-head-from-level):
7162         * simple.el (with-wrapper-hook):
7163         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7164         (elint-defun, elint-buffer-env, elint-top-form-logged)
7165         (elint-unbound-variable):
7166         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7167         Fix typos in docstrings.
7169 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
7171         * files.el (insert-directory): When WILDCARD-REGEXP and
7172         FULL-DIRECTORY-P are nil, insert the file entry instead of the
7173         whole directory.  (Bug#5551)
7175         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
7176         dired's alignment sanity.  (Bug#5516)
7178 2010-02-14  Juri Linkov  <juri@jurta.org>
7180         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7181         Remove remaining ^H with their preceding chars.  (Bug#5566)
7183 2010-02-13  Glenn Morris  <rgm@gnu.org>
7185         * simple.el (transpose-subr): Give it a doc-string.
7187         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7188         Doc fixes.
7190 2010-02-12  Juri Linkov  <juri@jurta.org>
7192         * arc-mode.el (archive-unique-fname): Make directories for nested
7193         archives.  (Bug#5540)
7195 2010-02-12  Juri Linkov  <juri@jurta.org>
7197         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
7199 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7201         * subr.el (copy-overlay): Handle deleted overlays.
7203         * man.el (Man-completion-table): Don't signal an error if we can't run
7204         manual-program (bug#4056).
7206 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
7208         * textmodes/artist.el (artist-mt): Fix typos in docstring.
7210 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7212         * info.el (Info-bookmark-jump): Simplify.
7214         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7215         (bookmark-default-handler): Accept new bookmark field `buffer'.
7217 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
7219         * iswitchb.el (iswitchb-completions): Revert last change.
7221 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
7223         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7224         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7225         This prevents file names like "~/" being listed literally.
7227 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
7229         * term/xterm.el (xterm-maybe-set-dark-background-mode):
7230         Remove dead code.  (Bug#5546)
7232 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
7234         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7235         correctly (Bug#5548).
7237 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
7239         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7240         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7242 2010-02-08  Kenichi Handa  <handa@m17n.org>
7244         * international/mule-util.el (with-coding-priority): Add autoload
7245         cookie for putting `lisp-indent-function'.
7247 2010-02-07  Glenn Morris  <rgm@gnu.org>
7249         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7250         Move F2003 named interfaces from keywords-2 to keywords-1, and
7251         use function-name-face rather than constant-face.
7252         Simplify "abstract interface" regexp.
7254 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
7256         * eshell/esh-util.el (eshell-file-attributes): New optional arg
7257         ID-FORMAT.  Pass it to `file-attributes'.
7259         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7261 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
7263         * faces.el (set-face-attribute): Allow calling
7264         internal-set-lisp-face-attribute with 'unspecified family and
7265         foundry argument (Bug#5536).
7267 2010-02-07  Glenn Morris  <rgm@gnu.org>
7269         * progmodes/f90.el (f90-font-lock-keywords-2)
7270         (f90-looking-at-type-like, f90-looking-at-program-block-end):
7271         Handle F2003 named interfaces.
7273 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
7275         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7276         beg and end before calling c-get-state-before-change-functions.
7278 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
7280         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7282 2010-02-05  Juri Linkov  <juri@jurta.org>
7284         * doc-view.el (doc-view-mode):
7285         * image-mode.el (image-mode): Put property mode-class=special.
7286         (Bug#4896)
7288 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
7290         * vc-svn.el (vc-svn-revision-table): New function.
7292 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
7294         * net/ange-ftp.el (ange-ftp-insert-directory):
7295         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7296         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7297         Handle also directories.  (Bug#5478)
7299 2010-02-05  Glenn Morris  <rgm@gnu.org>
7301         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7303 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
7305         * startup.el (command-line-1): Convert options beginning with a
7306         single dash as well (Bug#5519).
7308 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7310         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7311         * minibuffer.el (completion-initials-expand): Only check the presence
7312         of delims *within* the boundaries, since otherwise the / delim is
7313         always found for files.
7315         Fix up various corner case problems.
7316         * doc-view.el (doc-view-last-page-number): New function.
7317         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7318         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7319         (doc-view-kill-proc): Avoid inf-loop in freak cases.
7320         (doc-view-reconvert-doc): Use the new recursive delete-directory.
7321         (doc-view-convert-current-doc): Don't create the resolution.el file
7322         here any more.
7323         (doc-view-pdf/ps->png): Do it here instead.
7324         (doc-view-already-converted-p): Check that resolution.el is present.
7325         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7326         windows that are not yet showing images.
7328 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
7330         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7331         `dired-uncache' for every elemnt which is an absolute file name.
7333         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7334         directory, handle its directory component.
7335         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7336         function is called permanently and creates noise, otherwise.
7338         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7339         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7340         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
7342 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
7344         * macros.el (apply-macro-to-region-lines):
7345         Minor simplification.  (Bug#5485)
7347 2010-02-04  Glenn Morris  <rgm@gnu.org>
7349         * mail/rmail.el (rmail-show-message-1): Handle malformed
7350         quoted-printable text.  (Bug#5441)
7352         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7354         * simple.el (visual-line-mode): Capitalize lighter.
7356 2010-02-03  John Wiegley  <jwiegley@gmail.com>
7358         * iswitchb.el (iswitchb-completions): Add bookmark files to the
7359         list of files considered for "virtual buffer" completions.
7361 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
7363         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7364         also in case of (and (not full) (not wildcard)).  This is needed
7365         when dired is called with a list of files, which are not in
7366         `default-directory'.  (Bug#5478)
7368 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7370         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7372 2010-02-02  Juri Linkov  <juri@jurta.org>
7374         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7375         from unidiff to allow function-line after @@.
7377 2010-02-02  Juri Linkov  <juri@jurta.org>
7379         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7380         '(RCS SCCS) with inverted condition.
7382 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
7384         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7385         messages.
7387 2010-02-01  Juri Linkov  <juri@jurta.org>
7389         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7390         compare with "pkunzip" and "pkzip" instead of only "pkzip".
7391         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7392         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
7394 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7396         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7397         (doc-view-revert-buffer): New command.
7398         (doc-view-mode-map): Use it.
7400 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
7402         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7403         pending merge is detected.
7405 2010-01-31  Juri Linkov  <juri@jurta.org>
7407         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7408         beginning of interactive spec like all other grep commands do.
7409         Put "all" in front of "gz".  (Bug#5260)
7411 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
7413         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7415 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
7417         * dirtrack.el (dirtrack): Warn instead of signalling error if the
7418         regexp is incorrect (Bug#5476).
7420 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
7422         * net/tramp.el (tramp-handle-insert-directory): Handle also
7423         symlinks, when FILENAME is not in `default-directory'.
7425 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7427         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7428         FILE is not in `default-directory'.  (Bug#5478)
7430         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7431         of SWITCHES.  Handle the case, FILENAME is not in
7432         `default-directory'.  (Bug#5478)
7433         (tramp-register-file-name-handlers): Add safe-magic property.
7435 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
7437         * arc-mode.el (archive-zip-extract): Quote the argument passed to
7438         unzip (Bug#5475).
7440 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
7442         * progmodes/flymake.el (flymake-allowed-file-name-masks)
7443         (flymake-master-make-header-init): Add other C++ filename masks.
7444         (flymake-find-possible-master-files)
7445         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7447 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7449         Fix some busybox annoyances.
7451         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7452         not responding." string.
7453         (tramp-open-connection-setup-interactive-shell): Dump stty
7454         settings.  Enable "neveropen" arg for all `tramp-send-command'
7455         calls.  Handle "=" in variable values properly.
7456         (tramp-find-inline-encoding): Raise an error, when no encoding is
7457         found.
7458         (tramp-wait-for-output): Check, whether PROC buffer is available.
7459         Remove spurious " ^H" sequences, sent by busybox.
7460         (tramp-get-ls-command): Suppress coloring, if possible.
7462 2010-01-28  Glenn Morris  <rgm@gnu.org>
7464         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
7466         * log-edit.el (log-edit-strip-single-file-name): Add missing
7467         :safe, :group, and :version tags.
7469 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
7471         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7472         buffers.  (Bug#5477)
7474 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
7476         * files.el (delete-directory): Handle moving to trash without
7477         first doing recursion (Bug#5436).
7479 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
7481         * vc-hooks.el (vc-path): Mark as obsolete.
7483 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
7485         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7486         names too.
7488         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7489         for the short log.
7490         (vc-bzr-log-view-mode): Adjust regexp for the above change.
7492 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
7494         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7496         * vc-bzr.el (vc-bzr-revision-table): New function.
7498 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
7500         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7501         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
7503 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
7505         Remove support for adding --signoff on commit.
7506         Future support will use an incompatible generic mechanism.
7507         * vc-git.el (vc-git-add-signoff): Remove variable.
7508         (vc-git-toggle-signoff): Remove function.
7509         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7511         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7512         from xterm-set-background-mode.  Return t if the background mode
7513         was set.
7514         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7515         earlier, call it again in case the background mode has changed.
7517 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
7519         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7520         (Bug#3541).
7522 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
7524         * emacs-lisp/assoc.el (aelement): Doc fix.
7525         (aput, adelete, amake): Use lexical-let (Bug#5450).
7527 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
7529         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7530         is the same as subprogram call, not declaration.  (Bug#5435).
7532 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
7534         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7535         (tramp-smb-maybe-open-connection): Use it.
7537 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
7539         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
7541 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7543         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7544         just because we see "encoding: 8bit".
7545         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7547 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
7549         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7551 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
7553         * jka-compr.el (jka-compr-load): If load-file is not in
7554         load-history, try its file-truename version.  (bug#5447)
7556 2010-01-21  Alan Mackenzie  <acm@muc.de>
7558         Fix a situation where deletion of a cpp construct throws an error.
7559         * progmodes/cc-engine.el (c-invalidate-state-cache):
7560         Before invoking c-with-all-but-one-cpps-commented-out, check that the
7561         special cpp construct is still in the buffer.
7562         (c-parse-state): Record the special cpp with markers, not numbers.
7564 2010-01-21  Kenichi Handa  <handa@m17n.org>
7566         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7567         process last-command-event, as it is now decoded first (Bug#5380).
7569 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
7571         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7573 2010-01-20  Glenn Morris  <rgm@gnu.org>
7575         * indent.el (tab-always-indent): Fix custom-type.
7577 2010-01-19  Alan Mackenzie  <acm@muc.de>
7579         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7580         buffer throws "args out of range".
7581         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7582         playing the role of delimiter.
7584 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
7586         * progmodes/ada-mode.el: Fix bug#5400.
7587         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7588         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7589         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
7590         Improve comments in "is" portion.  Handle null procedure declaration.
7591         (ada-move-to-end): Improve doc string.
7593 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
7595         * ido.el (ido-cur-list): Initialize to nil.
7596         Remove obsolete information from commentary.
7597         (ido-choice-list): Initialize to nil.
7598         (ido-get-bufname): Reject minibuffers.
7599         (ido-make-buffer-list): If "default" is a nonexistent
7600         buffer, ignore it, as per the function's comment.
7601         (ido-kill-buffer-internal): New function.
7602         (ido-kill-buffer-at-head): Use it.
7603         (ido-visit-buffer): Likewise.
7605 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
7607         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7609 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
7611         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7612         Fix typos in chart titles.
7614         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7615         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7616         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7617         (describe-class, eieio-describe-generic, describe-generic):
7618         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7619         (eieio-speedbar-expand):
7620         * emulation/viper-cmd.el (viper-exec-form-in-vi)
7621         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7622         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7623         (viper-del-backward-char-in-replace, viper-backward-indent)
7624         (viper-brac-function, viper-register-to-point, viper-submit-report):
7625         * net/tramp.el (tramp-remote-coding-commands):
7626         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7627         Fix typos in docstrings.
7629 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
7631         * mail/sendmail.el (mail-yank-original): Set the mark if the
7632         specified function for yanking does not do it.
7634 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
7636         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
7638         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7639         resyncing a directory.
7641 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
7643         * progmodes/ada-mode.el: Fix bug#1920.
7644         (ada-ident-re): Delete ., allow multibyte characters.
7645         (ada-goto-label-re): New; matches goto labels.
7646         (ada-block-label-re): New; matches block labels.
7647         (ada-label-re): New; matches both.
7648         (ada-named-block-re): Deleted; callers changed to use
7649         `ada-block-label-re' instead.
7650         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7651         Use `ada-block-label-re'.
7652         (ada-indent-on-previous-lines): Improve handling of goto labels.
7653         (ada-get-indent-block-start): Special-case block label.
7654         (ada-get-indent-label): Split into `ada-indent-block-label' and
7655         `ada-indent-goto-label'.
7656         (ada-goto-stmt-start, ada-goto-next-non-ws):
7657         Optionally ignore goto labels.
7658         (ada-goto-next-word): Simplify.
7659         (ada-indent-newline-indent-conditional): Insert newline before
7660         trying to fix indentation; doc fix.
7662 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
7664         * calc/calc.el (calc-command-flags): Give it an initial value.
7666 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
7668         * files.el (minibuffer-with-setup-hook):
7669         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7670         (artist-key-draw-continously, artist-key-do-continously-continously)
7671         (artist-key-set-point-continously, artist-mouse-draw-continously):
7672         Fix typos in docstrings.
7674 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
7676         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7677         return t (Bug#3898).
7679 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
7681         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7682         can parse the output of the external commands (Bug#5279).
7684 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
7686         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7688 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
7690         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7692         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7694         * startup.el (command-line): Remove unused --icon-type arg.
7695         Handle --display arg, passing it to command-line-1 (Bug#5392).
7697 2010-01-16  Mario Lang  <mlang@delysid.org>
7699         * emacs-lisp/chart.el (chart-translate-namezone):
7700         * textmodes/artist.el (artist-compute-popup-menu-table):
7701         Remove duplicated words in doc-strings.
7703 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
7705         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7706         to mairix-search to suppress threading (Bug#5342).
7708 2010-01-15  Kenichi Handa  <handa@m17n.org>
7710         * international/mule-cmds.el (canonicalize-coding-system-name):
7711         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7713 2010-01-15  Glenn Morris  <rgm@gnu.org>
7715         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
7717         * wid-edit.el (widget-keymap): Doc fix.
7719         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7720         former seems to be more widely accepted by various svn versions.
7722 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7724         * find-cmd.el (find-constituents):
7725         * vc-arch.el (vc-arch-root):
7726         * window.el (window-body-height, pop-up-frames):
7727         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7728         * progmodes/ada-stmt.el (ada-if):
7729         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7730         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7731         (ispell-encoding8-command, ispell-aspell-supports-utf8)
7732         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7734         * progmodes/flymake.el (flymake-post-syntax-check):
7735         Fix typo in error message.
7737 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7739         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7740         which is always a string.  (Bug#5313)
7742 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7744         * progmodes/ada-xref.el (ada-default-prj-properties):
7745         Simplify previous change.
7747 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7749         * progmodes/ada-xref.el (ada-default-prj-properties):
7750         Default ada_project_path to $ADA_PROJECT_PATH.
7752 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7754         * progmodes/ada-mode.el (ada-create-keymap):
7755         Override `narrow-to-defun' with `ada-narrow-to-defun'.
7757 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7759         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7760         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7761         (ada-get-current-indent, ada-imenu-generic-expression)
7762         (ada-which-function): Check for it.
7764 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7766         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7767         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7769 2010-01-14  Glenn Morris  <rgm@gnu.org>
7771         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
7773 2010-01-14  Kenichi Handa  <handa@m17n.org>
7775         * composite.el (auto-composition-mode): Make it a buffer local
7776         variable (permanent-local).
7777         (auto-composition-function): Set the default value to
7778         auto-compose-chars.
7779         (auto-composition-mode): Make it a simple function, not a minor mode.
7780         (global-auto-composition-mode): Likewise.
7781         (turn-on-auto-composition-if-enabled): Delete it.
7783 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
7785         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7787 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
7789         * files.el (copy-directory): Compute target for recursive
7790         directories with identical names.  (Bug#5343)
7792 2010-01-12  Glenn Morris  <rgm@gnu.org>
7794         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7795         it to bug-gnu-emacs rather than emacs-pretest-bug.
7797 2010-01-11  Sam Steingold  <sds@gnu.org>
7799         * imenu.el (imenu-default-create-index-function): Detect infinite
7800         loops caused by imenu-prev-index-position-function.
7802 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7804         * htmlfontify.el (htmlfontify-load-rgb-file)
7805         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7806         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7807         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7808         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7809         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7810         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7811         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7812         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7813         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7814         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7815         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7816         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7817         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7818         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7819         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7820         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7821         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7822         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7823         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7824         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7825         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7826         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7827         backslash-quoting from parentheses, etc.
7829 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
7831         * progmodes/js.el: Autoload javascript-mode alias.
7833 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7835         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7836         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7837         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7838         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7839         Fix typos in docstrings.
7840         (ffap-url-regexp): Doc fix.
7841         (ffap-at-mouse): Fix typo in message.
7843 2010-01-11  Glenn Morris  <rgm@gnu.org>
7845         * version.el (emacs-copyright): Set copyright year to 2010.
7847 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * format.el (format-annotate-function): Only set
7850         write-region-post-annotation-function after running to-fn so as not to
7851         affect nested write-region calls (bug#5273).
7853 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
7855         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7856         wisent/python.el.
7858 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7860         * man.el (Man-goto-section): Signal error if the section is not
7861         found (Bug#5317).
7863 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
7865         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7866         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
7868 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7870         * progmodes/compile.el: Don't treat compile-command as safe if
7871         compilation-read-command might be nil (Bug#4218).
7873 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
7875         * startup.el (command-line-1): Use orig-argi to check for ignored X and
7876         NS options.
7878 2010-01-08  Kenichi Handa  <handa@m17n.org>
7880         * international/fontset.el (build-default-fontset-data):
7881         Exclude characters in scripts kana, hangul, han, or cjk-misc.
7883 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
7885         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7886         to `create-file-buffer' as it expects, not just a buffer name.
7887         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7888         to help uniquify.  (Bug#3224)
7890 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
7892         * font-setting.el (font-setting-change-default-font): Use user-spec
7893         instead of name.
7895 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
7897         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7899 2010-01-05  Tom Tromey  <tromey@redhat.com>
7901         * progmodes/python.el (python-font-lock-keywords):
7902         Handle qualified decorators (Bug#881).
7904 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7906         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7907         in a lightweight checkout.
7909 2010-01-05  Kenichi Handa  <handa@m17n.org>
7911         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7913 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7915         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7917 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
7919         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7920         checkouts.  (Bug#618)
7921         (vc-bzr-log-view-mode): Also highlight the author.
7922         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7923         (vc-bzr-shelve-menu-map):
7924         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7925         (vc-bzr-shelve-apply): Make prompt more explicit.
7927 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
7929         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7930         They are valid characters in URL paths (rfc3986), and at least
7931         Firefox does not understand the encoded version (Bug#3166).
7933 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
7935         * progmodes/octave-mod.el (octave-end-keywords)
7936         (octave-block-begin-or-end-regexp, octave-block-match-alist):
7937         Add "end" keyword (Bug#3061).
7938         (octave-end-as-array-index-p): New function.
7939         (calculate-octave-indent): Use it.
7941 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7943         * bookmark.el: Consistently put the text property on the bookmark name.
7944         (bookmark-bmenu-marks-width): Bump back to 2, to include
7945         annotation marks.
7946         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7947         property on the bookmark name, instead of not putting it at all.
7948         (bookmark-bmenu-list): Fix where we put the text property.
7950 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7952         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7953         for showing buffer modified state (as added in the previous change).
7955 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7957         * bookmark.el: Show modified state of bookmark buffer more accurately.
7958         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7959         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7960         (with-buffer-modified-unmodified): New macro.
7961         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7962         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7963         Use new macro to preserve the buffer modified state.
7965 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7967         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7968         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7969         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7970         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7971         (bookmark-bmenu-rename, bookmark-bmenu-locate)
7972         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7973         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7975 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
7977         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7978         Make the lines in the generated doc string shorter.  (Bug#4668)
7980 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
7982         * net/rcirc.el: Add follow-link binding (Bug#4738).
7984 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
7986         * Makefile.in (bzr-update): Rename from cvs-update.
7987         (cvs-update): New target for backward compatibility.
7989         * makefile.w32-in (bzr-update): Rename from cvs-update.
7990         (cvs-update): New target for backward compatibility.
7992 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7994         * bookmark.el: Remove gratuitous gratitude.
7996 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7998         * bookmark.el (bookmark-bmenu-any-marks): New function.
7999         (bookmark-bmenu-save): Clear buffer modification if no marks.
8001 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8003         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8004         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8005         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8006         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8008         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8009         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8010         To: emacs-devel {_AT_} gnu.org
8011         Subject: bookmark.el bug report
8012         Date: Mon, 28 Dec 2009 14:19:16 +0800
8013         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8015 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8017         * bookmark.el: Improvements suggested by Drew Adams:
8018         (bookmark-bmenu-ensure-position): New name for
8019         `bookmark-bmenu-check-position'.  Just ensure the position,
8020         don't return any meaningful value.
8021         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8022         New constants.
8024 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
8026         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8027         (bookmark-yank-point, bookmark-bmenu-check-position):
8028         Fix typos in docstrings.
8029         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8030         (bookmark-name-from-full-record, bookmark-get-position)
8031         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8032         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8033         Remove useless quoting of parenthesis, etc. in docstrings.
8035         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8036         (ediff-append-custom-diff): Fix typo in error message.
8037         (ediff-meta-mark-equal-files): Fix typos in messages.
8039         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8041         * net/imap-hash.el (imap-hash-make): Doc fix.
8042         (imap-hash-test): Fix typo in error message; reflow docstring.
8043         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8044         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8045         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8046         Fix typos in docstrings.
8047         (imap-hash-open-connection): Fix typo in error message.
8049         * play/gomoku.el (gomoku): Fix typos in docstring.
8051         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8052         (gdb-jsonify-buffer): Fix typos in docstring.
8053         (gdb-goto-breakpoint): Fix typo in error message.
8054         ("Display Other Windows"): Fix typo in help message.
8055         (gdb-speedbar-expand-node): Fix typo in question.
8057         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8058         (idlwave-html-system-help-location, idlwave-html-help-location)
8059         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8060         (idlwave-help-browser-generic-args, idlwave-help-directory)
8061         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8062         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8063         (idlwave-online-help, idlwave-help-html-link)
8064         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8065         Fix typos in docstrings.
8066         (idlwave-help-with-source, idlwave-help-find-routine-definition):
8067         Reflow docstrings.
8068         (idlwave-help-assistant-start): Fix typo in error message.
8070         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8071         (octave-electric-space): Fix typos in docstrings.
8073 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
8075         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8077 2010-01-01  Juri Linkov  <juri@jurta.org>
8079         * comint.el (comint-input-ring-size): Make it a defcustom and
8080         increase the default to 500 (Bug#5148).
8082 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
8084         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8085         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8086         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8088 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
8090         Show working revision correctly for mercurial.
8091         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8092         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8094 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
8096         Declare some functions for the byte-compiler.
8097         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8098         (speedbar-timer-fn, speedbar-change-expand-button-char)
8099         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8101 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
8103         This changeset reverts GDB Graphical Interface to use annotations.
8104         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8106 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
8108         Make vc-dir work on subdirectories of the bzr root.
8109         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
8110         file names relative to it.
8111         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8112         relative directory to vc-bzr-after-dir-status.
8114 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
8116         * font-lock.el (font-lock-refresh-defaults): New function, which
8117         can be used to let font-lock react to external changes in
8118         variables like font-lock-defaults and keywords.
8119         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8121 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
8123         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8125         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8127 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
8129         Supersede color.diff settings in git log (bug#5211).
8131         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8132         escape chars in its output when the user has color.diff set to `always'.
8133         This fix works on git 1.4.2 and newer (released on 2006-08-13).
8135 2009-12-26  Kevin Ryde  <user42@zip.com.au>
8137         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8138         node.  Keep previous "Index" name to work with past coreutils too.
8140         * man.el (man): Revise docstring a bit to show -a and -l as
8141         examples.  Add -k description since support for it has otherwise
8142         been a secret.  (Further to bug#3717.)
8143         (Man-bgproc-sentinel): When "-k foo" produces no output show error
8144         "no matches" rather than "Can't find manpage", as the latter reads
8145         like -k was interpreted as a page name, which is not so.  (Bug#5431)
8147 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
8149         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8150         switches.  Check also for //SUBDIRED// line.
8152 2009-12-25  Kenichi Handa  <handa@m17n.org>
8154         * language/indian.el (devanagari-composable-pattern): Fixed to
8155         handle ZWNJ and ZWJ.  Use it in composition-function-table for
8156         Devanagari.
8157         (malayalam-composable-pattern): Fix previous change.
8159 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8161         * ps-print.el (ps-face-attributes): It was not returning the
8162         attribute face for faces specified as string.  Reported by harven
8163         <harven@free.fr>.  (Bug#5254)
8164         (ps-print-version): New version 7.3.5.
8166 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
8168         * calendar/icalendar.el (icalendar--convert-tz-offset):
8169         Fix timezone names.
8170         (icalendar--convert-tz-offset): Fix the "last-day-problem".
8171         (icalendar--add-diary-entry): Remove the trailing blank that
8172         diary-make-entry inserts.
8174 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
8176         Make `file-expand-wildcards' work for remote files.
8178         * files.el (file-expand-wildcards): In case of remote files, check
8179         only local file name part for wildcards.  Provide feature 'files
8180         and subfeature 'remote-wildcards.  (Bug#5198)
8182         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8183         if there is already an established connection.
8184         (tramp-advice-file-expand-wildcards): Remove it.
8186         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8187         (tramp-advice-file-expand-wildcards): Move from tramp.el.
8188         Activate advice for older GNU Emacs versions.  (Bug#5237)
8190 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
8192         Some doc fixes (more needed).
8194         * find-cmd.el (find-constituents): Reflow docstring.
8195         (find-cmd, find-prune, find-command): Fix typos in docstrings.
8196         (find-generic): Doc fix.
8198 2009-12-17  Juri Linkov  <juri@jurta.org>
8200         Fix regression from 23.1 to allow multiple modes in Local Variables.
8202         * files.el (hack-local-variables-filter): While ignoring duplicates,
8203         don't take `mode' into account.
8204         (hack-local-variables-filter, hack-dir-local-variables):
8205         Don't remove duplicate `mode' from local-variables-alist (like `eval').
8207 2009-12-17  Juri Linkov  <juri@jurta.org>
8209         Make `dired-diff' safer.  (Bug#5225)
8211         * dired-aux.el (dired-diff): Signal an error when `file' equals to
8212         `current' or when `file' is a directory of the `current' file.
8214 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
8216         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8217         unconditionally preloaded files.
8219 2009-12-16  Juri Linkov  <juri@jurta.org>
8221         Revert to old 23.1 logic of using the file at the mark as default.
8222         * dired-aux.el (dired-diff): Use the file at the mark as default
8223         if it's not the same as the current file, and the target dir is
8224         the current dir or the mark is active.  Add the current file
8225         as the arg of `dired-dwim-target-defaults'.  Use the default file
8226         in the prompt.  (Bug#5225)
8228 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
8230         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8231         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8232         (tramp-check-for-regexp): Check also, when an echoing shell stops
8233         to echo sent commands.
8235 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8237         * Makefile.in: Revert last change (Bug#5191).
8239 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
8241         * vc-hg.el (vc-hg-print-log): Fix argument order.
8242         (vc-hg-working-revision): Make sure the command is executed in a
8243         known environment so that we can parse the output.  (Bug#4417)
8245 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8247         * progmodes/python.el (python-symbol-completions): Remove text
8248         properties from symbol string before calling python-send-receive.
8250 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
8252         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8253         when there are values for both file and line.  (Bug#5060)
8255 2009-12-14  Juri Linkov  <juri@jurta.org>
8257         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8258         whitespace after the file name of the first line of unified format,
8259         because git-diff doesn't output whitespace and file modification time
8260         after the file name.
8262 2009-12-14  David Kastrup  <dak@gnu.org>
8264         * info.el (Info-hide-cookies-node): Before hiding a cookie,
8265         check if it already has the `display' property added by
8266         `Info-display-images-node', and not put the `invisible' property
8267         in this case.
8269 2009-12-13  Glenn Morris  <rgm@gnu.org>
8271         * mail/emacsbug.el (message-sort-headers): Define for compiler.
8272         (report-emacs-bug): In message-mode, sort manually before storing
8273         original report text.  (Bug#5178)
8274         Remove superfluous save-excursion.
8276 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
8278         * net/dbus.el (dbus-property-handler): Filter lambda forms out
8279         when responding to "GetAll" properties.
8281 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
8283         * simple.el (compose-mail): Remove mail-setup-with-from from
8284         customization checks.
8286 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
8288         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8289         RAR archives created on Unix systems.
8291 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8293         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8294         the varalias that was accidentally removed by the 2009-11-19 change
8295         (bug#5186).
8297 2009-12-12  Kenichi Handa  <handa@m17n.org>
8299         * language/indian.el (indian-compose-regexp): New function.
8300         (malayalam-composable-pattern): Fix the pattern.
8301         (composition-function-table): Set malayalam-composable-pattern for
8302         Malayalam characters.
8304 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
8306         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8307         rather than down-mouse-1, based on follow-link conventions.
8309         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8310         are compiled.
8312 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
8314         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8315         (verilog-vmm-statement-re, verilog-ovm-statement-re)
8316         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8317         (verilog-leap-to-head, verilog-backward-token):
8318         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
8320 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
8322         * progmodes/verilog-mode.el (verilog-auto-lineup)
8323         (verilog-nameable-item-re): Cleanup user-visible spelling and
8324         documentation errors.  One reported by Gary Delp.
8325         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8326         (verilog-read-decls): Fix AUTOWIRE with types declared in a
8327         package, bug195.  Reported by Pierre-David Pfister.
8329 2009-12-11  Glenn Morris  <rgm@gnu.org>
8331         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8333         * mail/emacsbug.el: No longer require sendmail.
8334         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
8335         (report-emacs-bug-orig-text): Doc fix.
8336         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8337         New local variables, to adapt to different mail-user-agents.
8338         (report-emacs-bug): Fix test for a gnu.org address.
8339         Use overlays for emphasis, since font-lock defeats 'face property.
8340         Pretest bugs also end up at the newsgroup these days.
8341         Stop message-mode stripping text properties.
8342         Set and use the new buffer-local variables.
8343         (report-emacs-bug-hook): Add doc-string.
8344         Remove some unnecessary save-excursions and simplify.
8345         Use the appropriate hook and send-command.
8347         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8348         capitalization of some menu entries.
8350 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8352         * whitespace.el (whitespace-display-char-on):
8353         Ensure `buffer-display-table' is unique when two or more windows are
8354         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8355         New version 12.1.
8357 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
8359         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8360         characters in the Attribute field.
8362 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
8364         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
8366 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8368         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8369         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8370         Disregard autoload-excludes.
8371         (update-directory-autoloads): Obey autoload-excludes here instead.
8372         But don't store its contents in no-autoloads and remove entries that
8373         refer to excludes files.
8375 2009-12-10  Glenn Morris  <rgm@gnu.org>
8377         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8378         (expand-mail-aliases): Define for compiler.
8380         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8381         Define for compiler.
8383         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8384         appropriate for the mail-user-agent in use.
8386 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
8388         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8390 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
8392         Fix short log parsing and fontification.
8393         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8394         Fix fontification for the [merge] label.
8396 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
8398         Drop some properties to avoid surprises (bug#5002).
8399         * htmlfontify.el (hfy-ignored-properties): New defcustom.
8400         (hfy-fontify-buffer): Use it.
8402 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8404         Minor cleanup.
8405         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8406         Adjust all callers.
8407         (ffap-locate-file): Remove unused arg `dir-ok' and make other
8408         args compulsory.  Adjust callers.
8409         (ffap-gopher-at-point): Remove unused var `name'.
8411         Get rid of the ELCFILES abomination.
8412         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8413         (compile-elcfiles): New phony target.
8414         (compile-main): Compute ELCFILES dynamically.
8415         (compile-clean): New target to remove left-over elc files.
8416         (compile, all): Use it.
8418 2009-12-09  Kenichi Handa  <handa@etlken>
8420         * international/mule-diag.el: Require help-mode instead of help-fns.
8422 2009-12-09  Kenichi Handa  <handa@m17n.org>
8424         * international/mule-cmds.el (ucs-names): Supply sufficiently
8425         fine ranges instead of pre-calculating accurate ranges.
8426         Iterate with bigger gc-cons-threshold.
8428 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
8430         Add support for stashing a snapshot of the current tree.
8431         * vc-git.el (vc-git-stash-snapshot): New function.
8432         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8434 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
8436         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8437         instead of `(beginning|end)-of-line'.
8439 2009-12-08  Glenn Morris  <rgm@gnu.org>
8441         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8443         * Makefile.in (ELCFILES): Regenerate.
8445 2009-12-07  Juri Linkov  <juri@jurta.org>
8447         Don't lazy-highlight the comint output in history Isearch mode.
8449         * comint.el (comint-history-isearch-search): Instead of
8450         `comint-line-beginning-position', use `comint-after-pmark-p'
8451         to check if point if before the process mark, and go to
8452         `process-mark' in this case.
8454 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8456         * textmodes/tex-mode.el (latex-complete)
8457         (latex-indent-or-complete): Remove.
8458         (latex-mode): Set completion-at-point-functions instead.
8460         Provide a standard completion command and hook it into TAB.
8461         * minibuffer.el (completion-at-point-functions): New var.
8462         (completion-at-point): New command.
8463         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8464         * progmodes/python.el (python-mode-map): Use completion-at-point.
8465         (python-completion-at-point): Rename from python-partial-symbol and
8466         adjust for use in completion-at-point-functions.
8467         (python-mode): Setup completion-at-point for Python completion.
8468         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8469         extracted from lisp-complete-symbol.
8470         (lisp-complete-symbol): Use it.
8471         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8472         setup completion-at-point for Elisp completion.
8473         (emacs-lisp-mode-map, lisp-interaction-mode-map):
8474         Use completion-at-point.
8475         * ielm.el (ielm-map): Use completion-at-point.
8476         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8477         * progmodes/sym-comp.el: Move to...
8478         * obsolete/sym-comp.el: Move from progmodes.
8480 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
8482         Prevent save-buffer in Rmail buffers from using the coding-system
8483         of the current message, and from clobbering the encoding mnemonics
8484         in the mode line (Bug#4623).
8486         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8487         flag, too.
8488         (rmail-message-encoding): New variable.
8489         (rmail-write-region-annotate): Record the encoding of the current
8490         message in rmail-message-encoding.
8491         (rmail-after-save-hook): New function, restores the encoding of
8492         the current message after the message collection is saved.
8494 2009-12-07  Juri Linkov  <juri@jurta.org>
8496         * progmodes/grep.el (grep-read-files): Use `completing-read'
8497         instead of `read-string'.  Set its `collection' arg to
8498         `read-file-name-internal'.  (Bug#4301)
8500 2009-12-07  Juri Linkov  <juri@jurta.org>
8502         Correctly restore original Isearch point.  (Bug#4994)
8504         * isearch.el (isearch-mode): Move `isearch-push-state' after
8505         `(run-hooks 'isearch-mode-hook)'.
8506         (isearch-cancel): When `isearch-push-state-function' is defined,
8507         let-bind `isearch-cmds' to the first state (the last element of
8508         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8509         function and restores the original point).  Otherwise, move point
8510         to `isearch-opoint'.
8512 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8514         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8515         chars that don't have names, so the table can be built much faster at
8516         run-time.
8518 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
8520         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8521         change.  Suggested by David Kastrup.
8523         * simple.el (compose-mail): Check for incompatibilities and warn.
8524         (compose-mail-user-agent-warnings): New option.
8526 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8528         Support showing a single log entry from vc-annotate.
8529         * vc.el (print-log): Add a new argument: START-REVISION.
8530         (vc-print-log-internal): Add a new optional argument and
8531         pass it to the backend.
8532         (vc-print-log, vc-print-root-log): Adjust callers.
8533         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8534         buffer already displays the requested log entry, use it.
8535         Otherwise display only the log entry in question.
8536         * vc-svn.el (vc-svn-print-log):
8537         * vc-mtn.el (vc-mtn-print-log):
8538         * vc-hg.el (vc-hg-state):
8539         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8540         (vc-git-show-log-entry): Return t on success.
8541         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8542         (vc-bzr-show-log-entry): Return t on success.
8543         * vc-rcs.el (vc-rcs-print-log):
8544         * vc-sccs.el (vc-sccs-print-log):
8545         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8547 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8549         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8550         Add menus to the meta mode.  (Bug#5043)
8552 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8554         * ediff-init.el (ediff-event-key): Use event-to-character instead of
8555         event-key.
8557         * ediff.el (ediff-buffers-internal): Add unwind-protect.
8559 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
8561         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
8562         Berbain <raphael.berbain@gmail.com>.
8564         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
8565         characters.
8566         (tramp-initial-end-of-output): New defconst.
8567         (tramp-methods, tramp-find-shell)
8568         (tramp-open-connection-setup-interactive-shell)
8569         (tramp-maybe-open-connection): Use it.
8570         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8571         existence of `#' and `$'.
8573         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8574         `tramp-initial-end-of-output'.
8576 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8578         Get the background mode from the terminal for xterm, and set
8579         faces accordingly.
8580         * term/xterm.el (xterm-set-background-mode): New function.
8581         (terminal-init-xterm): Use it in case xterm supports background
8582         color queries.  Recompute faces after getting the background
8583         color.
8585 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
8587         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8588         number comment back on its own line, for easier parsing.
8590 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8592         Make it work for non-file buffers (bug#5102).
8593         * doc-view.el (doc-view-current-cache-dir):
8594         Use doc-view-buffer-file-name rather than buffer-file-name.
8595         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8597 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
8599         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8600         author field is too short.
8602 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
8604         * vc-git.el (vc-git-print-log): Handle a limit argument.
8605         Display the short log in graph form and with labels.
8606         (vc-git-log-view-mode): Handle labels.
8608         Make vc-revert change VC state from 'added to 'unregistered.
8609         * vc-git.el (vc-git-revert): Call git reset first.
8611 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8613         * net/newst-backend.el, net/newst-plainview.el:
8614         * net/newst-reader.el, net/newst-ticker.el:
8615         * net/newst-treeview.el, net/newsticker.el:
8616         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
8618 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8620         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8622         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8623         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
8624         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8625         Update annotation regexp.
8627         * simple.el (beginning-of-visual-line): Constrain to field
8628         boundaries (Bug#5106).
8630 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8632         * xml.el (xml-substitute-numeric-entities): Move
8633         newsticker--decode-numeric-entities in newst-backend.el to
8634         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8635         * net/newst-backend.el (newsticker--parse-generic-feed)
8636         (newsticker--parse-generic-items)
8637         (newsticker--decode-numeric-entities): Move
8638         newsticker--decode-numeric-entities in newst-backend.el to
8639         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8641 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
8643         * progmodes/js.el (js--js-not): Add null to the list of values.
8645 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8647         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8649 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8651         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8652         delimiter if it is at the end of the current line.
8653         (bibtex-generate-url-list): Fix docstring.
8655 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8657         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8658         minibuffer's content with itself.
8659         Fold the confirm-after-completion case into the `confirm' case.
8660         (completion-pcm-word-delimiters): Add : and / to the delimiters.
8662 2009-12-06  Kevin Ryde  <user42@zip.com.au>
8664         * ffap.el (ffap-rfc-path): Make this a defcustom since
8665         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
8667         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8668         manuals, similar to existing setup for help-mode.  (Bug#3913.)
8670 2009-12-05  Juri Linkov  <juri@jurta.org>
8672         Save and restore dired buffer's point positions too.  (Bug#4880)
8674         * dired.el (dired-save-positions): Return in the first element
8675         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8676         Doc fix.
8677         (dired-restore-positions): First restore buffer's position.
8678         While restoring window's positions, check if window still displays
8679         the original buffer.
8681 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
8683         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8684         if possible.
8686         * shell.el (shell): Require ansi-color (Bug#5113).
8688         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8690         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8692 2009-12-05  Alan Mackenzie  <acm@muc.de>
8694         * progmodes/cc-mode.el (c-before-hack-hook)
8695         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8696         `c-file-style' to work again.  This reversion restores the current
8697         software to its state in Emacs 23.1.  (Bug#4146)
8699 2009-12-05  Kevin Ryde  <user42@zip.com.au>
8701         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8702         comment-start-skip to comment-end-skip as comment (Bug#4781).
8704 2009-12-05  Juri Linkov  <juri@jurta.org>
8706         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8707         for virtual nodes.  (Bug#4147)
8708         (Info-find-node-2): Set `Info-current-node-virtual' to nil
8709         when moving from a virtual node.
8710         (Info-mode-menu): Add `Info-virtual-index' to the menu.
8711         (Info-mode): Add `Info-virtual-index' to the docstring.
8713 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8715         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8716         track of the buffer position of the end of a BibTeX entry as this
8717         position may change during reformatting.
8718         (bibtex-format-entry): Remove whitespace before processing
8719         numerical fields so that we recognize the latter properly.
8720         (bibtex-reformat): Do not use push which changes the global value
8721         of bibtex-entry-format.
8722         (bibtex-field-braces-alist, bibtex-field-strings-alist)
8723         (bibtex-field-re-init): Replace only space characters by regexp
8724         for whitespace.
8725         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8726         (bibtex-initialize): Also update bibtex-strings.
8727         (bibtex-kill-field): Preserve white space at end of entry.
8728         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8729         Update bibtex-reference-keys.
8731 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8733         * minibuffer.el (completion-pcm--merge-try): Also consider placing
8734         point after a star, if that's the only place where modifications can
8735         make progress.
8737 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
8739         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8740         in docstrings.
8742 2009-12-04  Juri Linkov  <juri@jurta.org>
8744         * proced.el (proced): Call `(proced-update t)' to update process
8745         information instead of only running proced-post-display-hook.
8746         (proced-send-signal): Add a leading space to the buffer name
8747         " *Marked Processes*" to make this buffer ephemeral.
8749 2009-12-04  Juri Linkov  <juri@jurta.org>
8751         * dired.el (dired-auto-revert-buffer): New defcustom.
8752         (dired-internal-noselect): Use it.
8754 2009-12-04  Juri Linkov  <juri@jurta.org>
8756         Change roles of modes and functions in image-mode.el (Bug#5062).
8758         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8759         in `auto-mode-alist'.
8760         (image-mode-previous-major-mode): New variable.
8761         (image-minor-mode-map): Rename from `image-mode-text-map'.
8762         (image-mode): Move graceful error-handling code from
8763         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
8764         (image-minor-mode): Remove all image-handling code.
8765         Replace `image-mode-text-map' with `image-minor-mode-map'.
8766         Check for `image-type' in mode-line format string.
8767         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8768         (image-mode-as-text): New function with most code from
8769         `image-mode-maybe'.
8770         (image-toggle-display-text): Move code that removes image
8771         properties from `image-toggle-display' to here.
8772         (image-toggle-display-image): New function with code that adds
8773         image properties copied from `image-toggle-display'.
8774         (image-toggle-display): Remove most code with leaving only code
8775         that toggles between `image-mode-as-text' and `image-mode'.
8777 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
8779         * net/newst-treeview.el
8780         (newsticker--treeview-list-highlight-start): Restored call to
8781         save-excursion: Selected item was stuck.
8782         (newsticker--treeview-list-select): New.
8783         (newsticker--treeview-item-show-text)
8784         (newsticker--treeview-item-show)
8785         (newsticker--treeview-item-update): Use new
8786         newsticker-treeview-item-mode.
8787         (newsticker-treeview-update): Keep current item.
8788         (newsticker-treeview-next-new-or-immortal-item): Doc change.
8789         (newsticker--treeview-first-feed): Doc change.
8790         (newsticker-treeview-list-menu)
8791         (newsticker-treeview-item-menu): Added menu entries.
8792         (newsticker-treeview-item-mode): New.
8794         * net/newst-backend.el (newsticker-customize): Delete other
8795         windows.
8797 2009-12-04  Sam Steingold  <sds@gnu.org>
8799         * log-view.el (log-view-mode-map): "q" calls quit-window,
8800         like in all the other non-self-insert buffers.
8802 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8804         Minor cleanup.
8805         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8806         key decoding rather than do it manually via last-input-event +
8807         ascii-character.
8808         (term-exec): Use delete-and-extract-region.
8809         (term-handle-ansi-terminal-messages): Remove unused var `end'.
8810         (term-process-pager): Remove unused var `i'.
8811         (term-dynamic-simple-complete): Make obsolete.
8812         (serial-update-config-menu): Remove unused vars `y' and `str'.
8813         (term-update-mode-line): Remove unused var `temp'.
8815 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8817         Limit the number of log entries displayed by default.
8818         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8819         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8820         using a prefix argument.
8822 2009-12-03  Glenn Morris  <rgm@gnu.org>
8824         * progmodes/idlwave.el (class): Restore still useful declaration.
8826 2009-12-03  Alan Mackenzie  <acm@muc.de>
8828         Enhance `c-parse-state' to run efficiently in "brace deserts".
8830         * progmodes/cc-mode.el (c-basic-common-init):
8831         Call c-state-cache-init.
8832         (c-neutralize-syntax-in-and-mark-CPP): Rename from
8833         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
8834         placing `category' properties value 'c-cpp-delimiter at its boundaries.
8836         * progmodes/cc-langs.el (c-before-font-lock-function):
8837         c-extend-and-neutralize-syntax-in-CPP has been renamed
8838         c-neutralize-syntax-in-and-mark-CPP.
8840         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8841         with `category' properties now, not `syntax-table' ones.
8843         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8844         enhanced (but slower) version of c-end-of-macro that won't land
8845         inside a literal or on another awkward character.
8846         (c-state-cache-too-far, c-state-cache-start)
8847         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8848         (c-state-nonlit-pos-cache-limit, c-state-point-min)
8849         (c-state-point-min-lit-type, c-state-point-min-lit-start)
8850         (c-state-min-scan-pos, c-state-brace-pair-desert)
8851         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8852         buffer local variables.
8853         (c-state-literal-at, c-state-lit-beg)
8854         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8855         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8856         (c-state-cache-top-paren, c-state-cache-after-top-paren)
8857         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8858         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8859         (c-renarrow-state-cache)
8860         (c-append-lower-brace-pair-to-state-cache)
8861         (c-state-push-any-brace-pair, c-append-to-state-cache)
8862         (c-remove-stale-state-cache)
8863         (c-remove-stale-state-cache-backwards, c-state-cache-init)
8864         (c-invalidate-state-cache-1, c-parse-state-1)
8865         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8866         (c-parse-state): Enhance and refactor.
8867         (c-debug-parse-state): Amend to deal with all the new variables.
8869         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8870         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8871         modify to use category text properties rather than syntax-table ones.
8872         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8873         to switch off/on the syntactic paren property of C++ template
8874         delimiters using the category property.
8875         (c-with-<->-as-parens-suppressed): Macro to invoke code with
8876         template delims suppressed.
8877         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8878         New constant/macros which apply category properties to the start
8879         and end of preprocessor constructs.
8880         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8881         "comment out" the syntactic value of characters in preprocessor
8882         constructs.
8883         (c-with-cpps-commented-out)
8884         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8885         with characters in all or all but one preprocessor constructs
8886         "commented out".
8888 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8890         * proced.el (proced-filter-alist): Use regexp-quote.
8892 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
8894         Cleanup.
8895         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8896         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
8897         arguments.  Expand `default-directory'.
8899         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8900         the benefit of returning an expanded localname.
8901         (tramp-tramp-file-p): Handle the case NAME is not a string.
8903 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8905         Add support for bzr shelve/unshelve.
8906         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8907         (vc-bzr-extra-menu-map): New variables.
8908         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8909         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8910         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8911         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8912         (vc-bzr-dir-extra-headers): Display shelves.
8914         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8916 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8918         * textmodes/bibtex.el (bibtex-complete-internal):
8919         Use completion-in-region.
8920         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8922 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8924         Support applying stashes.  Improve UI.
8925         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8926         (vc-git-stash-apply, vc-git-stash-pop)
8927         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8928         (vc-git-stash-menu): New functions.
8929         (vc-git-stash-menu-map): New variable.
8930         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8932 2009-12-03  Glenn Morris  <rgm@gnu.org>
8934         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8935         (vc-print-log-internal): Fix previous change.
8936         (vc-revert): Correct pluralization.
8938 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8940         * progmodes/make-mode.el (makefile-special-targets-list): No need for
8941         it to be an alist any more.
8942         (makefile-complete): Use completion-in-region.
8944         * progmodes/octave-mod.el (octave-complete-symbol):
8945         Use completion-in-region.
8947         Misc cleanup.
8948         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8949         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8950         (idlwave-complete-class): Don't quote lambda.
8951         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8952         (idlwave-mode-map): Move initialization into declaration.
8953         (idlwave-action-and-binding): Use backquotes.
8954         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8955         Simplify.
8956         (idlwave-is-pointer-dereference): Remove unused var `pos'.
8957         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8958         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8959         `parts', and `all-parts'.
8960         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8961         (idlwave-convert-xml-system-routine-info): Remove unused string
8962         `version-string'.
8963         (idlwave-display-user-catalog-widget): Use dolist.
8964         (idlwave-scanning-lib): Declare dynamically-scoped var.
8965         (idlwave-scan-library-catalogs): Remove unused var `flags'.
8966         (completion-highlight-first-word-only): Declare to silence bytecomp.
8967         (idlwave-popup-select): Tighten scope of `resp'.
8968         (idlwave-find-struct-tag): Remove unused var `beg'.
8969         (idlwave-after-load-rinfo-hook): Declare.
8970         (idlwave-sintern-class-info): Remove unused var `taglist'.
8971         (idlwave-find-class-definition): Remove unused var `list'.
8972         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8973         (idlwave-what-module-find-class): Remove unused var `classes'.
8975 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
8977         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8979 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8981         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8982         buffers visited.  Remove redundant current-buffer-saving.
8984 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8986         Use completion-in-buffer and remove uses of dynamic scoping.
8987         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8988         (pascal-buffer-to-use, pascal-flag): Don't declare.
8989         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8990         (pascal-get-completion-decl, pascal-keyword-completion):
8991         Add `pascal-str' argument, save-excursion,
8992         return the found completions, and don't filter with pascal-pred.
8993         (pascal-completion-cache): New var.
8994         (pascal-completion): Don't switch buffer any more (it was never
8995         necessary).  Don't save-excursion any more (it's done by the called
8996         subroutines).  Use a cache to avoid redundant computations.
8997         Use complete-with-action rather than pascal-completion-response and
8998         let it apply the predicate as well.
8999         (pascal-complete-word): Use completion-in-buffer when
9000         pascal-toggle-completions is nil.
9001         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9002         not used any more.
9003         (pascal-comp-defun): Don't change buffer any more.
9004         Use complete-with-action rather than pascal-completion-response and
9005         let it apply the predicate as well.
9006         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9007         when neded.
9009 2009-12-02  Kenichi Handa  <handa@m17n.org>
9011         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9012         shape for all Indic scripts.
9014 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9016         Use completion-in-buffer.
9017         * wid-edit.el (widget-field-text-end): New function.
9018         (widget-field-value-get): Use it.
9019         (widget-string-complete, widget-file-complete)
9020         (widget-color-complete): Use it and completion-in-region.
9021         (widget-complete): Don't narrow the buffer.
9023 2009-12-02  Glenn Morris  <rgm@gnu.org>
9025         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
9026         (rmail-select-summary): Use rmail-pop-to-buffer.
9027         * mail/rmailsum.el: Replace all pop-to-buffer calls with
9028         rmail-pop-to-buffer, to prevent horizontal splits.
9030         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9031         save-excursion with save-current-buffer.
9032         Widen before searching.  (Bug#5093)
9033         (diary-list-sexp-entries): Remove superfluous save-excursion.
9035 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
9037         * woman.el (woman-make-bufname): Handle man-pages with "." in the
9038         name.  (Bug#5038)
9040 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
9042         * ido.el (ido-file-internal): Handle filenames at point that do
9043         not have a directory part.  (Bug#5049)
9045 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
9047         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9048         (mpc-songs-jump-to, mpc-resume): Doc fixes.
9050 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
9052         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9053         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9054         any more.
9056 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9058         * comint.el (comint-insert-input): Ignore clicks to the right of
9059         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9061         * vc.el (vc-print-log-internal): Don't wait for the process to
9062         terminate before setting up the major mode.
9064         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9065         in case.
9067         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9068         the last element.
9070         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9072 2009-12-01  Glenn Morris  <rgm@gnu.org>
9074         * window.el (window--display-buffer-2): Fix previous changes.
9076 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
9078         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9080 2009-12-01  Glenn Morris  <rgm@gnu.org>
9082         * Makefile.in (ELCFILES): Add mpc.elc.
9084 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9086         * mpc.el: New file.
9088 2009-12-01  Glenn Morris  <rgm@gnu.org>
9090         * window.el (window-to-use): Define for compiler.
9092         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9093         consistent with others (no final period).
9095         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9096         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
9098 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
9100         Make vc-print-log buttons work.
9101         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9103 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
9105         * savehist.el (savehist-autosave-interval): Allow setting to nil
9106         through customize.  (Bug#5056)
9108 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
9110         Fix references to jit-lock properties.
9111         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9112         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9113         (perl-font-lock-special-syntactic-constructs):
9114         Quote jit-lock-defer-multiline property.
9116 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
9118         * vc-git.el (vc-git-registered): Call vc-git-root only once.
9120 2009-11-30  Juri Linkov  <juri@jurta.org>
9122         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9123         value `buffer' of `multi-isearch-next-buffer-current-function'.
9124         Use `(current-buffer)' when `buffer' is nil.
9125         (multi-isearch-next-buffer-from-list): Don't fallback to
9126         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
9128 2009-11-30  Juri Linkov  <juri@jurta.org>
9130         * misearch.el (multi-isearch-read-buffers): Move canonicalization
9131         of buffers with `get-buffer' to `multi-isearch-buffers'.
9132         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9133         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
9134         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9135         FILES with `expand-file-name' converting relative file names
9136         to absolute.  Doc fix.  (Bug#4727)
9138 2009-11-30  Juri Linkov  <juri@jurta.org>
9140         * misearch.el (multi-isearch-read-buffers)
9141         (multi-isearch-read-matching-buffers): New functions.
9142         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9143         Use them in the `interactive' spec.  Doc fix.
9144         (multi-isearch-read-files, multi-isearch-read-matching-files):
9145         New functions.
9146         (multi-isearch-files, multi-isearch-files-regexp):
9147         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
9149 2009-11-30  Juri Linkov  <juri@jurta.org>
9151         * doc-view.el (doc-view-continuous):
9152         Rename from `doc-view-continuous-mode'.
9153         (doc-view-menu): Move "Toggle display" to the top.
9154         Add submenu "Continuous" with radio buttons "Off"/"On"
9155         and "Save as Default".
9156         (doc-view-scroll-up-or-next-page)
9157         (doc-view-scroll-down-or-previous-page)
9158         (doc-view-next-line-or-next-page)
9159         (doc-view-previous-line-or-previous-page): Rename
9160         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
9162 2009-11-30  Juri Linkov  <juri@jurta.org>
9164         * comint.el (comint-mode-map): Rebind `M-r' from
9165         `comint-previous-matching-input' to
9166         `comint-history-isearch-backward-regexp'.
9167         Unbind `M-s' to allow global key binding `M-s'.
9168         Add menu items for `comint-history-isearch-backward' and
9169         `comint-history-isearch-backward-regexp'.  (Bug#3746)
9171 2009-11-30  Juri Linkov  <juri@jurta.org>
9173         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9174         For def=recenter, replace `recenter' with `recenter-top-bottom'
9175         that is called with `this-command' and `last-command' let-bound
9176         to `recenter-top-bottom'.  When the last `def' was not `recenter',
9177         set `recenter-last-op' to nil.  (Bug#4981)
9179 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9181         Minor cleanup and simplification.
9182         * filecache.el (file-cache-add-directory)
9183         (file-cache-add-directory-recursively)
9184         (file-cache-add-from-file-cache-buffer)
9185         (file-cache-delete-file-regexp, file-cache-delete-directory)
9186         (file-cache-files-matching-internal, file-cache-display): Use dolist.
9187         (file-cache-temp-minibuffer-message): Delete function.
9188         (file-cache-minibuffer-complete): Use minibuffer-message instead.
9190         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9191         Don't signal an error when bumping into EOB in tr, s, or y.
9193 2009-11-29  Juri Linkov  <juri@jurta.org>
9195         * startup.el (fancy-about-text): Fix wording of Guided Tour.
9196         (Bug#4960)
9198         * descr-text.el (describe-char-unidata-list): Use lowercase name
9199         for "Unicode name" like in other tags.
9201 2009-11-29  Juri Linkov  <juri@jurta.org>
9203         * ediff-util.el (ediff-minibuffer-with-setup-hook):
9204         New compatibility macro.
9205         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9207 2009-11-29  Juri Linkov  <juri@jurta.org>
9209         Add defcustom to define the cycling order of `recenter-top-bottom'.
9210         (Bug#4981)
9212         * window.el (recenter-last-op): Doc fix.
9213         (recenter-positions): New defcustom.
9214         (recenter-top-bottom): Rewrite to use `recenter-positions'.
9215         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9217 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
9219         Improve integration of Tramp and ange-ftp in eshell.
9221         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9222         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
9223         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
9225         * eshell/esh-util.el (top): Require also Tramp when compiling.
9226         (eshell-directory-files-and-attributes): Check for FTP remote
9227         connection.
9228         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9229         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9230         (eshell-file-attributes): Handle ".".  Return `entry'.
9232         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9233         (ange-ftp-directory-files-and-attributes)
9234         (ange-ftp-real-directory-files-and-attributes): New defuns.
9236         * net/tramp.el (tramp-maybe-open-connection): Open the remote
9237         shell with "exec" when possible.  This prevents trailing prompts
9238         in `start-file-process'.
9240 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9242         Try and remove assumptions about point-min==1.
9243         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9244         (rng-compute-mode-line-string): Show the validation percentage in
9245         terms of the narrowed text, not the widened text.
9246         (rng-do-some-validation): Don't catch internal errors when debugging.
9247         (rng-first-error): Simplify.
9248         (rng-after-change-function): Remove work around.  AFAIK the bug has
9249         been fixed a while ago.
9251         * image-mode.el (image-minor-mode): Exit more gracefully when the image
9252         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9254         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9256         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9257         `cd' doesn't always do it for us (bug#5067).
9259         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9260         on 2009-10-25 as part of some other change (bug#5067).
9262 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9264         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9265         `suspicious'.
9266         (byte-compile-warnings): Use byte-compile-warning-types.
9267         (byte-compile-save-excursion): Warn about use of set-buffer right
9268         after save-excursion.
9270         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9271         the excursion as well.
9273 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
9275         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9276         providing a Tramp related implementation of "su" and "sudo".
9277         (eshell-unix-initialize): Add "su" and "sudo".
9279 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
9281         * net/socks.el (socks-send-command): Convert binary request to
9282         unibyte before sending.  This fixes mishandling of some port
9283         numbers such as 129.
9285 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9287         * help.el (describe-bindings-internal): Remove `interactive'.
9289         * man.el (Man-completion-table): Trim a terminating "(".
9290         Remove the space between name page a section.
9291         Add the command's description on the `help-echo' property.
9292         Remove `process-connection-type' binding since it's unused by
9293         call-process.
9294         Provide completion for the "<section> <name>" format as well.
9295         (Man-default-man-entry): Remove spurious var shadowing the argument.
9297 2009-11-26  Kevin Ryde  <user42@zip.com.au>
9299         * log-view.el: Add "Keywords: tools", since its other keywords
9300         aren't in finder-known-keywords, and following vc.el.
9302         * sha1.el (sha1-string-external): default-directory "/" in case
9303         otherwise non-existent.  process-connection-type pipe for touch of
9304         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
9306 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9308         Misc coding convention cleanups.
9309         * htmlfontify.el (hfy-init-kludge-hook): Rename from
9310         hfy-init-kludge-hooks.
9311         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9312         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9313         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9314         and push.
9315         (hfy-slant, hfy-weight): Use tables rather than code.
9316         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9317         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9318         (hfy-face-attr-for-class): Initialize `face-spec' directly.
9319         (hfy-face-to-css): Remove `nconc' with single arg.
9320         (hfy-p-to-face-lennart): Use `or'.
9321         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
9322         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9323         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9324         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9325         (hfy-force-fontification): Use run-hooks.
9327 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
9329         Various minor fixes.
9330         * htmlfontify.el (hfy-default-header): Add toggle_invis since
9331         Javascript belongs in the header, not the body.
9332         (hfy-javascript): Remove.
9333         (hfy-fontify-buffer): Don't insert it any more.
9334         (hfy-face-at): Handle (face0 face1 face2) style face properties.
9335         Fix bug in invis handling when there were no invis props in a chunk.
9337 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9339         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9341 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
9343         * finder.el (finder-mode-map): Add a menu.
9345 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
9347         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9348         "unsigned" structs.
9350         (verilog-leap-to-head, verilog-backward-token): Handle "disable
9351         fork" statement better.
9353 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
9355         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9356         (verilog-delete-auto, verilog-delete-empty-auto-pair)
9357         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9358         Reported by Clay Douglass.
9360         (verilog-auto-inst, verilog-auto-star-safe)
9361         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9362         Fix removing "// Interfaces" when saving .* expansions.  Reported by
9363         Pierre-David Pfister.
9365 2009-11-26  Glenn Morris  <rgm@gnu.org>
9367         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9368         the scope.
9370 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
9372         * vc-annotate.el (vc-annotate-revision-previous-to-line):
9373         Really use previous revision.
9375 2009-11-25  Kevin Ryde  <user42@zip.com.au>
9377         * man.el (Man-completion-table): default-directory "/" in case
9378         doesn't otherwise exist.  process-environment COLUMNS=999 so as
9379         not to truncate long names.  process-connection-type pipe to avoid
9380         any chance of hitting the pseudo-tty TIOCGWINSZ.
9381         (man): completion-ignore-case t for friendliness and since man
9382         itself is case-insensitive on the command line.
9383         Further to Bug#3717.
9385         * arc-mode.el: Add "Keywords: files", so the details in its
9386         commentary can be reached from finder-by-keyword.
9387         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
9388         editing mode, but it's comms related and sgml-mode.el has "comm"
9389         on that basis too.
9390         * textmodes/bibtex-style.el: Add "Keywords: tex".
9391         * international/isearch-x.el, international/ja-dic-cnv.el:
9392         * international/ja-dic-utl.el, international/kkc.el:
9393         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9395 2009-11-25  Juri Linkov  <juri@jurta.org>
9397         * man.el (Man-completion-table): Modify regexp to include
9398         section names to completion strings.  (Bug#3717)
9400 2009-11-25  Juri Linkov  <juri@jurta.org>
9402         Search recursively in gzipped files.  (Bug#4982)
9404         * progmodes/grep.el (grep-highlight-matches): Add new options
9405         `always' and `auto'.  Doc fix.
9406         (grep-process-setup): Check `grep-highlight-matches' for
9407         `auto-detect' to determine the need to compute grep defaults.
9408         Move Windows/DOS specific --colors settings handling
9409         to `grep-compute-defaults'.  Check `grep-highlight-matches'
9410         to get the value of "--color=".
9411         (grep-compute-defaults): Compute `grep-highlight-matches' when it
9412         has the value `auto-detect'.  Move Windows/DOS specific settings
9413         from `grep-process-setup'.
9414         (zrgrep): New command with alias `rzgrep'.
9416 2009-11-25  Juri Linkov  <juri@jurta.org>
9418         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9419         to nil instead of switching off view-mode.  (Bug#4896)
9421 2009-11-25  Juri Linkov  <juri@jurta.org>
9423         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
9425         * mwheel.el (mwheel-scroll-up-function)
9426         (mwheel-scroll-down-function): New defvars.
9427         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9428         `scroll-up', and `mwheel-scroll-down-function' instead of
9429         `scroll-down'.
9431         * doc-view.el (doc-view-scroll-up-or-next-page)
9432         (doc-view-scroll-down-or-previous-page): Add optional ARG.
9433         Use this ARG in the call to image-scroll-up/image-scroll-down.
9434         Change `interactive' spec to "P".  Goto next/previous page only
9435         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9436         SPC/DEL case).  Doc fix.
9437         (doc-view-next-line-or-next-page)
9438         (doc-view-previous-line-or-previous-page): Rename arg to ARG
9439         for consistency.
9440         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9441         `doc-view-scroll-up-or-next-page', and buffer-local
9442         `mwheel-scroll-down-function' to
9443         `doc-view-scroll-down-or-previous-page'.
9445 2009-11-25  Juri Linkov  <juri@jurta.org>
9447         Provide additional default values (directories at other Dired
9448         windows) via M-n in the minibuffer of some Dired commands.
9450         * dired-aux.el (dired-diff, dired-compare-directories)
9451         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9452         `minibuffer-default' in `minibuffer-with-setup-hook'.
9453         (dired-dwim-target-directory): Find a window that displays Dired
9454         buffer instead of failing when the next window is not Dired.
9455         Use `get-window-with-predicate' to find for the next Dired window.
9456         (dired-dwim-target-defaults): New function.
9458         * ediff-util.el (ediff-read-file-name):
9459         Use `dired-dwim-target-defaults' to set `minibuffer-default'
9460         in `minibuffer-with-setup-hook'.
9462 2009-11-25  Juri Linkov  <juri@jurta.org>
9464         Provide additional default values (file name at point or at the
9465         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
9467         * minibuffer.el (read-file-name-defaults): New function.
9468         (read-file-name): Reset `minibuffer-default' to nil when
9469         it duplicates initial input `insdef'.
9470         Bind `minibuffer-default-add-function' to lambda that
9471         calls `read-file-name-defaults' in `minibuffer-selected-window'.
9472         (minibuffer-insert-file-name-at-point): New command.
9474         * files.el (file-name-at-point-functions): New defcustom.
9475         (find-file-default): Remove defvar.
9476         (find-file-read-args): Don't use `find-file-default'.
9477         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9478         to `read-file-name'.
9479         (find-file-literally): Use `read-file-name' with
9480         `confirm-nonexistent-file-or-buffer'.
9482         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9484         * dired.el (dired-read-dir-and-switches):
9485         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9486         to `read-file-name'.
9487         (dired-file-name-at-point): New function.
9488         (dired-mode): Add hook `dired-file-name-at-point' to
9489         `file-name-at-point-functions'.
9491 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9493         Really make the *Completions* window soft-dedicated (bug#5030).
9494         * window.el (window--display-buffer-2): Add `dedicated' argument.
9495         (display-buffer): Pass it when needed so the dedicated flag is set
9496         after calling set-window-buffer, which would otherwise reset it.
9498 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9500         * progmodes/meta-mode.el (meta-complete-symbol):
9501         * progmodes/etags.el (complete-tag):
9502         * mail/mailabbrev.el (mail-abbrev-complete-alias):
9503         Use completion-in-region.
9505         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9506         (dabbrev-completion): Use completion-in-region.
9507         (dabbrev--abbrev-at-point): Simplify regexp.
9509         * abbrev.el (abbrev--before-point): Use word-motion functions
9510         if :regexp is not specified (bug#5031).
9512         * subr.el (string-prefix-p): New function.
9514         * man.el (Man-completion-cache): New var.
9515         (Man-completion-table): Use it.
9517         * vc.el (vc-print-log-internal): Make `limit' optional for better
9518         compatibility (e.g. with vc-annotate.el).
9520 2009-11-24  Kevin Ryde  <user42@zip.com.au>
9522         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9523         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
9525         * emacs-lisp/elint.el (elint-add-required-env): Better error message
9526         when .el source file not found or other error.
9528 2009-11-24  Markus Triska  <markus.triska@gmx.at>
9530         * linum.el (linum-update-window): Ignore intangible (bug#4996).
9532 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9534         Handle the [back] button properly (bug#4979).
9535         * descr-text.el (describe-text-properties): Add a `buffer' argument.
9536         Use help-setup-xref, help-buffer, and with-help-window.
9537         (describe-char): Add `buffer' argument.
9538         Pass proper command to help-setup-xref.  Don't meddle with
9539         help-xref-stack-item directly.
9540         (describe-text-category): Use with-help-window and help-buffer.
9542         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9543         for the displayed buffer (bug#4887).
9545         * man.el (Man-completion-table): New function.
9546         (man): Use it.
9548 2009-11-24  David Reitter  <david.reitter@gmail.com>
9550         * vc-git.el (vc-git-registered): Use checkout directory (where
9551         .git is) rather than the file's directory and a relative path spec
9552         to work around a bug in git.
9554 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
9556         Improve handling of processes on remote hosts.
9558         * eshell/esh-util.el (eshell-path-env): New defvar.
9559         (eshell-parse-colon-path): New defun.
9560         (eshell-file-attributes): Use `eshell-parse-colon-path'.
9562         * eshell/esh-ext.el (eshell-search-path):
9563         Use `eshell-parse-colon-path'.
9564         (eshell-remote-command): Remove argument HANDLER.
9565         (eshell-external-command): Check for FTP remote connection.
9567         * eshell/esh-proc.el (eshell-gather-process-output):
9568         Use `file-truename', in order to start also symlinked files.
9569         Apply `start-file-process' instead of `start-process'.
9570         Shorten `command' to the local file name part.
9572         * eshell/em-cmpl.el (eshell-complete-commands-list):
9573         Use `eshell-parse-colon-path'.
9575         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9577         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
9578         to `eshell-directory-change-hook'.
9580 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
9582         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9583         because it could be enabled automatically if view-read-only is non-nil.
9585 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
9587         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9588         made on 2009-11-22.
9590 2009-11-24  Glenn Morris  <rgm@gnu.org>
9592         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9593         deleted variable bookmark-bmenu-bookmark-column.
9595 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9597         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9599 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9601         * net/browse-url.el (browse-url-filename-alist): On Windows, add
9602         two slashes to the "file:" prefix.
9603         (browse-url-file-url): De-munge Cygwin filenames before passing
9604         them to Windows browser.
9605         (browse-url-default-windows-browser): Use call-process.
9607 2009-11-23  Juri Linkov  <juri@jurta.org>
9609         Implement DocView Continuous mode.  (Bug#4896)
9610         * doc-view.el (doc-view-continuous-mode): New defcustom.
9611         (doc-view-mode-map): Bind C-n/<down> to
9612         `doc-view-next-line-or-next-page', C-p/<up> to
9613         `doc-view-previous-line-or-previous-page'.
9614         (doc-view-next-line-or-next-page)
9615         (doc-view-previous-line-or-previous-page): New commands.
9617 2009-11-23  Juri Linkov  <juri@jurta.org>
9619         Implement Isearch in comint input history.  (Bug#3746)
9620         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9621         `isearch-mode-hook'.
9622         (comint-history-isearch): New defcustom.
9623         (comint-history-isearch-backward)
9624         (comint-history-isearch-backward-regexp): New commands.
9625         (comint-history-isearch-message-overlay): New buffer-local variable.
9626         (comint-history-isearch-setup, comint-history-isearch-end)
9627         (comint-goto-input, comint-history-isearch-search)
9628         (comint-history-isearch-message, comint-history-isearch-wrap)
9629         (comint-history-isearch-push-state)
9630         (comint-history-isearch-pop-state): New functions.
9632 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
9634         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9635         return.
9636         (tramp-handle-make-symbolic-link)
9637         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9638         Quote file names.
9639         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9640         (tramp-handle-process-file): Use it.
9642 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9644         * window.el (move-to-window-line-last-op): Remove.
9645         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9647 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9649         Make M-r mirror the new cycling behavior of C-l.
9650         * window.el (move-to-window-line-last-op): New var.
9651         (move-to-window-line-top-bottom): New command.
9652         (global-map): Bind M-r move-to-window-line-top-bottom.
9654 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
9656         * dired-x.el (dired-guess-shell-alist-default):
9657         Support xz format.  (Bug#4953)
9659 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
9661         * emulation/viper-cmd.el: Use viper-last-command-char instead of
9662         last-command-char/last-command-event.
9663         (viper-prefix-arg-value): Do correct conversion of event-char for
9664         XEmacs.
9666         * emulation/viper-util.el, emulation/viper.el:
9667         Use viper-last-command-char instead of
9668         last-command-char/last-command-event.
9670         * ediff-init.el, ediff-mult.el, ediff-util.el:
9671         Replace last-command-char and last-command-event
9672         with (ediff-last-command-char) everywhere.
9674         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9675         created in fundamental mode.
9677         * ediff.el (ediff-version): Revert the change of interactive-p to
9678         called-interactively-p.
9680 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
9682         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9683         generation from word-movement command names.
9685 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
9687         * cus-start.el (all): Add native condition for font-use-system-font.
9689 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
9691         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9692         Correct the patch from 2009-11-18.  (Bug#3910)
9694 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
9696         * progmodes/subword.el: Rename from lisp/subword.el.
9698         * subword.el: Rename to progmodes/subword.el.
9700         * Makefile.in (ELCFILES): Adapt to subword.el move.
9702 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9703             Stefan Monnier  <monnier@iro.umontreal.ca>
9705         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9706         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9707         (bookmark-bmenu-show-filenames): Use push.
9708         (bookmark-bmenu-hide-filenames): Use local var instead of
9709         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
9710         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9711         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9712         filenames now that the bookmark names are always available.
9714 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9716         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9717         (bookmark-search-pattern): Move and leave unbound.
9718         (bookmark-bmenu-mode-map): Change binding.
9719         (bookmark-read-search-input): Simplify.
9720         Don't use text-char-description.  Don't error on non-char events.
9721         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9722         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9723         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9724         Use a local var for the timer.
9725         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9726         (i.e. bookmark-bmenu-search).
9728 2009-11-21  Glenn Morris  <rgm@gnu.org>
9730         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
9732 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9734         * net/browse-url.el (browse-url-default-windows-browser):
9735         Use cygstart for cygwin.
9737 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
9739         * bookmark.el: Formatting and doc fixes only:
9740         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9741         (bookmark-bmenu-search): Wrap to fit within 80 columns.
9742         Minor grammar and punctuation fixes in doc string.
9743         (bookmark-read-search-input): Adjust to fit within 80 columns.
9745 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9747         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9748         (c-backward-into-nomenclature): Adapt to subword renaming.
9750         * subword.el (subword-forward, subword-backward, subword-mark)
9751         (subword-kill, subword-backward-kill, subword-transpose)
9752         (subword-downcase, subword-upcase, subword-capitalize)
9753         (subword-forward-internal, subword-backward-internal):
9754         Rename from forward-subword, backward-subword, mark-subword,
9755         kill-subword, backward-kill-subword, transpose-subwords,
9756         downcase-subword, upcase-subword, capitalize-subword,
9757         forward-subword-internal, backward-subword-internal.
9759 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9761         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9762         New options.
9763         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9764         New vars.
9765         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9766         (bookmark-bmenu-filter-alist-by-regexp)
9767         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9768         (bookmark-bmenu-search): New command.
9769         (bookmark-bmenu-mode-map): Bind it.
9771 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9773         * progmodes/cc-cmds.el: declare-functioned forward-subword and
9774         backward-subword to quit the byte-compiler.
9776         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9778         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9780         * progmodes/cc-cmds.el (c-update-modeline)
9781         (c-forward-into-nomenclature, c-backward-into-nomenclature):
9782         Refer to subword.el functions instead of cc-subword.el.
9784         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9785         subword.el functions instead of cc-subword.el.
9787         * progmodes/cc-subword.el: Rename to subword.el.
9788         * subword.el: Rename from progmodes/cc-subword.el.
9789         (subword-mode-map): Rename from c-subword-mode-map.
9790         (subword-mode): Rename from c-subword-mode.
9791         (global-subword-mode): New global minor mode.
9792         (forward-subword): Rename from c-forward-subword.
9793         (backward-subword): Rename from c-backward-subword.
9794         (mark-subword): Rename from c-mark-subword.
9795         (kill-subword): Rename from c-kill-subword.
9796         (backward-kill-subword): Rename from c-backward-kill-subword.
9797         (transpose-subwords): Rename from c-tranpose-subword.
9798         (downcase-subword): Rename from c-downcase-subword.
9799         (capitalize-subword): Rename from c-capitalize-subword.
9800         (forward-subword-internal): Rename from c-forward-subword-internal.
9801         (backward-subword-internal): Rename from c-backward-subword-internal.
9803 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
9805         * vc.el (vc-deduce-fileset): Allow non-state changing operations
9806         from a dired buffer.
9807         (vc-dired-deduce-fileset): New function.
9808         (vc-root-diff, vc-print-root-log): Use it.
9810         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9811         nil LIMIT argument to vc-print-log-internal.
9813 2009-11-20  Glenn Morris  <rgm@gnu.org>
9815         * Makefile.in (ELCFILES): Regenerate.
9817 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
9819         * calc/calc.el (calc-set-mode-line):
9820         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9821         (math-format-number): Rename `math-format-complement-signed' to
9822         `math-format-twos-complement'.
9824         * calc/calc-bin.el (math-format-twos-complement): Rename from
9825         math-format-complement-signed.
9826         (calc-radix): Rename `calc-complement-signed-mode' to
9827         `calc-twos-complement-mode'.
9828         (calc-octal-radix, calc-hex-radix): Add an argument for
9829         two's complement.
9831         * calc/calc-embed.el (calc-embedded-mode-vars):
9832         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9834         * calc/calc-ext.el (calc-init-extensions):
9835         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9836         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9838         * calc/calc-units.el (math-build-units-table-buffer):
9839         Let `calc-twos-complement-mode' be nil.
9841         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9842         entries.
9844         * calc/calc-vec.el (calcFunc-vunpack):
9845         * calc/calc-aent.el (calc-do-calc-eval):
9846         * calc/calc-forms.el (math-format-date):
9847         * calc/calc-graph.el (calc-graph-plot):
9848         * calc/calc-math.el (math-use-emacs-fn):
9849         * calc/calccomp.el (math-compose-expr):
9850         Let `calc-twos-complement-mode' be nil.
9852 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9854         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9855         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
9856         * minibuffer.el (completion-in-region-functions): New hook.
9857         (completion-in-region): New function.
9858         * emacs-lisp/lisp.el (lisp-complete-symbol):
9859         * pcomplete.el (pcomplete-std-complete): Use it.
9861 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9863         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9864         (latex-complete-alist): New vars.
9865         (latex-string-prefix-p, latex-complete-bibtex-keys)
9866         (latex-complete-envnames, latex-complete-refkeys)
9867         (latex-complete-data): New functions.
9868         (latex-complete, latex-indent-or-complete): New commands.
9870         * window.el (display-buffer-mark-dedicated): New var.
9871         (display-buffer): Obey it.
9872         * minibuffer.el (minibuffer-completion-help): Use it.
9874         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9876         * filecache.el (file-cache-add-file): Use push and cons.
9877         (file-cache-delete-file-regexp): Use push.
9878         (file-cache-complete): Use completion-in-region.
9880         * simple.el (with-wrapper-hook): Fix thinko.
9882         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9883         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9884         Use with-current-buffer and string-to-number.
9885         (hfy-fallback-colour-values): Use assoc-string.
9886         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9887         (hfy-face-at): Remove unused var `found-face'.
9888         (hfy-compile-stylesheet): Remove unused var `css'.
9889         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9890         and `orig-buffer'.
9891         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9892         Use with-current-buffer.
9893         (hfy-text-p): Use expand-file-name and fewer setq.
9895 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
9897         * htmlfontify.el, hfy-cmap.el: New files.
9899 2009-11-19  Juri Linkov  <juri@jurta.org>
9901         * minibuffer.el (completions-format): New defcustom.
9902         (completion--insert-strings): Implement vertical format.
9904         * simple.el (switch-to-completions): Move point to the first
9905         completion when point was at the beginning of the buffer.
9907 2009-11-19  Juri Linkov  <juri@jurta.org>
9909         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
9911         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9913 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
9915         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9916         (mail-signature): Change default to t.
9917         (mail-from-style): Deprecate `system-default' value.
9918         (mail-insert-from-field): For default value of mail-from-style,
9919         default to `angles' unless `angles' needs quoting and `parens'
9920         does not.
9921         (mail-citation-prefix-regexp): Use citation regexp from
9922         message-mode.
9924 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
9926         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9927         Set variables for computing the prompt for reading password.
9929 2009-11-19  Glenn Morris  <rgm@gnu.org>
9931         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
9933         * textmodes/flyspell.el (sgml-lexical-context): Declare.
9935         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9936         (newsticker-treeview-listwindow-height): Fix custom type.
9938 2009-11-19  Kenichi Handa  <handa@m17n.org>
9940         * descr-text.el (describe-char-padded-string): Compose with TAB
9941         only if there's a font for CH.
9942         (describe-char): Fix the condition for detecting a trivial composition.
9944 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
9946         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9947         more accurate version of the regexp.  (Bug#3910)
9949 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
9951         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9953 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
9955         * font-setting.el (font-use-system-font): Declare for byte-compiler.
9956         (font-setting-change-default-font): Fix typo in docstring.
9958 2009-11-18  Alan Mackenzie  <acm@muc.de>
9960         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9962 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9964         * font-setting.el (font-use-system-font): Move ...
9966         * cus-start.el (all): ... to here.
9968 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
9970         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9971         Don't set `ad-return-value' if `ad-do-it' doesn't.
9973         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9974         modification time.
9976 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9978         * menu-bar.el: Put "Use system font" in Option-menu.
9979         (menu-bar-options-save): Add font-use-system-font.
9981         * loadup.el: If feature system-font-setting or font-render-setting is
9982         there, load font-setting.
9984         * Makefile.in (ELCFILES): Add font-settings.el.
9985         * font-setting.el: New file.
9987 2009-11-17  Glenn Morris  <rgm@gnu.org>
9989         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9991         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9992         Preserve point in the list buffer.  (Bug#4939)
9993         Use point-at-eol.
9994         (newsticker--treeview-list-update-highlight)
9995         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9997 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
9999         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10000         Remove.
10002         * calc/calc-ext.el (calc-init-extensions): Remove references to
10003         symclip.
10005         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10007         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10008         * calc/calc-help.el (calc-b-prefix-help): Remove references to
10009         `calc-symclip'.
10011 2009-11-16  Kevin Ryde  <user42@zip.com.au>
10013         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10014         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10016         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10017         (lm-keywords-list): Allow comma-only separator like "foo,bar".
10018         Ignore trailing spaces by omit-nulls to split-string (fixing
10019         regression from Emacs 21 due to the incompatible split-string
10020         change).  (Bug #4928.)
10022 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
10024         * vc.el (vc-log-show-limit): Default to 2000.
10025         (vc-print-log-internal): Insert buttons to request more entries
10026         when limiting the output.
10028         * vc-sccs.el (vc-sccs-print-log):
10029         * vc-rcs.el (vc-rcs-print-log):
10030         * vc-cvs.el (vc-cvs-print-log):
10031         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10032         LIMIT is non-nil.
10034 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10036         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10037         error when `tramp-gvfs-dbus-event-vector' is set.
10038         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10040 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10042         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10044 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10046         * net/dbus.el (dbus-unregister-service): New defun.
10047         (dbus-register-property): Register the handlers of
10048         "org.freedesktop.DBus.Properties" for SERVICE.
10049         (dbus-property-handler): Fix docstring.
10051 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10053         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10054         Quote doc string reference in defvaralias as it is not in special form.
10055         (byte-compile-output-docform): Doc fix.
10057 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10059         * calc/calc.el (math-2-word-size, math-half-2-word-size)
10060         (calc-complement-signed-mode): New variables.
10061         (calc-set-mode-line): Add indicator for twos-complements.
10062         (math-format-number): Format twos-complement notation.
10064         * calc/calc-bin.el (calc-word-size): Reset the variables
10065         `math-2-word-size' and `math-half-2-word-size'.
10066         (math-format-complement-signed, math-symclip, calcFunc-symclip)
10067         (calc-symclip): New functions.
10069         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10071         * calc/calc-embed.el (calc-embedded-mode-vars):
10072         Add `calc-complement-signed-mode' to the list of modes.
10074         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10075         (calc-b-oper-keys): Add `calc-symclip' to list.
10077         * calc/calc-ext.el (math-read-number-fancy): Read complement
10078         signed numbers.
10079         (calc-init-extensions): Add binding for `calc-symclip'.
10080         Add autoload for `calcFunc-symclip' and `calc-symclip'.
10082         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10083         `calc-symclip'.
10084         (calc-modes-menu): Add item for twos complement mode.
10086         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10088 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10090         * register.el (jump-to-register, insert-register): Handle Semantic
10091         tags.  From commented-out advice in semantic/senator.el.
10093 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
10095         * vc.el (vc-log-show-limit): New variable.
10096         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
10097         when using a prefix argument.
10098         (vc-print-log-internal): Add new argument LIMIT.
10100         * vc-svn.el (vc-svn-print-log):
10101         * vc-mtn.el (vc-mtn-print-log):
10102         * vc-hg.el (vc-hg-print-log):
10103         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10104         pass it to the log command when set.  Make the BUFFER argument
10105         non-optional.
10107         * vc-sccs.el (vc-sccs-print-log):
10108         * vc-rcs.el (vc-rcs-print-log):
10109         * vc-git.el (vc-git-print-log):
10110         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10111         ignore it.  Make the BUFFER argument non-optional
10113         * bindings.el (mode-line-buffer-identification): Do not purecopy.
10115 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10117         * dired.el (dired-mode-map): Move encryption items to "Operate"
10118         menu (Bug#4703).
10120         * strokes.el (strokes-update-window-configuration): Make strokes
10121         buffer current before erasing (Bug#4906).
10123 2009-11-15  Juri Linkov  <juri@jurta.org>
10125         * simple.el (set-mark-default-inactive): Add :type, :group
10126         and :version.  (Bug#4876)
10128 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
10130         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10131         (archive-unique-fname): ... here.  (Bug#4929)
10133 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10135         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10136         with a real fix.
10138         * novice.el (disabled-command-function): Add useful args.
10139         Setup the help buffer so that [back] works.
10140         Remove redundant call to help-mode.
10141         (disabled-command-function): Use `case'.
10142         (en/disable-command): New function extracted from enable-command.
10143         (enable-command, disable-command): Use it.
10145 2009-11-14  Glenn Morris  <rgm@gnu.org>
10147         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10148         constants.  (Bug#4913)
10150         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10152 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10154         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10155         defined in C that have no doc-strings.  (Bug#1063)
10157 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
10159         * cus-edit.el (data, files):
10160         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
10162 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
10164         * simple.el (shell-command): Doc fix (Bug#4891).
10166         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10168 2009-11-14  Glenn Morris  <rgm@gnu.org>
10170         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10171         statements for vc-diff, emerge-quit, and rmail-cease-edit.
10172         If they are already loaded, eval-after-load will do the right thing.
10174         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10175         compiling.
10177         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10179         * simple.el (x-selection-owner-p): Declare.
10180         (read-mail-command): Use custom radio type rather than choice.
10181         (completion-no-auto-exit): Doc fix.
10183         * custom.el (defgroup):
10184         * epg-config.el (epg): Doc fixes.
10186 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
10188         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10189         * international/ccl.el (define-ccl-program): Do not purecopy the
10190         docstring, defconst does it anyway.
10192 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10194         * add-log.el (add-change-log-entry): Avoid displaying the changelog
10195         a second time.
10197         * x-dnd.el (x-dnd-maybe-call-test-function):
10198         * window.el (split-window-vertically):
10199         * whitespace.el (whitespace-help-on):
10200         * vc-rcs.el (vc-rcs-consult-headers):
10201         * userlock.el (ask-user-about-lock-help)
10202         (ask-user-about-supersession-help):
10203         * type-break.el (type-break-force-mode-line-update):
10204         * time-stamp.el (time-stamp-conv-warn):
10205         * terminal.el (te-set-output-log, te-more-break, te-filter)
10206         (te-sentinel, terminal-emulator):
10207         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10208         (term-write-input-ring, term-check-source, term-start-output-log):
10209         (term-display-buffer-line, term-dynamic-list-completions):
10210         (term-ansi-make-term, serial-term):
10211         * subr.el (selective-display):
10212         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10213         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10214         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10215         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10216         (speedbar-remove-localized-speedbar-support)
10217         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10218         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10219         (speedbar-buffers-line-directory):
10220         * simple.el (shell-command-on-region, append-to-buffer)
10221         (prepend-to-buffer):
10222         * shadowfile.el (shadow-save-todo-file):
10223         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10224         (scroll-bar-maybe-set-window-start):
10225         * sb-image.el (speedbar-image-dump):
10226         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10227         (load-save-place-alist-from-file):
10228         * ps-samp.el (ps-print-message-from-summary):
10229         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10230         (ps-background-image, ps-begin-job, ps-do-despool):
10231         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10232         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10233         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10234         (pr-call-process, pr-file-list, pr-interface-save):
10235         * novice.el (disabled-command-function)
10236         (enable-command, disable-command):
10237         * mouse.el (mouse-buffer-menu-alist):
10238         * mouse-copy.el (mouse-kill-preserving-secondary):
10239         * macros.el (kbd-macro-query):
10240         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10241         * informat.el (batch-info-validate):
10242         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10243         * hippie-exp.el (try-expand-dabbrev-visible):
10244         * help-mode.el (help-make-xrefs):
10245         * help-fns.el (describe-variable):
10246         * generic-x.el (bat-generic-mode-run-as-comint):
10247         * finder.el (finder-mouse-select):
10248         * find-dired.el (find-dired-sentinel):
10249         * filesets.el (filesets-file-close):
10250         * files.el (list-directory):
10251         * faces.el (list-faces-display, describe-face):
10252         * facemenu.el (list-colors-display):
10253         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10254         * epg.el (epg--process-filter, epg-cancel):
10255         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10256         (epa--read-signature-type):
10257         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10258         (emerge-file-names):
10259         * ehelp.el (electric-helpify):
10260         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10261         * ediff-vers.el (rcs-ediff-view-revision):
10262         * ediff-util.el (ediff-setup):
10263         * ediff-mult.el (ediff-append-custom-diff):
10264         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10265         (ediff-wordify):
10266         * echistory.el (Electric-command-history-redo-expression):
10267         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10268         * disp-table.el (describe-display-table):
10269         * dired.el (dired-find-buffer-nocreate):
10270         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10271         * dabbrev.el (dabbrev--same-major-mode-p):
10272         * chistory.el (list-command-history):
10273         * apropos.el (apropos-documentation):
10274         * allout.el (allout-obtain-passphrase):
10275         (allout-copy-exposed-to-buffer):
10276         (allout-verify-passphrase): Use with-current-buffer.
10278 2009-11-13  Glenn Morris  <rgm@gnu.org>
10280         * Makefile.in (ELCFILES): Regenerate.
10282 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10284         * net/dbus.el (dbus-registered-objects-table): Rename from
10285         `dbus-registered-functions-table', because it contains also properties.
10286         (dbus-unregister-object): Unregister also properties.
10287         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10288         Use a timeout of 500 msec, in order to not block.
10289         (dbus-register-property, dbus-property-handler): New defuns.
10291 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10293         * simple.el (minibuffer-default-add-completions): Drop deprecated
10294         4th arg.
10296 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
10298         * textmodes/artist.el (artist-mouse-choose-operation):
10299         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10300         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10301         (artist-compute-up-event-key): New function.
10302         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10304 2009-11-13  Kenichi Handa  <handa@m17n.org>
10306         * language/japan-util.el: Make sure that the value of jisx0208
10307         property is jisx0208 character.
10309 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
10311         * international/mule.el (auto-coding-regexp-alist): Only purecopy
10312         car or each item, not the whole list.
10314 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10316         * minibuffer.el (minibuffer-completion-help):
10317         Use minibuffer-hide-completions.
10319 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
10321         * dired.el (dired-save-positions, dired-restore-positions): New funs.
10322         (dired-revert): Use them (bug#4880).
10324 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10326         * tooltip.el (tooltip-frame-parameters): Undo previous change.
10328 2009-11-12  Juri Linkov  <juri@jurta.org>
10330         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10331         New functions.
10332         (find-file-literally-at-point): Alias of `ffap-literally'.
10334 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10336         * textmodes/ispell.el (ispell-skip-region-alist):
10337         * textmodes/css-mode.el (auto-mode-alist):
10338         * progmodes/compile.el (auto-mode-alist):
10339         * international/mule.el (ctext-non-standard-encodings-alist)
10340         (ctext-non-standard-encodings-regexp):
10341         * simple.el (shell-command-switch, text-read-only):
10342         * replace.el (occur-mode-map):
10343         * paths.el (rmail-file-name):
10344         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10345         * find-file.el (ff-special-constructs):
10346         * files.el (file-name-handler-alist):
10347         * composite.el: Purecopy strings.
10349         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10351 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10353         * widget.el (define-widget): Purecopy the docstring.
10354         * international/mule-cmds.el (charset): Do not purecopy the
10355         docstring here, define-widget does it.
10357         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10358         * textmodes/bibtex-style.el (auto-mode-alist):
10359         * progmodes/inf-lisp.el (inferior-lisp-prompt):
10360         * progmodes/compile.el (compile-command):
10361         * language/korea-util.el (default-korean-keyboard):
10362         * international/mule-conf.el (file-coding-system-alist):
10363         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10364         * tooltip.el (tooltip-frame-parameters):
10365         * newcomment.el (comment-end, comment-padding):
10366         * dired.el (dired-trivial-filenames):
10367         * comint.el (comint-file-name-prefix): Purecopy initial values.
10369 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
10371         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10372         (tramp-advice-minibuffer-electric-tilde): Unload advices via
10373         `tramp-unload'.
10374         (tramp-advice-make-auto-save-file-name)
10375         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10376         after removing the advice.
10378 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10380         * progmodes/grep.el (grep-regexp-alist):
10381         * international/mule-cmds.el (iso-2022-control-alist):
10382         * emacs-lisp/timer.el (timer-duration-words):
10383         * subr.el (version-separator, version-regexp-alist):
10384         * minibuffer.el (completion-styles-alist):
10385         * faces.el (face-attribute-name-alist, list-faces-sample-text):
10386         Change defvars to defconsts.
10388         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10389         * loadup.el ("international/mule-conf"): Load the byte compiled version.
10390         * international/mule-conf.el: Allow to be byte compiled.
10392         * international/mule.el (define-charset): Purecopy props.
10393         (load-with-code-conversion): Purecopy doc string and file name.
10394         (put-charset-property): Purecopy strings.
10395         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10397         * international/mule-cmds.el (register-input-method): Purecopy arguments.
10398         (define-char-code-property): Correctly purecopy the table.
10400         * international/ccl.el (define-ccl-program): Purecopy the docstring.
10402         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10404         * subr.el (add-hook): Purecopy strings.
10405         (eval-after-load): Purecopy load-history-regexp and the form.
10407         * custom.el (custom-declare-group): Purecopy load-file-name.
10409         * subr.el (menu-bar-separator): New defconst.
10410         * net/eudc.el (eudc-tools-menu):
10411         * international/mule-cmds.el (set-coding-system-map)
10412         (mule-menu-keymap):
10413         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10414         * vc-hooks.el (vc-menu-map):
10415         * replace.el (occur-mode-map):
10416         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10417         (menu-bar-edit-menu, menu-bar-goto-menu)
10418         (menu-bar-custom-menu, menu-bar-showhide-menu)
10419         (menu-bar-options-menu, menu-bar-tools-menu)
10420         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10421         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10422         (menu-bar-help-menu):
10423         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10424         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10426         * term/x-win.el (x-gtk-stock-map):
10427         * progmodes/vera-mode.el (auto-mode-alist):
10428         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10429         (inferior-lisp-program, inferior-lisp-load-command):
10430         * progmodes/hideshow.el (hs-special-modes-alist):
10431         * progmodes/gud.el (same-window-regexps):
10432         * progmodes/grep.el (grep-program, find-program, xargs-program):
10433         * net/telnet.el (same-window-regexps):
10434         * net/rlogin.el (same-window-regexps):
10435         * language/ethiopic.el (font-ccl-encoder-alist):
10436         * vc-sccs.el (vc-sccs-master-templates):
10437         * vc-rcs.el (vc-rcs-master-templates):
10438         * subr.el (cl-assertion-failed):
10439         * simple.el (next-error-overlay-arrow-position):
10440         * lpr.el (lpr-command):
10441         * locate.el (locate-ls-subdir-switches):
10442         * info.el (same-window-regexps, info)
10443         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10444         * image-mode.el (image-mode, auto-mode-alist):
10445         * hippie-exp.el (hippie-expand-ignore-buffers):
10446         * format.el (format-alist):
10447         * find-dired.el (find-ls-subdir-switches, find-grep-options)
10448         (find-name-arg):
10449         * facemenu.el (facemenu-keybindings):
10450         * dired.el (dired-listing-switches, dired-chown-program):
10451         * diff.el (diff-switches, diff-command):
10452         * cus-edit.el (same-window-regexps):
10453         * bindings.el (mode-line-mule-info)
10454         (mode-line-buffer-identification): Purecopy strings.
10456 2009-11-11  Juri Linkov  <juri@jurta.org>
10458         * simple.el (dired-get-filename) <declare-function>:
10459         Tell the byte-compiler about dired-get-filename.
10460         (shell-command): In Dired mode, get filename from the current line
10461         as the default value.
10463 2009-11-10  Glenn Morris  <rgm@gnu.org>
10465         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10466         * calendar/holidays.el, progmodes/cperl-mode.el:
10467         Update x-popup-menu declarations.
10469         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10470         (list-load-path-shadows): Use dolist.
10471         (list-load-path-shadows): Use with-current-buffer.
10473 2009-11-10  Juri Linkov  <juri@jurta.org>
10475         * minibuffer.el (read-file-name): Support a list of default values
10476         in `default-filename'.  Use the first file name where only one
10477         element is required.  Doc fix.
10479 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
10481         * net/dbus.el (dbus-unregister-object): Release service, if no
10482         other method is registered for it.
10484 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
10486         * bookmark.el (bookmark-completing-read): Sort bookmark names if
10487         bookmark-sort-flag is non-nil (Bug#4653).
10489 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10491         * emulation/cua-base.el: Add CUA property to some CC mode commands
10492         (Bug#4100).
10494 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10496         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10497         at end of sentence (Bug#4818).
10499 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
10501         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10502         Handle "see declaration of" MSFT statements (Bug#4100).
10504 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
10506         * net/tramp.el (tramp-advice-make-auto-save-file-name)
10507         (tramp-advice-file-expand-wildcards): Unload via
10508         `ad-remove-advice'.
10510         * net/trampver.el: Update release number.
10512 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10514         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10515         `ad-do-it'.
10517 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
10519         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10520         in order to keep context in SELinux.
10522 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10524         * dired-aux.el (dired-query): Place cursor in echo area and allow
10525         C-g.
10527         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10528         menu item if not on a directory (Bug#4701).
10530 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
10532         Sync with Tramp 2.1.17.
10534         * net/tramp.el (tramp-handle-copy-directory): Don't use
10535         `file-remote-p' (due to compatibility).
10537         * net/tramp-compat.el (tramp-compat-copy-directory)
10538         (tramp-compat-delete-directory): New defuns.
10540         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10541         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10542         `tramp-compat-delete-directory'.
10544         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10545         (tramp-smb-handle-delete-directory): Use
10546         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10548         * net/trampver.el: Update release number.
10550 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
10552         * tar-mode.el (tar-copy): Call write-region on the right buffer
10553         (Bug#4857).
10555         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10556         by hand, if necessary (Bug#4878).
10558 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
10560         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10561         align size column (Bug#4839).
10563         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10564         statement.
10566 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10568         * progmodes/ld-script.el (auto-mode-alist):
10569         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10571         * cus-face.el (custom-declare-face): Purecopy face spec.
10573 2009-11-06  Kenichi Handa  <handa@m17n.org>
10575         * international/uni-bidi.el: Re-generated.
10576         * international/uni-category.el: Re-generated.
10577         * international/uni-combining.el: Re-generated.
10578         * international/uni-mirrored.el: Re-generated.
10580 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10582         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10583         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10584         (tex-start-options, slitex-run-command, latex-run-command)
10585         (tex-run-command, tex-directory):
10586         * textmodes/ispell.el (ispell-html-skip-alists)
10587         (ispell-tex-skip-alists, ispell-tex-skip-alists):
10588         * textmodes/fill.el (adaptive-fill-first-line-regexp):
10589         (adaptive-fill-regexp):
10590         * textmodes/dns-mode.el (auto-mode-alist):
10591         * progmodes/python.el (interpreter-mode-alist):
10592         * progmodes/etags.el (tags-compression-info-list):
10593         * progmodes/etags.el (tags-file-name):
10594         * net/browse-url.el (browse-url-galeon-program)
10595         (browse-url-firefox-program):
10596         * mail/sendmail.el (mail-signature-file)
10597         (mail-citation-prefix-regexp):
10598         * international/mule-conf.el (eight-bit):
10599         * international/latexenc.el (latex-inputenc-coding-alist):
10600         * international/fontset.el (x-pixel-size-width-font-regexp):
10601         * emacs-lisp/warnings.el (warning-type-format):
10602         * emacs-lisp/trace.el (trace-buffer):
10603         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10604         (emacs-lisp-mode-map):
10605         * calendar/holidays.el (holiday-solar-holidays)
10606         (holiday-bahai-holidays, holiday-islamic-holidays)
10607         (holiday-christian-holidays, holiday-hebrew-holidays)
10608         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10609         (hebrew-holidays-1, holiday-oriental-holidays)
10610         (holiday-general-holidays):
10611         * x-dnd.el (x-dnd-known-types):
10612         * tool-bar.el (tool-bar):
10613         * startup.el (site-run-file):
10614         * shell.el (shell-dumb-shell-regexp):
10615         * rfn-eshadow.el (file-name-shadow-tty-properties)
10616         (file-name-shadow-properties):
10617         * paths.el (remote-shell-program, news-directory):
10618         * mouse.el ([C-down-mouse-3]):
10619         * menu-bar.el (menu-bar-tools-menu):
10620         * jka-cmpr-hook.el (jka-compr-load-suffixes)
10621         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10622         (jka-compr-compression-info-list):
10623         * isearch.el (search-whitespace-regexp):
10624         * image-file.el (image-file-name-extensions):
10625         * find-dired.el (find-ls-option):
10626         * files.el (directory-listing-before-filename-regexp)
10627         (directory-free-space-args, insert-directory-program)
10628         (list-directory-brief-switches, magic-fallback-mode-alist)
10629         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10630         (automount-dir-prefix):
10631         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10632         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10633         (face-font-registry-alternatives, face-font-registry-alternatives)
10634         (face-font-family-alternatives):
10635         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10636         (facemenu-foreground-menu, facemenu-face-menu):
10637         * epa-hook.el (epa-file-name-regexp):
10638         * dnd.el (dnd-protocol-alist):
10639         * textmodes/rst.el (auto-mode-alist):
10640         * button.el (default-button): Purecopy strings.
10642 2009-11-06  Glenn Morris  <rgm@gnu.org>
10644         * Makefile.in (ELCFILES): Update.
10646 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10648         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10649         * emacs-lisp/levents.el: Move to obsolete/levents.el.
10651         * nxml/xsd-regexp.el (xsdre-gen-categories):
10652         * nxml/xmltok.el (xmltok-parse-entity):
10653         * nxml/rng-parse.el (rng-parse-validate-file):
10654         * nxml/rng-maint.el (rng-format-manual)
10655         (rng-manual-output-force-new-line):
10656         * nxml/rng-loc.el (rng-save-schema-location-1):
10657         * nxml/rng-cmpct.el (rng-c-parse-file):
10658         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10659         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10661 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
10663         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10664         Remove extra save-excursions and make-variable-buffer-local's.
10665         Suggested by Stefan Monnier.
10667         (verilog-getopt-file, verilog-module-inside-filename-p)
10668         (verilog-set-define): Merge GNU 1.35 and repair changes from
10669         switching to using with-current-buffer.
10671         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10672         being treated as a number and confusing AUTORESET.
10673         Reported by Dan Dever.
10675         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10676         Add verilog-auto-ignore-concat to fix backward compatibility with
10677         older verilog-modes.  Reported by Dan Katz.
10679         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10680         containing closing anchors "...$".
10682         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10683         Reported by Wade Smith.
10685         (verilog-batch-execute-func): Comment on function usage.
10687 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
10689         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10690         for labels.
10692         (verilog-label-re, verilog-calc-1): Support proper indent of named
10693         asserts.
10695         (verilog-backward-token, verilog-basic-complete-re)
10696         (verilog-beg-of-statement, verilog-indent-re): Support proper
10697         indent of the assert statement at the beginning of a block of text.
10699         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10700         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10701         tokens as begins.
10703 2009-11-05  Glenn Morris  <rgm@gnu.org>
10705         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10706         Emacs 19.  (Bug#1531)
10707         (byte-compile-fix-header): Update for the above change.
10708         Drop test for epoch::version.
10710         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10711         * cus-dep.el (custom-make-dependencies):
10712         * finder.el (finder-compile-keywords):
10713         Use autoload-rubric's feature argument.
10715         * calendar/diary-lib.el (top-level): Make load behave more like require.
10717         * vc-git.el (vc-git-stash-map): Move definition before use.
10719 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
10721         * custom.el (custom-declare-group): Purecopy standard-value.
10722         (custom-declare-group): Purecopy custom-prefix.
10724         * international/mule.el (load-with-code-conversion):
10725         Call do-after-load-evaluation unconditionally.
10727         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10729 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10731         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10733 2009-11-04  Glenn Morris  <rgm@gnu.org>
10735         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10736         (byte-compile-compatibility): Remove option.
10737         (byte-compile-close-variables, byte-compile-fix-header)
10738         (byte-compile-insert-header, byte-compile-output-docform)
10739         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10740         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10741         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10742         (byte-compile-insert, byte-compile-defun):
10743         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
10744         (byte-defop-compiler19): Remove.
10745         Without byte-compile-compatibility, the 'emacs19-opcode property is not
10746         used by anything.  Replace all calls with byte-defop-compiler.
10748 2009-11-04  Juri Linkov  <juri@jurta.org>
10750         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10751         (menu-bar-options-menu): Don't quote the `prop' arg of
10752         `menu-bar-make-mm-toggle'.
10754 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
10756         * calendar/calendar.el (cal-loaddefs):
10757         * calendar/diary-lib.el (diary-loaddefs):
10758         * calendar/holidays.el (hol-loaddefs):
10759         * eshell/esh-module.el (esh-groups): Load rather than require.
10761 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10763         * calendar/todo-mode.el (todo-add-category): Don't hardcode
10764         point-min==1.
10765         (todo-top-priorities): Only display-buffer when called interactively.
10766         (todo-item-start): Don't save excursion point.
10767         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
10768         (todo-insert-item-here, todo-file-item, todo-remove-item):
10769         Adjust uses of todo-item-start and todo-item-end.
10771         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10772         (autoload-rubric): Don't use any more.
10774         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10775         and only put a prop if it is non-nil.
10777 2009-11-03  Juri Linkov  <juri@jurta.org>
10779         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10780         (menu-bar-options-menu): Fix list quoting (Bug#4429).
10782         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10783         and "Menu" to make top-level menu item visually one unit (like
10784         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10785         multi-word menu items).  Fix :help string for quit-window.
10787 2009-11-03  Glenn Morris  <rgm@gnu.org>
10789         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10790         (byte-compile-file-form-define-abbrev-table)
10791         (byte-compile-file-form-custom-declare-variable)
10792         (byte-compile-variable-ref, byte-compile-defvar):
10793         Whether or not a warning is enabled should only affect whether we issue
10794         the warning, not whether or not we collect the relevant data.
10795         Eg warnings can be turned on and off throughout the course of a file.
10797         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10798         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10800 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10802         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10803         * play/mpuz.el (mpuz-create-buffer):
10804         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10805         (lm-print-y,s,noise, lm-print-w0, lm-init):
10806         * play/gomoku.el (gomoku-prompt-for-move):
10807         * play/fortune.el (fortune-in-buffer):
10808         * play/dissociate.el (dissociated-press):
10809         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10810         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10811         * mail/supercite.el (sc-eref-show):
10812         * mail/smtpmail.el (smtpmail-send-it):
10813         * mail/rmailsum.el (rmail-summary-next-labeled-message)
10814         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10815         (rmail-summary-undelete-many, rmail-summary-rmail-update)
10816         (rmail-summary-goto-msg, rmail-summary-expunge)
10817         (rmail-summary-get-new-mail, rmail-summary-search-backward)
10818         (rmail-summary-add-label, rmail-summary-output-menu)
10819         (rmail-summary-output-body):
10820         * mail/rfc822.el (rfc822-addresses):
10821         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10822         * mail/mailpost.el (post-mail-send-it):
10823         * mail/hashcash.el (hashcash-generate-payment):
10824         * mail/feedmail.el (feedmail-run-the-queue)
10825         (feedmail-queue-send-edit-prompt-help-first)
10826         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10827         (feedmail-deduce-address-list):
10828         * eshell/esh-ext.el (eshell-remote-command):
10829         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10830         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10831         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10832         (viper-save-string-in-file, viper-valid-marker):
10833         * emulation/viper-keym.el (viper-toggle-key):
10834         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10835         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10836         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10837         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10838         (viper-exec-form-in-emacs, viper-brac-function):
10839         * emulation/viper.el (viper-delocalize-var):
10840         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10841         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10842         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10843         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10844         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10845         * emulation/edt.el (edt-electric-helpify):
10846         * emulation/cua-rect.el (cua--rectangle-aux-replace):
10847         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10848         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10849         (cua-indent-to-global-mark-column):
10850         * calendar/diary-lib.el (calendar-mark-1):
10851         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10852         Use with-current-buffer.
10853         * emulation/viper.el (viper-delocalize-var): Use dolist.
10855 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
10857         * comint.el (comint-replace-by-expanded-history-before-point):
10858         Replace !! with the previous input string literally (Bug#1795).
10860 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
10862         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10863         to be made up of whitespace.
10865 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
10867         * minibuffer.el (read-file-name): Don't use file dialogs for
10868         remote directories (Bug#99).
10870 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
10872         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10874 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10876         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10877         instead of deleting the window or frame.
10879 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10881         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10882         Support face colors.
10884         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10885         New function.  Support face colors (Bug#1168).
10886         (tex-common-initialization): Use it.
10888         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10889         mode allows it (Bug#1168).
10891 2009-10-31  Juri Linkov  <juri@jurta.org>
10893         * facemenu.el (list-colors-display): Don't mark buffer as
10894         modified (Bug#3948).
10896 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10898         * international/mule-diag.el (list-character-sets-1): Minor
10899         message fix (Bug#3526).
10901         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10902         face property (Bug#4834).
10903         (etags-list-tags, etags-tags-apropos-additional)
10904         (etags-tags-apropos, tags-select-tags-table): Add follow-link
10905         property.
10907         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10908         items.
10910 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10912         * textmodes/two-column.el (2C-split):
10913         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10914         * textmodes/tex-mode.el (tex-set-buffer-directory):
10915         * textmodes/spell.el (spell-region, spell-string):
10916         * textmodes/reftex.el (reftex-erase-buffer):
10917         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10918         * textmodes/reftex-toc.el (reftex-toc-promote-action):
10919         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10920         (reftex-select-item):
10921         * textmodes/reftex-ref.el (reftex-label-info-update)
10922         (reftex-offer-label-menu):
10923         * textmodes/reftex-index.el (reftex-index-change-entry)
10924         (reftex-index-phrases-info):
10925         * textmodes/reftex-global.el (reftex-create-tags-file)
10926         (reftex-save-all-document-buffers, reftex-ensure-write-access):
10927         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10928         (reftex-view-crossref-from-bibtex):
10929         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10930         (reftex-extract-bib-entries-from-thebibliography)
10931         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10932         * textmodes/refbib.el (r2b-capitalize-title):
10933         (r2b-convert-buffer, r2b-help):
10934         * textmodes/page-ext.el (pages-directory)
10935         (pages-directory-goto-with-mouse):
10936         * textmodes/bibtex.el (bibtex-validate-globally):
10937         * textmodes/bib-mode.el (bib-capitalize-title):
10938         * textmodes/artist.el (artist-clear-buffer, artist-system):
10939         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10940         (local-set-scheme-interaction-buffer, xscheme-process-filter)
10941         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10942         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10943         (xscheme-send-control-g-interrupt, xscheme-start-process)
10944         (xscheme-process-sentinel, xscheme-cd):
10945         * progmodes/verilog-mode.el (verilog-read-always-signals)
10946         (verilog-set-define, verilog-getopt-file)
10947         (verilog-module-inside-filename-p):
10948         * progmodes/sh-script.el:
10949         * progmodes/python.el (python-pdbtrack-get-source-buffer)
10950         (python-pdbtrack-grub-for-buffer, python-execute-file):
10951         * progmodes/octave-inf.el (inferior-octave):
10952         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10953         (idlwave-shell-compile-helper-routines, idlwave-set-local)
10954         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10955         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10956         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10957         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10958         (idlwave-shell-filter, idlwave-shell-examine-highlight)
10959         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10960         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10961         (idlwave-shell-examine-display, idlwave-shell-run-region)
10962         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10963         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10964         * progmodes/idlw-help.el (idlwave-help-get-special-help)
10965         (idlwave-help-get-help-buffer):
10966         * progmodes/gud.el (gud-basic-call, gud-find-class)
10967         (gud-tooltip-activate-mouse-motions-if-enabled):
10968         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10969         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10970         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10971         (ebrowse-tags-next-file):
10972         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10973         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10974         (ebnf-eps-finish-and-write):
10975         * progmodes/cpp.el (cpp-edit-save):
10976         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10977         * progmodes/cc-defs.el (c-emacs-features):
10978         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10979         (antlr-directory-dependencies):
10980         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10981         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10982         (ada-find-any-references, ada-make-filename-from-adaname)
10983         (ada-make-body-gnatstub):
10984         * obsolete/rnews.el (news-list-news-groups):
10985         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10986         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10987         * net/rcirc.el (rcirc-debug):
10988         * net/newst-treeview.el (newsticker--treeview-list-add-item)
10989         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10990         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10991         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10992         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10993         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10994         (newsticker--treeview-list-clear-highlight)
10995         (newsticker--treeview-list-update-highlight)
10996         (newsticker--treeview-list-highlight-start)
10997         (newsticker--treeview-tree-update-highlight)
10998         (newsticker--treeview-get-selected-item)
10999         (newsticker-treeview-mark-list-items-old)
11000         (newsticker--treeview-set-current-node):
11001         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11002         * net/newst-backend.el (newsticker--get-news-by-funcall)
11003         (newsticker--get-news-by-wget, newsticker--image-get)
11004         (newsticker--image-sentinel):
11005         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11006         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11007         (eudc-ph-close-session):
11008         * net/eudc.el (eudc-save-options):
11009         * language/thai-word.el (thai-update-word-table):
11010         * language/japan-util.el (japanese-string-conversion):
11011         * international/titdic-cnv.el (tsang-quick-converter)
11012         (ziranma-converter, ctlau-converter):
11013         * international/mule-cmds.el (describe-language-environment):
11014         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11015         (skkdic-convert-postfix, skkdic-convert-prefix):
11016         (skkdic-convert-okuri-nasi, skkdic-convert):
11017         * emacs-lisp/re-builder.el (reb-update-overlays):
11018         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11019         * emacs-lisp/gulp.el (gulp-send-requests):
11020         * emacs-lisp/find-gc.el (trace-call-tree):
11021         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11022         (eieio-describe-generic):
11023         * emacs-lisp/eieio-base.el (eieio-persistent-read):
11024         * emacs-lisp/edebug.el (edebug-outside-excursion):
11025         * emacs-lisp/debug.el (debugger-make-xrefs):
11026         * emacs-lisp/cust-print.el (custom-prin1-to-string):
11027         * emacs-lisp/chart.el (chart-new-buffer):
11028         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11029         Use with-current-buffer.
11030         * textmodes/artist.el (artist-system): Don't call
11031         copy-sequence on a fresh string.
11032         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11034 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
11036         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11037         is no item to edit.  (Bug#4820)
11038         (todo-top-priorities): Restore point and restore narrowing in Todo
11039         buffer.  (Bug#4820)
11041 2009-10-31  Glenn Morris  <rgm@gnu.org>
11043         * net/ange-ftp.el (top-level): Don't require dired when compiling.
11044         (comint-last-output-start, comint-last-input-start)
11045         (comint-last-input-end): Don't defvar when compiling.
11046         (ange-ftp-process-file): Use bound-and-true-p.
11048         * pcmpl-rpm.el (top-level): Move provide statement to end.
11049         (pcmpl-rpm): Remove unused custom group.
11051         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11053         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11055         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11056         (byte-compile-warnings): Add `constants' as an option.
11057         (byte-compile-callargs-warn, byte-compile-arglist-warn)
11058         (display-call-tree): Update for byte-compile-fdefinition possibly
11059         returning `(macro lambda ...)'.  (Bug#4778)
11060         (byte-compile-variable-ref, byte-compile-setq-default):
11061         Respect `constants' member of byte-compile-warnings.
11063 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11065         * vc-bzr.el (vc-bzr-revision-keywords): New var.
11066         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11067         to "submit:".
11069 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
11071         * textmodes/ispell.el (ispell-skip-region-alist):
11072         * international/mule-conf.el (eight-bit):
11073         * international/fontset.el (font-encoding-alist):
11074         * startup.el (pure-space-overflow-message):
11075         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11076         * paths.el (gnus-nntp-service, rmail-spool-directory)
11077         (term-file-prefix):
11078         * files.el (save-some-buffers-action-alist):
11079         * cmuscheme.el (same-window-buffer-names):
11080         * ielm.el (same-window-buffer-names):
11081         * shell.el (same-window-buffer-names):
11082         * mail/sendmail.el (same-window-buffer-names):
11083         * progmodes/inf-lisp.el (same-window-buffer-names):
11084         * bindings.el (mode-line-client)
11085         (mode-line-column-line-number-mode-map):
11086         * language/tibetan.el (tibetan-precomposition-rule-regexp)
11087         (tibetan-precomposed-regexp): Purecopy string arguments.
11089 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11091         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11092         (calcDigit-nondigit):
11093         * calc/calc-yank.el (calc-copy-to-buffer):
11094         * calc/calc-units.el (calc-invalidate-units-table):
11095         * calc/calc-trail.el (calc-trail-yank):
11096         * calc/calc-store.el (calc-insert-variables):
11097         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11098         * calc/calc-prog.el (calc-read-parse-table):
11099         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11100         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11101         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11102         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11103         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11104         (calc-graph-name, calc-graph-find-command, calc-graph-view)
11105         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11106         * calc/calc-ext.el (calc-realign):
11107         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11108         (calc-embedded-finish-edit, calc-embedded-make-info)
11109         (calc-embedded-finish-command, calc-embedded-stack-change):
11110         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11112         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11113         shell-dynamic-complete-filename in preference to
11114         comint-dynamic-complete-filename.
11116         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11117         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11118         Don't consider whether the display supports colors.
11119         (bookmark-import-new-list): Use dolist.
11120         (bookmark-bmenu-mode-map): Move initialization into declaration.
11121         (bookmark-bmenu-list): Use dolist, simplify.
11122         (bookmark-show-all-annotations): Use save-selected-window and dolist.
11123         (menu-bar-final-items): Use push.
11125 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11127         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11128         it works on remote files.
11129         (vc-hg-diff): Don't pass any `--cwd' argument.
11131 2009-10-27  Kevin Ryde  <user42@zip.com.au>
11133         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11134         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11135         (Further to Bug#3921).
11137 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
11139         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11140         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11141         calling `tramp-imap-put-file'.  Add file size to the call.
11142         (tramp-imap-get-file-entries): Compute also user name, file size,
11143         and date.
11144         (tramp-imap-handle-insert-directory): Insert uid and gid.
11145         (tramp-imap-handle-file-attributes): Transform uid and gid
11146         according to `id-format'.
11147         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
11148         size in header X-Size.
11150 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11152         * simple.el (transpose-subr): Give clearer error when the mark
11153         is not set.  (Bug#4807)
11155 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
11157         * net/tramp.el (tramp-perl-file-truename): New defconst.
11158         Perl code contributed by yary <not.com@gmail.com> (tiny change).
11159         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11160         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11161         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11163         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11164         Ignore `dired-call-process'.
11165         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11167 2009-10-26  Julian Scheid  <julians37@gmail.com>
11169         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11170         (tramp-get-remote-readlink): New defun.
11171         (tramp-handle-file-truename): Use it.
11172         (tramp-handle-file-exists-p): Check file-attributes cache, assume
11173         file exists if cache value present.
11174         (tramp-check-cached-permissions): New defun.
11175         (tramp-handle-file-readable-p): Use it.
11176         (tramp-handle-file-writable-p): Likewise.
11177         (tramp-handle-file-executable-p): Likewise.
11178         (tramp-handle-file-name-all-completions): Try using Perl to get
11179         partial completions.  When perl not available, combine `cd' and
11180         `ls' into single remote operation and use shell expansion to get
11181         partial remote directory contents.  Set `file-exists-p' cache for
11182         directory and any files returned by ls.  Change cache handling to
11183         support partial directory contents.  Use error message emitted by
11184         remote `cd' or Perl code for local tramp-error.
11185         (tramp-do-copy-or-rename-file-directly): Avoid separate
11186         tramp-send-command-and-check call.
11187         (tramp-handle-process-file): Merge three remote ops into one.
11188         Do not flush all caches when `process-file-side-effects' is set.
11189         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11190         file-attributes shows uid/gid to be set already.
11192 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
11194         * textmodes/tex-mode.el (tex-dvi-view-command)
11195         (tex-show-queue-command, tex-open-quote):
11196         * progmodes/ruby-mode.el (auto-mode-alist)
11197         (interpreter-mode-alist): Purecopy strings.
11199         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11201         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11202         string for the hook, keymap and abbrev table.
11204         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11206         * x-dnd.el (x-dnd-xdnd-to-action):
11207         * startup.el (fancy-startup-text, fancy-about-text): Change to
11208         defconst from defvar.
11210         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11212         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11213         Purecopy initialization strings.
11215         * mail/sendmail.el (mail-header-separator)
11216         (mail-personal-alias-file):
11217         * mail/rmail.el (rmail-default-dont-reply-to-names)
11218         (rmail-ignored-headers, rmail-retry-ignored-headers)
11219         (rmail-highlighted-headers, rmail-secondary-file-directory)
11220         (rmail-secondary-file-regexp):
11221         * files.el (null-device, file-name-invalid-regexp)
11222         (locate-dominating-stop-dir-regexp)
11223         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11224         (interpreter-mode-alist): Use mapcar instead of mapc.
11226         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11228         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11229         (completion-ignored-extensions):
11230         (debug-ignored-errors): Purecopy strings.
11232 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11234         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11235         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11236         (pcomplete--here): Use push.
11238         * subr.el (all-completions): Declare the 4th arg obsolete.
11240 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11242         * pcomplete.el (pcomplete-unquote-argument-function): New var.
11243         (pcomplete-unquote-argument): New function.
11244         (pcomplete--common-suffix): Always pay attention to case.
11245         (pcomplete--table-subvert): Quote and unquote the text.
11246         (pcomplete--common-quoted-suffix): New function.
11247         (pcomplete-std-complete): Use it and pcomplete-begin.
11249         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11250         we're inside a dedicated or minibuffer window.
11252 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
11254         * bookmark.el: Update documentation, especially documentation
11255         of `bookmark-alist' and of the bookmark file format.
11256         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
11258 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11260         * mail/emacsbug.el (report-emacs-bug): Clarify that the
11261         keybindings apply to the mail buffer (Bug#4003).  Shrink help
11262         window to buffer.
11264         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11265         (global-whitespace-mode, global-whitespace-newline-mode)
11266         (whitespace-toggle-options, global-whitespace-toggle-options):
11267         Doc fix (Bug#3660).
11269         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11270         of xmltok-start before the end tag was inserted (Bug#2840).
11272         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11273         patterns that are preceded by an open-paren (Bug#1320).
11275 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
11277         * files.el (delete-directory): Delete symlinks to directories with
11278         delete-file (Bug#4739).
11280 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11282         * vc.el (vc-backend-for-registration): Rename from
11283         vc-get-backend-for-registration.  Update callers.
11285         * international/mule-cmds.el (set-language-info-alist):
11286         Purecopy lang-env.
11287         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11288         (charset): Purecopy the name.
11289         (define-char-code-property): Purecopy string arguments.
11291         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11292         Purecopy string arguments.
11294         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11295         * ediff-hook.el (menu-bar-ediff-menu):
11296         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11297         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11299 2009-10-24  Glenn Morris  <rgm@gnu.org>
11301         * comint.el (comint-dynamic-list-completions):
11302         * term.el (term-dynamic-list-completions): Use choose-completion rather
11303         than obsolete alias mouse-choose-completion.
11305         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11306         file-cache-choose-completion.
11307         (file-cache-choose-completion): Handle an optional event argument.
11308         (file-cache-mouse-choose-completion): Make it an obsolete alias.
11310         * progmodes/octave-mod.el (octave-complete-symbol):
11311         Use choose-completion if mouse-choose-completion is ever removed.
11313         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11314         use.
11316         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11317         compiler.
11319         * vc-hooks.el (vc-responsible-backend): Fix declaration.
11321 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11323         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11324         Ignore `pred' now that we receive one.
11325         Handle test-completion specially.
11327 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11329         * vc.el (vc-responsible-backend): Throw an error if not backend is
11330         found.  Remove the REGISTER argument.  Move the code dealing with
11331         REGISTER ...
11332         (vc-get-backend-for-registration): ... here.  New function.
11333         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11334         of vc-responsible-backend, pass the file name instead of the
11335         directory name.
11337 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11339         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11340         New funs.
11341         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
11342         (pcomplete-comint-setup): Don't modify a global var via
11343         accidental side-effects.
11344         (pcomplete-shell-setup): Adjust call accordingly.
11345         (pcomplete-parse-comint-arguments): Use push.
11347 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
11349         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11350         Allow uncapitalized info node names (Bug#3921).
11352         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11353         to the DEBUG file (Bug#3781).
11355 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
11357         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11358         dictionary entry (Bug#4579).
11360 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
11362         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11363         from `rfn-eshadow-update-overlay-hook' when unloading.
11364         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11365         "rsyncc".  Adjust doc string.
11366         (tramp-temp-buffer-file-name): New buffer-local defvar.
11367         (tramp-handle-insert-file-contents, tramp-handle-write-region):
11368         Keep temporary file when indicated by method ("rsync" and
11369         "rsyncc").
11370         (tramp-handle-write-region): Handle APPEND.
11371         (tramp-delete-temp-file-function): New defun.  Added to
11372         `kill-buffer-hook'.
11374 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
11376         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11378 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11380         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11381         (color-name-rgb-alist, tty-standard-colors)
11382         (tty-color-mode-alist): Change to defconst.
11384         * simple.el (mark-inactive): Purecopy message.
11386         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11387         (global-map, yank-menu):
11388         * textmodes/ispell.el (ispell-menu-map):
11389         * net/eudc.el (eudc-tools-menu):
11390         * international/mule-cmds.el (describe-language-environment-map)
11391         (setup-language-environment-map, set-coding-system-map)
11392         (mule-menu-keymap):
11393         * vc-hooks.el (vc-menu-entry, vc-menu-map):
11394         * replace.el (occur-mode-map):
11395         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11397 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
11399         * calc/calc.el (math-read-number, math-read-number-simple): Use
11400         `save-match-data'.
11402 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11404         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11405         rather than fiddling with global-map bindings, since it should only
11406         affect per-terminal settings.
11407         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11409         * minibuffer.el (completion-table-with-terminator): Allow to specify
11410         the terminator-regexp.
11412         * simple.el (switch-to-completions): Look for *Completions* in other
11413         frames as well.
11415         * pcomplete.el: Allow the use of completion-tables.
11416         (pcomplete-std-complete): New command.
11417         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11418         (pcomplete--here): Use a function for `form' rather than an expression,
11419         so it can be byte-compiled.
11420         (pcomplete-here, pcomplete-here*): Adjust accordingly.
11421         Add edebug declaration.
11422         (pcomplete-show-completions): Remove unused var `curbuf'.
11423         (pcomplete-do-complete, pcomplete-stub):
11424         Don't assume `completions' is a list of strings any more.
11426 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
11428         * find-dired.el (find-name-arg): Fix typo in docstring.
11430 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11432         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11433         (pcmpl-linux-fs-types): Same, and update to new modules layout.
11435         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11436         pcomplete-entries.
11438         * comint.el (comint-read-input-ring, comint-write-input-ring)
11439         (comint-substitute-in-file-name)
11440         (comint-dynamic-complete-as-filename)
11441         (comint-dynamic-simple-complete)
11442         (comint-dynamic-list-filename-completions)
11443         (comint-dynamic-list-completions)
11444         (comint-redirect-results-list-from-process): Minor simplifications.
11446 2009-10-21  Kevin Ryde  <user42@zip.com.au>
11448         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11449         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11450         the first form.  And insert a blank line after ";;; Code" since
11451         that's usual style.  (Bug#4612)
11453         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11455 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11457         * minibuffer.el (completion-table-with-terminator): Properly implement
11458         boundaries, in case `terminator' appears in the suffix.
11459         (completion--embedded-envvar-table): Don't return boundaries if
11460         there's no valid completion.  Simplify.
11461         (completion-file-name-table): New completion table extracted from
11462         completion--file-name-table.
11463         (completion--file-name-table): Use it.
11464         (read-file-name-predicate): Declare obsolete.
11465         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11466         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11467         completion-file-name-table, and use the `pred' argument.
11468         * files.el (locate-file-completion-table): Use the `pred' arg rather
11469         than read-file-name-predicate.
11470         (abbreviate-file-name): Use \` rather than ^ for BOS.
11472 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
11474         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11475         vc-responsible-backend to register, it causes problems.
11477 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11479         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11481 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
11483         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11484         (tramp-smb-handle-file-attributes): Use it.
11485         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11486         (tramp-smb-handle-insert-directory): Use `mapc' rather than
11487         `mapcar'.  Use `tramp-smb-get-stat-capability'.
11488         Add `dired-filename' text properties.
11489         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11490         (tramp-smb-maybe-open-connection): Simplify check for smbclient
11491         version.
11493 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11495         * subr.el (read-key-delay): Reduce to 0.01.
11496         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11497         (bug#4751).
11499 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11501         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11503         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11504         (Info-menu): Remove unused vars `last' and `completions'.
11505         (Info-index-nodes): Remove unused var `node'.
11507         * info.el (Info-complete-menu-item): Use complete-with-action.
11509 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11511         Make vc-annotate work through copies and renames.
11512         * vc-annotate.el (vc-annotate-extract-revision-at-line):
11513         Return the file name too.
11514         (vc-annotate-revision-at-line)
11515         (vc-annotate-find-revision-at-line)
11516         (vc-annotate-revision-previous-to-line)
11517         (vc-annotate-show-log-revision-at-line): Update to get the file
11518         name from vc-annotate-extract-revision-at-line.
11519         (vc-annotate-show-diff-revision-at-line-internal): Change the
11520         argument to mean whether to show a file diff or not.  Get the file
11521         name from vc-annotate-extract-revision-at-line.
11522         (vc-annotate-show-diff-revision-at-line):
11523         Update vc-annotate-show-diff-revision-at-line call.
11524         (vc-annotate-warp-revision): Add an optional file argument.
11526         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11527         (vc-git-annotate-extract-revision-at-line): Also return the file
11528         name if found.
11530         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11531         command.  Remove unused code.
11532         (vc-hg-annotate-re): Update to match --follow output.
11533         (vc-hg-annotate-extract-revision-at-line): Also return the file
11534         name if found.
11536         * vc.el: Update annotate-extract-revision-at-line documentation.
11538 2009-10-18  Kevin Ryde  <user42@zip.com.au>
11540         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11541         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11543         * net/browse-url.el (browse-url): Identify alist with "consp and
11544         not functionp" and let all other things go down the `apply' leg,
11545         as suggested by Stefan.  (Further to bug#4531.)
11547 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
11549         * minibuffer.el (read-file-name): Check for repeat before putting
11550         a default argument in file-name-history (Bug#4657).
11552         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11553         read syntax (Bug#4737).
11555         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11557 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11559         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11560         (html-tag-alist, html-tag-help): Add descriptions for undocumented
11561         entries and make note of obsolete tags.
11563 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11565         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11567 2009-10-18  Glenn Morris  <rgm@gnu.org>
11569         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11570         grep, so that binary files (eg international/uni-bidi.el) can match.
11571         Remove test for "UnicodeData" files, since it is hopefully unnecessary
11572         now, and in any case the file header format has changed.
11574 2009-10-17  Glenn Morris  <rgm@gnu.org>
11576         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11577         (flyspell-get-word, flyspell-large-region)
11578         (flyspell-auto-correct-previous-word): Doc/error message fixes.
11580 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
11582         * Makefile.in (ELCFILES): Add ede/shell.
11584 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
11586         * term/common-win.el (x-colors): Purecopy it.
11588 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11590         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11591         permissive for when the buffer is empty.
11592         (tar-header-block-tokenize): Decode the username and groupname.
11593         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11595 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11597         * international/mule-cmds.el (select-safe-coding-system): If the file
11598         has a coding cookie, use it regardless of any other setting (bug#4712).
11600 2009-10-17  Glenn Morris  <rgm@gnu.org>
11602         * foldout.el (foldout-mouse-swallow-events):
11603         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11605         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11606         (dired-keep-marker-copy, dired-keep-marker-hardlink)
11607         (dired-keep-marker-symlink, dired-dwim-target)
11608         (dired-copy-preserve-time): Do not autoload these defcustoms.
11610         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11611         messages from messing up the file coding.  (Bug#4623)
11613 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
11615         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11616         if no match is found for the current dictionary.  (Bug#4578)
11618         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11619         optional, since that is how it is documented, and this is often called
11620         with a nil argument.  (Bug#4577)
11621         (flyspell-external-point-words, flyspell-auto-correct-word)
11622         (flyspell-correct-word-before-point, flyspell-word-search-forward)
11623         (flyspell-word-search-backward): Remove nil argument in calls to
11624         flyspell-get-word, since it is not needed now.
11626 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
11628         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
11630 2009-10-16  Glenn Morris  <rgm@gnu.org>
11632         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11634 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11636         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11637         (ange-ftp-file-size): New function.
11638         (ange-ftp-file-attributes): Use it.
11640 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
11642         * net/tramp-smb.el (tramp-smb-version): New defvar.
11643         (tramp-smb-maybe-open-connection): Use it, in order to avoid
11644         repeated checks.
11646 2009-10-16  Glenn Morris  <rgm@gnu.org>
11648         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11649         Maybe copy some custom properties from old to new name.  (Bug#4706)
11651 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
11653         * subr.el (error, sit-for, start-process-shell-command)
11654         (start-file-process-shell-command): Set the calling convention
11655         after the function definition.
11657 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11659         * subr.el (error, sit-for, start-process-shell-command)
11660         (start-file-process-shell-command): Use the new
11661         set-advertised-calling-convention feature.
11663 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
11665         * international/ucs-normalize.el (ucs-normalize-version):
11666         Change to 1.2.
11667         (check-range): Adjust for Unicode 5.2.
11669 2009-10-15  Juri Linkov  <juri@jurta.org>
11671         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11672         to the `menu-item' format.
11674 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
11676         * net/tramp.el (tramp-replace-environment-variables): Do not fail
11677         if the environment variable does not exist.
11679         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11680         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11681         parameter.
11682         (tramp-smb-handle-add-name-to-file)
11683         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11684         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11685         (tramp-smb-handle-file-attributes)
11686         (tramp-smb-do-file-attributes-with-stat)
11687         (tramp-smb-handle-file-local-copy)
11688         (tramp-smb-handle-insert-directory)
11689         (tramp-smb-handle-make-directory)
11690         (tramp-smb-handle-make-directory-internal)
11691         (tramp-smb-handle-make-symbolic-link)
11692         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11693         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11694         (tramp-smb-maybe-open-connection): Apply the changed parameters.
11695         (tramp-smb-read-file-entry): Read Disk names in compressed format.
11696         Handle long file names.
11697         (tramp-smb-get-cifs-capabilities): Check, whether the connection
11698         process is running.
11699         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11700         Read share names with "-g" option.
11702 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
11704         * net/rcirc.el (rcirc-view-log-file): New command.
11705         (rcirc-track-minor-mode-map): Remove C-c ` binding.
11706         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11707         specified.
11709 2009-10-15  Glenn Morris  <rgm@gnu.org>
11711         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11712         from the second command-line argument.
11713         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11714         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11715         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11716         w32-batch-update-autoloads.
11717         * emacs-lisp/autoload.el (autoload-make-program): New variable.
11718         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11720         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11721         the headers cannot be located.  Simplify, subtracting superflous
11722         save-excursions.
11724 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11726         Replace completion-base-size by completion-base-position to fix bugs
11727         such as (bug#4699).
11728         * simple.el (completion-base-position): New var.
11729         (completion-base-size): Mark as obsolete.
11730         (choose-completion): Make it work for mouse events as well.
11731         Pass the new base-position to choose-completion-string.
11732         (choose-completion-guess-base-position): New function, extracted from
11733         choose-completion-delete-max-match.
11734         (choose-completion-delete-max-match): Use it.  Make obsolete.
11735         (choose-completion-string): Use the new base-position info.
11736         (completion-root-regexp): Delete.
11737         (completion-setup-function): Preserve completion-base-position.
11738         Eliminate obsolete base-size manipulation.
11739         * minibuffer.el (display-completion-list): Don't mess with base-size.
11740         (minibuffer-completion-help): Set completion-base-position instead.
11741         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11742         choose-completion.
11743         * textmodes/bibtex.el (bibtex-complete):
11744         * emacs-lisp/crm.el (crm--choose-completion-string):
11745         Adjust to new calling convention.
11746         * complete.el (partial-completion-mode): Use minibufferp to avoid
11747         bumping into incompatible change to choose-completion-string-functions.
11748         * ido.el (ido-choose-completion-string): Make its calling convention
11749         more permissive.
11750         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11751         base-size manipulation.
11752         (comint-dynamic-list-input-ring): Use dotimes and push.
11753         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11754         fundamental-mode.  Use `or'.
11756 2009-10-14  Juri Linkov  <juri@jurta.org>
11758         * misearch.el (multi-isearch-next-buffer-from-list)
11759         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
11761 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11763         * Makefile.in (compile-onefile): Load `bytecomp' rather than
11764         `bytecomp.el'.
11766         * minibuffer.el (completion-pcm--merge-completions): Make sure the
11767         string we return is all made up of text from the completions rather
11768         than part from the completions and part from the input (bug#4219).
11770         * ido.el (ido-everywhere): Use define-minor-mode.
11772         * buff-menu.el (list-buffers, ctl-x-map):
11773         Mark the entry points with ;;;###autoload cookies.
11775 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
11777         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11778         correctly in the detached head case.
11779         (vc-git-print-log): Remove unused binding.
11781         * vc.el (vc-responsible-backend): When a directory is passed for
11782         for registration create a VC repository if no backend is
11783         responsible for the directory argument.
11784         (vc-deduce-fileset): Tell vc-responsible-backend to register.
11786         * vc.el: Move comments about RCS and SCCS ...
11787         * vc-rcs.el:
11788         * vc-sccs.el: ... here, respectively.
11790 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11792         * minibuffer.el (completion--file-name-table): Return nil if there's
11793         no file completion, even if substitute-in-file-name changed
11794         the string (bug#4708).
11796 2009-10-13  Juri Linkov  <juri@jurta.org>
11798         * files-x.el (read-file-local-variable-value): Don't filter out
11799         minor modes from mode name completion (bug#4664).
11801 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11803         * international/mule-cmds.el (ucs-names): Remove exclusion of
11804         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11806 2009-10-13  Kenichi Handa  <handa@m17n.org>
11808         * international/uni-name.el: Regenerated.
11810 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11812         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
11813         should be automatically buffer-local, but isn't.)
11815 2009-10-12  Sam Steingold  <sds@gnu.org>
11817         * progmodes/compile.el (compilation-next-error-function): Fix the
11818         timestamps if the buffer has been visited before.
11819         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11820         non-anchored patterns, like the perl one (bug#3928).
11822 2009-10-12  Glenn Morris  <rgm@gnu.org>
11824         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11825         Let-bind `size'.
11827 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
11829         * proced.el (proced-unload-function): New function.
11831         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11832         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11833         Doc fix.
11835         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11837 2009-10-11  Juri Linkov  <juri@jurta.org>
11839         * files-x.el (read-file-local-variable-value):
11840         Provide default value only for bound variables (bug#4664).
11842 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
11844         * net/tramp.el (tramp-local-host-p): Function shall return nil for
11845         connection methods like smb.
11847         * net/tramp-cache.el (tramp-flush-connection-property): The hash
11848         can be empty.
11850         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11851         (tramp-smb-file-name-handler-alist): Add handlers for
11852         `add-name-to-file', `make-symbolic-link'.
11853         (tramp-smb-handle-add-name-to-file)
11854         (tramp-smb-do-file-attributes-with-stat)
11855         (tramp-smb-handle-make-symbolic-link)
11856         (tramp-smb-get-cifs-capabilities): New defuns.
11857         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11858         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11859         (tramp-smb-handle-file-local-copy)
11860         (tramp-smb-handle-make-directory-internal)
11861         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11862         The file name syntax depends on cifs capabilities.
11863         (tramp-smb-handle-file-attributes):
11864         Call `tramp-smb-do-file-attributes-with-stat' if possible.
11865         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11866         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11868 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
11870         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11871         (eieio-defclass): Apply deftype handler and setf-method properties
11872         directly.
11873         (eieio-add-new-slot): Avoid union function from cl library.
11874         (eieio--typep): New function.
11875         (eieio-perform-slot-validation): Use it.
11877 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11879         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11880         Update documentation to refer to the variables documented in r1.135.
11881         (Bug#4188)
11883 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11885         * bookmark.el (Info-suffix-list): Remove this unused variable.
11886         (bookmark-current-point): Remove this obsolete variable.
11887         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11888         Adjust for removal of bookmark-current-point.
11890         (bookmarks-already-loaded, bookmark-current-buffer)
11891         (bookmark-yank-point): Document.  (Bug#4188)
11893 2009-10-10  Glenn Morris  <rgm@gnu.org>
11895         * frame.el (frame-height): Doc fix.
11897         * calendar/calendar.el (calendar-split-width-threshold): New option.
11898         (calendar-basic-setup): Use calendar-split-width-threshold.
11900 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
11902         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11903         Ideographic Supplement" range (U+1F200..U+1F2FF).
11905 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11907         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11908         since the list will have been rebuilt anyway.  (Bug#4349)
11910 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11912         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11913         (bookmark-bmenu-execute-deletions): Don't save here, as
11914         bookmark-delete will now do so if necessary.
11915         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11916         (Bug#4348)
11918 2009-10-09  Glenn Morris  <rgm@gnu.org>
11920         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11922 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11924         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11925         (bookmark-jump-other-window): Just invoke bookmark-jump with new
11926         argument now, so the two function's behaviors will match.  (Bug#3645)
11928 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
11930         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11931         (tramp-file-name-real-host, tramp-file-name-port):
11932         Apply `save-match-data'.
11934         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11935         case both directories are remote.
11936         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11937         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11939 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11941         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11943 2009-10-07  Glenn Morris  <rgm@gnu.org>
11945         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11946         of concat.
11948 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11950         * files-x.el (read-file-local-variable): Include some
11951         non-user-variables in the completion table (bug#4664).
11953 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
11955         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11956         message.
11958         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11959         (tramp-smb-file-name-handler-alist): Add handler for
11960         `copy-directory', `expand-file-name', `set-file-modes'.
11961         (tramp-smb-handle-copy-directory)
11962         (tramp-smb-handle-expand-file-name)
11963         (tramp-smb-handle-set-file-modes): New defuns.
11964         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11965         (tramp-smb-handle-file-attributes): Simplify check for retrieving
11966         entry.
11967         (tramp-smb-handle-insert-directory): Don't flush the cache.
11968         (tramp-smb-maybe-open-connection): Check for samba client and
11969         server versions.
11971 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
11973         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11974         to not error out of search for "^lisp=" fails.
11976 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11978         * makefile.w32-in (WINS_UPDATES): New macro.
11979         (custom-deps, finder-data, autoloads): Use it.
11981 2009-10-07  Glenn Morris  <rgm@gnu.org>
11983         * Makefile.in (autoloads): Revert previous change.
11984         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11985         the list of preloaded files passed on the command-line, get
11986         it from src/Makefile.
11988         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11989         show the original buffer rather than a random one.
11991 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
11993         * help.el (describe-no-warranty): Place point in a slightly better
11994         position in the GPLv3 text.
11996 2009-10-06  Sam Steingold  <sds@gnu.org>
11998         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11999         the comm attribute is present before calling regexp-quote.
12001 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
12003         * play/animate.el (animate-string): For good effect, make sure
12004         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12006         * play/animate.el (animate-sequence, animate-birthday-present):
12007         * misc.el (butterfly): Don't set `indent-tabs-mode'.
12009 2009-10-06  Glenn Morris  <rgm@gnu.org>
12011         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12013         * emacs-lisp/autoload.el (autoload-excludes): New variable.
12014         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12015         (batch-update-autoloads): Process a string value of autoload-excludes,
12016         set during the build process.
12017         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
12019         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12020         inside with-parsed...  macro so that `v' is defined.
12022         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12023         * progmodes/fortran.el (fortran-end-of-block)
12024         (fortran-beginning-of-block):
12025         Also push mark in the macro case.
12027         * emerge.el (emerge-show-file-name):
12028         * calc/calc.el (calc-quit):
12029         * calc/calc-misc.el (calc-big-or-small):
12030         * calc/calc-graph.el (calc-graph-view):
12031         * calc/calc-ext.el (calc-reset):
12032         * calendar/calendar.el (calendar-basic-setup):
12033         Use window-full-height-p.
12035         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12036         header we don't understand, don't insert another.  (Bug#4624)
12037         If changing mime charset, insert the new one in the right place.
12039 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
12041         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12042         (cal-tex-cursor-month): Correctly increment the end date for diary and
12043         holiday listing.  (Bug#4626)
12045 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12047         * help-fns.el (describe-function-1): Don't burp if the function is not
12048         a symbol.
12050 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
12052         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12053         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12054         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12055         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12057         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12058         (eieio-default-superclass): Reflow docstrings.
12059         (this, class-option-assoc, defclass, eieio-class-un-autoload)
12060         (eieio-unbind-method-implementations, defmethod)
12061         (eieio-validate-slot-value, eieio-validate-class-slot-value)
12062         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12063         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12064         (eieio-slot-originating-class-p, eieio-slot-name-index)
12065         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12066         (constructor, initialize-instance, no-next-method, object-print)
12067         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12068         Fix typos in docstrings.
12069         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12070         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12071         (next-method-p): Doc fixes.
12072         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12073         Fix typos in error messages.
12074         (eieio-defmethod): Fix typo in description of generic method.
12076         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12077         (eieio-persistent-save-interactive, slot-missing):
12078         Fix typos in docstrings.
12079         (eieio-instance-inheritor-slot-boundp): Doc fix.
12081         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12082         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12084         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12085         (eieio-custom-object-apply-reset):
12086         Fix typos in docstrings and error messages.
12088         * emacs-lisp/eieio-datadebug.el (data-debug-show):
12089         Fix typo in docstring.
12091         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12092         (eieio-browse-tree): Doc fix.
12093         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12094         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12095         Fix typos in docstrings.
12097         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12098         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12099         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12100         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12101         Reflow docstrings.
12103 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
12105         * vc-hg.el (log-view-vc-backend): Declare for compiler.
12106         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12107         Set log-view-vc-backend so that diff can work.
12109         * log-view.el (log-view-diff): Use vc-diff-internal instead of
12110         vc-version-diff.
12111         (vc-diff-internal): Autoload this instead of vc-version-diff.
12113 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
12115         * simple.el (eval-expression): Doc fix.
12117         * progmodes/cwarn.el (cwarn-mode): Doc fix.
12119 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
12121         * files.el (directory-files-no-dot-files-regexp): New defconst.
12122         (delete-directory): Use it.
12123         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
12125         * net/tramp.el (tramp-verbose): Fix docstring.
12126         (tramp-methods): Add recursive option to `tramp-copy-args'.
12127         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
12128         "scp1_old", "scp2_old", "rsync", "rsyncc".
12129         (tramp-default-method): Check also for `auth-source-user-or-password'.
12130         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12131         Add handler for `copy-directory'.
12132         (tramp-handle-copy-directory): New defun.
12133         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12134         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12135         Optimize sent command.
12137 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12139         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12140         window if necessary.
12142         * calendar/calendar.el (calendar-basic-setup): Don't call
12143         switch-to-buffer in a dedicated window.
12145 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
12147         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12148         don't do anything related to relocating, just return nil.
12149         (bookmark-error-no-filename): New error.
12150         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12151         bookmark has no file.  Don't even attempt to handle things that
12152         are not files; the whole point of custom handlers is to keep that
12153         knowledge elsewhere anyway.  Tighten some comments.
12154         (bookmark-file-or-variation-thereof): Remove now-unused function.
12155         (bookmark-location): Doc string fix.
12156         (Bug#4250)
12158 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12160         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12161         don't use a file dialog, because they usually don't know how to read
12162         a directory target from the user.  (Bug#4230)
12163         Also, make sure the prompt can display directories as well as files.
12165 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12167         * bookmark.el (bookmark-set, bookmark-buffer-name):
12168         Improve doc strings.  (Bug#1193)
12170 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12172         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12173         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12174         (bookmark-get-annotation, bookmark-set-annotation)
12175         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12176         (bookmark-set-position, bookmark-get-front-context-string)
12177         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12178         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12179         (bookmark-jump-other-window, bookmark-handle-bookmark)
12180         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12181         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12182         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12183         Improve doc strings to say whether bookmark can be a string or
12184         a record or both, and make other consistency and clarity fixes.
12185         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12186         (bookmark-default-annotation-text, bookmark-yank-word)
12187         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12188         (bookmark-import-new-list, bookmark-maybe-rename)
12189         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12190         (bookmark-bmenu-bookmark): Give these doc strings.
12191         (bookmark-bmenu-check-position): Give this a doc string, but also
12192         add a FIXME comment about how the function may be pointless.
12193         (bookmark-default-handler): Rework doc string and change a
12194         parameter name, to clarify that this takes a bookmark record
12195         not a bookmark name.
12196         (bookmark-set): Change a parameter name to indicate its meaning,
12197         and improve the doc string a bit.
12198         (Bug#4188)
12200 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12202         * bookmark.el (bookmark-alist): Document the new `handler' element
12203         in the param alist.
12204         (bookmark-make-record-function): Adjust documentation for above.
12205         (Bug#4193)
12207 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12209         * info.el (Info-bookmark-make-record): Document this function.
12210         (Info-bookmark-jump): Document with a doc string, not just a comment.
12211         (Bug#4203)
12213 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
12215         * files.el (copy-directory): New defun.
12217         * dired-aux.el (dired-copy-file-recursive): Use it.
12219 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
12221         * files-x.el (modify-dir-local-variable)
12222         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12223         docstrings.
12225         * recentf.el (recentf-unload-function): New function.
12227 2009-10-04  Glenn Morris  <rgm@gnu.org>
12229         * window.el (window-full-height-p): Add doc string.
12231 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
12233         * window.el (window-full-height-p): New function.  (Bug#4543)
12235 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
12237         * vc.el: Remove commented out code.
12238         (vc-derived-from-dir-mode): Remove, unused.
12239         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12241 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
12243         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12244         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
12245         there could be recursive loading when `default-directory' is a
12246         remote file name.  (Bug#4614)
12248 2009-10-03  Glenn Morris  <rgm@gnu.org>
12250         * calendar/calendar.el (calendar-basic-setup): Handle the case where
12251         the frame is wide.
12252         (calendar-generate-window): Test for shrinkability rather than width.
12254         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12255         reusing existing buffers, in case we happen to visit two files with the
12256         same basename.  (Bug#4593)
12258 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12260         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12261         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12262         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12263         subdirs of cedet as well.
12264         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12266 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12268         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12269         Obey advertised-signature-table.
12271         * help-fns.el (help-function-arglist): Don't check
12272         advertised-signature-table.
12273         (describe-function-1): Do it here instead so it also applies to subrs.
12275 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
12277         * simple.el (start-file-process): Say in the doc-string, that file
12278         handlers might not support pty association, if PROGRAM is nil.
12280         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12281         HOST and USER are strings.  They are nil, when there are
12282         incomplete entries in ~/.netrc, for example.
12283         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
12284         root directory ("device busy" error otherwise).
12286         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12287         Flush file properties of created directory.
12289 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12291         * makefile.w32-in (WINS_BASIC): Remove cedet.
12292         (WINS_CEDET): Add cedet.
12293         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12295 2009-10-02  Kevin Ryde  <user42@zip.com.au>
12297         * net/browse-url.el (browse-url): Pass any symbol in
12298         browse-url-browser-function to `apply', since if you've mistakenly put
12299         an unbound symbol then the error is clearer.  (Bug#4531)
12301 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12303         * allout.el (allout-init, allout-back-to-current-heading)
12304         (allout-beginning-of-current-entry, allout-ascend-to-depth)
12305         (allout-ascend, allout-up-current-level, allout-end-of-level)
12306         (allout-previous-visible-heading, allout-forward-current-level)
12307         (allout-backward-current-level, allout-show-children):
12308         * apropos.el (apropos-describe-plist):
12309         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12310         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12311         * completion.el (add-completion, add-permanent-completion):
12312         * descr-text.el (describe-text-category, describe-char):
12313         * desktop.el (desktop-lazy-abort):
12314         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12315         * dired.el (dired-build-subdir-alist):
12316         * ediff.el (ediff-version):
12317         * elide-head.el (elide-head, elide-head-show):
12318         * emerge.el (emerge-version):
12319         * env.el (getenv):
12320         * face-remap.el (variable-pitch-mode):
12321         * faces.el (describe-face):
12322         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12323         (dired-at-point):
12324         * files.el (find-file-existing, auto-save-mode):
12325         * font-lock.el (font-lock-fontify-buffer):
12326         * help-fns.el (describe-function, describe-variable)
12327         (describe-syntax, describe-categories):
12328         * help.el (view-lossage, describe-bindings, describe-key)
12329         (describe-mode):
12330         * hexl.el (hexl-current-address):
12331         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12332         * info.el (Info-goto-emacs-key-command-node):
12333         * log-edit.el (log-edit-insert-cvs-template)
12334         (log-edit-insert-cvs-rcstemplate):
12335         * menu-bar.el (menu-bar-mode):
12336         * mouse.el (mouse-appearance-menu):
12337         * newcomment.el (comment-indent-new-line):
12338         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12339         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12340         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12341         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12342         * recentf.el (recentf-mode):
12343         * savehist.el (savehist-mode, savehist-save):
12344         * shadowfile.el (shadow-copy-files):
12345         * simple.el (kill-ring-save, next-line, previous-line)
12346         (normal-erase-is-backspace-mode):
12347         * strokes.el (strokes-update-window-configuration)
12348         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12349         (strokes-xpm-for-stroke):
12350         * time.el (emacs-uptime, emacs-init-time):
12351         * tutorial.el (tutorial--describe-nonstandard-key)
12352         (tutorial--detailed-help):
12353         * type-break.el (type-break-mode)
12354         (type-break-mode-line-message-mode, type-break-query-mode)
12355         (type-break-guesstimate-keystroke-threshold):
12356         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12357         * version.el (emacs-version):
12358         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12359         * winner.el (winner-mode):
12360         * calendar/timeclock.el (timeclock-in, timeclock-out)
12361         (timeclock-status-string, timeclock-change)
12362         (timeclock-workday-remaining-string)
12363         (timeclock-workday-elapsed-string)
12364         (timeclock-when-to-leave-string):
12365         * calendar/todo-mode.el (todo-add-category):
12366         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12367         * emacs-lisp/autoload.el (update-file-autoloads):
12368         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12369         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12370         (checkdoc-message-text, checkdoc-defun):
12371         * emacs-lisp/debug.el (debugger-list-functions):
12372         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12373         * emacs-lisp/eieio-opt.el (eieio-describe-class)
12374         (eieio-describe-generic):
12375         * emacs-lisp/lisp-mnt.el (lm-synopsis):
12376         * emacs-lisp/shadow.el (list-load-path-shadows):
12377         * emulation/cua-base.el (cua-mode):
12378         * emulation/edt.el (edt-set-scroll-margins):
12379         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12380         (tpu-toggle-regexp, tpu-toggle-search-direction)
12381         (tpu-toggle-rectangle, tpu-toggle-control-keys):
12382         * emulation/tpu-extras.el (tpu-set-scroll-margins):
12383         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12384         (viper-set-parsing-style-toggling-macro)
12385         (viper-set-emacs-state-searchstyle-macros):
12386         * emulation/viper.el (viper-set-hooks):
12387         * eshell/esh-mode.el (eshell-truncate-buffer):
12388         * international/mule-cmds.el (prefer-coding-system)
12389         (describe-input-method, describe-language-environment):
12390         * international/mule-diag.el (list-character-sets)
12391         (describe-character-set, describe-coding-system)
12392         (describe-fontset, list-fontsets, list-input-methods):
12393         * mail/sendmail.el (mail-signature):
12394         * net/ange-ftp.el (ange-ftp-copy-file):
12395         * net/browse-url.el (browse-url):
12396         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12397         * net/quickurl.el (quickurl-add-url):
12398         * net/rcirc.el (names, topic):
12399         * net/xesam.el (xesam-mode):
12400         * play/5x5.el (5x5-new-game):
12401         * play/yow.el (apropos-zippy):
12402         * progmodes/ada-mode.el (ada-mode-version):
12403         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12404         (f90-end-of-block)
12405         (f90-beginning-of-block):
12406         * progmodes/fortran.el (fortran-end-of-block)
12407         (fortran-beginning-of-block):
12408         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12409         * progmodes/python.el (python-describe-symbol, python-shell):
12410         * term/ns-win.el (ns-print-buffer):
12411         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12412         * textmodes/flyspell.el (flyspell-mode-on):
12413         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12414         (pages-directory-for-addresses):
12415         * textmodes/table.el (table-recognize-cell)
12416         (table-query-dimension, table-generate-source)
12417         (table-insert-sequence, table--warn-incompatibility):
12418         * textmodes/tex-mode.el (tex-validate-buffer):
12419         * textmodes/texinfmt.el (texinfmt-version)
12420         (texinfo-format-buffer):
12421         Use `called-interactively-p' instead of `interactive-p'.
12423 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12425         * image-mode.el (image-toggle-display):
12426         * emacs-lisp/elp.el (elp-instrument-function):
12427         * emacs-lisp/advice.el (ad-make-advised-definition):
12428         * emacs-lisp/easy-mmode.el (define-minor-mode):
12429         * net/browse-url.el (browse-url-maybe-new-window):
12430         * progmodes/sh-script.el (sh-learn-buffer-indent):
12431         Pass new argument 'any to `called-interactively-p'.
12433 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
12435         * international/uni-bidi.el:
12436         * international/uni-category.el:
12437         * international/uni-combining.el:
12438         * international/uni-comment.el:
12439         * international/uni-decimal.el:
12440         * international/uni-decomposition.el:
12441         * international/uni-digit.el:
12442         * international/uni-lowercase.el:
12443         * international/uni-mirrored.el:
12444         * international/uni-name.el:
12445         * international/uni-numeric.el:
12446         * international/uni-old-name.el:
12447         * international/uni-titlecase.el:
12448         * international/uni-uppercase.el:
12449         Regenerate from Unicode 5.2.0 data.
12451 2009-10-01  Glenn Morris  <rgm@gnu.org>
12453         * Makefile.in (ELCFILES): Regenerate.
12455 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12457         * subr.el (interactive-p): Mark obsolete.
12458         (called-interactively-p): Make the optional-ness of `kind' obsolete.
12459         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12460         advertised-signature-table for subroutines as well.
12462         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12463         (set-advertised-calling-convention): New function.
12464         (make-obsolete, define-obsolete-function-alias)
12465         (make-obsolete-variable, define-obsolete-variable-alias):
12466         Make the optional-ness of `when' obsolete.
12467         (define-obsolete-face-alias): Make `when' non-optional.
12468         * help-fns.el (help-function-arglist):
12469         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12470         Use advertised-signature-table.
12472 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
12474         * files.el (delete-directory): New defun.  The original function
12475         in fileio.c has been renamed to `delete-directory-internal'.
12477         * dired.el (dired-delete-file): Call `delete-directory' with
12478         RECURSIVE parameter.
12480         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12481         parameter RECURSIVE.  Implementation is missing.
12483         * net/tramp.el (tramp-handle-make-directory): Flush upper
12484         directory's file properties.
12485         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12486         (tramp-handle-dired-recursive-delete-directory): Flush directory
12487         properties after the remove command only.
12489         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12490         Handle optional parameter RECURSIVE.
12492         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12493         Handle optional parameter RECURSIVE.
12495         * net/tramp-smb.el (tramp-smb-errors): Add error message for
12496         connection timeout.
12497         (tramp-smb-handle-delete-directory): Handle optional parameter
12498         RECURSIVE.
12500 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12502         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12503         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12504         (byte-compile-defmacro): Use backquotes.
12506         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12508         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12509         has no associated file.
12510         (vc-resynch-buffer): Use vc-dir-buffers.
12512 2009-10-01  Glenn Morris  <rgm@gnu.org>
12514         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12515         (chart-file-count):
12516         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12517         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12518         * emacs-lisp/eieio-opt.el (eieio-describe-class):
12519         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12520         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12521         (eieio-copy-parents-into-subclass, make-instance, class-children)
12522         (eieio-generic-form):
12524         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12525         match-data.  (Bug#4555).
12527         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12528         rather than parsing it as a regexp.  This relaxes the layout
12529         requirements and makes errors easier to detect.
12530         (check-declare-verify): Check file is regular.
12531         (check-declare-directory): Doc fix.
12532         * subr.el (declare-function): Doc fix.
12534         * ibuffer.el (ibuffer-format-qualifier):
12535         * isearch.el (hi-lock-regexp-okay):
12536         * calc/calc.el (math-zerop):
12537         * mail/uce.el (rmail-msgbeg, rmail-msgend):
12538         * term/w32-win.el (setup-default-fontset, set-fontset-font):
12539         Remove unused declarations.
12541 2009-09-30  Glenn Morris  <rgm@gnu.org>
12543         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12545         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12546         filename is not a string.
12548 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
12550         * files.el (safe-local-eval-forms): Fix typo.
12552 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12554         * vc-hooks.el (vc-dir-buffers): New var.
12555         (vc-state-refresh): New function.
12556         (vc-state): Use it.
12557         (vc-after-save): Always ask the backend to recompute the new state.
12558         Always call vc-dir if necessary, using vc-dir-buffers.
12559         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12560         Use vc-dir-buffers.
12561         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12562         (vc-dir-prepare-status-buffer, vc-dir-update)
12563         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12564         Don't call expand-file-name on default-directory.
12566 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12568         * speedbar.el (speedbar-item-delete):
12569         * calc/calc-prog.el (calc-kbd-if):
12570         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12572         * epa.el (epa-key-list-mode-map):
12573         * hi-lock.el (hi-lock-menu): Fix typos in menus.
12575         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12576         (hs-show-hook): Fix typo in docstring.
12578 2009-09-29  Glenn Morris  <rgm@gnu.org>
12580         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12581         file-name-nondirectory call preventing location of cedet files.
12582         (check-declare-verify): Use literal search rather than re-search.
12583         Add basic defmethod and defclass, and define-overloadable-function.
12585         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12586         Use tramp-compat-file-attributes rather than nonexistent
12587         tramp-compat-handle-file-attributes.
12589         * Makefile.in (lisptagsfiles4): New.
12590         (AUTOGENEL): Add cedet loaddefs files.
12591         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12592         (update-elclist, compile-always, backup-compiled-files)
12593         (bootstrap-clean): Add yet another directory level.
12594         (update-elclist): Use LC_COLLATE rather than COLLATE.
12595         (ELCFILES): Update, via `make update-elclist'.
12597 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12599         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12600         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12601         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12603 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12605         * Makefile.in (lisptagsfiles3): Define.
12606         (TAGS, TAGS-LISP): Use it.
12607         (update-elclist): Add third directory level to look for elc files.
12608         (compile-always): Likewise.
12609         (backup-compiled-files): Likewise.
12610         (bootstrap-clean): Likewise.
12611         (ELCFILES): Update.
12613 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
12615         * Makefile.in (ELCFILES): Add CEDET files.
12617 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
12619         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12621         * net/tramp.el (top): Require tramp-imap.
12623         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12624         Use `tramp-compat-handle-file-attributes'.
12626 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
12628         * net/tramp-imap.el: New package.
12630 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12632         * whitespace.el (whitespace-trailing-regexp)
12633         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12634         Fix doc string.
12636 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
12638         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12639         menu.
12641         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12642         menu-bar-ediff-menu.
12644         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12645         define-overloadable-function.
12647         * progmodes/autoconf.el: Provide autoconf as well, so that this
12648         file can be `require'd.
12650         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12652         * emacs-lisp/autoload.el (generated-autoload-feature)
12653         (generated-autoload-load-name): New vars.
12654         (autoload-rubric, autoload-generate-file-autoloads): Use them.
12655         (make-autoload): Recognize define-overloadable-function and
12656         defclass forms (for EIEIO).
12658         * Makefile.in (update-subdirs): Exclude cedet directory.
12660 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
12662         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
12664         * faces.el: Default light-background background for region face to
12665         ns_selection_color under NS.
12667 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
12669         * net/imap-hash.el: New library, see NEWS.
12671         * Makefile.in (ELCFILES): Add imap-hash.el.
12673 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12675         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12676         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12677         * help-macro.el (make-help-screen): Avoid using an ambiguous function
12678         definition where the docstring could be taken for the return value.
12680 2009-09-26  Glenn Morris  <rgm@gnu.org>
12682         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12683         Add option to only show images below a certain size.
12684         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12685         save-excursion calls.
12687 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
12689         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12690         subdirectories) and eieio.
12692 2009-09-26  Alan Mackenzie  <acm@muc.de>
12694         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12695         buggy bracketing.  (Bug#4289)
12697         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12698         character constants (as case labels).  (Bug#4289)
12700 2009-09-25  Juri Linkov  <juri@jurta.org>
12702         * files.el (safe-local-eval-forms): Allow time-stamp in
12703         before-save-hook (Bug#4554).
12705 2009-09-25  Drew Adams  <drew.adams@oracle.com>
12707         * menu-bar.el (list-buffers-directory): Doc fix.
12709 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12711         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12712         Try and avoid copying twice the same paragraph.
12713         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12714         Remove save-excursion.
12715         (log-edit-changelog-entry): Do it here instead.
12717 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
12719         * bs.el (bs--get-file-name): Use `list-buffers-directory'
12720         when available, instead of hardcoding mode names.  Doc fix.
12722         * menu-bar.el (list-buffers-directory): Add docstring.
12723         Make automatically buffer-local.
12725         * dired.el (dired-mode):
12726         * files.el (cd-absolute):
12727         * pcvs.el (cvs-temp-buffer):
12728         * pcvs-util.el (cvs-get-buffer-create):
12729         * shell.el (shell-mode):
12730         * vc-dir.el (vc-dir-mode):
12731         Don't make `list-buffers-directory' buffer local.
12733 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
12735         * comint.el (comint-exec, comint-run, make-comint):
12736         Doc fixes (Bug#4542).
12738 2009-09-25  Glenn Morris  <rgm@gnu.org>
12740         * mail/rmailmm.el (rmail-mime): New custom group.
12741         Move all defcustoms in this file into this group.
12742         (rmail-mime-media-type-handlers-alist): Revert previous change.
12743         (rmail-mime-show-images): New option.
12744         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12745         references to it, since it wasn't actually used for anything.
12746         (rmail-mime-insert-image): New function.
12747         (rmail-mime-image): Use rmail-mime-insert-image.
12748         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12749         obey the value of `rmail-mime-show-images' option.  Print the size of
12750         attachments.
12752 2009-09-25  David Engster  <deng@randomsample.de>
12754         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
12756 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12758         * whitespace.el: Does not highlight trailing spaces While point is
12759         at end of line.  Does not highligt spaces at beginning of buffer
12760         while point is at beginning of buffer.  Does not highlight spaces
12761         at end of buffer while point is at end of buffer.  (Bug#4177)
12762         New version 12.0.
12763         (whitespace-display-mappings): Adjust initialization.
12764         (whitespace-point, whitespace-font-lock-refontify): New vars.
12765         (whitespace-color-on, whitespace-color-off): Adjust code.
12766         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12767         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12768         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12770 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
12772         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12774         * textmodes/sgml-mode.el: Remove xml-mode alias.
12776         * files.el (auto-mode-alist, conf-mode-maybe)
12777         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12779 2009-09-24  Alan Mackenzie  <acm@muc.de>
12781         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12782         c-forward-conditionals, but it doesn't move point and doesn't set
12783         the mark.
12784         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12785         (c-down-conditional-with-else, c-backward-conditional)
12786         (c-forward-conditional): Refactor to use c-scan-conditionals.
12788 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12790         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12791         (help-default-arg-highlight): Remove.
12792         (help-highlight-arg): New function.
12793         (help-do-arg-highlight): Use it.
12794         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
12796 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12798         * term.el (term-set-scroll-region, term-handle-ansi-escape):
12799         Undo last change, which didn't fix the problem and introduced others.
12801 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
12803         * progmodes/gdb-mi.el: Don't require speedbar.
12804         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12806 2009-09-24  Glenn Morris  <rgm@gnu.org>
12808         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12810         * term/ns-win.el (ns-reg-to-script): Define for compiler.
12812         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12813         there is no newline after the final mime boundary.  (Bug#4539)
12814         Move markers on insertion so that any buttons inserted don't end up in
12815         the next part of a multipart message.
12816         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
12817         (rmail-mime-bulk-handler): Optionally handle images.
12818         (rmail-mime-image): New button action.
12819         (rmail-mime-image-handler): New function.
12820         (rmail-mime-mode): New mode.
12821         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
12823 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12825         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12826         than just dropping elements from it (bug#4504).
12828         * term.el (term-set-scroll-region): Don't move cursor any more.
12829         (term-handle-ansi-escape): Call term-goto here instead.
12830         Suggested by Ivan Kanis <apple@kanis.eu>.
12832         * term.el: Require CL.
12833         (term-ansi-reset): New function.
12834         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12835         (term-handle-colors-array): Simplify.
12837 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12839         * allout.el (allout-overlay-interior-modification-handler)
12840         (allout-obtain-passphrase):
12841         * epa-file.el (epa-file-write-region):
12842         * ps-print.el (ps-begin-job):
12843         * vc-hooks.el (vc-toggle-read-only):
12844         * vc-rcs.el (vc-rcs-rollback):
12845         * vc-sccs.el (vc-sccs-rollback):
12846         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12847         (vc-version-diff, vc-revert, vc-rollback):
12848         * wdired.el (wdired-check-kill-buffer):
12849         * emacs-lisp/authors.el (authors):
12850         * net/socks.el (socks-open-connection):
12851         * net/zeroconf.el (zeroconf-service-add-hook):
12852         * obsolete/vc-mcvs.el (vc-mcvs-register):
12853         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12854         (gdb-select-frame):
12855         * progmodes/grep.el (lgrep, rgrep):
12856         * progmodes/idlw-help.el (idlwave-help-check-locations)
12857         (idlwave-help-html-link, idlwave-help-assistant-open-link):
12858         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12859         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12860         (reftex-toc-rename-label): Fix typos in error messages.
12862         * dired-aux.el (dired-do-shell-command): Reflow docstring.
12863         (dired-copy-how-to-fn): Doc fix.
12864         (dired-files-attributes, dired-read-shell-command):
12865         Fix typos in docstrings.
12867         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12868         (dired-x-find-file-other-window): Reflow docstrings.
12869         (dired-omit-marker-char, dired-read-shell-command)
12870         (dired-x-submit-report): Fix typos in docstrings.
12872         * shell.el (shell-mode-hook):
12873         * view.el (View-scroll-line-forward):
12874         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12875         Fix typos in docstrings.
12877         * net/dig.el (dig-invoke): Fix typo in docstring.
12878         (query-dig): Reflow docstring.
12880         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12881         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12882         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12883         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12884         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12885         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12886         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12887         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12888         (idlwave-completion-map, idlwave-current-indent)
12889         (idlwave-custom-ampersand-surround, idlwave-customize)
12890         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12891         (idlwave-define-abbrev, idlwave-determine-class-special)
12892         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12893         (idlwave-end-block-reg, idlwave-end-of-statement)
12894         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12895         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12896         (idlwave-explicit-class-listed, idlwave-file-header)
12897         (idlwave-fill-paragraph, idlwave-find-class-definition)
12898         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12899         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12900         (idlwave-in-quote, idlwave-indent-action-table)
12901         (idlwave-indent-expand-table, idlwave-indent-line)
12902         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12903         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12904         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12905         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12906         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12907         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12908         (idlwave-outlawed-buffers, idlwave-popup-select)
12909         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12910         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12911         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12912         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12913         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12914         (idlwave-statement-type, idlwave-struct-skip)
12915         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12916         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12917         (idlwave-what-module-find-class): Fix typos in docstrings.
12918         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12919         (idlwave-calculate-cont-indent, idlwave-expand-equal)
12920         (idlwave-find-module, idlwave-find-structure-definition)
12921         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12922         (idlwave-list-load-path-shadows, idlwave-next-statement)
12923         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12924         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12925         (idlwave-template): Reflow docstrings.
12927         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12928         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12929         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12930         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12931         (idlwave-shell-display-line, idlwave-shell-display-wframe)
12932         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12933         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12934         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12935         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12936         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12937         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12938         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12939         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12940         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12941         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12942         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12943         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12944         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12945         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12946         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12947         Fix typos in docstrings.
12948         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12949         (idlwave-shell-hide-output, idlwave-shell-mode)
12950         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12951         Reflow docstrings.
12953         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12955 2009-09-24  Ivan Kanis  <apple@kanis.eu>
12957         * term.el (term-bold-attribute): New var.
12958         (term-handle-colors-array): Use it.
12960 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
12962         * progmodes/gdb-mi.el (gdb-version): New variable.
12963         (gdb-non-stop-handler): Set gdb-version.
12964         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12965         Condition "--thread" option on gdb-version.
12966         (gdb-invalidate-threads): Remove unused argument.
12968 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12970         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12971         to looking-back to avoid ridiculous slow down in large files (bug#4511).
12973 2009-09-23  Glenn Morris  <rgm@gnu.org>
12975         * mail/rmail.el (rmail-reply): Don't try to add a References header when
12976         replying to mail without References or Message-Id.  (Bug#4525)
12978 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
12980         * term/ns-win.el (ns-reg-to-script): New variable.
12982 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
12984         * epg.el (epg-wait-for-status): Preserve existing 'error results.
12986 2009-09-22  Sam Steingold  <sds@gnu.org>
12988         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12989         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12990         to 1 because hg returns status 1 when nothing is found.
12991         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12993 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12995         * textmodes/fill.el: Convert to utf-8 encoding.
12996         (fill-french-nobreak-p): Remove redundant » and « inherited from our
12997         pre-Unicode days.
12999         * add-log.el (change-log-fill-forward-paragraph): New function.
13000         (change-log-mode): Use it so fill-region DTRT.
13001         Set fill-indent-according-to-mode here rather than in
13002         change-log-fill-paragraph.
13003         (change-log-fill-paragraph): Remove.
13005 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
13007         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13008         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
13010 2009-09-22  Glenn Morris  <rgm@gnu.org>
13012         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13013         the scroll-bar scroll the calendar window rather than the buffer.
13015         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13016         commands that move point (as opposed to scrolling).
13018         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13020         * emacs-lisp/elint.el (elint): New custom group.
13021         (elint-log-buffer): Make it a defcustom.
13022         (elint-scan-preloaded, elint-ignored-warnings)
13023         (elint-directory-skip-re): New options.
13024         (elint-builtin-variables): Doc fix.
13025         (elint-preloaded-env): New variable.
13026         (elint-unknown-builtin-args): Add an entry for encode-time.
13027         (elint-extra-errors): Make it a variable rather than a constant.
13028         (elint-preloaded-skip-re): New constant.
13029         (elint-directory): Skip files matching elint-directory-skip-re.
13030         (elint-features): New variable, local to linted buffers.
13031         (elint-update-env): Initialize elint-features.  Possibly add
13032         elint-preloaded-env to the buffer's environment.
13033         (elint-get-top-forms): Bind elint-current-pos, for log messages.
13034         Skip quoted forms.
13035         (elint-init-form): New function, extracted from elint-init-env.
13036         Make non-list forms a warning rather than an error.
13037         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
13038         easy-menu-define, put that adds an error-condition, and provide.
13039         When requiring cl, also require cl-macs.  Really require cl, to handle
13040         some cl macros.  Store required libraries in the list elint-features,
13041         so as not to re-load them.  Treat cc-require like require.
13042         (elint-init-env): Call elint-init-form to do the work.
13043         Handle eval-and-compile and such like.
13044         (elint-add-required-env): Do not clear messages.
13045         (elint-special-forms): Add handlers for function, defalias, if, when,
13046         unless, and, or.
13047         (elint-form): Add optional argument to ignore elint-special-forms,
13048         useful to prevent recursive calls from handlers.  Doc fix.
13049         Respect elint-ignored-warnings.
13050         (elint-form): Respect elint-ignored-warnings.
13051         (elint-bound-variable, elint-bound-function): New variables.
13052         (elint-unbound-variable): Respect elint-bound-variable.
13053         (elint-get-args): Respect elint-bound-function.
13054         (elint-check-cond-form): Add some simple handling for (f)boundp and
13055         featurep tests.
13056         (elint-check-defalias-form): New handler.
13057         (elint-check-let-form): Make an empty let a warning rather than an
13058         error.
13059         (elint-check-setq-form): Make an empty setq a warning rather than an
13060         error.  Respect elint-ignored-warnings.
13061         (elint-check-defvar-form): Accept null doc-strings.
13062         (elint-check-conditional-form): New handler.  Does some simple-minded
13063         checking of featurep and (f)boundp tests.
13064         (elint-put-function-args): New function.
13065         (elint-initialize): Use elint-scan-doc-file rather than
13066         elint-find-builtin-variables.  Use elint-put-function-args.
13067         Possibly scan preloaded-file-list.
13068         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13069         extend to handle functions as well.
13071 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
13073         * linum.el (linum-delete-overlays, linum-update-window):
13074         Do not modify the right margin.  (Bug#3971)
13076 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
13078         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13079         nxml-mode instead of xml-mode.
13081 2009-09-21  Kevin Ryde  <user42@zip.com.au>
13083         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
13085 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13087         * net/dig.el (dig-mode): Use define-derived-mode.
13089 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
13091         * vc-dispatcher.el (vc-do-command): Return the process object in
13092         the asynchronous case.  Use when instead of if.  Do not run
13093         vc-exec-after to display a message if not enabled.  (Bug#4463)
13095         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13096         properties to the stash strings.
13097         (vc-git-stash-list): Return a list of strings.
13098         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13099         (vc-git-stash-show-at-point): New functions.
13100         (vc-git-stash-map): New keymap.
13102         * register.el (ctl-x-r-map): Define the keys here instead of
13103         using autoload.
13105 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
13107         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13108         list, to workaround performance problem (bug#4485).
13110 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
13112         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13114 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
13116         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13117         Document that this option is not recommended to use.
13119 2009-09-19  Glenn Morris  <rgm@gnu.org>
13121         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13122         variable `var'.
13124         * calc/calc-alg.el (var):
13125         * calc/calcalg2.el (var): Define for compiler.
13127 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
13129         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13130         Doc fix (Bug#3932).
13132         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13134         * time-stamp.el (time-stamp-month-dd-yyyy)
13135         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13136         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13137         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13138         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13139         Remove functions that have been obsolete since 1995 (Bug#4436).
13141         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13142         indent buffer only if called interactively (Bug#4452).
13144 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
13145             Eli Zaretskii  <eliz@gnu.org>
13147         This fixes bug#4197 (merged to bug#865, though not identical).
13148         * server.el (server-auth-dir): Add docstring note about FAT32.
13149         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13150         but warn against using them.
13152 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
13154         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13155         older GDB where there is no has_more field.
13157 2009-09-19  Glenn Morris  <rgm@gnu.org>
13159         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13161 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
13163         * files.el (auto-mode-alist): Change default for XML files to nXML
13164         mode (Bug#4169).
13166 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
13168         * server.el (server-ensure-safe-dir): Pass 'integer
13169         to `file-attributes', as suggested.
13171 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13173         * dired-aux.el (dired-query-alist): Remove spurious backslash.
13174         (dired-query): Use read-key.
13176 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
13178         * cus-start.el (ns-use-qd-smoothing): Remove.
13180 2009-09-18  Glenn Morris  <rgm@gnu.org>
13182         * allout.el (top-level): Remove unnecessary progn.
13184         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13186         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13187         definition of abbrev table.
13189         * speedbar.el (speedbar-track-mouse):
13190         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13191         * net/eudc.el (eudc-expand-inline):
13192         * net/newst-backend.el (newsticker--cache-read-feed):
13193         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13194         condition-case handlers.
13196 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
13198         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13199         (gdb-var-list): Add an element for has_more field.
13200         (gdb-non-stop-handler): Enable pretty printing for STL containers.
13201         (gdb-var-create-handler, gdb-var-list-children-handler-1)
13202         (gdb-var-update-handler-1): Parse output of dynamic variable
13203         objects (STL containers).
13204         (gdb-var-delete-1): Pass var1 as an explicit second argument.
13205         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
13207         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13208         gdb-var-list.
13209         (gud-speedbar-buttons): Make node expandable if expression "has more"
13210         children.
13212 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
13214         * startup.el (emacs-quick-startup): Remove variable and all uses.
13215         (command-line): Set `inhibit-x-resources' instead.
13216         (command-line-1): Use `inhibit-x-resources' instead.
13218 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
13220         * subr.el: Fix last change to avoid using the `unless' macro,
13221         which breaks bootstrapping.
13223 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13225         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13226         extended definitions, in case we reload subr.el after having
13227         loaded CL.
13228         (eval-next-after-load): Mark as obsolete.
13230 2009-09-17  Juri Linkov  <juri@jurta.org>
13232         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13233         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13234         (menu-bar-showhide-menu, menu-bar-tools-menu)
13235         (menu-bar-describe-menu, menu-bar-help-menu)
13236         (minibuffer-local-completion-map, minibuffer-local-map):
13237         Fix list quoting.
13239 2009-09-17  Glenn Morris  <rgm@gnu.org>
13241         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13242         arguments, whether or not it has a handler.
13244         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13246         * simple.el (hard-newline): Give it a doc-string.
13248         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13249         (lisp-mode-syntax-table): Give them doc-strings.
13251 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
13253         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13254         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13255         (menu-bar-options-menu, menu-bar-showhide-menu)
13256         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13257         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13258         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13259         (menu-bar-options-menu, menu-bar-tools-menu)
13260         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13261         (menu-bar-help-menu):
13262         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13263         string arguments.
13265         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13266         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13267         calls for the menu names and :help.
13269 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13271         * mouse.el (minor-mode-menu-from-indicator): Pay attention
13272         to :minor-mode-function (bug#4455).
13274 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13276         * startup.el (command-line): Initialize the window-system after
13277         processing the command-line.
13279         * textmodes/page.el (what-page): Make sure we don't inf-loop if
13280         page-delimiter matches the empty string.
13282 2009-09-16  Glenn Morris  <rgm@gnu.org>
13284         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13285         byte-compile-not-obsolete-var.  It's a list now.
13286         (byte-compile-not-obsolete-funcs): New variable.
13287         (byte-compile-warn-obsolete): Don't warn about functions if they are in
13288         byte-compile-not-obsolete-funcs.
13289         (byte-compile-variable-ref, byte-compile-defvar): Update for
13290         byte-compile-not-obsolete-vars name-change and list nature.
13291         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13292         and variables behind (f)boundp tests.
13293         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13295 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13297         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13299 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13301         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13302         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13303         Don't autoload.
13305 2009-09-15  Stephen Eglen  <stephen@gnu.org>
13307         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13308         the virtual-buffers, use the name of the buffer specified by
13309         find-file-noselect, as the match may be a symlink.  (This was a
13310         problem if the target and the symlink had different names.)
13312 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13314         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13316         * desktop.el (desktop-path): Check user-emacs-directory.
13318         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13320         * loadup.el: Use after-load-functions to GC after loading each file.
13321         Remove the explicit GC calls that used to be sprinkled around.
13323         * subr.el (after-load-functions): New hook.
13324         (do-after-load-evaluation): Run it.  Use string-match-p to detect
13325         `obsolete' packages, rather than painfully extracting the relevant
13326         directory name.
13328 2009-09-15  Glenn Morris  <rgm@gnu.org>
13330         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13331         free variable `doc'.
13333         * dired.el (dired-mode-map): Add menu entry for async shell command.
13335         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13336         variables, also consider the .elc files, since the .el files are
13337         normally gzipped (subsequent code locates the .el.gz from the .elc).
13339         * calc/calc-prog.el (arglist): Define for compiler.
13341         * calendar/diary-lib.el (diary-display-function): Change the default to
13342         fancy display.
13343         (body): Define for compiler.
13345         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13346         (byte-compile-file-form, byte-compile-lambda)
13347         (byte-compile-top-level-body, byte-compile-form)
13348         (byte-compile-variable-ref, byte-compile-setq)
13349         (byte-compile-setq-default, byte-compile-body)
13350         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13351         (batch-byte-compile): Give some more local variables with common names
13352         a "bytecomp-" prefix to avoid masking warnings about free variables.
13354         * startup.el (command-line-1): Give local variables with common names a
13355         distinguishing prefix, so as not to hide free variable warnings during
13356         bootstrap.
13358         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13359         clever and add a suffix to make a unique name, just let the user decide
13360         whether or not to overwrite it.  If the input is a directory, write the
13361         default filename to that directory.  (Bug#4388)
13362         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13363         is a filename-as-a-directory.
13365 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13367         * textmodes/page.el (what-page): Don't move to beginning of line.
13368         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13370 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13372         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13374 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
13376         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13377         * help.el (help-for-help-internal): Add purecopy calls for text.
13379         * vc.el (top): print-log method now takes an optional SHORTLOG
13380         argument.  Add a new method: root.
13381         (vc-root-diff, vc-print-root-log): New functions.
13382         (vc-log-short-style): New variable.
13383         (vc-print-log-internal): Add support for showing short logs.
13385         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13386         vc-print-root-log and vc-print-root-diff.
13388         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13389         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13390         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13391         short logs.
13393         * vc-cvs.el (vc-cvs-print-log):
13394         * vc-mtn.el (vc-mtn-print-log):
13395         * vc-rcs.el (vc-rcs-print-log):
13396         * vc-sccs.el (vc-sccs-print-log):
13397         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13398         that is ignored for now.
13400         * vc-mtn.el (vc-mtn-annotate-command):
13401         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13403 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13405         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13406         to function-key-map, and give them ascii-character property.
13407         * term/x-win.el (x-alternatives-map):
13408         * term/ns-win.el (ns-alternatives-map):
13409         * term/internal.el (msdos-key-remapping-map):
13410         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13412 2009-09-14  Glenn Morris  <rgm@gnu.org>
13414         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13415         temp-buffers (2009-09-12).
13417 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13419         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13420         the new read-key function.
13422 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13424         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13425         is defined (Bug#4405).
13427 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
13429         * recentf.el (recentf-cleanup): Use a hash table to find
13430         duplicates (Bug#4407).
13432 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
13434         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13435         kp-0 to ascii equivalents (Bug#4325).
13437 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13439         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13441         * eshell/em-hist.el:
13442         * eshell/em-dirs.el (eshell-complete-user-reference):
13443         Declare pcomplete functions and variables to avoid compiler warnings.
13445 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
13447         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13448         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13449         * eshell/em-alias.el (eshell-aliases-file):
13450         * eshell/em-hist.el (eshell-history-file-name):
13451         Use expand-file-name instead of concat to make file names (Bug#4308).
13453 2009-09-13  Glenn Morris  <rgm@gnu.org>
13455         * ediff-merg.el (ediff-do-merge):
13456         * filesets.el (filesets-run-cmd):
13457         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13458         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13459         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13460         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13461         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13462         Replace empty `let's with `progn'.
13464 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13466         * mail/sendmail.el (send-mail-function):
13467         * tooltip.el (tooltip-mode):
13468         * simple.el (transient-mark-mode):
13469         * rfn-eshadow.el (file-name-shadow-mode):
13470         * frame.el (blink-cursor-mode):
13471         * font-core.el (global-font-lock-mode):
13472         * files.el (temporary-file-directory)
13473         (small-temporary-file-directory, auto-save-file-name-transforms):
13474         * epa-hook.el (auto-encryption-mode):
13475         * composite.el (global-auto-composition-mode):
13476         Use custom-initialize-delay.
13477         * startup.el (command-line): Don't explicitly call
13478         custom-reevaluate-setting for all the above vars.
13479         * custom.el (custom-initialize-safe-set)
13480         (custom-initialize-safe-default): Delete.
13482 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13484         * term/x-win.el (x-initialize-window-system):
13485         * term/w32-win.el (w32-initialize-window-system):
13486         * term/ns-win.el (ns-initialize-window-system): Don't call
13487         mouse-wheel-mode since it's enabled globally by default already.
13489         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13490         actually define the variable, but only silences the byte-compiler.
13491         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13492         before looking it up.
13493         (mouse-wheel-scroll-amount): Also reset the bindings if this value
13494         is changed.
13496 2009-09-12  Glenn Morris  <rgm@gnu.org>
13498         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13499         1000.
13500         (elint-add-required-env): Don't beep on error.
13501         (elint-forms): In case of error, return ENV unchanged.
13502         (elint-init-env): Skip non-list forms.
13503         (elint-log): Handle unknown file positions.
13505 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
13507         * epg.el (epg-make-context): Add autoload cookie.
13508         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13509         (epg-decrypt-string, epg-start-verify, epg-verify-file)
13510         (epg-verify-string, epg-start-sign, epg-sign-file)
13511         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13512         (epg-encrypt-string, epg-start-export-keys)
13513         (epg-export-keys-to-file, epg-export-keys-to-string)
13514         (epg-start-import-keys, epg-import-keys-from-file)
13515         (epg-import-keys-from-string, epg-start-receive-keys)
13516         (epg-receive-keys, epg-import-keys-from-server)
13517         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13518         (epg-sign-keys, epg-start-generate-key)
13519         (epg-generate-key-from-file, epg-generate-key-from-string):
13520         Remove autoload cookie.
13522 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
13524         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13525         reevaluation of trash-directory.
13527         * mwheel.el: Fix last change.
13528         (mouse-wheel-mode): New defvar.
13529         (mouse-wheel-mode): Remove autoload cookie.
13531 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13533         * mwheel.el (mwheel-installed-bindings): New var.
13534         (mouse-wheel-mode): Use it, so as to make sure we really remove all
13535         the bindings we set last time.  Use custom-initialize-delay.
13536         * loadup.el: Load mwheel after term/*-win.el.
13537         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13538         and mouse-wheel-up-event now that their first evaluation is done
13539         sufficiently late to be correct.
13541         * startup.el (tutorial-directory): Make it a defcustom.
13542         Use custom-initialize-delay rather than eval-at-startup to set it.
13543         * image.el (image-load-path): Make it a defcustom.
13544         Use custom-initialize-delay rather than eval-at-startup to set it.
13545         * subr.el (eval-at-startup): Remove.
13546         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13548         * subr.el (do-after-load-evaluation): Warn the user after loading an
13549         obsolete package.
13551 2009-09-12  Glenn Morris  <rgm@gnu.org>
13553         * proced.el (proced-mark-alt): Remove alias.
13554         (proced-mode-map): Remove proced-mark-alt.
13556         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13557         Elint file and directory.  Remove initialization entry.
13559         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13560         commands.
13561         (elint-current-buffer): Set mode-line-process.
13562         (elint-init-env): Handle define-derived-mode.
13563         Fix declare-function with unspecified arglist.  Guard against odd
13564         defalias statements (eg iso-insert's 8859-1-map).
13565         (elint-add-required-env): Use a temp buffer.
13566         (elint-form): Just print the function/macro name, not the whole form.
13567         Return env unchanged if we fail to parse a macro.
13568         (elint-forms): Guard against parse errors.
13569         (elint-output): New function, to handle batch mode.
13570         (elint-log-message): Add optional argument.  Use elint-output.
13571         (elint-set-mode-line): New function.
13573 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13575         * emacs-lisp/elp.el (elp-not-profilable): Add more
13576         functions (Bug#4233).
13578 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
13580         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13581         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13583 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13585         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13586         (gdb-var-list-children): Use json parsing.
13588 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
13590         * progmodes/js.el (js--proper-indentation): Handle the case where
13591         char-before is null.  Reported by Deniz Dogan.
13593 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13595         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13597 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
13599         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13600         (epg-digest-algorithm-alist): Add SHA224.
13601         (epg-context-set-passphrase-callback)
13602         (epg-context-set-progress-callback): Add description about
13603         callback function.
13605 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13607         * custom.el (custom-delayed-init-variables): New var.
13608         (custom-initialize-delay): New function.
13609         * startup.el (command-line): "Re"evaluate all vars in
13610         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
13611         explicitly any more.
13612         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13613         to avoid creating a ~/.emacs.d at build-time (bug#4347).
13615         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13617 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13619         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13620         (gdb-var-update-handler): Use json parsing.
13622 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13624         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13625         decode annotated text, regardless of language environment.  (Bug#2741)
13627 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13629         * Makefile.in (autoloads): Make rmail.el writable as well.
13631 2009-09-11  Glenn Morris  <rgm@gnu.org>
13633         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13634         loaddefs.el.
13635         * dired.el: Regenerate with extracted autoloads.
13636         * Makefile.in (autoloads): Make dired.el writable.
13638         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13639         * ibuffer.el: Regenerate with extracted autoloads.
13640         * Makefile.in (autoloads): Make ibuffer.el writable.
13642         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13643         * version.el (emacs-copyright, emacs-major-version)
13644         (emacs-minor-version): Reformat doc-strings for make-docfile.
13646         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13647         functions and variables, since they must be stuff specific to some other
13648         platform.
13649         (apropos-print): Make mouse-click message less specific about button.
13651         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13652         that records where a macro was defined.
13653         * help-fns.el (describe-function-1): Mention if a function has a
13654         compiler-macro.
13655         * help-mode.el (help-function-cmacro): New button.
13657         * locate.el (top-level): Always require dired.
13658         (locate-mode-map): Initialize inside the defvar.
13660         * net/ange-ftp.el (dired-compress-file): Declare.
13661         (ange-ftp-dired-compress-file): Add doc string.
13663         * term/ns-win.el (x-display-name, x-setup-function-keys):
13664         Unify doc-strings with X versions.
13666 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13668         * emulation/crisp.el (crisp-mode-map): Move initialization
13669         into declaration.
13670         (crisp-mode): Use define-minor-mode.
13672         * progmodes/xscheme.el (xscheme-evaluation-commands):
13673         Put a :advertised-binding property rather than using
13674         advertised-xscheme-send-previous-expression.
13675         (advertised-xscheme-send-previous-expression): Declare obsolete.
13676         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13677         `advertised-undo'.
13678         (crisp-mode): Add corresponding bindings to
13679         undo's :advertised-binding instead.
13680         * dired.el (dired-mode-map): Put a :advertised-binding property rather
13681         than using dired-advertised-find-file.
13682         (dired-advertised-find-file):
13683         * simple.el (advertised-undo):
13684         * wid-edit.el (advertised-widget-backward): Declare obsolete.
13685         (widget-keymap): Put a :advertised-binding property rather
13686         than using advertised-widget-backward.
13687         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13688         than using advertised-undo.
13689         * tutorial.el (tutorial--default-keys): Adjust accordingly.
13691 2009-09-10  Simon South  <ssouth@slowcomputing.org>
13693         * progmodes/delphi.el (delphi-tab): Indent region when Transient
13694         Mark mode is enabled and region is active; otherwise indent or
13695         insert TAB as usual.
13696         (delphi-mode): Update description of TAB-key binding.
13698 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13700         * subr.el (define-key-rebound-commands): Mark obsolete.
13701         * startup.el (precompute-menubar-bindings): Remove.
13702         (normal-top-level): Remove obsolete code that tried to precompute
13703         menubar bindings.
13704         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13705         define-key-rebound-commands and precompute-menubar-bindings.
13707 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
13709         * net/imap.el (imap-interactive-login): Better messages.
13710         (imap-open): Fix bug with renamed buffer on reconnect.
13711         (imap-authenticate): Add buffer-local imap-last-authenticator variable
13712         for easier debugging and cleaner code.  On successful (guessed based on
13713         server capabilities) secondary authentication, set imap-state
13714         correctly.
13715         (imap-last-authenticator): Define imap-last-authenticator as a variable
13716         to avoid warnings.
13718 2009-09-10  Glenn Morris  <rgm@gnu.org>
13720         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13722         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13723         (byte-compile-file-form-autoload): Don't warn about unknown functions
13724         where the autoload statement comes after the use.
13725         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13726         that any handlers inside the body (eg require) are in turn respected.
13728         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13729         effects.
13731         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13732         and syntax and abbrev tables basic docs, if they don't have any.
13734         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13736         * international/mule-cmds.el (top-level): Require cl when compiling.
13737         (view-hello-file): Use default-value rather than
13738         default-enable-multibyte-characters.
13740         * progmodes/fortran.el: Move all safe and risky properties into the
13741         defcustoms.
13743         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13744         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13745         * mail/undigest.el:
13746         Put autoloads in rmail.el rather than loaddefs.el.
13747         * mail/rmail.el: Regenerate with extracted autoloads.
13749         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13750         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13752 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
13754         Reported in thread for Bug#4375.
13755         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13756         "-data-evaluate-expression" instead of print.
13757         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13758         (gdb-tooltip-print): Parse output from above MI command.
13759         (gdb): Revert 2009-08-11 change.  User should detach inferior
13760         manually.
13762         Remove the word "separate" from IO functions as inferior
13763         output is now never displayed in the GUD buffer.
13765 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
13767         * startup.el (command-line-normalize-file-name): On Windows and
13768         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13770 2009-09-10  Juri Linkov  <juri@jurta.org>
13772         * isearch.el (isearch-text-char-description): Propertize escape
13773         character sequences with the `escape-glyph' face.  (Bug#4344)
13775         * simple.el (shell-command): Set asynchronous process filter to
13776         `comint-output-filter'.  (Bug#4343)
13778         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13779         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
13780         the list.  Move "asm" to the bottom.
13781         (grep-find-ignored-directories): Add `choice' with nil value
13782         to empty the list easily.
13783         (grep-find-ignored-files): New option.
13784         (grep-files-history): Set to nil by default instead of '("ch" "el").
13785         (grep-compute-defaults): Add "<X>" to `grep-template'.
13786         (grep-read-files): Bind new local variables `default-alias' and
13787         `default-extension'.  Use a list of default values for the file prompt.
13788         (lgrep): Add `--exclude=' command line options composed from
13789         `grep-find-ignored-files'.
13790         (rgrep): Add `-name' command line options composed from
13791         `grep-find-ignored-files'.  (Bug#4301)
13793 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13795         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13796         (bug#4368).
13798 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
13800         * calendar/time-date.el (autoload):
13801         Expand define-obsolete-function-alias into defalias and make-obsolete
13802         for old Emacsen that Gnus supports.
13803         (with-no-warnings): Define it for old Emacsen.
13804         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13805         is available.
13806         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13807         float-time is available; suppress compile warning for time-to-seconds.
13809 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
13811         * net/imap.el (imap-message-map): Docstring fix.
13813 2009-09-09  Glenn Morris  <rgm@gnu.org>
13815         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13816         line numbers too.  (Bug#4374)
13818 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13820         * smerge-mode.el (smerge-remove-props, smerge-refine):
13821         Use with-silent-modifications (bug#4342).
13823         * subr.el (with-silent-modifications): New macro.
13825 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
13827         * files.el (top-level): Require `cl' when compiling.
13829 2009-09-07  Glenn Morris  <rgm@gnu.org>
13831         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13833         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13834         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
13836 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
13838         * vc-git.el (vc-git-annotate-command): Use separator to parse
13839         arguments correctly.
13841 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
13843         * proced.el (proced-mode): Doc fix.
13845 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
13847         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13848         lstat fails.
13849         (tramp-do-file-attributes-with-ls): Check for file existence at
13850         remote end.
13851         (tramp-do-file-attributes-with-stat): Likewise.
13852         (tramp-convert-file-attributes): Return nil when attr is nil.
13854 2009-09-05  Glenn Morris  <rgm@gnu.org>
13856         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13857         properties to this button.
13858         (diary-fancy-display): Don't extend the button to the final newline.
13859         (diary-fancy-display-mode): Continue to define "q" as a local key.
13861         * calendar/cal-china.el (holiday-chinese): Make it slightly more
13862         efficient.
13864         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13866         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13867         (byte-compile-dest-file-function): New option.
13868         (byte-compile-dest-file): Doc fix.
13869         Obey byte-compile-dest-file-function.
13870         (byte-compile-cl-file-p): New function.
13871         (byte-compile-eval): Only suppress noruntime warnings about cl functions
13872         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
13873         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13874         than for file being previously loaded.
13875         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13876         (byte-compile-file-form-require): Handle the case where requiring a file
13877         indirectly causes CL to be loaded.
13879 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13881         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13882         before killing the old buffer, since by the time `kill-buffer' is
13883         run so many buffer variables have been set to nil that it may not
13884         behave as expected.  (Bug#4061)
13886 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13888         * files.el (find-alternate-file): If the old buffer is modified
13889         and visiting a file, behave similarly to `kill-buffer' when
13890         killing it, thus reverting to the pre-1.878 behavior; see
13891         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13892         for discussion.  Also, consult `buffer-file-name' as a variable
13893         not as a function, for consistency with the rest of the code.
13895 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
13897         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13898         also when adding a new directory.
13900         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13901         defun.
13903 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13905         * files.el (locate-file-completion-table): Make it provide boundary
13906         information, so partial-completion works better.
13908 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
13910         * mail/footnote.el (Footnote-text-under-cursor):
13911         Check footnote-text-marker-alist before using it (bug#4324).
13913 2009-09-04  Glenn Morris  <rgm@gnu.org>
13915         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13916         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13917         * play/solitaire.el, play/tetris.el:
13918         Remove leading * from defcustom and defface docs.
13920         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13921         necessary.
13922         (diary-fancy-overriding-map): New variable.
13923         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13924         Use view-mode.
13926         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13927         goto-line.
13929 2009-09-03  Glenn Morris  <rgm@gnu.org>
13931         * arc-mode.el (archive-mode):
13932         * dos-fns.el (set-default-process-coding-system):
13933         * man.el (Man-getpage-in-background):
13934         * menu-bar.el (menu-bar-describe-menu):
13935         * server.el (server-process-filter):
13936         * startup.el (command-line):
13937         * tar-mode.el (tar-header-block-tokenize, tar-extract):
13938         * w32-fns.el (set-default-process-coding-system):
13939         * x-dnd.el (x-dnd-handle-file-name):
13940         * international/mule-cmds.el (mule-menu-keymap)
13941         (set-default-coding-systems, language-info-alist, set-language-info)
13942         (set-language-environment, standard-display-european-internal)
13943         (set-locale-environment):
13944         * international/mule-diag.el (mule-diag):
13945         * mail/emacsbug.el (report-emacs-bug):
13946         * mail/rmail.el (rmail-mode):
13947         * mail/sendmail.el (mail-setup):
13948         Use default-value rather than default-enable-multibyte-characters.
13950         * progmodes/f90.el: Move all safe properties into the defcustoms.
13951         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13953         * calendar/appt.el (appt-check):
13954         * calendar/diary-lib.el (diary-set-header, diary-live-p)
13955         (diary-check-diary-file, diary-list-entries)
13956         (diary-include-other-diary-files, diary-simple-display)
13957         (diary-fancy-display, diary-print-entries)
13958         (diary-mark-included-diary-files, diary-make-entry):
13959         Don't call substitute-in-file-name on diary-file.
13961 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
13962             Stefan Monnier  <monnier@iro.umontreal.ca>
13964         * mail/footnote.el (footnote-prefix): Make it a defcustom.
13965         (footnote-mode-map): Move initialization into the declaration.
13966         (footnote-minor-mode-map): Define it rather than changing global-map.
13967         (footnote-mode): Use define-minor-mode.
13969 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
13971         * net/tramp.el (tramp-handle-file-attributes-with-ls)
13972         (tramp-do-file-attributes-with-perl)
13973         (tramp-do-file-attributes-with-stat): Rename from
13974         `tramp-handle-file-attributes-with-*'.
13975         (tramp-handle-file-attributes): Use them.
13976         (tramp-do-directory-files-and-attributes-with-perl)
13977         (tramp-do-directory-files-and-attributes-with-stat): Rename from
13978         `tramp-handle-directory-files-and-attributes-with-*'.
13979         (tramp-handle-directory-files-and-attributes): Use them.
13980         (tramp-method-out-of-band-p): Additional parameter SIZE.
13981         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13982         (tramp-handle-write-region): Use it.
13983         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13984         (tramp-handle-vc-registered): Check, whether the first run did
13985         return files to be tested.
13986         (tramp-advice-make-auto-save-file-name): Do not call directly
13987         `tramp-handle-make-auto-save-file-name', because this would bypass
13988         the locking mechanism.
13990         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13991         (file-remote-p, process-file, start-file-process, set-file-times)
13992         (tramp-compat-file-attributes): Compatibility functions shall not
13993         call directly `tramp-handle-*', because this would bypass the
13994         locking mechanism.
13995         (tramp-compat-number-sequence): New defun.
13997 2009-09-02  Glenn Morris  <rgm@gnu.org>
13999         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14000         alias for float-time.
14001         (time-to-number-of-days): In Emacs, use float-time.
14002         * net/newst-backend.el (time-add): Suppress warnings from compat
14003         function.
14004         * time.el (emacs-uptime, emacs-init-time):
14005         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14006         Use float-time rather than time-to-seconds.
14008         * minibuffer.el (completion-initials-expand): Fix typo.
14010         * faces.el (modeline, modeline-inactive, modeline-highlight)
14011         (modeline-buffer-id):
14012         * info.el (info-menu-5): Mark these face aliases as obsolete.
14014 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14016         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14017         space ...
14018         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14019         no "--thread" option.
14020         (gdb-stopped): Don't print "Switched to thread" message when it is
14021         unchanged.
14023 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14025         * minibuffer.el (completion-try-completion)
14026         (completion-all-completions): Remove ill-defined (and
14027         mistakenly installed and luckily never used nor documented)
14028         `completion-styles' property.
14029         (completion-initials-expand, completion-initials-all-completions)
14030         (completion-initials-try-completion): New functions.
14031         (completion-styles-alist): Add doc to each entry.
14032         Add new `initials' entry.
14034 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14036         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14037         MI command -var-evaluate-expression.
14038         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14039         and tweak for case of string child.
14040         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14042 2009-09-01  Glenn Morris  <rgm@gnu.org>
14044         * add-log.el (change-log-date-face, change-log-name-face)
14045         (change-log-email-face, change-log-file-face, change-log-list-face)
14046         (change-log-conditionals-face, change-log-function-face)
14047         (change-log-acknowledgement-face):
14048         * cus-edit.el (custom-invalid-face, custom-rogue-face)
14049         (custom-modified-face, custom-set-face, custom-changed-face)
14050         (custom-saved-face, custom-button-face, custom-button-pressed-face)
14051         (custom-documentation-face, custom-state-face, custom-comment-face)
14052         (custom-comment-tag-face, custom-variable-tag-face)
14053         (custom-variable-button-face, custom-face-tag-face)
14054         (custom-group-tag-face-1, custom-group-tag-face):
14055         * diff-mode.el (diff-header-face, diff-file-header-face)
14056         (diff-index-face, diff-hunk-header-face, diff-removed-face)
14057         (diff-added-face, diff-changed-face, diff-function-face)
14058         (diff-context-face, diff-nonexistent-face):
14059         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14060         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14061         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14062         (Info-title-4-face):
14063         * isearch.el (isearch-lazy-highlight-face):
14064         * log-view.el (log-view-file-face, log-view-message-face):
14065         * paren.el (show-paren-match-face, show-paren-mismatch-face):
14066         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14067         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14068         (cvs-msg-face):
14069         * smerge-mode.el (smerge-mine-face, smerge-other-face)
14070         (smerge-base-face, smerge-markers-face):
14071         * wid-edit.el (widget-documentation-face, widget-button-face)
14072         (widget-field-face, widget-single-line-field-face)
14073         (widget-inactive-face, widget-button-pressed-face):
14074         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14075         (woman-addition-face):
14076         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14077         (eshell-ls-executable-face, eshell-ls-readonly-face)
14078         (eshell-ls-unreadable-face, eshell-ls-special-face)
14079         (eshell-ls-missing-face, eshell-ls-archive-face)
14080         (eshell-ls-backup-face, eshell-ls-product-face)
14081         (eshell-ls-clutter-face):
14082         * eshell/em-prompt.el (eshell-prompt-face):
14083         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14084         * obsolete/old-whitespace.el (whitespace-highlight-face):
14085         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14086         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14087         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14088         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14089         (antlr-font-lock-literal-face):
14090         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14091         (ebrowse-root-class-face, ebrowse-file-name-face)
14092         (ebrowse-default-face, ebrowse-member-attribute-face)
14093         (ebrowse-member-class-face, ebrowse-progress-face):
14094         * progmodes/make-mode.el (makefile-space-face):
14095         * progmodes/sh-script.el (sh-heredoc-face):
14096         * textmodes/flyspell.el (flyspell-incorrect-face)
14097         (flyspell-duplicate-face):
14098         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14099         * textmodes/texinfo.el (texinfo-heading-face):
14100         Mark face aliases with "-face" suffix as obsolete.
14102         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14103         compiler.
14105         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14106         (eudc-bob-sound-menu): Use defvar rather than defconst, since
14107         easy-menu-define wants to modify these.
14109         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14111         * net/browse-url.el (browse-url-file-url):
14112         * term/internal.el (dos-codepage-setup):
14113         Use default-value rather than default-enable-multibyte-characters.
14115         * progmodes/etags.el (etags-goto-tag-location):
14116         * progmodes/flymake.el (flymake-highlight-line)
14117         (flymake-goto-file-and-line, flymake-goto-line):
14118         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14119         (gdb-goto-breakpoint):
14120         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14121         * progmodes/python.el (python-find-function)
14122         (python-pdbtrack-track-stack-file):
14123         * progmodes/verilog-mode.el (verilog-surelint-off):
14124         * term/ns-win.el (ns-open-file-select-line):
14125         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14126         Use forward-line rather than goto-line.
14128         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14129         * textmodes/reftex-index.el (reftex-display-index):
14130         * textmodes/reftex-ref.el (reftex-offer-label-menu):
14131         * textmodes/reftex-toc.el (reftex-toc):
14132         Remove unnecessary bindings of default-major-mode (all are followed by
14133         major-mode check and possible mode switch).
14135 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14137         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14138         Handle watchpoints (bug#4282).
14139         (def-gdb-thread-buffer-command): Enable thread to be selected by
14140         clicking without selecting threads buffer first.
14141         (gdb-current-context-command): Use selected frame so that "up",
14142         "down" etc work in the GUD buffer.
14143         (gdb-update): Find selected frame before rendering stack buffer.
14144         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14146 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14148         * progmodes/sym-comp.el (displayed-completions): Remove.
14149         (symbol-complete): Use minibuffer-complete.
14151 2009-08-31  Glenn Morris  <rgm@gnu.org>
14153         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14155         * apropos.el (apropos-symbols-internal):
14156         Handle (obsolete) face aliases.
14158         * faces.el (describe-face): Adjust the output format to be more like
14159         describe-variable, and to mention (obsolete) face aliases.
14160         Adjust the whitespace so that help-setup-xref works.
14162         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14163         * calendar/diary-lib.el (diary-button-face):
14164         Mark these face aliases as obsolete.
14166         * calendar/calendar.el (calendar-today): Doc fix.
14168 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14170         * progmodes/gdb-mi.el (gdb-control-all-threads)
14171         (gdb-control-current-thread): Force tool bar update.
14172         (gdb-non-stop-handler): New function.
14173         (gdb-init-1): Use it to test if non-stop mode is supported.
14174         Remove unused gdbmi buffer type.
14176 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14178         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14179         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
14181 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
14183         * comint.el (comint-exec-1): Check command is non-null first.
14184         Part of gdb-mi.el change (2009-08-28).
14186 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14188         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14190 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
14192         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14193         instead of `dolist' to avoid a recursive require when bootstrapping.
14195 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14197         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14199         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14201         * net/imap.el (imap-send-command): Simplify.
14202         (imap-wait-for-tag): point-max -> buffer-size.
14204         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14206         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14207         with constant argument.
14209         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14211         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14213         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14214         Change default, since most of our files don't have a history.
14215         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14216         the user.
14218         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14219         Add comint-run.
14221         * calc/calc.el: Improve commenting convention.
14222         (calc-digit-map, toplevel): Simplify.
14224         * comint.el (comint-insert-input): Be careful to only set point if we
14225         don't delegate to some other command.
14227         * proced.el (proced-signal-list): Make it an alist.
14228         (proced-grammar-alist): Capitalize names.
14229         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14230         Disable undo manually and make it read-only.
14231         Use completion-annotate-function.
14233         * minibuffer.el (minibuffer-message): If the current buffer is not
14234         a minibuffer, insert the message in the echo area rather than at the
14235         end of the buffer.
14236         (completion-annotate-function): New variable.
14237         (minibuffer-completion-help): Use it.
14238         (completion--embedded-envvar-table): Environment vars are
14239         always case-sensitive.
14241 2009-08-30  Glenn Morris  <rgm@gnu.org>
14243         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14244         from fortran-current-defun.
14245         (fortran-beginning-of-subprogram): Be more precise about finding the
14246         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
14247         (fortran-end-of-subprogram): Simplify.
14248         (fortran-current-defun): Use fortran-start-prog-re.
14250 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
14252         * subr.el (do-after-load-evaluation): Simplify.
14254 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
14256         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14258         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
14259         (vc-rcs-print-log): Use it.
14261         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14263 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14265         * paths.el (abbrev-file-name): Move to abbrev.el.
14266         * abbrev.el (abbrev-file-name): Move from paths.el.
14267         Obey user-emacs-directory.
14268         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14269         user-emacs-directory.
14270         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14271         abbrev-file-name and calc-settings-file any more.
14272         * startup.el (command-line): Recompute abbrev-file-name and
14273         abbreviated-home-dir.
14274         (normal-no-mouse-startup-screen): Improve the generic code and get rid
14275         of the special code for when C-h bindings haven't been changed.
14276         (display-startup-echo-area-message): Use with-current-buffer.
14277         (command-line-1): Use a list of strings, rather than a list of lists
14278         of strings for longopts.
14280         * files.el (get-free-disk-space): Use / for default-directory.
14282         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14283         Use with-current-buffer.
14285         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14286         Recognize immutable variables like most-positive-fixnum.
14287         (byte-compile-setq-default): Check and warn if trying to assign
14288         to an immutable variable, or a non-variable.
14290         * progmodes/cc-vars.el (c-comment-continuation-stars):
14291         * progmodes/cc-engine.el (c-looking-at-bos):
14292         * progmodes/cc-cmds.el (c-toggle-auto-state)
14293         (c-forward-into-nomenclature, c-backward-into-nomenclature)
14294         (c-comment-line-break-function): Add version of obsolescence.
14296 2009-08-28  Juri Linkov  <juri@jurta.org>
14298         * files.el (magic-fallback-mode-alist): Add ZIP magic number
14299         associated with `archive-mode'.
14301         * image.el (image-type-header-regexps): Use only JPEG magic number
14302         to determine JPEG images, and don't use `image-jpeg-p' because
14303         Emacs can display non-JFIF non-Exif JPEG images.
14305 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14307         * arc-mode.el (archive-mode):
14308         * emacs-lisp/re-builder.el (re-builder-unload-function):
14309         Protect against the default value of `major-mode' being nil.
14311 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14313         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14314         Fix typos in docstrings.
14316         * progmodes/js.el (js--macro-decl-re): Doc fix.
14317         (js--plain-method-re, js--split-name): Refloc docstring.
14318         (js--class-styles, js--make-merged-item, js--splice-into-items):
14319         Fix typos in docstrings; reflow docstrings.
14320         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14321         (js--variable-decl-matcher, js--inside-pitem-p)
14322         (js--parse-state-at-point, js--get-all-known-symbols)
14323         (js--symbol-history, js-find-symbol, js--js-references)
14324         (js--moz-interactor, js--js-encode-value, js--read-tab):
14325         Fix typos in docstrings.
14327 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14329         * textmodes/reftex.el (reftex-get-file-buffer-force):
14330         * progmodes/verilog-mode.el (verilog-batch-execute-func):
14331         * emulation/viper.el (viper-go-away, viper-set-hooks):
14332         * emacs-lisp/re-builder.el (re-builder-unload-function):
14333         * emacs-lisp/bytecomp.el (byte-compile-file):
14334         * ses.el (ses-unload-function):
14335         * hexl.el (hexl-find-file):
14336         * files.el (normal-mode):
14337         * ehelp.el (with-electric-help):
14338         * autoinsert.el (auto-insert-alist):
14339         * arc-mode.el (archive-mode):
14340         Use (default-value 'major-mode) instead of default-major-mode.
14342         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14343         * international/mule.el (load-with-code-conversion):
14344         * emacs-lisp/debug.el (debug):
14345         * ediff-vers.el (ediff-rcs-get-output-buffer):
14346         * dired.el (dired-internal-noselect): Don't let-bind
14347         default-major-mode around code that doesn't use it.
14348         E.g. buffer creation via get-buffer-create doesn't use it.
14350 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
14352         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14353         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14354         when writing the temp file.  Otherwise, epa-file gets confused.
14355         (tramp-register-file-name-handlers): Make it a defun.  Move also
14356         `epa-file-handler' to the front of `file-name-handler-alist'.
14358 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14360         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14361         start right after a ^M.
14362         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14363         (tramp-completion-file-name-regexp-separate)
14364         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14365         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14366         Don't modify last-coding-system-used by accident.
14367         (tramp-completion-file-name-handler): Apply the checks here,
14368         instead during registration.
14369         (tramp-register-file-name-handlers): Renamed from
14370         `tramp-register-file-name-handler'.  Register both
14371         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14372         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
14374 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
14376         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14377         Remove variable ...
14378         (gdb-init-1, gdb-display-separate-io-buffer)
14379         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14380         references to it.
14381         (gdb-inferior-io-mode): Use make-comint-in-buffer.
14382         (gdb-inferior-filter): Use comint-output-filter to stop
14383         echoing and remove ^M characters.
14385 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14387         * emulation/viper-init.el (viper-restore-cursor-type):
14388         * emulation/cua-base.el (cua--update-indications):
14389         Replace default-cursor-type with (default-value 'cursor-type).
14391         * mail/sendmail.el (mail-recover-1):
14392         * international/mule-diag.el (describe-current-coding-system-briefly)
14393         (describe-current-coding-system):
14394         * international/mule-cmds.el (select-safe-coding-system)
14395         (select-message-coding-system)
14396         (set-language-environment-coding-systems, set-locale-environment):
14397         * hexl.el (hexl-insert-multibyte-char):
14398         * dos-w32.el (find-buffer-file-type-coding-system):
14399         * simple.el (what-cursor-position):
14400         Replace uses of default-buffer-file-coding-system
14401         with (default-value 'buffer-file-coding-system).
14403         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14404         Replace uses of default-cursor-in-non-selected-windows
14405         with (default-value 'cursor-in-non-selected-windows).
14406         Use with-current-buffer.
14408         * mail/feedmail.el: Use CL macros.
14409         (feedmail-run-the-queue, feedmail-send-it-immediately):
14410         * dos-w32.el (find-buffer-file-type): Replace uses of
14411         default-buffer-file-type with (default-value 'buffer-file-type).
14413 2009-08-28  Glenn Morris  <rgm@gnu.org>
14415         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14416         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14417         Use default-value of major-mode rather than default-major-mode.
14419 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14421         * Makefile.in (update-elcfiles): Report left over elc files.
14423         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14424         expand-file-name and with-current-buffer.
14425         (mail-get-names, mail-directory): Use with-current-buffer.
14427         * vc.el (vc-read-revision): New function.
14428         (vc-version-diff, vc-merge): Use it.
14430 2009-08-27  Sam Steingold  <sds@gnu.org>
14432         * simple.el (kill-do-not-save-duplicates): New user option.
14433         (kill-new): When it is non-nil, and the new string is the same as
14434         the latest kill, set replace to t to avoid duplicates in kill-ring.
14436 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
14438         * net/tramp.el (tramp-handle-process-file): Do not flush all
14439         caches when `process-file-side-effects' is set.
14440         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14441         instead of `tramp-find-file-exists-command'.
14442         Unset `process-file-side-effects'.
14444 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
14446         * net/tramp.el (tramp-methods): New method "rsyncc".
14447         (top): Add completion function for "rsyncc".
14448         (tramp-message-show-message): New defvar.
14449         (tramp-message, tramp-error): Use it.
14450         (tramp-do-copy-or-rename-file-directly): Extend check for direct
14451         remote copying.
14452         (tramp-do-copy-or-rename-file-out-of-band): Handle new
14453         `tramp-methods' entry `copy-env' of "rsyncc".
14454         (tramp-vc-registered-read-file-names): New defconst.
14455         (tramp-vc-registered-file-names): New defvar.
14456         (tramp-handle-vc-registered): Implement optimization strategy.
14457         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14458         (tramp-vc-file-name-handler): New defun.
14459         (tramp-get-ls-command, tramp-get-test-command)
14460         (tramp-get-file-exists-command, tramp-get-remote-ln)
14461         (tramp-get-remote-perl, tramp-get-remote-stat)
14462         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14464         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14465         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
14466         timestamps.
14467         (tramp-get-file-property): Check for timestamps in
14468         `tramp-cache-inhibit-cache'.
14469         (tramp-set-file-property): Write timestamp.
14471 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14473         * language/japan-util.el (japanese-symbol-table): Add entries for
14474         cp932-2-byte.
14476         * international/characters.el: Add category `j' to cp932-2-byte.
14478 2009-08-27  Kenichi Handa  <handa@m17n.org>
14480         * international/fontset.el (build-default-fontset-data): New macro.
14481         (setup-default-fontset): Use build-default-fontset-data for CJK,
14482         tibetan, ethiopic, and ipa.
14484 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14486         * cus-start.el (default-major-mode): Customize `major-mode' instead.
14487         (enable-multibyte-characters): Not customizable any more.
14489         * subr.el (default-mode-line-format, default-header-line-format)
14490         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14491         (default-direction-reversed, default-truncate-lines)
14492         (default-left-margin, default-tab-width, default-case-fold-search)
14493         (default-left-margin-width, default-right-margin-width)
14494         (default-left-fringe-width, default-right-fringe-width)
14495         (default-fringes-outside-margins, default-scroll-bar-width)
14496         (default-vertical-scroll-bar, default-indicate-empty-lines)
14497         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14498         (default-fringe-cursor-alist, default-scroll-up-aggressively)
14499         (default-scroll-down-aggressively, default-fill-column)
14500         (default-cursor-type, default-buffer-file-type)
14501         (default-cursor-in-non-selected-windows)
14502         (default-buffer-file-coding-system, default-major-mode)
14503         (default-enable-multibyte-characters): Mark as obsolete.
14505 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
14507         * vc-dir.el (vc-dir-update): Remove debug helper.
14509         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14511 2009-08-26  Sam Steingold  <sds@gnu.org>
14513         * simple.el (save-interprogram-paste-before-kill): New user option.
14514         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14515         save the interprogram-paste into kill-ring before overriding it
14516         with the Emacs kill.
14518 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14520         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14521         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14522         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14523         and move to vc-rcs.el.
14524         (vc-default-next-revision): Rename to vc-rcs-next-revision and
14525         move to vc-rcs.el.
14526         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14527         (vc-rcs-update-changelog): Remove.
14528         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14529         and move to vc-rcs.el.
14531         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14532         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14533         renaming.
14534         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14535         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14536         vc.el, renamed to be RCS specific.
14538         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14539         New functions.
14540         (vc-cvs-update-changelog): Move here from vc.el.
14542         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14543         New functions.
14545 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14547         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14549 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14551         * vc-git.el (vc-git-register): Use "git add" for directories.
14552         (vc-git-stash, vc-git-stash-show): New functions.
14553         (vc-git-extra-menu-map): Bind them.
14555         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14556         directory correctly in case the item is a directory itself.
14558         * vc.el: Document the desired behavior for reverted files in the
14559         `added' state.
14560         (vc-default-prettify-state-info): Remove function, unused.
14562         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14564 2009-08-26  Glenn Morris  <rgm@gnu.org>
14566         * bindings.el (standard-mode-line-format): Reposition dashes in
14567         which-func entry.  (Bug#4217)
14569         * files.el (enable-local-variables, enable-local-eval)
14570         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14571         the defcustoms.
14572         (auto-mode-alist, ignored-local-variables)
14573         (save-some-buffers-action-alist): Move risky declarations to the
14574         definitions.
14575         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14576         (font-lock-defaults, format-alist, imenu--index-alist)
14577         (imenu-generic-expression, input-method-alist, minor-mode-alist)
14578         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14579         (mode-line-modified, mode-line-mule-info, mode-line-position)
14580         (mode-line-process, mode-line-remote, outline-level)
14581         (parse-time-rules, rmail-output-file-alist)
14582         (special-display-buffer-names, vc-mode):
14583         Move risky declarations to the relevant files.
14584         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14585         (mode-line-modified, mode-line-process, mode-line-position)
14586         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14587         * font-core.el (font-lock-defaults):
14588         * format.el (format-alist):
14589         * vc-hooks.el (vc-mode):
14590         * window.el (special-display-buffer-names):
14591         * international/mule-cmds.el (input-method-alist):
14592         Define riskiness here (dumped file) rather than in files.el.
14593         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14594         * imenu.el (imenu-generic-expression, imenu--index-alist):
14595         * outline.el (outline-level):
14596         * time.el (display-time-string):
14597         * calendar/parse-time.el (parse-time-rules):
14598         * mail/rmailout.el (rmail-output-file-alist):
14599         Autoload riskiness here, rather than placing in files.el.
14601 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
14603         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14605 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
14607         * simple.el (process-file-side-effects): New defvar.
14609         * dired-aux.el (dired-show-file-type):
14610         * vc.el (vc-diff-internal):
14611         * vc-arch.el (vc-arch-diff):
14612         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14613         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14614         * vc-git.el (vc-git-registered, vc-git-working-revision)
14615         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14616         (vc-git--empty-db-p):
14617         * vc-hooks.el (vc-user-login-name):
14618         * vc-svn.el (vc-svn-registered, vc-svn-state)
14619         (vc-svn-dir-extra-headers, vc-svn-find-revision):
14620         * progmodes/grep.el (grep-probe): Let-bind
14621         `process-file-side-effects' with nil.
14623         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14625         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14626         daemon.  Replace ping by checking for running service for bluez
14627         and zeroconf.  (Bug#4239)
14629 2009-08-25  Kevin Ryde  <user42@zip.com.au>
14631         * net/dig.el (dig): Add autoload cookie.
14633 2009-08-25  Glenn Morris  <rgm@gnu.org>
14635         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14636         load-history for absolute file-names.
14637         (byte-compile-file-form-require): Warn about use of the cl package.
14639         * format.el (format-alist): Doc fix.
14641         * play/bubbles.el (top-level): Don't require cl at run-time.
14643         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14644         run-time cl).
14646 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
14648         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14649         from cl package.
14650         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14652 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
14654         * calc/calc-alg.el (math-trig-rewrite)
14655         (math-hyperbolic-trig-rewrite): New functions.
14656         (calc-simplify): Simplify trig functions when asked.
14658 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14660         * diff-mode.el (diff-find-source-location): Avoid goto-line.
14662 2009-08-24  Kenichi Handa  <handa@m17n.org>
14664         * language/ind-util.el (mapthread): Delete it.
14665         (combinatorial): New function.
14666         (indian--puthash-cv): Use combinatorial instead of mapthread.
14668 2009-08-22  Kevin Ryde  <user42@zip.com.au>
14670         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14671         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14672         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14673         Clarify docstring that the value is strings not symbols.
14674         (checkdoc-list-of-strings-p): New function.
14676 2009-08-22  Glenn Morris  <rgm@gnu.org>
14678         * files.el (auto-mode-alist):
14679         * hippie-exp.el (he-concat-directory-file-name):
14680         * lpr.el (lpr-windows-system, printer-name):
14681         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14682         * ps-print.el (ps-windows-system):
14683         * startup.el (command-line):
14684         * emulation/viper-ex.el (viper-glob-function):
14685         * international/mule-cmds.el (set-language-environment-coding-systems):
14686         * net/ange-ftp.el (ange-ftp-write-region):
14687         * obsolete/fast-lock.el (fast-lock-cache-name):
14688         Remove code for defunct system-types emx, macos, mswindows, next-mach,
14689         unisoft-unix, vax-vms, win32, w32.
14691         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14692         given name if the pattern is not more specific.
14694         * calendar/lunar.el (lunar-phase-names): New option.
14695         (lunar-phase): Doc fix.
14696         (lunar-cycles-per-year): New constant.
14697         (lunar-index): New function.
14698         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14699         (lunar-phase-name): Use lunar-phase-names.
14700         (calendar-lunar-phases): Use format.
14701         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14703         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14704         Copy imenu-example--name-and-position function here for own use.
14705         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14707         * bs.el (bs--redisplay):
14708         * cus-edit.el (custom-redraw):
14709         * ibuffer.el (ibuffer-bury-buffer):
14710         * server.el (server-goto-line-column):
14711         * startup.el (command-line-1):
14712         * strokes.el (strokes-xpm-for-stroke):
14713         * term.el (term-display-buffer-line):
14714         * view.el (View-goto-line):
14715         * calc/calc.el (calc-do, calc-trail-buffer):
14716         * play/gamegrid.el (gamegrid-add-score-insecure):
14717         * progmodes/ada-mode.el (ada-compile-goto-error):
14718         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14719         (ebrowse-select-1st-to-9nth):
14720         * progmodes/cperl-mode.el (cperl-time-fontification):
14721         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14722         * progmodes/gud.el (gud-display-line):
14723         (idlwave-shell-display-line):
14724         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14725         * progmodes/make-mode.el (makefile-browser-toggle):
14726         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14727         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14728         * textmodes/picture.el (picture-draw-rectangle):
14729         * textmodes/reftex-index.el (reftex-index-goto-letter):
14730         (reftex-select-jump-to-previous):
14731         * textmodes/reftex-sel.el (reftex-find-start-point)
14732         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14733         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14734         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14735         * textmodes/tex-mode.el (tex-compilation-parse-errors):
14736         * textmodes/two-column.el (2C-associated-buffer):
14737         Use forward-line rather than goto-line.
14739         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14740         goto-line.
14742         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14743         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14744         (quick-check-list-to-regexp): Declare.
14746         * progmodes/make-mode.el (makefile-browser-insert-selection):
14747         Use goto-char rather than goto-line.
14749         * progmodes/prolog.el (compilation-error-regexp-alist)
14750         (compilation-forget-errors): Declare.
14752 2009-08-22  Juri Linkov  <juri@jurta.org>
14754         * progmodes/grep.el (lgrep, rgrep): At the beginning
14755         set `dir' to `default-directory' unless `dir' is a non-nil
14756         readable directory.  (Bug#4052)
14757         (lgrep, rgrep): Change a weird way to report an error
14758         from using `read-string' to using `error'.
14759         Instead of using interactive arguments in the function body,
14760         add new argument `confirm'.
14762 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14764         * textmodes/remember.el (remember-buffer):
14765         * progmodes/cperl-mode.el (cperl-vc-header-alist):
14766         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14767         (icalendar-extract-ical-from-buffer):
14768         * net/newst-treeview.el (newsticker-groups-filename):
14769         * net/newst-backend.el (newsticker-cache-filename):
14770         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14771         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14772         (speedbar-add-ignored-path-regexp, speedbar-line-path)
14773         (speedbar-buffers-line-path, speedbar-path-line)
14774         (speedbar-buffers-line-path):
14775         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14776         (epg-sign-keys):
14777         * epa.el (epa-display-verify-result):
14778         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14780 2009-08-21  Glenn Morris  <rgm@gnu.org>
14782         * progmodes/js.el (inferior-moz-process): Fix declaration.
14784         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14786         * obsolete/rnewspost.el (news-mail-reply):
14787         Use goto-char rather than goto-line.
14789         * term/ns-win.el (ns-open-file-select-line):
14790         Use line-beginning-position rather than goto-line.
14792         * apropos.el (apropos-command):
14793         * ehelp.el (electric-helpify):
14794         * printing.el (pr-show-setup):
14795         * strokes.el (strokes-help):
14796         * tutorial.el (tutorial--describe-nonstandard-key)
14797         (tutorial--detailed-help):
14798         * woman.el (woman-mini-help, woman-display-extended-fonts):
14799         * calc/calc-help.el (calc-describe-key):
14800         * emulation/edt.el (edt-electric-helpify):
14801         * international/mule-diag.el (mule-diag):
14802         * play/yow.el (apropos-zippy):
14803         * progmodes/python.el (python-describe-symbol):
14804         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14805         * textmodes/table.el (*table--cell-describe-mode)
14806         (*table--cell-describe-bindings):
14807         Use help-print-return-message rather than the now obsolete alias.
14809         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14810         (calendar-cursor-to-visible-date):
14811         * play/5x5.el (5x5-position-cursor):
14812         * play/decipher.el (decipher):
14813         * play/gomoku.el (gomoku-goto-xy):
14814         * play/landmark.el (lm-goto-xy):
14815         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14816         (mpuz-paint-digit):
14817         Use forward-line, not goto-line.
14819         * mail/rmail.el (rmail-obsolete): Delete custom group.
14820         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14821         (rmail-remote-password, rmail-remote-password-required):
14822         Remove unneeded :set-after and :set properties.
14824 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
14826         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14828 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
14830         * loadup.el: Remove leftover macos code.
14832         * vc-git.el (vc-git-annotate-command): Run asynchronously.
14833         Explicitly pass the date format to git blame so that user local
14834         so that the output format can be parsed.
14836 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
14838         * net/dbus.el (top): Don't check for (getenv
14839         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
14841 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
14843         * log-edit.el (log-edit-strip-single-file-name): New var.
14844         (log-edit-insert-changelog): Use it.  Bug#3571
14846 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14848         * subr.el (read-passwd): Use read-key so keypad keys work as well.
14849         Bug#3287
14851         * help.el (help-print-return-message): Rename from
14852         print-help-return-message.
14854         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14855         cvs-mode-map parent hack.
14856         (log-view-mode): Derive from special-mode.
14858         * linum.el (linum-mode): window-size-change-functions is redundant.
14859         Adapt to new window-configuration-change-hook behavior.
14860         (linum-after-size, linum-after-config): Remove.
14862         * imenu.el (imenu-example--name-and-position)
14863         (imenu-example--lisp-extract-index-name)
14864         (imenu-example--create-lisp-index, imenu-example--create-c-index):
14865         Mark as obsolete.
14867         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14868         (inferior-prolog-mode): Use it.
14869         (inferior-prolog-load-file): Reset list of errors.
14871 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14873         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14875         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14877 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
14879         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14880         is running already.
14882 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14884         * subr.el (listify-key-sequence-1): Use normal syntax since those
14885         integers are nowadays always represented by the same (positive) number
14886         on all platforms.
14887         (read-key-empty-map): New const.
14888         (read-key-delay): New var.
14889         (read-key): New function.
14890         (force-mode-line-update): Use with-current-buffer.
14891         (locate-user-emacs-file): Don't forget to abbreviate the file name.
14892         (start-process-shell-command, start-file-process-shell-command):
14893         Discourage the use of command-args.
14895 2009-08-19  Glenn Morris  <rgm@gnu.org>
14897         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14899 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14901         * simple.el (choose-completion-string): Don't rely on
14902         minibuffer-completing-file-name and ad-hoc checks to decide whether
14903         to continue completion or not.
14905         * minibuffer.el (minibuffer-hide-completions): New function.
14906         (completion--do-completion): Use it.
14907         (completions-annotations): New face.
14908         (completion--insert-strings): Use it.
14909         (completion-pcm--delim-wild-regex): Add docstring.
14910         (completion-pcm--string->pattern): Add support for 0-width delimiters
14911         in completion-pcm--delim-wild-regex.
14913 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14915         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14916         Remove unused var `buffer-modified-p'.
14918         * minibuffer.el (completion--do-completion): Move point for the #b001
14919         case as well (bug#4176).
14920         (minibuffer-complete, minibuffer-complete-word): Don't move point.
14922 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
14924         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
14925         and :session buses.
14927 2009-08-18  Kenichi Handa  <handa@m17n.org>
14929         * international/ucs-normalize.el (ucs-normalize-version):
14930         Change to 1.1.
14931         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14932         (utf-8-hfs): Make it perform normalization on encoding too.
14934         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
14935         (sentence-end-without-space): Delete duplicated chars.
14936         (sentence-end-base): Likewise.
14938         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
14939         (html-mode): Delete duplicated chars from sentence-end-base.
14941         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
14942         (texinfo-mode): Delete duplicated chars from sentence-end-base.
14944 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
14946         * files.el (hack-one-local-variable): If the mode function is for
14947         a minor mode, pass it an argument (Bug#4148).
14949 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
14951         * net/tramp.el (tramp-register-completion-file-name-handler):
14952         Check also for (member 'partial-completion completion-styles).
14954 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14956         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14957         abbrev (Bug#3943).
14959 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
14961         * progmodes/cperl-mode.el: Merge upstream 6.2.
14962         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14963         (cperl-forward-re): Check cperl-brace-recursing.
14964         (cperl-highlight-charclass): New function.
14965         (cperl-find-pods-heres): Use it.
14966         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14967         (cperl-beautify-regexp-piece): Fix column calculation.
14968         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14969         (cperl-beautify-level): Don't process entire regexp.
14970         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14971         calling man.
14972         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14973         (cperl-init-faces): Build a list in the normal way.
14975 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14977         * calendar/parse-time.el (parse-time-string-chars): Save match
14978         data.
14980 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14982         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14983         (sql-product): Use it.
14984         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14985         (sql-set-product): Add completion.
14986         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14987         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14988         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14989         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14990         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14991         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14992         (sql-highlight-db2-keywords): Remove.
14993         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14994         (sql-highlight-product): Use derived-mode-p.
14995         (sql-set-sqli-buffer): Use with-current-buffer.
14996         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14997         Simplify.
14999         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15001         * term.el: Fix commenting convention, turn comments into docstrings.
15003 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
15005         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15007 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
15009         * calendar/parse-time.el (parse-time-string-chars): Compute using
15010         character classes, to handle non-ascii characters (Bug#3190).
15012 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15014         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15015         another heredoc if the user adds another < (Bug#3226).
15017         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15018         Don't initialize based on window-system (Bug#4124).
15020         * facemenu.el (facemenu-read-color): Use a completion function
15021         that accepts any defined color, such as RGB triplets (Bug#3677).
15023         * files.el (get-free-disk-space): Change fallback default
15024         directory to /.  Expand DIR argument before switching to fallback.
15025         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15027 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15029         * files.el (load-library): Doc fix.
15031 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
15033         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15034         (viper-if-string): Redefine C-s in the minibuffer to insert the last
15035         incremental search string.
15037         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15038         XEmacs.
15040         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15041         (ediff-merge-region-is-non-clash)
15042         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15043         Also check if the job is really a merge job.
15045         * ediff.el (ediff-current-file): New function.
15047 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15049         * progmodes/js.el: Edit docstrings throughout to follow Emacs
15050         conventions.
15051         (js-insert-and-indent): Delete function.
15052         (js-mode-map): Don't bind keys to js-insert-and-indent.
15053         (js-beginning-of-defun): Rename from js--beginning-of-defun.
15054         (js-end-of-defun): Rename from js--end-of-defun.
15055         (js-auto-indent-flag): Delete variable.
15057 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
15059         * progmodes/js.el: Remove proclaim statement.
15060         Defvar which-func-imenu-joiner-function to silence compiler.
15062         * files.el (auto-mode-alist): Use js-mode for .js files.
15064         * progmodes/js2-mode.el: Remove file.
15066         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15068         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15070         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15072 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
15073             Karl Landstrom  <karl.landstrom@brgeight.se>
15075         * progmodes/js.el: New file.
15077 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
15079         * timezone.el (timezone-parse-date): Add ability to understand ISO
15080         basic format (minimal separators) dates in addition to the
15081         already-supported extended format dates.
15083 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
15085         * international/ucs-normalize.el: Add a `coding' file variable.
15087         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15089 2009-08-14  Sam Steingold  <sds@gnu.org>
15091         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15093 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
15095         * faces.el (help-argument-name): Define it here instead of
15096         help-fns.el, because in daemon mode help-fns.el may be loaded when
15097         faces are still uninitialized (Bug#1078).
15099         * help-fns.el (help-argument-name): Move defface to faces.el.
15101 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
15103         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15104         create buffer with a pty but no process so that GDB can make the
15105         inferior the controlling process.
15107 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
15109         * international/ucs-normalize.el: New file.
15111 2009-08-13  Richard Stallman  <rms@gnu.org>
15113         * mail/rmail.el (rmail-get-attr-names):
15114         Accept an attribute header that is too short.
15116         * mail/rmail.el (rmail-forget-messages):
15117         Ignore nil elt in rmail-message-vector.  Use dotimes.
15119         * progmodes/compile.el (compilation-goto-locus):
15120         Use next-error-move-function.
15122         * simple.el (next-error-move-function): New variable.
15124 2009-08-12  Juri Linkov  <juri@jurta.org>
15126         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15127         always non-nil.  (Bug#4052)
15129         * replace.el (read-regexp): Return empty string when
15130         `default-value' is nil.
15131         (keep-lines-read-args): Don't use empty string as the
15132         default value for `read-regexp'.  (Bug#2495)
15134 2009-08-12  Juri Linkov  <juri@jurta.org>
15136         * international/mule-cmds.el (ucs-insert): Change arguments
15137         from `arg' to `character', `count', `inherit' to be the same
15138         as in `insert-char'.  Doc fix.  (Bug#4039)
15140         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15142 2009-08-12  Juri Linkov  <juri@jurta.org>
15144         * files-x.el: New file.
15146         * files.el: Move code that deals with adding/deleting
15147         file/directory-local variables to files-x.el.
15149         * Makefile.in (ELCFILES): Add files-x.elc.
15151 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
15153         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15154         to use `goto-line'.
15155         (gdb-place-breakpoints, gdb-get-location): Rewritten without
15156         `goto-line'.
15157         (gdb-invalidate-disassembly): Do not refresh upon receiving
15158         'update signal.  Instead, update all disassembly buffers only after
15159         threads list.
15160         (gdb): Send -target-detach when buffer is killed (Bug#3794).
15161         (gdb-starting): Moved -data-list-register-names...
15162         (gdb-stopped): ...here so it's sent when first thread stops.
15163         (gdb-registers-handler-custom): Do nothing if register names are
15164         unknown yet.
15166         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15167         from `gdb-mi.el' to avoid extra tangling.
15169         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15170         change which breaks `gud-def' definitions used in `gdb'.
15171         (gdb-update-gud-running): No extra fuss for updating frame number.
15173 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15175         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15176         (describe-language-environment-map, setup-language-environment-map)
15177         (set-coding-system-map): Move initialization into declaration.
15178         (set-language-info-alist): Last arg to define-key-after can be skipped.
15180         * international/quail.el (quail-completion-1): Simplify.
15181         (quail-define-rules): Use slightly more compact code.
15182         (quail-insert-decode-map): Propertize keys, compact columns.
15184         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15185         Add goto-line.
15187 2009-08-10  Miles Bader  <miles@gnu.org>
15189         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15190         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15191         (js2-instance-member, js2-private-member, js2-private-function-call)
15192         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15193         (js2-magic-paren, js2-external-variable):
15194         Remove "-face" suffix from face names.
15195         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15196         (js2-highlight-undeclared-vars, js2-peek-token)
15197         (js2-parse-function-params, js2-mode-show-errors)
15198         (js2-mode-show-warnings, js2-make-magic-delimiter)
15199         (js2-mode-highlight-magic-parens): Update to use new face names.
15201 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
15203         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15204         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
15206 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
15208         * subr.el: Provide hashtable-print-readable.
15210         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15211         hs-c-like-adjust-block-beginning.
15212         (hs-hide-block-at-point): Stop hiding at the beginning of
15213         hs-block-end-regexp (Bug#700).
15215 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
15217         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15218         a macro.
15219         (gdb-registers-handler-custom): Do not fail when register names
15220         are unavailable.
15222 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15224         * progmodes/gdb-mi.el (gdb-control-all-threads)
15225         (gdb-control-current-thread): Interactive setters for
15226         `gdb-gud-control-all-threads' to use in menu.
15227         (gdb-show-run-p): Show «Go» when process is not active.
15228         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
15229         gud/thread.xpm and gud/all.xpm.
15231 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
15233         * net/net-utils.el (net-utils-font-lock-keywords): New var.
15234         (nslookup-font-lock-keywords): Make it a variable.
15235         (net-utils-mode): New mode for viewing diagnostic network output.
15236         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15237         (net-utils-run-simple): New function.
15238         (ifconfig, iwconfig, netstat, arp, route): Use it.
15240 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15242         * progmodes/gdb-mi.el (gdb-read-memory-custom)
15243         (gdb-memory-set-address, def-gdb-set-positive-number)
15244         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15245         after changing settings.
15246         (gdb-invalidate-disassembly): Update when first shown.
15247         (gdb-edit-locals-value): Fixed.
15248         (gdb-registers-handler-custom): Print registers in right order and
15249         allow changing register values (only for current thread yet).
15250         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15251         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15252         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15253         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15254         info in mode name.
15255         (gdb-registers-mode-map): TAB to switch to locals.
15257 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
15259         * mail/rmail.el (rmail-add-mbox-headers)
15260         (rmail-set-message-counters-counter): Search for
15261         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
15263 2009-08-08  Glenn Morris  <rgm@gnu.org>
15265         * Makefile.in (ELCFILES): Update.
15267 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15269         * mail/sendmail.el (mail-yank-original): Set
15270         buffer-file-coding-system from the one used by the message whose
15271         text is yanked.
15273         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15274         to "windows" when "pgnuplot" is used.
15275         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15276         call accept-process-output if "pgnuplot" is used.
15277         (calc-graph-init): Don't send -display and -geometry to
15278         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
15279         running "pgnuplot -V" with shell-command-to-string.
15281         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15282         the default.
15284 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15286         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15287         org/org-latex.elc.
15289 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
15291         * vc-dispatcher.el (vc-resynch-window): Update comment.
15293         * term.el (term-handle-ansi-escape): Add comments with the
15294         terminfo capabilities implemented.
15296 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
15298         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15299         (gdb-var-create-handler): Rewritten using JSON parser.
15300         (gdb-propertize-header): Moved earlier.
15301         (gdb-set-header): Removed to avoid duplication.
15302         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15303         Refresh disassembly buffers only after threads list have been
15304         update.
15305         (gdb-threads-header, gdb-registers-header): Per-buffer header line
15306         variables.
15308 2009-08-04  Juri Linkov  <juri@jurta.org>
15310         * files.el: Commands to add/delete file/directory-local variables.
15311         (read-file-local-variable, read-file-local-variable-value)
15312         (read-file-local-variable-mode, modify-file-local-variable)
15313         (modify-file-local-variable-prop-line)
15314         (modify-dir-local-variable): New functions.
15315         (add-file-local-variable, delete-file-local-variable)
15316         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15317         (add-dir-local-variable, delete-dir-local-variable)
15318         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15319         (copy-dir-locals-to-file-locals-prop-line): New commands.
15321 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
15323         * abbrev.el (insert-abbrev-table-description): Prettify output.
15324         Suggested by Karl Chen.
15326 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
15328         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15329         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15330         (gdb-overlay-arrow-position, gdb-thread-position)
15331         (gdb-disassembly-position): Declare variables.
15332         (gdb-wait-for-pending): Function now.
15333         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15334         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15335         compilation goes smoothly.
15336         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15337         (gdb-non-stop-setting): New customization setting which replaces
15338         `gdb-non-stop' so changing it doesn't break active GDB session.
15339         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15340         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15341         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15342         (gdb-show-threads-by-default): New customization options.
15343         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15344         routines.
15345         (gdb-get-buffer-create): Send buffers update signal when they are
15346         created.
15347         (gdb-invalidate-locals, gdb-invalidate-registers)
15348         (gdb-invalidate-breakpoints)
15349         (gdb-invalidate-threads, gdb-invalidate-disassembly)
15350         (gdb-invalidate-memory): Accept update signal.
15351         (gdb-current-context-command): Use --frame option.
15352         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15353         Implement `gdb-frame-number' selection logic.
15354         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15355         whether to show GUD toolbar buttons.
15356         (gdb-thread-exited): Unselect current thread when it exits.
15357         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15358         (gdb-mark-line): Routine which sets overlay arrow or inverses
15359         video on fringeless displays.
15360         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15361         to build aligned columns of data in GDB buffers and set text
15362         properties line-by-line.
15363         (gdb-invalidate-breakpoints)
15364         (gdb-breakpoints-list-handler-custom)
15365         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15366         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15367         (gdb-registers-handler-custom): Align data columns.
15368         (gdb-locals-handler-custom): Now prints data like in variable
15369         declarations.
15370         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15371         Removed confusing buttons.
15372         (gdb-invalidate-threads): Append --frame.
15373         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15374         between breakpoints/threads buffers.
15375         (gdb-set-window-buffer): Now can ignore dedicated windows.
15376         (gdb-propertize-header): Use `gdb-set-window-buffer'.
15377         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15378         (def-gdb-thread-buffer-gud-command): Replaces
15379         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15380         for fine thread control.
15381         (gdb-preempt-existing-or-display-buffer): New function used to
15382         display bound buffers without breaking window layout.
15383         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15384         (gdb-select-frame): New version of `gdb-frames-select' which now
15385         sets `gdb-frame-number' so commands may use --frame option instead
15386         of inner debugger state.
15387         (gdb-frame-handler): Do not set `gdb-frame-number'.
15388         (gdb-threads-mode-map): Select threads with mouse.
15390         * progmodes/gud.el (gdb-gud-context-call): Declare function to
15391         avoid compilation warning.
15392         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15393         `gdb-show-stop-p`.
15395         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15396         Argument `key' renamed to `buffer-type'.
15397         (gdb-current-context-buffer-name): Do not add thread info to
15398         buffer name when no thread is selected.
15399         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15400         command (bug 3794).
15401         (gdb-thread-selected): Handle `=thread-selected' notification.
15402         (gdb-wait-for-pending): New macro to deal with congestion problems.
15403         (gdb-breakpoints-list-handler-custom): Don't fail on pending
15404         breakpoints.
15405         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15406         This fixes problem similar to one described in bug 3947.
15407         (gud-menu-map): More menu items.
15408         (gdb-init-1): Reset `gdb-thread-number' to nil.
15410         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15411         non-stop settings.
15413         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15414         (gdb-current-context-command): Do not append --thread if
15415         `gdb-thread-number' is nil.
15416         (gdb-running-threads-count, gdb-stopped-threads-count): New
15417         variables.
15418         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15419         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15420         customization options.
15421         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15422         GUD commands.
15423         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15424         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15425         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15426         set `gdb-thread-number' and update `gud-running' properly.
15427         (gdb-running): Update threads list when new threads appear.
15428         (gdb-stopped): Support non-stop operation and new thread switching
15429         logic.
15430         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15431         (gdb-json-partial-output): New set of JSON routines.
15432         (def-gdb-auto-update-trigger): New `signal-list' optional
15433         argument.
15434         (gdb-thread-list-handler-custom): Update `gud-running',
15435         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15436         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15437         (gdb-continue-thread, gdb-step-thread): New commands for fine
15438         thread execution control.
15439         (gud-menu-map): New menu items to switch non-stop options.
15440         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15441         (gdb-send): Mimic RET properly (bug 3794).
15443         * progmodes/gdb-mi.el (gdb-rules-name-maker)
15444         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15445         gdb-buffer-rules.
15446         (def-gdb-auto-update-handler): New nopreserve optional argument.
15447         (gdb-stack-list-frames-custom): Print stack from top to bottom.
15449         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15450         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15451         (gdb-parent-mode): New mode to derive other GDB modes from.
15452         (gdb-display-disassembly-for-thread)
15453         (gdb-frame-disassembly-for-thread): New commands for threads
15454         buffer.
15456         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15457         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15458         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15459         (gdb-update): We now store all GDB buffers in a list so that they
15460         can be updated by traversing a list instead of calling invalidate
15461         triggers explicitly.
15462         (def-gdb-trigger-and-handler): New macro to define trigger-handler
15463         pair for GDB buffer.
15464         (gdb-stack-buffer-name): Add thread information.
15465         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15466         handle pending triggers.
15467         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15468         (def-gdb-thread-buffer-simple-command)
15469         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15470         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15471         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15472         New commands which show buffers bound to thread.
15473         (gdb-stack-list-locals-regexp): Removed unused regexp.
15475         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15476         (gdb-locals-buffer-name, gdb-registers-buffer-name)
15477         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15478         to (gud-comint-buffer) in *-buffer-name functions
15479         because (gdb-get-target-string) already does that.
15480         (gdb-locals-handler-custom, gdb-registers-handler-custom)
15481         (gdb-changed-registers-handler): Rewritten without regexps.
15483         * progmodes/gdb-mi.el: Basic thread selection support.
15484         (gdb-thread-number): New variable.
15485         (gdb-current-context-command): New macro which adds --thread
15486         option to command.
15487         (gdb-threads-mode-map): Select thread with SPC.
15488         (gdb-thread-list-handler-custom): Mark current thread with overlay
15489         arrow.  Synchronize GDB thread and Emacs thread.
15490         (gdb-select-thread): New command which selects current thread.
15491         (gdb-invalidate-frames, gdb-invalidate-locals)
15492         (gdb-invalidate-registers): Use --thread option.
15494 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
15496         * net/tramp.el (top): Make check for tramp-gvfs loading more
15497         robust.  (Bug#3977)
15498         (tramp-handle-insert-file-contents): `unwind-protect' must be
15499         inside `with-parsed-tramp-file-name'.
15501         * net/tramp-gvfs.el (top): Remove superfluous message when loading
15502         fails.
15504 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
15506         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15507         directory if CLASSPATH is not set.
15509 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
15511         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15512         New defconst.
15513         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
15515 2009-08-02  Kevin Ryde  <user42@zip.com.au>
15517         * net/newst-backend.el (newsticker--raw-url-list-defaults):
15518         Update freshmeat link.  Delete newsforge.com as it seems gone.
15520 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15522         * select.el (x-set-selection): Doc fix (Bug#4021).
15524         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15526         * help-fns.el (describe-variable): Treat list return values from
15527         dir-locals-find-file properly (Bug#4005).
15529 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
15531         * net/tramp.el (tramp-debug-message): Print also microseconds.
15533 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
15535         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15536         or END is non-nil.
15537         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15538         (tramp-get-debug-buffer): Change `outline-regexp' according to new
15539         format.
15541         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15542         (tramp-get-file-property): Use it.
15544         * autorevert.el (auto-revert-handler): Allow
15545         `auto-revert-tail-mode' for remote files.
15547 2009-08-02  Jason Rumney  <jasonr@gnu.org>
15549         * minibuffer.el (read-file-name): Treat confirm options to
15550         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
15552 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15554         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15555         (font-lock-variable-name-face, font-lock-constant-face): Darken
15556         the colors for light backgrounds.
15558 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
15560         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15561         month names.  (Bug#3987)
15563 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
15565         * simple.el (line-move-finish): Pass whole number to
15566         line-move-to-column.
15567         (line-move-visual): Perform hscroll to the recorded position.
15569 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
15571         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15573 2009-07-29  Alan Mackenzie  <acm@muc.de>
15575         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15577 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
15579         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15580         (gdb-place-breakpoints): Use full path when setting breakpoints.
15582 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
15584         * calc/calc.el (calc-mode-map): Add keybinding for
15585         `calc-transpose-lines'.
15587 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
15589         * calc/calc-misc.el (calc-transpose-lines): New function.
15591 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
15593         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15594         Simplify check for out-of-band methods.
15595         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15596         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
15598 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
15600         * vc-git.el (vc-git-checkin): Fix typo.
15602 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
15604         * progmodes/js2-mode.el: New file.
15606 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
15608         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15609         (gud-menu-map): Adjust tooltip accordingly.
15611 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
15613         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15614         (vc-bzr-log-view-mode): Adjust log-view-file-re.
15616         * add-log.el (change-log-mode-map): Add a menu.
15618 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
15620         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15621         function returns nil.
15622         (dbus-handle-event): Handle special return value :ignore.
15623         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15625 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
15627         * view.el (view-mode-enable): Don't define Helper-return-blurb if
15628         it's not needed.
15630 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
15632         Fix Bug#3888:
15634         * w32-vars.el (x-select-enable-clipboard): Doc fix.
15636         * term/pc-win.el (x-display-name, x-colors)
15637         (x-select-enable-clipboard, x-select-text): Doc fix.
15639         * term/common-win.el (x-display-name, x-colors): Doc fix.
15641         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15642         (xw-defined-colors): Doc fix.
15644         * w32-fns.el (x-select-text, x-setup-function-keys)
15645         (x-get-selection, x-set-selection): Doc fix.
15647         * term/x-win.el (x-select-text, x-setup-function-keys)
15648         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15650         * select.el (x-set-selection): Doc fix.
15652 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
15654         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15655         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
15656         "IsNSSSupportAvailable" method is not available.  Reported by
15657         Steve Youngs <steve@sxemacs.org>.
15659 2009-07-24  Kenichi Handa  <handa@m17n.org>
15661         * international/characters.el: Fix setting of category ?C, ?|, ?K,
15662         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
15663         (build-unicode-category-table): Fix range checks.
15665 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
15667         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15668         the buffer we try to sync is current when calling
15669         vc-resynch-buffer.
15671         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15672         not show up to date files.
15674 2009-07-24  Glenn Morris  <rgm@gnu.org>
15676         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15677         Add autoload cookies.  If necessary, initialize.
15678         (elint-log): Handle non-file buffers.
15679         (elint-initialize): Add optional argument to reinitialize.
15680         (elint-find-builtin-variables): Save excursion.
15682 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
15684         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15685         for Lint.
15687 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
15689         * vc.el (vc-print-log-internal): New function, split out from ...
15690         (vc-print-log): ... here.
15691         (vc-dir-move-to-goal-column): Declare.
15693         * vc-git.el (vc-git-add-signoff): New variable.
15694         (vc-git-checkin): Use it.
15695         (vc-git-toggle-signoff): New function.
15696         (vc-git-extra-menu-map): Bind it to menu.
15697         (vc-git--run-command-string): Accept a nil FILE argument.
15698         (vc-git-stash-list): New function.
15699         (vc-git-dir-extra-headers): Use it.
15701 2009-07-23  Glenn Morris  <rgm@gnu.org>
15703         * help-fns.el (describe-variable): Describe ignored and risky local
15704         variables in a similar way to that in which we describe safe ones.
15706         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15707         (byte-compile-output-file-form, byte-compile-output-docform)
15708         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15709         Give some more local variables with common names a "bytecomp-" prefix,
15710         so as not to shadow things during compilation.
15711         * emacs-lisp/cl-macs.el (load-time-value)
15712         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15713         `outbuffer' to `bytecomp-outbuffer'.
15715         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15716         since the next two variables cover them automatically now.
15717         (elint-builtin-variables, elint-autoloaded-variables): New.
15718         (elint-unknown-builtin-args): Remove all members, since they can be
15719         parsed automatically now.
15720         (elint-extra-errors): New.
15721         (elint-env-add-env, elint-env-add-macro): Use cadr.
15722         (elint-current-buffer): Use or.  Change final message.
15723         (elint-get-top-forms): Use line-end-position.
15724         (elint-init-env): Use cadr.  Handle autoload, declare-function,
15725         and defalias.
15726         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
15727         (regexp-assoc): Remove unused function.
15728         (elint-top-form): Set elint-current-pos, to record the start of the
15729         top-level form, for compilation-mode.
15730         (elint-form): Trap errors in macro expansion.  Use dolist.
15731         (elint-unbound-variable): Use elint-builtin-variables and
15732         elint-autoloaded-variables.
15733         (elint-get-args): Use cadr, or.
15734         (elint-check-cond-form): Use dolist, cadr.
15735         (elint-check-condition-case-form): Doc fix.  Use cadr.
15736         Use elint-extra-errors.
15737         (elint-log): New function.
15738         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15739         Distinguish errors and warnings.
15740         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
15741         Use a bytecomp-style format.
15742         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
15743         (elint-get-log-buffer): Use compilation mode.  Disable undo.
15744         Don't truncate lines.
15745         (elint-initialize): Set builtin and autoloaded variable lists.
15746         Only process elint-unknown-builtin-args if non-nil.
15747         (elint-find-builtin-variables, elint-find-autoloaded-variables):
15748         New functions.
15749         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
15751 2009-07-22  Kevin Ryde  <user42@zip.com.au>
15753         * net/newst-backend.el (newsticker--parse-atom-1.0)
15754         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15755         (newsticker--parse-rss-1.0):
15756         * progmodes/idlwave.el (idlwave-mode):
15757         * progmodes/idlw-shell.el (idlwave-shell-mode):
15758         * progmodes/vera-mode.el (vera-mode):
15759         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15760         * progmodes/vhdl-mode.el (vhdl-mode):
15761         * textmodes/table.el (table-generate-source)
15762         (table--warn-incompatibility):
15763         Hyperlink urls in docstrings with URL `...'.
15765 2009-07-22  Glenn Morris  <rgm@gnu.org>
15767         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15768         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15769         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15770         Remove leading * from defcustom docs.
15772         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
15774         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15775         defcustom doc.
15776         (list-load-path-shadows): Optionally, just return shadows as a string.
15778         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15780 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
15782         * mail/rmailedit.el (rmail-edit-mode): Use
15783         auto-save-include-big-deletions.
15785         * mail/rmail.el (rmail-variables): Use
15786         auto-save-include-big-deletions.
15788         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15789         changes.
15791 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
15793         * calc/calc.el (calc-undo-length): New variable.
15794         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15796 2009-07-21  Richard Stallman  <rms@gnu.org>
15798         * files.el (auto-save-mode): Handle buffer-save-size = -2
15799         for toggling mode.
15801 2009-07-21  Glenn Morris  <rgm@gnu.org>
15803         * textmodes/ispell.el (ispell-looking-back): Update declaration.
15805         * calendar/todo-mode.el (calendar-current-date): Update declaration.
15807         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15808         silence compiler.  Instead...
15809         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15810         (ps-print-ensure-fontified): Update for above function name changes.
15812         * printing.el (pr-mh-get-msg-num, pr-mh-show)
15813         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15814         silence compiler.  Instead...
15815         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15816         (mh-show-buffer): Only define for compiler.
15817         (pr-mh-current-message): Update for above function name changes.
15819         * files.el (abort-if-file-too-large): Explicitly pass `filename'
15820         as an argument.
15821         (find-file-noselect, insert-file-1): Update for above change.
15823         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15825         * mail/mailclient.el (mailclient-send-it): Fix message.
15827         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15828         (edebug-eval): Check cl-debug-env is bound.
15829         (print-level, print-circle): Don't redefine built-in variables.
15831         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15832         (custom-print-vectors): Remove old comments from doc.
15834         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15835         (emerge-version): Make the variable an obsolete alias for the
15836         emacs-version variable.  Make the function obsolete.
15837         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15838         Emerge options, rather than merging in into the main Options menu.
15839         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
15840         and auto advance modes.  Disable edit/fast items when not relevant.
15842 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
15844         * term/vt420.el (terminal-init-vt420): Fix typo.
15846 2009-07-20  Sam Steingold  <sds@gnu.org>
15848         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15849         variable (removed from compile.el on 2004-03-11).
15851 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
15853         * files.el (hack-local-variables-filter): Fix last change.
15855 2009-07-19  Juri Linkov  <juri@jurta.org>
15857         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15858         (dir-local-variables-alist): New buffer-local variable.
15859         (hack-local-variables-filter): If variable is not dir-local,
15860         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15861         because file-local overrides dir-local.
15862         (c-postprocess-file-styles) <declare-function>:
15863         Remove obsolete declaration.
15864         (hack-dir-local-variables): Add dir-local variable/value pair to
15865         `dir-local-variables-alist' and remove duplicates.  Doc fix.
15867         * help-fns.el (describe-variable): Add information about
15868         file-local and dir-local variables.
15870 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
15872         * files.el (hack-local-variables-filter): Rewrite.
15874 2009-07-19  Glenn Morris  <rgm@gnu.org>
15876         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15877         Silence compiler by only defining on XEmacs.
15879         * international/mule.el (auto-coding-regexp-alist): Only match
15880         BABYL... at the start of buffer, not of lines.  (Bug#3790)
15882         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15883         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
15884         (cal-menu-context-mouse-menu): Doc fix.
15886         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15888         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
15890 2009-07-18  Juri Linkov  <juri@jurta.org>
15892         * info.el: Virtual Info keyword finder.
15893         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15894         (Info-finder-file): New variable.
15895         (Info-finder-find-file): New function.
15896         (finder-known-keywords, finder-package-info)
15897         (find-library-name, lm-commentary): Use defvar and
15898         declare-function to silence compiler warnings.
15899         (Info-finder-find-node): New function.
15900         (info-finder): New command.
15902         * subr.el (process-kill-buffer-query-function): New function.
15903         (add-hook)<kill-buffer-query-functions>: Add hook
15904         `process-kill-buffer-query-function'.
15906 2009-07-18  Alan Mackenzie  <acm@muc.de>
15908         * progmodes/cc-mode.el (c-before-hack-hook)
15909         (c-postprocess-file-styles): Give invocation of `c-set-style'
15910         DONT-OVERRIDE parameter of t.  Already set style variables will
15911         thus not be overridden by style settings given by `c-file-syle'.
15913         * files.el (hack-local-variables-filter): Remove entries with
15914         duplicate keys from `file-local-variables-alist'.
15916 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15918         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15919         x-set-selection if display-selections-p returns nil for the
15920         current frame.
15922 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
15924         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15926 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15928         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15929         Accept nil in addition to a regexp.
15930         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15931         Accept nil in addition to a regexp.
15932         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15933         buffers that have an associated file.  Handle nil values of
15934         desktop-buffers-not-to-save and desktop-files-not-to-save.
15935         (Bug#3833)
15937         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15938         (x-disown-selection-internal): New functions.
15940 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
15942         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15943         warning.
15944         (gdb-breakpoints-header): Move forward to avoid compiler warning.
15945         (gdb-make-header-line-mouse-map): Remove duplicate definition.
15947 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
15949         * simple.el (set-mark): Revert last change.
15951 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
15953         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15954         rendering of pngs is not possible instead of messaging a long
15955         description.
15957 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
15959         * w32-fns.el (x-selection-owner-p): New function.
15961         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15962         (mouse-yank-at-click, mouse-yank-primary): If
15963         select-active-regions is non-nil, deactivate the mark before
15964         insertion.
15966         * simple.el (deactivate-mark, set-mark): Only save selection if we
15967         own it.
15969 2009-07-17  Kenichi Handa  <handa@m17n.org>
15971         * case-table.el (describe-buffer-case-table): Fix for the case
15972         that KEY is a cons.
15974 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
15976         * vc-rcs.el (vc-rcs-find-file-hook):
15977         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15979 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
15981         * net/tramp.el (tramp-wait-for-output): Handle the case when
15982         commands do not return a newline but a null byte before the shell
15983         prompt.  (Bug#3858)
15985 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15987         * term/ns-win.el (ns-set-alpha): Don't declare.
15988         (ns-set-background-alpha): Remove function.
15990 2009-07-16  Kevin Ryde  <user42@zip.com.au>
15992         * emacs-lisp/copyright.el (copyright-update): Save match-data across
15993         y-or-n-p, for safety.
15995 2009-07-16  Richard Stallman  <rms@gnu.org>
15997         * files.el (auto-save-mode): If buffer-saved-size is -2,
15998         don't clobber it.
16000         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16001         (rmail-retry-ignored-headers): Add more uninteresting fields.
16003 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
16005         * net/rcirc.el (rcirc): Use history variables.
16006         (rcirc-server-name-history, rcirc-nick-name-history)
16007         (rcirc-server-port-history): New variables.
16009 2009-07-15  Kenichi Handa  <handa@m17n.org>
16011         * international/mule-cmds.el (set-language-environment-charset):
16012         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16013         ignore them.
16015         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16016         Delete unibyte-display.
16018 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16020         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16022 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16024         * simple.el (deactivate-mark): Optional argument FORCE.
16025         (set-mark): Use deactivate-mark.
16027         * info.el (Info-search): No need to check transient-mark-mode
16028         before calling deactivate-mark.
16030         * select.el (x-set-selection): Doc fix.
16031         (x-valid-simple-selection-p): Allow buffer values.
16032         (xselect--selection-bounds): Handle buffer values.  Suggested by
16033         David De La Harpe Golden.
16035         * mouse.el (mouse-set-region, mouse-drag-track): Call
16036         copy-region-as-kill before setting the mark, to let
16037         select-active-regions work.
16039 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
16041         * simple.el (deactivate-mark): If select-active-regions is
16042         non-nil, copy the selection data into a string.
16043         (activate-mark): If select-active-regions is non-nil, set the
16044         selection to the current buffer.
16045         (set-mark): Update selection if select-active-regions is non-nil.
16047         * select.el (x-valid-simple-selection-p): Allow buffer values.
16049 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16051         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16052         and more featureful message-mode.
16054 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
16056         * select.el (x-set-selection): Doc fix.
16057         (x-valid-simple-selection-p): Disallow selection data consisting
16058         of a list or cons of integers, since that is not used.
16059         (xselect--selection-bounds, xselect--int-to-cons): New functions.
16060         (xselect-convert-to-string, xselect-convert-to-length)
16061         (xselect-convert-to-filename, xselect-convert-to-charpos)
16062         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16064 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
16066         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16067         output in -break-info command (Emacs bug #3794).
16069 2009-07-14  Glenn Morris  <rgm@gnu.org>
16071         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16072         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16073         (edebug-print-length, edebug-print-level, edebug-print-circle)
16074         (edebug-sit-for-seconds, edebug-view-outside)
16075         (edebug-bounce-point, edebug-set-global-break-condition)
16076         (edebug-Go-nonstop-mode, edebug-trace-mode)
16077         (edebug-Trace-fast-mode, edebug-continue-mode)
16078         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16079         (edebug-visit-eval-list): Doc fixes.
16081         * subr.el (def-edebug-spec): Doc fix.
16083 2009-07-14  Kenichi Handa  <handa@m17n.org>
16085         * international/characters.el: Fix setting of category ?C.
16087 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
16089         * term/ns-win.el (x-select-font): defalias x-select-font to
16090         ns-popup-font-panel instead of generate-fontset-menu.
16092 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
16094         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
16096 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
16098         * arc-mode.el (archive-find-type): Allow for a PK00 string before
16099         the PK\003\004 header (Bug#3770).
16101 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
16103         * pcomplete.el (pcomplete-comint-setup): Check for
16104         shell-dynamic-complete-filename too.
16106 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
16108         * simple.el (temporary-goal-column): Change the value for
16109         line-move-visual to a cons cell.
16110         (line-move-visual): Record or set the window hscroll, if
16111         necessary (Bug#3494).
16112         (line-move-1): Handle cons value of temporary-goal-column.
16114 2009-07-11  Kenichi Handa  <handa@m17n.org>
16116         * international/mule-diag.el (describe-character-set): Don't show
16117         width.
16119 2009-07-10  Sam Steingold  <sds@gnu.org>
16121         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16122         Omake sometimes indents the errors it prints, so allow all
16123         regexps to start with spaces.
16125 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
16127         * cus-edit.el (customize-changed-options-previous-release):
16128         Bump value to 22.1.  (Bug#3804)
16130 2009-07-08  Sam Steingold  <sds@gnu.org>
16132         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16133         to be a cons cell (test . ignored-directory) to selectively ignore
16134         some directories depending on the location of the search.
16136 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
16138         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16139         remote user is root, on the local host.
16140         (tramp-local-host-p): Either the local user or the remote user
16141         must be root.  (Bug#3771)
16143 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16145         * progmodes/gdb-mi.el (gdb): Remove description of
16146         gdb-use-separate-io-buffer.
16147         (menu): Don't allow toggling of or enable
16148         gdb-use-separate-io-buffer from menubar.
16150 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16152         * mail/unrmail.el (unrmail): Make sure the message ends with two
16153         newlines (Bug#3769).
16155 2009-07-08  Glenn Morris  <rgm@gnu.org>
16157         * calendar/calendar.el (calendar-current-date): Rework previous change.
16159 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
16161         * calendar/calendar.el (calendar-current-date):
16162         Add an optional argument giving an offset from today.
16164 2009-07-08  Glenn Morris  <rgm@gnu.org>
16166         * tutorial.el (tutorial--describe-nonstandard-key):
16167         Adjust the message for when a key has been unbound.
16168         (help-with-tutorial): Hide the arch-tag.
16170 2009-07-08  Kenichi Handa  <handa@m17n.org>
16172         * international/fontset.el (setup-default-fontset): For each
16173         script, append (not set) font-specs.
16175         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16176         docstring.
16178 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16180         * progmodes/gdb-mi.el (gdb-init-1): Move sending
16181         -data-list-register-names to ...
16182         (gdb-starting): ... here because GDB 7.0 requires execution to
16183         have started when using this MI command.
16184         (gdb-set-header): New function to distinguish select and
16185         unselected tabs in gdb buffers.
16186         (gdb-propertize-header): New macro that uses gdb-set-header.
16187         (gdb-breakpoints-header, gdb-locals-header): Use it.
16188         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16190 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
16192         * Makefile.in (ELCFILES): Remove fadr.elc.
16194 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
16196         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16197         may contain frame information, so `string-match' should be used.
16198         (gdb-update): Disassembly is invalidated through
16199         `gdb-get-selected-frame'.
16200         (gdb-pad-string): New function to pad string with spaces.
16201         (gdb-invalidate-disassembly): Invalidate only if the buffer
16202         exists.
16203         (gdb-disassembly-handler-custom): Column alignment.
16204         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16205         placing new ones.
16206         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16207         end of line, too.
16208         (gdb-frame-handler): Match convention to for disassembly buffer
16209         mode name.
16210         (gdb-stack-list-frames-handler): Rewritten without regexps.
16211         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16212         not highlight breakpoints without line information.
16213         (gdb-input): Add trailing newline to command.
16215         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16216         buffer properly.
16217         (gdb-breakpoints-list-handler-custom): Replacement for
16218         `gdb-break-list-handler'.  Using real parser instead of regexps
16219         now.
16220         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16221         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16222         to place breakpoints.
16223         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16224         functions.
16225         (gdb-disassembly-handler-custom): Show overlay arrow.
16226         (gdb-disassembly-place-breakpoints): Show breakpoints in
16227         disassembly buffer.
16228         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16229         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16230         instead of parsing breakpoints buffer.  Fixed old menu references
16231         in `gud-menu-map'.
16233         * fadr.el: Remove.
16235         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16236         (gdb-memory-address): New variable which holds top address of
16237         memory page shown in memory buffer.
16238         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16239         customization variables.
16240         New functions:
16241         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16242         display the memory buffer.
16243         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16244         buffer display parameters.
16245         (def-gdb-memory-format, gdb-memory-format-binary)
16246         (gdb-memory-format-octal, gdb-memory-format-unsigned)
16247         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16248         Functions for setting memory buffer format.
16249         (gdb-memory-unit-word, gdb-memory-unit-halfword)
16250         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16251         unit size used in memory buffer.
16252         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16253         to next/previous page of memory buffer.
16254         Now using (bindat-get-field) instead of fadr functions.
16256 2009-07-07  Sam Steingold  <sds@gnu.org>
16258         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16259         non-top-level files.
16261 2009-07-07  Kenichi Handa  <handa@m17n.org>
16263         * international/mule-cmds.el (reset-language-environment): Put
16264         the highset priority to the charset iso-8859-1.
16266 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16268         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16269         to the end of the line when locating the block (Bug#700).
16271 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
16273         * net/tramp.el (tramp-handle-write-region): Flush file properties
16274         in case of short track.
16276 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
16278         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16279         Coded custom representation of verilog error regular expressions
16280         to work with Emacs-22's new format.
16281         (verilog-error-regexp-xemacs-alist): Coded custom representation
16282         of verilog error regular expressions to work with XEmacs format.
16283         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16284         error recognition into XEmacs.
16285         (verilog-error-regexp-add-emacs): Hook routine to install verilog
16286         error recognition into Emacs-22.
16288 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16290         * woman.el: Remove stand-alone closing parentheses.
16291         (woman-file-name, woman2-format-paragraphs)
16292         (woman-leave-blank-lines): Code cleanup.
16293         (woman-use-own-frame): Change default to nil.
16294         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16295         defaults to inherit from default faces.
16296         (woman2-process-escapes): Consume the newline after a stand-alone
16297         filler character (Bug#3651).
16299 2009-07-06  Glenn Morris  <rgm@gnu.org>
16301         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16302         (top-level): Move provide to the end.
16303         (ffap): Remove defunct URL from custom group.
16305         * subr.el (eval-after-load): Doc fix.
16307 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
16309         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16310         `calc-embedded-word' is called twice.
16312 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16314         * files.el (find-alternate-file-other-window, find-alternate-file):
16315         Obey confirm-nonexistent-file-or-buffer.
16317 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
16319         * dired-aux.el (dired-show-file-type): Handle remote files.
16321 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
16323         * desktop.el (desktop-globals-to-save):
16324         Add file-name-history (Bug#2750).
16326 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
16328         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16330 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
16332         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16333         property on entire argument since this is what eshell-lisp-command
16334         expects.
16336 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
16338         * net/tramp-gvfs.el (tramp-gvfs-methods)
16339         (tramp-gvfs-zeroconf-domain)
16340         (tramp-bluez-discover-devices-timeout): Add version flag.
16341         (tramp-gvfs-handler-mounted-unmounted)
16342         (tramp-gvfs-connection-mounted-p): Polish handling of
16343         incompatibilities between GVFS 0.2 and 1.0.
16345 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
16347         * cus-start.el (all): Add make-pointer-invisible.
16349 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
16351         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16352         formatted correctly.
16354 2009-07-02  Juri Linkov  <juri@jurta.org>
16356         * info.el: Virtual Info files and nodes.
16357         (Info-virtual-files, Info-virtual-nodes): New variables.
16358         (Info-current-node-virtual): New variable.
16359         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16360         New functions.
16361         (Info-file-supports-index-cookies): Use Info-virtual-file-p
16362         to check for a virtual file instead of checking a fixed list
16363         of node names.
16364         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16365         instead of ad-hoc processing of "dir" and (apropos history toc).
16366         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16367         instead of ad-hoc processing of "dir" and (apropos history toc).
16368         Reread a file when moving from a virtual node.
16369         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16370         (Info-directory-toc-nodes, Info-directory-find-file)
16371         (Info-directory-find-node): New functions.
16372         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16373         (Info-history): Move part of code to
16374         `Info-history-find-node'.
16375         (Info-history-toc-nodes, Info-history-find-file)
16376         (Info-history-find-node): New functions.
16377         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16378         (Info-toc): Move part of code to `Info-toc-find-node'.
16379         (Info-toc-find-node): New function.
16380         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
16381         the current Info file name to references because now the node
16382         "*TOC*" belongs to the same Info manual.
16383         (Info-toc-build): Rename from `Info-build-toc'.
16384         (Info-toc-nodes): Rename input argument `file' to `filename'.
16385         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16386         instead of ad-hoc processing of ("dir" apropos history toc).
16387         (Info-index-nodes): Use Info-virtual-file-p
16388         to check for a virtual file instead of checking a fixed list
16389         of node names.
16390         (Info-index-node): Add check for `Info-current-node-virtual'.
16391         Raise `save-match-data' higher up the tree to contain
16392         `search-forward' too (bug fix).
16393         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16394         (Info-virtual-index-nodes): New variable.
16395         (Info-virtual-index-find-node, Info-virtual-index): New functions.
16396         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16397         (Info-apropos-file, Info-apropos-nodes): New variables.
16398         (Info-apropos-toc-nodes, Info-apropos-find-file)
16399         (Info-apropos-find-node, Info-apropos-matches): New functions.
16400         (info-apropos): Move part of code to `Info-apropos-find-node' and
16401         `Info-apropos-matches'.
16402         (Info-mode-map): Bind "I" to `Info-virtual-index'.
16403         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16404         for a virtual file instead of checking a fixed list of node names.
16406         * simple.el (async-shell-command): New command.
16408         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16410         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16411         instead of `mount-info'.
16413 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
16415         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16416         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16418 2009-07-02  Kenichi Handa  <handa@m17n.org>
16420         * international/mule.el (set-keyboard-coding-system): Force *-unix
16421         coding-system to avoid eol conversion.
16423 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
16425         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16426         Add handler for `process-file', `shell-command' and
16427         `start-file-process'.
16428         (tramp-gvfs-handle-shell-command)
16429         (tramp-gvfs-handle-start-file-process)
16430         (tramp-gvfs-handle-process-file): New defuns.
16431         (tramp-synce-list-devices): Simplify check for existence of property.
16433 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
16435         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16437 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
16439         * language/korean.el (set-language-info-alist): Add korean-cp949,
16440         cp949 to spec.
16442 2009-07-01  Kenichi Handa  <handa@m17n.org>
16444         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16446         * international/encoded-kb.el: Deleted.
16448         * international/mule.el (set-keyboard-coding-system): Perform the
16449         necessary setup here instead of calling encoded-kbd-setup-display.
16451 2009-07-01  Glenn Morris  <rgm@gnu.org>
16453         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16455 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
16457         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
16459 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
16461         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16462         Handle also the 'rename case, when setting file modes.  (Bug#3712)
16463         (tramp-default-file-modes): Remove execute permissions.
16465         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16466         (top): Add a default for "synce" in `tramp-default-user-alist'.
16467         Add completion function for "synce" method.
16468         (tramp-hal-service, tramp-hal-path-manager)
16469         (tramp-hal-interface-manager, tramp-hal-interface-device):
16470         New defconst.
16471         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16472         (tramp-synce-list-devices, tramp-synce-parse-device-names):
16473         New defuns.
16475         * net/trampver.el: Update release number.
16477 2009-06-30  Kenichi Handa  <handa@m17n.org>
16479         * international/fontset.el (setup-default-fontset): Add CJK fonts
16480         for symbols and the other miscellaneous characters.
16482         * language/korea-util.el (setup-korean-environment-internal):
16483         Make char-width-table suitable for Korean environments.
16484         (exit-korean-environment): Cancel above.
16486         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16487         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16488         setup-function to make char-width-table suitable for respective
16489         environments, and an exit-function to cancel that.
16491         * language/japan-util.el (setup-japanese-environment-internal):
16492         Call use-cjk-char-width-table with arg `ja_JP'.
16494         * international/characters.el (cjk-char-width-table): Delete it.
16495         (cjk-char-width-table-list): New variable.
16496         (use-cjk-char-width-table): New arg local-name.
16497         (use-default-char-width-table): Fix for the case that Emacs is
16498         already using the default char-width-table.
16500 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
16502         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16503         modes mandatory.  (Bug#3712)
16505 2009-06-29  Alan Mackenzie  <acm@muc.de>
16507         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16508         correction between the visible width of TABs and their number of bytes.
16510 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
16512         * server.el (server-buffer-done): Prevent kill-buffer from
16513         prompting by clearing the buffer modification flag (Bug#3696).
16515 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
16517         * progmodes/verilog-mode.el (verilog-beg-of-statement)
16518         (verilog-endcomment-reason-re): Support unique case and priority case.
16519         (verilog-basic-complete-re): Support localparam lineup.
16520         (verilog-beg-of-statement-1): Fix for robustness, unique case.
16521         (verilog-set-auto-endcomments): Fix for unique case, always_comb
16522         commenting.
16523         (verilog-leap-to-case-head): Now support *nested* unique &
16524         priority case statements.
16525         (verilog-auto-lineup): Make just declarations the default (as it
16526         had been).
16527         (verilog-leap-to-case-head): Support priority/unique case statements.
16528         (verilog-auto-lineup): Rework to give users radio buttons to
16529         select the various styles of automatic lineup.
16530         (verilog-error-regexp-alist): Rework to support the XEmacs style
16531         of error regular expressions from compilers, lint tools &
16532         simulators.  Note that GNU Emacs has made it impossible for a mode
16533         to load such things.
16534         (electric-verilog-terminate-line, verilog-indent-declaration)
16535         (verilog-auto-wiure): Rework for radio button selection of
16536         auto-lineup selection of specification of auto lineup.
16537         (verilog-beg-of-statement-1): Redesign to support proper operation
16538         in additional code, based on testing with auto-lineup.
16539         (verilog-calculate-indent, assignments & declarations)
16540         (verilog-backward-token): Enhance to support auto-lineup of
16541         assignments & declarations.
16542         (verilog-in-directive-p, verilog-at-struct-p): New function for
16543         easy test of whether we are.
16544         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16545         to support safe execution at almost anyline.
16546         (verilog-calc-1): Properly support indenting deep inside generate
16547         blocks.
16548         (verilog-init-font): Remove definition & use of verilog-init-font,
16549         as it is redundant with font-lock-defaults.
16550         (verilog-mode): Alter the definition of verilog-font-lock-defaults
16551         to avoid circular calls if syntax-ppss is a function (as is the
16552         case now in 22.x GNU Emacs) as that function would sometimes call
16553         itself, leading to (nearly) infinite recursion.
16554         (verilog-ovm-begin-re, verilog-ovm-end-re)
16555         (verilog-ovm-statement-re, verilog-leap-to-head)
16556         (verilog-backward-token): Add support for OVM macros.  Some are
16557         complete statements, and others open and close scopes like begin
16558         and end.
16559         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16560         (verilog-defun-level-generate-only-re): Really fix the defun-list
16561         compilation issue.
16562         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16563         coverpoint, constraint and cross statements.
16564         (verilog-defun-level-list, verilog-generate-defun-level-list)
16565         (verilog-all-defun-level-list): Redo these specifications - it is
16566         too hard to support eval-when compile aggregation of lists also
16567         built at when-compile time.
16568         (verilog-defun-level-list): Place defconsts of variables used in
16569         building regular expressions which are built in eval-when-compile
16570         bodies in the same eval-when-compile body to facilitate compile
16571         without load.
16572         (verilog-beg-block-re-ordered): Support indenting
16573         virtual/protected tasks and functions.
16574         (verilog-defun-level-list, verilog-in-generate-region-p)
16575         (verilog-backward-ws&directives, verilog-calc-1): Speed up
16576         indentation of some module items (generate items).
16577         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16578         across virtual/protected tasks and functions.
16580 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
16582         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16583         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
16584         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16585         in concatenations.  Reported by Yishay Belkind.
16586         (verilog-auto-ascii-enum): Support one-hot state machines in
16587         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
16588         (verilog-auto-inst, verilog-auto-inst-port): Include interface
16589         modport in AUTOINST and add vl-modport for users.  Reported by
16590         David Rogoff.
16591         (verilog-auto-inout-module, verilog-auto-inst)
16592         (verilog-decls-get-interfaces, verilog-insert-definition)
16593         (verilog-insert-one-definition, verilog-read-decls)
16594         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16595         (verilog-sig-modport, verilog-signals-combine-bus)
16596         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16597         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16598         Suggested by David Rogoff.
16599         (verilog-repair-open-comma): Fix non-insertion of comma when
16600         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
16601         (verilog-make-width-expression): Simplify [A-1:0] expression
16602         widths to just {A{1'b0}}.
16603         (verilog-mode): Cleanup checkdoc warnings.
16604         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16605         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16606         inputs/outputs or data type.  Suggested by Vasu Kandadi.
16607         (next-error-last-buffer): Fix byte-compiler warning.
16608         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16609         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16610         or shell command text during AUTO expansion.  Suggested by Tad Truex.
16611         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16612         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16613         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16614         in AUTOINOUT.  Reported by Matthew Lovell.
16615         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16616         causing use of <= assignments.  Reported by Alex Reed.
16617         (verilog-read-decls): Fix triand, trior, wand, wor to be
16618         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
16619         (verilog-extended-complete-re): Support import "DPI-C" functions.
16620         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16621         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
16622         (verilog-insert-date, verilog-insert-year)
16623         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16624         Windows systems.  Reported by Michael Potts.
16625         (verilog-read-module-name): Fix AUTOINST when the child module
16626         declaration's name is a tick define.  Reported by Elliot Mednick.
16627         (verilog-read-decls): Fix V2K parameter bit subscripts getting
16628         passed to next parameter's definition.  Reported by Bruce T.
16629         (verilog-read-decls): Fix detecting "parameter int" when using
16630         AUTOINSTPARAM.  Reported by Bruce T.
16631         (verilog-goto-defun): Fix goto not finding modules unless first
16632         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
16633         (verilog-mode): Expand -f flag arguments on entry to mode so
16634         verilog-goto-defun will work.  Reported by Lawrence Butcher.
16635         (verilog-getopt): Expand environment variables in -f file
16636         arguments.  Suggested by Lawrence Butcher.
16637         (verilog-set-define): Fix "Symbol's value as variable is void"
16638         when reading enumerations.
16639         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16640         Suggested by Stephen Peltan.
16641         (verilog-read-defines): Fix reading of enumerations in include
16642         files.  Reported by Steve Peltan.
16644 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16646         * files.el (trash-directory): Fix defcustom type.
16648 2009-06-28  Juri Linkov  <juri@jurta.org>
16650         * help-fns.el (describe-function-1): Correctly locate adviced
16651         functions in hyperlink (Bug#2438).
16653 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
16655         * files.el (trash-directory): Change default to nil.
16656         (move-file-to-trash): If trash-directory is nil and
16657         system-move-file-to-trash is unbound, perform freedesktop-style
16658         trashing.
16660 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16662         * files.el (move-file-to-trash): Add freedesktop trash
16663         support (Bug#973).
16665 2009-06-28  Glenn Morris  <rgm@gnu.org>
16667         * autorevert.el (global-auto-revert-non-file-buffers)
16668         (global-auto-revert-mode): Doc fixes.
16670 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
16672         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16674 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
16676         * faces.el (x-handle-named-frame-geometry): Ensure that we have
16677         opened an X connection before calling x-get-resource (Bug#3194).
16679         * play/doctor.el: Remove reference to obsolete website.
16680         (make-doctor-variables): Correct grammar mistake (Bug#2633).
16682 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
16684         Remove find-file-not-found-hook VC method.  (Bug#2757)
16685         * vc-hooks.el (vc-file-not-found-hook)
16686         (vc-default-find-file-not-found-hook): Remove functions.
16687         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16688         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16689         * vc.el:
16690         * vc-hg.el:
16691         * vc-git.el: Do not mention find-file-not-found-hook VC method.
16693 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
16695         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16696         compatibility function for `looking-back'.
16698         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16699         Use `ispell-looking-back'.
16701 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
16703         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16704         rather than `filename'.
16706 2009-06-23  Miles Bader  <miles@gnu.org>
16708         * face-remap.el (text-scale-set): New function.
16710 2009-06-23  Glenn Morris  <rgm@gnu.org>
16712         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16714         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16716         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16718         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16720         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16721         Simplify Persian conditionals.
16723         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16724         variable `filename'.
16726         * comint.el (comint-insert-input): Doc fix.
16728         * Makefile.in (ELCFILES): Fix typo in previous change.
16730 2009-06-23  Miles Bader  <miles@gnu.org>
16732         * cus-start.el: Add entry for `recenter-redisplay'.
16734 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16736         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16737         Add an optional argument for the backend, use it instead of
16738         calling vc-backend.
16739         (vc-mode-line): Add an optional argument for the backend.
16740         Pass the backend to vc-state and vc-working-revision.  Move code for
16741         special handling for vc-state being a buffer to ...
16743         * vc-rcs.el (vc-rcs-find-file-hook):
16744         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
16746         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16747         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16748         vc-stay-local-p and vc-mode-line calls.
16750         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16751         (vc-cvs-diff, vc-cvs-annotate-command)
16752         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16753         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16754         vc-mode-line calls.
16756         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16757         direct comparison.
16758         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16759         backend when calling vc-mode-line.
16760         (vc-register): Do not create a closure for calling the vc register
16761         function, call it directly.
16763 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16765         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16766         to make it obvious item can be clicked.
16768         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16770 2009-06-23  Kenichi Handa  <handa@m17n.org>
16772         * language/korea-util.el (korean-key-bindings): Change the binding
16773         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
16774         same command.
16776 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
16778         Sync with Tramp 2.1.16.
16780         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16782         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
16783         when a loading of a package fails.  Completion function for rsync
16784         is `tramp-completion-function-alist-ssh'.
16785         (all): Replace all calls of `split-string' and
16786         `tramp-split-string' by `tramp-compat-split-string'.
16787         (tramp-default-method): Use `tramp-compat-process-running-p'.
16788         (tramp-default-proxies-alist): Allow also Lisp forms.
16789         (tramp-remote-path): Add choice "Private Directories".
16790         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16791         (tramp-domain-regexp): Allow also "-", "_" and ".".
16792         (tramp-end-of-output): Remove newlines, and add "$" at the end.
16793         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16794         (tramp-debug-message): Insert header line in debug buffer.
16795         (tramp-handle-directory-files-and-attributes-with-stat):
16796         Care about filenames with spaces, or starting with "-".
16797         (tramp-handle-dired-uncache): New defun.
16798         (tramp-handle-insert-directory): Don't flush the directory from
16799         cache, this is handled by `dired-uncache' now.
16800         (tramp-handle-insert-file-contents): Improve error handling.
16801         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16802         Quote `tramp-end-of-output'.
16803         (tramp-action-password): Improve trace message.
16804         (tramp-check-for-regexp): Both echoes must be present, before removing.
16805         (tramp-open-connection-setup-interactive-shell): Trace coding system.
16806         (tramp-compute-multi-hops): Eval cons cells of
16807         `tramp-default-proxies-alist'.
16808         (tramp-maybe-open-connection): Use the same command pattern for
16809         first hop and further hops.
16810         (tramp-wait-for-output): Remove handling of newlines.
16811         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16812         (tramp-split-string): Remove function.  It is handled in
16813         tramp-compat now.
16815         * net/tramp-cmds.el (tramp-bug):
16816         Recommend `tramp-cleanup-all-connections' in the bug mail.
16818         * net/tramp-compat.el (tramp-compat-split-string)
16819         (tramp-compat-process-running-p): New defuns.
16821         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16822         for `dired-uncache'.
16824         * net/tramp-gvfs.el: New package.
16826         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16827         Add handler for `dired-uncache'.
16828         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16830         * net/trampver.el: Update release number.  Make version check fit
16831         for SXEmacs 22.
16833 2009-06-22  Jim Meyering  <meyering@redhat.com>
16835         Automatically handle .xz suffix (XZ-compressed files), too.
16836         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16837         XZ is the successor to LZMA: <http://tukaani.org/xz/>
16839 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
16840             Nick Roberts  <nickrob@snap.net.nz>
16842         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16843         repository (http://sphinx.net.ru/hg/gdb-mi/).
16845 2009-06-22  Glenn Morris  <rgm@gnu.org>
16847         * files.el (dir-locals-collect-mode-variables): Allow for any number of
16848         `mode' and `eval' entries.  (Bug#3430)
16850         * Makefile.in (ELCFILES): Add fadr.elc.
16852         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16853         differing behavior of \n and ^ in strings.  (Bug#3385)
16855         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16857         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16858         property.
16859         (lisp-indent-function): Make it a defcustom.
16861 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
16863         * progmodes/gdb-ui.el: Replace with ...
16864         * progmodes/gdb-mi.el: ... this file.
16865         * progmodes/gud.el: Modify for gdb-mi.el.
16867 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
16869         * fadr.el: New file.
16871 See ChangeLog.14 for earlier changes.
16873 ;; Local Variables:
16874 ;; coding: utf-8
16875 ;; End:
16877     Copyright (C) 2009, 2010  Free Software Foundation, Inc.
16879   This file is part of GNU Emacs.
16881   GNU Emacs is free software: you can redistribute it and/or modify
16882   it under the terms of the GNU General Public License as published by
16883   the Free Software Foundation, either version 3 of the License, or
16884   (at your option) any later version.
16886   GNU Emacs is distributed in the hope that it will be useful,
16887   but WITHOUT ANY WARRANTY; without even the implied warranty of
16888   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16889   GNU General Public License for more details.
16891   You should have received a copy of the GNU General Public License
16892   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
16894 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1