Fix previous merge from Gnus trunk.
[emacs.git] / lisp / ChangeLog
blob07dbc824cd5b2adf258251c90a3402936b7c4178
1 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3         * net/tls.el (tls-starttls-switches): New variable.
4         (tls-find-starttls-argument): Use it.
5         (open-tls-stream): Ditto.
7         * net/netrc.el (netrc-credentials): Return the value of the "default"
8         entry.
9         (netrc-machine): Ditto.
11 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
13         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
15 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
17         * server.el (server-start): Don't write pid to the authentication file.
18         (server-create-tty-frame): Don't send pid.
19         (server-process-filter): Send pid at the start of every connection.
21 2010-09-30  Glenn Morris  <rgm@gnu.org>
23         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
24         (show-all-diary-entries): Remove obsolete function aliases.
26         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
27         Remove options, obsolete since 22.1.
28         (appt-display-format, appt-display-message): Remove
29         backwards-compatibility code.
30         (appt-check): No longer check appt-issue-message.
31         (appt-make-list): No longer autoload it.  Doc fix.  No longer
32         activate the package.
34 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
36         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
37         (starttls-negotiate): Just call boot, and let the handshake be
38         triggered from the read loop.
40 2010-09-29  Glenn Morris  <rgm@gnu.org>
42         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
43         not displaying the diary.
44         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
45         * calendar/appt.el (appt-check): No longer need to kill diary.
47         * calendar/diary-lib.el (diary-list-entries): Move the
48         "Preparing..." message entirely here.
49         (diary-simple-display, diary-fancy-display): Move "Preparing..."
50         messages to diary-list-entries.
51         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
52         diary-display-function.
54         * calendar/diary-lib.el (diary-include-other-diary-files):
55         Trap some recursive includes.
57         * calendar/appt.el (appt-activate): Check diary file.
59 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
61         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
62         construction.
64         * calendar/time-date.el: No need to require cl for Emacs 21.
66 2010-09-28  Glenn Morris  <rgm@gnu.org>
68         * calendar/appt.el (appt-check): Minor simplification.
70 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
72         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
73         citation prefix.
75 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
77         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
78         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
80 2010-09-27  Kenichi Handa  <handa@m17n.org>
82         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
83         "ustar" format.
85 2010-09-27  Kenichi Handa  <handa@m17n.org>
87         * international/mule.el (define-coding-system): Docstring fixed.
89         * international/mule-diag.el (describe-character-set): Use princ
90         with proper print-length and print-level instead of insert.
92 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
94         * window.el (walk-windows): Doc fix (bug#7105).
96 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
98         * emacs-lisp/float-sup.el (e): Remove.
100 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
102         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
103         variable.
104         (starttls-negotiate): Use it.
106 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
108         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
109         back.
111 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
113         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
115 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
117         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
119         * net/netrc.el (netrc-store-data): New function.
121 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
123         * net/gnutls.el: GnuTLS glue code to set up a connection.
125 2010-09-25  Julien Danjou  <julien@danjou.info>
127         * notifications.el: Call dbus-register-signal only if it is bound.
129 2010-09-25  Glenn Morris  <rgm@gnu.org>
131         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
132         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
133         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
134         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
135         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
136         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
137         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
138         * eshell/esh-util.el, eshell/esh-var.el:
139         Remove leading `*' from docs of faces and defcustoms.
141 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
143         * eshell/em-ls.el (eshell-ls-archive-regexp):
144         * eshell/esh-util.el (eshell-tar-regexp):
145         * ibuffer.el (ibuffer-compressed-file-name-regexp):
146         * info.el (Info-suffix-list):
147         * international/mule.el (auto-coding-alist):
148         * woman.el (woman-file-regexp, woman-file-compression-regexp):
149         * progmodes/etags.el (tags-compression-info-list):
150         Support xz compression.
152 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
154         * files.el (get-free-disk-space): Don't assume the "df" output
155         columns line up (Bug#6995).
157 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
159         * finder.el (finder-unknown-keywords):
160         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
161         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
163 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
165         * server.el (server-start): Revert part of 2010-08-08 change.  Using
166         address 127.0.0.1 for local host is now done in Fmake_network_process.
168 2010-09-24  Glenn Morris  <rgm@gnu.org>
170         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
171         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
172         * textmodes/css-mode.el, textmodes/dns-mode.el:
173         Move autoloaded auto-mode-alist entries to files.el.
174         * files.el (auto-mode-alist): Move entries here.
176 2010-09-23  Glenn Morris  <rgm@gnu.org>
178         * isearch.el (isearch-lazy-highlight-cleanup)
179         (isearch-lazy-highlight-initial-delay)
180         (isearch-lazy-highlight-interval)
181         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
182         * net/net-utils.el (ipconfig-program-options):
183         Move aliases to options before the associated definitions.
185 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
187         * newcomment.el (comment-normalize-vars): Better test validity of
188         comment-end-skip.
190 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
192         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
193         (float-e): New name for `e'.
194         (degrees-to-radians, radians-to-degrees):
195         * calendar/solar.el (solar-longitude):
196         * calculator.el (calculator-registers, calculator-funcall):
197         * textmodes/artist.el (artist-spray-random-points):
198         * play/bubbles.el (bubbles--initialize-images): Use new names.
200 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
202         Update to CEDET 1.0's version of EIEIO.
204         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
205         New function.
206         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
207         (eieio-default-eval-maybe): Eval val instead of unquoting only.
208         (class-precedence-list): If class is nil, return nil.
209         (eieio-generic-call): If class of first input arg is nil, don't
210         look up static methods, and do check for primary methods.
211         (initialize-instance): See if the default needs to be evaluated
212         during the constructor.
213         (eieio-perform-slot-validation-for-default): Don't do the check
214         for values that will eventually be evaluated.
215         (eieio-eval-default-p): New function.
216         (eieio-default-eval-maybe): Use it.
218 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
220         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
221         method-invocation-order.
222         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
223         (eieio-class-precedence-dfs): Compute class precedence list using
224         dfs algorithm.
225         (eieio-class-precedence-bfs): Compute class precedence list using
226         bfs algorithm.
227         (eieio-class-precedence-c3): Compute class precedence list using
228         c3 algorithm.
229         (class-precedence-list): New function.
230         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
231         (inconsistent-class-hierarchy): New error symbol.
232         (call-next-method): Stow the replacement argument list for future
233         call-next-method invocations.
235 2010-09-23  Glenn Morris  <rgm@gnu.org>
237         * calendar/appt.el (appt-check): If not displaying the diary,
238         use (diary 1) to only get the entries we need.
239         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
240         that it is in day order.  (Bug#7019)
242         * calendar/appt.el (appt-check): Rather than showing the diary,
243         just turn off invisible display, and only if needed.
245         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
247 2010-09-23  Glenn Morris  <rgm@gnu.org>
249         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
250         (byte-compile-defvar, byte-compile-cl-warn):
251         Start warnings with lower-case, like the majority.
253         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
255         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
257         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
258         * files.el (auto-mode-alist): Move ld-script entries here, further down
259         the list.
261         * vc/add-log.el: Don't require timezone when compiling.
262         (timezone-make-date-sortable): Autoload it.
263         (change-log-sortable-date-at): Don't require timezone.
264         Use `ignore-errors'.
266         * comint.el (comint-use-prompt-regexp-instead-of-fields):
267         Move alias before definition, so it does not need autoloading.
269         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
270         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
271         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
272         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
273         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
274         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
275         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
276         * textmodes/tex-mode.el, textmodes/two-column.el:
277         Remove leading `*' from docs of defcustoms etc.
279 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
281         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
283 2010-09-22  Dan Christensen  <jdc@uwo.ca>
285         * calendar/time-date.el (date-to-time): Try using parse-time-string
286         first before using the slower timezone-make-date-arpa-standard.
288 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
290         * calendar/time-date.el (format-seconds): Comment fix.
292 2010-09-22  Glenn Morris  <rgm@gnu.org>
294         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
295         is not automatically buffer-local.
297 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
299         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
300         (smie-indent-comment): Be more careful with comment-start-skip.
301         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
302         (smie-indent-functions): Use them.
304 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
306         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
308 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
310         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
311         tool-bar-position.  Don't modify frame parameters here.
312         (menu-bar-options-save): Add tool-bar-position.
314         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
316 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
318         * textmodes/reftex-parse.el (reftex-what-macro)
319         (reftex-context-substring): Let-bind forward-sexp-function to nil
320         since we don't need/want to treat \begin...\end as a block (bug#7053).
322         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
324         * simple.el (blink-matching-open): Use syntax-class.
326         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
327         Set invisibility spec for pascal's outline mode.
328         (pascal-outline-change): Clean up calling convention.
329         (pascal-show-all, pascal-hide-other-defuns): Update callers.
331         * progmodes/prolog.el (prolog-smie-forward-token)
332         (prolog-smie-backward-token): New functions.
333         (prolog-mode-variables): Use them to parse "!," correctly.
334         Set up smie-blink-matching for ".".
336         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
337         and `end'.
338         (ispell-region, ispell-process-line): Update users.
340         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
341         point-min==1.
343         * textmodes/ispell.el: Fix commenting convention.
344         (ispell-parse-output): Simplify, use push.
345         (ispell-region): Use match-string-no-properties.
346         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
347         (ispell-minor-mode): Use define-minor-mode.
348         (ispell-message): Remove unused var `skip-regexp'.
349         (ispell-add-per-file-word-list): Use dynamic let-binding.
350         Try and use the proper comment marker.
352         * mail/sendmail.el: Fix commenting convention.
353         (sendmail-send-it): Use line-beginning-position.
355         * help-fns.el (describe-variable): Add original value, if applicable.
357 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
359         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
361         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
363 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
365         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
366         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
367         (smie-prec2-levels): Use them to better diagnose precedence cycles.
368         (smie-blink-matching-check): Don't signal a mismatch if car is t.
369         (smie-blink-matching-open): Rewrite to remove assumptions, so that
370         something like "." can also be a closer.
371         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
372         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
373         Rename internal functions to use "--".  Update callers.
375         * frame.el (make-frame-names-alist): Don't list frames on other displays.
377         * fringe.el (fringe-styles): New var.
378         (fringe-mode, fringe-query-style): Use it.
380 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
382         * progmodes/sql.el: Version 2.8
383         (sql-login-params): Update widget structure; changes still needed.
384         (sql-product-alist): Add :list-all and :list-table features for
385         SQLite, Postgres and MySQL products.
386         (sql-redirect): Handle default value.
387         (sql-execute, sql-execute-feature): New functions.
388         (sql-read-table-name): New function.
389         (sql-list-all, sql-list-table): New functions.  User API.
390         (sql-mode-map, sql-interactive-mode-map): Add key definitions
391         for above functions.
392         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
393         for above functions.
394         (sql-postgres-login-params): Add user and database defaults.
395         (sql-buffer-live-p): Bug fix.
396         (sql-product-history): New variable.
397         (sql-read-product): New function. Use it.
398         (sql-set-product, sql-product-interactive): Use it.
399         (sql-connection-history): New variable.
400         (sql-read-connection): New function.  Use it.
401         (sql-connect): New function.
402         (sql-for-each-login): Redesign function interface.
403         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
404         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
405         (sql-comint): Check for program.  Existing live buffer.
406         (sql-comint-postgres): Add port parameter.
408 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * emacs-lisp/warnings.el: Fix commenting convention.
411         (display-warning): Use special mode and make the buffer read-only.
413 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
415         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
416         empty string when it follows a repeated or optional pattern.
418 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
420         * indent.el (indent-according-to-mode): Apply syntax-propertize.
421         (indent-region): Use indent-according-to-mode.
423 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
425         * fringe.el (fringe-mode): Doc fix.
427 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
429         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
430         refreshing the preview buffer.
432 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
434         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
435         (latex-syntax-propertize-rules): New consts; replace
436         tex-font-lock-syntactic-keywords.
437         (tex-env-mark, latex-env-before-change): New functions.
438         (latex-electric-env-pair-mode): New minor mode.
439         (tex-font-lock-verb): Change arguments; do move point.
440         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
441         representation as a form of comment.
442         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
443         (doctex-syntax-propertize-rules): New const; replaces
444         doctex-font-lock-syntactic-keywords.
445         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
447         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
448         (fortran-make-syntax-propertize-function): New function; replaces
449         fortran-font-lock-syntactic-keywords.
450         (fortran-mode): Use it.
451         (fortran-line-length): Use it.  Improve interactive spec.
453         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
454         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
455         when adding surrounding \(..\).
457         * progmodes/js.el (js-mode): Fix last change (bug#7054).
459 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
461         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
462         Use with-current-buffer.
464         * isearch.el (isearch-face): Rename from `isearch'.
465         (isearch-highlight): Use new name.
467 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
469         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
470         5, for `half' width fringes.  (Bug#6933)
472 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
474         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
475         (byte-compile-defvar): "foo/bar" does not lack a prefix.
477         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
479 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
481         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
482         in calculating new frame position.  Add more space between new and
483         parent on the left (Bug#7048).
485 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
487         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
488         defmacro.
490 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
492         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
494         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
495         obsolete alias for x-selection-value.
497         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
499 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
501         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
502         cookie.
504 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
506         * net/tramp-compat.el (tramp-compat-with-temp-message)
507         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
508         (tramp-compat-process-put): New defuns.
510         * net/tramp.el (top):
511         * net/tramp-gvfs.el (top):
512         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
514         * net/tramp.el (tramp-progress-reporter-update):
515         Use `tramp-compat-funcall'.
517         * net/tramp.el (tramp-process-actions):
518         * net/tramp-gvfs.el (tramp-handle-vc-registered):
519         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
520         (tramp-get-remote-stat, tramp-get-remote-readlink):
521         Use `tramp-compat-with-temp-message'.
523         * net/tramp-sh.el (top): Require 'cl.
524         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
525         (tramp-open-connection-setup-interactive-shell):
526         Use `tramp-compat-process-put'.
528 2010-09-15  Alan Mackenzie  <acm@muc.de>
530         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
531         indentation.
532         (c-forward-<>-arglist-recur): Fix an infinite recursion.
534 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
536         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
537         `lexical' for warnings related to lexical scoping.
538         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
539         global vars which don't have a prefix and could hence affect lexical
540         scoping in unrelated files.
542 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
544         * net/imap.el: Revert back to version
545         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
546         seem problematic.
548 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
550         * obsolete/old-whitespace.el (whitespace-unload-function):
551         Explicitly pass `obarray' to `unintern' to avoid a warning.
553 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
555         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
556         Add `when' argument.  Update callers.
558         * subr.el (unintern): Declare the obarray arg mandatory.
560 2010-09-14  Glenn Morris  <rgm@gnu.org>
562         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
563         Doc fixes.
565         * calendar/diary-lib.el (diary-included-files): New variable.
566         (diary-list-entries): Maybe initialize diary-included-files.
567         (diary-include-other-diary-files): Append to diary-included-files.
568         * calendar/appt.el (appt-update-list): Also check the members of
569         diary-included-files.  (Bug#6999)
570         (appt-check): Doc fix.
572 2010-09-14  David Reitter  <david.reitter@gmail.com>
574         * simple.el (line-move-visual): Do not truncate goal column to
575         integer size.  (Bug#7020)
577 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
579         * repeat.el (repeat): Allow repeating when the last event is a click.
580         Suggested by Drew Adams (bug#6256).
582 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
584         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
585         Replace setting HGRCPATH to "" by some less invasive --config options.
587 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
589         * font-lock.el (font-lock-beginning-of-syntax-function):
590         Mark as obsolete.
592 2010-09-14  Glenn Morris  <rgm@gnu.org>
594         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
595         and tool-bar modes.  (Bug#6211)
596         (menu-bar-mode): Move setting of standard-value after the
597         minor-mode definition, otherwise it seems to have no effect.
599 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
601         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
602         Fix typo.  (Bug#6976)
604 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
606         * whitespace.el: Allow cleaning up blanks without blank
607         visualization (Bug#6651).  Adjust help window for
608         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
609         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
610         (whitespace-style): Add new value 'face.  Adjust docstring.
611         (whitespace-space, whitespace-hspace, whitespace-tab):
612         Adjust foreground property face.
613         (whitespace-line-column): Adjust docstring and type declaration.
614         (whitespace-style-value-list, whitespace-toggle-option-alist)
615         (whitespace-help-text): Adjust const initialization.
616         (whitespace-toggle-options, global-whitespace-toggle-options):
617         Adjust docstring.
618         (whitespace-display-window, whitespace-interactive-char)
619         (whitespace-style-face-p, whitespace-color-on): Adjust code.
620         (whitespace-help-scroll): New fun.
622 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
624         * calendar/time-date.el (format-seconds): Comment fix.
626 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
628         * progmodes/sql.el: Version 2.7.
629         (sql-buffer-live-p): Improve detection.
630         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
631         (sql-set-sqli-buffer): Use it.
632         (sql-product-interactive): Run `sql-set-sqli-hook'.
633         (sql-rename-buffer): Code cleanup.
634         (sql-redirect, sql-redirect-value): New functions.  More to come.
636 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
638         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.
639         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
640         (TRAMP_SRC): New macro.
641         ($(lisp)/net/tramp-loaddefs.el): New target.
643 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
645         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
647         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
649         * net/tramp.el (top): Don't show loading message.  Require just
650         'tramp-compat, everything else is required there.
651         Use `ignore-errors' where appropriate.
652         (tramp-inline-compress-start-size, tramp-copy-size-limit)
653         (tramp-terminal-type, tramp-end-of-output)
654         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
655         (tramp-completion-function-alist-ssh)
656         (tramp-completion-function-alist-telnet)
657         (tramp-completion-function-alist-su)
658         (tramp-completion-function-alist-putty, tramp-remote-path)
659         (tramp-remote-process-environment, tramp-sh-extra-args)
660         (tramp-actions-before-shell, tramp-uudecode)
661         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
662         (tramp-perl-file-attributes)
663         (tramp-perl-directory-files-and-attributes)
664         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
665         (tramp-perl-encode, tramp-perl-decode)
666         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
667         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
668         (tramp-handle-make-symbolic-link, tramp-handle-load)
669         (tramp-handle-file-name-as-directory)
670         (tramp-handle-file-name-directory)
671         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
672         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
673         (tramp-do-file-attributes-with-ls)
674         (tramp-do-file-attributes-with-perl)
675         (tramp-do-file-attributes-with-stat)
676         (tramp-handle-set-visited-file-modtime)
677         (tramp-handle-verify-visited-file-modtime)
678         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
679         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
680         (tramp-handle-file-selinux-context)
681         (tramp-handle-set-file-selinux-context)
682         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
683         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
684         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
685         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
686         (tramp-handle-file-ownership-preserved-p)
687         (tramp-handle-directory-file-name, tramp-handle-directory-files)
688         (tramp-handle-directory-files-and-attributes)
689         (tramp-do-directory-files-and-attributes-with-perl)
690         (tramp-do-directory-files-and-attributes-with-stat)
691         (tramp-handle-file-name-all-completions)
692         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
693         (tramp-handle-copy-file, tramp-handle-copy-directory)
694         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
695         (tramp-do-copy-or-rename-file-via-buffer)
696         (tramp-do-copy-or-rename-file-directly)
697         (tramp-do-copy-or-rename-file-out-of-band)
698         (tramp-handle-make-directory, tramp-handle-delete-directory)
699         (tramp-handle-delete-file)
700         (tramp-handle-dired-recursive-delete-directory)
701         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
702         (tramp-handle-insert-directory)
703         (tramp-handle-unhandled-file-name-directory)
704         (tramp-handle-expand-file-name)
705         (tramp-handle-substitute-in-file-name)
706         (tramp-handle-executable-find, tramp-process-sentinel)
707         (tramp-handle-start-file-process, tramp-handle-process-file)
708         (tramp-handle-call-process-region, tramp-handle-shell-command)
709         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
710         (tramp-handle-insert-file-contents)
711         (tramp-handle-insert-file-contents-literally)
712         (tramp-handle-find-backup-file-name)
713         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
714         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
715         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
716         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
717         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
718         (tramp-find-file-exists-command, tramp-open-shell)
719         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
720         (tramp-open-connection-setup-interactive-shell)
721         (tramp-local-coding-commands, tramp-remote-coding-commands)
722         (tramp-find-inline-encoding, tramp-call-local-coding-command)
723         (tramp-inline-compress-commands, tramp-find-inline-compress)
724         (tramp-compute-multi-hops, tramp-maybe-open-connection)
725         (tramp-send-command, tramp-wait-for-output)
726         (tramp-send-command-and-check, tramp-barf-unless-okay)
727         (tramp-send-command-and-read, tramp-mode-string-to-int)
728         (tramp-convert-file-attributes, tramp-check-cached-permissions)
729         (tramp-file-mode-from-int, tramp-file-mode-permissions)
730         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
731         (tramp-method-out-of-band-p, tramp-local-host-p)
732         (tramp-get-remote-path, tramp-get-remote-tmpdir)
733         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
734         (tramp-get-test-command, tramp-get-test-nt-command)
735         (tramp-get-file-exists-command, tramp-get-remote-ln)
736         (tramp-get-remote-perl, tramp-get-remote-stat)
737         (tramp-get-remote-readlink, tramp-get-remote-trash)
738         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
739         (tramp-get-local-uid, tramp-get-local-gid)
740         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
741         tramp-sh.el.
742         (tramp-methods, tramp-default-method-alist)
743         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
744         Move initialization to tramp-sh.el.
745         (tramp-temp-name-prefix): Make it a defconst.
746         (tramp-dissect-file-name): Don't check anymore for multi-hop
747         methods.
748         (tramp-debug-outline-regexp): Add a docstring.
749         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
750         (tramp-get-debug-buffer): Use it.
752         * net/tramp-cache.el (top): Set tramp-autoload cookie for
753         initialization forms.
754         (tramp-set-connection-property): Don't protect `tramp-message'
755         call, it isn't necessary any longer.
756         (tramp-dump-connection-properties): Use `ignore-errors'.
758         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
759         'password-cache and 'auth-source.
761         * net/tramp-gvfs.el (top):
762         * net/tramp-smb.el (top): Require 'tramp-sh.
764         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
766         * net/tramp-sh.el: New file, derived from tramp.el.
767         (top): Initialize `tramp-methods', `tramp-default-method-alist',
768         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
769         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
770         Use `ignore-errors' where appropriate.
771         (tramp-sh-file-name-handler-alist): Rename from
772         `tramp-file-name-handler-alist'.
773         (tramp-send-command-and-check): Return t or nil.  Remove all
774         `zerop' checks, where called.
775         (tramp-handle-set-file-modes)
776         (tramp-do-copy-or-rename-file-directly)
777         (tramp-handle-delete-directory, tramp-handle-delete-file)
778         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
779         (tramp-sh-file-name-handler, tramp-send-command-and-check)
780         (tramp-get-remote-ln): Set tramp-autoload cookie.
782         * net/tramp-fish.el: Remove file.
784 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
786         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
787         buffer-file-name to avoid file-locking.  (Bug#7026)
789 2010-09-13  Julien Danjou  <julien@danjou.info>
791         * notifications.el (notifications-notify): Add support for
792         image-path and sound-name.
793         (notifications-specification-version): Add this variable.
795 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
797         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
799 2010-09-12  Leo  <sdl.web@gmail.com>
801         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
802         (rcirc-completion-start): New variables.
803         (rcirc-nick-completions): Rename to rcirc-completions.
804         (rcirc-nick-completion-start-offset): Delete.
805         (rcirc-completion-at-point): New function for constructing
806         completion data for both nicks and irc commands.  Add to
807         completion-at-point-functions in rcirc mode.
808         (rcirc-complete): Rename from rcirc-nick-complete; use
809         rcirc-completion-at-point.
810         (defun-rcirc-command): Update rcirc-client-commands.
812 2010-09-11  Glenn Morris  <rgm@gnu.org>
814         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
815         atomically, to avoid parallel build errors.  (Bug#4196)
817 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
819         * progmodes/sql.el: Version 2.6
820         (sql-dialect): Synonym for "sql-product".
821         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
822         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
823         Set "sql-buffer" to buffer name not buffer object so multiple sql
824         interactive buffers work properly.  Reverts misguided changes in
825         earlier work.
826         (sql-comint): Make sure different buffer name is used if "*SQL*"
827         buffer is for a different product.
828         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
829         login param.
830         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
831         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
832         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
833         Accept new buffer name or prompt for one.
834         (sql-port): Default to zero.
835         (sql-comint-mysql): Handle "sql-port" as a numeric.
836         (sql-port-history): Delete unused variable.
837         (sql-get-login): Default "sql-port" to a number.
838         (sql-product-alist): Correct Postgres prompt and terminator regexp.
839         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
840         "sqlite3" executables.
841         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
842         (sql-buffer-live-p): New function.
843         (sql-mode-menu, sql-send-string): Use it.
844         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
845         syntax pattern.
846         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
847         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
849 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
851         * net/netrc.el (netrc-credentials): New convenience function.
853 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
855         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
856         to replace texinfo-font-lock-syntactic-keywords.
857         (texinfo-mode): Use it.
859         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
860         Use syntax-propertize-function.
862         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
863         replace sgml-font-lock-syntactic-keywords.
864         (sgml-mode): Use it.
866         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
867         since we don't use it.
869         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
871         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
872         if available.
873         (vhdl-fontify-buffer): Adjust.
875         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
876         replace tcl-font-lock-syntactic-keywords.
877         (tcl-mode): Use it.
879         * progmodes/simula.el (simula-syntax-propertize-function): New var to
880         replace simula-font-lock-syntactic-keywords.
881         (simula-mode): Use it.
883         * progmodes/sh-script.el (sh-st-symbol): Remove.
884         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
885         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
886         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
887         (sh-font-lock-paren): Set syntax-multiline.
888         (sh-font-lock-syntactic-keywords): Remove.
889         (sh-syntax-propertize-function): New function to replace it.
890         (sh-mode): Use it.
892         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
893         Define while compiling.
894         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
895         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
896         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
897         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
898         (ruby-here-doc-end-syntax): Only define when
899         syntax-propertize is not available.
900         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
901         New functions.
902         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
903         (electric-indent-chars): Silence bytecompiler.
904         (ruby-mode): Use prog-mode, syntax-propertize-function, and
905         electric-indent-chars.
907         * progmodes/python.el (python-syntax-propertize-function): New var to
908         replace python-font-lock-syntactic-keywords.
909         (python-mode): Use it.
910         (python-quote-syntax): Simplify and adjust to new use.
912         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
913         replace perl-font-lock-syntactic-keywords.
914         (perl-syntax-propertize-special-constructs): New fun to replace
915         perl-font-lock-special-syntactic-constructs.
916         (perl-font-lock-syntactic-face-function): New fun.
917         (perl-mode): Use it.
919         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
920         to replace octave-font-lock-close-quotes.
921         (octave-syntax-propertize-function): New function to replace
922         octave-font-lock-syntactic-keywords.
923         (octave-mode): Use it.
925         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
926         replaces mixal-font-lock-syntactic-keywords.
927         (mixal-mode): Use it.
929         * progmodes/make-mode.el (makefile-syntax-propertize-function):
930         New var; replaces makefile-font-lock-syntactic-keywords.
931         (makefile-mode): Use it.
932         (makefile-imake-mode): Adjust.
934         * progmodes/js.el (js--regexp-literal): Define while compiling.
935         (js-syntax-propertize-function): New var; replaces
936         js-font-lock-syntactic-keywords.
937         (js-mode): Use it.
939         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
940         replaces gdb-script-font-lock-syntactic-keywords.
941         (gdb-script-mode): Use it.
943         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
944         (fortran--font-lock-syntactic-keywords): New var.
945         (fortran-line-length): Update syntax-propertize-function and
946         fortran--font-lock-syntactic-keywords.
948         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
950         * progmodes/cfengine.el (cfengine-mode):
951         Use syntax-propertize-function.
952         (cfengine-font-lock-syntactic-keywords): Remove.
954         * progmodes/autoconf.el (autoconf-mode):
955         Use syntax-propertize-function.
956         (autoconf-font-lock-syntactic-keywords): Remove.
958         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
959         (ada-after-change-function, ada-initialize-syntax-table-properties)
960         (ada-handle-syntax-table-properties): Only define when
961         syntax-propertize is not available.
962         (ada-mode): Use syntax-propertize-function.
964         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
965         (font-lock-fontify-syntactic-keywords-region): Move handling of
966         font-lock-syntactically-fontified to...
967         (font-lock-default-fontify-region): ...here.
968         Let syntax-propertize-function take precedence.
969         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
971         * emacs-lisp/syntax.el (syntax-propertize-function)
972         (syntax-propertize-chunk-size, syntax-propertize--done)
973         (syntax-propertize-extend-region-functions): New vars.
974         (syntax-propertize-wholelines, syntax-propertize-multiline)
975         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
976         (syntax-propertize): New functions.
977         (syntax-propertize-rules): New macro.
978         (syntax-ppss-flush-cache): Set syntax-propertize--done.
979         (syntax-ppss): Call syntax-propertize.
981         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
983 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
985         * textmodes/ispell.el (ispell-init-process): Improve comments.
986         XEmacs compatibility changes regarding (add-hook) 'local option
987         and (set-process-query-on-exit-flag).
989 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
991         * net/tramp-cache.el (tramp-parse-connection-properties):
992         Set tramp-autoload cookie.
994 2010-09-09  Glenn Morris  <rgm@gnu.org>
996         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
997         (imagemagick-register-types): Doc fix.
999 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1001         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1003         * progmodes/js.el (require): Require is already "eval-and-compile".
1004         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
1005         (js--re-search-backward): Use js--re-search-forward.
1007         * progmodes/fortran.el (fortran-line-length): Don't recompute
1008         syntactic keywords redundantly a second time.
1010         * progmodes/ada-mode.el: Replace "(set '" with setq.
1011         (ada-mode): Simplify.
1012         (ada-create-case-exception, ada-adjust-case-interactive)
1013         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1014         (ada-search-ignore-string-comment, ada-move-to-start)
1015         (ada-move-to-end): Use with-syntax-table.
1017         * font-lock.el (save-buffer-state): Remove `varlist' arg.
1018         (font-lock-unfontify-region, font-lock-default-fontify-region):
1019         Update usage correspondingly.
1020         (font-lock-fontify-syntactic-keywords-region):
1021         Set parse-sexp-lookup-properties buffer-locally here.
1022         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1024         * simple.el (blink-matching-open): Don't burp if we can't find a match.
1026 2010-09-08  Glenn Morris  <rgm@gnu.org>
1028         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1029         Error if not compiled with -DBYTE_CODE_METER.
1031         * emacs-lisp/bytecomp.el (byte-recompile-directory):
1032         Ignore dir-locals-file.
1034 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1036         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1037         Not a const.
1038         (compilation-error-regexp-alist-alist): Rule out ": " in file names
1039         for the `gnu' messages.
1040         (compilation-set-skip-threshold): New command.
1041         (compilation-start): Use \' rather than $.
1042         (compilation-forget-errors): Use clrhash.
1044 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
1046         * textmodes/ispell.el (ispell-valid-dictionary-list):
1047         Simplify logic.
1049 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
1051         Migrate to Tramp 2.2.  Rearrange load dependencies.
1052         (Bug#1529, Bug#5448, Bug#5705)
1054         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1055         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1056         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1058         * net/tramp.el (top): Remove all other tramp-* loads except
1059         tramp-compat.el.  Remove all changes to tramp-unload-hook for
1060         other tramp-* packages.  Rearrange defun order.  Change calls of
1061         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1062         `tramp-compat-octal-to-decimal' to new function names.
1063         (tramp-terminal-type, tramp-initial-end-of-output)
1064         (tramp-methods, tramp-foreign-file-name-handler-alist)
1065         (tramp-tramp-file-p, tramp-completion-mode-p)
1066         (tramp-send-command-and-check, tramp-get-remote-path)
1067         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1068         (tramp-shell-quote-argument): Set tramp-autoload cookie.
1069         (with-file-property, with-connection-property): Move to
1070         tramp-cache.el.
1071         (tramp-local-call-process, tramp-decimal-to-octal)
1072         (tramp-octal-to-decimal): Move to tramp-compat.el.
1073         (tramp-handle-shell-command): Do not require 'shell.
1074         (tramp-compute-multi-hops): No special handling for tramp-gw-*
1075         symbols.
1076         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1078         * net/tramp-cache.el (top): Require 'tramp.  Add to
1079         `tramp-unload-hook'.
1080         (tramp-cache-data, tramp-get-file-property)
1081         (tramp-set-file-property, tramp-flush-file-property)
1082         (tramp-flush-directory-property, tramp-get-connection-property)
1083         (tramp-set-connection-property, tramp-flush-connection-property)
1084         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1085         cookie.
1086         (with-file-property, with-connection-property): New defuns, moved
1087         from tramp.el.
1088         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1089         macro.
1091         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1092         (tramp-version): Set tramp-autoload cookie.
1094         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
1095         changes to tramp-unload-hook for other tramp-* packages.  Add to
1096         `tramp-unload-hook'.
1097         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1098         (tramp-compat-call-process): New defuns, moved from tramp.el.
1100         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
1101         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1102         to `tramp-unload-hook'.  Change call of
1103         `tramp-compat-decimal-to-octal' to new function name.
1104         (tramp-fish-method): Make it a defconst.
1105         (tramp-fish-file-name-p): Make it a defsubst.
1106         (tramp-fish-method, tramp-fish-file-name-handler)
1107         (tramp-fish-file-name-p): Set tramp-autoload cookie.
1109         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1110         `tramp-foreign-file-name-handler-alist'.  Add to
1111         `tramp-unload-hook'.
1112         (tramp-ftp-method): Make it a defconst.
1113         (tramp-ftp-file-name-p): Make it a defsubst.
1114         (tramp-ftp-method, tramp-ftp-file-name-handler)
1115         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1117         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1118         `tramp-foreign-file-name-handler-alist'.  Add to
1119         `tramp-unload-hook'.  Change checks, whether package can be
1120         loaded.
1121         (tramp-gvfs-file-name-p): Make it a defsubst.
1122         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1123         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1124         (tramp-gvfs-handle-file-directory-p): New defun.
1125         (tramp-gvfs-file-name-handler-alist): Use it.
1127         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1128         `tramp-foreign-file-name-handler-alist'.  Add to
1129         `tramp-unload-hook'.
1130         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1131         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1132         defconst.
1133         (tramp-gw-tunnel-method, tramp-gw-socks-method)
1134         (tramp-gw-open-connection): Set tramp-autoload cookie.
1136         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
1137         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1138         to `tramp-unload-hook'.  Change checks, whether package can be
1139         loaded.
1140         (tramp-imap-file-name-p): Make it a defsubst.
1141         (tramp-imap-method, tramp-imaps-method)
1142         (tramp-imap-file-name-handler)
1143         (tramp-imap-file-name-p): Set tramp-autoload cookie.
1145         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
1146         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1147         to `tramp-unload-hook'.  Change checks, whether package can be
1148         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
1149         function name.
1150         (tramp-smb-tunnel-method): Make it a defconst.
1151         (tramp-smb-file-name-p): Make it a defsubst.
1152         (tramp-smb-method, tramp-smb-file-name-handler)
1153         (tramp-smb-file-name-p): Set tramp-autoload cookie.
1155         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1156         (tramp-uuencode-region): Set tramp-autoload cookie.
1158         * net/trampver.el (top) Add to `tramp-unload-hook'.
1159         (tramp-version, tramp-bug-report-address): Set tramp-autoload
1160         cookie.  Update release number.
1162 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
1164         * textmodes/ispell.el (ispell-start-process): Make sure original
1165         arg list is properly initialized (Bug#6993, Bug#6994).
1167 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1169         * files.el (directory-abbrev-alist): Use \` as default regexp.
1171         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1172         chars like - or ] (bug#6984).
1173         (rx-any-condense-range): Explode 2-char ranges.
1175 2010-09-06  Glenn Morris  <rgm@gnu.org>
1177         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1179 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1181         * textmodes/bibtex.el:
1182         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1184 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1186         * net/imap.el (imap-message-map): Remove optional buffer parameter,
1187         since no callers use it.
1188         (imap-message-get): Ditto.
1189         (imap-message-put): Ditto.
1190         (imap-mailbox-map): Ditto.
1191         (imap-mailbox-put): Ditto.
1192         (imap-mailbox-get): Ditto.
1193         (imap-mailbox-get): Revert last change for this function.
1195 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1197         * net/imap.el (imap-fetch-safe): Remove function, and alter all
1198         callers to use `imap-fetch' instead.  According to the comments, this
1199         should be safe, since all other IMAP clients use the 1:* syntax.
1200         (imap-enable-exchange-bug-workaround): Remove.
1201         (imap-debug): Remove -- doesn't seem very useful.
1203 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1205         * net/imap.el (imap-log): New convenience function used throughout
1206         instead of repeating the same code all over the place.
1208 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1210         * mouse.el (mouse-save-then-kill): Save region to kill-ring
1211         when mouse-drag-copy-region is non-nil (Bug#6956).
1213 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
1215         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1216         Improve regexps (Bug#6987).
1217         (dired-sort-toggle): Search more robustly for -t flag.
1219         * files.el (get-free-disk-space): Search more robustly for
1220         "available" column.  Suggested by Ehud Karni
1221         <ehud@unix.mvs.co.il>.
1223 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
1225         * international/uni-bidi.el:
1226         * international/uni-category.el:
1227         * international/uni-combining.el:
1228         * international/uni-decimal.el:
1229         * international/uni-mirrored.el:
1230         * international/uni-name.el: Regenerate.
1232 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1234         * electric.el (electric-indent-post-self-insert-function):
1235         Don't reindent with a sloppy indentation function.
1237         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1238         border case in change-log-mode.
1240 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
1242         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1243         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1244         Recognize leading tab in gcc-include regexp.  Ignore names with
1245         leading "from" or "in" in gnu regexp (Bug#6937).
1247 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1249         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1250         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1251         (ispell-start-process): Avoid setq and simplify logic.
1252         (ispell-init-process): Setup kill-buffer-hook locally when needed.
1253         (kill-buffer-hook): Don't use it globally with code that uses
1254         expand-file-name since that may call kill-buffer via
1255         code_conversion_restore.
1257 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
1259         * emacs-lisp/package.el (package-directory-list): Only call
1260         file-name-nondirectory on a string.
1262 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1264         * emacs-lisp/package.el (package--download-one-archive):
1265         Ensure that archive-contents is valid before saving it.
1266         (package-activate-1, package-mark-obsolete, define-package)
1267         (package-compute-transaction, package-list-maybe-add): Use push.
1269 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1271         Use SMIE's blink-paren for octave-mode.
1272         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1273         Backslashes do not escape single-quotes, single-quotes do.
1274         (octave-block-else-regexp, octave-block-end-regexp)
1275         (octave-block-match-alist): Remove.
1276         (octave-smie-bnf-table): New var, with old content.
1277         (octave-smie-op-levels): Use it.
1278         (octave-smie-closer-alist): New var.
1279         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
1280         (octave-blink-matching-block-open): Remove.
1281         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1282         (octave-electric-space): Let self-insert-command run expand-abbrev and
1283         blink parens.
1285         * electric.el (electricity): New group.
1286         (electric-indent-chars): New var.
1287         (electric-indent-post-self-insert-function): New fun.
1288         (electric-indent-mode): New minor mode.
1289         (electric-pair-skip-self): New custom.
1290         (electric-pair-post-self-insert-function): New function.
1291         (electric-pair-mode): New minor mode.
1293         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1294         calcAlg-blink-matching-open.
1295         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1296         (calc-do-alg-entry): Only touch the part of the keymap that varies.
1297         Use the new blink-matching-check-function.
1299         Provide blink-matching support to SMIE.
1300         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1301         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1302         (smie-blink-matching-check, smie-blink-matching-open): New functions.
1304         * simple.el (newline): Fix last change to properly remove itself from
1305         the hook.
1307 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1309         * simple.el (newline): Eliminate optimization.
1310         Use post-self-insert-hook to set hard-newline and things before
1311         running post-self-insert-hook.
1312         (blink-matching-check-mismatch): New function.
1313         (blink-matching-check-function): New variable.
1314         (blink-matching-open): Use them.
1315         Skip back forward over prefix chars skipped by forward-sexp.
1316         Don't check if the parens are backslash escaped.
1317         (blink-paren-post-self-insert-function): Check backslash escaping here.
1319 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1321         * emacs-lisp/package.el (package-menu-mode-map):
1322         Change package-menu-revert bindings to revert-buffer.
1323         (package-menu-mode): Set revert-buffer-function.
1324         (package-menu-revert): Doc fix.
1326 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
1328         * textmodes/ispell.el (ispell-init-process): Use "~/" as
1329         `default-directory' unless using Ispell per-directory personal
1330         dictionaries and not in a mini-buffer under XEmacs.
1331         (kill-buffer-hook): Do not kill ispell process on exit when
1332         `ispell-process-directory' is "~/".  (Bug#6143)
1334 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
1336         * simple.el (kill-new): Call interprogram-cut-function with only
1337         one argument.
1339         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1340         Remove cut buffer from error message.
1342         * term/x-win.el (x-select-text):
1343         * term/pc-win.el (x-selection-value):
1344         * term/ns-win.el (x-selection-value):
1345         * eshell/em-term.el:
1346         * w32-fns.el (x-get-selection-value):
1347         * mouse-sel.el (mouse-sel-set-selection-function):
1348         * frame.el (display-selections-p): Remove cut-buffer in documentation.
1350         * term/x-win.el: Update documentation for x-last-selected-text-*.
1351         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1352         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1353         (x-select-text): Remove argument PUSH, update documentation.  Remove
1354         cut-buffer code.
1355         (x-selection-value-internal): Was previously x-selection-value.
1356         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1357         Update documentation, remove cut-buffer code.  Call
1358         x-selection-value-internal.
1359         (x-clipboard-yank): Call x-selection-value-internal.
1360         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1362         * term/pc-win.el (x-last-selected-text):
1363         x-cut-buffer-or-selection-value renamed to x-selection-value
1364         (x-select-text): Remove argument PUSH, update documentation.
1366         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1367         x-cut-buffer-or-selection-value renamed to x-selection-value
1368         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1369         (x-select-text): Remove argument PUSH, update documentation.
1371         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1373         * w32-fns.el (x-last-selected-text):
1374         x-cut-buffer-or-selection-value renamed to x-selection-value.
1375         (x-cut-buffer-max): Remove.
1376         (x-select-text): Remove argument PUSH, update documentation.
1378         * simple.el (interprogram-cut-function): Remove mention of PUSH.
1380         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1382         * mouse-sel.el (mouse-sel-get-selection-function):
1383         x-cut-buffer-or-selection-value renamed to x-selection-value.
1384         (x-select-text): Remove optional push.
1386 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1388         * simple.el (blink-paren-function): Move from C to here.
1389         (blink-paren-post-self-insert-function): New function.
1390         (post-self-insert-hook): Use it.
1392         * emacs-lisp/pcase.el (pcase-split-memq):
1393         Fix overenthusiastic optimisation.
1394         (pcase-u1): Handle the case of a lambda pred.
1396 2010-08-31  Kenichi Handa  <handa@m17n.org>
1398         * international/mule-cmds.el (standard-display-european-internal):
1399         Setup standard-display-table for 8-bit characters by storing 8-bit
1400         characters in the element vector.
1402         * disp-table.el (standard-display-8bit):
1403         Setup standard-display-table for 8-bit characters by storing 8-bit
1404         characters in the element vector.
1405         (standard-display-european): Likewise.
1407 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
1409         * textmodes/nroff-mode.el (nroff-view): New command.
1410         (nroff-mode-map): Bind it to C-c C-c.
1412 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1414         * emacs-lisp/smie.el (smie-down-list): New command.
1416         Remove old indentation and navigation code on octave-mode.
1417         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1418         smie-down-list rather than add a binding for octave-down-block.
1419         (octave-mark-block, octave-blink-matching-block-open):
1420         Rely on forward-sexp-function.
1421         (octave-fill-paragraph): Don't narrow, so you can use
1422         indent-according-to-mode.
1423         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1424         (octave-in-block-p, octave-re-search-forward-kw)
1425         (octave-re-search-backward-kw, octave-indent-calculate)
1426         (octave-end-as-array-index-p, octave-block-end-offset)
1427         (octave-scan-blocks, octave-forward-block, octave-backward-block)
1428         (octave-down-block, octave-backward-up-block, octave-up-block)
1429         (octave-before-magic-comment-p, octave-indent-line): Remove.
1431 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
1433         * emacs-lisp/package.el (package--read-archive-file): Just use
1434         `read', to avoid copying an additional string.
1435         (package-menu-mode): Set header-line-format here.
1436         (package-menu-refresh, package-menu-revert): Signal an error if
1437         not in the Package Menu.
1438         (package-menu-package-list): New var.
1439         (package--generate-package-list): Operate on the current buffer;
1440         don't assume that it is *Packages*, since the user may rename it.
1441         Allow persistent package listings and sort keys using
1442         package-menu-package-list and package-menu-package-sort-key.
1443         (package-menu--version-predicate): Fix version calculation.
1444         (package-menu-sort-by-column): Don't select the window.
1445         (package--list-packages): Create the *Packages* buffer.
1446         Set package-menu-package-list-key.
1447         (list-packages): Sorting by status is now the default.
1448         (package-buffer-info): Use match-string-no-properties.
1449         (define-package): Add a &rest argument for future proofing, but
1450         don't use it yet.
1451         (package-install-from-buffer, package-install-buffer-internal):
1452         Merge into a single function, package-install-from-buffer.
1453         (package-install-file): Change caller.
1455         * finder.el: Load finder-inf using `require'.
1456         (finder-list-matches): Sorting by status is now the default.
1457         (finder-compile-keywords): Simpify printing.
1459 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1461         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1462         (octave-mode-map): Remove special bindings for forward/backward-block
1463         and octave-backward-up-block.  Use smie-close-block.
1464         (octave-continuation-marker-regexp): New var.
1465         (octave-continuation-regexp): Use it.
1466         (octave-operator-table, octave-smie-op-levels)
1467         (octave-operator-regexp, octave-smie-indent-rules): New vars.
1468         (octave-smie-backward-token, octave-smie-forward-token): New funs.
1469         (octave-mode): Use SMIE.
1470         (octave-close-block): Delete.
1472 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
1474         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1475         CLIPBOARD, not in PRIMARY.  (Bug#6944)
1477 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1479         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1480         a list of parents.
1481         (smie-indent-column): Allow indirection through variables.
1483         * composite.el (save-buffer-state): Delete, unused.
1484         * font-lock.el (save-buffer-state): Use with-silent-modifications.
1485         (font-lock-default-fontify-region): Use with-syntax-table.
1486         * jit-lock.el (with-buffer-unmodified): Remove.
1487         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1489         Use `declare' in defmacros.
1490         * window.el (save-selected-window):
1491         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1492         * progmodes/python.el (def-python-skeleton):
1493         * net/dbus.el (dbus-ignore-errors):
1494         * jka-cmpr-hook.el (with-auto-compression-mode):
1495         * international/mule.el (with-category-table):
1496         * emacs-lisp/timer.el (with-timeout):
1497         * emacs-lisp/lisp-mnt.el (lm-with-file):
1498         * emacs-lisp/eieio.el (with-slots):
1499         * emacs-lisp/easymenu.el (easy-menu-define):
1500         * emacs-lisp/debug.el (debugger-env-macro):
1501         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1502         (Multiple-value-call, Multiple-value-prog1):
1503         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1504         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1505         edebug rule to definition.
1506         * emacs-lisp/lisp-mode.el (save-selected-window)
1507         (with-current-buffer, combine-after-change-calls)
1508         (with-output-to-string, with-temp-file, with-temp-buffer)
1509         (with-temp-message, with-syntax-table, read-if, eval-after-load)
1510         (dolist, dotimes, when, unless):
1511         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1513 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1515         * finder.el: Require `package'.
1516         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
1517         (finder-package-info): Var deleted.
1518         (finder-keywords-hash, finder--builtins-alist): New vars.
1519         (finder-compile-keywords): Compute package--builtins and
1520         finder-keywords-hash instead of finder-keywords-hash, respecting
1521         the "Package" header.
1522         (finder-unknown-keywords, finder-list-matches):
1523         Use finder-keywords-hash and package--list-packages.
1524         (finder-mode): Don't set font-lock-defaults.
1525         (finder-exit): We don't use "*Finder-package*" and "*Finder
1526         Category*" buffers anymore.
1528         * emacs-lisp/package.el (package--builtins-base): Var deleted.
1529         (package--builtins): Set default value to nil.
1530         (package-initialize): Load precomputed value of package--builtins
1531         from finder-inf.el.
1532         (package-alist, package-compute-transaction)
1533         (package-download-transaction): Improve docstring.
1534         (package-read-all-archive-contents): Do not change
1535         package--builtins here.
1536         (list-packages): Make package-list-packages an alias for this.
1537         Sort by status by default.
1538         (package--list-packages): Add optional PACKAGES arg.
1539         (describe-package-1): Use font-lock-face property.  For built-in
1540         packages, insert file commentary.
1541         (package--generate-package-list): Rename from
1542         package-list-packages-internal; all callers changed.  Add optional
1543         PACKAGES arg.  Add alphabetical sort fallbacks.
1544         (package-menu--version-predicate, package-menu--status-predicate)
1545         (package-menu--description-predicate)
1546         (package-menu--name-predicate): New functions.
1548         * info.el (Info-finder-find-node): Search package-alist instead of
1549         finder-package-info.
1551 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1553         * subr.el (version-regexp-alist): Don't use "a" and "b" for
1554         "alpha" and "beta".
1555         (version-to-list): Handle versions like "10.3d".
1557 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1559         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1560         (macroexp-accumulate): Use `declare'.
1562 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1564         * whitespace.el (whitespace-style): Adjust type declaration.
1566 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
1568         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1569         empty argument to gvfs-copy.
1571 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1573         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1574         handle new TRASH arg of `delete-file'.
1576 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
1578         * net/tramp.el (tramp-handle-insert-directory): Don't use
1579         `forward-word', its default syntax could be changed.
1581 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
1582             Michael Albinus  <michael.albinus@gmx.de>
1584         Implement compression for inline methods.
1586         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1587         (tramp-copy-size-limit): Allow also nil.
1588         (tramp-inline-compress-commands): New defconst.
1589         (tramp-find-inline-compress, tramp-get-inline-compress)
1590         (tramp-get-inline-coding): New defuns.
1591         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1592         replaced by `tramp-get-inline-coding'.
1593         (tramp-handle-file-local-copy, tramp-handle-write-region)
1594         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1596 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
1598         Detect ssh 'ControlMaster' argument automatically in some cases.
1600         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1601         (tramp-default-method): Use it.
1603 2010-08-26  Karel Klíč  <kklic@redhat.com>
1605         * net/tramp.el (tramp-file-name-for-operation):
1606         Add file-selinux-context.
1608 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
1610         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1612 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1614         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1615         (Bug#6907).
1617 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
1619         * progmodes/js.el: Make indentation more customizable (Bug#6914).
1620         (js-paren-indent-offset, js-square-indent-offset)
1621         (js-curly-indent-offset): New options.
1622         (js--proper-indentation): Use them.
1624 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
1626         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1627         instead of inspecting font-lock properties (Bug#6916).
1629 2010-08-26  David Reitter  <david.reitter@gmail.com>
1631         * server.el (server-visit-files): Run pre-command-hook and
1632         post-command-hook for each buffer while it is current (Bug#6910).
1633         (server-execute): Do not run hooks here.
1635 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
1637         Sync with Tramp 2.1.19.
1639         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1640         (tramp-reporter-dump-variable, tramp-load-report-modules)
1641         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1642         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1644         * net/tramp-compat.el (top): Do not autoload
1645         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
1646         only when `start-file-process' is not bound.
1647         (byte-compile-not-obsolete-vars): Define if not bound.
1648         (tramp-compat-funcall): New defmacro.
1649         (tramp-compat-line-beginning-position)
1650         (tramp-compat-line-end-position)
1651         (tramp-compat-temporary-file-directory)
1652         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1653         (tramp-compat-copy-file, tramp-compat-copy-directory)
1654         (tramp-compat-delete-file, tramp-compat-delete-directory)
1655         (tramp-compat-number-sequence, tramp-compat-process-running-p):
1656         Use it.
1657         (tramp-advice-file-expand-wildcards): Do not use
1658         `tramp-handle-file-remote-p'.
1659         (tramp-compat-make-temp-file): Simplify fallback implementation.
1660         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1661         (tramp-compat-copy-tree): Remove function.
1662         (tramp-compat-delete-file): New defun.
1663         (tramp-compat-delete-directory): Provide implementation for older
1664         Emacsen.
1665         (tramp-compat-file-attributes): Handle only
1666         `wrong-number-of-arguments' error.
1668         * net/tramp-fish.el (tramp-fish-handle-copy-file):
1669         Add PRESERVE_SELINUX_CONTEXT.
1670         (tramp-fish-handle-delete-file): Add TRASH arg.
1671         (tramp-fish-handle-directory-files-and-attributes):
1672         Do not use `tramp-fish-handle-file-attributes.
1673         (tramp-fish-handle-file-local-copy)
1674         (tramp-fish-handle-insert-file-contents)
1675         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1677         * net/tramp-gvfs.el (top): Require url-util.
1678         (tramp-gvfs-mount-point): Remove.
1679         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1680         and `set-file-selinux-context'.
1681         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1682         (tramp-gvfs-handle-file-selinux-context)
1683         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1684         (with-tramp-dbus-call-method): Format trace message.
1685         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1686         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1687         Implement backup call, when operation on local files fails.
1688         Use progress reporter.  Flush properties of changed files.
1689         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
1690         `tramp-compat-delete-file'.
1691         (tramp-gvfs-handle-expand-file-name): Expand "~/".
1692         (tramp-gvfs-handle-make-directory): Make more traces.
1693         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1694         (tramp-gvfs-url-file-name): Hexify file name in url.
1695         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1696         into account for the resulting file name.
1697         (tramp-gvfs-handler-askquestion): Preserve current message, in
1698         order to let progress reporter continue afterwards.  (Bug#6257)
1699         Return dummy mountpoint, when the answer is "no".
1700         See `tramp-gvfs-maybe-open-connection'.
1701         (tramp-gvfs-handler-mounted-unmounted)
1702         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1703         attribute "default_location".  Set "prefix" property.
1704         Handle default-location.
1705         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1706         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1707         exists.  Raise an error, if not (due to a corresponding answer
1708         "no" in interactive questions, for example).
1709         Use `tramp-compat-funcall'.
1711         * net/tramp-imap.el (top): Autoload `epg-make-context'.
1712         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1713         (tramp-imap-do-copy-or-rename-file)
1714         (tramp-imap-handle-insert-file-contents)
1715         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1716         (tramp-imap-handle-delete-file): Add TRASH arg.
1718         * net/tramp-smb.el (tramp-smb-handle-copy-file):
1719         Add PRESERVE-SELINUX-CONTEXT.
1720         (tramp-smb-handle-copy-file)
1721         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1722         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1723         Use `with-progress-reporter'.
1724         (tramp-smb-handle-delete-file): Add TRASH arg.
1726         * net/tramp.el (tramp-methods): Move hostname to the end in all
1727         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
1728         appropriate.
1729         (tramp-verbose): Describe verbose level 9.
1730         (tramp-completion-function-alist)
1731         (tramp-file-name-regexp, tramp-chunksize)
1732         (tramp-local-coding-commands, tramp-remote-coding-commands)
1733         (with-connection-property, tramp-completion-mode-p)
1734         (tramp-action-process-alive, tramp-action-out-of-band)
1735         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1736         (tramp-exists-file-name-handler): Fix docstring.
1737         (tramp-remote-process-environment): Use `format' instead of
1738         `concat'.  Protect version string by apostroph.
1739         (tramp-shell-prompt-pattern): Do not use a shy group in case of
1740         XEmacs.
1741         (tramp-file-name-regexp-unified)
1742         (tramp-completion-file-name-regexp-unified): On W32 systems, do
1743         not regard the volume letter as remote filename.  (Bug#5447)
1744         (tramp-perl-file-attributes)
1745         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1746         (tramp-vc-registered-read-file-names): Read input as
1747         here-document, otherwise the command could exceed maximum length
1748         of command line.
1749         (tramp-file-name-handler-alist): Add `file-selinux-context' and
1750         `set-file-selinux-context'.
1751         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1752         backtrace functions.
1753         (tramp-error-with-buffer): Don't show the connection buffer when
1754         we are in completion mode.
1755         (tramp-progress-reporter-update, tramp-remote-selinux-p)
1756         (tramp-handle-file-selinux-context)
1757         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1758         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1759         New defuns.
1760         (with-progress-reporter): New defmacro.
1761         (tramp-debug-outline-regexp): New defconst.
1762         (top, tramp-rfn-eshadow-setup-minibuffer)
1763         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1764         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1765         (tramp-completion-mode-p, tramp-check-for-regexp)
1766         (tramp-open-connection-setup-interactive-shell)
1767         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1768         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1769         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1770         Use `tramp-compat-funcall'.
1771         (tramp-handle-make-symbolic-link): Flush file properties.
1772         (tramp-handle-load, tramp-handle-file-local-copy)
1773         (tramp-handle-insert-file-contents, tramp-handle-write-region)
1774         (tramp-handle-vc-registered, tramp-maybe-send-script)
1775         (tramp-find-shell): Use `with-progress-reporter'.
1776         (tramp-do-file-attributes-with-stat): Add space in format string,
1777         in order to work around a bug in pdksh.  Reported by Gilles Pion
1778         <gpion@lfdj.com>.
1779         (tramp-handle-verify-visited-file-modtime): Do not send a command
1780         when the connection is not established.
1781         (tramp-handle-set-file-times): Simplify the check for utc.
1782         (tramp-handle-directory-files-and-attributes)
1783         (tramp-get-remote-path): Use `copy-tree'.
1784         (tramp-completion-handle-file-name-all-completions): Ensure, that
1785         non remote files are still checked.  Oops.
1786         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
1787         Handle PRESERVE-SELINUX-CONTEXT.
1788         (tramp-do-copy-or-rename-file): Add progress reporter.
1789         (tramp-do-copy-or-rename-file-directly): Do not use
1790         `tramp-handle-file-remote-p'.
1791         (tramp-do-copy-or-rename-file-out-of-band):
1792         Use `tramp-compat-delete-directory'.
1793         (tramp-do-copy-or-rename-file-out-of-band)
1794         (tramp-compute-multi-hops, tramp-maybe-open-connection):
1795         Use `format-spec-make'.
1796         (tramp-handle-delete-file): Add TRASH arg.
1797         (tramp-handle-dired-uncache): Flush directory cache, not only file
1798         cache.
1799         (tramp-handle-expand-file-name)
1800         (tramp-completion-handle-file-name-all-completions)
1801         (tramp-completion-handle-file-name-completion):
1802         Use `tramp-connectable-p'.
1803         (tramp-handle-start-file-process): Set connection property "vec".
1804         Use it, in order to invalidate file caches.  Check only for
1805         `remote-tty' process property.
1806         Implement tty setting.  (Bug#4604, Bug#6360)
1807         (tramp-file-name-for-operation): Add `call-process-region' and
1808         `set-file-selinux-context'.
1809         (tramp-find-foreign-file-name-handler)
1810         (tramp-advice-make-auto-save-file-name)
1811         (tramp-set-auto-save-file-modes): Remove superfluous check for
1812         `stringp'.  This is done inside `tramp-tramp-file-p'.
1813         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
1814         operations when we are in completion mode.  This gives the user
1815         the chance to correct the file name in the minibuffer.
1816         (tramp-completion-mode-p): Use `non-essential'.
1817         (tramp-handle-file-name-all-completions): Backward/ XEmacs
1818         compatibility: Use `completion-ignore-case' if
1819         `read-file-name-completion-ignore-case' does not exist.
1820         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1821         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1822         `tramp-open-shell'.
1823         (tramp-action-password): Hide password prompt before next run.
1824         (tramp-process-actions): Widen connection buffer for the trace.
1825         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1826         process property.  Trace stty settings if `tramp-verbose' >= 9.
1827         Apply workaround for IRIX64 bug.  Move argument of last
1828         `tramp-send-command' where it belongs to.
1829         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1830         front of `login-args'.
1831         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1832         on "/dev/null" instead of "/".
1833         (tramp-get-ls-command-with-dired): Make test for "--dired"
1834         stronger.
1835         (tramp-set-auto-save-file-modes): Adapt version check.
1836         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1837         (tramp-handle-process-file): Call the program in a subshell, in
1838         order to preserve working directory.
1839         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1840         `tramp-remote-sh' from `tramp-methods'.
1841         (tramp-get-ls-command): Make test for "--color=never" stronger.
1842         (tramp-check-for-regexp): Use (forward-line 1).
1844         * net/trampver.el: Update release number.
1846 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1848         * help.el (help-map): Bind `C-h P' to describe-package.
1850         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1852         * emacs-lisp/package.el (package-refresh-contents): Catch errors
1853         when downloading archives.
1854         (describe-package-1): Add package commentary.
1855         (package-install-button-action): New function.
1856         (package-menu-mode-map): Bind ? to package-menu-describe-package.
1857         (package-menu-view-commentary): Function removed.
1858         (package-list-packages-internal): Hide the `package' package too.
1860 2010-08-25  Kenichi Handa  <handa@m17n.org>
1862         * language/misc-lang.el ("Arabic"): New language environment.
1863         Setup composition-function-table for Arabic characters.
1865         * international/fontset.el (setup-default-fontset): Fix typo for
1866         arabic OTF spec (fini->fina).
1868 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
1870         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
1871         on all frames.
1873 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1875         * whitespace.el: Allow cleaning up blanks without blank
1876         visualization (Bug#6651).  Adjust help window for
1877         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
1878         instead of whitespace-line-column (from EmacsWiki).  New version
1879         13.1.
1880         (whitespace-style): Added new value 'face.  Adjust docstring.
1881         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
1882         foreground property face.
1883         (whitespace-line-column): Adjust docstring and type declaration.
1884         (whitespace-style-value-list, whitespace-toggle-option-alist)
1885         (whitespace-help-text): Adjust const initialization.
1886         (whitespace-toggle-options, global-whitespace-toggle-options):
1887         Adjust docstring.
1888         (whitespace-display-window, whitespace-interactive-char)
1889         (whitespace-style-face-p, whitespace-color-on): Adjust code.
1890         (whitespace-help-scroll): New fun.
1892 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
1894         * emacs-lisp/package.el (list-packages): Alias for
1895         package-list-packages.
1897 2010-08-24  Kevin Ryde  <user42@zip.com.au>
1899         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
1900         (Bug#5651).
1902         * progmodes/ruby-mode.el (ruby): Add defgroup.
1904 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
1906         * progmodes/python.el: Add Ipython support (Bug#5390).
1907         (python-shell-prompt-alist)
1908         (python-shell-continuation-prompt-alist): New options.
1909         (python--set-prompt-regexp): New function.
1910         (inferior-python-mode, run-python, python-shell): Require
1911         ansi-color.  Use python--set-prompt-regexp to set the comint
1912         prompt based on the Python interpreter.
1913         (python--prompt-regexp): New var.
1914         (python-check-comint-prompt)
1915         (python-comint-output-filter-function): Use it.
1916         (run-python): Use a pipe (Bug#5694).
1918 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
1920         * progmodes/python.el (python-send-region): Send a different
1921         Python command if Ipython is in use.
1922         (python-check-version): Use a Python command to find the version.
1924 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
1926         * mouse.el (mouse-yank-primary): Avoid setting primary when
1927         deactivating the mark (Bug#6872).
1929 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
1931         * progmodes/python.el (python-block-pairs): Allow use of "finally"
1932         with "else" (Bug#3991).
1934 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
1936         * net/dbus.el: Accept UNIX domain sockets as bus address.
1937         (top): Don't initialize `dbus-registered-objects-table' anymore,
1938         this is done in dbusbind,c.
1939         (dbus-check-event): Adapt test for bus.
1940         (dbus-return-values-table, dbus-unregister-service)
1941         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
1942         Adapt doc string.
1944 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
1946         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
1948 2010-08-22  Juri Linkov  <juri@jurta.org>
1950         * simple.el (read-extended-command): New function with the logic
1951         for `completing-read' moved to Elisp from `execute-extended-command'.
1952         Use `function-called-at-point' in `minibuffer-default-add-function'
1953         to get a command name for M-n (bug#5364, bug#5214).
1955 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
1957         * startup.el (command-line-1): Issue warning for ignored arguments
1958         --unibyte, etc (Bug#6886).
1960 2010-08-22  Leo  <sdl.web@gmail.com>
1962         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
1963         (ignore, bright, dim, keyword): Split list of nicknames before
1964         passing to rcirc-add-or-remove (Bug#6894).
1966 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
1968         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
1970 2010-08-22  Leo  <sdl.web@gmail.com>
1972         Fix buffer-list rename&refresh after killing a buffer in ido.
1973         * ido.el: Revert Óscar's.
1974         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
1975         Remember the buffers at head, rather than their name.
1976         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
1978 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
1979             Stefan Monnier  <monnier@iro.umontreal.ca>
1981         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
1982         extra backslash added to each line (bug#6890).
1984 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1986         * subr.el (read-key): Don't echo keystrokes (bug#6883).
1988 2010-08-22  Glenn Morris  <rgm@gnu.org>
1990         * menu-bar.el (menu-bar-games-menu): Add landmark.
1992 2010-08-22  Glenn Morris  <rgm@gnu.org>
1994         * align.el (align-regexp): Make group and spacing arguments
1995         use the interactive defaults when non-interactive.  (Bug#6698)
1997         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
1998         expansion, so as not to need sendmail.
1999         (mail-text-start): Remove declaration.
2000         (rmail-retry-failure): Require sendmail.
2002 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2004         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2006 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
2008         * progmodes/flymake.el (flymake-start-syntax-check-process):
2009         Use `start-file-process' in order to let it run also on remote hosts.
2011 2010-08-22  Kenichi Handa  <handa@m17n.org>
2013         * files.el: Add `word-wrap' as safe local variable.
2015 2010-08-22  Glenn Morris  <rgm@gnu.org>
2017         * woman.el (woman-translate): Case matters.  (Bug#6849)
2019 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2021         * simple.el (kill-region): Doc fix (Bug#6787).
2023 2010-08-22  Glenn Morris  <rgm@gnu.org>
2025         * calendar/diary-lib.el (diary-header-line-format):
2026         Fit it to the window, not the frame.
2028 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
2030         * subr.el (ignore-errors): Add debug declaration.
2032 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
2034         * whitespace.el (whitespace-color-off): Remove post-command-hook
2035         locally.
2037 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2039         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2041 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2043         * cus-edit.el (custom-group-value-create): Add extra newline
2044         before end line (Bug#6876).
2046 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2048         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2049         when extending it.  Before killing on the second click, check if
2050         the buffer is the correct one.  Doc fix.
2051         (mouse-secondary-save-then-kill): Allow usage without first
2052         calling mouse-start-secondary, by defaulting to point.  Don't save
2053         an empty secondary selection.  Doc fix.
2055 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2057         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
2058         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2059         New version 13.0.
2060         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2061         Adjust initialization.
2062         (whitespace-bob-marker, whitespace-eob-marker)
2063         (whitespace-buffer-changed): New vars.
2064         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2065         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2066         (whitespace-post-command-hook, whitespace-display-char-on):
2067         Adjust code.
2068         (whitespace-looking-back, whitespace-buffer-changed): New funs.
2069         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2071 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2073         * files.el (locate-file-completion-table): Only list the .el and .elc
2074         extensions if there's no other choice (bug#5955).
2076         * facemenu.el (facemenu-self-insert-data): New var.
2077         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2078         New functions.
2079         (facemenu-add-face): Use them.
2081         * simple.el (blink-matching-open): Obey forward-sexp-function.
2083 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2085         * simple.el (prog-mode-map): New var.
2086         (prog-indent-sexp): New command.
2088         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2090         * progmodes/prolog.el (smie): Require.
2092         * emacs-lisp/smie.el (smie-default-backward-token)
2093         (smie-default-forward-token): Strip properties.
2094         (smie-next-sexp): Be more careful with associative operators.
2095         (smie-forward-sexp-command): Generalize.
2096         (smie-backward-sexp-command): Simplify.
2097         (smie-closer-alist): New var.
2098         (smie-close-block): New command.
2099         (smie-indent-debug-log): New var.
2100         (smie-indent-offset-rule): Add a few more cases.
2101         (smie-indent-column): New function.
2102         (smie-indent-after-keyword): Use it.
2103         (smie-indent-keyword): Use it.
2104         Fix up the opener code's point position.
2105         (smie-indent-comment): Only applies at BOL.
2106         (smie-indent-debug): New command.
2108         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2109         declarations that are useful before running the macro.
2111 2010-08-18  Joakim Verona  <joakim@verona.se>
2113         * image.el (imagemagick-types-inhibit): New variable.
2114         (imagemagick-register-types): New function.
2115         * image-mode.el (image-transform-properties): New function.
2116         (image-transform-set-scale, image-transform-fit-to-height)
2117         (image-transform-set-rotation, image-transform-set-resize)
2118         (image-transform-fit-to-width, image-transform-fit-to-height):
2119         New functions.
2120         (image-toggle-display-image): Support image transforms.
2122 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2124         * image.el (create-animated-image): Don't add heuristic mask to image
2125         (Bug#6839).
2127 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
2129         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2130         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2132 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2134         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2136         Font-lock '...' strings, plus various simplifications and fixes.
2137         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2138         (octave-font-lock-close-quotes): New function.
2139         (octave-font-lock-syntactic-keywords): New var.
2140         (octave-mode): Use it.  Set beginning-of-defun-function.
2141         (octave-mode-map): Don't override the <foo>-defun commands.
2142         (octave-mode-menu): Pass it directly to easy-menu-define;
2143         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2144         (octave-block-match-alist): Fix up last change so that
2145         octave-close-block uses the more specific keyword.
2146         (info-lookup-mode): Silence byte-compiler.
2147         (octave-beginning-of-defun): Not interactive any more.
2148         Optimize slightly.
2149         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2150         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2151         (octave-completion-at-point-function): Make sure point is within
2152         beg..end.
2153         (octave-reindent-then-newline-and-indent):
2154         Use reindent-then-newline-and-indent.
2155         (octave-add-octave-menu): Remove.
2157 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
2159         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2160         (report-emacs-bug-can-use-xdg-email): New functions.
2161         (report-emacs-bug): Set can-xdg-email to result of
2162         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
2163         \C-cm to report-emacs-bug-insert-to-mailer and add help text
2164         about it.
2166         * net/browse-url.el (browse-url-default-browser): Add cond
2167         for browse-url-xdg-open.
2168         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2170 2010-08-17  Glenn Morris  <rgm@gnu.org>
2172         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2173         (c-fontify-recorded-types-and-refs): Define for compiler.
2174         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2175         before use.
2177         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2178         Fix format call.
2180 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
2182         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2183         properties.
2184         (tramp-handle-process-file): Call the program in a subshell, in
2185         order to preserve working directory.
2186         (tramp-action-password): Hide password prompt before next run.
2187         (tramp-process-actions): Widen connection buffer for the trace.
2189 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2191         * net/rcirc.el (rcirc-log-process-buffers): New option.
2192         (rcirc-print): Use it.
2193         (rcirc-generate-log-filename): New function.
2194         (rcirc-log-filename-function): Change default to
2195         rcirc-generate-log-filename (Bug#6828).
2197 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
2199         * simple.el (deactivate-mark): If select-active-regions is `only',
2200         only set selection for temporarily active regions.
2202         * cus-start.el: Change defcustom for select-active-regions.
2204 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2206         * mouse.el (mouse--drag-set-mark-and-point): New function.
2207         (mouse-drag-track): Use LOCATION arg to push-mark.
2208         Use mouse--drag-set-mark-and-point to take click-count into
2209         consideration when updating point and mark (Bug#6840).
2211 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2213         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2214         Give the Ruby rule a lower priority than Gnu (Bug#6778).
2216 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2218         * font-lock.el (lisp-font-lock-keywords-2):
2219         Add combine-after-change-calls, condition-case-no-debug,
2220         with-demoted-errors, and with-silent-modifications (Bug#6025).
2222 2010-08-14  Kevin Ryde  <user42@zip.com.au>
2224         * emacs-lisp/copyright.el (copyright-update-year)
2225         (copyright-update): Temporary switch-to-buffer to ensure the
2226         buffer change being queried is visible (Bug#5394).
2228 2010-08-14  Tom Tromey  <tromey@redhat.com>
2230         * progmodes/etags.el (tags-file-name): Mark safe if stringp
2231         (Bug#6733).
2233 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
2235         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2236         MS-DOS.  (Bug#6689)
2238 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
2240         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2241         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2242         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2243         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2244         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2245         Call menu-bar-set-tool-bar-position.
2247 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2249         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2250         comment style (bug#6834).
2251         * progmodes/scheme.el (scheme-mode-syntax-table):
2252         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2253         "b" flag in "' 14b" syntax.
2255         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2256         for (un)commenting the region and performing completion.
2257         (octave-mode-menu): Use standard commands for help and completion.
2258         (octave-mode-syntax-table): Support %{..%} comments (sort of).
2259         (octave-mode): Use define-derived-mode.
2260         Set completion-at-point-functions and don't set columns.
2261         Don't disable adaptive-fill-regexp.
2262         (octave-describe-major-mode, octave-comment-region)
2263         (octave-uncomment-region, octave-comment-indent)
2264         (octave-indent-for-comment): Remove.
2265         (octave-indent-calculate): Rename from calculate-octave-indent.
2266         (octave-indent-line, octave-fill-paragraph): Update caller.
2267         (octave-initialize-completions): No need to make an alist.
2268         (octave-completion-at-point-function): New function.
2269         (octave-complete-symbol): Use it.
2270         (octave-insert-defun): Use define-skeleton.
2272         * progmodes/octave-mod.el (octave-mode): Set comment-add.
2273         (octave-mode-map): Use comment-dwim (bug#6829).
2275 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2277         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2278         indentation of inserted comment.
2280 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
2282         * faces.el (region): Add type gtk that uses gtk colors.
2284         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2285         Handle theme-name change.
2287 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
2289         * progmodes/sql.el: Version 2.5
2290         (sql-product-alist): Add :prompt-cont-regexp property for several
2291         database products.
2292         (sql-prompt-cont-regexp): New variable.
2293         (sql-output-newline-count, sql-output-by-send):
2294         New variables.  Record number of newlines in input text.
2295         (sql-send-string): Handle multiple filters and count newlines.
2296         (sql-send-magic-terminator): Count terminator newline.
2297         (sql-interactive-remove-continuation-prompt): Filters output to
2298         remove continuation prompts; one for each newline.
2299         (sql-interactive-mode): Set up new variables, prompt regexp and
2300         output filter.
2301         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2302         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2304 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2306         * emacs-lisp/pcase.el: New file.
2308 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
2310         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2311         as here-document, otherwise the command could exceed maximum
2312         length of command line.
2313         (tramp-handle-vc-registered): Call script accordingly.
2314         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2316 2010-08-10  Kenichi Handa  <handa@m17n.org>
2318         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2319         composable pattern.
2321 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
2323         * emacs-lisp/package.el (package-version-split)
2324         (package--version-first-nonzero, package-version-compare):
2325         Functions removed.
2326         (package-directory-list, package-load-all-descriptors)
2327         (package--built-in, package-activate, define-package)
2328         (package-installed-p, package-compute-transaction)
2329         (package-read-all-archive-contents)
2330         (package--add-to-archive-contents, package-buffer-info)
2331         (package-tar-file-info, package-list-packages-internal):
2332         Use version-to-list and version-list-*.
2334         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2335         Use version-to-list.
2336         (package-upload-buffer-internal): Use version-list-<=.
2338 2010-08-09  Kenichi Handa  <handa@m17n.org>
2340         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2341         composable pattern.
2343 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
2345         * tutorial.el (tutorial--default-keys): C-d is now bound to
2346         delete-forward-char (Bug#6826).
2348         * mouse.el (mouse-drag-track): Remove accidentally-removed check
2349         for `double' value of mouse-1-click-follows-link (Bug#6807).
2351 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
2353         * replace.el (replace-highlight): Bind isearch-forward and
2354         isearch-error, ensuring that highlighting is updated if the user
2355         switches the search direction (Bug#6808).
2357         * isearch.el (isearch-lazy-highlight-forward): New var.
2358         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2359         (isearch-lazy-highlight-update): Use it.
2361 2010-08-08  Kenichi Handa  <handa@m17n.org>
2363         * international/mule.el (define-charset): Store NAME as :base property.
2364         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2365         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2366         current priority.  Force using the designation of the specific
2367         charset by adding `charset' text property.  Improve the whole algorithm.
2369 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2371         * emulation/pc-select.el (pc-selection-mode-hook)
2372         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2373         (pc-selection-mode): Fix typos in docstrings.
2375 2010-08-08  Kenichi Handa  <handa@m17n.org>
2377         * language/cyrillic.el: Don't add "microsoft-cp1251" to
2378         ctext-non-standard-encodings-alist here.
2380         * international/mule.el (ctext-non-standard-encodings-alist):
2381         Add "koi8-r" and "microsoft-cp1251".
2382         (ctext-standard-encodings): New variable.
2383         (ctext-non-standard-encodings-table): List only elements for
2384         non-standard encodings.
2385         (ctext-pre-write-conversion): Adjust for the above change.
2386         Check ctext-standard-encodings.
2388         * international/mule-conf.el (compound-text): Doc fix.
2389         (ctext-no-compositions): Doc fix.
2390         (compound-text-with-extensions): Doc fix.
2392 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2394         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2396 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2398         * progmodes/which-func.el (which-func-format): Split help-echo text
2399         into lines, like other mode-line tooltips.
2401         * server.el (server-start): When using TCP sockets, force IPv4
2402         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
2404 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2406         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2408 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2410         * term.el (term-delimiter-argument-list): Reflow docstring.
2411         (term-read-input-ring, term-write-input-ring, term-send-input)
2412         (term-bol, term-erase-in-display, serial-supported-or-barf):
2413         Fix typos in docstrings.
2415 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2417         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2419 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2421         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2423 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
2425         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2426         Fix typo in docstring (bug#6747).
2428 2010-08-08  Leo  <sdl.web@gmail.com>
2430         * eshell/esh-io.el (eshell-get-target): Better detection of
2431         read-only file (Bug#6762).
2433 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2435         * align.el (align-default-spacing): Doc fix.
2436         (align-region-heuristic, align-regexp): Fix typos in docstrings.
2438 2010-08-08  Stephen Peters  <speters@itasoftware.com>
2440         * calendar/icalendar.el
2441         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
2442         (icalendar--get-weekday-numbers): New.
2443         (icalendar--convert-recurring-to-diary): Handle multiple byday
2444         values in weekly rules.  (Bug#6766)
2446 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
2448         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2449         (icalendar--create-uid, icalendar-export-region)
2450         (icalendar--parse-summary-and-rest): Code formatting.
2452 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2454         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2455         to italicize headers.
2456         (calc-highlight-selections-with-faces): New variable.
2457         (calc-selected-face, calc-nonselected-face): New faces.
2459         * calc/calccomp.el (math-comp-highlight-string): Use
2460         `calc-highlight-selections-with-faces' to determine how to highlight
2461         sub-formulas.
2463         * calc/calc-sel.el (calc-show-selections): Change message to when
2464         using faces to highlight selections.
2466 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
2468         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2469         Add SQLite 3 keywords, functions and datatypes.
2470         (sql-interactive-mode): Remove `comint-process-echoes' set to t
2471         (Bug#6686).
2473 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
2475         * simple.el (select-active-regions): Move to keyboard.c.
2476         (deactivate-mark): Used saved-region-selection.
2477         (select-active-region): Function removed.
2478         (activate-mark, set-mark, push-mark-command)
2479         (handle-shift-selection): Don't call it.
2480         (keyboard-quit): Avoid adding the region to the window selection.
2482         * mouse.el (mouse-drag-track): Remove hacks to deal with old
2483         select-active-regions implementation.
2484         (mouse-yank-at-click): Doc fix.
2486         * cus-start.el: Add custom declaration for select-active-regions.
2488 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
2490         * simple.el (delete-forward-char): Doc fix.
2492         * tutorial.el (help-with-tutorial): Hack safe file-local variables
2493         after reading the tutorial.
2495 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
2497         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2498         for the case that a C style comment has its delimiters alone on
2499         their respective lines.
2501 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
2503         * net/tramp.el (tramp-handle-start-file-process): Set connection
2504         property "vec".
2505         (tramp-process-sentinel): Use it for flushing the cache.  We
2506         cannot do it via the process buffer, the buffer could be deleted
2507         already when running the sentinel.
2509 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2511         * comint.el (comint-mode): Make directory tracking functions
2512         functional on remote files.  (Bug#6764)
2514 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
2516         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2518 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
2520         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2521         unexec.c => unexcoff.c.
2523         * emacs-lisp/authors.el (authors-fixed-entries): Rename
2524         unexec.c => unexcoff.c.
2526 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
2528         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2529         cache, not only file cache.
2530         (tramp-process-sentinel): New defun.
2531         (tramp-handle-start-file-process): Use it, in order to invalidate
2532         file caches.
2534 2010-08-03  Leo  <sdl.web@gmail.com>
2536         * server.el (server-start): Simplify loop.
2538 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2540         * frame.el (screen-height, screen-width, set-screen-width)
2541         (set-screen-height): Remove ancient compatibility aliases.
2543         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2544         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
2546         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2547         that change current buffer.
2549 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2551         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2552         beginning of the string.  Use `string-match-p'.  (Bug#6765)
2554 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
2556         * cus-start.el (x-gtk-use-system-tooltips): New variable.
2558 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
2560         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2561         (package--builtins): Tweak descriptions.
2562         (package-print-package): Upcase descriptions if necessary.
2563         Show all built-in packages in font-lock-builtin-face.
2564         (package-list-packages-internal): Omit "emacs" package.
2565         Show status of built-in packages as "built-in".
2567 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
2569         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
2570         before killing to preserve the primary selection (Bug#6701).
2572         * term/x-win.el (x-select-text): Doc fix.
2574 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
2576         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2577         The following functions were modified or created:
2579         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2580         (objc-font-lock-extra-types):
2581         * progmodes/cc-mode.el (c-basic-common-init):
2582         * progmodes/cc-langs.el (c-make-mode-syntax-table)
2583         (c++-make-template-syntax-table)
2584         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2585         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2586         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2587         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2588         * progmodes/cc-fonts.el (c-make-inverse-face)
2589         (c-basic-matchers-after):
2590         * progmodes/cc-engine.el (c-forward-keyword-clause)
2591         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2592         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2593         (c-guess-continued-construct, c-guess-basic-syntax):
2595 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
2597         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2599 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
2601         * files.el (bidi-paragraph-direction): Define safe local values.
2603         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2604         language-info-alist.  Remove outdated FIXME in a comment.
2606 2010-07-31  Alan Mackenzie  <acm@muc.de>
2608         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2609         Auto-fill broken in C/C++ modes.
2611 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
2613         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2614         (menu-bar-showhide-tool-bar-menu-customize-disable)
2615         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2616         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2617         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2618         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2619         make a menu for Options => toolbar that can move it.
2621 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
2623         * emacs-lisp/package-x.el (package--make-rss-entry):
2624         (package-maint-add-news-item, package--update-news)
2625         (package-upload-buffer-internal): New arg ARCHIVE-URL.
2627         * emacs-lisp/package.el (package-archive-url): Rename from
2628         package-archive-id.
2629         (package-install): Doc fix.
2630         (package-download-single, package-download-tar, package-install)
2631         (package-menu-view-commentary): Callers changed.
2633 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
2635         * net/tramp.el (tramp-handle-start-file-process): Check only for
2636         `remote-tty' process property.
2637         (tramp-open-shell): Don't check for tty.
2638         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2639         process property.
2641         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2642         host.
2644 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
2646         * emacs-lisp/package.el (package-load-list, package-archives)
2647         (package-archive-contents, package-user-dir)
2648         (package-directory-list, package--builtins, package-alist)
2649         (package-activated-list, package-obsolete-alist): Mark as risky.
2651 2010-07-28  Phil Hagelberg  <phil@evri.com>
2653         Add support for non-default package repositories.
2654         * emacs-lisp/package.el (package-archive-base): Var deleted.
2655         (package-archives): New variable.
2656         (package-archive-contents): Doc fix.
2657         (package-load-descriptor): Do nothing if descriptor file is missing.
2658         (package--write-file-no-coding): New function.
2659         (package-unpack-single): Use it.
2660         (package-archive-id): New function.
2661         (package-download-single, package-download-tar)
2662         (package-menu-view-commentary): Use it.
2663         (package-installed-p): Make second argument optional.
2664         (package-read-all-archive-contents): New function.
2665         (package-initialize): Use it.
2666         (package-read-archive-contents): Add ARCHIVE argument.
2667         (package--add-to-archive-contents): New function.
2668         (package-install): Don't call package-read-archive-contents.
2669         (package--download-one-archive): Store archive file in a
2670         subdirectory of package-user-dir.
2671         (package-menu-execute): Remove spurious line movement.
2673 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
2675         * cus-start.el (tool-bar-style): Add text-image-horiz.
2677 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2679         * progmodes/gud.el (gud-common-init): Check for remoteness of
2680         `file', and not of `default-directory'.
2682 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2684         * net/tramp.el (tramp-methods): Move hostname to the end in all
2685         ssh `tramp-login-args'.
2686         (tramp-verbose): Describe verbose level 9.
2687         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2688         (tramp-open-connection-setup-interactive-shell): Trace stty
2689         settings if `tramp-verbose' >= 9.
2690         (tramp-handle-start-file-process): Implement tty setting.
2691         (Bug#4604, Bug#6360)
2693         * net/tramp-cmds.el (tramp-bug): Recommend setting of
2694         `tramp-verbose' to 9.
2696 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
2698         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2699         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2700         Remove references to package `lisp-re' (bug#4369).
2702 2010-07-27  Tom Tromey  <tromey@redhat.com>
2704         * progmodes/js.el (js-mode):
2705         * progmodes/make-mode.el (makefile-mode):
2706         * progmodes/simula.el (simula-mode):
2707         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2709 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
2711         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2713         * time.el (display-time-day-and-date): Remove spurious * in docstring.
2714         (display-time-world-buffer-name, display-time-world-mode-map):
2715         Fix typos in docstrings.
2717 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
2719         * image-mode.el (image-display-size): New function.
2720         (image-forward-hscroll, image-next-line, image-eol, image-eob)
2721         (image-mode-fit-frame): Use it (Bug#6639).
2723 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
2725         * dired.el (dired-buffers-for-dir): Handle list values of
2726         dired-directory (Bug#6636).
2728 2010-07-26  Sam Steingold  <sds@gnu.org>
2730         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2731         Do not call `x-get-selection' the second time, reuse the value.
2733 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
2735         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2736         which consist of control chars only.  Suggested by Richard Stallman.
2738 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
2740         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2741         exists before passing an error to find-file-not-found-functions
2742         (bug#6723).
2744 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
2746         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2747         Remove leading nil element, adjust values.
2748         (tetris-shapes, tetris-shape-scores):
2749         Change representation of shapes and remove some redundancy.
2750         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2751         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2752         Adjust for working with new representation of shapes.
2753         (tetris-shape-rotations): New function.
2754         (tetris-move-bottom, tetris-move-left, tetris-move-right)
2755         (tetris-rotate-prev, tetris-rotate-next):
2756         Adjust for working with the new version of tetris-test-shape.
2758 2010-07-23  Markus Triska  <markus.triska@gmx.at>
2760         * progmodes/ps-mode.el: Use comint (bug#5954).
2761         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2762         (ps-mode-other-newline): Simplify.
2763         (ps-run-mode): Derive from comint-mode instead of
2764         fundamental-mode, yielding input history etc.
2765         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2766         (ps-run-send-string): Adapt for comint-mode.
2767         (ps-run-newline): Remove now unneeded function.
2769 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2771         * net/tramp.el (tramp-methods): Move hostname to the end in all
2772         plink `tramp-login-args'.
2774 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2776         * net/tramp.el (tramp-open-shell): New defun.
2777         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2778         Use it.
2780 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2782         * net/tramp.el (tramp-file-name-regexp-unified)
2783         (tramp-completion-file-name-regexp-unified): On W32 systems, do
2784         not regard the volume letter as remote filename.  (Bug#5447)
2786 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
2788         * custom.el (custom-declare-variable): Give a clearer error message
2789         when the docstring is missing (bug#6476).
2791 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
2793         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
2794         (sql-login-params): New widget definition.
2795         (sql-oracle-login-params, sql-mysql-login-params)
2796         (sql-solid-login-params, sql-sybase-login-params)
2797         (sql-informix-login-params, sql-ingres-login-params)
2798         (sql-ms-login-params, sql-postgres-login-params)
2799         (sql-interbase-login-params, sql-db2-login-params)
2800         (sql-linter-login-params): Use it.
2801         (sql-sqlite-login-params): Use it; Define "database" parameter as
2802         a file name.
2803         (sql-sqlite-program): Change to "sqlite3".
2804         (sql-comint-sqlite): Make sure database name is complete.
2805         (sql-for-each-login): New function.
2806         (sql-connect, sql-save-connection): Use it.
2807         (sql-get-login-ext): New function.
2808         (sql-get-login): Use it.
2809         (sql-make-alternate-buffer-name): Handle :file parameters.
2811 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
2813         * dired.el (dired-no-confirm): Document value t and fix defcustom to
2814         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
2816 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
2818         * dired.el (dired-mode-map): Use command remapping (bug#6632).
2820 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
2822         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2824 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
2826         * net/tramp.el (tramp-get-ls-command)
2827         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2828         instead of "/".
2830 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
2832         * progmodes/sql.el: Version 2.3.
2833         (sql-connection-alist): Changed keys from symbols to strings;
2834         enhanced the widget definition.
2835         (sql-mode-menu): Added submenu to select connections.
2836         (sql-interactive-mode-menu): Added "Save Connection" item.
2837         (sql-add-product): Fixed menu item.
2838         (sql-get-product-feature): Improved error handling.
2839         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2840         (sql-make-alternate-buffer-name): Simplified.
2841         (sql-product-interactive): Handle missing product.
2842         (sql-connect): Support string keys, minor improvements.
2843         (sql-save-connection): New function.
2844         (sql-connection-menu-filter): New function.
2846 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2848         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2849         (tramp-open-connection-setup-interactive-shell): Apply
2850         workaround for IRIX64 bug.  Move argument of last
2851         `tramp-send-command' where it belongs to.
2853 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2855         * net/tramp.el (tramp-perl-file-attributes)
2856         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2857         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2858         front of `login-args'.
2860 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
2862         * time.el (display-time-world-mode): Define with `define-derived-mode'.
2863         Set `show-trailing-whitespace' to nil.
2864         (display-time-world-display): Simplify.
2866 2010-07-18  Alan Mackenzie  <acm@muc.de>
2868         Enhance `c-file-style' in file/directory local variables.
2869         * progmodes/cc-mode.el (c-count-cfss): New function.
2870         (c-before-hack-hook): Call `c-set-style' differently according to
2871         whether c-file-style was set in file or directory local
2872         variables.
2874 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
2876         * progmodes/sql.el: Version 2.2.
2877         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
2878         defcustom :safe keyword rather than putting safe-local-variable
2879         property.
2880         (sql-password): Use defcustom :risky keyword rather than putting
2881         risky-local-variable property.
2882         (sql-oracle-login-params, sql-sqlite-login-params)
2883         (sql-solid-login-params, sql-sybase-login-params)
2884         (sql-informix-login-params, sql-ingres-login-params)
2885         (sql-ms-login-params, sql-postgres-login-params)
2886         (sql-interbase-login-params, sql-db2-login-params)
2887         (sql-linter-login-params): Add `port' option.
2888         (sql-get-product-feature): Added NO-INDIRECT parameter.
2889         (sql-comint-oracle, sql-comint-sybase)
2890         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
2891         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
2892         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
2893         (sql-comint-linter): Renamed sql-connect-* functions to
2894         sql-comint-*.
2895         (sql-product-alist, sql-mode-menu): Renamed as above and
2896         :sqli-connect-func to :sqli-comint-func.
2897         (sql-connection): New variable.
2898         (sql-interactive-mode): Set it.
2899         (sql-connection-alist): New variable.
2900         (sql-connect): New function.
2901         (sql--alt-buffer-part, sql--alt-if-not-empty)
2902         (sql-make-alternate-buffer-name): Improved alternative buffer name.
2904 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2906         * image-mode.el (image-bookmark-make-record): Do not set context
2907         in an image (Bug#6650).
2909 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
2911         * simple.el (select-active-region): New function.
2912         (push-mark-command, set-mark, activate-mark)
2913         (handle-shift-selection): Use it.
2914         (deactivate-mark): Don't check for size of region.
2916         * mouse.el (mouse-drag-track): Use select-active-region.
2918 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
2920         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
2921         "--dired" stronger.
2923 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
2925         * term/x-win.el (x-select-enable-primary): Change default to nil.
2926         (x-select-enable-clipboard): Add :version keyword.
2928         * mouse.el (mouse-drag-copy-region):
2929         * simple.el (select-active-regions): Likewise.
2931 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
2933         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
2934         (vc-coding-system-for-diff): Use it to decide whether to inherit
2935         from the file the EOL format for reading the diffs of that file.
2936         (Bug#4451)
2938 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
2940         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
2941         unibyte, so compressed attachments are not compressed again.
2943 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
2945         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
2946         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
2947         (tramp-find-shell): Simplify setting connection property.
2948         (tramp-get-ls-command): Make test for "--color=never" stronger.
2950 2010-07-15  Simon South  <ssouth@member.fsf.org>
2952         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
2953         blocks within record declarations (i.e. variant parts) correctly.
2955 2010-07-15  Simon South  <ssouth@member.fsf.org>
2957         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
2958         over literal tokens when parsing so newlines aren't "absorbed" by
2959         single-line comments.  Corrects the indentation of case blocks
2960         that have a comment on the first line.
2962 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
2964         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
2965         by Drew Adams (Bug#5504).
2967 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
2969         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
2970         now that Unicode is used (Bug#6594).
2972 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
2974         * term/x-win.el (x-select-enable-clipboard): Default to t.
2975         (x-initialize-window-system): Don't overwrite Paste menu item.
2977         * simple.el (select-active-regions): Default to t.
2978         (push-mark-command): Don't overwrite primary with empty string.
2980         * mouse.el: Bind mouse-2 to mouse-yank-primary.
2981         (mouse-drag-copy-region): Default to nil.
2983         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
2984         Cut/Copy/Paste menu bar items.
2986 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2988         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
2989         Patch applied by Karl Fogel.
2991         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
2992         and `bookmark-current-buffer' if they have been already set in
2993         another buffer (e.g gnus-art).
2995 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
2996             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2998         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3000         * bookmark.el (bookmark-make-record-default): Allow unneeded
3001         information to be omitted from the record.
3003         Adjust declarations and calls:
3005         * info.el (bookmark-make-record-default): Adjust declaration.
3006         (Info-bookmark-make-record): Adjust call.
3008         * woman.el (bookmark-make-record-default): Adjust declaration.
3009         (woman-bookmark-make-record): Adjust call.
3011         * man.el (bookmark-make-record-default): Adjust declaration.
3012         (Man-bookmark-make-record): Adjust call.
3014         * image-mode.el (bookmark-make-record-default): Adjust declaration.
3016         * doc-view.el (bookmark-make-record-default): Adjust declaration.
3018 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3020         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3021         This is also from Thierry Volpiatto's patch in bug #6444.  However,
3022         because it was extraneous to the functional change in that patch,
3023         and causes a re-indendation, I am committing it separately.
3025 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3027         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3028         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3029         Patch applied by Karl Fogel (Bug#6444).
3031 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
3033         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3035 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
3037         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3038         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
3039         (ns-alternatives-map): Change S-tab binding to backtab
3040         (bug#6616).
3042         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3043         under ns.
3045 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
3047         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3048         (Bug#5806)
3050         * language/tv-util.el (tai-viet-re): Remove format.
3052 2010-07-12  Kenichi Handa  <handa@m17n.org>
3054         * language/hebrew.el: Remove no-byte-compile declaration.
3055         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
3056         composition-function-table for 3-character looking back.
3057         (hebrew-font-get-precomposed): New function.
3058         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3060 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
3062         * mouse.el (mouse-drag-track): Handle select-active-regions
3063         (Bug#6612).
3065 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
3067         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3068         empty argument to gvfs-copy.
3070 2010-07-10  Glenn Morris  <rgm@gnu.org>
3072         * calendar/calendar.el (calendar-week-end-day): New function.
3073         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3074         Respect calendar-week-start-day.  (Bug#6606)
3075         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3076         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3077         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3078         respect calendar-week-start-day.
3080 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
3082         * simple.el (use-region-p): Doc fix (Bug#6607).
3084 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
3086         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3087         regexps for cucumber and ruby.
3089 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
3091         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3092         (epa-file-insert-file-contents): Hack to prevent
3093         find-file from opening empty buffer when decryption failed
3094         (bug#6568).
3096 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
3098         * textmodes/ispell.el (ispell-alternate-dictionary):
3099         Use file-readable-p.
3100         Return nil if no word-list is found at default locations.
3101         (ispell-complete-word-dict): Default to nil.
3102         (ispell-command-loop): Use 'word-list' when using lookup-words.
3103         (lookup-words): Use ispell-complete-word-dict or
3104         ispell-alternate-dictionary.  Check for word-list availability
3105         and handle errors if needed with better messages (Bug#6539).
3106         (ispell-complete-word): Use ispell-complete-word-dict or
3107         ispell-alternate-dictionary.
3109 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
3111         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3112         builtins (BufferError, BytesWarning, WindowsError; callables
3113         bin, bytearray, bytes, format, memoryview, next, print; __package__).
3115 2010-07-07  Glenn Morris  <rgm@gnu.org>
3117         * play/zone.el (top-level): Do not require timer, tabify, or cl.
3118         (zone-shift-left): Ignore intangibility, and any errors from
3119         forward-char.
3120         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
3121         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3122         deleting, and copying text properties.
3123         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3124         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3125         to point-max is hard.
3126         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3127         (zone-fill-out-screen): Ignore intangibility.
3129 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
3131         * menu-bar.el (menu-bar-mode):
3132         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3133         if it has been set.
3135         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3136         word/line selection (Bug#6565).
3138 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
3140         * net/dbus.el (dbus-send-signal): Declare function.
3142 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
3144         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3145         (dbus-register-property): New optional argument EMITS-SIGNAL.
3146         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3148 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
3150         * mouse.el (mouse-drag-overlay): Variable deleted.
3151         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3152         (mouse--remap-link-click-p): New function.
3153         (mouse-drag-track): Handle dragging by using temporary Transient
3154         Mark mode, instead of a special overlay.
3155         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3156         mouse-show-mark.
3158         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3159         deleted.
3161 2010-07-02  Juri Linkov  <juri@jurta.org>
3163         * autoinsert.el (auto-insert-alist): Fix readability
3164         by using dotted pair notation for lambda.
3166 2010-07-02  Juri Linkov  <juri@jurta.org>
3168         * faces.el (read-face-name): Rename arg `string-describing-default'
3169         to `default'.  Doc fix.  Display the default value in quotes
3170         in the prompt.  With empty input, return the `default' arg,
3171         unless the default value is a string (in which case return nil).
3172         (describe-face): Replace the string `default' arg of `read-face-name'
3173         with the symbol `default'.
3175 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
3177         * emulation/viper-cmd.el (viper-delete-backward-char)
3178         (viper-del-backward-char-in-insert)
3179         (viper-del-backward-char-in-replace, viper-change)
3180         (viper-backward-indent): Replace delete-backward-char with
3181         delete-char (Bug#6552).
3183 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
3185         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3187 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3189         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3190         argument passed to frame-creation-function (Bug#5378).
3192         * faces.el (x-handle-named-frame-geometry)
3193         (x-handle-reverse-video, x-create-frame-with-faces)
3194         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3195         separately consult default-frame-alist.  It is now passed as the
3196         PARAMETER argument.
3198 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
3200         * startup.el (command-line): Don't call tool-bar-setup in a
3201         tty-only build.
3203 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3205         * ruler-mode.el (ruler--save-header-line-format): New fun.
3206         (ruler-mode): Use it as a setter function, so as not to overwrite
3207         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3209 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
3211         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
3212         (vc-root-diff, vc-print-root-log, vc-log-incoming)
3213         (vc-log-outgoing): Use it.
3214         (vc-diff-internal): Set diff-vc-backend.
3216         * vc/diff-mode.el (diff-vc-backend): New var.
3218 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
3220         * dynamic-setting.el (font-setting-change-default-font): Remove
3221         call to message.
3223 2010-06-28  Kenichi Handa  <handa@m17n.org>
3225         * international/quail.el (quail-insert-kbd-layout): Fix the
3226         showing of untranslated characters.
3228 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
3230         * simple.el (delete-active-region): New option.
3231         (delete-backward-char): Implement in Lisp.
3232         (delete-forward-char): New command.
3234         * mouse.el (mouse-region-delete-keys): Deleted.
3235         (mouse-show-mark): Simplify.
3237         * bindings.el (global-map): Bind delete and DEL, the former to
3238         delete-forward-char.
3240 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
3242         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3243         (ruby-mode): Bind indent-line-function (Bug#5119).
3245 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3247         * startup.el (command-line): Recognize "0" X resource value.
3249 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3251         * startup.el (command-line): Use X resources to set the value of
3252         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3254         * menu-bar.el (menu-bar-mode):
3255         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3256         Set init-value to t.
3258         * frame.el (frame-notice-user-settings): Don't change
3259         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3260         vice versa (Bug#2249).
3262 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
3264         * w32-fns.el (w32-convert-standard-filename): Doc fix.
3266 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3268         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3269         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3271         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3272         default directories are expanded (Bug#6143).
3274 2010-06-24  Juri Linkov  <juri@jurta.org>
3276         * minibuffer.el (completions-format): Change default from nil to
3277         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
3279 2010-06-24  Juri Linkov  <juri@jurta.org>
3281         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3282         buffer-locally to lambda that re-runs the vc diff command.
3283         (Bug#6447)
3285 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
3287         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3288         echo area is in use (Bug#3412).
3290 2010-06-22  Glenn Morris  <rgm@gnu.org>
3292         * textmodes/texinfmt.el (texinfo-format-region)
3293         (texinfo-raise-lower-sections, texinfo-format-separate-node)
3294         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3295         (texinfo-format-option, texinfo-noindent):
3296         Use line-beginning-position and line-end-position.
3298         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3299         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3300         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3301         utf-8 characters.
3303 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
3305         * play/zone.el (zone-fall-through-ws): Fix next-line ->
3306         forward-line fallout.
3308 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
3310         * mouse.el (mouse-appearance-menu): Add docstring.
3312         * help.el (describe-key): Print up-event using key-description.
3314 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
3316         * net/zeroconf.el (zeroconf-resolve-service)
3317         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3318         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3320 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3322         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3324 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
3326         Avoid displaying files with a nil state in vc-dir.
3327         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3328         cases that cause insertion.
3329         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3330         with a nil state.
3332 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3334         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3336 2010-06-29  Leo  <sdl.web@gmail.com>
3338         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
3340 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
3342         * generic-x.el (bat-generic-mode): Fix regexp for command line
3343         switches (Bug#5719).
3345 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
3347         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3348         of nconc to avoid pure storage error (Bug#6239).
3350 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
3352         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3353         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3354         bindings of bookmark-automatically-show-annotations (Bug#6515).
3356 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
3358         * arc-mode.el (archive-zip-extract): Don't quote the file name on
3359         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
3361 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3363         * comint.el (make-comint, make-comint-in-buffer): Mention return
3364         value in the docstrings.  (Bug#6498)
3366 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
3368         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3369         since it is not present when using some non-default switches.
3371 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
3373         * simple.el (compose-mail): Fix doc string to refer to
3374         `compose-mail-user-agent-warnings', instead of to the
3375         nonexistent `compose-mail-check-user-agent'.
3377 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
3379         Fix an indentation bug:
3381         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3382         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3383         of existing values.
3385         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3386         (c-clear->-pair-props-if-match-before): now return t when they've
3387         cleared properties, nil otherwise.
3388         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3389         by taking account of the existing value.
3391         * progmodes/cc-defs.el
3392         (c-clear-char-property-with-value-function): Fix this to clear the
3393         property rather than overwriting it with nil.
3395 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
3397         * emacs-lisp/package.el (package-print-package): Add link to
3398         package description via describe-package.
3399         (describe-package-1): List package requirements.  Add button to
3400         perform installation.
3401         (package-menu-describe-package): New command.
3403         * help-mode.el (help-package): New button type.
3405 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
3407         * emacs-lisp/package.el: Move package-list-packages binding to
3408         menu-bar.el.
3409         (describe-package, describe-package-1, package--dir): New funs.
3410         (package-activate-1): Use package--dir.
3412         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3414         * help-mode.el (help-package-def): New button type.
3416         * menu-bar.el: Move package-list-packages binding here from
3417         package.el.
3419 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
3421         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
3423 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3425         * emacs-lisp/edebug.el (edebug-read-list):
3426         Phase out old-style backquotes.
3428 2010-06-17  Juri Linkov  <juri@jurta.org>
3430         * help-mode.el (help-mode): Set buffer-local variable
3431         revert-buffer-function to help-mode-revert-buffer.
3432         (help-mode-revert-buffer): New function.
3434         * info.el (Info-revert-find-node): Check for major-mode Info-mode
3435         before popping to "*info*" (like in other Info functions).
3436         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
3437         old-history-forward.  Pop to old-buffer-name or "*info*" to
3438         recreate the killed buffer.  Set Info-history-forward from
3439         old-history-forward.
3440         (Info-breadcrumbs-depth): Add :group and :version.
3442 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
3444         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3446 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
3448         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3449         for languages like Portuguese with pt_{BR,PT} and no plain pt.
3451 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
3453         * emacs-lisp/package.el (package-menu-mode-map):
3454         Move initialization into declaration.
3456         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3458 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
3460         * emacs-lisp/package.el (package-archive-base): Point to
3461         elpa.gnu.org.
3462         (package-enable, package-load-list): New defcustoms.
3463         (package-user-dir, package-directory-list): Turn into defcustoms.
3464         Don't include package-user-dir in package-directory-list.
3465         (package--builtins-base): Don't include Emacs as a "package".
3466         (package-subdirectory-regexp): New var.
3467         (package-load-all-descriptors, package-compute-transaction)
3468         (package-download-transaction): Obey package-load-list.
3469         (package-activate-1): Rename from package-do-activate.
3470         (package-list-packages-internal): Check package-load-list.
3471         (package-load-descriptor, package-generate-autoloads)
3472         (package-unpack, package-unpack-single)
3473         (package--read-archive-file, package-delete): Use
3474         expand-file-name.
3476         * emacs-lisp/package-x.el: New file.  Package uploading
3477         functionality split out from package.el.
3479         * startup.el (command-line): Load packages after reading init file.
3481 2010-06-17  Tom Tromey  <tromey@redhat.com>
3483         * emacs-lisp/package.el: New file.
3485 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3487         Fix vc-annotate for renamed files when using Git.
3488         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3489         ls-files.  Doe not pass the object as a file name to cat-file, it
3490         is not a file name.
3491         (vc-git-annotate-command): Pass the file name using -- to avoid
3492         ambiguity with the revision.
3493         (vc-git-previous-revision): Pass a relative file name.
3495 2010-06-22  Glenn Morris  <rgm@gnu.org>
3497         * progmodes/js.el (js-mode-map): Use standard capitalization and
3498         ellipses for menu entries.
3500         * wid-edit.el (widget-complete): Doc fix.
3502 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
3504         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3506 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3508         Fix annotating other revisions for renamed files in vc-annotate.
3509         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3510         VC backend.  Use it when non-nil.
3511         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3512         (Bug#6487)
3514         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3515         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3516         Do not pass the file name to the 'previous-revision call when we
3517         don't want a file diff.  (Bug#6489)
3519 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3521         Fix finding revisions for renamed files in vc-annotate.
3522         * vc/vc.el (vc-find-revision): Add an optional argument for
3523         the VC backend.  Use it when non-nil.
3524         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3525         backend to vc-find-revision.  (Bug#6487)
3527 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3529         Fix reading file names in Git annotate buffers.
3530         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3531         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
3533 2010-06-20  Alan Mackenzie  <acm@muc.de>
3535         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3536         in file local variables, set it first.
3538 2010-06-19  Glenn Morris  <rgm@gnu.org>
3540         * descr-text.el (describe-char-unicode-data): Insert separating
3541         space when needed.  (Bug#6422)
3543         * progmodes/idlwave.el (idlwave-action-and-binding):
3544         Fix typo in 2009-12-03 change.  (Bug#6450)
3546 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3548         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3549         handling for `lambda' (misunderstanding).
3551 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
3553         * calc/calc-poly.el (math-accum-factors): Make sure that
3554         constants aren't distributed after they are factored out.
3556 2010-06-16  Juri Linkov  <juri@jurta.org>
3558         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3559         `list-colors-print'.  (Bug#6332)
3561         * subr.el (read-quoted-char): Fix up last change (bug#6290).
3563 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3565         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3566         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
3568         * font-lock.el (font-lock-major-mode): Rename from
3569         font-lock-mode-major-mode to distinguish it from
3570         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3571         (font-lock-set-defaults):
3572         * font-core.el (font-lock-default-function): Adjust users.
3573         (font-lock-mode): Don't set it at all.
3575 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3577         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
3579 2010-06-16  Glenn Morris  <rgm@gnu.org>
3581         * calendar/appt.el (appt-time-msg-list): Doc fix.
3582         (appt-check): Let-bind appt-warn-time.
3583         (appt-add): Make the 3rd argument optional.
3584         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
3585         Only add WARNTIME to the output list if non-nil.
3587 2010-06-16  Ivan Kanis  <apple@kanis.eu>
3589         * calendar/appt.el (appt-check): Let the 3rd element of
3590         appt-time-msg-list specify the warning time.
3591         (appt-add): Add new argument with the warning time.  (Bug#5176)
3593 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3595         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3596         older than version 1.6.  (Bug#6361)
3598 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
3600         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3601         used by cl-do-arglist.  (Bug#6408)
3603 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
3605         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3606         portuguese casechars/not-casechars for missing 'çÇ'.
3607         Suggested by Rolando Pereira (bug#6434).
3609 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
3611         * facemenu.el (list-colors-sort): Doc fix.
3613 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3615         * progmodes/sql.el (sql-connect-mysql): Fix typo.
3617 2010-06-14  Juri Linkov  <juri@jurta.org>
3619         Add sort option `list-colors-sort'.  (Bug#6332)
3620         * facemenu.el (color-rgb-to-hsv): New function.
3621         (list-colors-sort): New defcustom.
3622         (list-colors-sort-key): New function.
3623         (list-colors-display): Doc fix.  Sort list according to the option
3624         `list-colors-sort'.
3625         (list-colors-print): Add HSV values to `help-echo' property of
3626         RGB strings.
3628 2010-06-14  Juri Linkov  <juri@jurta.org>
3630         * compare-w.el: Move to the "vc" subdirectory.
3632 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * image-mode.el (image-mode-map): Remap left-char and right-char.
3636         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3638 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
3640         * term/common-win.el (x-colors): Add all the color names defined
3641         in rgb.txt (Bug#6332).
3643         * facemenu.el (list-colors-print): Don't print extra names if it
3644         will overflow the window width.
3646         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3647         change (Bug#6343).
3649 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
3651         * files.el (make-directory): Doc fix (bug#6396).
3653 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
3655         * net/tramp.el (tramp-remote-process-environment): Protect version
3656         string by apostroph.
3657         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3658         XEmacs.
3659         (tramp-file-name-for-operation): Add `call-process-region'.
3660         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3662         * net/tramp-compat.el (top): Do not autoload
3663         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3664         only when `start-file-process' is not bound.
3665         (tramp-advice-file-expand-wildcards): Do not use
3666         `tramp-handle-file-remote-p'.
3667         (tramp-compat-make-temp-file): Handle the case, that
3668         `make-temp-file' has no third argument EXTENSION.
3670 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
3672         * makefile.w32-in (WINS_BASIC): Include new directory vc.
3674         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3676 2010-06-11  Juri Linkov  <juri@jurta.org>
3678         * finder.el (finder-known-keywords): Add keyword "vc"
3679         for version control.
3681         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3682         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3683         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3684         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3686 2010-06-11  Juri Linkov  <juri@jurta.org>
3688         Move version control related files to the "vc" subdirectory.
3689         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3690         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3691         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3692         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3693         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3694         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3695         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3696         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3697         Move files to the "vc" subdirectory.
3699 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
3701         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3702         (Bug#6367).
3704 2010-06-11  Stephen Eglen  <stephen@gnu.org>
3706         * shell.el: Bind `shell-resync-dirs' to M-RET.
3708 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
3710         * notifications.el: Move file from lisp/net, because it is
3711         supposed to talk locally to the user.
3713 2010-06-10  Julien Danjou  <julien@danjou.info>
3715         * net/notifications.el (notifications-on-action-signal)
3716         (notifications-on-closed-signal): Pass notification id as first
3717         argument to the callback functions.  Add docstrings.
3718         (notifications-notify): Fix docstring.
3720 2010-06-10  Glenn Morris  <rgm@gnu.org>
3722         * emacs-lisp/authors.el (authors-ignored-files)
3723         (authors-valid-file-names): Add some files.
3725 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3727         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3728         merge conflict, giving preference to the emacs-23 version of the code.
3730 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3732         * emacs-lisp/advice.el (ad-compile-function):
3733         Define warning-suppress-types before we let-bind it (bug#6275).
3735         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3736         declare it, make it buffer-local and permanent-local (bug#6324).
3737         (vc-resynch-window): Adjust name.
3738         * vc-hooks.el (vc-find-file-hook): Adjust name.
3740 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
3742         * net/notifications.el (notifications-notify): Fix docstring.
3744 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3746         Update to Unicode 6.0.0 beta.
3747         * international/charprop.el: Update copyright.
3748         * international/mule-cmds.el (ucs-names): Update character ranges.
3749         * international/uni-bidi.el:
3750         * international/uni-category.el:
3751         * international/uni-combining.el:
3752         * international/uni-comment.el:
3753         * international/uni-decimal.el:
3754         * international/uni-decomposition.el:
3755         * international/uni-digit.el:
3756         * international/uni-lowercase.el:
3757         * international/uni-mirrored.el:
3758         * international/uni-name.el:
3759         * international/uni-numeric.el:
3760         * international/uni-old-name.el:
3761         * international/uni-titlecase.el:
3762         * international/uni-uppercase.el: Regenerate.
3764 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3766         * emacs-lisp/smie.el (comment-string-strip): Declare function.
3767         (smie-precs-precedence-table): Fix typo in docstring.
3769         * vc-mtn.el (log-edit-extract-headers): Declare function.
3771         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3773         * net/notifications.el (dbus-register-signal): Declare function.
3774         (notifications-notify): Fix typos and reflow docstring.
3776 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3778         Improve VC create/retrieve tag/branch.
3779         * vc.el (vc-create-tag): Do not read the directory name for VCs
3780         with repository revision granularity.  Adjust the tag/branch
3781         prompt.  Reset VC properties.
3782         (vc-retrieve-tag): Do not read the directory name for VCs
3783         with repository revision granularity.  Reset VC properties.
3785 2010-06-09  Julien Danjou  <julien@danjou.info>
3787         * net/notifications.el: New file.
3789 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3791         Add optional support for resetting VC properties.
3792         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3793         call vc-file-clearprops when true.
3794         (vc-resynch-buffer): Add new optional argument, pass it down.
3795         (vc-resynch-buffers-in-directory): Likewise.
3797         Improve support for special markup in the VC commit message.
3798         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3799         * vc-hg.el (vc-hg-checkin): Add support for Date:.
3800         * vc-git.el (vc-git-checkin):
3801         * vc-bzr.el (vc-bzr-checkin): Likewise.
3803 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3805         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3806         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3808 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
3810         * iimage.el: Remove images as soon as the underlying text is modified.
3811         (iimage-modification-hook): New function.
3812         (iimage-mode-buffer): Use it.
3814 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3816         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3817         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
3818         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
3819         (smie-indent-keyword): Add handling of open-paren keywords.
3820         (smie-indent-comment-continue): Don't assume comment-continue.
3822 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
3824         * window.el (pop-to-buffer): Remove the conditional that
3825         compares new-window and old-window, so it will reselect
3826         the selected window unconditionally.
3827         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3829 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3831         * emacs-lisp/smie.el (smie-indent-offset-after)
3832         (smie-indent-forward-token, smie-indent-backward-token): New functions.
3833         (smie-indent-after-keyword): Use them.
3834         (smie-indent-fixindent): Only applies to the indentation of the BOL.
3835         (smie-indent-keyword): Tweak the black magic.
3836         (smie-indent-comment-continue): Strip comment-continue before use.
3837         (smie-indent-functions): Indent comments before keywords.
3839 2010-06-06  Juri Linkov  <juri@jurta.org>
3841         * isearch.el (isearch-lazy-highlight-search): Fix looping
3842         by checking for empty match.  This syncs this loop with the
3843         similar loop in `isearch-search'.  (Bug#6362)
3845 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
3847         * net/dbus.el (dbus-register-method): Declare function.
3848         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3849         (dbus-introspect): Doc fix.
3850         (dbus-event-bus-name, dbus-introspect-get-interface)
3851         (dbus-introspect-get-argument): Reflow docstrings.
3853 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
3855         vc-log-incoming/vc-log-outgoing fixes for Git.
3856         * vc-git.el (vc-git-log-view-mode): Fix font lock for
3857         incoming/outgoing logs.
3858         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3859         instead of vc-git-compute-remote.
3860         (vc-git-compute-remote): Remove.
3862 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
3864         * term/common-win.el (x-colors): Add "dark green" and "dark
3865         turquoise" (Bug#6332).
3867 2010-06-04  Juri Linkov  <juri@jurta.org>
3869         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
3870         Instead of setting `replace' to t and replacing the same string
3871         with itself, don't do certain actions when
3872         kill-do-not-save-duplicates is non-nil and string is equal to car
3873         of kill-ring: don't call menu-bar-update-yank-menu, don't push
3874         interprogram-paste strings to kill-ring, and don't push the input
3875         argument `string' to kill-ring.
3876         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
3878 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
3880         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
3882 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
3884         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
3885         (tramp-gvfs-handler-mounted-unmounted)
3886         (tramp-gvfs-connection-mounted-p): Handle default-location.
3888         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
3889         move files to trash.
3891 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
3893         * international/mule-cmds.el (nonascii-insert-offset)
3894         (nonascii-translation-table): Add obsolescence information.
3896         * international/mule.el (make-translation-table-from-vector): Doc fix.
3898 2010-06-03  Glenn Morris  <rgm@gnu.org>
3900         * desktop.el (desktop-clear-preserve-buffers):
3901         Add "*Warnings*" buffer.  (Bug#6336)
3903 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
3905         vc-log-incoming/vc-log-outgoing improvements for Git.
3906         * vc-git.el (vc-git-log-outgoing): Use the same format as the
3907         short log.
3908         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
3910         Add bindings for vc-log-incoming and vc-log-outgoing.
3911         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
3912         and vc-log-outgoing.
3913         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
3914         and vc-log-outgoing.
3916 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
3918         * net/rcirc.el (rcirc-sort-nicknames): Remove.
3919         (rcirc-handler-366): Always sort nicknames.
3921 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
3923         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
3925 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
3927         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
3929 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3931         * net/rcirc.el (rcirc-sort-nicknames): Change default.
3932         (rcirc-sort-nicknames-join): Avoid setq.
3934 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3936         * net/rcirc.el (rcirc-sort-nicknames): New custom.
3937         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
3938         (rcirc-handler-366): Use them.
3940 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3942         Split smie-indent-calculate into more manageable chunks.
3943         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
3944         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
3945         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
3946         (smie-indent-exps): Extract from smie-indent-calculate.
3947         (smie-indent-functions): New var.
3948         (smie-indent-functions): Use them.
3950 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3952         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
3953         (smie-indent-calculate): Simplify and cleanup.
3955 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
3957         * net/tramp-gvfs.el (top): Require url-util.
3958         (tramp-gvfs-mount-point): Remove.
3959         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
3960         New defuns.
3961         (with-tramp-dbus-call-method): Format trace message.
3962         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3963         Implement backup call, when operation on local files fails.
3964         Use progress reporter.  Flush properties of changed files.
3965         (tramp-gvfs-handle-make-directory): Make more traces.
3966         (tramp-gvfs-url-file-name): Hexify file name in url.
3967         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3968         into account for the resulting file name.
3969         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
3970         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
3971         (tramp-gvfs-handler-mounted-unmounted)
3972         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3973         attribute "default_location".  Set "prefix" property.
3974         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3975         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3976         exists.  Raise an error, if not (due to a corresponding answer
3977         "no" in interactive questions, for example).
3979 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
3981         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
3983 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
3985         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
3986         right-*.  (Bug#6265)
3988 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
3990         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
3991         * vc-git.el (vc-git-compute-remote): New function.
3992         (vc-git-log-outgoing): Use it instead of hard coding a value.
3993         (vc-git-log-incoming): New function.
3995         Improve state updating for VC tag commands.
3996         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
3997         to update the state of all buffers in the directory.
3999         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4001 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4003         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4004         `file-directory-p' to the filename part rather than to the whole text.
4006 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4008         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4010 2010-05-31  Drew Adams  <drew.adams@oracle.com>
4012         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4014 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
4016         * subr.el (momentary-string-display): Just use read-event to read
4017         the exit event (Bug#6238).
4019 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
4021         * international/mule.el (define-coding-system): Doc fix (bug#6313).
4023 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4025         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4026         Suggested by Eli Zaretskii <eliz@gnu.org>.
4028 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4030         * minibuffer.el (completion-file-name-table): Don't return a boundary
4031         past the end of `string' (bug#6299).
4032         (completion--file-name-table): Delegate to completion-file-name-table
4033         for the `boundaries' case.
4035 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4037         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4038         movement commands.
4040         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4041         `path-separator', but maintain compatibility with Emacs 20.2.
4043 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4045         * server.el (server-process-filter): Receive parent-id argument
4046         from emacsclient.
4047         (server-create-window-system-frame): New arg.  Pass parent-id as
4048         frame parameter.
4050 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
4052         Bidi-sensitive word movement with arrow keys.
4053         * subr.el (right-arrow-command, left-arrow-command): Move to
4054         bindings.el.
4056         * bindings.el (right-char, left-char): Move from subr.el and
4057         rename from right-arrow-command and left-arrow-command.
4058         (right-word, left-word): New functions.
4059         (global-map) <right>: Bind to right-char.
4060         (global-map) <left>: Bind to left-char.
4061         (global-map) <C-right>: Bind to right-word.
4062         (global-map) <C-left>: Bind to left-word.
4064         * ls-lisp.el (ls-lisp-classify-file): New function.
4065         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4066         (ls-lisp-classify): Call ls-lisp-classify-file.
4067         (insert-directory): Remove blanks from switches.
4069 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4071         * ansi-color.el: Delete unused escape sequences (Bug#6085).
4072         (ansi-color-drop-regexp): New constant.
4073         (ansi-color-apply, ansi-color-filter-region)
4074         (ansi-color-apply-on-region): Delete unrecognized control sequences.
4075         (ansi-color-apply): Build string list before calling concat.
4077 2010-05-28  Juri Linkov  <juri@jurta.org>
4079         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4080         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4081         (Bug#5270)
4083 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4085         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4086         to ignored backtrace functions.
4087         (with-progress-reporter): Expand docstring.
4088         (tramp-handle-delete-file): Implement TRASH argument.
4089         (tramp-get-remote-trash): New defun.
4091 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4093         * net/tramp-compat.el (tramp-compat-delete-file): Use
4094         `symbol-value' for backward compatibility.
4096         * net/tramp.el (tramp-handle-make-symbolic-link)
4097         (tramp-handle-load)
4098         (tramp-do-copy-or-rename-file-via-buffer)
4099         (tramp-do-copy-or-rename-file-directly)
4100         (tramp-do-copy-or-rename-file-out-of-band)
4101         (tramp-handle-process-file, tramp-handle-call-process-region)
4102         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4103         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4104         (tramp-delete-temp-file-function): Use `delete-file' instead
4105         of `tramp-compat-delete-file'.
4107         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4108         (tramp-fish-handle-make-symbolic-link)
4109         (tramp-fish-handle-process-file): Use `delete-file' instead
4110         of `tramp-compat-delete-file'.
4112         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4113         `delete-file' instead of `tramp-compat-delete-file'.
4115         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4116         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4117         `tramp-compat-delete-file'.
4119         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4120         `delete-file' instead of `tramp-compat-delete-file'.
4122         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4123         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4124         (tramp-smb-handle-write-region): Use `delete-file' instead of
4125         `tramp-compat-delete-file'.
4126         (tramp-smb-handle-delete-directory): Use 'trash as arg.
4128 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4130         * dired.el (dired-delete-file): New arg TRASH.
4131         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
4132         (dired-do-flagged-delete, dired-do-delete): Use trash.
4134         * speedbar.el (speedbar-item-delete): Allow trashing.
4136         * files.el (delete-directory): New arg TRASH.
4138         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4139         (ange-ftp-rename-remote-to-remote)
4140         (ange-ftp-rename-local-to-remote)
4141         (ange-ftp-rename-remote-to-local, ange-ftp-load)
4142         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4143         `delete-file'.
4144         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4145         allow trashing.
4147         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4148         handle new TRASH arg of `delete-file'.
4150         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4151         (tramp-handle-make-symbolic-link, tramp-handle-load)
4152         (tramp-do-copy-or-rename-file-via-buffer)
4153         (tramp-do-copy-or-rename-file-directly)
4154         (tramp-do-copy-or-rename-file-out-of-band)
4155         (tramp-handle-process-file, tramp-handle-call-process-region)
4156         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4157         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4158         (tramp-delete-temp-file-function): Use null TRASH arg in
4159         tramp-compat-delete-file call.
4161         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4162         (tramp-fish-handle-delete-file)
4163         (tramp-fish-handle-make-symbolic-link)
4164         (tramp-fish-handle-process-file): Use null TRASH arg in
4165         `tramp-compat-delete-file' call.
4167         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4168         arg in `tramp-compat-delete-file' call.
4170         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4171         (tramp-gvfs-handle-write-region): Use null TRASH arg in
4172         `tramp-compat-delete-file' call.
4174         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4175         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4176         `tramp-compat-delete-file' call.
4178         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4179         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4180         (tramp-smb-handle-write-region): Use null TRASH arg in
4181         tramp-compat-delete-file call.
4182         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4183         (tramp-smb-handle-delete-file): Rename arg.
4185         * diff.el (diff-sentinel):
4186         * epg.el (epg--make-temp-file, epg-decrypt-string)
4187         (epg-verify-string, epg-sign-string, epg-encrypt-string):
4188         * jka-compr.el (jka-compr-partial-uncompress)
4189         (jka-compr-call-process, jka-compr-write-region):
4190         * server.el (server-sentinel): Remove optional arg from
4191         delete-file, reverting 2010-05-03 change.
4193 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4195         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4196         font-lock-constant-face, not obsolete font-lock-reference-face.
4198 2010-05-27  Kenichi Handa  <handa@m17n.org>
4200         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4201         element of GSTRING is nil.
4203 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4205         * emacs-lisp/smie.el (smie-forward-token-function)
4206         (smie-backward-token-function): New vars.
4207         (smie-backward-sexp, smie-forward-sexp)
4208         (smie-indent-hanging-p, smie-indent-calculate): Use them.
4209         (smie-default-backward-token): Rename from smie-backward-token and
4210         skip comments.
4211         (smie-default-forward-token): Rename from smie-forward-token and
4212         skip comments.
4213         (smie-next-sexp): Handle nil results from next-token.
4214         (smie-indent-calculate): Add a new case for special `fixindent' comments.
4216 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4218         * progmodes/verilog-mode.el (verilog-type-font-keywords):
4219         Use font-lock-constant-face, not obsolete font-lock-reference-face.
4221 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
4223         * htmlfontify.el (hfy-face-resolve-face): New function.
4224         (hfy-face-to-style): Use it (Bug#6279).
4226 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4228         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4229         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4231 2010-05-26  Glenn Morris  <rgm@gnu.org>
4233         * emulation/edt.el (edt-load-keys): Use locate-library.
4235 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
4237         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4238         (log-edit-changelog-entries): Doc fix.
4239         (log-edit-changelog-insert-entries): Args changed.
4240         Rename relative filenames in ChangeLog entries.  Delete tabs.
4241         (log-edit-insert-changelog-entries): Reorganize return value of
4242         `log-edit-changelog-entries' to pass filenames to
4243         log-edit-changelog-insert-entries.
4245 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4247         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4248         `image-dired-dired-insert-marked-thumbs' to
4249         `image-dired-dired-toggle-marked-thumbs'.
4251         * image-dired.el: Require cl when compiling.
4252         (image-dired-dired-toggle-marked-thumbs): Rename from
4253         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
4254         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
4255         to 'no-dir.  Skip files whose names don't match
4256         `image-file-name-regexp'.  When file has a thumbnail overlay,
4257         delete it.  (Bug#5270)
4259 2010-05-25  Juri Linkov  <juri@jurta.org>
4261         * image-mode.el (image-mode): Add image-after-revert-hook to
4262         after-revert-hook.
4263         (image-after-revert-hook): New function.  (Bug#5669)
4265 2010-05-25  Juri Linkov  <juri@jurta.org>
4267         * image.el (image-animated-p): When delay between animated images
4268         is 0, set it to 10 (0.1 sec).  (Bug#6258)
4270 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4272         * net/tramp.el (tramp-handle-insert-directory): Don't use
4273         `forward-word', its default syntax could be changed.
4275 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
4277         * net/tramp.el (tramp-progress-reporter-update): New defun.
4278         (with-progress-reporter): Use it.
4279         (tramp-process-actions):
4280         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4281         current message, in order to let progress reporter continue
4282         afterwards.  (Bug#6257)
4284 2010-05-25  Glenn Morris  <rgm@gnu.org>
4286         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4287         Add :version.
4289 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4291         * net/rcirc.el (rcirc-default-user-name): Change to "user".
4292         (rcirc-default-full-name): Change to "unknown".
4293         (rcirc-user-name-history): Add variable.
4295 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4296             Jonathan Rockway  <jon@jrock.us>
4298         * net/rcirc.el (rcirc-server-alist): Add :pass.
4299         (rcirc): When prompting for connection parameters, also prompt for
4300         username and password.
4301         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
4302         value to server when connecting.
4304 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4306         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4307         (smie-merge-prec2s): Pass the tables as separate args.
4308         (smie-bnf-precedence-table): Adjust call accordingly.
4309         (smie-prec2-levels): Set levels at the end.
4311         Replace Lisp calls to delete-backward-char by delete-char.
4312         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4313         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4314         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4315         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4316         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4317         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4318         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4319         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4320         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4321         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4322         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4323         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4324         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4325         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4326         delete-backward-char by calls to delete-char.
4328 2010-05-25  Kenichi Handa  <handa@m17n.org>
4330         * language/hebrew.el (hebrew-shape-gstring): New function.
4331         Register it in composition-function-table for all Hebrew combining
4332         characters.
4334 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4336         * epa.el (epa--select-keys): Don't explicitly delete the window since
4337         that can fail (e.g. sole window in frame).  Use dedication instead.
4339 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4341         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4343 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
4345         * image.el (image-refresh): Define as an alias for image-flush.
4347         * image-mode.el (image-toggle-display-image): Caller changed.
4349 2010-05-21  Juri Linkov  <juri@jurta.org>
4351         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4352         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
4353         whitespace, call wildcard-to-regexp on substrings and concat them
4354         with "\\|".  (Bug#6114)
4356 2010-05-21  Alan Mackenzie  <acm@muc.de>
4358         * progmodes/cc-engine.el (c-parse-state-get-strategy):
4359         Replace parameter `here' with `here-' and `here-plus', which sandwich
4360         any pertinent CPP construct.
4361         (c-remove-stale-state-cache-backwards): Fix a bug which happens
4362         when doing (c-parse-state) in a CPP construct: Exclude any "new"
4363         CPP construct from taking part in the scanning.
4365 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
4367         * net/tramp.el (tramp-do-copy-or-rename-file)
4368         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4369         Tune `with-progress-reporter' messages.
4370         (tramp-handle-vc-registered):
4371         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4372         (tramp-fish-handle-insert-file-contents)
4373         (tramp-fish-maybe-open-connection):
4374         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4375         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4376         (tramp-imap-handle-insert-file-contents)
4377         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4379 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
4381         * add-log.el (change-log-font-lock-keywords):
4382         Highlight all authors in multi-author entries.
4384         * smerge-mode.el (smerge-refine-ignore-whitespace)
4385         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4386         Fix typos in docstrings.
4387         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4389 2010-05-21  Glenn Morris  <rgm@gnu.org>
4391         * progmodes/fortran.el (fortran-mode):
4392         * progmodes/f90.el (f90-mode): Derive from prog-mode.
4394         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4395         having a relative path in src/Makefile.in.
4397 2010-05-20  Kevin Ryde  <user42@zip.com.au>
4399         * help-mode.el (help-make-xrefs): For Info node links turn
4400         newlines into spaces.  Link node names with newlines are matched
4401         by help-xref-info-regexp and buttonized, this change ensures they
4402         can be followed successfully with RET.  (Bug#6206)
4404 2010-05-20  Juri Linkov  <juri@jurta.org>
4406         * locate.el (locate): Use pop-to-buffer instead of
4407         switch-to-buffer-other-window.  (Bug#6204)
4409 2010-05-20  Juri Linkov  <juri@jurta.org>
4411         * replace.el (replace-highlight): Fix lazy-highlighting
4412         for `M-s w str M-% str RET'.
4414 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
4416         * isearch.el (isearch-yank-word-or-char): Pull next subword
4417         when `subword-mode' is activated.  (Bug#6220)
4419 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
4421         * isearch.el (isearch-update-post-hook): New hook.
4422         (isearch-update): Use the new hook.  (Bug#6225)
4424 2010-05-20  Juri Linkov  <juri@jurta.org>
4426         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4427         [f1], [help], and (char-to-string help-char) instead of "\C-h".
4428         (Bug#6222)
4430 2010-05-20  Juri Linkov  <juri@jurta.org>
4432         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4433         (Bug#6223)
4435 2010-05-20  Juri Linkov  <juri@jurta.org>
4437         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4438         FILE-NAME to read from the minibuffer when called interactively
4439         with prefix argument instead of using buffer-file-name.
4440         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4442         * dired.el: Update autoloads.
4444 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
4446         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4447         nxml-finish-element, for consistency with SGML mode.
4449         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4450         octave-close-block.
4452 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
4454         * composite.el: Require cl when compiling.
4455         (reference-point-alist, compose-gstring-for-graphic)
4456         (compose-gstring-for-terminal): Fix typos in docstrings.
4458 2010-05-19  Juri Linkov  <juri@jurta.org>
4460         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4461         set-window-parameter.
4463 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4465         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4466         where appropriate.
4467         (tramp-maybe-open-connection): Use it.
4469 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
4471         * simple.el (move-end-of-line): Make sure we are at line beginning
4472         before backing up to end of previous line.
4474 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4476         * password-cache.el (password-cache-remove): Fix docstring.
4478         * net/secrets.el: Autoload the widget functions.
4479         (secrets-search-items, secrets-create-item)
4480         (secrets-get-attributes, secrets-expand-item): Attributes will be
4481         stored on the password database without leading ":", as all other
4482         clients do as well.
4483         (secrets-mode): Fix docstring.
4484         (secrets-show-secrets): Provide it as autoloaded command only when
4485         D-Bus support is available.  Check existence of Secret Service API.
4487 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4489         * indent.el (indent-region): Deactivate region (bug#6200).
4491 2010-05-19  Glenn Morris  <rgm@gnu.org>
4493         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
4495 2010-05-19  Kenichi Handa  <handa@m17n.org>
4497         * composite.el: Register compose-gstring-for-graphic in
4498         composition-function-table only for combining characters (Mn, Mc, Me).
4500 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
4502         * calc/calc-trail.el (calc-trail-isearch-forward)
4503         (calc-trail-isearch-backward): Ensure that the new window
4504         point is set correctly.
4506 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4508         * subr.el (read-quoted-char): Resolve modifiers after key
4509         remapping (bug#6212).
4511 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
4513         Add visualization code for secrets.
4514         * net/secrets.el (secrets-mode): New major mode.
4515         (secrets-show-secrets, secrets-show-collections)
4516         (secrets-expand-collection, secrets-expand-item)
4517         (secrets-tree-widget-after-toggle-function)
4518         (secrets-tree-widget-show-password): New defuns.
4520 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4523         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4524         handled in smie-next-sexp.
4525         (smie-indent-calculate): Provide a starting indentation (so the
4526         recursion is well-founded ;-).
4528         Fix handling of non-associative equal levels.
4529         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4530         when it's not needed.
4531         (smie-op-left, smie-op-right): New functions.
4532         (smie-next-sexp): New function, extracted from smie-backward-sexp.
4533         Better handle equal levels to distinguish the associative case from
4534         the "multi-keyword construct" case.
4535         (smie-backward-sexp, smie-forward-sexp): Use it.
4537 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
4539         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4541         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4542         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4544 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4546         Provide a simple generic indentation engine and use it for Prolog.
4547         * emacs-lisp/smie.el: New file.
4548         * progmodes/prolog.el (prolog-smie-op-levels)
4549         (prolog-smie-indent-rules): New var.
4550         (prolog-mode-variables): Use them to configure SMIE.
4551         (prolog-indent-line, prolog-indent-level): Remove.
4553 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4555         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4556         order before computing the averages.
4558 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
4560         * calc/calc-vec.el (calc-histogram):
4561         (calcFunc-histogram): Allow vectors as inputs.
4562         (math-vector-avg): New function.
4564         * calc/calc-ext.el (math-group-float): Have the number of digits
4565         being grouped depend on the radix (Bug#6189).
4567 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
4569         * version.el (emacs-copyright, emacs-version): Don't define here,
4570         now that emacs.c defines it.
4572 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
4574         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4575         "Describe Language Environment" menu item.
4577         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4579         Bidi-sensitive movement with arrow keys.
4580         * subr.el (right-arrow-command, left-arrow-command): New functions.
4582         * bindings.el (global-map): Bind them to right and left arrow keys.
4584         Don't override standard definition of convert-standard-filename.
4585         * files.el (convert-standard-filename): Call
4586         w32-convert-standard-filename and dos-convert-standard-filename on
4587         the corresponding systems.
4589         * w32-fns.el (w32-convert-standard-filename): Rename from
4590         convert-standard-filename.  Doc fix.
4592         * dos-fns.el (dos-convert-standard-filename): Doc fix.
4593         (convert-standard-filename): Don't defalias.
4594         (register-name-alist, make-register, register-value)
4595         (set-register-value, intdos): Obsolete aliases for the
4596         corresponding dos-* functions and variables.
4597         (dos-intdos): Add a doc string.
4599 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
4601         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4602         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4603         (math-compose-tex-func):
4604         * calc/calccomp.el (math-compose-expr):
4605         * calc/calc-ext.el (math-format-flat-expr-fancy):
4606         * calc/calc-store.el (calc-read-var-name):
4607         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4609         * calc/calc.el (var-π, var-φ, var-γ): New variables.
4610         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4611         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4612         (math-standard-units): Add units.
4614 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4616         * progmodes/asm-mode.el (asm-mode):
4617         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4619         * pcomplete.el (pcomplete-completions-at-point): New function,
4620         extracted from pcomplete-std-complete.
4621         (pcomplete-std-complete): Use it.
4623 2010-05-15  Glenn Morris  <rgm@gnu.org>
4625         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4626         Remove references to CVS, RCS and Old directories.
4628 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
4630         * calc/calc-bin.el (math-format-twos-complement): Group digits when
4631         appropriate.
4633 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4635         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4636         (sh-mode-syntax-table): Give it a default value instead.
4637         (sh-header-marker): Make buffer-local.
4638         (sh-mode): Move make-local-variable to the corresponding setq.
4639         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4640         Use complete-with-action.
4642         * simple.el (prog-mode): New (abstract) major mode.
4643         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4644         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4646 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
4648         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4649         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4650         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4651         (sql-make-alternate-buffer-name, sql-placeholders-filter)
4652         (sql-escape-newlines-filter, sql-input-sender)
4653         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4655 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
4657         Add TeX open-block and close-block keybindings to SGML, and vice versa.
4659         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4660         latex-open-block and C-c / to latex-close-block.
4662         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4663         and C-c C-e to sgml-close-tag.
4665 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
4667         * net/tramp.el (with-progress-reporter): Create reporter object
4668         only when the message would be displayed.  Handle nested calls.
4669         (tramp-handle-load, tramp-handle-file-local-copy)
4670         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4671         (tramp-maybe-send-script, tramp-find-shell):
4672         Use `with-progress-reporter'.
4673         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4674         Fix message text.
4676         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4677         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4678         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4679         Use `with-progress-reporter'.
4681 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
4683         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4684         process everytime when spellchecking from the minibuffer (bug#6143).
4686 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4688         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4690         * dos-fns.el: Add "dos-" prefix for namespace control.
4691         (convert-standard-filename): Define as alias for
4692         dos-convert-standard-filename but only if applicable.
4694 2010-05-12  Alan Mackenzie  <acm@muc.de>
4696         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4697         Push the mark at the start of these functions when appropriate.
4699 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4701         * minibuffer.el (completion-cycle-threshold): New custom var.
4702         (completion--do-completion): Use it.
4703         (minibuffer-complete): Use cycling if appropriate.
4705 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
4707         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4708         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4710 2010-05-11  Juri Linkov  <juri@jurta.org>
4712         * scroll-all.el (scroll-all-check-to-scroll):
4713         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4715 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4717         * iimage.el (iimage-mode-map): Move initialization into declaration.
4718         (iimage-mode-buffer): Use with-silent-modifications.
4719         Simplify calling convention.  Adjust callers.
4720         (iimage-mode): Don't run hook redundantly.
4722         * minibuffer.el (completion-pcm--pattern->regex):
4723         Fix last change (bug#6160).
4725 2010-05-10  Juri Linkov  <juri@jurta.org>
4727         Remove nodes visited during Isearch from the Info history.
4728         * info.el (Info-isearch-initial-history)
4729         (Info-isearch-initial-history-list): New variables.
4730         (Info-isearch-start): Record initial values of
4731         Info-isearch-initial-history and Info-isearch-initial-history-list.
4732         Add Info-isearch-end to isearch-mode-end-hook.
4733         (Info-isearch-end): New function.
4735 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
4737         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4738         format string, in order to work around a bug in pdksh.
4739         Reported by Gilles Pion <gpion@lfdj.com>.
4740         (tramp-handle-verify-visited-file-modtime): Do not send a command
4741         when the connection is not established.
4742         (tramp-handle-set-file-times): Simplify the check for utc.
4744 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
4746         Fix use of `filter-buffer-substring' (rework previous change).
4747         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4748         (cua-repeat-replace-region):
4749         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4750         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4751         (cua-cut-region-to-global-mark): Use it.
4753 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
4755         * progmodes/sql.el: Version 2.1.
4756         (sql-product-alist): Redesign structure of product info.
4757         (sql-product, sql-user, sql-server, sql-database): Safe variables.
4758         (sql-port, sql-port-history): New variables.
4759         (sql-interactive-product): New variable.
4760         (sql-send-terminator): New variable.
4761         (sql-imenu-generic-expression): Add "Types" imenu entry.
4762         (sql-oracle-login-params, sql-sqlite-login-params)
4763         (sql-mysql-login-params, sql-solid-login-params)
4764         (sql-sybase-login-params, sql-informix-login-params)
4765         (sql-ingres-login-params, sql-ms-login-params)
4766         (sql-postgres-login-params, sql-interbase-login-params)
4767         (sql-db2-login-params, sql-linter-login-params)
4768         (sql-oracle-scan-on): New variables.
4769         (sql-mode-map): Add C-c C-i to start interactive mode.
4770         (sql-mode-menu): Update existing menu entries.
4771         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4772         (sql-mode-oracle-font-lock-keywords)
4773         (sql-mode-postgres-font-lock-keywords)
4774         (sql-mode-ms-font-lock-keywords)
4775         (sql-mode-sybase-font-lock-keywords)
4776         (sql-mode-informix-font-lock-keywords)
4777         (sql-mode-interbase-font-lock-keywords)
4778         (sql-mode-ingres-font-lock-keywords)
4779         (sql-mode-solid-font-lock-keywords)
4780         (sql-mode-mysql-font-lock-keywords)
4781         (sql-mode-sqlite-font-lock-keywords)
4782         (sql-mode-db2-font-lock-keywords)
4783         (sql-mode-linter-font-lock-keywords): Update initialization to
4784         reduce run-time complexity.
4785         (sql-add-product, sql-del-product): New functions.
4786         (sql-set-product-feature, sql-get-product-feature): New functions.
4787         (sql-product-font-lock): Update product API.
4788         (sql-add-product-keywords): New function.
4789         (sql-highlight-product): Update product API.
4790         (sql-help-list-products): New function.
4791         (sql-help): Dynamically lists free and non-free products.
4792         (sql-get-login): Correct bug in handling history and added
4793         prompt for port.
4794         (sql-copy-column): Copy without properties.
4795         (sqli-input-sender): Apply filters to SQLi input.
4796         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4797         Implement as a filter.
4798         (sql-escape-newlines-filter): Implement as a filter.
4799         (sql-remove-tabs-filter): New function.
4800         (sql-send-magic-terminator): New function.
4801         (sql-send-string): Implement magic terminator.
4802         (sql-send-region): Use `sql-send-string'.
4803         (sql-interactive-mode): Use product API.
4804         (sql-product-interactive): Use product API.
4805         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4806         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4807         (sql-db2, sql-linter): Use `sql-product-interactive'.
4808         (sql-connect): New function.
4809         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4810         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4811         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4812         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4813         Use `sql-connect'.
4815 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4817         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4818         New custom variable.
4819         (completion-pcm--string->pattern): Use it.
4820         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4821         Make it handle any symbol as `any'.
4822         (completion-pcm--merge-completions): Extract common suffix for the new
4823         `prefix' symbol as well.
4824         (completion-substring--all-completions): Use the new `prefix' symbol.
4826 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
4828         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4829         not bound.
4830         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4831         (tramp-compat-funcall): New defmacro.
4832         (tramp-compat-line-beginning-position)
4833         (tramp-compat-line-end-position)
4834         (tramp-compat-temporary-file-directory)
4835         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4836         (tramp-compat-copy-file, tramp-compat-copy-directory)
4837         (tramp-compat-delete-file, tramp-compat-delete-directory)
4838         (tramp-compat-number-sequence, tramp-compat-process-running-p)
4839         * net/tramp.el (top, with-progress-reporter)
4840         (tramp-rfn-eshadow-setup-minibuffer)
4841         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4842         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4843         (tramp-completion-mode-p, tramp-check-for-regexp)
4844         (tramp-open-connection-setup-interactive-shell)
4845         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4846         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4847         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4848         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4849         (tramp-reporter-dump-variable, tramp-load-report-modules)
4850         (tramp-append-tramp-buffers)
4851         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4853         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4855 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4857         * progmodes/compile.el (compilation-buffer-modtime): Rename from
4858         buffer-modtime.  Adjust users.
4860 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4862         * international/mule.el (auto-coding-alist): Only purecopy
4863         car of each item, not the whole list (Bug#6083).
4865 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4867         * progmodes/js.el (js-mode): Make paragraph variables local before
4868         calling c-setup-paragraph-variables (Bug#6071).
4870 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
4872         * composite.el (compose-region, reference-point-alist): Fix typos
4873         in the doc strings.
4875 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4877         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
4878         gnuplot's "set" command.
4880 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4882         * abbrev.el (last-abbrev-text): Doc fix.
4883         (abbrev-prefix-mark): Don't escape parenthesis.
4885 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
4887         * composite.el (find-composition): Doc fix.
4889 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4891         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
4892         (sql-oracle-program, sql-sqlite-options)
4893         (sql-query-placeholders-and-send): Doc fixes.
4894         (sql-set-product, sql-interactive-mode): Reflow docstrings.
4895         (sql-imenu-generic-expression, sql-buffer)
4896         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
4897         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
4898         (sql-mode-sybase-font-lock-keywords)
4899         (sql-mode-informix-font-lock-keywords)
4900         (sql-mode-interbase-font-lock-keywords)
4901         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
4902         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
4903         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
4904         (sql-product-feature, sql-highlight-product)
4905         (comint-line-beginning-position, sql-rename-buffer)
4906         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
4907         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
4908         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
4909         Fix typos in docstrings.
4911 2010-05-08  Juri Linkov  <juri@jurta.org>
4913         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
4914         property instead of `invisible' and `after-string' (bug#5998).
4916 2010-05-08  Juri Linkov  <juri@jurta.org>
4918         * image-mode.el (image-mode-as-text): Fix typo in docstring.
4920 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4922         * filecache.el (file-cache-add-directory-list)
4923         (file-cache-add-directory-recursively): Fix typos in docstrings.
4925 2010-05-08  Kenichi Handa  <handa@m17n.org>
4927         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
4928         (gujarati-composable-pattern): Fix typo.
4930 2010-05-08  Kenichi Handa  <handa@m17n.org>
4932         * language/indian.el (oriya-composable-pattern)
4933         (tamil-composable-pattern, malayalam-composable-pattern):
4934         Add two-part vowels to "v" (vowel sign).
4936 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4938         * files.el (copy-directory): Handle symlinks (Bug#5982).
4940 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
4942         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
4943         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
4944         (Bug#5846).
4946 2010-05-08  Glenn Morris  <rgm@gnu.org>
4948         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
4950         * minibuffer.el (completion-at-point): Doc fix.
4952 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4954         * electric.el (Electric-command-loop): Minor tweak.
4956         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
4957         better with dedicated windows.
4959 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
4961         * Version 23.2 released.
4963 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
4964             Stefan Monnier  <monnier@iro.umontreal.ca>
4966         Highlight vendor specific properties.
4967         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
4968         (css-proprietary-property): New face.
4969         (css-font-lock-keywords): Use them.
4971 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
4973         * cus-start.el (all): Add native condition for tool-bar-* symbols.
4975 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4977         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
4978         * files.el (auto-mode-alist): Remove redundant entries.
4980         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
4981         * simple.el (auto-save-mode): Move from files.el.
4982         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
4984 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
4986         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
4988 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
4990         * mail/binhex.el (binhex-decode-region-internal)
4991         * mail/uudecode.el (uudecode-decode-region-internal)
4992         * net/dns.el (dns-read-string-name, dns-write, dns-read)
4993         (dns-read-type, dns-query)
4994         * pgg-parse.el (pgg-parse-armor)
4995         * pgg.el (pgg-verify-region)
4996         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
4997         XEmacs.
4999         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5001 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
5003         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5005         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5006         * emulation/cua-base.el (cua-repeat-replace-region):
5007         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5008         (cua-cut-region-to-global-mark):
5009         Remove text properties with `set-text-properties'.
5011 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
5013         * net/tramp.el (top, with-progress-reporter):
5014         Use `symbol-function' inside `funcall'.
5016         * net/tramp-compat.el (tramp-compat-file-attributes)
5017         (tramp-compat-delete-file, tramp-compat-delete-directory):
5018         Handle only `wrong-number-of-arguments' error.
5020         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5021         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5022         inside `funcall'.
5024 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5026         * minibuffer.el (completion--sreverse, completion--common-suffix):
5027         New functions.
5028         (completion-pcm--merge-completions): Extract common suffix when safe.
5030         * emacs-lisp/easy-mmode.el (define-minor-mode):
5031         Make :variable more flexible.
5032         * files.el (auto-save-mode): Use it to define using define-minor-mode.
5034 2010-05-05  Juri Linkov  <juri@jurta.org>
5036         Add `slow' and `history' tags to the desktop data.
5038         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5039         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5040         (Info-finder-find-node): Require `finder.el' to be able
5041         to restore node from the desktop.
5042         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
5043         data `Info-history' and `slow' tag in the assoc list.
5044         (Info-restore-desktop-buffer): Don't restore nodes with the
5045         `slow' tag.  Restore `Info-history'.
5047 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
5049         Add FORCE argument to `delete-file'.
5051         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5052         forcing to delete the temporary file.
5053         (ange-ftp-delete-file): Add FORCE arg.
5054         (ange-ftp-rename-remote-to-remote)
5055         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5056         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5057         Force file deletion.
5059         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5061         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5062         (tramp-handle-make-symbolic-link, tramp-handle-load)
5063         (tramp-do-copy-or-rename-file-via-buffer)
5064         (tramp-do-copy-or-rename-file-directly)
5065         (tramp-do-copy-or-rename-file-out-of-band)
5066         (tramp-handle-process-file, tramp-handle-call-process-region)
5067         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5068         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5069         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5071         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5072         (tramp-fish-handle-make-symbolic-link)
5073         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5075         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5076         Use `tramp-compat-delete-file'.
5078         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5079         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5081         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5082         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5084         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5085         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5086         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5087         `tramp-compat-delete-file'.
5089 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5091         Minor cleanups.
5092         * subr.el (add-minor-mode): Use push.
5093         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5094         * emulation/edt.el (edt-select-mode): Simplify.
5096         Use define-minor-mode in more cases.
5097         * term/tvi970.el (tvi970-set-keypad-mode):
5098         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5099         (normal-erase-is-backspace-mode):
5100         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5101         (set-scroll-bar-mode-1): (Re)move to its sole caller.
5102         (get-scroll-bar-mode): New function.
5103         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5105         Use define-minor-mode for less obvious cases.
5106         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5107         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5108         * international/iso-ascii.el (iso-ascii-mode):
5109         * frame.el (auto-raise-mode, auto-lower-mode):
5110         * composite.el (global-auto-composition-mode): Use define-minor-mode.
5112 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
5114         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5115         in order to see error messages for failed logins.
5117 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
5119         * diff.el (diff-sentinel):
5121         * epg.el (epg--make-temp-file, epg-decrypt-string)
5122         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5124         * jka-compr.el (jka-compr-partial-uncompress)
5125         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5127         * server.el (server-sentinel): Use delete-file's new FORCE arg
5128         (Bug#6070).
5130 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5132         Use define-minor-mode where applicable.
5133         * view.el (view-mode):
5134         * type-break.el (type-break-query-mode)
5135         (type-break-mode-line-message-mode):
5136         * textmodes/reftex.el (reftex-mode):
5137         * term/vt100.el (vt100-wide-mode):
5138         * tar-mode.el (tar-subfile-mode):
5139         * savehist.el (savehist-mode):
5140         * ibuf-ext.el (ibuffer-auto-mode):
5141         * composite.el (auto-composition-mode):
5142         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5143         Use define-minor-mode.
5144         (vhdl-mode): Use static mode-line format.
5145         (vhdl-mode-line-update): Delete.
5146         (vhdl-create-mode-menu, vhdl-activate-customizations)
5147         (vhdl-hs-minor-mode): Don't bother calling it.
5149 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * simple.el (with-wrapper-hook): Move.
5152         (buffer-substring-filters): Mark obsolete.
5153         (filter-buffer-substring-functions): New variable.
5154         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
5156 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5157             Michael Albinus  <michael.albinus@gmx.de>
5159         Implement compression for inline methods.
5161         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5162         (tramp-copy-size-limit): Allow also nil.
5163         (tramp-inline-compress-commands): New defconst.
5164         (tramp-find-inline-compress, tramp-get-inline-compress)
5165         (tramp-get-inline-coding): New defuns.
5166         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5167         replaced by `tramp-get-inline-coding'.
5168         (tramp-handle-file-local-copy, tramp-handle-write-region)
5169         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5171 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5173         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5174         Remove unused functions.
5176         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5177         Set find-tag-default-function as a variable rather than a property.
5179         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5180         * progmodes/etags.el (tags-completion-at-point-function):
5181         Remove left over interactive spec.  Add autoloading stub.
5182         (complete-tag): Use tags-completion-at-point-function.
5184 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
5186         * minibuffer.el (tags-completion-at-point-function): Fix return value.
5188 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5190         * ido.el (ido-init-completion-maps): Remove C-v binding.
5191         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5193 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5195         * minibuffer.el (tags-completion-at-point-function): New function.
5196         (completion-at-point-functions): Use it.
5198         * progmodes/etags.el (complete-tag): Revert last change.
5200 2010-04-29  Alan Mackenzie  <acm@muc.de>
5202         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5203         off-by-one error (in end of macro position).
5205 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5207         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5208         firefox is absent.  Don't autoload.
5209         (browse-url-galeon-program): Don't autoload.
5211 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5213         * bindings.el (complete-symbol): Move into minibuffer.el.
5215         * minibuffer.el (complete-tag): Move from etags.el.  If tags
5216         completion cannot be performed, return nil instead of signalling
5217         an error.
5218         (completion-at-point): Make it an alias for complete-symbol.
5219         (complete-symbol): Move from bindings.el, and replace with the
5220         body of completion-at-point.
5222         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5224 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
5226         * net/tramp.el (tramp-remote-selinux-p): New defun.
5227         (tramp-handle-file-selinux-context)
5228         (tramp-handle-set-file-selinux-context): Use it.
5230 2010-04-28  Sam Steingold  <sds@gnu.org>
5232         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5233         `safe-local-variable' if the value is a string or a symbol with
5234         the property `bug-reference-url-format'.
5236 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5238         * progmodes/bug-reference.el (bug-reference-url-format):
5239         Revert 2010-04-27 change due to security risk.
5241 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5243         Make it possible to locally disable a globally enabled mode.
5244         * simple.el (fundamental-mode): Run fundamental-mode-hook.
5245         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5246         rather than kill-all-local-variables so it runs fundamental-mode-hook.
5247         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5248         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5249         that subsequent hooks get a chance to disable it.
5251 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5253         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5254         Avoid re-enabling a minor mode after the user turned the minor mode
5255         off if MODE-enable-in-buffers is run twice (typically once from
5256         fundamental-mode's after-change-major-mode-hook and a second time from
5257         run-mode-hook's own after-change-major-mode-hook).
5259         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5261 2010-04-27  Sam Steingold  <sds@gnu.org>
5263         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5264         `safe-local-variable' if the value is a string or a function, as
5265         documented and implemented on 2010-04-02.
5267 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
5269         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5270         when method is 'kill.
5272 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
5274         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5275         condition in default directory check.
5276         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5277         Kill ispell process when killing its associated buffer.
5279 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
5281         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5282         but we aren't using it.
5284 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
5286         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5287         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5289 2010-04-24  Glenn Morris  <rgm@gnu.org>
5291         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5292         Ignore VCS-ignore files, and deleted nextstep preferences files.
5293         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5294         (authors-ambiguous-files): New list.
5295         (authors-valid-file-names): Add some deleted files.
5296         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5297         (authors-disambiguate-file-name): New function.  (Bug#5501)
5298         (authors-canonical-file-name): Doc fix.
5299         Don't warn about obsolete files.
5300         (authors-canonical-file-name, authors-scan-el):
5301         Use authors-disambiguate-file-name.
5303         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5304         Add autoload cookies.
5305         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5306         (generated-autoload-file): Set file-local value to "htmlfontify.el".
5307         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5308         They have definitions / compiler macros in cl.el.
5309         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5310         Replace manual autoloads with generated ones.
5311         (htmlfontify-unload-rgb-file): Remove autoload.
5312         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5314 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5316         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5317         (byte-compile-setq-default): Optimize for the
5318         single-var case and don't call byte-compile-form in this case to avoid
5319         inf-loop with byte-compile-set-default.
5321         * progmodes/compile.el (compilation-start): Abbreviate default directory.
5323 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
5325         Implement SELINUX backends.
5327         * net/tramp.el (tramp-file-name-handler-alist):
5328         Add `file-selinux-context' and `set-file-selinux-context'.
5329         (tramp-handle-file-selinux-context)
5330         (tramp-handle-set-file-selinux-context): New defuns.
5331         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5332         Handle PRESERVE-SELINUX-CONTEXT.
5334         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5335         Add `file-selinux-context' and `set-file-selinux-context'.
5336         (tramp-gvfs-handle-file-selinux-context)
5337         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5338         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5340         * net/ange-ftp.el (ange-ftp-copy-file):
5341         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5342         * net/tramp-imap.el (tramp-imap-handle-copy-file):
5343         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5344         Add PRESERVE-SELINUX-CONTEXT.
5346 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5348         Synchronize with Tramp repository.
5350         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5351         (tramp-action-process-alive, tramp-action-out-of-band)
5352         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5353         (tramp-exists-file-name-handler): Fix docstring.
5354         (with-progress-reporter): New defmacro.
5355         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5356         (tramp-maybe-open-connection): Use it.
5358 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
5360         Detect ssh 'ControlMaster' argument automatically in some cases.
5362         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5363         (tramp-default-method): Use it.
5365 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5367         * net/tramp.el (tramp-handle-copy-file): Add new optional
5368         parameter `preserve-selinux-context'.
5369         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5371 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5373         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5374         Ensure, that non remote files are still checked.  Oops.
5376 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
5378         Fix Bug#5840.
5380         * icomplete.el (icomplete-completions): Use `non-essential'.
5382         * net/tramp.el (tramp-connectable-p): New defun.
5383         (tramp-handle-expand-file-name)
5384         (tramp-completion-handle-file-name-all-completions)
5385         (tramp-completion-handle-file-name-completion): Use it.
5387 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5389         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5391 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
5393         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5395         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5397         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5398         is present.
5400         * info.el (info-tool-bar-map): Add labels.
5402         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5404         * cus-edit.el (custom-commands): Add labels for tool bar.
5405         (custom-buffer-create-internal, Custom-mode): Adjust for
5406         labels in custom-commands.
5408         * dynamic-setting.el: Renamed from font-setting.el.
5410 2010-04-21  John Wiegley  <jwiegley@gmail.com>
5412         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5413         toggles the use of virtual buffers.
5414         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5415         (ido-toggle-virtual-buffers): New function.
5417 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
5419         Use `define-derived-mode'; fix window selection; doc fixes.
5420         * play/tetris.el (tetris, tetris-update-speed-function)
5421         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5422         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5423         (tetris-rotate-next, tetris-end-game, tetris-start-game)
5424         (tetris-pause-game): Fix typos in docstrings.
5425         (tetris-mode-map, tetris-null-map):
5426         Move initialization into declaration.
5427         (tetris-mode): Define with `define-derived-mode';
5428         set show-trailing-whitespace to nil.
5429         (tetris): Prefer window already displaying the "*Tetris*" buffer.
5431 2010-04-21  Karel Klíč  <kklic@redhat.com>
5433         * files.el (backup-buffer): Handle SELinux context, and return it
5434         if a backup was made by renaming.
5435         (backup-buffer-copy): Set SELinux context to the target file.
5436         (basic-save-buffer): Set SELinux context of the newly written file.
5437         (basic-save-buffer-1): Now it also returns any SELinux context.
5438         (basic-save-buffer-2): Set SELinux context of the newly created file,
5439         and return it.
5440         * net/tramp.el (tramp-file-name-for-operation):
5441         Add file-selinux-context.
5443 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5445         Make the log-edit comments use RFC822 format throughout.
5447         * vc.el (vc-checkin, vc-modify-change-comment):
5448         Adjust to new vc-start/finish-logentry.
5449         (vc-find-conflicted-file): New command.
5450         (vc-transfer-file): Adjust to new vc-checkin.
5451         (vc-next-action): Improve scoping.
5453         * vc-hg.el (vc-hg-log-edit-mode): Remove.
5454         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
5456         * vc-git.el (vc-git-log-edit-mode): Remove.
5457         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
5458         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5460         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5461         (vc-start-logentry): Remove argument `extra'.
5462         (vc-finish-logentry): Remove extra args.
5464         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5465         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
5466         (vc-bzr-conflicted-files): New function.
5468         * log-edit.el (log-edit-extra-flags)
5469         (log-edit-before-checkin-process): Remove.
5470         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5471         (log-edit-headers-alist): New var.
5472         (log-edit-header-contents-regexp): New const.
5473         (log-edit-match-to-eoh): New function.
5474         (log-edit-font-lock-keywords): Use them.
5475         (log-edit): Insert a "Summary:" header as default.
5476         (log-edit-mode): Mark font-lock rules as case-insensitive.
5477         (log-edit-done): Cleanup headers.
5478         (log-view-process-buffer): Remove.
5479         (log-edit-extract-headers): New function to replace it.
5481 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
5483         * subr.el (default-direction-reversed): Remove obsolescence info.
5485 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5487         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5488         windows/frames.
5490         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5491         I.e. include text after point in the completion region.
5492         Also, return nil when we're not after/in a symbol.
5494         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5495         default enable-multibyte-characters.
5497 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5499         * international/mule.el: Help the user choose a valid coding-system.
5500         (read-buffer-file-coding-system): New function.
5501         (set-buffer-file-coding-system): Use it.  Prompt the user if the
5502         coding-system cannot encode all the chars.
5504         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5505         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5506         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5507         Don't use *vc-bzr-shelve*.
5509 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
5511         Fix the version number for added files.
5512         * vc-hg.el (vc-hg-working-revision): Check if the file is
5513         registered after hg parent fails (Bug#5961).
5515 2010-04-19  Glenn Morris  <rgm@gnu.org>
5517         * htmlfontify.el (htmlfontify-buffer)
5518         (htmlfontify-copy-and-link-dir): Autoload entry points.
5520 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
5522         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5523         name relative to the project root (Bug#5960).
5525 2010-04-19  Glenn Morris  <rgm@gnu.org>
5527         * vc-git.el (vc-git-print-log): Doc fix.
5529 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
5531         * ido.el (ido-file-internal): Fix 2009-12-02 change.
5533 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
5535         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5536         default settings (Bug#5928).
5538 2010-04-19  Glenn Morris  <rgm@gnu.org>
5540         * progmodes/fortran.el (fortran-match-and-skip-declaration):
5541         New function.
5542         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
5544 2010-04-19  Kenichi Handa  <handa@m17n.org>
5546         * language/indian.el (malayalam-composable-pattern): Fix previous
5547         change (add U+0D4D "SIGN VIRAMA").
5548         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5549         (tamil-composable-pattern): Fix typo in the regexp.
5550         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5551         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5552         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5554 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5556         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5557         paragraph-separate (Bug#5821).
5559 2010-04-19  Juri Linkov  <juri@jurta.org>
5561         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5563         * info.el (Info-find-node-2): Comment out code that skips
5564         breadcrumbs line.
5565         (Info-mouse-follow-link): New command.
5566         (Info-link-keymap): New keymap.
5567         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5568         Return a string with links instead of inserting breadcrumbs
5569         to the Info buffer.
5570         (Info-fontify-node): Comment out code that inserts breadcrumbs.
5571         Instead of putting the `invisible' text property over the Info
5572         header, make an overlay over the Info header with the `invisible'
5573         property and `after-string' set to the string returned by
5574         `Info-breadcrumbs'.
5576 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5578         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5579         Reported by monkey@sandpframing.com.
5581 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5583         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5584         (tmm-get-keymap): Add key-binding shortcuts now that they're not
5585         available in the "keyseq cache" any more.
5587         * custom.el (defcustom): Add edebug spec.
5589 2010-04-18  Juri Linkov  <juri@jurta.org>
5591         Test for special mode-class in view-buffer instead of view-file (bug#5513).
5593         * view.el (view-file, view-buffer): Move test for special mode-class
5594         from view-file to view-buffer.
5596         * tar-mode.el (tar-extract): Turn if's into one cond
5597         like in arc-mode.el.
5599 2010-04-18  Juri Linkov  <juri@jurta.org>
5601         Add 7z archive format support (bug#5475).
5603         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5604         (archive-7z-extract): New defcustom.
5605         (archive-find-type): Add magic string for 7z.
5606         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5607         If `stderr-file' is non-nil, use `(t stderr-file)' for the
5608         `buffer' arg of `call-process'.
5609         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5610         call the function `archive-7z-extract' with the variable
5611         `archive-7z-extract' let-bound to `archive-zip-extract'.
5612         (archive-7z-summarize, archive-7z-extract): New functions.
5614         * international/mule.el (auto-coding-alist):
5615         * files.el (auto-mode-alist): Add 7z file extension.
5617 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5619         * loadup.el: Setup hash-cons for pure data.
5621         Fix duplicate entries in cedet's loaddefs.el files.
5622         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5623         Should make most file-local generated-autoload-file unnecessary.
5624         (print-readably): Silence warnings.
5625         (autoload-find-destination): Take load-name as an arg to make sure
5626         it's the same as the one that will be in the file.
5627         (autoload-generate-file-autoloads): Adjust to above changes.
5628         Try to make the dataflow a bit simpler.
5630         * cvs-status.el (cvs-refontify): Remove unused.
5632 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
5634         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5636         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
5637         twos-complement mode.
5639 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
5641         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
5642         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
5643         (calc-inverse): Add "Option" to message, as appropriate.
5644         (calc-hyperbolic): Add "Option" to message, as appropriate.
5645         (calc-option, calc-is-option): New functions.
5647         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
5648         (calc-option-prefix-help): New function.
5650         * calc/calc-misc.el (calc-help): Add "Option" entry.
5652         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
5653         (calc-option-flag): New variable.
5654         (calc-do): Set `calc-option-flag to nil.
5655         (calc-set-mode-line): Add "Opt " as appropriate.
5657 2010-04-16  Juri Linkov  <juri@jurta.org>
5659         Move scrolling commands from simple.el to window.el
5660         because their primitives are implemented in window.c.
5662         * simple.el (scroll-error-top-bottom)
5663         (scroll-up-command, scroll-down-command, scroll-up-line)
5664         (scroll-down-line, scroll-other-window-down)
5665         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5666         * window.el (scroll-error-top-bottom)
5667         (scroll-up-command, scroll-down-command, scroll-up-line)
5668         (scroll-down-line, scroll-other-window-down)
5669         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5670         Move from simple.el to window.el because their primitives are
5671         implemented in window.c.
5673 2010-04-16  Juri Linkov  <juri@jurta.org>
5675         * isearch.el (isearch-lookup-scroll-key): Check both
5676         `isearch-scroll' and `scroll-command' properties.
5677         (scroll-up, scroll-down): Remove `isearch-scroll' property.
5679         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5681         * simple.el (scroll-up-command, scroll-down-command)
5682         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5684 2010-04-15  Juri Linkov  <juri@jurta.org>
5686         * simple.el (scroll-up-command, scroll-down-command)
5687         (scroll-up-line, scroll-down-line): Put `scroll-command'
5688         property on the these symbols.  Remove them from
5689         `scroll-preserve-screen-position-commands'.
5691         * mwheel.el (mwheel-scroll): Put `scroll-command' and
5692         `isearch-scroll' properties on the `mwheel-scroll' symbol.
5693         Remove it from `scroll-preserve-screen-position-commands'.
5695         * isearch.el (isearch-allow-scroll): Doc fix.
5697 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
5699         * net/tramp.el (tramp-error-with-buffer): Don't show the
5700         connection buffer when we are in completion mode.
5701         (tramp-file-name-handler): Catch the error for some operations
5702         when we are in completion mode.  This gives the user the chance to
5703         correct the file name in the minibuffer.
5705 2010-04-15  Glenn Morris  <rgm@gnu.org>
5707         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5709 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
5711         Simplify by using `define-derived-mode'.
5712         * info.el (Info-mode):
5713         * calendar/todo-mode.el (todo-mode):
5714         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5715         (gomoku-mode-map): Move initialization into declaration.
5717 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
5719         Fix Bug#5840.
5720         * ido.el (ido-file-name-all-completions-1):
5721         * minibuffer.el (minibuffer-completion-help):
5722         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5724 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5726         * simple.el (non-essential): New var.
5728         Add a new field `location' to bookmarks for non-file bookmarks.
5729         * bookmark.el (bookmark-location): Use the new field, if present.
5730         (bookmark-insert-location): Undo last change, not needed any more.
5731         * man.el (Man-bookmark-make-record):
5732         * woman.el (woman-bookmark-make-record): Add `location' field.
5734 2010-04-14  Juri Linkov  <juri@jurta.org>
5736         * simple.el (scroll-error-top-bottom): New defcustom.
5737         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
5739         * emulation/pc-select.el (pc-select-override-scroll-error):
5740         Obsolete in favor of `scroll-error-top-bottom'.
5742 2010-04-14  Juri Linkov  <juri@jurta.org>
5744         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5745         `scroll-up-command' and `M-v' to `scroll-down-command'.
5747         * emulation/cua-rect.el (cua--init-rectangles):
5748         * forms.el (forms--change-commands):
5749         * image-mode.el (image-mode-map):
5750         Remap scroll-down-command and scroll-up-command
5751         in addition to scroll-down and scroll-up.
5753 2010-04-14  Juri Linkov  <juri@jurta.org>
5755         * mwheel.el (scroll-preserve-screen-position-commands):
5756         Add mwheel-scroll to this list of commands.
5758         * simple.el (scroll-preserve-screen-position-commands):
5759         Add scroll-up-command, scroll-down-command, scroll-up-line,
5760         scroll-down-line to this list of commands.
5762 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5764         * obsolete/complete.el: Move from lisp/complete.el.
5766         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5768         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5769         to the minor mode function now turns the mode ON unconditionally.
5771 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5773         * vc-dir.el (vc-dir-kill-line): New command.
5774         (vc-dir-mode-map): Bind it to C-k.
5776         * bookmark.el (bookmark-insert-location): Handle a nil filename.
5778         * woman.el: Add bookmark declarations to silence the compiler.
5779         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5780         step to compatibility between man and woman bookmarks.
5781         Adjust for Man-default-bookmark-title renaming.
5782         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
5784         * man.el: Add bookmark declarations to silence the compiler.
5785         (Man-name-local-regexp): Make it match NAME as well.
5786         (Man-getpage-in-background): Return the buffer.
5787         (Man-notify-when-ready): Use `case'.
5788         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5789         Don't hardcode "NAME".  Simplify.
5790         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5791         Rename from Man-bookmark-make-record.
5792         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
5793         we have the actual man-args.  Use Man-getpage-in-background rather
5794         than `man' since the arg is already processed.  Let bookmark.el do the
5795         window handling.  Only wait for the relevant process.
5796         Don't forget to autoload.
5798         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5800 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5802         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5803         New functions.
5804         (woman-mode): Setup bookmark support.
5806         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5807         (man-bookmark-jump): New functions.
5808         (Man-mode): Setup bookmark support.
5810 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
5812         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5813         recognize ssh-keygen prompt (Bug#2817).
5815 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5817         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5819 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5821         Synchronize with Tramp repository.
5823         * net/tramp.el (tramp-completion-function-alist)
5824         (tramp-file-name-regexp, tramp-chunksize)
5825         (tramp-local-coding-commands, tramp-remote-coding-commands):
5826         Fix docstring.
5827         (tramp-remote-process-environment): Use `format' instead of `concat'.
5828         (tramp-handle-directory-files-and-attributes)
5829         (tramp-get-remote-path): Use `copy-tree'.
5830         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5831         compatibility: Use `completion-ignore-case' if
5832         `read-file-name-completion-ignore-case' does not exist.
5833         (tramp-do-copy-or-rename-file-directly): Do not use
5834         `tramp-handle-file-remote-p'.
5835         (tramp-do-copy-or-rename-file-out-of-band):
5836         Use `tramp-compat-delete-directory'.
5837         (tramp-do-copy-or-rename-file-out-of-band)
5838         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5839         Use `format-spec-make'.
5840         (tramp-find-foreign-file-name-handler)
5841         (tramp-advice-make-auto-save-file-name)
5842         (tramp-set-auto-save-file-modes): Remove superfluous check for
5843         `stringp'.  This is done inside `tramp-tramp-file-p'.
5844         (tramp-debug-outline-regexp): New defconst.
5845         (tramp-get-debug-buffer): Use it.
5846         (tramp-check-for-regexp): Use (forward-line 1).
5847         (tramp-set-auto-save-file-modes): Adapt version check.
5849         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5850         Wrap call of `featurep' for 2nd argument.
5851         (tramp-compat-make-temp-file): Simplify fallback implementation.
5852         (tramp-compat-copy-tree): Remove function.
5853         (tramp-compat-delete-directory): Provide implementation for older
5854         Emacsen.
5856         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5857         Do not use `tramp-fish-handle-file-attributes.
5859         * net/trampver.el: Update release number.
5861 2010-04-10  Glenn Morris  <rgm@gnu.org>
5863         * progmodes/compile.el (compilation-save-buffers-predicate):
5864         Add missing :version tag.
5866 2010-04-09  Sam Steingold  <sds@gnu.org>
5868         * progmodes/compile.el (compilation-save-buffers-predicate):
5869         Remove the "autoload" cookie.
5871         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
5872         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
5873         and `bug-reference-prog-mode' can be used in hooks directly.
5875 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
5877         Add --author support to git commit.
5878         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
5879         (vc-git-log-edit-mode): New minor mode.
5880         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
5881         New declarations.
5883 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
5885         * vc-hooks.el, vc-git.el: Improve documentation comments.
5887 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5889         Fix some of the problems in defsubst* (bug#5728).
5890         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
5891         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
5893 2010-04-07  Sam Steingold  <sds@gnu.org>
5895         * progmodes/compile.el (compilation-save-buffers-predicate):
5896         New custom variable.
5897         (compile, recompile): Pass it to `save-some-buffers'.
5899 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
5901         * wid-edit.el (widget-choose): Move cursor to the second line of
5902         the buffer (Bug#5695).
5904 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
5906         Add new VC methods: vc-log-incoming and vc-log-outgoing.
5907         * vc.el (vc-print-log-setup-buttons): New function split out from
5908         vc-print-log-internal.
5909         (vc-log-internal-common): New function, a parametrized version of
5910         vc-print-log-internal.
5911         (vc-print-log-internal): Just call vc-log-internal-common with the
5912         right arguments.
5913         (vc-incoming-outgoing-internal):
5914         (vc-log-incoming, vc-log-outgoing): New functions.
5915         (vc-log-view-type): New permanent local variable.
5917         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
5919         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
5920         of the dynamic bound vc-short-log.
5921         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
5923         * vc-git.el (vc-git-log-outgoing): New function.
5924         (vc-git-log-view-mode): Use vc-log-view-type instead
5925         of the dynamic bound vc-short-log.
5927         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
5928         of the dynamic bound vc-short-log.  Highlight the tag.
5929         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
5930         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
5931         (vc-hg-incoming-mode): Remove.
5932         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
5934 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
5936         Fix default-directory for vc-root-diff.
5937         * vc.el (vc-root-diff): Bind default-directory to the root
5938         directory for the diff command.
5940 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
5942         * progmodes/verilog-mode.el (verilog-forward-sexp):
5943         (verilog-calc-1): Support "disable fork" and "fork wait" multi
5944         word keywords, suggested by Steve Pearlmutter.
5945         (verilog-pretty-declarations): Support lineup of declarations in
5946         port lists.
5947         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5948         fix bug for /* / comments.
5949         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5950         Speed up and simplfy as this is never called with a bound.
5951         (verilog-pretty-declarations): Enhance to line up declarations
5952         inside a parameter list, suggested by Alan Morgan.
5953         (verilog-pretty-expr): Tune assignment regular expression match
5954         string for corner cases; also use markers instead of character
5955         number as indent changes the later.
5957 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
5959         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5960         as missing keyword.
5961         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5962         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
5963         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5964         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
5965         Tennant.
5966         (verilog-keywords):
5967         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5968         1800-2009 keywords, including "global.".
5970 2010-04-06  John Wiegley  <jwiegley@gmail.com>
5972         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5973         appearing in buffer list (if a live buffer name matched a recentf
5974         file basename).  Should use uniquify to offer a real solution.
5976 2010-04-06  John Wiegley  <jwiegley@gmail.com>
5978         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5979         comment to code, and add a :version tag.
5980         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
5982 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
5984         Enable recentf-mode if using virtual buffers.
5985         * ido.el (recentf-list): Declare for byte-compiler.
5986         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
5987         (ido-make-buffer-list): Simplify.
5988         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
5990 2010-04-05  Juri Linkov  <juri@jurta.org>
5992         Scrolling commands which scroll a line instead of full screen.
5993         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5995         * simple.el (scroll-up-line, scroll-down-line): New commands.
5996         Put property isearch-scroll=t on them.
5998         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
5999         Remove commands.
6001 2010-04-05  Juri Linkov  <juri@jurta.org>
6003         Scrolling commands which do not signal errors at top/bottom.
6004         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6006         * simple.el (scroll-up-command, scroll-down-command): New commands.
6007         Put property isearch-scroll=t on them.
6009         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6010         `scroll-down-command' and [next] from `scroll-up' to
6011         `scroll-up-command'.
6013         * emulation/cua-base.el: Put property CUA=move on
6014         `scroll-up-command' and `scroll-down-command'.
6015         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6016         and `scroll-down-command' to `cua-scroll-down'.
6018 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
6020         * help.el (describe-mode): Return nil.
6022 2010-04-04  John Wiegley  <jwiegley@gmail.com>
6024         * ido.el (ido-use-virtual-buffers): New variable to indicate
6025         whether "virtual buffer" support is enabled for IDO.
6026         (ido-virtual): Face used to indicate virtual buffers in the list.
6027         (ido-buffer-internal): If a buffer is chosen, and no such buffer
6028         exists, but a virtual buffer of that name does (which would be why
6029         it was in the list), recreate the buffer by reopening the file.
6030         (ido-make-buffer-list): If virtual buffers are being used, call
6031         `ido-add-virtual-buffers-to-list' before the make list hook.
6032         (ido-virtual-buffers): New variable which contains a copy of the
6033         current contents of the `recentf-list', albeit pared down for the
6034         sake of speed, and with proper faces applied.
6035         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6036         create a list of "virtual buffers" to present to the user in
6037         addition to the currently open set.  Note that this logic could
6038         get rather slow if that list is too large.  With the default
6039         `recentf-max-saved-items' of 200, there is little speed penalty.
6041 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6043         * font-lock.el: Require CL when compiling.
6044         (font-lock-turn-on-thing-lock): Use `case'.
6046 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
6048         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6049         Zaretskii.
6051 2010-04-02  Juri Linkov  <juri@jurta.org>
6053         * ehelp.el (electric-help-orig-major-mode):
6054         New buffer-local variable.
6055         (electric-help-mode): Set it to original major-mode.  Doc fix.
6056         (with-electric-help): Use `electric-help-orig-major-mode' instead
6057         of (default-value 'major-mode).  Doc fix.
6058         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6060 2010-04-02  Sam Steingold  <sds@gnu.org>
6062         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6063         `vc-hg-command' with a list of flags.
6065         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6066         Also accept "patch" and "RFE".
6067         (bug-reference-fontify): `bug-reference-url-format' can also be a
6068         function to be able to handle the bug kind.
6069         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6071 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
6073         * tmm.el (tmm-get-keymap): Check with symbolp before passing
6074         value to fboundp, it may not be a symbol.
6076 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6078         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6080 2010-03-31  Juri Linkov  <juri@jurta.org>
6082         * simple.el (next-line, previous-line): Re-throw a signal
6083         with `signal' instead of using `ding'.
6084         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6086 2010-03-31  Juri Linkov  <juri@jurta.org>
6088         * simple.el (keyboard-escape-quit): Raise deselecting the active
6089         region higher than exiting the minibuffer.
6090         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6092 2010-03-31  Juri Linkov  <juri@jurta.org>
6094         * image.el (image-animated-p): Use `image-metadata' instead of
6095         `image-extension-data'.  Get GIF extenstion data from metadata
6096         property `extension-data'.
6098 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6100         * simple.el (append-to-buffer): Simplify.
6102 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
6104         * textmodes/artist.el (artist-mode): Fix typo in docstring.
6105         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
6107 2010-03-31  Kenichi Handa  <handa@m17n.org>
6109         * language/sinhala.el (composition-function-table): Fix regexp for
6110         the new Unicode specification.
6112         * language/indian.el (devanagari-composable-pattern)
6113         (tamil-composable-pattern, kannada-composable-pattern)
6114         (malayalam-composable-pattern): Adjust for the new Unicode
6115         specification.
6116         (bengali-composable-pattern, gurmukhi-composable-pattern)
6117         (gujarati-composable-pattern, oriya-composable-pattern)
6118         (telugu-composable-pattern): New variables to cope with the new
6119         Unicode specification.  Use them in composition-function-table.
6121 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6123         Make tmm-menubar work for the Buffers menu again (bug#5726).
6124         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6125         vectors rather than cons cells, as used in menu-bar-update-buffers.
6127 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6129         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6130         (js-insert-and-indent): Revert 2009-08-15 change, restoring
6131         electric punctuation for "{}();,:" (Bug#5586).
6133         * mail/sendmail.el (mail-default-directory): Doc fix.
6135 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6137         * mail/sendmail.el (mail-default-directory): Doc fix.
6139 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
6141         * subr.el (version-regexp-alist, version-to-list)
6142         (version-list-<, version-list-=, version-list-<=)
6143         (version-list-not-zero, version<, version<=, version=): Doc fix.
6144         (Bug#5744).
6146 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
6148         * vc.el (vc-root-diff): Doc fix.
6150 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6152         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6154         * simple.el (append-to-buffer): Fix last change.
6156 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6158         * simple.el (append-to-buffer): Ensure that point is preserved if
6159         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
6160         (Bug#5749)
6162 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6164         * files.el (auto-mode-case-fold): Change default to t.
6166 2010-03-30  Juri Linkov  <juri@jurta.org>
6168         * dired-x.el (dired-omit-mode): Doc fix.
6170 2010-03-30  Juri Linkov  <juri@jurta.org>
6172         * replace.el (occur-accumulate-lines): Move occur-engine related
6173         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6174         to be located after `occur-engine'.
6176 2010-03-30  Juri Linkov  <juri@jurta.org>
6178         Make occur handle multi-line matches cleanly with context.
6179         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6181         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6182         (occur-engine): Add local variables `ret', `prev-after-lines',
6183         `prev-lines'.  Use more arguments for `occur-context-lines'.
6184         Set first elem of its returned list to `data', and the second elem
6185         to `prev-after-lines'.  Don't print the separator line.
6186         In the end, print remaining context after-lines.
6187         (occur-context-lines): Add new arguments `begpt', `endpt',
6188         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
6189         after-lines of the previous match with before-lines of the
6190         current match and not overlap them.  Return a list with two
6191         values: the output line and the list of context after-lines.
6193 2010-03-30  Juri Linkov  <juri@jurta.org>
6195         * replace.el (occur-accumulate-lines): Fix a bug where the first
6196         context line at the beginning of the buffer was missing.
6198 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
6200         * files.el: Make bidi-display-reordering safe variable for boolean
6201         values.
6203 2010-03-29  Phil Hagelberg  <phil@evri.com>
6204             Chong Yidong  <cyd@stupidchicken.com>
6206         * subr.el: Extend progress reporters to perform "spinning".
6207         (progress-reporter-update, progress-reporter-do-update):
6208         Handle non-numeric value arguments.
6209         (progress-reporter--pulse-characters): New var.
6211 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
6213         * progmodes/compile.el (compilation-start): Fix regexp detection
6214         of initial cd command (Bug#5771).
6216 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
6218         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6220 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
6222         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6223         * progmodes/gdb-mi.el: Restore.
6224         * progmodes/gdb-ui.el: Remove.
6225         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6227 2010-03-25  Glenn Morris  <rgm@gnu.org>
6229         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6230         all dired buffers, even tramp ones.  (Bug#5755)
6232 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         Add "union tags" in mpc.el.
6235         * mpc.el: Remove backward compatibility code.
6236         (mpc-browser-tags): Change default.
6237         (mpc--find-memoize-union-tags): New var.
6238         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6239         (mpc-cmd-find): Handle the case where the playlist does not exist.
6240         Handle union-tags.
6241         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
6242         (mpc-cmd-add): Use mpc-cmd-flush.
6243         (mpc-tagbrowser-tag-name): New fun.
6244         (mpc-tagbrowser-buf): Use it.
6245         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
6247 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6249         Misc cleanup.
6250         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6251         Use replace-regexp-in-string.
6252         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6253         (makefile-imake-mode-syntax-table): Move init into defvar.
6254         (makefile-mode): Use define-derived-mode.
6256         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6257         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6258         not be present any more.
6260 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6262         * faces.el (set-face-attribute): Fix typo in docstring.
6263         (face-valid-attribute-values): Reflow docstring.
6265 2010-03-24  Glenn Morris  <rgm@gnu.org>
6267         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6269 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6271         * indent.el (indent-for-tab-command): Doc fix.
6273 2010-03-24  Alan Mackenzie  <acm@muc.de>
6275         * progmodes/cc-engine.el (c-remove-stale-state-cache):
6276         Fix off-by-one error.  Fixes bug #5747.
6278 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6280         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6281         (image-dired-read-comment): Doc fix.
6283         * json.el (json-object-type, json-array-type, json-key-type)
6284         (json-false, json-null, json-read-number):
6285         * minibuffer.el (completion-in-region-functions):
6286         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6287         (cal-tex-cursor-week):
6288         * emacs-lisp/trace.el (trace-function):
6289         * eshell/em-basic.el (eshell/printnl):
6290         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6291         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6292         * obsolete/levents.el (allocate-event, event-key, event-object)
6293         (event-point, event-process, event-timestamp, event-to-character)
6294         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6295         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6296         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6297         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6298         (reftex-highlight-selection): Fix typos in docstrings.
6300 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6302         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6304 2010-03-24  Glenn Morris  <rgm@gnu.org>
6306         * mail/rmail.el (rmail-highlight-face): Restore option deleted
6307         2008-02-13 without comment; mark it obsolete.
6308         (rmail-highlight-headers): Use rmail-highlight-face once more.
6310 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6312         * woman.el (woman2-process-escapes): Only consume the newline if
6313         the filler character is on a line by itself (Bug#5729).
6315 2010-03-24  Kenichi Handa  <handa@m17n.org>
6317         * language/indian.el (devanagari-composable-pattern): Add more
6318         consonants.
6320 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6322         * net/trampver.el: Update release number.
6324 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6326         * net/tramp.el (tramp-find-executable):
6327         Use `tramp-get-connection-buffer'.  Make the regexp for checking
6328         output of "wc -l" more robust.
6329         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6330         (tramp-open-connection-setup-interactive-shell): Remove workaround
6331         for OpenSolaris bug, it is not needed anymore.
6333 2010-03-24  Glenn Morris  <rgm@gnu.org>
6335         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
6337 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
6339         * files.el (auto-mode-alist): Accept more verilog file patterns.
6341 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6343         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6345 2010-03-24  Glenn Morris  <rgm@gnu.org>
6347         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6348         log-edit-before-checkin-process.
6350         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6352         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6354         * vc-dispatcher.el (vc-start-logentry): Doc fix.
6355         (log-view-process-buffer, log-edit-extra-flags): Declare.
6357         * log-edit.el (log-edit-before-checkin-process): Doc fix.
6359 2010-03-23  Sam Steingold  <sds@gnu.org>
6361         Fix bug#5620: recalculate all markers on compilation buffer
6362         modifications, not on file modifications.
6363         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6364         the buffer modification time, for buffers not associated with files.
6365         (compilation-mode): Create it.
6366         (compilation-filter): Update it.
6367         (compilation-next-error-function): Use it instead of
6368         `visited-file-modtime' for timestamp.
6370 2010-03-23  Juri Linkov  <juri@jurta.org>
6372         Implement Occur multi-line matches.
6373         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6375         * replace.el (occur): Doc fix.
6376         (occur-engine): Set `begpt' to the beginning of the first line.
6377         Set `endpt' to the end of the last match line.  At first, count
6378         line numbers between `origpt' and `begpt'.  Split out code from
6379         `out-line' variable to new let-bindings `match-prefix' and
6380         `match-str'.  In `out-line' add non-numeric prefix to all
6381         non-first lines of multi-line matches.  Finally, count lines
6382         between `begpt' and `endpt' and add to `lines'.
6384 2010-03-23  Juri Linkov  <juri@jurta.org>
6386         * replace.el (occur-accumulate-lines, occur-engine):
6387         Use `occur-engine-line' instead of duplicate code.
6388         (occur-engine-line): New function created from duplicate code
6389         in `occur-accumulate-lines' and `occur-engine'.
6391         * replace.el (occur-engine-line): Add optional arg `keep-props'.
6392         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6394 2010-03-23  Juri Linkov  <juri@jurta.org>
6396         * finder.el: Remove TODO tasks.
6398         * info.el (Info-finder-find-node): Add node "all"
6399         with all package info.  Handle a list of multiple keywords
6400         separated by comma.
6401         (info-finder): In interactive use with a prefix argument,
6402         use `completing-read-multiple' to read a list of keywords
6403         separated by comma.
6405 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6407         Add a new completion style `substring'.
6408         * minibuffer.el (completion-basic--pattern): New function.
6409         (completion-basic-try-completion, completion-basic-all-completions):
6410         Use it.
6411         (completion-substring--all-completions)
6412         (completion-substring-try-completion)
6413         (completion-substring-all-completions): New functions.
6414         (completion-styles-alist): New style `substring'.
6416 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6418         Get rid of .elc files after removal of the corresponding .el.
6419         * Makefile.in (compile-clean): New target.
6420         (compile-main): Use it.
6422 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
6424         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6425         don't do make there.  When compiling with separate object dir, there
6426         is no Makefile there.
6428 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6430         Get rid of the ELCFILES abomination, again.
6431         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6432         (all, compile): Don't call compile-last.
6433         (compile-main): Build the "elcfiles" list dynamically.
6434         (compile-targets): New (internal) target.
6436 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6438         * Makefile.in (top_srcdir): Define.
6439         (abs_top_builddir): Define.
6440         (srcdir): Don't append `/..'.
6441         (EMACS): Use ${abs_top_builddir}.
6442         (all, compile, compile-always, compile-last): Don't set emacswd.
6443         (update-subdirs, update-authors): Use $(top_srcdir) instead of
6444         $(srcdir).
6445         (lisp): Use $(srcdir) instead of @srcdir@.
6447 2010-03-21  Juri Linkov  <juri@jurta.org>
6449         Fix message of multi-line occur regexps and multi-buffer header lines.
6450         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6452         * replace.el (occur-1): Don't display regexp if it is longer
6453         than window-width.  Use `query-replace-descr' to display regexp.
6454         (occur-engine): Don't display regexp in the buffer header for
6455         multi-buffer occur.  Display a separate header line with total
6456         match count and regexp for multi-buffer occur.
6457         Use `query-replace-descr' to display regexp.
6459 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
6461         * net/secrets.el: Fix parenthesis.
6462         (secrets-enabled): Fix parenthesis.
6464 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6466         Use more relative file and directory names.
6467         * Makefile.in (EMACS): Arrange for it to work when we chdir.
6468         (setwins, setwins_almost, setwins_for_subdirs):
6469         Don't `cd'; output relative names.
6470         (all, compile, compile-always, compile-last): Set emacswd.
6471         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6472         Just cd to the lisp source dir so we can use relative file names.
6474         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6476 2010-03-20  Glenn Morris  <rgm@gnu.org>
6478         * textmodes/rst.el: Use faces for font-lock customization, and make the
6479         old -face variables obsolete.
6480         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6481         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6482         (rst-block-face, rst-external-face, rst-definition-face)
6483         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6484         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6485         Make obsolete.
6486         (rst-font-lock-keywords-function): Update for above changes.
6488 2010-03-20  Juri Linkov  <juri@jurta.org>
6490         * s-region.el:
6491         * obsolete/s-region.el: Move to obsolete.
6493 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
6495         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6497 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6499         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6501 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6503         Add special markup processing for commit logs.
6504         * log-edit.el (log-edit-extra-flags): New variable.
6505         (log-edit): Add new argument MODE.  Use that mode when non-nil
6506         instead of the log-view-mode.
6507         (log-view-process-buffer): New function.
6509         * vc.el: Document that the checkin method takes optional
6510         arguments.  Document new backend specific method: log-view-mode.
6511         (vc-default-log-edit-mode): New function.
6512         (vc-checkin): Use a backend specific log-view-mode.
6513         Pass extra arguments to the checkin method.
6514         (vc-modify-change-comment): Pass a dummy extra argument.
6516         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6517         log-edit.
6518         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6519         (vc-finish-logentry): Process the log buffer before passing it
6520         down.  Pass log-edit-extra-flags.
6522         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6523         command.
6524         (log-edit-extra-flags, log-edit-before-checkin-process):
6525         New declarations.
6527         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6528         command.
6529         (log-edit-extra-flags, log-edit-before-checkin-process):
6530         New declarations.
6531         (vc-hg-log-edit-mode): New derived mode.
6533         * vc-arch.el (vc-arch-checkin):
6534         * vc-cvs.el (vc-cvs-checkin):
6535         * vc-git.el (vc-git-checkin):
6536         * vc-mtn.el (vc-mtn-checkin):
6537         * vc-rcs.el (vc-rcs-checkin):
6538         * vc-sccs.el (vc-sccs-checkin):
6539         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6541 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6543         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6544         parent typo).
6546 2010-03-19  Glenn Morris  <rgm@gnu.org>
6548         * password-cache.el (password-cache, password-cache-expiry): Autoload.
6550 2010-03-18  Glenn Morris  <rgm@gnu.org>
6552         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6554         * replace.el (query-replace-history): Give it a doc string.
6555         (map-query-replace-regexp): Use query-replace-from-history-variable
6556         and query-replace-to-history-variable.
6558         * mail/hashcash.el (declare-function): Remove duplicate definition.
6560         * mail/emacsbug.el (report-emacs-bug-pretest-address):
6561         Make it an obsolete alias for report-emacs-bug-address.
6562         (message-strip-special-text-properties): Declare.
6563         (report-emacs-bug): Remove test for a pretest bug address.
6564         Combine message-mode-specific code.
6566         * mail/supercite.el: Don't require sendmail.
6567         (mh-in-header-p): Declare rather than using with-no-warnings.
6568         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6569         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
6571         * calendar/cal-french.el: Convert to utf-8.
6573         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6574         Emacs scripts.
6576 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
6578         * net/secrets.el (secrets-enabled): New variable.  Use it instead
6579         of a subfeature.
6581 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
6583         * net/secrets.el (top): Register the D-Bus signals only when the
6584         service "org.freedesktop.secrets" can be pinged.
6585         Provide subfeature `enabled'.
6587 2010-03-14  Juri Linkov  <juri@jurta.org>
6589         Add finder unknown keywords.
6591         * finder.el (finder-unknown-keywords): New function.
6593         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6594         to create a Finder node with unknown keywords.
6596 2010-03-14  Juri Linkov  <juri@jurta.org>
6598         * finder.el (finder-compile-keywords): Replace `princ' with
6599         `prin1' on a list of symbols interned from keyword strings.
6601         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6602         a comma, then split keywords using a comma and optional whitespace.
6603         Otherwise, split by whitespace.
6605         * complete.el:
6606         * face-remap.el:
6607         * log-view.el:
6608         * net/hmac-def.el:
6609         * net/hmac-md5.el:
6610         * net/netrc.el:
6611         * progmodes/mixal-mode.el: Fix keywords.
6613 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
6615         * Makefile.in (ELCFILES): Add net/secrets.elc.
6617         * net/secrets.el: New file.
6619 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6621         * facemenu.el (list-colors-display, list-colors-print): New arg
6622         callback.  Use it to allow selecting colors.
6624         * wid-edit.el (widget-image-insert): Insert image prop even if the
6625         current display is non-graphic.
6626         (widget-field-value-set): New fun.
6627         (editable-field): Use it.
6628         (widget-field-value-get): Clean up unused var.
6629         (widget-color-value-create, widget-color--choose-action):
6630         New funs.  Allow using list-colors-display to choose color.
6632 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6634         * cus-edit.el: Resort topmost custom groups.
6635         (custom-buffer-sort-alphabetically): Default to t.
6636         (customize-apropos): Use apropos-parse-pattern.
6637         (custom-search-field): New var.
6638         (custom-buffer-create-internal): Add custom-apropos search field.
6639         (custom-add-parent-links): Don't display parent doc.
6640         (custom-group-value-create): Don't sort top-level custom group.
6641         (custom-magic-value-create): Show visibility button before option name.
6643         (custom-variable-state): New fun, from custom-variable-state-set.
6644         (custom-variable-state-set): Use it.
6645         (custom-group-value-create): Hide options with standard values
6646         using the :hidden-states property.  Use progress reporter.
6648         (custom-show): Simplify.
6649         (custom-visibility): Disable images by default.
6650         (custom-variable): New property :hidden-states.
6651         (custom-variable-value-create): Enable images for
6652         custom-visibility widgets.  Use :hidden-states property to
6653         determine initial visibility.
6655         * wid-edit.el (widget-image-find): Give images center ascent.
6656         (visibility): Add :on-image and :off-image properties.
6657         (widget-visibility-value-create): Use them.
6659 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6661         * cus-edit.el (processes): Remove from development group.
6662         (oop, hypermedia): Delete group.
6663         (comm): Promote to top-level group.
6665         * net/browse-url.el (browse-url):
6666         * net/xesam.el (xesam):
6667         * net/tramp.el (tramp):
6668         * net/goto-addr.el (goto-address):
6669         * net/ange-ftp.el (ange-ftp): Put in comm group.
6671         * view.el (view): Remove from editing group.
6673         * uniquify.el (uniquify): Put in files group.
6675         * net/browse-url.el (browse-url):
6676         * ps-print.el (postscript): Put in external group.
6678         * cus-edit.el (outlines):
6679         * textmodes/text-mode.el (text-mode-hook):
6680         * textmodes/table.el (table):
6681         * textmodes/picture.el (picture):
6682         * outline.el (outlines): Put in wp group.
6684         * nxml/nxml-mode.el (nxml): Remove from wp group.
6686         * net/tramp-imap.el (tramp-imap): Put in tramp group.
6688         * mail/metamail.el (metamail): Remove from hypermedia group.
6690         * cus-edit.el (abbrev):
6691         * whitespace.el (whitespace):
6692         * vcursor.el (vcursor):
6693         * reveal.el (reveal):
6694         * hl-line.el (hl-line): Put in convenience group.
6696         * epg-config.el (epg): Put in data group.
6698         * emulation/pc-select.el (pc-select): Put in emulations group.
6700         * calculator.el (calculator): Put in applications group.
6702 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6704         Add .dir-locals.el support for file-less buffers.
6705         * files.el (hack-local-variables): Split out code to apply local
6706         variable settings ...
6707         (hack-local-variables-apply): ... here.  New function.
6708         (hack-dir-local-variables): Use the default directory for when the
6709         buffer does not have an associated file.
6710         (hack-dir-local-variables-non-file-buffer): New function.
6711         * diff-mode.el (diff-mode):
6712         * vc-annotate.el (vc-annotate-mode):
6713         * vc-dir.el (vc-dir-mode):
6714         * log-edit.el (log-edit-mode):
6715         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6717 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6719         Add support for shelving snapshots and for showing shelves.
6720         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6721         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6722         New functions.
6723         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6724         (vc-bzr-extra-menu-map): Map them.
6726 2010-03-11  Glenn Morris  <rgm@gnu.org>
6728         * cus-edit.el (customize-changed-options-previous-release):
6729         Bump to 23.1.
6731         * image.el (image-animate-max-time): Fix :version tag.
6733 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
6735         * Branch for 23.2.
6737 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6739         * vc-git.el (vc-git-revision-table): Include remote branches.
6741 2010-03-10  Kim F. Storm  <storm@cua.dk>
6743         Animated image API.
6744         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6746         * image.el (image-animate-max-time): New defcustom.
6747         (image-animated-types): New defconst.
6748         (create-animated-image, image-animate-timer)
6749         (image-animate-start, image-animate-stop, image-animate-timeout)
6750         (image-animated-p): New functions.
6752         * image-mode.el (image-toggle-display-image):
6753         Replace `create-image' with `create-animated-image'.
6755 2010-03-09  Miles Bader  <miles@gnu.org>
6757         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6758         instead of "format:"; this ensures that the output is
6759         newline-terminated.
6761 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
6763         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6764         that all errors are caught, and that the return value is always a
6765         list (Bug#5692).
6767 2010-03-08  Kenichi Handa  <handa@m17n.org>
6769         * language/misc-lang.el (windows-1256): New coding system.
6770         (cp1256): New alias of windows-1256 (bug#5690).
6772 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
6774         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6775         call to rfc822-bad-address.  (Bug#5692)
6777 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6779         * vc-git.el (vc-git-annotate-extract-revision-at-line):
6780         Use vc-git-root as default directory for revision path (Bug#5657).
6782 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
6784         * calculator.el (calculator): Don't bind split-window-keep-point
6785         (Bug#5674).
6787 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6789         * vc-git.el: Re-flow to fit into 80 columns.
6790         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6791         Remove spurious `quote' element in each case alternative.
6792         (vc-git-show-log-entry): Use prog1.
6793         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6795 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6797         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6799 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
6801         * macros.el (insert-kbd-macro): Look up keyboard macro using the
6802         definition, not the name (Bug#5481).
6804 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6806         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6807         argument with a local variable.  (Bug#5670)
6809 2010-03-02  Juri Linkov  <juri@jurta.org>
6811         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
6813 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
6815         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6816         error when FILENAME and NEWNAME are existing remote directories.
6818         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6819         parameter DIR-FLAG.
6821 2010-03-02  Glenn Morris  <rgm@gnu.org>
6823         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6824         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6826 2010-03-01  Kenichi Handa  <handa@m17n.org>
6828         * language/burmese.el (burmese-composable-pattern): Rename from
6829         myanmar-composable-pattern.
6831         * international/characters.el (script-list):
6832         * international/fontset.el (script-representative-chars):
6833         Change myanmar to burmese.
6834         (otf-script-alist): Likewise.
6835         (setup-default-fontset): Likewise.  Re-fix :otf spec.
6837 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6839         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6841 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
6843         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6845 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6847         * net/tramp.el (tramp-handle-write-region): START can be a string.
6848         Take care in the checks.  Reported by Dan Davison
6849         <davison@stats.ox.ac.uk>.
6851 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6853         * net/dbus.el (dbus-introspect, dbus-get-property)
6854         (dbus-set-property, dbus-get-all-properties):
6855         Use `dbus-call-method' when noninteractive.  (Bug#5645)
6857 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
6859         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6860         * emacs-lisp/elint.el (elint-add-required-env):
6861         * calendar/icalendar.el (icalendar--add-diary-entry):
6862         * calc/calcalg2.el (math-tracing-integral):
6863         * files.el (recover-session-finish): Use with-current-buffer
6864         instead of save-excursion.
6866 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6868         Fix in-buffer completion when after-change-functions modify the buffer.
6869         * minibuffer.el (completion--replace): New function.
6870         (completion--do-completion): Use it and use relative movement.
6872 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
6874         * international/fontset.el (setup-default-fontset): Fix :otf spec.
6876 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
6878         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6879         Allow the characters _<> in the stack entry (Bug#5653).
6881 2010-02-26  Kenichi Handa  <handa@m17n.org>
6883         * language/burmese.el: Fix entries in composition-function-table.
6884         (myanmar-composable-pattern): New variable.
6886         * international/fontset.el (setup-default-fontset): Add an entry
6887         for myanmar.
6889         * international/characters.el (script-list): Add Myanmar
6890         Extended-A.
6892 2010-02-26  Glenn Morris  <rgm@gnu.org>
6894         * custom.el (custom-initialize-delay): Doc fix.
6896         * mail/sendmail.el (send-mail-function): Autoload the call
6897         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
6899 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
6901         * files.el (hack-local-variables-filter): For eval forms, also
6902         check safe-local-variable-p (Bug#5636).
6904 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
6906         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6907         setting the modes by `ignore-errors'.  It might fail, for example
6908         if the file is not owned by the user but the group.
6909         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6911 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
6913         * files.el (directory-listing-before-filename-regexp): Use
6914         stricter matching for iso-style dates, to avoid false matches with
6915         date-like filenames (Bug#5597).
6917         * htmlfontify.el (htmlfontify): Doc fix.
6919         * eshell/eshell.el (eshell): Doc fix.
6921         * startup.el (fancy-about-screen): In mode-line, apply
6922         mode-line-buffer-id face only to the buffer name (Bug#5613).
6924 2010-02-20  Kevin Ryde  <user42@zip.com.au>
6926         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6927         In `watcom' anchor regexp to start of line, to avoid slowness
6928         (Bug#5599).
6930 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
6932         * subr.el (remove-yank-excluded-properties): Explain in a comment
6933         why `category' property is removed.
6935 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
6937         * isearch.el (isearch-update-post-hook, isearch-update): Revert
6938         2010-02-17 change.
6940 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
6942         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6943         (icalendar--convert-weekly-to-ical)
6944         (icalendar--convert-yearly-to-ical)
6945         (icalendar--convert-block-to-ical)
6946         (icalendar--convert-cyclic-to-ical)
6947         (icalendar--convert-anniversary-to-ical): Take care of time
6948         specifications where hour has 1-digit only (Bug#5549).
6950 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
6952         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6953         of disassemble output in GDB 7.1.
6955 2010-02-19  Glenn Morris  <rgm@gnu.org>
6957         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6958         property.  (Bug#5593)
6960 2010-02-18  Sam Steingold  <sds@gnu.org>
6962         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6964 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6966         Use abbreviated file names in bookmarks (bug#5591).
6967         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6968         calls to expand-file-name.
6969         (bookmark-relocate): Use abbreviated file names in bookmarks.
6970         (bookmark-load): Use abbreviated file names in messages.
6972 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
6974         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6975         expand "." and "..".  Reported by Thierry Volpiatto
6976         <thierry.volpiatto@gmail.com>.
6978 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
6980         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6981         permissions of the temporary file to "0600".  In case the remote
6982         file has no read permissions for the owner, there might be
6983         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
6985 22010-02-18  Glenn Morris  <rgm@gnu.org>
6987         * emacs-lisp/authors.el (authors-renamed-files-alist):
6988         Add entries for INSTALL.CVS.
6990 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
6992         * vc-bzr.el: Fix typo in Known Bugs section.
6994         * isearch.el (isearch-update-post-hook): New hook.
6995         (isearch-update): Use the new hook.
6997 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
6999         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7000         Fix errors in copying directories.
7001         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7002         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7003         (tramp-handle-delete-file)
7004         (tramp-handle-dired-recursive-delete-directory)
7005         (tramp-handle-write-region): Flush also the cache for the upper
7006         directory.
7008 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
7010         * simple.el (save-interprogram-paste-before-kill): Doc fix.
7012         * cus-edit.el (hardware): Doc fix.
7014         * man.el (man): Add to external custom group.
7016         * delim-col.el (columns): Move to wp custom group.
7018         * doc-view.el (doc-view): Add to data custom group.
7020         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7022         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7023         by ispell-parse-output (Bug#5575).
7025 2010-02-16  Kenichi Handa  <handa@m17n.org>
7027         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7028         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7029         (skkdic-convert): Use `euc-japan' coding system for writing.
7031 2010-02-16  Glenn Morris  <rgm@gnu.org>
7033         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7034         tex-main-file before using it.  (Bug#5562)
7036 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7038         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7039         warnings, since it is annoying for the user to see them each time he
7040         runs the code.
7042 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
7044         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7045         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7046         instead of PROC for caching "first-password-request".  Otherwise,
7047         new processes would not profit from passwords already entered.
7049         * net/tramp-cache.el (tramp-dump-connection-properties):
7050         Don't save "first-password-request" property.
7052 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
7054         * outline.el (outline-head-from-level):
7055         * simple.el (with-wrapper-hook):
7056         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7057         (elint-defun, elint-buffer-env, elint-top-form-logged)
7058         (elint-unbound-variable):
7059         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7060         Fix typos in docstrings.
7062 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
7064         * files.el (insert-directory): When WILDCARD-REGEXP and
7065         FULL-DIRECTORY-P are nil, insert the file entry instead of the
7066         whole directory.  (Bug#5551)
7068         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
7069         dired's alignment sanity.  (Bug#5516)
7071 2010-02-14  Juri Linkov  <juri@jurta.org>
7073         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7074         Remove remaining ^H with their preceding chars.  (Bug#5566)
7076 2010-02-13  Glenn Morris  <rgm@gnu.org>
7078         * simple.el (transpose-subr): Give it a doc-string.
7080         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7081         Doc fixes.
7083 2010-02-12  Juri Linkov  <juri@jurta.org>
7085         * arc-mode.el (archive-unique-fname): Make directories for nested
7086         archives.  (Bug#5540)
7088 2010-02-12  Juri Linkov  <juri@jurta.org>
7090         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
7092 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7094         * subr.el (copy-overlay): Handle deleted overlays.
7096         * man.el (Man-completion-table): Don't signal an error if we can't run
7097         manual-program (bug#4056).
7099 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
7101         * textmodes/artist.el (artist-mt): Fix typos in docstring.
7103 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7105         * info.el (Info-bookmark-jump): Simplify.
7107         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7108         (bookmark-default-handler): Accept new bookmark field `buffer'.
7110 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
7112         * iswitchb.el (iswitchb-completions): Revert last change.
7114 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
7116         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7117         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7118         This prevents file names like "~/" being listed literally.
7120 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
7122         * term/xterm.el (xterm-maybe-set-dark-background-mode):
7123         Remove dead code.  (Bug#5546)
7125 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
7127         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7128         correctly (Bug#5548).
7130 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
7132         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7133         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7135 2010-02-08  Kenichi Handa  <handa@m17n.org>
7137         * international/mule-util.el (with-coding-priority): Add autoload
7138         cookie for putting `lisp-indent-function'.
7140 2010-02-07  Glenn Morris  <rgm@gnu.org>
7142         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7143         Move F2003 named interfaces from keywords-2 to keywords-1, and
7144         use function-name-face rather than constant-face.
7145         Simplify "abstract interface" regexp.
7147 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
7149         * eshell/esh-util.el (eshell-file-attributes): New optional arg
7150         ID-FORMAT.  Pass it to `file-attributes'.
7152         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7154 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
7156         * faces.el (set-face-attribute): Allow calling
7157         internal-set-lisp-face-attribute with 'unspecified family and
7158         foundry argument (Bug#5536).
7160 2010-02-07  Glenn Morris  <rgm@gnu.org>
7162         * progmodes/f90.el (f90-font-lock-keywords-2)
7163         (f90-looking-at-type-like, f90-looking-at-program-block-end):
7164         Handle F2003 named interfaces.
7166 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
7168         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7169         beg and end before calling c-get-state-before-change-functions.
7171 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
7173         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7175 2010-02-05  Juri Linkov  <juri@jurta.org>
7177         * doc-view.el (doc-view-mode):
7178         * image-mode.el (image-mode): Put property mode-class=special.
7179         (Bug#4896)
7181 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
7183         * vc-svn.el (vc-svn-revision-table): New function.
7185 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
7187         * net/ange-ftp.el (ange-ftp-insert-directory):
7188         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7189         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7190         Handle also directories.  (Bug#5478)
7192 2010-02-05  Glenn Morris  <rgm@gnu.org>
7194         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7196 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
7198         * startup.el (command-line-1): Convert options beginning with a
7199         single dash as well (Bug#5519).
7201 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7203         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7204         * minibuffer.el (completion-initials-expand): Only check the presence
7205         of delims *within* the boundaries, since otherwise the / delim is
7206         always found for files.
7208         Fix up various corner case problems.
7209         * doc-view.el (doc-view-last-page-number): New function.
7210         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7211         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7212         (doc-view-kill-proc): Avoid inf-loop in freak cases.
7213         (doc-view-reconvert-doc): Use the new recursive delete-directory.
7214         (doc-view-convert-current-doc): Don't create the resolution.el file
7215         here any more.
7216         (doc-view-pdf/ps->png): Do it here instead.
7217         (doc-view-already-converted-p): Check that resolution.el is present.
7218         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7219         windows that are not yet showing images.
7221 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
7223         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7224         `dired-uncache' for every elemnt which is an absolute file name.
7226         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7227         directory, handle its directory component.
7228         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7229         function is called permanently and creates noise, otherwise.
7231         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7232         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7233         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
7235 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
7237         * macros.el (apply-macro-to-region-lines):
7238         Minor simplification.  (Bug#5485)
7240 2010-02-04  Glenn Morris  <rgm@gnu.org>
7242         * mail/rmail.el (rmail-show-message-1): Handle malformed
7243         quoted-printable text.  (Bug#5441)
7245         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7247         * simple.el (visual-line-mode): Capitalize lighter.
7249 2010-02-03  John Wiegley  <jwiegley@gmail.com>
7251         * iswitchb.el (iswitchb-completions): Add bookmark files to the
7252         list of files considered for "virtual buffer" completions.
7254 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
7256         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7257         also in case of (and (not full) (not wildcard)).  This is needed
7258         when dired is called with a list of files, which are not in
7259         `default-directory'.  (Bug#5478)
7261 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7263         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7265 2010-02-02  Juri Linkov  <juri@jurta.org>
7267         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7268         from unidiff to allow function-line after @@.
7270 2010-02-02  Juri Linkov  <juri@jurta.org>
7272         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7273         '(RCS SCCS) with inverted condition.
7275 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
7277         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7278         messages.
7280 2010-02-01  Juri Linkov  <juri@jurta.org>
7282         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7283         compare with "pkunzip" and "pkzip" instead of only "pkzip".
7284         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7285         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
7287 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7289         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7290         (doc-view-revert-buffer): New command.
7291         (doc-view-mode-map): Use it.
7293 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
7295         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7296         pending merge is detected.
7298 2010-01-31  Juri Linkov  <juri@jurta.org>
7300         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7301         beginning of interactive spec like all other grep commands do.
7302         Put "all" in front of "gz".  (Bug#5260)
7304 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
7306         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7308 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
7310         * dirtrack.el (dirtrack): Warn instead of signalling error if the
7311         regexp is incorrect (Bug#5476).
7313 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
7315         * net/tramp.el (tramp-handle-insert-directory): Handle also
7316         symlinks, when FILENAME is not in `default-directory'.
7318 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7320         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7321         FILE is not in `default-directory'.  (Bug#5478)
7323         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7324         of SWITCHES.  Handle the case, FILENAME is not in
7325         `default-directory'.  (Bug#5478)
7326         (tramp-register-file-name-handlers): Add safe-magic property.
7328 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
7330         * arc-mode.el (archive-zip-extract): Quote the argument passed to
7331         unzip (Bug#5475).
7333 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
7335         * progmodes/flymake.el (flymake-allowed-file-name-masks)
7336         (flymake-master-make-header-init): Add other C++ filename masks.
7337         (flymake-find-possible-master-files)
7338         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7340 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7342         Fix some busybox annoyances.
7344         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7345         not responding." string.
7346         (tramp-open-connection-setup-interactive-shell): Dump stty
7347         settings.  Enable "neveropen" arg for all `tramp-send-command'
7348         calls.  Handle "=" in variable values properly.
7349         (tramp-find-inline-encoding): Raise an error, when no encoding is
7350         found.
7351         (tramp-wait-for-output): Check, whether PROC buffer is available.
7352         Remove spurious " ^H" sequences, sent by busybox.
7353         (tramp-get-ls-command): Suppress coloring, if possible.
7355 2010-01-28  Glenn Morris  <rgm@gnu.org>
7357         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
7359         * log-edit.el (log-edit-strip-single-file-name): Add missing
7360         :safe, :group, and :version tags.
7362 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
7364         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7365         buffers.  (Bug#5477)
7367 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
7369         * files.el (delete-directory): Handle moving to trash without
7370         first doing recursion (Bug#5436).
7372 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
7374         * vc-hooks.el (vc-path): Mark as obsolete.
7376 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
7378         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7379         names too.
7381         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7382         for the short log.
7383         (vc-bzr-log-view-mode): Adjust regexp for the above change.
7385 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
7387         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7389         * vc-bzr.el (vc-bzr-revision-table): New function.
7391 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
7393         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7394         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
7396 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
7398         Remove support for adding --signoff on commit.
7399         Future support will use an incompatible generic mechanism.
7400         * vc-git.el (vc-git-add-signoff): Remove variable.
7401         (vc-git-toggle-signoff): Remove function.
7402         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7404         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7405         from xterm-set-background-mode.  Return t if the background mode
7406         was set.
7407         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7408         earlier, call it again in case the background mode has changed.
7410 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
7412         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7413         (Bug#3541).
7415 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
7417         * emacs-lisp/assoc.el (aelement): Doc fix.
7418         (aput, adelete, amake): Use lexical-let (Bug#5450).
7420 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
7422         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7423         is the same as subprogram call, not declaration.  (Bug#5435).
7425 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
7427         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7428         (tramp-smb-maybe-open-connection): Use it.
7430 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
7432         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
7434 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7436         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7437         just because we see "encoding: 8bit".
7438         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7440 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
7442         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7444 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
7446         * jka-compr.el (jka-compr-load): If load-file is not in
7447         load-history, try its file-truename version.  (bug#5447)
7449 2010-01-21  Alan Mackenzie  <acm@muc.de>
7451         Fix a situation where deletion of a cpp construct throws an error.
7452         * progmodes/cc-engine.el (c-invalidate-state-cache):
7453         Before invoking c-with-all-but-one-cpps-commented-out, check that the
7454         special cpp construct is still in the buffer.
7455         (c-parse-state): Record the special cpp with markers, not numbers.
7457 2010-01-21  Kenichi Handa  <handa@m17n.org>
7459         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7460         process last-command-event, as it is now decoded first (Bug#5380).
7462 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
7464         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7466 2010-01-20  Glenn Morris  <rgm@gnu.org>
7468         * indent.el (tab-always-indent): Fix custom-type.
7470 2010-01-19  Alan Mackenzie  <acm@muc.de>
7472         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7473         buffer throws "args out of range".
7474         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7475         playing the role of delimiter.
7477 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
7479         * progmodes/ada-mode.el: Fix bug#5400.
7480         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7481         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7482         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
7483         Improve comments in "is" portion.  Handle null procedure declaration.
7484         (ada-move-to-end): Improve doc string.
7486 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
7488         * ido.el (ido-cur-list): Initialize to nil.
7489         Remove obsolete information from commentary.
7490         (ido-choice-list): Initialize to nil.
7491         (ido-get-bufname): Reject minibuffers.
7492         (ido-make-buffer-list): If "default" is a nonexistent
7493         buffer, ignore it, as per the function's comment.
7494         (ido-kill-buffer-internal): New function.
7495         (ido-kill-buffer-at-head): Use it.
7496         (ido-visit-buffer): Likewise.
7498 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
7500         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7502 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
7504         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7505         Fix typos in chart titles.
7507         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7508         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7509         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7510         (describe-class, eieio-describe-generic, describe-generic):
7511         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7512         (eieio-speedbar-expand):
7513         * emulation/viper-cmd.el (viper-exec-form-in-vi)
7514         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7515         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7516         (viper-del-backward-char-in-replace, viper-backward-indent)
7517         (viper-brac-function, viper-register-to-point, viper-submit-report):
7518         * net/tramp.el (tramp-remote-coding-commands):
7519         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7520         Fix typos in docstrings.
7522 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
7524         * mail/sendmail.el (mail-yank-original): Set the mark if the
7525         specified function for yanking does not do it.
7527 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
7529         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
7531         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7532         resyncing a directory.
7534 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
7536         * progmodes/ada-mode.el: Fix bug#1920.
7537         (ada-ident-re): Delete ., allow multibyte characters.
7538         (ada-goto-label-re): New; matches goto labels.
7539         (ada-block-label-re): New; matches block labels.
7540         (ada-label-re): New; matches both.
7541         (ada-named-block-re): Deleted; callers changed to use
7542         `ada-block-label-re' instead.
7543         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7544         Use `ada-block-label-re'.
7545         (ada-indent-on-previous-lines): Improve handling of goto labels.
7546         (ada-get-indent-block-start): Special-case block label.
7547         (ada-get-indent-label): Split into `ada-indent-block-label' and
7548         `ada-indent-goto-label'.
7549         (ada-goto-stmt-start, ada-goto-next-non-ws):
7550         Optionally ignore goto labels.
7551         (ada-goto-next-word): Simplify.
7552         (ada-indent-newline-indent-conditional): Insert newline before
7553         trying to fix indentation; doc fix.
7555 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
7557         * calc/calc.el (calc-command-flags): Give it an initial value.
7559 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
7561         * files.el (minibuffer-with-setup-hook):
7562         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7563         (artist-key-draw-continously, artist-key-do-continously-continously)
7564         (artist-key-set-point-continously, artist-mouse-draw-continously):
7565         Fix typos in docstrings.
7567 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
7569         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7570         return t (Bug#3898).
7572 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
7574         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7575         can parse the output of the external commands (Bug#5279).
7577 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
7579         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7581 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
7583         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7585         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7587         * startup.el (command-line): Remove unused --icon-type arg.
7588         Handle --display arg, passing it to command-line-1 (Bug#5392).
7590 2010-01-16  Mario Lang  <mlang@delysid.org>
7592         * emacs-lisp/chart.el (chart-translate-namezone):
7593         * textmodes/artist.el (artist-compute-popup-menu-table):
7594         Remove duplicated words in doc-strings.
7596 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
7598         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7599         to mairix-search to suppress threading (Bug#5342).
7601 2010-01-15  Kenichi Handa  <handa@m17n.org>
7603         * international/mule-cmds.el (canonicalize-coding-system-name):
7604         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7606 2010-01-15  Glenn Morris  <rgm@gnu.org>
7608         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
7610         * wid-edit.el (widget-keymap): Doc fix.
7612         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7613         former seems to be more widely accepted by various svn versions.
7615 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7617         * find-cmd.el (find-constituents):
7618         * vc-arch.el (vc-arch-root):
7619         * window.el (window-body-height, pop-up-frames):
7620         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7621         * progmodes/ada-stmt.el (ada-if):
7622         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7623         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7624         (ispell-encoding8-command, ispell-aspell-supports-utf8)
7625         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7627         * progmodes/flymake.el (flymake-post-syntax-check):
7628         Fix typo in error message.
7630 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7632         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7633         which is always a string.  (Bug#5313)
7635 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7637         * progmodes/ada-xref.el (ada-default-prj-properties):
7638         Simplify previous change.
7640 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7642         * progmodes/ada-xref.el (ada-default-prj-properties):
7643         Default ada_project_path to $ADA_PROJECT_PATH.
7645 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7647         * progmodes/ada-mode.el (ada-create-keymap):
7648         Override `narrow-to-defun' with `ada-narrow-to-defun'.
7650 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7652         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7653         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7654         (ada-get-current-indent, ada-imenu-generic-expression)
7655         (ada-which-function): Check for it.
7657 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7659         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7660         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7662 2010-01-14  Glenn Morris  <rgm@gnu.org>
7664         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
7666 2010-01-14  Kenichi Handa  <handa@m17n.org>
7668         * composite.el (auto-composition-mode): Make it a buffer local
7669         variable (permanent-local).
7670         (auto-composition-function): Set the default value to
7671         auto-compose-chars.
7672         (auto-composition-mode): Make it a simple function, not a minor mode.
7673         (global-auto-composition-mode): Likewise.
7674         (turn-on-auto-composition-if-enabled): Delete it.
7676 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
7678         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7680 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
7682         * files.el (copy-directory): Compute target for recursive
7683         directories with identical names.  (Bug#5343)
7685 2010-01-12  Glenn Morris  <rgm@gnu.org>
7687         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7688         it to bug-gnu-emacs rather than emacs-pretest-bug.
7690 2010-01-11  Sam Steingold  <sds@gnu.org>
7692         * imenu.el (imenu-default-create-index-function): Detect infinite
7693         loops caused by imenu-prev-index-position-function.
7695 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7697         * htmlfontify.el (htmlfontify-load-rgb-file)
7698         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7699         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7700         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7701         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7702         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7703         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7704         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7705         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7706         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7707         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7708         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7709         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7710         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7711         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7712         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7713         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7714         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7715         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7716         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7717         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7718         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7719         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7720         backslash-quoting from parentheses, etc.
7722 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
7724         * progmodes/js.el: Autoload javascript-mode alias.
7726 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7728         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7729         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7730         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7731         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7732         Fix typos in docstrings.
7733         (ffap-url-regexp): Doc fix.
7734         (ffap-at-mouse): Fix typo in message.
7736 2010-01-11  Glenn Morris  <rgm@gnu.org>
7738         * version.el (emacs-copyright): Set copyright year to 2010.
7740 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7742         * format.el (format-annotate-function): Only set
7743         write-region-post-annotation-function after running to-fn so as not to
7744         affect nested write-region calls (bug#5273).
7746 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
7748         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7749         wisent/python.el.
7751 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7753         * man.el (Man-goto-section): Signal error if the section is not
7754         found (Bug#5317).
7756 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
7758         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7759         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
7761 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7763         * progmodes/compile.el: Don't treat compile-command as safe if
7764         compilation-read-command might be nil (Bug#4218).
7766 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
7768         * startup.el (command-line-1): Use orig-argi to check for ignored X and
7769         NS options.
7771 2010-01-08  Kenichi Handa  <handa@m17n.org>
7773         * international/fontset.el (build-default-fontset-data):
7774         Exclude characters in scripts kana, hangul, han, or cjk-misc.
7776 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
7778         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7779         to `create-file-buffer' as it expects, not just a buffer name.
7780         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7781         to help uniquify.  (Bug#3224)
7783 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
7785         * font-setting.el (font-setting-change-default-font): Use user-spec
7786         instead of name.
7788 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
7790         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7792 2010-01-05  Tom Tromey  <tromey@redhat.com>
7794         * progmodes/python.el (python-font-lock-keywords):
7795         Handle qualified decorators (Bug#881).
7797 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7799         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7800         in a lightweight checkout.
7802 2010-01-05  Kenichi Handa  <handa@m17n.org>
7804         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7806 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7808         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7810 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
7812         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7813         checkouts.  (Bug#618)
7814         (vc-bzr-log-view-mode): Also highlight the author.
7815         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7816         (vc-bzr-shelve-menu-map):
7817         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7818         (vc-bzr-shelve-apply): Make prompt more explicit.
7820 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
7822         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7823         They are valid characters in URL paths (rfc3986), and at least
7824         Firefox does not understand the encoded version (Bug#3166).
7826 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
7828         * progmodes/octave-mod.el (octave-end-keywords)
7829         (octave-block-begin-or-end-regexp, octave-block-match-alist):
7830         Add "end" keyword (Bug#3061).
7831         (octave-end-as-array-index-p): New function.
7832         (calculate-octave-indent): Use it.
7834 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7836         * bookmark.el: Consistently put the text property on the bookmark name.
7837         (bookmark-bmenu-marks-width): Bump back to 2, to include
7838         annotation marks.
7839         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7840         property on the bookmark name, instead of not putting it at all.
7841         (bookmark-bmenu-list): Fix where we put the text property.
7843 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7845         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7846         for showing buffer modified state (as added in the previous change).
7848 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7850         * bookmark.el: Show modified state of bookmark buffer more accurately.
7851         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7852         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7853         (with-buffer-modified-unmodified): New macro.
7854         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7855         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7856         Use new macro to preserve the buffer modified state.
7858 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7860         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7861         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7862         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7863         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7864         (bookmark-bmenu-rename, bookmark-bmenu-locate)
7865         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7866         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7868 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
7870         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7871         Make the lines in the generated doc string shorter.  (Bug#4668)
7873 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
7875         * net/rcirc.el: Add follow-link binding (Bug#4738).
7877 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
7879         * Makefile.in (bzr-update): Rename from cvs-update.
7880         (cvs-update): New target for backward compatibility.
7882         * makefile.w32-in (bzr-update): Rename from cvs-update.
7883         (cvs-update): New target for backward compatibility.
7885 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7887         * bookmark.el: Remove gratuitous gratitude.
7889 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7891         * bookmark.el (bookmark-bmenu-any-marks): New function.
7892         (bookmark-bmenu-save): Clear buffer modification if no marks.
7894 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7896         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7897         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7898         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7899         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7901         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7902         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7903         To: emacs-devel {_AT_} gnu.org
7904         Subject: bookmark.el bug report
7905         Date: Mon, 28 Dec 2009 14:19:16 +0800
7906         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7908 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7910         * bookmark.el: Improvements suggested by Drew Adams:
7911         (bookmark-bmenu-ensure-position): New name for
7912         `bookmark-bmenu-check-position'.  Just ensure the position,
7913         don't return any meaningful value.
7914         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7915         New constants.
7917 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
7919         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7920         (bookmark-yank-point, bookmark-bmenu-check-position):
7921         Fix typos in docstrings.
7922         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7923         (bookmark-name-from-full-record, bookmark-get-position)
7924         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7925         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7926         Remove useless quoting of parenthesis, etc. in docstrings.
7928         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7929         (ediff-append-custom-diff): Fix typo in error message.
7930         (ediff-meta-mark-equal-files): Fix typos in messages.
7932         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7934         * net/imap-hash.el (imap-hash-make): Doc fix.
7935         (imap-hash-test): Fix typo in error message; reflow docstring.
7936         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7937         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7938         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7939         Fix typos in docstrings.
7940         (imap-hash-open-connection): Fix typo in error message.
7942         * play/gomoku.el (gomoku): Fix typos in docstring.
7944         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7945         (gdb-jsonify-buffer): Fix typos in docstring.
7946         (gdb-goto-breakpoint): Fix typo in error message.
7947         ("Display Other Windows"): Fix typo in help message.
7948         (gdb-speedbar-expand-node): Fix typo in question.
7950         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7951         (idlwave-html-system-help-location, idlwave-html-help-location)
7952         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7953         (idlwave-help-browser-generic-args, idlwave-help-directory)
7954         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7955         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7956         (idlwave-online-help, idlwave-help-html-link)
7957         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7958         Fix typos in docstrings.
7959         (idlwave-help-with-source, idlwave-help-find-routine-definition):
7960         Reflow docstrings.
7961         (idlwave-help-assistant-start): Fix typo in error message.
7963         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7964         (octave-electric-space): Fix typos in docstrings.
7966 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
7968         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7970 2010-01-01  Juri Linkov  <juri@jurta.org>
7972         * comint.el (comint-input-ring-size): Make it a defcustom and
7973         increase the default to 500 (Bug#5148).
7975 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
7977         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7978         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7979         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7981 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
7983         Show working revision correctly for mercurial.
7984         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
7985         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
7987 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
7989         Declare some functions for the byte-compiler.
7990         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
7991         (speedbar-timer-fn, speedbar-change-expand-button-char)
7992         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
7994 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
7996         This changeset reverts GDB Graphical Interface to use annotations.
7997         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
7999 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
8001         Make vc-dir work on subdirectories of the bzr root.
8002         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
8003         file names relative to it.
8004         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8005         relative directory to vc-bzr-after-dir-status.
8007 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
8009         * font-lock.el (font-lock-refresh-defaults): New function, which
8010         can be used to let font-lock react to external changes in
8011         variables like font-lock-defaults and keywords.
8012         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8014 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
8016         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8018         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8020 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
8022         Supersede color.diff settings in git log (bug#5211).
8024         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8025         escape chars in its output when the user has color.diff set to `always'.
8026         This fix works on git 1.4.2 and newer (released on 2006-08-13).
8028 2009-12-26  Kevin Ryde  <user42@zip.com.au>
8030         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8031         node.  Keep previous "Index" name to work with past coreutils too.
8033         * man.el (man): Revise docstring a bit to show -a and -l as
8034         examples.  Add -k description since support for it has otherwise
8035         been a secret.  (Further to bug#3717.)
8036         (Man-bgproc-sentinel): When "-k foo" produces no output show error
8037         "no matches" rather than "Can't find manpage", as the latter reads
8038         like -k was interpreted as a page name, which is not so.  (Bug#5431)
8040 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
8042         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8043         switches.  Check also for //SUBDIRED// line.
8045 2009-12-25  Kenichi Handa  <handa@m17n.org>
8047         * language/indian.el (devanagari-composable-pattern): Fixed to
8048         handle ZWNJ and ZWJ.  Use it in composition-function-table for
8049         Devanagari.
8050         (malayalam-composable-pattern): Fix previous change.
8052 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8054         * ps-print.el (ps-face-attributes): It was not returning the
8055         attribute face for faces specified as string.  Reported by harven
8056         <harven@free.fr>.  (Bug#5254)
8057         (ps-print-version): New version 7.3.5.
8059 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
8061         * calendar/icalendar.el (icalendar--convert-tz-offset):
8062         Fix timezone names.
8063         (icalendar--convert-tz-offset): Fix the "last-day-problem".
8064         (icalendar--add-diary-entry): Remove the trailing blank that
8065         diary-make-entry inserts.
8067 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
8069         Make `file-expand-wildcards' work for remote files.
8071         * files.el (file-expand-wildcards): In case of remote files, check
8072         only local file name part for wildcards.  Provide feature 'files
8073         and subfeature 'remote-wildcards.  (Bug#5198)
8075         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8076         if there is already an established connection.
8077         (tramp-advice-file-expand-wildcards): Remove it.
8079         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8080         (tramp-advice-file-expand-wildcards): Move from tramp.el.
8081         Activate advice for older GNU Emacs versions.  (Bug#5237)
8083 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
8085         Some doc fixes (more needed).
8087         * find-cmd.el (find-constituents): Reflow docstring.
8088         (find-cmd, find-prune, find-command): Fix typos in docstrings.
8089         (find-generic): Doc fix.
8091 2009-12-17  Juri Linkov  <juri@jurta.org>
8093         Fix regression from 23.1 to allow multiple modes in Local Variables.
8095         * files.el (hack-local-variables-filter): While ignoring duplicates,
8096         don't take `mode' into account.
8097         (hack-local-variables-filter, hack-dir-local-variables):
8098         Don't remove duplicate `mode' from local-variables-alist (like `eval').
8100 2009-12-17  Juri Linkov  <juri@jurta.org>
8102         Make `dired-diff' safer.  (Bug#5225)
8104         * dired-aux.el (dired-diff): Signal an error when `file' equals to
8105         `current' or when `file' is a directory of the `current' file.
8107 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
8109         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8110         unconditionally preloaded files.
8112 2009-12-16  Juri Linkov  <juri@jurta.org>
8114         Revert to old 23.1 logic of using the file at the mark as default.
8115         * dired-aux.el (dired-diff): Use the file at the mark as default
8116         if it's not the same as the current file, and the target dir is
8117         the current dir or the mark is active.  Add the current file
8118         as the arg of `dired-dwim-target-defaults'.  Use the default file
8119         in the prompt.  (Bug#5225)
8121 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
8123         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8124         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8125         (tramp-check-for-regexp): Check also, when an echoing shell stops
8126         to echo sent commands.
8128 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8130         * Makefile.in: Revert last change (Bug#5191).
8132 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
8134         * vc-hg.el (vc-hg-print-log): Fix argument order.
8135         (vc-hg-working-revision): Make sure the command is executed in a
8136         known environment so that we can parse the output.  (Bug#4417)
8138 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8140         * progmodes/python.el (python-symbol-completions): Remove text
8141         properties from symbol string before calling python-send-receive.
8143 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
8145         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8146         when there are values for both file and line.  (Bug#5060)
8148 2009-12-14  Juri Linkov  <juri@jurta.org>
8150         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8151         whitespace after the file name of the first line of unified format,
8152         because git-diff doesn't output whitespace and file modification time
8153         after the file name.
8155 2009-12-14  David Kastrup  <dak@gnu.org>
8157         * info.el (Info-hide-cookies-node): Before hiding a cookie,
8158         check if it already has the `display' property added by
8159         `Info-display-images-node', and not put the `invisible' property
8160         in this case.
8162 2009-12-13  Glenn Morris  <rgm@gnu.org>
8164         * mail/emacsbug.el (message-sort-headers): Define for compiler.
8165         (report-emacs-bug): In message-mode, sort manually before storing
8166         original report text.  (Bug#5178)
8167         Remove superfluous save-excursion.
8169 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
8171         * net/dbus.el (dbus-property-handler): Filter lambda forms out
8172         when responding to "GetAll" properties.
8174 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
8176         * simple.el (compose-mail): Remove mail-setup-with-from from
8177         customization checks.
8179 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
8181         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8182         RAR archives created on Unix systems.
8184 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8186         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8187         the varalias that was accidentally removed by the 2009-11-19 change
8188         (bug#5186).
8190 2009-12-12  Kenichi Handa  <handa@m17n.org>
8192         * language/indian.el (indian-compose-regexp): New function.
8193         (malayalam-composable-pattern): Fix the pattern.
8194         (composition-function-table): Set malayalam-composable-pattern for
8195         Malayalam characters.
8197 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
8199         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8200         rather than down-mouse-1, based on follow-link conventions.
8202         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8203         are compiled.
8205 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
8207         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8208         (verilog-vmm-statement-re, verilog-ovm-statement-re)
8209         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8210         (verilog-leap-to-head, verilog-backward-token):
8211         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
8213 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
8215         * progmodes/verilog-mode.el (verilog-auto-lineup)
8216         (verilog-nameable-item-re): Cleanup user-visible spelling and
8217         documentation errors.  One reported by Gary Delp.
8218         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8219         (verilog-read-decls): Fix AUTOWIRE with types declared in a
8220         package, bug195.  Reported by Pierre-David Pfister.
8222 2009-12-11  Glenn Morris  <rgm@gnu.org>
8224         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8226         * mail/emacsbug.el: No longer require sendmail.
8227         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
8228         (report-emacs-bug-orig-text): Doc fix.
8229         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8230         New local variables, to adapt to different mail-user-agents.
8231         (report-emacs-bug): Fix test for a gnu.org address.
8232         Use overlays for emphasis, since font-lock defeats 'face property.
8233         Pretest bugs also end up at the newsgroup these days.
8234         Stop message-mode stripping text properties.
8235         Set and use the new buffer-local variables.
8236         (report-emacs-bug-hook): Add doc-string.
8237         Remove some unnecessary save-excursions and simplify.
8238         Use the appropriate hook and send-command.
8240         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8241         capitalization of some menu entries.
8243 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8245         * whitespace.el (whitespace-display-char-on):
8246         Ensure `buffer-display-table' is unique when two or more windows are
8247         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8248         New version 12.1.
8250 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
8252         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8253         characters in the Attribute field.
8255 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
8257         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
8259 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8261         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8262         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8263         Disregard autoload-excludes.
8264         (update-directory-autoloads): Obey autoload-excludes here instead.
8265         But don't store its contents in no-autoloads and remove entries that
8266         refer to excludes files.
8268 2009-12-10  Glenn Morris  <rgm@gnu.org>
8270         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8271         (expand-mail-aliases): Define for compiler.
8273         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8274         Define for compiler.
8276         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8277         appropriate for the mail-user-agent in use.
8279 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
8281         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8283 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
8285         Fix short log parsing and fontification.
8286         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8287         Fix fontification for the [merge] label.
8289 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
8291         Drop some properties to avoid surprises (bug#5002).
8292         * htmlfontify.el (hfy-ignored-properties): New defcustom.
8293         (hfy-fontify-buffer): Use it.
8295 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8297         Minor cleanup.
8298         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8299         Adjust all callers.
8300         (ffap-locate-file): Remove unused arg `dir-ok' and make other
8301         args compulsory.  Adjust callers.
8302         (ffap-gopher-at-point): Remove unused var `name'.
8304         Get rid of the ELCFILES abomination.
8305         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8306         (compile-elcfiles): New phony target.
8307         (compile-main): Compute ELCFILES dynamically.
8308         (compile-clean): New target to remove left-over elc files.
8309         (compile, all): Use it.
8311 2009-12-09  Kenichi Handa  <handa@etlken>
8313         * international/mule-diag.el: Require help-mode instead of help-fns.
8315 2009-12-09  Kenichi Handa  <handa@m17n.org>
8317         * international/mule-cmds.el (ucs-names): Supply sufficiently
8318         fine ranges instead of pre-calculating accurate ranges.
8319         Iterate with bigger gc-cons-threshold.
8321 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
8323         Add support for stashing a snapshot of the current tree.
8324         * vc-git.el (vc-git-stash-snapshot): New function.
8325         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8327 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
8329         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8330         instead of `(beginning|end)-of-line'.
8332 2009-12-08  Glenn Morris  <rgm@gnu.org>
8334         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8336         * Makefile.in (ELCFILES): Regenerate.
8338 2009-12-07  Juri Linkov  <juri@jurta.org>
8340         Don't lazy-highlight the comint output in history Isearch mode.
8342         * comint.el (comint-history-isearch-search): Instead of
8343         `comint-line-beginning-position', use `comint-after-pmark-p'
8344         to check if point if before the process mark, and go to
8345         `process-mark' in this case.
8347 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8349         * textmodes/tex-mode.el (latex-complete)
8350         (latex-indent-or-complete): Remove.
8351         (latex-mode): Set completion-at-point-functions instead.
8353         Provide a standard completion command and hook it into TAB.
8354         * minibuffer.el (completion-at-point-functions): New var.
8355         (completion-at-point): New command.
8356         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8357         * progmodes/python.el (python-mode-map): Use completion-at-point.
8358         (python-completion-at-point): Rename from python-partial-symbol and
8359         adjust for use in completion-at-point-functions.
8360         (python-mode): Setup completion-at-point for Python completion.
8361         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8362         extracted from lisp-complete-symbol.
8363         (lisp-complete-symbol): Use it.
8364         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8365         setup completion-at-point for Elisp completion.
8366         (emacs-lisp-mode-map, lisp-interaction-mode-map):
8367         Use completion-at-point.
8368         * ielm.el (ielm-map): Use completion-at-point.
8369         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8370         * progmodes/sym-comp.el: Move to...
8371         * obsolete/sym-comp.el: Move from progmodes.
8373 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
8375         Prevent save-buffer in Rmail buffers from using the coding-system
8376         of the current message, and from clobbering the encoding mnemonics
8377         in the mode line (Bug#4623).
8379         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8380         flag, too.
8381         (rmail-message-encoding): New variable.
8382         (rmail-write-region-annotate): Record the encoding of the current
8383         message in rmail-message-encoding.
8384         (rmail-after-save-hook): New function, restores the encoding of
8385         the current message after the message collection is saved.
8387 2009-12-07  Juri Linkov  <juri@jurta.org>
8389         * progmodes/grep.el (grep-read-files): Use `completing-read'
8390         instead of `read-string'.  Set its `collection' arg to
8391         `read-file-name-internal'.  (Bug#4301)
8393 2009-12-07  Juri Linkov  <juri@jurta.org>
8395         Correctly restore original Isearch point.  (Bug#4994)
8397         * isearch.el (isearch-mode): Move `isearch-push-state' after
8398         `(run-hooks 'isearch-mode-hook)'.
8399         (isearch-cancel): When `isearch-push-state-function' is defined,
8400         let-bind `isearch-cmds' to the first state (the last element of
8401         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8402         function and restores the original point).  Otherwise, move point
8403         to `isearch-opoint'.
8405 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8407         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8408         chars that don't have names, so the table can be built much faster at
8409         run-time.
8411 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
8413         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8414         change.  Suggested by David Kastrup.
8416         * simple.el (compose-mail): Check for incompatibilities and warn.
8417         (compose-mail-user-agent-warnings): New option.
8419 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8421         Support showing a single log entry from vc-annotate.
8422         * vc.el (print-log): Add a new argument: START-REVISION.
8423         (vc-print-log-internal): Add a new optional argument and
8424         pass it to the backend.
8425         (vc-print-log, vc-print-root-log): Adjust callers.
8426         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8427         buffer already displays the requested log entry, use it.
8428         Otherwise display only the log entry in question.
8429         * vc-svn.el (vc-svn-print-log):
8430         * vc-mtn.el (vc-mtn-print-log):
8431         * vc-hg.el (vc-hg-state):
8432         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8433         (vc-git-show-log-entry): Return t on success.
8434         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8435         (vc-bzr-show-log-entry): Return t on success.
8436         * vc-rcs.el (vc-rcs-print-log):
8437         * vc-sccs.el (vc-sccs-print-log):
8438         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8440 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8442         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8443         Add menus to the meta mode.  (Bug#5043)
8445 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8447         * ediff-init.el (ediff-event-key): Use event-to-character instead of
8448         event-key.
8450         * ediff.el (ediff-buffers-internal): Add unwind-protect.
8452 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
8454         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
8455         Berbain <raphael.berbain@gmail.com>.
8457         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
8458         characters.
8459         (tramp-initial-end-of-output): New defconst.
8460         (tramp-methods, tramp-find-shell)
8461         (tramp-open-connection-setup-interactive-shell)
8462         (tramp-maybe-open-connection): Use it.
8463         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8464         existence of `#' and `$'.
8466         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8467         `tramp-initial-end-of-output'.
8469 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8471         Get the background mode from the terminal for xterm, and set
8472         faces accordingly.
8473         * term/xterm.el (xterm-set-background-mode): New function.
8474         (terminal-init-xterm): Use it in case xterm supports background
8475         color queries.  Recompute faces after getting the background
8476         color.
8478 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
8480         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8481         number comment back on its own line, for easier parsing.
8483 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8485         Make it work for non-file buffers (bug#5102).
8486         * doc-view.el (doc-view-current-cache-dir):
8487         Use doc-view-buffer-file-name rather than buffer-file-name.
8488         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8490 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
8492         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8493         author field is too short.
8495 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
8497         * vc-git.el (vc-git-print-log): Handle a limit argument.
8498         Display the short log in graph form and with labels.
8499         (vc-git-log-view-mode): Handle labels.
8501         Make vc-revert change VC state from 'added to 'unregistered.
8502         * vc-git.el (vc-git-revert): Call git reset first.
8504 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8506         * net/newst-backend.el, net/newst-plainview.el:
8507         * net/newst-reader.el, net/newst-ticker.el:
8508         * net/newst-treeview.el, net/newsticker.el:
8509         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
8511 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8513         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8515         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8516         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
8517         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8518         Update annotation regexp.
8520         * simple.el (beginning-of-visual-line): Constrain to field
8521         boundaries (Bug#5106).
8523 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8525         * xml.el (xml-substitute-numeric-entities): Move
8526         newsticker--decode-numeric-entities in newst-backend.el to
8527         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8528         * net/newst-backend.el (newsticker--parse-generic-feed)
8529         (newsticker--parse-generic-items)
8530         (newsticker--decode-numeric-entities): Move
8531         newsticker--decode-numeric-entities in newst-backend.el to
8532         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8534 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
8536         * progmodes/js.el (js--js-not): Add null to the list of values.
8538 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8540         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8542 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8544         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8545         delimiter if it is at the end of the current line.
8546         (bibtex-generate-url-list): Fix docstring.
8548 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8550         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8551         minibuffer's content with itself.
8552         Fold the confirm-after-completion case into the `confirm' case.
8553         (completion-pcm-word-delimiters): Add : and / to the delimiters.
8555 2009-12-06  Kevin Ryde  <user42@zip.com.au>
8557         * ffap.el (ffap-rfc-path): Make this a defcustom since
8558         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
8560         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8561         manuals, similar to existing setup for help-mode.  (Bug#3913.)
8563 2009-12-05  Juri Linkov  <juri@jurta.org>
8565         Save and restore dired buffer's point positions too.  (Bug#4880)
8567         * dired.el (dired-save-positions): Return in the first element
8568         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8569         Doc fix.
8570         (dired-restore-positions): First restore buffer's position.
8571         While restoring window's positions, check if window still displays
8572         the original buffer.
8574 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
8576         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8577         if possible.
8579         * shell.el (shell): Require ansi-color (Bug#5113).
8581         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8583         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8585 2009-12-05  Alan Mackenzie  <acm@muc.de>
8587         * progmodes/cc-mode.el (c-before-hack-hook)
8588         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8589         `c-file-style' to work again.  This reversion restores the current
8590         software to its state in Emacs 23.1.  (Bug#4146)
8592 2009-12-05  Kevin Ryde  <user42@zip.com.au>
8594         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8595         comment-start-skip to comment-end-skip as comment (Bug#4781).
8597 2009-12-05  Juri Linkov  <juri@jurta.org>
8599         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8600         for virtual nodes.  (Bug#4147)
8601         (Info-find-node-2): Set `Info-current-node-virtual' to nil
8602         when moving from a virtual node.
8603         (Info-mode-menu): Add `Info-virtual-index' to the menu.
8604         (Info-mode): Add `Info-virtual-index' to the docstring.
8606 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8608         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8609         track of the buffer position of the end of a BibTeX entry as this
8610         position may change during reformatting.
8611         (bibtex-format-entry): Remove whitespace before processing
8612         numerical fields so that we recognize the latter properly.
8613         (bibtex-reformat): Do not use push which changes the global value
8614         of bibtex-entry-format.
8615         (bibtex-field-braces-alist, bibtex-field-strings-alist)
8616         (bibtex-field-re-init): Replace only space characters by regexp
8617         for whitespace.
8618         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8619         (bibtex-initialize): Also update bibtex-strings.
8620         (bibtex-kill-field): Preserve white space at end of entry.
8621         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8622         Update bibtex-reference-keys.
8624 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8626         * minibuffer.el (completion-pcm--merge-try): Also consider placing
8627         point after a star, if that's the only place where modifications can
8628         make progress.
8630 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
8632         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8633         in docstrings.
8635 2009-12-04  Juri Linkov  <juri@jurta.org>
8637         * proced.el (proced): Call `(proced-update t)' to update process
8638         information instead of only running proced-post-display-hook.
8639         (proced-send-signal): Add a leading space to the buffer name
8640         " *Marked Processes*" to make this buffer ephemeral.
8642 2009-12-04  Juri Linkov  <juri@jurta.org>
8644         * dired.el (dired-auto-revert-buffer): New defcustom.
8645         (dired-internal-noselect): Use it.
8647 2009-12-04  Juri Linkov  <juri@jurta.org>
8649         Change roles of modes and functions in image-mode.el (Bug#5062).
8651         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8652         in `auto-mode-alist'.
8653         (image-mode-previous-major-mode): New variable.
8654         (image-minor-mode-map): Rename from `image-mode-text-map'.
8655         (image-mode): Move graceful error-handling code from
8656         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
8657         (image-minor-mode): Remove all image-handling code.
8658         Replace `image-mode-text-map' with `image-minor-mode-map'.
8659         Check for `image-type' in mode-line format string.
8660         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8661         (image-mode-as-text): New function with most code from
8662         `image-mode-maybe'.
8663         (image-toggle-display-text): Move code that removes image
8664         properties from `image-toggle-display' to here.
8665         (image-toggle-display-image): New function with code that adds
8666         image properties copied from `image-toggle-display'.
8667         (image-toggle-display): Remove most code with leaving only code
8668         that toggles between `image-mode-as-text' and `image-mode'.
8670 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
8672         * net/newst-treeview.el
8673         (newsticker--treeview-list-highlight-start): Restored call to
8674         save-excursion: Selected item was stuck.
8675         (newsticker--treeview-list-select): New.
8676         (newsticker--treeview-item-show-text)
8677         (newsticker--treeview-item-show)
8678         (newsticker--treeview-item-update): Use new
8679         newsticker-treeview-item-mode.
8680         (newsticker-treeview-update): Keep current item.
8681         (newsticker-treeview-next-new-or-immortal-item): Doc change.
8682         (newsticker--treeview-first-feed): Doc change.
8683         (newsticker-treeview-list-menu)
8684         (newsticker-treeview-item-menu): Added menu entries.
8685         (newsticker-treeview-item-mode): New.
8687         * net/newst-backend.el (newsticker-customize): Delete other
8688         windows.
8690 2009-12-04  Sam Steingold  <sds@gnu.org>
8692         * log-view.el (log-view-mode-map): "q" calls quit-window,
8693         like in all the other non-self-insert buffers.
8695 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8697         Minor cleanup.
8698         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8699         key decoding rather than do it manually via last-input-event +
8700         ascii-character.
8701         (term-exec): Use delete-and-extract-region.
8702         (term-handle-ansi-terminal-messages): Remove unused var `end'.
8703         (term-process-pager): Remove unused var `i'.
8704         (term-dynamic-simple-complete): Make obsolete.
8705         (serial-update-config-menu): Remove unused vars `y' and `str'.
8706         (term-update-mode-line): Remove unused var `temp'.
8708 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8710         Limit the number of log entries displayed by default.
8711         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8712         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8713         using a prefix argument.
8715 2009-12-03  Glenn Morris  <rgm@gnu.org>
8717         * progmodes/idlwave.el (class): Restore still useful declaration.
8719 2009-12-03  Alan Mackenzie  <acm@muc.de>
8721         Enhance `c-parse-state' to run efficiently in "brace deserts".
8723         * progmodes/cc-mode.el (c-basic-common-init):
8724         Call c-state-cache-init.
8725         (c-neutralize-syntax-in-and-mark-CPP): Rename from
8726         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
8727         placing `category' properties value 'c-cpp-delimiter at its boundaries.
8729         * progmodes/cc-langs.el (c-before-font-lock-function):
8730         c-extend-and-neutralize-syntax-in-CPP has been renamed
8731         c-neutralize-syntax-in-and-mark-CPP.
8733         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8734         with `category' properties now, not `syntax-table' ones.
8736         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8737         enhanced (but slower) version of c-end-of-macro that won't land
8738         inside a literal or on another awkward character.
8739         (c-state-cache-too-far, c-state-cache-start)
8740         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8741         (c-state-nonlit-pos-cache-limit, c-state-point-min)
8742         (c-state-point-min-lit-type, c-state-point-min-lit-start)
8743         (c-state-min-scan-pos, c-state-brace-pair-desert)
8744         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8745         buffer local variables.
8746         (c-state-literal-at, c-state-lit-beg)
8747         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8748         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8749         (c-state-cache-top-paren, c-state-cache-after-top-paren)
8750         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8751         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8752         (c-renarrow-state-cache)
8753         (c-append-lower-brace-pair-to-state-cache)
8754         (c-state-push-any-brace-pair, c-append-to-state-cache)
8755         (c-remove-stale-state-cache)
8756         (c-remove-stale-state-cache-backwards, c-state-cache-init)
8757         (c-invalidate-state-cache-1, c-parse-state-1)
8758         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8759         (c-parse-state): Enhance and refactor.
8760         (c-debug-parse-state): Amend to deal with all the new variables.
8762         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8763         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8764         modify to use category text properties rather than syntax-table ones.
8765         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8766         to switch off/on the syntactic paren property of C++ template
8767         delimiters using the category property.
8768         (c-with-<->-as-parens-suppressed): Macro to invoke code with
8769         template delims suppressed.
8770         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8771         New constant/macros which apply category properties to the start
8772         and end of preprocessor constructs.
8773         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8774         "comment out" the syntactic value of characters in preprocessor
8775         constructs.
8776         (c-with-cpps-commented-out)
8777         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8778         with characters in all or all but one preprocessor constructs
8779         "commented out".
8781 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8783         * proced.el (proced-filter-alist): Use regexp-quote.
8785 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
8787         Cleanup.
8788         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8789         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
8790         arguments.  Expand `default-directory'.
8792         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8793         the benefit of returning an expanded localname.
8794         (tramp-tramp-file-p): Handle the case NAME is not a string.
8796 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8798         Add support for bzr shelve/unshelve.
8799         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8800         (vc-bzr-extra-menu-map): New variables.
8801         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8802         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8803         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8804         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8805         (vc-bzr-dir-extra-headers): Display shelves.
8807         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8809 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8811         * textmodes/bibtex.el (bibtex-complete-internal):
8812         Use completion-in-region.
8813         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8815 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8817         Support applying stashes.  Improve UI.
8818         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8819         (vc-git-stash-apply, vc-git-stash-pop)
8820         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8821         (vc-git-stash-menu): New functions.
8822         (vc-git-stash-menu-map): New variable.
8823         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8825 2009-12-03  Glenn Morris  <rgm@gnu.org>
8827         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8828         (vc-print-log-internal): Fix previous change.
8829         (vc-revert): Correct pluralization.
8831 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8833         * progmodes/make-mode.el (makefile-special-targets-list): No need for
8834         it to be an alist any more.
8835         (makefile-complete): Use completion-in-region.
8837         * progmodes/octave-mod.el (octave-complete-symbol):
8838         Use completion-in-region.
8840         Misc cleanup.
8841         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8842         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8843         (idlwave-complete-class): Don't quote lambda.
8844         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8845         (idlwave-mode-map): Move initialization into declaration.
8846         (idlwave-action-and-binding): Use backquotes.
8847         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8848         Simplify.
8849         (idlwave-is-pointer-dereference): Remove unused var `pos'.
8850         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8851         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8852         `parts', and `all-parts'.
8853         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8854         (idlwave-convert-xml-system-routine-info): Remove unused string
8855         `version-string'.
8856         (idlwave-display-user-catalog-widget): Use dolist.
8857         (idlwave-scanning-lib): Declare dynamically-scoped var.
8858         (idlwave-scan-library-catalogs): Remove unused var `flags'.
8859         (completion-highlight-first-word-only): Declare to silence bytecomp.
8860         (idlwave-popup-select): Tighten scope of `resp'.
8861         (idlwave-find-struct-tag): Remove unused var `beg'.
8862         (idlwave-after-load-rinfo-hook): Declare.
8863         (idlwave-sintern-class-info): Remove unused var `taglist'.
8864         (idlwave-find-class-definition): Remove unused var `list'.
8865         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8866         (idlwave-what-module-find-class): Remove unused var `classes'.
8868 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
8870         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8872 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8874         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8875         buffers visited.  Remove redundant current-buffer-saving.
8877 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8879         Use completion-in-buffer and remove uses of dynamic scoping.
8880         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8881         (pascal-buffer-to-use, pascal-flag): Don't declare.
8882         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8883         (pascal-get-completion-decl, pascal-keyword-completion):
8884         Add `pascal-str' argument, save-excursion,
8885         return the found completions, and don't filter with pascal-pred.
8886         (pascal-completion-cache): New var.
8887         (pascal-completion): Don't switch buffer any more (it was never
8888         necessary).  Don't save-excursion any more (it's done by the called
8889         subroutines).  Use a cache to avoid redundant computations.
8890         Use complete-with-action rather than pascal-completion-response and
8891         let it apply the predicate as well.
8892         (pascal-complete-word): Use completion-in-buffer when
8893         pascal-toggle-completions is nil.
8894         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8895         not used any more.
8896         (pascal-comp-defun): Don't change buffer any more.
8897         Use complete-with-action rather than pascal-completion-response and
8898         let it apply the predicate as well.
8899         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8900         when neded.
8902 2009-12-02  Kenichi Handa  <handa@m17n.org>
8904         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8905         shape for all Indic scripts.
8907 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8909         Use completion-in-buffer.
8910         * wid-edit.el (widget-field-text-end): New function.
8911         (widget-field-value-get): Use it.
8912         (widget-string-complete, widget-file-complete)
8913         (widget-color-complete): Use it and completion-in-region.
8914         (widget-complete): Don't narrow the buffer.
8916 2009-12-02  Glenn Morris  <rgm@gnu.org>
8918         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
8919         (rmail-select-summary): Use rmail-pop-to-buffer.
8920         * mail/rmailsum.el: Replace all pop-to-buffer calls with
8921         rmail-pop-to-buffer, to prevent horizontal splits.
8923         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8924         save-excursion with save-current-buffer.
8925         Widen before searching.  (Bug#5093)
8926         (diary-list-sexp-entries): Remove superfluous save-excursion.
8928 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
8930         * woman.el (woman-make-bufname): Handle man-pages with "." in the
8931         name.  (Bug#5038)
8933 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
8935         * ido.el (ido-file-internal): Handle filenames at point that do
8936         not have a directory part.  (Bug#5049)
8938 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
8940         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8941         (mpc-songs-jump-to, mpc-resume): Doc fixes.
8943 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
8945         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8946         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8947         any more.
8949 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8951         * comint.el (comint-insert-input): Ignore clicks to the right of
8952         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8954         * vc.el (vc-print-log-internal): Don't wait for the process to
8955         terminate before setting up the major mode.
8957         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8958         in case.
8960         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8961         the last element.
8963         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8965 2009-12-01  Glenn Morris  <rgm@gnu.org>
8967         * window.el (window--display-buffer-2): Fix previous changes.
8969 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
8971         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8973 2009-12-01  Glenn Morris  <rgm@gnu.org>
8975         * Makefile.in (ELCFILES): Add mpc.elc.
8977 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8979         * mpc.el: New file.
8981 2009-12-01  Glenn Morris  <rgm@gnu.org>
8983         * window.el (window-to-use): Define for compiler.
8985         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
8986         consistent with others (no final period).
8988         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
8989         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
8991 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
8993         Make vc-print-log buttons work.
8994         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
8996 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
8998         * savehist.el (savehist-autosave-interval): Allow setting to nil
8999         through customize.  (Bug#5056)
9001 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
9003         Fix references to jit-lock properties.
9004         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9005         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9006         (perl-font-lock-special-syntactic-constructs):
9007         Quote jit-lock-defer-multiline property.
9009 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
9011         * vc-git.el (vc-git-registered): Call vc-git-root only once.
9013 2009-11-30  Juri Linkov  <juri@jurta.org>
9015         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9016         value `buffer' of `multi-isearch-next-buffer-current-function'.
9017         Use `(current-buffer)' when `buffer' is nil.
9018         (multi-isearch-next-buffer-from-list): Don't fallback to
9019         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
9021 2009-11-30  Juri Linkov  <juri@jurta.org>
9023         * misearch.el (multi-isearch-read-buffers): Move canonicalization
9024         of buffers with `get-buffer' to `multi-isearch-buffers'.
9025         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9026         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
9027         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9028         FILES with `expand-file-name' converting relative file names
9029         to absolute.  Doc fix.  (Bug#4727)
9031 2009-11-30  Juri Linkov  <juri@jurta.org>
9033         * misearch.el (multi-isearch-read-buffers)
9034         (multi-isearch-read-matching-buffers): New functions.
9035         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9036         Use them in the `interactive' spec.  Doc fix.
9037         (multi-isearch-read-files, multi-isearch-read-matching-files):
9038         New functions.
9039         (multi-isearch-files, multi-isearch-files-regexp):
9040         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
9042 2009-11-30  Juri Linkov  <juri@jurta.org>
9044         * doc-view.el (doc-view-continuous):
9045         Rename from `doc-view-continuous-mode'.
9046         (doc-view-menu): Move "Toggle display" to the top.
9047         Add submenu "Continuous" with radio buttons "Off"/"On"
9048         and "Save as Default".
9049         (doc-view-scroll-up-or-next-page)
9050         (doc-view-scroll-down-or-previous-page)
9051         (doc-view-next-line-or-next-page)
9052         (doc-view-previous-line-or-previous-page): Rename
9053         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
9055 2009-11-30  Juri Linkov  <juri@jurta.org>
9057         * comint.el (comint-mode-map): Rebind `M-r' from
9058         `comint-previous-matching-input' to
9059         `comint-history-isearch-backward-regexp'.
9060         Unbind `M-s' to allow global key binding `M-s'.
9061         Add menu items for `comint-history-isearch-backward' and
9062         `comint-history-isearch-backward-regexp'.  (Bug#3746)
9064 2009-11-30  Juri Linkov  <juri@jurta.org>
9066         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9067         For def=recenter, replace `recenter' with `recenter-top-bottom'
9068         that is called with `this-command' and `last-command' let-bound
9069         to `recenter-top-bottom'.  When the last `def' was not `recenter',
9070         set `recenter-last-op' to nil.  (Bug#4981)
9072 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9074         Minor cleanup and simplification.
9075         * filecache.el (file-cache-add-directory)
9076         (file-cache-add-directory-recursively)
9077         (file-cache-add-from-file-cache-buffer)
9078         (file-cache-delete-file-regexp, file-cache-delete-directory)
9079         (file-cache-files-matching-internal, file-cache-display): Use dolist.
9080         (file-cache-temp-minibuffer-message): Delete function.
9081         (file-cache-minibuffer-complete): Use minibuffer-message instead.
9083         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9084         Don't signal an error when bumping into EOB in tr, s, or y.
9086 2009-11-29  Juri Linkov  <juri@jurta.org>
9088         * startup.el (fancy-about-text): Fix wording of Guided Tour.
9089         (Bug#4960)
9091         * descr-text.el (describe-char-unidata-list): Use lowercase name
9092         for "Unicode name" like in other tags.
9094 2009-11-29  Juri Linkov  <juri@jurta.org>
9096         * ediff-util.el (ediff-minibuffer-with-setup-hook):
9097         New compatibility macro.
9098         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9100 2009-11-29  Juri Linkov  <juri@jurta.org>
9102         Add defcustom to define the cycling order of `recenter-top-bottom'.
9103         (Bug#4981)
9105         * window.el (recenter-last-op): Doc fix.
9106         (recenter-positions): New defcustom.
9107         (recenter-top-bottom): Rewrite to use `recenter-positions'.
9108         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9110 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
9112         Improve integration of Tramp and ange-ftp in eshell.
9114         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9115         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
9116         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
9118         * eshell/esh-util.el (top): Require also Tramp when compiling.
9119         (eshell-directory-files-and-attributes): Check for FTP remote
9120         connection.
9121         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9122         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9123         (eshell-file-attributes): Handle ".".  Return `entry'.
9125         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9126         (ange-ftp-directory-files-and-attributes)
9127         (ange-ftp-real-directory-files-and-attributes): New defuns.
9129         * net/tramp.el (tramp-maybe-open-connection): Open the remote
9130         shell with "exec" when possible.  This prevents trailing prompts
9131         in `start-file-process'.
9133 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9135         Try and remove assumptions about point-min==1.
9136         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9137         (rng-compute-mode-line-string): Show the validation percentage in
9138         terms of the narrowed text, not the widened text.
9139         (rng-do-some-validation): Don't catch internal errors when debugging.
9140         (rng-first-error): Simplify.
9141         (rng-after-change-function): Remove work around.  AFAIK the bug has
9142         been fixed a while ago.
9144         * image-mode.el (image-minor-mode): Exit more gracefully when the image
9145         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9147         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9149         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9150         `cd' doesn't always do it for us (bug#5067).
9152         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9153         on 2009-10-25 as part of some other change (bug#5067).
9155 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9157         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9158         `suspicious'.
9159         (byte-compile-warnings): Use byte-compile-warning-types.
9160         (byte-compile-save-excursion): Warn about use of set-buffer right
9161         after save-excursion.
9163         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9164         the excursion as well.
9166 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
9168         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9169         providing a Tramp related implementation of "su" and "sudo".
9170         (eshell-unix-initialize): Add "su" and "sudo".
9172 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
9174         * net/socks.el (socks-send-command): Convert binary request to
9175         unibyte before sending.  This fixes mishandling of some port
9176         numbers such as 129.
9178 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9180         * help.el (describe-bindings-internal): Remove `interactive'.
9182         * man.el (Man-completion-table): Trim a terminating "(".
9183         Remove the space between name page a section.
9184         Add the command's description on the `help-echo' property.
9185         Remove `process-connection-type' binding since it's unused by
9186         call-process.
9187         Provide completion for the "<section> <name>" format as well.
9188         (Man-default-man-entry): Remove spurious var shadowing the argument.
9190 2009-11-26  Kevin Ryde  <user42@zip.com.au>
9192         * log-view.el: Add "Keywords: tools", since its other keywords
9193         aren't in finder-known-keywords, and following vc.el.
9195         * sha1.el (sha1-string-external): default-directory "/" in case
9196         otherwise non-existent.  process-connection-type pipe for touch of
9197         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
9199 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9201         Misc coding convention cleanups.
9202         * htmlfontify.el (hfy-init-kludge-hook): Rename from
9203         hfy-init-kludge-hooks.
9204         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9205         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9206         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9207         and push.
9208         (hfy-slant, hfy-weight): Use tables rather than code.
9209         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9210         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9211         (hfy-face-attr-for-class): Initialize `face-spec' directly.
9212         (hfy-face-to-css): Remove `nconc' with single arg.
9213         (hfy-p-to-face-lennart): Use `or'.
9214         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
9215         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9216         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9217         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9218         (hfy-force-fontification): Use run-hooks.
9220 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
9222         Various minor fixes.
9223         * htmlfontify.el (hfy-default-header): Add toggle_invis since
9224         Javascript belongs in the header, not the body.
9225         (hfy-javascript): Remove.
9226         (hfy-fontify-buffer): Don't insert it any more.
9227         (hfy-face-at): Handle (face0 face1 face2) style face properties.
9228         Fix bug in invis handling when there were no invis props in a chunk.
9230 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9232         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9234 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
9236         * finder.el (finder-mode-map): Add a menu.
9238 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
9240         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9241         "unsigned" structs.
9243         (verilog-leap-to-head, verilog-backward-token): Handle "disable
9244         fork" statement better.
9246 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
9248         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9249         (verilog-delete-auto, verilog-delete-empty-auto-pair)
9250         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9251         Reported by Clay Douglass.
9253         (verilog-auto-inst, verilog-auto-star-safe)
9254         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9255         Fix removing "// Interfaces" when saving .* expansions.  Reported by
9256         Pierre-David Pfister.
9258 2009-11-26  Glenn Morris  <rgm@gnu.org>
9260         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9261         the scope.
9263 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
9265         * vc-annotate.el (vc-annotate-revision-previous-to-line):
9266         Really use previous revision.
9268 2009-11-25  Kevin Ryde  <user42@zip.com.au>
9270         * man.el (Man-completion-table): default-directory "/" in case
9271         doesn't otherwise exist.  process-environment COLUMNS=999 so as
9272         not to truncate long names.  process-connection-type pipe to avoid
9273         any chance of hitting the pseudo-tty TIOCGWINSZ.
9274         (man): completion-ignore-case t for friendliness and since man
9275         itself is case-insensitive on the command line.
9276         Further to Bug#3717.
9278         * arc-mode.el: Add "Keywords: files", so the details in its
9279         commentary can be reached from finder-by-keyword.
9280         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
9281         editing mode, but it's comms related and sgml-mode.el has "comm"
9282         on that basis too.
9283         * textmodes/bibtex-style.el: Add "Keywords: tex".
9284         * international/isearch-x.el, international/ja-dic-cnv.el:
9285         * international/ja-dic-utl.el, international/kkc.el:
9286         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9288 2009-11-25  Juri Linkov  <juri@jurta.org>
9290         * man.el (Man-completion-table): Modify regexp to include
9291         section names to completion strings.  (Bug#3717)
9293 2009-11-25  Juri Linkov  <juri@jurta.org>
9295         Search recursively in gzipped files.  (Bug#4982)
9297         * progmodes/grep.el (grep-highlight-matches): Add new options
9298         `always' and `auto'.  Doc fix.
9299         (grep-process-setup): Check `grep-highlight-matches' for
9300         `auto-detect' to determine the need to compute grep defaults.
9301         Move Windows/DOS specific --colors settings handling
9302         to `grep-compute-defaults'.  Check `grep-highlight-matches'
9303         to get the value of "--color=".
9304         (grep-compute-defaults): Compute `grep-highlight-matches' when it
9305         has the value `auto-detect'.  Move Windows/DOS specific settings
9306         from `grep-process-setup'.
9307         (zrgrep): New command with alias `rzgrep'.
9309 2009-11-25  Juri Linkov  <juri@jurta.org>
9311         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9312         to nil instead of switching off view-mode.  (Bug#4896)
9314 2009-11-25  Juri Linkov  <juri@jurta.org>
9316         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
9318         * mwheel.el (mwheel-scroll-up-function)
9319         (mwheel-scroll-down-function): New defvars.
9320         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9321         `scroll-up', and `mwheel-scroll-down-function' instead of
9322         `scroll-down'.
9324         * doc-view.el (doc-view-scroll-up-or-next-page)
9325         (doc-view-scroll-down-or-previous-page): Add optional ARG.
9326         Use this ARG in the call to image-scroll-up/image-scroll-down.
9327         Change `interactive' spec to "P".  Goto next/previous page only
9328         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9329         SPC/DEL case).  Doc fix.
9330         (doc-view-next-line-or-next-page)
9331         (doc-view-previous-line-or-previous-page): Rename arg to ARG
9332         for consistency.
9333         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9334         `doc-view-scroll-up-or-next-page', and buffer-local
9335         `mwheel-scroll-down-function' to
9336         `doc-view-scroll-down-or-previous-page'.
9338 2009-11-25  Juri Linkov  <juri@jurta.org>
9340         Provide additional default values (directories at other Dired
9341         windows) via M-n in the minibuffer of some Dired commands.
9343         * dired-aux.el (dired-diff, dired-compare-directories)
9344         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9345         `minibuffer-default' in `minibuffer-with-setup-hook'.
9346         (dired-dwim-target-directory): Find a window that displays Dired
9347         buffer instead of failing when the next window is not Dired.
9348         Use `get-window-with-predicate' to find for the next Dired window.
9349         (dired-dwim-target-defaults): New function.
9351         * ediff-util.el (ediff-read-file-name):
9352         Use `dired-dwim-target-defaults' to set `minibuffer-default'
9353         in `minibuffer-with-setup-hook'.
9355 2009-11-25  Juri Linkov  <juri@jurta.org>
9357         Provide additional default values (file name at point or at the
9358         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
9360         * minibuffer.el (read-file-name-defaults): New function.
9361         (read-file-name): Reset `minibuffer-default' to nil when
9362         it duplicates initial input `insdef'.
9363         Bind `minibuffer-default-add-function' to lambda that
9364         calls `read-file-name-defaults' in `minibuffer-selected-window'.
9365         (minibuffer-insert-file-name-at-point): New command.
9367         * files.el (file-name-at-point-functions): New defcustom.
9368         (find-file-default): Remove defvar.
9369         (find-file-read-args): Don't use `find-file-default'.
9370         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9371         to `read-file-name'.
9372         (find-file-literally): Use `read-file-name' with
9373         `confirm-nonexistent-file-or-buffer'.
9375         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9377         * dired.el (dired-read-dir-and-switches):
9378         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9379         to `read-file-name'.
9380         (dired-file-name-at-point): New function.
9381         (dired-mode): Add hook `dired-file-name-at-point' to
9382         `file-name-at-point-functions'.
9384 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9386         Really make the *Completions* window soft-dedicated (bug#5030).
9387         * window.el (window--display-buffer-2): Add `dedicated' argument.
9388         (display-buffer): Pass it when needed so the dedicated flag is set
9389         after calling set-window-buffer, which would otherwise reset it.
9391 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9393         * progmodes/meta-mode.el (meta-complete-symbol):
9394         * progmodes/etags.el (complete-tag):
9395         * mail/mailabbrev.el (mail-abbrev-complete-alias):
9396         Use completion-in-region.
9398         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9399         (dabbrev-completion): Use completion-in-region.
9400         (dabbrev--abbrev-at-point): Simplify regexp.
9402         * abbrev.el (abbrev--before-point): Use word-motion functions
9403         if :regexp is not specified (bug#5031).
9405         * subr.el (string-prefix-p): New function.
9407         * man.el (Man-completion-cache): New var.
9408         (Man-completion-table): Use it.
9410         * vc.el (vc-print-log-internal): Make `limit' optional for better
9411         compatibility (e.g. with vc-annotate.el).
9413 2009-11-24  Kevin Ryde  <user42@zip.com.au>
9415         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9416         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
9418         * emacs-lisp/elint.el (elint-add-required-env): Better error message
9419         when .el source file not found or other error.
9421 2009-11-24  Markus Triska  <markus.triska@gmx.at>
9423         * linum.el (linum-update-window): Ignore intangible (bug#4996).
9425 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9427         Handle the [back] button properly (bug#4979).
9428         * descr-text.el (describe-text-properties): Add a `buffer' argument.
9429         Use help-setup-xref, help-buffer, and with-help-window.
9430         (describe-char): Add `buffer' argument.
9431         Pass proper command to help-setup-xref.  Don't meddle with
9432         help-xref-stack-item directly.
9433         (describe-text-category): Use with-help-window and help-buffer.
9435         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9436         for the displayed buffer (bug#4887).
9438         * man.el (Man-completion-table): New function.
9439         (man): Use it.
9441 2009-11-24  David Reitter  <david.reitter@gmail.com>
9443         * vc-git.el (vc-git-registered): Use checkout directory (where
9444         .git is) rather than the file's directory and a relative path spec
9445         to work around a bug in git.
9447 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
9449         Improve handling of processes on remote hosts.
9451         * eshell/esh-util.el (eshell-path-env): New defvar.
9452         (eshell-parse-colon-path): New defun.
9453         (eshell-file-attributes): Use `eshell-parse-colon-path'.
9455         * eshell/esh-ext.el (eshell-search-path):
9456         Use `eshell-parse-colon-path'.
9457         (eshell-remote-command): Remove argument HANDLER.
9458         (eshell-external-command): Check for FTP remote connection.
9460         * eshell/esh-proc.el (eshell-gather-process-output):
9461         Use `file-truename', in order to start also symlinked files.
9462         Apply `start-file-process' instead of `start-process'.
9463         Shorten `command' to the local file name part.
9465         * eshell/em-cmpl.el (eshell-complete-commands-list):
9466         Use `eshell-parse-colon-path'.
9468         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9470         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
9471         to `eshell-directory-change-hook'.
9473 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
9475         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9476         because it could be enabled automatically if view-read-only is non-nil.
9478 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
9480         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9481         made on 2009-11-22.
9483 2009-11-24  Glenn Morris  <rgm@gnu.org>
9485         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9486         deleted variable bookmark-bmenu-bookmark-column.
9488 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9490         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9492 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9494         * net/browse-url.el (browse-url-filename-alist): On Windows, add
9495         two slashes to the "file:" prefix.
9496         (browse-url-file-url): De-munge Cygwin filenames before passing
9497         them to Windows browser.
9498         (browse-url-default-windows-browser): Use call-process.
9500 2009-11-23  Juri Linkov  <juri@jurta.org>
9502         Implement DocView Continuous mode.  (Bug#4896)
9503         * doc-view.el (doc-view-continuous-mode): New defcustom.
9504         (doc-view-mode-map): Bind C-n/<down> to
9505         `doc-view-next-line-or-next-page', C-p/<up> to
9506         `doc-view-previous-line-or-previous-page'.
9507         (doc-view-next-line-or-next-page)
9508         (doc-view-previous-line-or-previous-page): New commands.
9510 2009-11-23  Juri Linkov  <juri@jurta.org>
9512         Implement Isearch in comint input history.  (Bug#3746)
9513         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9514         `isearch-mode-hook'.
9515         (comint-history-isearch): New defcustom.
9516         (comint-history-isearch-backward)
9517         (comint-history-isearch-backward-regexp): New commands.
9518         (comint-history-isearch-message-overlay): New buffer-local variable.
9519         (comint-history-isearch-setup, comint-history-isearch-end)
9520         (comint-goto-input, comint-history-isearch-search)
9521         (comint-history-isearch-message, comint-history-isearch-wrap)
9522         (comint-history-isearch-push-state)
9523         (comint-history-isearch-pop-state): New functions.
9525 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
9527         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9528         return.
9529         (tramp-handle-make-symbolic-link)
9530         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9531         Quote file names.
9532         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9533         (tramp-handle-process-file): Use it.
9535 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9537         * window.el (move-to-window-line-last-op): Remove.
9538         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9540 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9542         Make M-r mirror the new cycling behavior of C-l.
9543         * window.el (move-to-window-line-last-op): New var.
9544         (move-to-window-line-top-bottom): New command.
9545         (global-map): Bind M-r move-to-window-line-top-bottom.
9547 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
9549         * dired-x.el (dired-guess-shell-alist-default):
9550         Support xz format.  (Bug#4953)
9552 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
9554         * emulation/viper-cmd.el: Use viper-last-command-char instead of
9555         last-command-char/last-command-event.
9556         (viper-prefix-arg-value): Do correct conversion of event-char for
9557         XEmacs.
9559         * emulation/viper-util.el, emulation/viper.el:
9560         Use viper-last-command-char instead of
9561         last-command-char/last-command-event.
9563         * ediff-init.el, ediff-mult.el, ediff-util.el:
9564         Replace last-command-char and last-command-event
9565         with (ediff-last-command-char) everywhere.
9567         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9568         created in fundamental mode.
9570         * ediff.el (ediff-version): Revert the change of interactive-p to
9571         called-interactively-p.
9573 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
9575         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9576         generation from word-movement command names.
9578 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
9580         * cus-start.el (all): Add native condition for font-use-system-font.
9582 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
9584         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9585         Correct the patch from 2009-11-18.  (Bug#3910)
9587 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
9589         * progmodes/subword.el: Rename from lisp/subword.el.
9591         * subword.el: Rename to progmodes/subword.el.
9593         * Makefile.in (ELCFILES): Adapt to subword.el move.
9595 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9596             Stefan Monnier  <monnier@iro.umontreal.ca>
9598         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9599         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9600         (bookmark-bmenu-show-filenames): Use push.
9601         (bookmark-bmenu-hide-filenames): Use local var instead of
9602         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
9603         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9604         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9605         filenames now that the bookmark names are always available.
9607 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9609         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9610         (bookmark-search-pattern): Move and leave unbound.
9611         (bookmark-bmenu-mode-map): Change binding.
9612         (bookmark-read-search-input): Simplify.
9613         Don't use text-char-description.  Don't error on non-char events.
9614         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9615         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9616         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9617         Use a local var for the timer.
9618         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9619         (i.e. bookmark-bmenu-search).
9621 2009-11-21  Glenn Morris  <rgm@gnu.org>
9623         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
9625 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9627         * net/browse-url.el (browse-url-default-windows-browser):
9628         Use cygstart for cygwin.
9630 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
9632         * bookmark.el: Formatting and doc fixes only:
9633         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9634         (bookmark-bmenu-search): Wrap to fit within 80 columns.
9635         Minor grammar and punctuation fixes in doc string.
9636         (bookmark-read-search-input): Adjust to fit within 80 columns.
9638 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9640         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9641         (c-backward-into-nomenclature): Adapt to subword renaming.
9643         * subword.el (subword-forward, subword-backward, subword-mark)
9644         (subword-kill, subword-backward-kill, subword-transpose)
9645         (subword-downcase, subword-upcase, subword-capitalize)
9646         (subword-forward-internal, subword-backward-internal):
9647         Rename from forward-subword, backward-subword, mark-subword,
9648         kill-subword, backward-kill-subword, transpose-subwords,
9649         downcase-subword, upcase-subword, capitalize-subword,
9650         forward-subword-internal, backward-subword-internal.
9652 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9654         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9655         New options.
9656         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9657         New vars.
9658         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9659         (bookmark-bmenu-filter-alist-by-regexp)
9660         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9661         (bookmark-bmenu-search): New command.
9662         (bookmark-bmenu-mode-map): Bind it.
9664 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9666         * progmodes/cc-cmds.el: declare-functioned forward-subword and
9667         backward-subword to quit the byte-compiler.
9669         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9671         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9673         * progmodes/cc-cmds.el (c-update-modeline)
9674         (c-forward-into-nomenclature, c-backward-into-nomenclature):
9675         Refer to subword.el functions instead of cc-subword.el.
9677         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9678         subword.el functions instead of cc-subword.el.
9680         * progmodes/cc-subword.el: Rename to subword.el.
9681         * subword.el: Rename from progmodes/cc-subword.el.
9682         (subword-mode-map): Rename from c-subword-mode-map.
9683         (subword-mode): Rename from c-subword-mode.
9684         (global-subword-mode): New global minor mode.
9685         (forward-subword): Rename from c-forward-subword.
9686         (backward-subword): Rename from c-backward-subword.
9687         (mark-subword): Rename from c-mark-subword.
9688         (kill-subword): Rename from c-kill-subword.
9689         (backward-kill-subword): Rename from c-backward-kill-subword.
9690         (transpose-subwords): Rename from c-tranpose-subword.
9691         (downcase-subword): Rename from c-downcase-subword.
9692         (capitalize-subword): Rename from c-capitalize-subword.
9693         (forward-subword-internal): Rename from c-forward-subword-internal.
9694         (backward-subword-internal): Rename from c-backward-subword-internal.
9696 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
9698         * vc.el (vc-deduce-fileset): Allow non-state changing operations
9699         from a dired buffer.
9700         (vc-dired-deduce-fileset): New function.
9701         (vc-root-diff, vc-print-root-log): Use it.
9703         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9704         nil LIMIT argument to vc-print-log-internal.
9706 2009-11-20  Glenn Morris  <rgm@gnu.org>
9708         * Makefile.in (ELCFILES): Regenerate.
9710 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
9712         * calc/calc.el (calc-set-mode-line):
9713         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9714         (math-format-number): Rename `math-format-complement-signed' to
9715         `math-format-twos-complement'.
9717         * calc/calc-bin.el (math-format-twos-complement): Rename from
9718         math-format-complement-signed.
9719         (calc-radix): Rename `calc-complement-signed-mode' to
9720         `calc-twos-complement-mode'.
9721         (calc-octal-radix, calc-hex-radix): Add an argument for
9722         two's complement.
9724         * calc/calc-embed.el (calc-embedded-mode-vars):
9725         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9727         * calc/calc-ext.el (calc-init-extensions):
9728         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9729         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9731         * calc/calc-units.el (math-build-units-table-buffer):
9732         Let `calc-twos-complement-mode' be nil.
9734         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9735         entries.
9737         * calc/calc-vec.el (calcFunc-vunpack):
9738         * calc/calc-aent.el (calc-do-calc-eval):
9739         * calc/calc-forms.el (math-format-date):
9740         * calc/calc-graph.el (calc-graph-plot):
9741         * calc/calc-math.el (math-use-emacs-fn):
9742         * calc/calccomp.el (math-compose-expr):
9743         Let `calc-twos-complement-mode' be nil.
9745 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9747         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9748         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
9749         * minibuffer.el (completion-in-region-functions): New hook.
9750         (completion-in-region): New function.
9751         * emacs-lisp/lisp.el (lisp-complete-symbol):
9752         * pcomplete.el (pcomplete-std-complete): Use it.
9754 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9756         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9757         (latex-complete-alist): New vars.
9758         (latex-string-prefix-p, latex-complete-bibtex-keys)
9759         (latex-complete-envnames, latex-complete-refkeys)
9760         (latex-complete-data): New functions.
9761         (latex-complete, latex-indent-or-complete): New commands.
9763         * window.el (display-buffer-mark-dedicated): New var.
9764         (display-buffer): Obey it.
9765         * minibuffer.el (minibuffer-completion-help): Use it.
9767         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9769         * filecache.el (file-cache-add-file): Use push and cons.
9770         (file-cache-delete-file-regexp): Use push.
9771         (file-cache-complete): Use completion-in-region.
9773         * simple.el (with-wrapper-hook): Fix thinko.
9775         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9776         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9777         Use with-current-buffer and string-to-number.
9778         (hfy-fallback-colour-values): Use assoc-string.
9779         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9780         (hfy-face-at): Remove unused var `found-face'.
9781         (hfy-compile-stylesheet): Remove unused var `css'.
9782         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9783         and `orig-buffer'.
9784         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9785         Use with-current-buffer.
9786         (hfy-text-p): Use expand-file-name and fewer setq.
9788 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
9790         * htmlfontify.el, hfy-cmap.el: New files.
9792 2009-11-19  Juri Linkov  <juri@jurta.org>
9794         * minibuffer.el (completions-format): New defcustom.
9795         (completion--insert-strings): Implement vertical format.
9797         * simple.el (switch-to-completions): Move point to the first
9798         completion when point was at the beginning of the buffer.
9800 2009-11-19  Juri Linkov  <juri@jurta.org>
9802         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
9804         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9806 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
9808         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9809         (mail-signature): Change default to t.
9810         (mail-from-style): Deprecate `system-default' value.
9811         (mail-insert-from-field): For default value of mail-from-style,
9812         default to `angles' unless `angles' needs quoting and `parens'
9813         does not.
9814         (mail-citation-prefix-regexp): Use citation regexp from
9815         message-mode.
9817 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
9819         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9820         Set variables for computing the prompt for reading password.
9822 2009-11-19  Glenn Morris  <rgm@gnu.org>
9824         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
9826         * textmodes/flyspell.el (sgml-lexical-context): Declare.
9828         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9829         (newsticker-treeview-listwindow-height): Fix custom type.
9831 2009-11-19  Kenichi Handa  <handa@m17n.org>
9833         * descr-text.el (describe-char-padded-string): Compose with TAB
9834         only if there's a font for CH.
9835         (describe-char): Fix the condition for detecting a trivial composition.
9837 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
9839         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9840         more accurate version of the regexp.  (Bug#3910)
9842 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
9844         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9846 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
9848         * font-setting.el (font-use-system-font): Declare for byte-compiler.
9849         (font-setting-change-default-font): Fix typo in docstring.
9851 2009-11-18  Alan Mackenzie  <acm@muc.de>
9853         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9855 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9857         * font-setting.el (font-use-system-font): Move ...
9859         * cus-start.el (all): ... to here.
9861 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
9863         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9864         Don't set `ad-return-value' if `ad-do-it' doesn't.
9866         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9867         modification time.
9869 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9871         * menu-bar.el: Put "Use system font" in Option-menu.
9872         (menu-bar-options-save): Add font-use-system-font.
9874         * loadup.el: If feature system-font-setting or font-render-setting is
9875         there, load font-setting.
9877         * Makefile.in (ELCFILES): Add font-settings.el.
9878         * font-setting.el: New file.
9880 2009-11-17  Glenn Morris  <rgm@gnu.org>
9882         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9884         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9885         Preserve point in the list buffer.  (Bug#4939)
9886         Use point-at-eol.
9887         (newsticker--treeview-list-update-highlight)
9888         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9890 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
9892         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9893         Remove.
9895         * calc/calc-ext.el (calc-init-extensions): Remove references to
9896         symclip.
9898         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9900         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9901         * calc/calc-help.el (calc-b-prefix-help): Remove references to
9902         `calc-symclip'.
9904 2009-11-16  Kevin Ryde  <user42@zip.com.au>
9906         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9907         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9909         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9910         (lm-keywords-list): Allow comma-only separator like "foo,bar".
9911         Ignore trailing spaces by omit-nulls to split-string (fixing
9912         regression from Emacs 21 due to the incompatible split-string
9913         change).  (Bug #4928.)
9915 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
9917         * vc.el (vc-log-show-limit): Default to 2000.
9918         (vc-print-log-internal): Insert buttons to request more entries
9919         when limiting the output.
9921         * vc-sccs.el (vc-sccs-print-log):
9922         * vc-rcs.el (vc-rcs-print-log):
9923         * vc-cvs.el (vc-cvs-print-log):
9924         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9925         LIMIT is non-nil.
9927 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
9929         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9930         error when `tramp-gvfs-dbus-event-vector' is set.
9931         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9933 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9935         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9937 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
9939         * net/dbus.el (dbus-unregister-service): New defun.
9940         (dbus-register-property): Register the handlers of
9941         "org.freedesktop.DBus.Properties" for SERVICE.
9942         (dbus-property-handler): Fix docstring.
9944 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9946         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9947         Quote doc string reference in defvaralias as it is not in special form.
9948         (byte-compile-output-docform): Doc fix.
9950 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
9952         * calc/calc.el (math-2-word-size, math-half-2-word-size)
9953         (calc-complement-signed-mode): New variables.
9954         (calc-set-mode-line): Add indicator for twos-complements.
9955         (math-format-number): Format twos-complement notation.
9957         * calc/calc-bin.el (calc-word-size): Reset the variables
9958         `math-2-word-size' and `math-half-2-word-size'.
9959         (math-format-complement-signed, math-symclip, calcFunc-symclip)
9960         (calc-symclip): New functions.
9962         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9964         * calc/calc-embed.el (calc-embedded-mode-vars):
9965         Add `calc-complement-signed-mode' to the list of modes.
9967         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9968         (calc-b-oper-keys): Add `calc-symclip' to list.
9970         * calc/calc-ext.el (math-read-number-fancy): Read complement
9971         signed numbers.
9972         (calc-init-extensions): Add binding for `calc-symclip'.
9973         Add autoload for `calcFunc-symclip' and `calc-symclip'.
9975         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9976         `calc-symclip'.
9977         (calc-modes-menu): Add item for twos complement mode.
9979         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9981 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
9983         * register.el (jump-to-register, insert-register): Handle Semantic
9984         tags.  From commented-out advice in semantic/senator.el.
9986 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
9988         * vc.el (vc-log-show-limit): New variable.
9989         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
9990         when using a prefix argument.
9991         (vc-print-log-internal): Add new argument LIMIT.
9993         * vc-svn.el (vc-svn-print-log):
9994         * vc-mtn.el (vc-mtn-print-log):
9995         * vc-hg.el (vc-hg-print-log):
9996         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
9997         pass it to the log command when set.  Make the BUFFER argument
9998         non-optional.
10000         * vc-sccs.el (vc-sccs-print-log):
10001         * vc-rcs.el (vc-rcs-print-log):
10002         * vc-git.el (vc-git-print-log):
10003         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10004         ignore it.  Make the BUFFER argument non-optional
10006         * bindings.el (mode-line-buffer-identification): Do not purecopy.
10008 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10010         * dired.el (dired-mode-map): Move encryption items to "Operate"
10011         menu (Bug#4703).
10013         * strokes.el (strokes-update-window-configuration): Make strokes
10014         buffer current before erasing (Bug#4906).
10016 2009-11-15  Juri Linkov  <juri@jurta.org>
10018         * simple.el (set-mark-default-inactive): Add :type, :group
10019         and :version.  (Bug#4876)
10021 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
10023         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10024         (archive-unique-fname): ... here.  (Bug#4929)
10026 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10028         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10029         with a real fix.
10031         * novice.el (disabled-command-function): Add useful args.
10032         Setup the help buffer so that [back] works.
10033         Remove redundant call to help-mode.
10034         (disabled-command-function): Use `case'.
10035         (en/disable-command): New function extracted from enable-command.
10036         (enable-command, disable-command): Use it.
10038 2009-11-14  Glenn Morris  <rgm@gnu.org>
10040         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10041         constants.  (Bug#4913)
10043         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10045 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10047         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10048         defined in C that have no doc-strings.  (Bug#1063)
10050 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
10052         * cus-edit.el (data, files):
10053         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
10055 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
10057         * simple.el (shell-command): Doc fix (Bug#4891).
10059         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10061 2009-11-14  Glenn Morris  <rgm@gnu.org>
10063         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10064         statements for vc-diff, emerge-quit, and rmail-cease-edit.
10065         If they are already loaded, eval-after-load will do the right thing.
10067         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10068         compiling.
10070         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10072         * simple.el (x-selection-owner-p): Declare.
10073         (read-mail-command): Use custom radio type rather than choice.
10074         (completion-no-auto-exit): Doc fix.
10076         * custom.el (defgroup):
10077         * epg-config.el (epg): Doc fixes.
10079 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
10081         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10082         * international/ccl.el (define-ccl-program): Do not purecopy the
10083         docstring, defconst does it anyway.
10085 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10087         * add-log.el (add-change-log-entry): Avoid displaying the changelog
10088         a second time.
10090         * x-dnd.el (x-dnd-maybe-call-test-function):
10091         * window.el (split-window-vertically):
10092         * whitespace.el (whitespace-help-on):
10093         * vc-rcs.el (vc-rcs-consult-headers):
10094         * userlock.el (ask-user-about-lock-help)
10095         (ask-user-about-supersession-help):
10096         * type-break.el (type-break-force-mode-line-update):
10097         * time-stamp.el (time-stamp-conv-warn):
10098         * terminal.el (te-set-output-log, te-more-break, te-filter)
10099         (te-sentinel, terminal-emulator):
10100         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10101         (term-write-input-ring, term-check-source, term-start-output-log):
10102         (term-display-buffer-line, term-dynamic-list-completions):
10103         (term-ansi-make-term, serial-term):
10104         * subr.el (selective-display):
10105         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10106         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10107         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10108         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10109         (speedbar-remove-localized-speedbar-support)
10110         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10111         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10112         (speedbar-buffers-line-directory):
10113         * simple.el (shell-command-on-region, append-to-buffer)
10114         (prepend-to-buffer):
10115         * shadowfile.el (shadow-save-todo-file):
10116         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10117         (scroll-bar-maybe-set-window-start):
10118         * sb-image.el (speedbar-image-dump):
10119         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10120         (load-save-place-alist-from-file):
10121         * ps-samp.el (ps-print-message-from-summary):
10122         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10123         (ps-background-image, ps-begin-job, ps-do-despool):
10124         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10125         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10126         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10127         (pr-call-process, pr-file-list, pr-interface-save):
10128         * novice.el (disabled-command-function)
10129         (enable-command, disable-command):
10130         * mouse.el (mouse-buffer-menu-alist):
10131         * mouse-copy.el (mouse-kill-preserving-secondary):
10132         * macros.el (kbd-macro-query):
10133         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10134         * informat.el (batch-info-validate):
10135         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10136         * hippie-exp.el (try-expand-dabbrev-visible):
10137         * help-mode.el (help-make-xrefs):
10138         * help-fns.el (describe-variable):
10139         * generic-x.el (bat-generic-mode-run-as-comint):
10140         * finder.el (finder-mouse-select):
10141         * find-dired.el (find-dired-sentinel):
10142         * filesets.el (filesets-file-close):
10143         * files.el (list-directory):
10144         * faces.el (list-faces-display, describe-face):
10145         * facemenu.el (list-colors-display):
10146         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10147         * epg.el (epg--process-filter, epg-cancel):
10148         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10149         (epa--read-signature-type):
10150         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10151         (emerge-file-names):
10152         * ehelp.el (electric-helpify):
10153         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10154         * ediff-vers.el (rcs-ediff-view-revision):
10155         * ediff-util.el (ediff-setup):
10156         * ediff-mult.el (ediff-append-custom-diff):
10157         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10158         (ediff-wordify):
10159         * echistory.el (Electric-command-history-redo-expression):
10160         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10161         * disp-table.el (describe-display-table):
10162         * dired.el (dired-find-buffer-nocreate):
10163         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10164         * dabbrev.el (dabbrev--same-major-mode-p):
10165         * chistory.el (list-command-history):
10166         * apropos.el (apropos-documentation):
10167         * allout.el (allout-obtain-passphrase):
10168         (allout-copy-exposed-to-buffer):
10169         (allout-verify-passphrase): Use with-current-buffer.
10171 2009-11-13  Glenn Morris  <rgm@gnu.org>
10173         * Makefile.in (ELCFILES): Regenerate.
10175 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10177         * net/dbus.el (dbus-registered-objects-table): Rename from
10178         `dbus-registered-functions-table', because it contains also properties.
10179         (dbus-unregister-object): Unregister also properties.
10180         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10181         Use a timeout of 500 msec, in order to not block.
10182         (dbus-register-property, dbus-property-handler): New defuns.
10184 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10186         * simple.el (minibuffer-default-add-completions): Drop deprecated
10187         4th arg.
10189 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
10191         * textmodes/artist.el (artist-mouse-choose-operation):
10192         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10193         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10194         (artist-compute-up-event-key): New function.
10195         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10197 2009-11-13  Kenichi Handa  <handa@m17n.org>
10199         * language/japan-util.el: Make sure that the value of jisx0208
10200         property is jisx0208 character.
10202 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
10204         * international/mule.el (auto-coding-regexp-alist): Only purecopy
10205         car or each item, not the whole list.
10207 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10209         * minibuffer.el (minibuffer-completion-help):
10210         Use minibuffer-hide-completions.
10212 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
10214         * dired.el (dired-save-positions, dired-restore-positions): New funs.
10215         (dired-revert): Use them (bug#4880).
10217 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10219         * tooltip.el (tooltip-frame-parameters): Undo previous change.
10221 2009-11-12  Juri Linkov  <juri@jurta.org>
10223         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10224         New functions.
10225         (find-file-literally-at-point): Alias of `ffap-literally'.
10227 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10229         * textmodes/ispell.el (ispell-skip-region-alist):
10230         * textmodes/css-mode.el (auto-mode-alist):
10231         * progmodes/compile.el (auto-mode-alist):
10232         * international/mule.el (ctext-non-standard-encodings-alist)
10233         (ctext-non-standard-encodings-regexp):
10234         * simple.el (shell-command-switch, text-read-only):
10235         * replace.el (occur-mode-map):
10236         * paths.el (rmail-file-name):
10237         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10238         * find-file.el (ff-special-constructs):
10239         * files.el (file-name-handler-alist):
10240         * composite.el: Purecopy strings.
10242         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10244 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10246         * widget.el (define-widget): Purecopy the docstring.
10247         * international/mule-cmds.el (charset): Do not purecopy the
10248         docstring here, define-widget does it.
10250         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10251         * textmodes/bibtex-style.el (auto-mode-alist):
10252         * progmodes/inf-lisp.el (inferior-lisp-prompt):
10253         * progmodes/compile.el (compile-command):
10254         * language/korea-util.el (default-korean-keyboard):
10255         * international/mule-conf.el (file-coding-system-alist):
10256         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10257         * tooltip.el (tooltip-frame-parameters):
10258         * newcomment.el (comment-end, comment-padding):
10259         * dired.el (dired-trivial-filenames):
10260         * comint.el (comint-file-name-prefix): Purecopy initial values.
10262 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
10264         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10265         (tramp-advice-minibuffer-electric-tilde): Unload advices via
10266         `tramp-unload'.
10267         (tramp-advice-make-auto-save-file-name)
10268         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10269         after removing the advice.
10271 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10273         * progmodes/grep.el (grep-regexp-alist):
10274         * international/mule-cmds.el (iso-2022-control-alist):
10275         * emacs-lisp/timer.el (timer-duration-words):
10276         * subr.el (version-separator, version-regexp-alist):
10277         * minibuffer.el (completion-styles-alist):
10278         * faces.el (face-attribute-name-alist, list-faces-sample-text):
10279         Change defvars to defconsts.
10281         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10282         * loadup.el ("international/mule-conf"): Load the byte compiled version.
10283         * international/mule-conf.el: Allow to be byte compiled.
10285         * international/mule.el (define-charset): Purecopy props.
10286         (load-with-code-conversion): Purecopy doc string and file name.
10287         (put-charset-property): Purecopy strings.
10288         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10290         * international/mule-cmds.el (register-input-method): Purecopy arguments.
10291         (define-char-code-property): Correctly purecopy the table.
10293         * international/ccl.el (define-ccl-program): Purecopy the docstring.
10295         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10297         * subr.el (add-hook): Purecopy strings.
10298         (eval-after-load): Purecopy load-history-regexp and the form.
10300         * custom.el (custom-declare-group): Purecopy load-file-name.
10302         * subr.el (menu-bar-separator): New defconst.
10303         * net/eudc.el (eudc-tools-menu):
10304         * international/mule-cmds.el (set-coding-system-map)
10305         (mule-menu-keymap):
10306         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10307         * vc-hooks.el (vc-menu-map):
10308         * replace.el (occur-mode-map):
10309         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10310         (menu-bar-edit-menu, menu-bar-goto-menu)
10311         (menu-bar-custom-menu, menu-bar-showhide-menu)
10312         (menu-bar-options-menu, menu-bar-tools-menu)
10313         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10314         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10315         (menu-bar-help-menu):
10316         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10317         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10319         * term/x-win.el (x-gtk-stock-map):
10320         * progmodes/vera-mode.el (auto-mode-alist):
10321         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10322         (inferior-lisp-program, inferior-lisp-load-command):
10323         * progmodes/hideshow.el (hs-special-modes-alist):
10324         * progmodes/gud.el (same-window-regexps):
10325         * progmodes/grep.el (grep-program, find-program, xargs-program):
10326         * net/telnet.el (same-window-regexps):
10327         * net/rlogin.el (same-window-regexps):
10328         * language/ethiopic.el (font-ccl-encoder-alist):
10329         * vc-sccs.el (vc-sccs-master-templates):
10330         * vc-rcs.el (vc-rcs-master-templates):
10331         * subr.el (cl-assertion-failed):
10332         * simple.el (next-error-overlay-arrow-position):
10333         * lpr.el (lpr-command):
10334         * locate.el (locate-ls-subdir-switches):
10335         * info.el (same-window-regexps, info)
10336         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10337         * image-mode.el (image-mode, auto-mode-alist):
10338         * hippie-exp.el (hippie-expand-ignore-buffers):
10339         * format.el (format-alist):
10340         * find-dired.el (find-ls-subdir-switches, find-grep-options)
10341         (find-name-arg):
10342         * facemenu.el (facemenu-keybindings):
10343         * dired.el (dired-listing-switches, dired-chown-program):
10344         * diff.el (diff-switches, diff-command):
10345         * cus-edit.el (same-window-regexps):
10346         * bindings.el (mode-line-mule-info)
10347         (mode-line-buffer-identification): Purecopy strings.
10349 2009-11-11  Juri Linkov  <juri@jurta.org>
10351         * simple.el (dired-get-filename) <declare-function>:
10352         Tell the byte-compiler about dired-get-filename.
10353         (shell-command): In Dired mode, get filename from the current line
10354         as the default value.
10356 2009-11-10  Glenn Morris  <rgm@gnu.org>
10358         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10359         * calendar/holidays.el, progmodes/cperl-mode.el:
10360         Update x-popup-menu declarations.
10362         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10363         (list-load-path-shadows): Use dolist.
10364         (list-load-path-shadows): Use with-current-buffer.
10366 2009-11-10  Juri Linkov  <juri@jurta.org>
10368         * minibuffer.el (read-file-name): Support a list of default values
10369         in `default-filename'.  Use the first file name where only one
10370         element is required.  Doc fix.
10372 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
10374         * net/dbus.el (dbus-unregister-object): Release service, if no
10375         other method is registered for it.
10377 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
10379         * bookmark.el (bookmark-completing-read): Sort bookmark names if
10380         bookmark-sort-flag is non-nil (Bug#4653).
10382 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10384         * emulation/cua-base.el: Add CUA property to some CC mode commands
10385         (Bug#4100).
10387 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10389         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10390         at end of sentence (Bug#4818).
10392 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
10394         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10395         Handle "see declaration of" MSFT statements (Bug#4100).
10397 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
10399         * net/tramp.el (tramp-advice-make-auto-save-file-name)
10400         (tramp-advice-file-expand-wildcards): Unload via
10401         `ad-remove-advice'.
10403         * net/trampver.el: Update release number.
10405 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10407         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10408         `ad-do-it'.
10410 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
10412         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10413         in order to keep context in SELinux.
10415 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10417         * dired-aux.el (dired-query): Place cursor in echo area and allow
10418         C-g.
10420         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10421         menu item if not on a directory (Bug#4701).
10423 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
10425         Sync with Tramp 2.1.17.
10427         * net/tramp.el (tramp-handle-copy-directory): Don't use
10428         `file-remote-p' (due to compatibility).
10430         * net/tramp-compat.el (tramp-compat-copy-directory)
10431         (tramp-compat-delete-directory): New defuns.
10433         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10434         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10435         `tramp-compat-delete-directory'.
10437         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10438         (tramp-smb-handle-delete-directory): Use
10439         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10441         * net/trampver.el: Update release number.
10443 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
10445         * tar-mode.el (tar-copy): Call write-region on the right buffer
10446         (Bug#4857).
10448         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10449         by hand, if necessary (Bug#4878).
10451 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
10453         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10454         align size column (Bug#4839).
10456         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10457         statement.
10459 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10461         * progmodes/ld-script.el (auto-mode-alist):
10462         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10464         * cus-face.el (custom-declare-face): Purecopy face spec.
10466 2009-11-06  Kenichi Handa  <handa@m17n.org>
10468         * international/uni-bidi.el: Re-generated.
10469         * international/uni-category.el: Re-generated.
10470         * international/uni-combining.el: Re-generated.
10471         * international/uni-mirrored.el: Re-generated.
10473 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10475         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10476         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10477         (tex-start-options, slitex-run-command, latex-run-command)
10478         (tex-run-command, tex-directory):
10479         * textmodes/ispell.el (ispell-html-skip-alists)
10480         (ispell-tex-skip-alists, ispell-tex-skip-alists):
10481         * textmodes/fill.el (adaptive-fill-first-line-regexp):
10482         (adaptive-fill-regexp):
10483         * textmodes/dns-mode.el (auto-mode-alist):
10484         * progmodes/python.el (interpreter-mode-alist):
10485         * progmodes/etags.el (tags-compression-info-list):
10486         * progmodes/etags.el (tags-file-name):
10487         * net/browse-url.el (browse-url-galeon-program)
10488         (browse-url-firefox-program):
10489         * mail/sendmail.el (mail-signature-file)
10490         (mail-citation-prefix-regexp):
10491         * international/mule-conf.el (eight-bit):
10492         * international/latexenc.el (latex-inputenc-coding-alist):
10493         * international/fontset.el (x-pixel-size-width-font-regexp):
10494         * emacs-lisp/warnings.el (warning-type-format):
10495         * emacs-lisp/trace.el (trace-buffer):
10496         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10497         (emacs-lisp-mode-map):
10498         * calendar/holidays.el (holiday-solar-holidays)
10499         (holiday-bahai-holidays, holiday-islamic-holidays)
10500         (holiday-christian-holidays, holiday-hebrew-holidays)
10501         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10502         (hebrew-holidays-1, holiday-oriental-holidays)
10503         (holiday-general-holidays):
10504         * x-dnd.el (x-dnd-known-types):
10505         * tool-bar.el (tool-bar):
10506         * startup.el (site-run-file):
10507         * shell.el (shell-dumb-shell-regexp):
10508         * rfn-eshadow.el (file-name-shadow-tty-properties)
10509         (file-name-shadow-properties):
10510         * paths.el (remote-shell-program, news-directory):
10511         * mouse.el ([C-down-mouse-3]):
10512         * menu-bar.el (menu-bar-tools-menu):
10513         * jka-cmpr-hook.el (jka-compr-load-suffixes)
10514         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10515         (jka-compr-compression-info-list):
10516         * isearch.el (search-whitespace-regexp):
10517         * image-file.el (image-file-name-extensions):
10518         * find-dired.el (find-ls-option):
10519         * files.el (directory-listing-before-filename-regexp)
10520         (directory-free-space-args, insert-directory-program)
10521         (list-directory-brief-switches, magic-fallback-mode-alist)
10522         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10523         (automount-dir-prefix):
10524         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10525         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10526         (face-font-registry-alternatives, face-font-registry-alternatives)
10527         (face-font-family-alternatives):
10528         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10529         (facemenu-foreground-menu, facemenu-face-menu):
10530         * epa-hook.el (epa-file-name-regexp):
10531         * dnd.el (dnd-protocol-alist):
10532         * textmodes/rst.el (auto-mode-alist):
10533         * button.el (default-button): Purecopy strings.
10535 2009-11-06  Glenn Morris  <rgm@gnu.org>
10537         * Makefile.in (ELCFILES): Update.
10539 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10541         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10542         * emacs-lisp/levents.el: Move to obsolete/levents.el.
10544         * nxml/xsd-regexp.el (xsdre-gen-categories):
10545         * nxml/xmltok.el (xmltok-parse-entity):
10546         * nxml/rng-parse.el (rng-parse-validate-file):
10547         * nxml/rng-maint.el (rng-format-manual)
10548         (rng-manual-output-force-new-line):
10549         * nxml/rng-loc.el (rng-save-schema-location-1):
10550         * nxml/rng-cmpct.el (rng-c-parse-file):
10551         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10552         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10554 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
10556         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10557         Remove extra save-excursions and make-variable-buffer-local's.
10558         Suggested by Stefan Monnier.
10560         (verilog-getopt-file, verilog-module-inside-filename-p)
10561         (verilog-set-define): Merge GNU 1.35 and repair changes from
10562         switching to using with-current-buffer.
10564         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10565         being treated as a number and confusing AUTORESET.
10566         Reported by Dan Dever.
10568         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10569         Add verilog-auto-ignore-concat to fix backward compatibility with
10570         older verilog-modes.  Reported by Dan Katz.
10572         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10573         containing closing anchors "...$".
10575         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10576         Reported by Wade Smith.
10578         (verilog-batch-execute-func): Comment on function usage.
10580 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
10582         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10583         for labels.
10585         (verilog-label-re, verilog-calc-1): Support proper indent of named
10586         asserts.
10588         (verilog-backward-token, verilog-basic-complete-re)
10589         (verilog-beg-of-statement, verilog-indent-re): Support proper
10590         indent of the assert statement at the beginning of a block of text.
10592         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10593         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10594         tokens as begins.
10596 2009-11-05  Glenn Morris  <rgm@gnu.org>
10598         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10599         Emacs 19.  (Bug#1531)
10600         (byte-compile-fix-header): Update for the above change.
10601         Drop test for epoch::version.
10603         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10604         * cus-dep.el (custom-make-dependencies):
10605         * finder.el (finder-compile-keywords):
10606         Use autoload-rubric's feature argument.
10608         * calendar/diary-lib.el (top-level): Make load behave more like require.
10610         * vc-git.el (vc-git-stash-map): Move definition before use.
10612 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
10614         * custom.el (custom-declare-group): Purecopy standard-value.
10615         (custom-declare-group): Purecopy custom-prefix.
10617         * international/mule.el (load-with-code-conversion):
10618         Call do-after-load-evaluation unconditionally.
10620         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10622 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10624         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10626 2009-11-04  Glenn Morris  <rgm@gnu.org>
10628         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10629         (byte-compile-compatibility): Remove option.
10630         (byte-compile-close-variables, byte-compile-fix-header)
10631         (byte-compile-insert-header, byte-compile-output-docform)
10632         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10633         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10634         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10635         (byte-compile-insert, byte-compile-defun):
10636         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
10637         (byte-defop-compiler19): Remove.
10638         Without byte-compile-compatibility, the 'emacs19-opcode property is not
10639         used by anything.  Replace all calls with byte-defop-compiler.
10641 2009-11-04  Juri Linkov  <juri@jurta.org>
10643         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10644         (menu-bar-options-menu): Don't quote the `prop' arg of
10645         `menu-bar-make-mm-toggle'.
10647 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
10649         * calendar/calendar.el (cal-loaddefs):
10650         * calendar/diary-lib.el (diary-loaddefs):
10651         * calendar/holidays.el (hol-loaddefs):
10652         * eshell/esh-module.el (esh-groups): Load rather than require.
10654 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10656         * calendar/todo-mode.el (todo-add-category): Don't hardcode
10657         point-min==1.
10658         (todo-top-priorities): Only display-buffer when called interactively.
10659         (todo-item-start): Don't save excursion point.
10660         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
10661         (todo-insert-item-here, todo-file-item, todo-remove-item):
10662         Adjust uses of todo-item-start and todo-item-end.
10664         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10665         (autoload-rubric): Don't use any more.
10667         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10668         and only put a prop if it is non-nil.
10670 2009-11-03  Juri Linkov  <juri@jurta.org>
10672         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10673         (menu-bar-options-menu): Fix list quoting (Bug#4429).
10675         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10676         and "Menu" to make top-level menu item visually one unit (like
10677         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10678         multi-word menu items).  Fix :help string for quit-window.
10680 2009-11-03  Glenn Morris  <rgm@gnu.org>
10682         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10683         (byte-compile-file-form-define-abbrev-table)
10684         (byte-compile-file-form-custom-declare-variable)
10685         (byte-compile-variable-ref, byte-compile-defvar):
10686         Whether or not a warning is enabled should only affect whether we issue
10687         the warning, not whether or not we collect the relevant data.
10688         Eg warnings can be turned on and off throughout the course of a file.
10690         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10691         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10693 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10695         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10696         * play/mpuz.el (mpuz-create-buffer):
10697         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10698         (lm-print-y,s,noise, lm-print-w0, lm-init):
10699         * play/gomoku.el (gomoku-prompt-for-move):
10700         * play/fortune.el (fortune-in-buffer):
10701         * play/dissociate.el (dissociated-press):
10702         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10703         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10704         * mail/supercite.el (sc-eref-show):
10705         * mail/smtpmail.el (smtpmail-send-it):
10706         * mail/rmailsum.el (rmail-summary-next-labeled-message)
10707         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10708         (rmail-summary-undelete-many, rmail-summary-rmail-update)
10709         (rmail-summary-goto-msg, rmail-summary-expunge)
10710         (rmail-summary-get-new-mail, rmail-summary-search-backward)
10711         (rmail-summary-add-label, rmail-summary-output-menu)
10712         (rmail-summary-output-body):
10713         * mail/rfc822.el (rfc822-addresses):
10714         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10715         * mail/mailpost.el (post-mail-send-it):
10716         * mail/hashcash.el (hashcash-generate-payment):
10717         * mail/feedmail.el (feedmail-run-the-queue)
10718         (feedmail-queue-send-edit-prompt-help-first)
10719         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10720         (feedmail-deduce-address-list):
10721         * eshell/esh-ext.el (eshell-remote-command):
10722         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10723         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10724         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10725         (viper-save-string-in-file, viper-valid-marker):
10726         * emulation/viper-keym.el (viper-toggle-key):
10727         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10728         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10729         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10730         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10731         (viper-exec-form-in-emacs, viper-brac-function):
10732         * emulation/viper.el (viper-delocalize-var):
10733         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10734         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10735         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10736         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10737         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10738         * emulation/edt.el (edt-electric-helpify):
10739         * emulation/cua-rect.el (cua--rectangle-aux-replace):
10740         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10741         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10742         (cua-indent-to-global-mark-column):
10743         * calendar/diary-lib.el (calendar-mark-1):
10744         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10745         Use with-current-buffer.
10746         * emulation/viper.el (viper-delocalize-var): Use dolist.
10748 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
10750         * comint.el (comint-replace-by-expanded-history-before-point):
10751         Replace !! with the previous input string literally (Bug#1795).
10753 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
10755         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10756         to be made up of whitespace.
10758 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
10760         * minibuffer.el (read-file-name): Don't use file dialogs for
10761         remote directories (Bug#99).
10763 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
10765         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10767 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10769         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10770         instead of deleting the window or frame.
10772 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10774         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10775         Support face colors.
10777         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10778         New function.  Support face colors (Bug#1168).
10779         (tex-common-initialization): Use it.
10781         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10782         mode allows it (Bug#1168).
10784 2009-10-31  Juri Linkov  <juri@jurta.org>
10786         * facemenu.el (list-colors-display): Don't mark buffer as
10787         modified (Bug#3948).
10789 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10791         * international/mule-diag.el (list-character-sets-1): Minor
10792         message fix (Bug#3526).
10794         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10795         face property (Bug#4834).
10796         (etags-list-tags, etags-tags-apropos-additional)
10797         (etags-tags-apropos, tags-select-tags-table): Add follow-link
10798         property.
10800         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10801         items.
10803 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10805         * textmodes/two-column.el (2C-split):
10806         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10807         * textmodes/tex-mode.el (tex-set-buffer-directory):
10808         * textmodes/spell.el (spell-region, spell-string):
10809         * textmodes/reftex.el (reftex-erase-buffer):
10810         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10811         * textmodes/reftex-toc.el (reftex-toc-promote-action):
10812         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10813         (reftex-select-item):
10814         * textmodes/reftex-ref.el (reftex-label-info-update)
10815         (reftex-offer-label-menu):
10816         * textmodes/reftex-index.el (reftex-index-change-entry)
10817         (reftex-index-phrases-info):
10818         * textmodes/reftex-global.el (reftex-create-tags-file)
10819         (reftex-save-all-document-buffers, reftex-ensure-write-access):
10820         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10821         (reftex-view-crossref-from-bibtex):
10822         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10823         (reftex-extract-bib-entries-from-thebibliography)
10824         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10825         * textmodes/refbib.el (r2b-capitalize-title):
10826         (r2b-convert-buffer, r2b-help):
10827         * textmodes/page-ext.el (pages-directory)
10828         (pages-directory-goto-with-mouse):
10829         * textmodes/bibtex.el (bibtex-validate-globally):
10830         * textmodes/bib-mode.el (bib-capitalize-title):
10831         * textmodes/artist.el (artist-clear-buffer, artist-system):
10832         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10833         (local-set-scheme-interaction-buffer, xscheme-process-filter)
10834         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10835         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10836         (xscheme-send-control-g-interrupt, xscheme-start-process)
10837         (xscheme-process-sentinel, xscheme-cd):
10838         * progmodes/verilog-mode.el (verilog-read-always-signals)
10839         (verilog-set-define, verilog-getopt-file)
10840         (verilog-module-inside-filename-p):
10841         * progmodes/sh-script.el:
10842         * progmodes/python.el (python-pdbtrack-get-source-buffer)
10843         (python-pdbtrack-grub-for-buffer, python-execute-file):
10844         * progmodes/octave-inf.el (inferior-octave):
10845         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10846         (idlwave-shell-compile-helper-routines, idlwave-set-local)
10847         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10848         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10849         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10850         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10851         (idlwave-shell-filter, idlwave-shell-examine-highlight)
10852         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10853         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10854         (idlwave-shell-examine-display, idlwave-shell-run-region)
10855         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10856         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10857         * progmodes/idlw-help.el (idlwave-help-get-special-help)
10858         (idlwave-help-get-help-buffer):
10859         * progmodes/gud.el (gud-basic-call, gud-find-class)
10860         (gud-tooltip-activate-mouse-motions-if-enabled):
10861         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10862         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10863         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10864         (ebrowse-tags-next-file):
10865         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10866         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10867         (ebnf-eps-finish-and-write):
10868         * progmodes/cpp.el (cpp-edit-save):
10869         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10870         * progmodes/cc-defs.el (c-emacs-features):
10871         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10872         (antlr-directory-dependencies):
10873         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10874         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10875         (ada-find-any-references, ada-make-filename-from-adaname)
10876         (ada-make-body-gnatstub):
10877         * obsolete/rnews.el (news-list-news-groups):
10878         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10879         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10880         * net/rcirc.el (rcirc-debug):
10881         * net/newst-treeview.el (newsticker--treeview-list-add-item)
10882         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10883         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10884         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10885         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10886         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10887         (newsticker--treeview-list-clear-highlight)
10888         (newsticker--treeview-list-update-highlight)
10889         (newsticker--treeview-list-highlight-start)
10890         (newsticker--treeview-tree-update-highlight)
10891         (newsticker--treeview-get-selected-item)
10892         (newsticker-treeview-mark-list-items-old)
10893         (newsticker--treeview-set-current-node):
10894         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10895         * net/newst-backend.el (newsticker--get-news-by-funcall)
10896         (newsticker--get-news-by-wget, newsticker--image-get)
10897         (newsticker--image-sentinel):
10898         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10899         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10900         (eudc-ph-close-session):
10901         * net/eudc.el (eudc-save-options):
10902         * language/thai-word.el (thai-update-word-table):
10903         * language/japan-util.el (japanese-string-conversion):
10904         * international/titdic-cnv.el (tsang-quick-converter)
10905         (ziranma-converter, ctlau-converter):
10906         * international/mule-cmds.el (describe-language-environment):
10907         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10908         (skkdic-convert-postfix, skkdic-convert-prefix):
10909         (skkdic-convert-okuri-nasi, skkdic-convert):
10910         * emacs-lisp/re-builder.el (reb-update-overlays):
10911         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10912         * emacs-lisp/gulp.el (gulp-send-requests):
10913         * emacs-lisp/find-gc.el (trace-call-tree):
10914         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10915         (eieio-describe-generic):
10916         * emacs-lisp/eieio-base.el (eieio-persistent-read):
10917         * emacs-lisp/edebug.el (edebug-outside-excursion):
10918         * emacs-lisp/debug.el (debugger-make-xrefs):
10919         * emacs-lisp/cust-print.el (custom-prin1-to-string):
10920         * emacs-lisp/chart.el (chart-new-buffer):
10921         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10922         Use with-current-buffer.
10923         * textmodes/artist.el (artist-system): Don't call
10924         copy-sequence on a fresh string.
10925         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10927 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
10929         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10930         is no item to edit.  (Bug#4820)
10931         (todo-top-priorities): Restore point and restore narrowing in Todo
10932         buffer.  (Bug#4820)
10934 2009-10-31  Glenn Morris  <rgm@gnu.org>
10936         * net/ange-ftp.el (top-level): Don't require dired when compiling.
10937         (comint-last-output-start, comint-last-input-start)
10938         (comint-last-input-end): Don't defvar when compiling.
10939         (ange-ftp-process-file): Use bound-and-true-p.
10941         * pcmpl-rpm.el (top-level): Move provide statement to end.
10942         (pcmpl-rpm): Remove unused custom group.
10944         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10946         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10948         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10949         (byte-compile-warnings): Add `constants' as an option.
10950         (byte-compile-callargs-warn, byte-compile-arglist-warn)
10951         (display-call-tree): Update for byte-compile-fdefinition possibly
10952         returning `(macro lambda ...)'.  (Bug#4778)
10953         (byte-compile-variable-ref, byte-compile-setq-default):
10954         Respect `constants' member of byte-compile-warnings.
10956 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10958         * vc-bzr.el (vc-bzr-revision-keywords): New var.
10959         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10960         to "submit:".
10962 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
10964         * textmodes/ispell.el (ispell-skip-region-alist):
10965         * international/mule-conf.el (eight-bit):
10966         * international/fontset.el (font-encoding-alist):
10967         * startup.el (pure-space-overflow-message):
10968         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10969         * paths.el (gnus-nntp-service, rmail-spool-directory)
10970         (term-file-prefix):
10971         * files.el (save-some-buffers-action-alist):
10972         * cmuscheme.el (same-window-buffer-names):
10973         * ielm.el (same-window-buffer-names):
10974         * shell.el (same-window-buffer-names):
10975         * mail/sendmail.el (same-window-buffer-names):
10976         * progmodes/inf-lisp.el (same-window-buffer-names):
10977         * bindings.el (mode-line-client)
10978         (mode-line-column-line-number-mode-map):
10979         * language/tibetan.el (tibetan-precomposition-rule-regexp)
10980         (tibetan-precomposed-regexp): Purecopy string arguments.
10982 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10984         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
10985         (calcDigit-nondigit):
10986         * calc/calc-yank.el (calc-copy-to-buffer):
10987         * calc/calc-units.el (calc-invalidate-units-table):
10988         * calc/calc-trail.el (calc-trail-yank):
10989         * calc/calc-store.el (calc-insert-variables):
10990         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
10991         * calc/calc-prog.el (calc-read-parse-table):
10992         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
10993         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
10994         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
10995         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
10996         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
10997         (calc-graph-name, calc-graph-find-command, calc-graph-view)
10998         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
10999         * calc/calc-ext.el (calc-realign):
11000         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11001         (calc-embedded-finish-edit, calc-embedded-make-info)
11002         (calc-embedded-finish-command, calc-embedded-stack-change):
11003         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11005         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11006         shell-dynamic-complete-filename in preference to
11007         comint-dynamic-complete-filename.
11009         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11010         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11011         Don't consider whether the display supports colors.
11012         (bookmark-import-new-list): Use dolist.
11013         (bookmark-bmenu-mode-map): Move initialization into declaration.
11014         (bookmark-bmenu-list): Use dolist, simplify.
11015         (bookmark-show-all-annotations): Use save-selected-window and dolist.
11016         (menu-bar-final-items): Use push.
11018 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11020         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11021         it works on remote files.
11022         (vc-hg-diff): Don't pass any `--cwd' argument.
11024 2009-10-27  Kevin Ryde  <user42@zip.com.au>
11026         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11027         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11028         (Further to Bug#3921).
11030 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
11032         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11033         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11034         calling `tramp-imap-put-file'.  Add file size to the call.
11035         (tramp-imap-get-file-entries): Compute also user name, file size,
11036         and date.
11037         (tramp-imap-handle-insert-directory): Insert uid and gid.
11038         (tramp-imap-handle-file-attributes): Transform uid and gid
11039         according to `id-format'.
11040         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
11041         size in header X-Size.
11043 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11045         * simple.el (transpose-subr): Give clearer error when the mark
11046         is not set.  (Bug#4807)
11048 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
11050         * net/tramp.el (tramp-perl-file-truename): New defconst.
11051         Perl code contributed by yary <not.com@gmail.com> (tiny change).
11052         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11053         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11054         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11056         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11057         Ignore `dired-call-process'.
11058         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11060 2009-10-26  Julian Scheid  <julians37@gmail.com>
11062         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11063         (tramp-get-remote-readlink): New defun.
11064         (tramp-handle-file-truename): Use it.
11065         (tramp-handle-file-exists-p): Check file-attributes cache, assume
11066         file exists if cache value present.
11067         (tramp-check-cached-permissions): New defun.
11068         (tramp-handle-file-readable-p): Use it.
11069         (tramp-handle-file-writable-p): Likewise.
11070         (tramp-handle-file-executable-p): Likewise.
11071         (tramp-handle-file-name-all-completions): Try using Perl to get
11072         partial completions.  When perl not available, combine `cd' and
11073         `ls' into single remote operation and use shell expansion to get
11074         partial remote directory contents.  Set `file-exists-p' cache for
11075         directory and any files returned by ls.  Change cache handling to
11076         support partial directory contents.  Use error message emitted by
11077         remote `cd' or Perl code for local tramp-error.
11078         (tramp-do-copy-or-rename-file-directly): Avoid separate
11079         tramp-send-command-and-check call.
11080         (tramp-handle-process-file): Merge three remote ops into one.
11081         Do not flush all caches when `process-file-side-effects' is set.
11082         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11083         file-attributes shows uid/gid to be set already.
11085 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
11087         * textmodes/tex-mode.el (tex-dvi-view-command)
11088         (tex-show-queue-command, tex-open-quote):
11089         * progmodes/ruby-mode.el (auto-mode-alist)
11090         (interpreter-mode-alist): Purecopy strings.
11092         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11094         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11095         string for the hook, keymap and abbrev table.
11097         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11099         * x-dnd.el (x-dnd-xdnd-to-action):
11100         * startup.el (fancy-startup-text, fancy-about-text): Change to
11101         defconst from defvar.
11103         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11105         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11106         Purecopy initialization strings.
11108         * mail/sendmail.el (mail-header-separator)
11109         (mail-personal-alias-file):
11110         * mail/rmail.el (rmail-default-dont-reply-to-names)
11111         (rmail-ignored-headers, rmail-retry-ignored-headers)
11112         (rmail-highlighted-headers, rmail-secondary-file-directory)
11113         (rmail-secondary-file-regexp):
11114         * files.el (null-device, file-name-invalid-regexp)
11115         (locate-dominating-stop-dir-regexp)
11116         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11117         (interpreter-mode-alist): Use mapcar instead of mapc.
11119         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11121         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11122         (completion-ignored-extensions):
11123         (debug-ignored-errors): Purecopy strings.
11125 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11127         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11128         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11129         (pcomplete--here): Use push.
11131         * subr.el (all-completions): Declare the 4th arg obsolete.
11133 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11135         * pcomplete.el (pcomplete-unquote-argument-function): New var.
11136         (pcomplete-unquote-argument): New function.
11137         (pcomplete--common-suffix): Always pay attention to case.
11138         (pcomplete--table-subvert): Quote and unquote the text.
11139         (pcomplete--common-quoted-suffix): New function.
11140         (pcomplete-std-complete): Use it and pcomplete-begin.
11142         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11143         we're inside a dedicated or minibuffer window.
11145 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
11147         * bookmark.el: Update documentation, especially documentation
11148         of `bookmark-alist' and of the bookmark file format.
11149         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
11151 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11153         * mail/emacsbug.el (report-emacs-bug): Clarify that the
11154         keybindings apply to the mail buffer (Bug#4003).  Shrink help
11155         window to buffer.
11157         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11158         (global-whitespace-mode, global-whitespace-newline-mode)
11159         (whitespace-toggle-options, global-whitespace-toggle-options):
11160         Doc fix (Bug#3660).
11162         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11163         of xmltok-start before the end tag was inserted (Bug#2840).
11165         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11166         patterns that are preceded by an open-paren (Bug#1320).
11168 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
11170         * files.el (delete-directory): Delete symlinks to directories with
11171         delete-file (Bug#4739).
11173 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11175         * vc.el (vc-backend-for-registration): Rename from
11176         vc-get-backend-for-registration.  Update callers.
11178         * international/mule-cmds.el (set-language-info-alist):
11179         Purecopy lang-env.
11180         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11181         (charset): Purecopy the name.
11182         (define-char-code-property): Purecopy string arguments.
11184         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11185         Purecopy string arguments.
11187         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11188         * ediff-hook.el (menu-bar-ediff-menu):
11189         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11190         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11192 2009-10-24  Glenn Morris  <rgm@gnu.org>
11194         * comint.el (comint-dynamic-list-completions):
11195         * term.el (term-dynamic-list-completions): Use choose-completion rather
11196         than obsolete alias mouse-choose-completion.
11198         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11199         file-cache-choose-completion.
11200         (file-cache-choose-completion): Handle an optional event argument.
11201         (file-cache-mouse-choose-completion): Make it an obsolete alias.
11203         * progmodes/octave-mod.el (octave-complete-symbol):
11204         Use choose-completion if mouse-choose-completion is ever removed.
11206         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11207         use.
11209         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11210         compiler.
11212         * vc-hooks.el (vc-responsible-backend): Fix declaration.
11214 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11216         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11217         Ignore `pred' now that we receive one.
11218         Handle test-completion specially.
11220 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11222         * vc.el (vc-responsible-backend): Throw an error if not backend is
11223         found.  Remove the REGISTER argument.  Move the code dealing with
11224         REGISTER ...
11225         (vc-get-backend-for-registration): ... here.  New function.
11226         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11227         of vc-responsible-backend, pass the file name instead of the
11228         directory name.
11230 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11232         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11233         New funs.
11234         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
11235         (pcomplete-comint-setup): Don't modify a global var via
11236         accidental side-effects.
11237         (pcomplete-shell-setup): Adjust call accordingly.
11238         (pcomplete-parse-comint-arguments): Use push.
11240 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
11242         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11243         Allow uncapitalized info node names (Bug#3921).
11245         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11246         to the DEBUG file (Bug#3781).
11248 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
11250         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11251         dictionary entry (Bug#4579).
11253 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
11255         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11256         from `rfn-eshadow-update-overlay-hook' when unloading.
11257         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11258         "rsyncc".  Adjust doc string.
11259         (tramp-temp-buffer-file-name): New buffer-local defvar.
11260         (tramp-handle-insert-file-contents, tramp-handle-write-region):
11261         Keep temporary file when indicated by method ("rsync" and
11262         "rsyncc").
11263         (tramp-handle-write-region): Handle APPEND.
11264         (tramp-delete-temp-file-function): New defun.  Added to
11265         `kill-buffer-hook'.
11267 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
11269         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11271 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11273         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11274         (color-name-rgb-alist, tty-standard-colors)
11275         (tty-color-mode-alist): Change to defconst.
11277         * simple.el (mark-inactive): Purecopy message.
11279         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11280         (global-map, yank-menu):
11281         * textmodes/ispell.el (ispell-menu-map):
11282         * net/eudc.el (eudc-tools-menu):
11283         * international/mule-cmds.el (describe-language-environment-map)
11284         (setup-language-environment-map, set-coding-system-map)
11285         (mule-menu-keymap):
11286         * vc-hooks.el (vc-menu-entry, vc-menu-map):
11287         * replace.el (occur-mode-map):
11288         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11290 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
11292         * calc/calc.el (math-read-number, math-read-number-simple): Use
11293         `save-match-data'.
11295 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11297         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11298         rather than fiddling with global-map bindings, since it should only
11299         affect per-terminal settings.
11300         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11302         * minibuffer.el (completion-table-with-terminator): Allow to specify
11303         the terminator-regexp.
11305         * simple.el (switch-to-completions): Look for *Completions* in other
11306         frames as well.
11308         * pcomplete.el: Allow the use of completion-tables.
11309         (pcomplete-std-complete): New command.
11310         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11311         (pcomplete--here): Use a function for `form' rather than an expression,
11312         so it can be byte-compiled.
11313         (pcomplete-here, pcomplete-here*): Adjust accordingly.
11314         Add edebug declaration.
11315         (pcomplete-show-completions): Remove unused var `curbuf'.
11316         (pcomplete-do-complete, pcomplete-stub):
11317         Don't assume `completions' is a list of strings any more.
11319 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
11321         * find-dired.el (find-name-arg): Fix typo in docstring.
11323 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11325         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11326         (pcmpl-linux-fs-types): Same, and update to new modules layout.
11328         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11329         pcomplete-entries.
11331         * comint.el (comint-read-input-ring, comint-write-input-ring)
11332         (comint-substitute-in-file-name)
11333         (comint-dynamic-complete-as-filename)
11334         (comint-dynamic-simple-complete)
11335         (comint-dynamic-list-filename-completions)
11336         (comint-dynamic-list-completions)
11337         (comint-redirect-results-list-from-process): Minor simplifications.
11339 2009-10-21  Kevin Ryde  <user42@zip.com.au>
11341         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11342         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11343         the first form.  And insert a blank line after ";;; Code" since
11344         that's usual style.  (Bug#4612)
11346         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11348 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11350         * minibuffer.el (completion-table-with-terminator): Properly implement
11351         boundaries, in case `terminator' appears in the suffix.
11352         (completion--embedded-envvar-table): Don't return boundaries if
11353         there's no valid completion.  Simplify.
11354         (completion-file-name-table): New completion table extracted from
11355         completion--file-name-table.
11356         (completion--file-name-table): Use it.
11357         (read-file-name-predicate): Declare obsolete.
11358         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11359         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11360         completion-file-name-table, and use the `pred' argument.
11361         * files.el (locate-file-completion-table): Use the `pred' arg rather
11362         than read-file-name-predicate.
11363         (abbreviate-file-name): Use \` rather than ^ for BOS.
11365 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
11367         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11368         vc-responsible-backend to register, it causes problems.
11370 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11372         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11374 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
11376         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11377         (tramp-smb-handle-file-attributes): Use it.
11378         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11379         (tramp-smb-handle-insert-directory): Use `mapc' rather than
11380         `mapcar'.  Use `tramp-smb-get-stat-capability'.
11381         Add `dired-filename' text properties.
11382         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11383         (tramp-smb-maybe-open-connection): Simplify check for smbclient
11384         version.
11386 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11388         * subr.el (read-key-delay): Reduce to 0.01.
11389         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11390         (bug#4751).
11392 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11394         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11396         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11397         (Info-menu): Remove unused vars `last' and `completions'.
11398         (Info-index-nodes): Remove unused var `node'.
11400         * info.el (Info-complete-menu-item): Use complete-with-action.
11402 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11404         Make vc-annotate work through copies and renames.
11405         * vc-annotate.el (vc-annotate-extract-revision-at-line):
11406         Return the file name too.
11407         (vc-annotate-revision-at-line)
11408         (vc-annotate-find-revision-at-line)
11409         (vc-annotate-revision-previous-to-line)
11410         (vc-annotate-show-log-revision-at-line): Update to get the file
11411         name from vc-annotate-extract-revision-at-line.
11412         (vc-annotate-show-diff-revision-at-line-internal): Change the
11413         argument to mean whether to show a file diff or not.  Get the file
11414         name from vc-annotate-extract-revision-at-line.
11415         (vc-annotate-show-diff-revision-at-line):
11416         Update vc-annotate-show-diff-revision-at-line call.
11417         (vc-annotate-warp-revision): Add an optional file argument.
11419         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11420         (vc-git-annotate-extract-revision-at-line): Also return the file
11421         name if found.
11423         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11424         command.  Remove unused code.
11425         (vc-hg-annotate-re): Update to match --follow output.
11426         (vc-hg-annotate-extract-revision-at-line): Also return the file
11427         name if found.
11429         * vc.el: Update annotate-extract-revision-at-line documentation.
11431 2009-10-18  Kevin Ryde  <user42@zip.com.au>
11433         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11434         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11436         * net/browse-url.el (browse-url): Identify alist with "consp and
11437         not functionp" and let all other things go down the `apply' leg,
11438         as suggested by Stefan.  (Further to bug#4531.)
11440 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
11442         * minibuffer.el (read-file-name): Check for repeat before putting
11443         a default argument in file-name-history (Bug#4657).
11445         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11446         read syntax (Bug#4737).
11448         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11450 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11452         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11453         (html-tag-alist, html-tag-help): Add descriptions for undocumented
11454         entries and make note of obsolete tags.
11456 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11458         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11460 2009-10-18  Glenn Morris  <rgm@gnu.org>
11462         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11463         grep, so that binary files (eg international/uni-bidi.el) can match.
11464         Remove test for "UnicodeData" files, since it is hopefully unnecessary
11465         now, and in any case the file header format has changed.
11467 2009-10-17  Glenn Morris  <rgm@gnu.org>
11469         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11470         (flyspell-get-word, flyspell-large-region)
11471         (flyspell-auto-correct-previous-word): Doc/error message fixes.
11473 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
11475         * Makefile.in (ELCFILES): Add ede/shell.
11477 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
11479         * term/common-win.el (x-colors): Purecopy it.
11481 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11483         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11484         permissive for when the buffer is empty.
11485         (tar-header-block-tokenize): Decode the username and groupname.
11486         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11488 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11490         * international/mule-cmds.el (select-safe-coding-system): If the file
11491         has a coding cookie, use it regardless of any other setting (bug#4712).
11493 2009-10-17  Glenn Morris  <rgm@gnu.org>
11495         * foldout.el (foldout-mouse-swallow-events):
11496         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11498         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11499         (dired-keep-marker-copy, dired-keep-marker-hardlink)
11500         (dired-keep-marker-symlink, dired-dwim-target)
11501         (dired-copy-preserve-time): Do not autoload these defcustoms.
11503         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11504         messages from messing up the file coding.  (Bug#4623)
11506 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
11508         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11509         if no match is found for the current dictionary.  (Bug#4578)
11511         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11512         optional, since that is how it is documented, and this is often called
11513         with a nil argument.  (Bug#4577)
11514         (flyspell-external-point-words, flyspell-auto-correct-word)
11515         (flyspell-correct-word-before-point, flyspell-word-search-forward)
11516         (flyspell-word-search-backward): Remove nil argument in calls to
11517         flyspell-get-word, since it is not needed now.
11519 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
11521         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
11523 2009-10-16  Glenn Morris  <rgm@gnu.org>
11525         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11527 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11529         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11530         (ange-ftp-file-size): New function.
11531         (ange-ftp-file-attributes): Use it.
11533 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
11535         * net/tramp-smb.el (tramp-smb-version): New defvar.
11536         (tramp-smb-maybe-open-connection): Use it, in order to avoid
11537         repeated checks.
11539 2009-10-16  Glenn Morris  <rgm@gnu.org>
11541         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11542         Maybe copy some custom properties from old to new name.  (Bug#4706)
11544 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
11546         * subr.el (error, sit-for, start-process-shell-command)
11547         (start-file-process-shell-command): Set the calling convention
11548         after the function definition.
11550 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11552         * subr.el (error, sit-for, start-process-shell-command)
11553         (start-file-process-shell-command): Use the new
11554         set-advertised-calling-convention feature.
11556 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
11558         * international/ucs-normalize.el (ucs-normalize-version):
11559         Change to 1.2.
11560         (check-range): Adjust for Unicode 5.2.
11562 2009-10-15  Juri Linkov  <juri@jurta.org>
11564         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11565         to the `menu-item' format.
11567 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
11569         * net/tramp.el (tramp-replace-environment-variables): Do not fail
11570         if the environment variable does not exist.
11572         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11573         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11574         parameter.
11575         (tramp-smb-handle-add-name-to-file)
11576         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11577         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11578         (tramp-smb-handle-file-attributes)
11579         (tramp-smb-do-file-attributes-with-stat)
11580         (tramp-smb-handle-file-local-copy)
11581         (tramp-smb-handle-insert-directory)
11582         (tramp-smb-handle-make-directory)
11583         (tramp-smb-handle-make-directory-internal)
11584         (tramp-smb-handle-make-symbolic-link)
11585         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11586         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11587         (tramp-smb-maybe-open-connection): Apply the changed parameters.
11588         (tramp-smb-read-file-entry): Read Disk names in compressed format.
11589         Handle long file names.
11590         (tramp-smb-get-cifs-capabilities): Check, whether the connection
11591         process is running.
11592         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11593         Read share names with "-g" option.
11595 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
11597         * net/rcirc.el (rcirc-view-log-file): New command.
11598         (rcirc-track-minor-mode-map): Remove C-c ` binding.
11599         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11600         specified.
11602 2009-10-15  Glenn Morris  <rgm@gnu.org>
11604         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11605         from the second command-line argument.
11606         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11607         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11608         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11609         w32-batch-update-autoloads.
11610         * emacs-lisp/autoload.el (autoload-make-program): New variable.
11611         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11613         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11614         the headers cannot be located.  Simplify, subtracting superflous
11615         save-excursions.
11617 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11619         Replace completion-base-size by completion-base-position to fix bugs
11620         such as (bug#4699).
11621         * simple.el (completion-base-position): New var.
11622         (completion-base-size): Mark as obsolete.
11623         (choose-completion): Make it work for mouse events as well.
11624         Pass the new base-position to choose-completion-string.
11625         (choose-completion-guess-base-position): New function, extracted from
11626         choose-completion-delete-max-match.
11627         (choose-completion-delete-max-match): Use it.  Make obsolete.
11628         (choose-completion-string): Use the new base-position info.
11629         (completion-root-regexp): Delete.
11630         (completion-setup-function): Preserve completion-base-position.
11631         Eliminate obsolete base-size manipulation.
11632         * minibuffer.el (display-completion-list): Don't mess with base-size.
11633         (minibuffer-completion-help): Set completion-base-position instead.
11634         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11635         choose-completion.
11636         * textmodes/bibtex.el (bibtex-complete):
11637         * emacs-lisp/crm.el (crm--choose-completion-string):
11638         Adjust to new calling convention.
11639         * complete.el (partial-completion-mode): Use minibufferp to avoid
11640         bumping into incompatible change to choose-completion-string-functions.
11641         * ido.el (ido-choose-completion-string): Make its calling convention
11642         more permissive.
11643         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11644         base-size manipulation.
11645         (comint-dynamic-list-input-ring): Use dotimes and push.
11646         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11647         fundamental-mode.  Use `or'.
11649 2009-10-14  Juri Linkov  <juri@jurta.org>
11651         * misearch.el (multi-isearch-next-buffer-from-list)
11652         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
11654 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11656         * Makefile.in (compile-onefile): Load `bytecomp' rather than
11657         `bytecomp.el'.
11659         * minibuffer.el (completion-pcm--merge-completions): Make sure the
11660         string we return is all made up of text from the completions rather
11661         than part from the completions and part from the input (bug#4219).
11663         * ido.el (ido-everywhere): Use define-minor-mode.
11665         * buff-menu.el (list-buffers, ctl-x-map):
11666         Mark the entry points with ;;;###autoload cookies.
11668 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
11670         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11671         correctly in the detached head case.
11672         (vc-git-print-log): Remove unused binding.
11674         * vc.el (vc-responsible-backend): When a directory is passed for
11675         for registration create a VC repository if no backend is
11676         responsible for the directory argument.
11677         (vc-deduce-fileset): Tell vc-responsible-backend to register.
11679         * vc.el: Move comments about RCS and SCCS ...
11680         * vc-rcs.el:
11681         * vc-sccs.el: ... here, respectively.
11683 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11685         * minibuffer.el (completion--file-name-table): Return nil if there's
11686         no file completion, even if substitute-in-file-name changed
11687         the string (bug#4708).
11689 2009-10-13  Juri Linkov  <juri@jurta.org>
11691         * files-x.el (read-file-local-variable-value): Don't filter out
11692         minor modes from mode name completion (bug#4664).
11694 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11696         * international/mule-cmds.el (ucs-names): Remove exclusion of
11697         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11699 2009-10-13  Kenichi Handa  <handa@m17n.org>
11701         * international/uni-name.el: Regenerated.
11703 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11705         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
11706         should be automatically buffer-local, but isn't.)
11708 2009-10-12  Sam Steingold  <sds@gnu.org>
11710         * progmodes/compile.el (compilation-next-error-function): Fix the
11711         timestamps if the buffer has been visited before.
11712         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11713         non-anchored patterns, like the perl one (bug#3928).
11715 2009-10-12  Glenn Morris  <rgm@gnu.org>
11717         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11718         Let-bind `size'.
11720 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
11722         * proced.el (proced-unload-function): New function.
11724         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11725         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11726         Doc fix.
11728         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11730 2009-10-11  Juri Linkov  <juri@jurta.org>
11732         * files-x.el (read-file-local-variable-value):
11733         Provide default value only for bound variables (bug#4664).
11735 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
11737         * net/tramp.el (tramp-local-host-p): Function shall return nil for
11738         connection methods like smb.
11740         * net/tramp-cache.el (tramp-flush-connection-property): The hash
11741         can be empty.
11743         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11744         (tramp-smb-file-name-handler-alist): Add handlers for
11745         `add-name-to-file', `make-symbolic-link'.
11746         (tramp-smb-handle-add-name-to-file)
11747         (tramp-smb-do-file-attributes-with-stat)
11748         (tramp-smb-handle-make-symbolic-link)
11749         (tramp-smb-get-cifs-capabilities): New defuns.
11750         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11751         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11752         (tramp-smb-handle-file-local-copy)
11753         (tramp-smb-handle-make-directory-internal)
11754         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11755         The file name syntax depends on cifs capabilities.
11756         (tramp-smb-handle-file-attributes):
11757         Call `tramp-smb-do-file-attributes-with-stat' if possible.
11758         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11759         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11761 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
11763         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11764         (eieio-defclass): Apply deftype handler and setf-method properties
11765         directly.
11766         (eieio-add-new-slot): Avoid union function from cl library.
11767         (eieio--typep): New function.
11768         (eieio-perform-slot-validation): Use it.
11770 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11772         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11773         Update documentation to refer to the variables documented in r1.135.
11774         (Bug#4188)
11776 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11778         * bookmark.el (Info-suffix-list): Remove this unused variable.
11779         (bookmark-current-point): Remove this obsolete variable.
11780         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11781         Adjust for removal of bookmark-current-point.
11783         (bookmarks-already-loaded, bookmark-current-buffer)
11784         (bookmark-yank-point): Document.  (Bug#4188)
11786 2009-10-10  Glenn Morris  <rgm@gnu.org>
11788         * frame.el (frame-height): Doc fix.
11790         * calendar/calendar.el (calendar-split-width-threshold): New option.
11791         (calendar-basic-setup): Use calendar-split-width-threshold.
11793 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
11795         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11796         Ideographic Supplement" range (U+1F200..U+1F2FF).
11798 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11800         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11801         since the list will have been rebuilt anyway.  (Bug#4349)
11803 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11805         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11806         (bookmark-bmenu-execute-deletions): Don't save here, as
11807         bookmark-delete will now do so if necessary.
11808         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11809         (Bug#4348)
11811 2009-10-09  Glenn Morris  <rgm@gnu.org>
11813         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11815 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11817         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11818         (bookmark-jump-other-window): Just invoke bookmark-jump with new
11819         argument now, so the two function's behaviors will match.  (Bug#3645)
11821 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
11823         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11824         (tramp-file-name-real-host, tramp-file-name-port):
11825         Apply `save-match-data'.
11827         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11828         case both directories are remote.
11829         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11830         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11832 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11834         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11836 2009-10-07  Glenn Morris  <rgm@gnu.org>
11838         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11839         of concat.
11841 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11843         * files-x.el (read-file-local-variable): Include some
11844         non-user-variables in the completion table (bug#4664).
11846 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
11848         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11849         message.
11851         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11852         (tramp-smb-file-name-handler-alist): Add handler for
11853         `copy-directory', `expand-file-name', `set-file-modes'.
11854         (tramp-smb-handle-copy-directory)
11855         (tramp-smb-handle-expand-file-name)
11856         (tramp-smb-handle-set-file-modes): New defuns.
11857         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11858         (tramp-smb-handle-file-attributes): Simplify check for retrieving
11859         entry.
11860         (tramp-smb-handle-insert-directory): Don't flush the cache.
11861         (tramp-smb-maybe-open-connection): Check for samba client and
11862         server versions.
11864 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
11866         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11867         to not error out of search for "^lisp=" fails.
11869 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11871         * makefile.w32-in (WINS_UPDATES): New macro.
11872         (custom-deps, finder-data, autoloads): Use it.
11874 2009-10-07  Glenn Morris  <rgm@gnu.org>
11876         * Makefile.in (autoloads): Revert previous change.
11877         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11878         the list of preloaded files passed on the command-line, get
11879         it from src/Makefile.
11881         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11882         show the original buffer rather than a random one.
11884 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
11886         * help.el (describe-no-warranty): Place point in a slightly better
11887         position in the GPLv3 text.
11889 2009-10-06  Sam Steingold  <sds@gnu.org>
11891         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11892         the comm attribute is present before calling regexp-quote.
11894 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
11896         * play/animate.el (animate-string): For good effect, make sure
11897         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
11899         * play/animate.el (animate-sequence, animate-birthday-present):
11900         * misc.el (butterfly): Don't set `indent-tabs-mode'.
11902 2009-10-06  Glenn Morris  <rgm@gnu.org>
11904         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
11906         * emacs-lisp/autoload.el (autoload-excludes): New variable.
11907         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
11908         (batch-update-autoloads): Process a string value of autoload-excludes,
11909         set during the build process.
11910         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
11912         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
11913         inside with-parsed...  macro so that `v' is defined.
11915         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
11916         * progmodes/fortran.el (fortran-end-of-block)
11917         (fortran-beginning-of-block):
11918         Also push mark in the macro case.
11920         * emerge.el (emerge-show-file-name):
11921         * calc/calc.el (calc-quit):
11922         * calc/calc-misc.el (calc-big-or-small):
11923         * calc/calc-graph.el (calc-graph-view):
11924         * calc/calc-ext.el (calc-reset):
11925         * calendar/calendar.el (calendar-basic-setup):
11926         Use window-full-height-p.
11928         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
11929         header we don't understand, don't insert another.  (Bug#4624)
11930         If changing mime charset, insert the new one in the right place.
11932 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
11934         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
11935         (cal-tex-cursor-month): Correctly increment the end date for diary and
11936         holiday listing.  (Bug#4626)
11938 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11940         * help-fns.el (describe-function-1): Don't burp if the function is not
11941         a symbol.
11943 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
11945         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
11946         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
11947         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11948         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
11950         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
11951         (eieio-default-superclass): Reflow docstrings.
11952         (this, class-option-assoc, defclass, eieio-class-un-autoload)
11953         (eieio-unbind-method-implementations, defmethod)
11954         (eieio-validate-slot-value, eieio-validate-class-slot-value)
11955         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
11956         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
11957         (eieio-slot-originating-class-p, eieio-slot-name-index)
11958         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
11959         (constructor, initialize-instance, no-next-method, object-print)
11960         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
11961         Fix typos in docstrings.
11962         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
11963         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
11964         (next-method-p): Doc fixes.
11965         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
11966         Fix typos in error messages.
11967         (eieio-defmethod): Fix typo in description of generic method.
11969         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
11970         (eieio-persistent-save-interactive, slot-missing):
11971         Fix typos in docstrings.
11972         (eieio-instance-inheritor-slot-boundp): Doc fix.
11974         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
11975         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
11977         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
11978         (eieio-custom-object-apply-reset):
11979         Fix typos in docstrings and error messages.
11981         * emacs-lisp/eieio-datadebug.el (data-debug-show):
11982         Fix typo in docstring.
11984         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
11985         (eieio-browse-tree): Doc fix.
11986         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
11987         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
11988         Fix typos in docstrings.
11990         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
11991         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
11992         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
11993         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
11994         Reflow docstrings.
11996 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
11998         * vc-hg.el (log-view-vc-backend): Declare for compiler.
11999         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12000         Set log-view-vc-backend so that diff can work.
12002         * log-view.el (log-view-diff): Use vc-diff-internal instead of
12003         vc-version-diff.
12004         (vc-diff-internal): Autoload this instead of vc-version-diff.
12006 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
12008         * simple.el (eval-expression): Doc fix.
12010         * progmodes/cwarn.el (cwarn-mode): Doc fix.
12012 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
12014         * files.el (directory-files-no-dot-files-regexp): New defconst.
12015         (delete-directory): Use it.
12016         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
12018         * net/tramp.el (tramp-verbose): Fix docstring.
12019         (tramp-methods): Add recursive option to `tramp-copy-args'.
12020         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
12021         "scp1_old", "scp2_old", "rsync", "rsyncc".
12022         (tramp-default-method): Check also for `auth-source-user-or-password'.
12023         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12024         Add handler for `copy-directory'.
12025         (tramp-handle-copy-directory): New defun.
12026         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12027         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12028         Optimize sent command.
12030 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12032         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12033         window if necessary.
12035         * calendar/calendar.el (calendar-basic-setup): Don't call
12036         switch-to-buffer in a dedicated window.
12038 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
12040         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12041         don't do anything related to relocating, just return nil.
12042         (bookmark-error-no-filename): New error.
12043         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12044         bookmark has no file.  Don't even attempt to handle things that
12045         are not files; the whole point of custom handlers is to keep that
12046         knowledge elsewhere anyway.  Tighten some comments.
12047         (bookmark-file-or-variation-thereof): Remove now-unused function.
12048         (bookmark-location): Doc string fix.
12049         (Bug#4250)
12051 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12053         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12054         don't use a file dialog, because they usually don't know how to read
12055         a directory target from the user.  (Bug#4230)
12056         Also, make sure the prompt can display directories as well as files.
12058 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12060         * bookmark.el (bookmark-set, bookmark-buffer-name):
12061         Improve doc strings.  (Bug#1193)
12063 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12065         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12066         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12067         (bookmark-get-annotation, bookmark-set-annotation)
12068         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12069         (bookmark-set-position, bookmark-get-front-context-string)
12070         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12071         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12072         (bookmark-jump-other-window, bookmark-handle-bookmark)
12073         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12074         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12075         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12076         Improve doc strings to say whether bookmark can be a string or
12077         a record or both, and make other consistency and clarity fixes.
12078         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12079         (bookmark-default-annotation-text, bookmark-yank-word)
12080         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12081         (bookmark-import-new-list, bookmark-maybe-rename)
12082         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12083         (bookmark-bmenu-bookmark): Give these doc strings.
12084         (bookmark-bmenu-check-position): Give this a doc string, but also
12085         add a FIXME comment about how the function may be pointless.
12086         (bookmark-default-handler): Rework doc string and change a
12087         parameter name, to clarify that this takes a bookmark record
12088         not a bookmark name.
12089         (bookmark-set): Change a parameter name to indicate its meaning,
12090         and improve the doc string a bit.
12091         (Bug#4188)
12093 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12095         * bookmark.el (bookmark-alist): Document the new `handler' element
12096         in the param alist.
12097         (bookmark-make-record-function): Adjust documentation for above.
12098         (Bug#4193)
12100 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12102         * info.el (Info-bookmark-make-record): Document this function.
12103         (Info-bookmark-jump): Document with a doc string, not just a comment.
12104         (Bug#4203)
12106 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
12108         * files.el (copy-directory): New defun.
12110         * dired-aux.el (dired-copy-file-recursive): Use it.
12112 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
12114         * files-x.el (modify-dir-local-variable)
12115         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12116         docstrings.
12118         * recentf.el (recentf-unload-function): New function.
12120 2009-10-04  Glenn Morris  <rgm@gnu.org>
12122         * window.el (window-full-height-p): Add doc string.
12124 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
12126         * window.el (window-full-height-p): New function.  (Bug#4543)
12128 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
12130         * vc.el: Remove commented out code.
12131         (vc-derived-from-dir-mode): Remove, unused.
12132         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12134 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
12136         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12137         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
12138         there could be recursive loading when `default-directory' is a
12139         remote file name.  (Bug#4614)
12141 2009-10-03  Glenn Morris  <rgm@gnu.org>
12143         * calendar/calendar.el (calendar-basic-setup): Handle the case where
12144         the frame is wide.
12145         (calendar-generate-window): Test for shrinkability rather than width.
12147         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12148         reusing existing buffers, in case we happen to visit two files with the
12149         same basename.  (Bug#4593)
12151 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12153         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12154         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12155         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12156         subdirs of cedet as well.
12157         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12159 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12161         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12162         Obey advertised-signature-table.
12164         * help-fns.el (help-function-arglist): Don't check
12165         advertised-signature-table.
12166         (describe-function-1): Do it here instead so it also applies to subrs.
12168 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
12170         * simple.el (start-file-process): Say in the doc-string, that file
12171         handlers might not support pty association, if PROGRAM is nil.
12173         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12174         HOST and USER are strings.  They are nil, when there are
12175         incomplete entries in ~/.netrc, for example.
12176         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
12177         root directory ("device busy" error otherwise).
12179         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12180         Flush file properties of created directory.
12182 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12184         * makefile.w32-in (WINS_BASIC): Remove cedet.
12185         (WINS_CEDET): Add cedet.
12186         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12188 2009-10-02  Kevin Ryde  <user42@zip.com.au>
12190         * net/browse-url.el (browse-url): Pass any symbol in
12191         browse-url-browser-function to `apply', since if you've mistakenly put
12192         an unbound symbol then the error is clearer.  (Bug#4531)
12194 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12196         * allout.el (allout-init, allout-back-to-current-heading)
12197         (allout-beginning-of-current-entry, allout-ascend-to-depth)
12198         (allout-ascend, allout-up-current-level, allout-end-of-level)
12199         (allout-previous-visible-heading, allout-forward-current-level)
12200         (allout-backward-current-level, allout-show-children):
12201         * apropos.el (apropos-describe-plist):
12202         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12203         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12204         * completion.el (add-completion, add-permanent-completion):
12205         * descr-text.el (describe-text-category, describe-char):
12206         * desktop.el (desktop-lazy-abort):
12207         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12208         * dired.el (dired-build-subdir-alist):
12209         * ediff.el (ediff-version):
12210         * elide-head.el (elide-head, elide-head-show):
12211         * emerge.el (emerge-version):
12212         * env.el (getenv):
12213         * face-remap.el (variable-pitch-mode):
12214         * faces.el (describe-face):
12215         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12216         (dired-at-point):
12217         * files.el (find-file-existing, auto-save-mode):
12218         * font-lock.el (font-lock-fontify-buffer):
12219         * help-fns.el (describe-function, describe-variable)
12220         (describe-syntax, describe-categories):
12221         * help.el (view-lossage, describe-bindings, describe-key)
12222         (describe-mode):
12223         * hexl.el (hexl-current-address):
12224         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12225         * info.el (Info-goto-emacs-key-command-node):
12226         * log-edit.el (log-edit-insert-cvs-template)
12227         (log-edit-insert-cvs-rcstemplate):
12228         * menu-bar.el (menu-bar-mode):
12229         * mouse.el (mouse-appearance-menu):
12230         * newcomment.el (comment-indent-new-line):
12231         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12232         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12233         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12234         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12235         * recentf.el (recentf-mode):
12236         * savehist.el (savehist-mode, savehist-save):
12237         * shadowfile.el (shadow-copy-files):
12238         * simple.el (kill-ring-save, next-line, previous-line)
12239         (normal-erase-is-backspace-mode):
12240         * strokes.el (strokes-update-window-configuration)
12241         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12242         (strokes-xpm-for-stroke):
12243         * time.el (emacs-uptime, emacs-init-time):
12244         * tutorial.el (tutorial--describe-nonstandard-key)
12245         (tutorial--detailed-help):
12246         * type-break.el (type-break-mode)
12247         (type-break-mode-line-message-mode, type-break-query-mode)
12248         (type-break-guesstimate-keystroke-threshold):
12249         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12250         * version.el (emacs-version):
12251         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12252         * winner.el (winner-mode):
12253         * calendar/timeclock.el (timeclock-in, timeclock-out)
12254         (timeclock-status-string, timeclock-change)
12255         (timeclock-workday-remaining-string)
12256         (timeclock-workday-elapsed-string)
12257         (timeclock-when-to-leave-string):
12258         * calendar/todo-mode.el (todo-add-category):
12259         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12260         * emacs-lisp/autoload.el (update-file-autoloads):
12261         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12262         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12263         (checkdoc-message-text, checkdoc-defun):
12264         * emacs-lisp/debug.el (debugger-list-functions):
12265         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12266         * emacs-lisp/eieio-opt.el (eieio-describe-class)
12267         (eieio-describe-generic):
12268         * emacs-lisp/lisp-mnt.el (lm-synopsis):
12269         * emacs-lisp/shadow.el (list-load-path-shadows):
12270         * emulation/cua-base.el (cua-mode):
12271         * emulation/edt.el (edt-set-scroll-margins):
12272         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12273         (tpu-toggle-regexp, tpu-toggle-search-direction)
12274         (tpu-toggle-rectangle, tpu-toggle-control-keys):
12275         * emulation/tpu-extras.el (tpu-set-scroll-margins):
12276         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12277         (viper-set-parsing-style-toggling-macro)
12278         (viper-set-emacs-state-searchstyle-macros):
12279         * emulation/viper.el (viper-set-hooks):
12280         * eshell/esh-mode.el (eshell-truncate-buffer):
12281         * international/mule-cmds.el (prefer-coding-system)
12282         (describe-input-method, describe-language-environment):
12283         * international/mule-diag.el (list-character-sets)
12284         (describe-character-set, describe-coding-system)
12285         (describe-fontset, list-fontsets, list-input-methods):
12286         * mail/sendmail.el (mail-signature):
12287         * net/ange-ftp.el (ange-ftp-copy-file):
12288         * net/browse-url.el (browse-url):
12289         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12290         * net/quickurl.el (quickurl-add-url):
12291         * net/rcirc.el (names, topic):
12292         * net/xesam.el (xesam-mode):
12293         * play/5x5.el (5x5-new-game):
12294         * play/yow.el (apropos-zippy):
12295         * progmodes/ada-mode.el (ada-mode-version):
12296         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12297         (f90-end-of-block)
12298         (f90-beginning-of-block):
12299         * progmodes/fortran.el (fortran-end-of-block)
12300         (fortran-beginning-of-block):
12301         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12302         * progmodes/python.el (python-describe-symbol, python-shell):
12303         * term/ns-win.el (ns-print-buffer):
12304         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12305         * textmodes/flyspell.el (flyspell-mode-on):
12306         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12307         (pages-directory-for-addresses):
12308         * textmodes/table.el (table-recognize-cell)
12309         (table-query-dimension, table-generate-source)
12310         (table-insert-sequence, table--warn-incompatibility):
12311         * textmodes/tex-mode.el (tex-validate-buffer):
12312         * textmodes/texinfmt.el (texinfmt-version)
12313         (texinfo-format-buffer):
12314         Use `called-interactively-p' instead of `interactive-p'.
12316 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12318         * image-mode.el (image-toggle-display):
12319         * emacs-lisp/elp.el (elp-instrument-function):
12320         * emacs-lisp/advice.el (ad-make-advised-definition):
12321         * emacs-lisp/easy-mmode.el (define-minor-mode):
12322         * net/browse-url.el (browse-url-maybe-new-window):
12323         * progmodes/sh-script.el (sh-learn-buffer-indent):
12324         Pass new argument 'any to `called-interactively-p'.
12326 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
12328         * international/uni-bidi.el:
12329         * international/uni-category.el:
12330         * international/uni-combining.el:
12331         * international/uni-comment.el:
12332         * international/uni-decimal.el:
12333         * international/uni-decomposition.el:
12334         * international/uni-digit.el:
12335         * international/uni-lowercase.el:
12336         * international/uni-mirrored.el:
12337         * international/uni-name.el:
12338         * international/uni-numeric.el:
12339         * international/uni-old-name.el:
12340         * international/uni-titlecase.el:
12341         * international/uni-uppercase.el:
12342         Regenerate from Unicode 5.2.0 data.
12344 2009-10-01  Glenn Morris  <rgm@gnu.org>
12346         * Makefile.in (ELCFILES): Regenerate.
12348 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12350         * subr.el (interactive-p): Mark obsolete.
12351         (called-interactively-p): Make the optional-ness of `kind' obsolete.
12352         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12353         advertised-signature-table for subroutines as well.
12355         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12356         (set-advertised-calling-convention): New function.
12357         (make-obsolete, define-obsolete-function-alias)
12358         (make-obsolete-variable, define-obsolete-variable-alias):
12359         Make the optional-ness of `when' obsolete.
12360         (define-obsolete-face-alias): Make `when' non-optional.
12361         * help-fns.el (help-function-arglist):
12362         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12363         Use advertised-signature-table.
12365 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
12367         * files.el (delete-directory): New defun.  The original function
12368         in fileio.c has been renamed to `delete-directory-internal'.
12370         * dired.el (dired-delete-file): Call `delete-directory' with
12371         RECURSIVE parameter.
12373         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12374         parameter RECURSIVE.  Implementation is missing.
12376         * net/tramp.el (tramp-handle-make-directory): Flush upper
12377         directory's file properties.
12378         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12379         (tramp-handle-dired-recursive-delete-directory): Flush directory
12380         properties after the remove command only.
12382         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12383         Handle optional parameter RECURSIVE.
12385         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12386         Handle optional parameter RECURSIVE.
12388         * net/tramp-smb.el (tramp-smb-errors): Add error message for
12389         connection timeout.
12390         (tramp-smb-handle-delete-directory): Handle optional parameter
12391         RECURSIVE.
12393 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12395         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12396         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12397         (byte-compile-defmacro): Use backquotes.
12399         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12401         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12402         has no associated file.
12403         (vc-resynch-buffer): Use vc-dir-buffers.
12405 2009-10-01  Glenn Morris  <rgm@gnu.org>
12407         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12408         (chart-file-count):
12409         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12410         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12411         * emacs-lisp/eieio-opt.el (eieio-describe-class):
12412         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12413         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12414         (eieio-copy-parents-into-subclass, make-instance, class-children)
12415         (eieio-generic-form):
12417         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12418         match-data.  (Bug#4555).
12420         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12421         rather than parsing it as a regexp.  This relaxes the layout
12422         requirements and makes errors easier to detect.
12423         (check-declare-verify): Check file is regular.
12424         (check-declare-directory): Doc fix.
12425         * subr.el (declare-function): Doc fix.
12427         * ibuffer.el (ibuffer-format-qualifier):
12428         * isearch.el (hi-lock-regexp-okay):
12429         * calc/calc.el (math-zerop):
12430         * mail/uce.el (rmail-msgbeg, rmail-msgend):
12431         * term/w32-win.el (setup-default-fontset, set-fontset-font):
12432         Remove unused declarations.
12434 2009-09-30  Glenn Morris  <rgm@gnu.org>
12436         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12438         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12439         filename is not a string.
12441 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
12443         * files.el (safe-local-eval-forms): Fix typo.
12445 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12447         * vc-hooks.el (vc-dir-buffers): New var.
12448         (vc-state-refresh): New function.
12449         (vc-state): Use it.
12450         (vc-after-save): Always ask the backend to recompute the new state.
12451         Always call vc-dir if necessary, using vc-dir-buffers.
12452         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12453         Use vc-dir-buffers.
12454         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12455         (vc-dir-prepare-status-buffer, vc-dir-update)
12456         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12457         Don't call expand-file-name on default-directory.
12459 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12461         * speedbar.el (speedbar-item-delete):
12462         * calc/calc-prog.el (calc-kbd-if):
12463         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12465         * epa.el (epa-key-list-mode-map):
12466         * hi-lock.el (hi-lock-menu): Fix typos in menus.
12468         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12469         (hs-show-hook): Fix typo in docstring.
12471 2009-09-29  Glenn Morris  <rgm@gnu.org>
12473         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12474         file-name-nondirectory call preventing location of cedet files.
12475         (check-declare-verify): Use literal search rather than re-search.
12476         Add basic defmethod and defclass, and define-overloadable-function.
12478         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12479         Use tramp-compat-file-attributes rather than nonexistent
12480         tramp-compat-handle-file-attributes.
12482         * Makefile.in (lisptagsfiles4): New.
12483         (AUTOGENEL): Add cedet loaddefs files.
12484         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12485         (update-elclist, compile-always, backup-compiled-files)
12486         (bootstrap-clean): Add yet another directory level.
12487         (update-elclist): Use LC_COLLATE rather than COLLATE.
12488         (ELCFILES): Update, via `make update-elclist'.
12490 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12492         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12493         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12494         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12496 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12498         * Makefile.in (lisptagsfiles3): Define.
12499         (TAGS, TAGS-LISP): Use it.
12500         (update-elclist): Add third directory level to look for elc files.
12501         (compile-always): Likewise.
12502         (backup-compiled-files): Likewise.
12503         (bootstrap-clean): Likewise.
12504         (ELCFILES): Update.
12506 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
12508         * Makefile.in (ELCFILES): Add CEDET files.
12510 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
12512         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12514         * net/tramp.el (top): Require tramp-imap.
12516         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12517         Use `tramp-compat-handle-file-attributes'.
12519 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
12521         * net/tramp-imap.el: New package.
12523 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12525         * whitespace.el (whitespace-trailing-regexp)
12526         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12527         Fix doc string.
12529 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
12531         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12532         menu.
12534         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12535         menu-bar-ediff-menu.
12537         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12538         define-overloadable-function.
12540         * progmodes/autoconf.el: Provide autoconf as well, so that this
12541         file can be `require'd.
12543         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12545         * emacs-lisp/autoload.el (generated-autoload-feature)
12546         (generated-autoload-load-name): New vars.
12547         (autoload-rubric, autoload-generate-file-autoloads): Use them.
12548         (make-autoload): Recognize define-overloadable-function and
12549         defclass forms (for EIEIO).
12551         * Makefile.in (update-subdirs): Exclude cedet directory.
12553 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
12555         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
12557         * faces.el: Default light-background background for region face to
12558         ns_selection_color under NS.
12560 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
12562         * net/imap-hash.el: New library, see NEWS.
12564         * Makefile.in (ELCFILES): Add imap-hash.el.
12566 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12568         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12569         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12570         * help-macro.el (make-help-screen): Avoid using an ambiguous function
12571         definition where the docstring could be taken for the return value.
12573 2009-09-26  Glenn Morris  <rgm@gnu.org>
12575         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12576         Add option to only show images below a certain size.
12577         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12578         save-excursion calls.
12580 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
12582         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12583         subdirectories) and eieio.
12585 2009-09-26  Alan Mackenzie  <acm@muc.de>
12587         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12588         buggy bracketing.  (Bug#4289)
12590         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12591         character constants (as case labels).  (Bug#4289)
12593 2009-09-25  Juri Linkov  <juri@jurta.org>
12595         * files.el (safe-local-eval-forms): Allow time-stamp in
12596         before-save-hook (Bug#4554).
12598 2009-09-25  Drew Adams  <drew.adams@oracle.com>
12600         * menu-bar.el (list-buffers-directory): Doc fix.
12602 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12604         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12605         Try and avoid copying twice the same paragraph.
12606         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12607         Remove save-excursion.
12608         (log-edit-changelog-entry): Do it here instead.
12610 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
12612         * bs.el (bs--get-file-name): Use `list-buffers-directory'
12613         when available, instead of hardcoding mode names.  Doc fix.
12615         * menu-bar.el (list-buffers-directory): Add docstring.
12616         Make automatically buffer-local.
12618         * dired.el (dired-mode):
12619         * files.el (cd-absolute):
12620         * pcvs.el (cvs-temp-buffer):
12621         * pcvs-util.el (cvs-get-buffer-create):
12622         * shell.el (shell-mode):
12623         * vc-dir.el (vc-dir-mode):
12624         Don't make `list-buffers-directory' buffer local.
12626 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
12628         * comint.el (comint-exec, comint-run, make-comint):
12629         Doc fixes (Bug#4542).
12631 2009-09-25  Glenn Morris  <rgm@gnu.org>
12633         * mail/rmailmm.el (rmail-mime): New custom group.
12634         Move all defcustoms in this file into this group.
12635         (rmail-mime-media-type-handlers-alist): Revert previous change.
12636         (rmail-mime-show-images): New option.
12637         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12638         references to it, since it wasn't actually used for anything.
12639         (rmail-mime-insert-image): New function.
12640         (rmail-mime-image): Use rmail-mime-insert-image.
12641         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12642         obey the value of `rmail-mime-show-images' option.  Print the size of
12643         attachments.
12645 2009-09-25  David Engster  <deng@randomsample.de>
12647         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
12649 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12651         * whitespace.el: Does not highlight trailing spaces While point is
12652         at end of line.  Does not highligt spaces at beginning of buffer
12653         while point is at beginning of buffer.  Does not highlight spaces
12654         at end of buffer while point is at end of buffer.  (Bug#4177)
12655         New version 12.0.
12656         (whitespace-display-mappings): Adjust initialization.
12657         (whitespace-point, whitespace-font-lock-refontify): New vars.
12658         (whitespace-color-on, whitespace-color-off): Adjust code.
12659         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12660         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12661         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12663 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
12665         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12667         * textmodes/sgml-mode.el: Remove xml-mode alias.
12669         * files.el (auto-mode-alist, conf-mode-maybe)
12670         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12672 2009-09-24  Alan Mackenzie  <acm@muc.de>
12674         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12675         c-forward-conditionals, but it doesn't move point and doesn't set
12676         the mark.
12677         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12678         (c-down-conditional-with-else, c-backward-conditional)
12679         (c-forward-conditional): Refactor to use c-scan-conditionals.
12681 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12683         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12684         (help-default-arg-highlight): Remove.
12685         (help-highlight-arg): New function.
12686         (help-do-arg-highlight): Use it.
12687         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
12689 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12691         * term.el (term-set-scroll-region, term-handle-ansi-escape):
12692         Undo last change, which didn't fix the problem and introduced others.
12694 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
12696         * progmodes/gdb-mi.el: Don't require speedbar.
12697         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12699 2009-09-24  Glenn Morris  <rgm@gnu.org>
12701         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12703         * term/ns-win.el (ns-reg-to-script): Define for compiler.
12705         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12706         there is no newline after the final mime boundary.  (Bug#4539)
12707         Move markers on insertion so that any buttons inserted don't end up in
12708         the next part of a multipart message.
12709         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
12710         (rmail-mime-bulk-handler): Optionally handle images.
12711         (rmail-mime-image): New button action.
12712         (rmail-mime-image-handler): New function.
12713         (rmail-mime-mode): New mode.
12714         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
12716 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12718         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12719         than just dropping elements from it (bug#4504).
12721         * term.el (term-set-scroll-region): Don't move cursor any more.
12722         (term-handle-ansi-escape): Call term-goto here instead.
12723         Suggested by Ivan Kanis <apple@kanis.eu>.
12725         * term.el: Require CL.
12726         (term-ansi-reset): New function.
12727         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12728         (term-handle-colors-array): Simplify.
12730 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12732         * allout.el (allout-overlay-interior-modification-handler)
12733         (allout-obtain-passphrase):
12734         * epa-file.el (epa-file-write-region):
12735         * ps-print.el (ps-begin-job):
12736         * vc-hooks.el (vc-toggle-read-only):
12737         * vc-rcs.el (vc-rcs-rollback):
12738         * vc-sccs.el (vc-sccs-rollback):
12739         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12740         (vc-version-diff, vc-revert, vc-rollback):
12741         * wdired.el (wdired-check-kill-buffer):
12742         * emacs-lisp/authors.el (authors):
12743         * net/socks.el (socks-open-connection):
12744         * net/zeroconf.el (zeroconf-service-add-hook):
12745         * obsolete/vc-mcvs.el (vc-mcvs-register):
12746         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12747         (gdb-select-frame):
12748         * progmodes/grep.el (lgrep, rgrep):
12749         * progmodes/idlw-help.el (idlwave-help-check-locations)
12750         (idlwave-help-html-link, idlwave-help-assistant-open-link):
12751         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12752         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12753         (reftex-toc-rename-label): Fix typos in error messages.
12755         * dired-aux.el (dired-do-shell-command): Reflow docstring.
12756         (dired-copy-how-to-fn): Doc fix.
12757         (dired-files-attributes, dired-read-shell-command):
12758         Fix typos in docstrings.
12760         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12761         (dired-x-find-file-other-window): Reflow docstrings.
12762         (dired-omit-marker-char, dired-read-shell-command)
12763         (dired-x-submit-report): Fix typos in docstrings.
12765         * shell.el (shell-mode-hook):
12766         * view.el (View-scroll-line-forward):
12767         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12768         Fix typos in docstrings.
12770         * net/dig.el (dig-invoke): Fix typo in docstring.
12771         (query-dig): Reflow docstring.
12773         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12774         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12775         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12776         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12777         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12778         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12779         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12780         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12781         (idlwave-completion-map, idlwave-current-indent)
12782         (idlwave-custom-ampersand-surround, idlwave-customize)
12783         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12784         (idlwave-define-abbrev, idlwave-determine-class-special)
12785         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12786         (idlwave-end-block-reg, idlwave-end-of-statement)
12787         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12788         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12789         (idlwave-explicit-class-listed, idlwave-file-header)
12790         (idlwave-fill-paragraph, idlwave-find-class-definition)
12791         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12792         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12793         (idlwave-in-quote, idlwave-indent-action-table)
12794         (idlwave-indent-expand-table, idlwave-indent-line)
12795         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12796         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12797         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12798         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12799         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12800         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12801         (idlwave-outlawed-buffers, idlwave-popup-select)
12802         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12803         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12804         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12805         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12806         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12807         (idlwave-statement-type, idlwave-struct-skip)
12808         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12809         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12810         (idlwave-what-module-find-class): Fix typos in docstrings.
12811         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12812         (idlwave-calculate-cont-indent, idlwave-expand-equal)
12813         (idlwave-find-module, idlwave-find-structure-definition)
12814         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12815         (idlwave-list-load-path-shadows, idlwave-next-statement)
12816         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12817         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12818         (idlwave-template): Reflow docstrings.
12820         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12821         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12822         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12823         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12824         (idlwave-shell-display-line, idlwave-shell-display-wframe)
12825         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12826         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12827         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12828         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12829         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12830         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12831         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12832         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12833         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12834         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12835         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12836         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12837         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12838         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12839         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12840         Fix typos in docstrings.
12841         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12842         (idlwave-shell-hide-output, idlwave-shell-mode)
12843         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12844         Reflow docstrings.
12846         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12848 2009-09-24  Ivan Kanis  <apple@kanis.eu>
12850         * term.el (term-bold-attribute): New var.
12851         (term-handle-colors-array): Use it.
12853 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
12855         * progmodes/gdb-mi.el (gdb-version): New variable.
12856         (gdb-non-stop-handler): Set gdb-version.
12857         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12858         Condition "--thread" option on gdb-version.
12859         (gdb-invalidate-threads): Remove unused argument.
12861 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12863         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12864         to looking-back to avoid ridiculous slow down in large files (bug#4511).
12866 2009-09-23  Glenn Morris  <rgm@gnu.org>
12868         * mail/rmail.el (rmail-reply): Don't try to add a References header when
12869         replying to mail without References or Message-Id.  (Bug#4525)
12871 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
12873         * term/ns-win.el (ns-reg-to-script): New variable.
12875 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
12877         * epg.el (epg-wait-for-status): Preserve existing 'error results.
12879 2009-09-22  Sam Steingold  <sds@gnu.org>
12881         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12882         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12883         to 1 because hg returns status 1 when nothing is found.
12884         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12886 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12888         * textmodes/fill.el: Convert to utf-8 encoding.
12889         (fill-french-nobreak-p): Remove redundant » and « inherited from our
12890         pre-Unicode days.
12892         * add-log.el (change-log-fill-forward-paragraph): New function.
12893         (change-log-mode): Use it so fill-region DTRT.
12894         Set fill-indent-according-to-mode here rather than in
12895         change-log-fill-paragraph.
12896         (change-log-fill-paragraph): Remove.
12898 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
12900         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
12901         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
12903 2009-09-22  Glenn Morris  <rgm@gnu.org>
12905         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
12906         the scroll-bar scroll the calendar window rather than the buffer.
12908         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
12909         commands that move point (as opposed to scrolling).
12911         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
12913         * emacs-lisp/elint.el (elint): New custom group.
12914         (elint-log-buffer): Make it a defcustom.
12915         (elint-scan-preloaded, elint-ignored-warnings)
12916         (elint-directory-skip-re): New options.
12917         (elint-builtin-variables): Doc fix.
12918         (elint-preloaded-env): New variable.
12919         (elint-unknown-builtin-args): Add an entry for encode-time.
12920         (elint-extra-errors): Make it a variable rather than a constant.
12921         (elint-preloaded-skip-re): New constant.
12922         (elint-directory): Skip files matching elint-directory-skip-re.
12923         (elint-features): New variable, local to linted buffers.
12924         (elint-update-env): Initialize elint-features.  Possibly add
12925         elint-preloaded-env to the buffer's environment.
12926         (elint-get-top-forms): Bind elint-current-pos, for log messages.
12927         Skip quoted forms.
12928         (elint-init-form): New function, extracted from elint-init-env.
12929         Make non-list forms a warning rather than an error.
12930         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
12931         easy-menu-define, put that adds an error-condition, and provide.
12932         When requiring cl, also require cl-macs.  Really require cl, to handle
12933         some cl macros.  Store required libraries in the list elint-features,
12934         so as not to re-load them.  Treat cc-require like require.
12935         (elint-init-env): Call elint-init-form to do the work.
12936         Handle eval-and-compile and such like.
12937         (elint-add-required-env): Do not clear messages.
12938         (elint-special-forms): Add handlers for function, defalias, if, when,
12939         unless, and, or.
12940         (elint-form): Add optional argument to ignore elint-special-forms,
12941         useful to prevent recursive calls from handlers.  Doc fix.
12942         Respect elint-ignored-warnings.
12943         (elint-form): Respect elint-ignored-warnings.
12944         (elint-bound-variable, elint-bound-function): New variables.
12945         (elint-unbound-variable): Respect elint-bound-variable.
12946         (elint-get-args): Respect elint-bound-function.
12947         (elint-check-cond-form): Add some simple handling for (f)boundp and
12948         featurep tests.
12949         (elint-check-defalias-form): New handler.
12950         (elint-check-let-form): Make an empty let a warning rather than an
12951         error.
12952         (elint-check-setq-form): Make an empty setq a warning rather than an
12953         error.  Respect elint-ignored-warnings.
12954         (elint-check-defvar-form): Accept null doc-strings.
12955         (elint-check-conditional-form): New handler.  Does some simple-minded
12956         checking of featurep and (f)boundp tests.
12957         (elint-put-function-args): New function.
12958         (elint-initialize): Use elint-scan-doc-file rather than
12959         elint-find-builtin-variables.  Use elint-put-function-args.
12960         Possibly scan preloaded-file-list.
12961         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
12962         extend to handle functions as well.
12964 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
12966         * linum.el (linum-delete-overlays, linum-update-window):
12967         Do not modify the right margin.  (Bug#3971)
12969 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
12971         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
12972         nxml-mode instead of xml-mode.
12974 2009-09-21  Kevin Ryde  <user42@zip.com.au>
12976         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
12978 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12980         * net/dig.el (dig-mode): Use define-derived-mode.
12982 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
12984         * vc-dispatcher.el (vc-do-command): Return the process object in
12985         the asynchronous case.  Use when instead of if.  Do not run
12986         vc-exec-after to display a message if not enabled.  (Bug#4463)
12988         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
12989         properties to the stash strings.
12990         (vc-git-stash-list): Return a list of strings.
12991         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
12992         (vc-git-stash-show-at-point): New functions.
12993         (vc-git-stash-map): New keymap.
12995         * register.el (ctl-x-r-map): Define the keys here instead of
12996         using autoload.
12998 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
13000         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13001         list, to workaround performance problem (bug#4485).
13003 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
13005         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13007 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
13009         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13010         Document that this option is not recommended to use.
13012 2009-09-19  Glenn Morris  <rgm@gnu.org>
13014         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13015         variable `var'.
13017         * calc/calc-alg.el (var):
13018         * calc/calcalg2.el (var): Define for compiler.
13020 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
13022         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13023         Doc fix (Bug#3932).
13025         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13027         * time-stamp.el (time-stamp-month-dd-yyyy)
13028         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13029         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13030         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13031         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13032         Remove functions that have been obsolete since 1995 (Bug#4436).
13034         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13035         indent buffer only if called interactively (Bug#4452).
13037 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
13038             Eli Zaretskii  <eliz@gnu.org>
13040         This fixes bug#4197 (merged to bug#865, though not identical).
13041         * server.el (server-auth-dir): Add docstring note about FAT32.
13042         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13043         but warn against using them.
13045 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
13047         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13048         older GDB where there is no has_more field.
13050 2009-09-19  Glenn Morris  <rgm@gnu.org>
13052         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13054 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
13056         * files.el (auto-mode-alist): Change default for XML files to nXML
13057         mode (Bug#4169).
13059 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
13061         * server.el (server-ensure-safe-dir): Pass 'integer
13062         to `file-attributes', as suggested.
13064 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13066         * dired-aux.el (dired-query-alist): Remove spurious backslash.
13067         (dired-query): Use read-key.
13069 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
13071         * cus-start.el (ns-use-qd-smoothing): Remove.
13073 2009-09-18  Glenn Morris  <rgm@gnu.org>
13075         * allout.el (top-level): Remove unnecessary progn.
13077         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13079         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13080         definition of abbrev table.
13082         * speedbar.el (speedbar-track-mouse):
13083         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13084         * net/eudc.el (eudc-expand-inline):
13085         * net/newst-backend.el (newsticker--cache-read-feed):
13086         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13087         condition-case handlers.
13089 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
13091         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13092         (gdb-var-list): Add an element for has_more field.
13093         (gdb-non-stop-handler): Enable pretty printing for STL containers.
13094         (gdb-var-create-handler, gdb-var-list-children-handler-1)
13095         (gdb-var-update-handler-1): Parse output of dynamic variable
13096         objects (STL containers).
13097         (gdb-var-delete-1): Pass var1 as an explicit second argument.
13098         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
13100         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13101         gdb-var-list.
13102         (gud-speedbar-buttons): Make node expandable if expression "has more"
13103         children.
13105 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
13107         * startup.el (emacs-quick-startup): Remove variable and all uses.
13108         (command-line): Set `inhibit-x-resources' instead.
13109         (command-line-1): Use `inhibit-x-resources' instead.
13111 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
13113         * subr.el: Fix last change to avoid using the `unless' macro,
13114         which breaks bootstrapping.
13116 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13118         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13119         extended definitions, in case we reload subr.el after having
13120         loaded CL.
13121         (eval-next-after-load): Mark as obsolete.
13123 2009-09-17  Juri Linkov  <juri@jurta.org>
13125         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13126         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13127         (menu-bar-showhide-menu, menu-bar-tools-menu)
13128         (menu-bar-describe-menu, menu-bar-help-menu)
13129         (minibuffer-local-completion-map, minibuffer-local-map):
13130         Fix list quoting.
13132 2009-09-17  Glenn Morris  <rgm@gnu.org>
13134         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13135         arguments, whether or not it has a handler.
13137         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13139         * simple.el (hard-newline): Give it a doc-string.
13141         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13142         (lisp-mode-syntax-table): Give them doc-strings.
13144 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
13146         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13147         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13148         (menu-bar-options-menu, menu-bar-showhide-menu)
13149         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13150         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13151         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13152         (menu-bar-options-menu, menu-bar-tools-menu)
13153         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13154         (menu-bar-help-menu):
13155         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13156         string arguments.
13158         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13159         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13160         calls for the menu names and :help.
13162 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13164         * mouse.el (minor-mode-menu-from-indicator): Pay attention
13165         to :minor-mode-function (bug#4455).
13167 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13169         * startup.el (command-line): Initialize the window-system after
13170         processing the command-line.
13172         * textmodes/page.el (what-page): Make sure we don't inf-loop if
13173         page-delimiter matches the empty string.
13175 2009-09-16  Glenn Morris  <rgm@gnu.org>
13177         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13178         byte-compile-not-obsolete-var.  It's a list now.
13179         (byte-compile-not-obsolete-funcs): New variable.
13180         (byte-compile-warn-obsolete): Don't warn about functions if they are in
13181         byte-compile-not-obsolete-funcs.
13182         (byte-compile-variable-ref, byte-compile-defvar): Update for
13183         byte-compile-not-obsolete-vars name-change and list nature.
13184         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13185         and variables behind (f)boundp tests.
13186         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13188 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13190         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13192 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13194         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13195         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13196         Don't autoload.
13198 2009-09-15  Stephen Eglen  <stephen@gnu.org>
13200         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13201         the virtual-buffers, use the name of the buffer specified by
13202         find-file-noselect, as the match may be a symlink.  (This was a
13203         problem if the target and the symlink had different names.)
13205 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13207         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13209         * desktop.el (desktop-path): Check user-emacs-directory.
13211         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13213         * loadup.el: Use after-load-functions to GC after loading each file.
13214         Remove the explicit GC calls that used to be sprinkled around.
13216         * subr.el (after-load-functions): New hook.
13217         (do-after-load-evaluation): Run it.  Use string-match-p to detect
13218         `obsolete' packages, rather than painfully extracting the relevant
13219         directory name.
13221 2009-09-15  Glenn Morris  <rgm@gnu.org>
13223         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13224         free variable `doc'.
13226         * dired.el (dired-mode-map): Add menu entry for async shell command.
13228         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13229         variables, also consider the .elc files, since the .el files are
13230         normally gzipped (subsequent code locates the .el.gz from the .elc).
13232         * calc/calc-prog.el (arglist): Define for compiler.
13234         * calendar/diary-lib.el (diary-display-function): Change the default to
13235         fancy display.
13236         (body): Define for compiler.
13238         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13239         (byte-compile-file-form, byte-compile-lambda)
13240         (byte-compile-top-level-body, byte-compile-form)
13241         (byte-compile-variable-ref, byte-compile-setq)
13242         (byte-compile-setq-default, byte-compile-body)
13243         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13244         (batch-byte-compile): Give some more local variables with common names
13245         a "bytecomp-" prefix to avoid masking warnings about free variables.
13247         * startup.el (command-line-1): Give local variables with common names a
13248         distinguishing prefix, so as not to hide free variable warnings during
13249         bootstrap.
13251         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13252         clever and add a suffix to make a unique name, just let the user decide
13253         whether or not to overwrite it.  If the input is a directory, write the
13254         default filename to that directory.  (Bug#4388)
13255         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13256         is a filename-as-a-directory.
13258 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13260         * textmodes/page.el (what-page): Don't move to beginning of line.
13261         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13263 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13265         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13267 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
13269         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13270         * help.el (help-for-help-internal): Add purecopy calls for text.
13272         * vc.el (top): print-log method now takes an optional SHORTLOG
13273         argument.  Add a new method: root.
13274         (vc-root-diff, vc-print-root-log): New functions.
13275         (vc-log-short-style): New variable.
13276         (vc-print-log-internal): Add support for showing short logs.
13278         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13279         vc-print-root-log and vc-print-root-diff.
13281         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13282         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13283         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13284         short logs.
13286         * vc-cvs.el (vc-cvs-print-log):
13287         * vc-mtn.el (vc-mtn-print-log):
13288         * vc-rcs.el (vc-rcs-print-log):
13289         * vc-sccs.el (vc-sccs-print-log):
13290         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13291         that is ignored for now.
13293         * vc-mtn.el (vc-mtn-annotate-command):
13294         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13296 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13298         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13299         to function-key-map, and give them ascii-character property.
13300         * term/x-win.el (x-alternatives-map):
13301         * term/ns-win.el (ns-alternatives-map):
13302         * term/internal.el (msdos-key-remapping-map):
13303         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13305 2009-09-14  Glenn Morris  <rgm@gnu.org>
13307         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13308         temp-buffers (2009-09-12).
13310 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13312         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13313         the new read-key function.
13315 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13317         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13318         is defined (Bug#4405).
13320 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
13322         * recentf.el (recentf-cleanup): Use a hash table to find
13323         duplicates (Bug#4407).
13325 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
13327         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13328         kp-0 to ascii equivalents (Bug#4325).
13330 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13332         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13334         * eshell/em-hist.el:
13335         * eshell/em-dirs.el (eshell-complete-user-reference):
13336         Declare pcomplete functions and variables to avoid compiler warnings.
13338 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
13340         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13341         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13342         * eshell/em-alias.el (eshell-aliases-file):
13343         * eshell/em-hist.el (eshell-history-file-name):
13344         Use expand-file-name instead of concat to make file names (Bug#4308).
13346 2009-09-13  Glenn Morris  <rgm@gnu.org>
13348         * ediff-merg.el (ediff-do-merge):
13349         * filesets.el (filesets-run-cmd):
13350         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13351         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13352         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13353         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13354         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13355         Replace empty `let's with `progn'.
13357 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13359         * mail/sendmail.el (send-mail-function):
13360         * tooltip.el (tooltip-mode):
13361         * simple.el (transient-mark-mode):
13362         * rfn-eshadow.el (file-name-shadow-mode):
13363         * frame.el (blink-cursor-mode):
13364         * font-core.el (global-font-lock-mode):
13365         * files.el (temporary-file-directory)
13366         (small-temporary-file-directory, auto-save-file-name-transforms):
13367         * epa-hook.el (auto-encryption-mode):
13368         * composite.el (global-auto-composition-mode):
13369         Use custom-initialize-delay.
13370         * startup.el (command-line): Don't explicitly call
13371         custom-reevaluate-setting for all the above vars.
13372         * custom.el (custom-initialize-safe-set)
13373         (custom-initialize-safe-default): Delete.
13375 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13377         * term/x-win.el (x-initialize-window-system):
13378         * term/w32-win.el (w32-initialize-window-system):
13379         * term/ns-win.el (ns-initialize-window-system): Don't call
13380         mouse-wheel-mode since it's enabled globally by default already.
13382         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13383         actually define the variable, but only silences the byte-compiler.
13384         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13385         before looking it up.
13386         (mouse-wheel-scroll-amount): Also reset the bindings if this value
13387         is changed.
13389 2009-09-12  Glenn Morris  <rgm@gnu.org>
13391         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13392         1000.
13393         (elint-add-required-env): Don't beep on error.
13394         (elint-forms): In case of error, return ENV unchanged.
13395         (elint-init-env): Skip non-list forms.
13396         (elint-log): Handle unknown file positions.
13398 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
13400         * epg.el (epg-make-context): Add autoload cookie.
13401         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13402         (epg-decrypt-string, epg-start-verify, epg-verify-file)
13403         (epg-verify-string, epg-start-sign, epg-sign-file)
13404         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13405         (epg-encrypt-string, epg-start-export-keys)
13406         (epg-export-keys-to-file, epg-export-keys-to-string)
13407         (epg-start-import-keys, epg-import-keys-from-file)
13408         (epg-import-keys-from-string, epg-start-receive-keys)
13409         (epg-receive-keys, epg-import-keys-from-server)
13410         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13411         (epg-sign-keys, epg-start-generate-key)
13412         (epg-generate-key-from-file, epg-generate-key-from-string):
13413         Remove autoload cookie.
13415 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
13417         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13418         reevaluation of trash-directory.
13420         * mwheel.el: Fix last change.
13421         (mouse-wheel-mode): New defvar.
13422         (mouse-wheel-mode): Remove autoload cookie.
13424 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13426         * mwheel.el (mwheel-installed-bindings): New var.
13427         (mouse-wheel-mode): Use it, so as to make sure we really remove all
13428         the bindings we set last time.  Use custom-initialize-delay.
13429         * loadup.el: Load mwheel after term/*-win.el.
13430         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13431         and mouse-wheel-up-event now that their first evaluation is done
13432         sufficiently late to be correct.
13434         * startup.el (tutorial-directory): Make it a defcustom.
13435         Use custom-initialize-delay rather than eval-at-startup to set it.
13436         * image.el (image-load-path): Make it a defcustom.
13437         Use custom-initialize-delay rather than eval-at-startup to set it.
13438         * subr.el (eval-at-startup): Remove.
13439         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13441         * subr.el (do-after-load-evaluation): Warn the user after loading an
13442         obsolete package.
13444 2009-09-12  Glenn Morris  <rgm@gnu.org>
13446         * proced.el (proced-mark-alt): Remove alias.
13447         (proced-mode-map): Remove proced-mark-alt.
13449         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13450         Elint file and directory.  Remove initialization entry.
13452         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13453         commands.
13454         (elint-current-buffer): Set mode-line-process.
13455         (elint-init-env): Handle define-derived-mode.
13456         Fix declare-function with unspecified arglist.  Guard against odd
13457         defalias statements (eg iso-insert's 8859-1-map).
13458         (elint-add-required-env): Use a temp buffer.
13459         (elint-form): Just print the function/macro name, not the whole form.
13460         Return env unchanged if we fail to parse a macro.
13461         (elint-forms): Guard against parse errors.
13462         (elint-output): New function, to handle batch mode.
13463         (elint-log-message): Add optional argument.  Use elint-output.
13464         (elint-set-mode-line): New function.
13466 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13468         * emacs-lisp/elp.el (elp-not-profilable): Add more
13469         functions (Bug#4233).
13471 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
13473         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13474         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13476 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13478         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13479         (gdb-var-list-children): Use json parsing.
13481 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
13483         * progmodes/js.el (js--proper-indentation): Handle the case where
13484         char-before is null.  Reported by Deniz Dogan.
13486 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13488         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13490 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
13492         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13493         (epg-digest-algorithm-alist): Add SHA224.
13494         (epg-context-set-passphrase-callback)
13495         (epg-context-set-progress-callback): Add description about
13496         callback function.
13498 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13500         * custom.el (custom-delayed-init-variables): New var.
13501         (custom-initialize-delay): New function.
13502         * startup.el (command-line): "Re"evaluate all vars in
13503         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
13504         explicitly any more.
13505         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13506         to avoid creating a ~/.emacs.d at build-time (bug#4347).
13508         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13510 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13512         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13513         (gdb-var-update-handler): Use json parsing.
13515 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13517         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13518         decode annotated text, regardless of language environment.  (Bug#2741)
13520 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13522         * Makefile.in (autoloads): Make rmail.el writable as well.
13524 2009-09-11  Glenn Morris  <rgm@gnu.org>
13526         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13527         loaddefs.el.
13528         * dired.el: Regenerate with extracted autoloads.
13529         * Makefile.in (autoloads): Make dired.el writable.
13531         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13532         * ibuffer.el: Regenerate with extracted autoloads.
13533         * Makefile.in (autoloads): Make ibuffer.el writable.
13535         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13536         * version.el (emacs-copyright, emacs-major-version)
13537         (emacs-minor-version): Reformat doc-strings for make-docfile.
13539         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13540         functions and variables, since they must be stuff specific to some other
13541         platform.
13542         (apropos-print): Make mouse-click message less specific about button.
13544         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13545         that records where a macro was defined.
13546         * help-fns.el (describe-function-1): Mention if a function has a
13547         compiler-macro.
13548         * help-mode.el (help-function-cmacro): New button.
13550         * locate.el (top-level): Always require dired.
13551         (locate-mode-map): Initialize inside the defvar.
13553         * net/ange-ftp.el (dired-compress-file): Declare.
13554         (ange-ftp-dired-compress-file): Add doc string.
13556         * term/ns-win.el (x-display-name, x-setup-function-keys):
13557         Unify doc-strings with X versions.
13559 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13561         * emulation/crisp.el (crisp-mode-map): Move initialization
13562         into declaration.
13563         (crisp-mode): Use define-minor-mode.
13565         * progmodes/xscheme.el (xscheme-evaluation-commands):
13566         Put a :advertised-binding property rather than using
13567         advertised-xscheme-send-previous-expression.
13568         (advertised-xscheme-send-previous-expression): Declare obsolete.
13569         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13570         `advertised-undo'.
13571         (crisp-mode): Add corresponding bindings to
13572         undo's :advertised-binding instead.
13573         * dired.el (dired-mode-map): Put a :advertised-binding property rather
13574         than using dired-advertised-find-file.
13575         (dired-advertised-find-file):
13576         * simple.el (advertised-undo):
13577         * wid-edit.el (advertised-widget-backward): Declare obsolete.
13578         (widget-keymap): Put a :advertised-binding property rather
13579         than using advertised-widget-backward.
13580         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13581         than using advertised-undo.
13582         * tutorial.el (tutorial--default-keys): Adjust accordingly.
13584 2009-09-10  Simon South  <ssouth@slowcomputing.org>
13586         * progmodes/delphi.el (delphi-tab): Indent region when Transient
13587         Mark mode is enabled and region is active; otherwise indent or
13588         insert TAB as usual.
13589         (delphi-mode): Update description of TAB-key binding.
13591 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13593         * subr.el (define-key-rebound-commands): Mark obsolete.
13594         * startup.el (precompute-menubar-bindings): Remove.
13595         (normal-top-level): Remove obsolete code that tried to precompute
13596         menubar bindings.
13597         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13598         define-key-rebound-commands and precompute-menubar-bindings.
13600 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
13602         * net/imap.el (imap-interactive-login): Better messages.
13603         (imap-open): Fix bug with renamed buffer on reconnect.
13604         (imap-authenticate): Add buffer-local imap-last-authenticator variable
13605         for easier debugging and cleaner code.  On successful (guessed based on
13606         server capabilities) secondary authentication, set imap-state
13607         correctly.
13608         (imap-last-authenticator): Define imap-last-authenticator as a variable
13609         to avoid warnings.
13611 2009-09-10  Glenn Morris  <rgm@gnu.org>
13613         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13615         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13616         (byte-compile-file-form-autoload): Don't warn about unknown functions
13617         where the autoload statement comes after the use.
13618         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13619         that any handlers inside the body (eg require) are in turn respected.
13621         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13622         effects.
13624         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13625         and syntax and abbrev tables basic docs, if they don't have any.
13627         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13629         * international/mule-cmds.el (top-level): Require cl when compiling.
13630         (view-hello-file): Use default-value rather than
13631         default-enable-multibyte-characters.
13633         * progmodes/fortran.el: Move all safe and risky properties into the
13634         defcustoms.
13636         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13637         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13638         * mail/undigest.el:
13639         Put autoloads in rmail.el rather than loaddefs.el.
13640         * mail/rmail.el: Regenerate with extracted autoloads.
13642         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13643         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13645 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
13647         Reported in thread for Bug#4375.
13648         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13649         "-data-evaluate-expression" instead of print.
13650         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13651         (gdb-tooltip-print): Parse output from above MI command.
13652         (gdb): Revert 2009-08-11 change.  User should detach inferior
13653         manually.
13655         Remove the word "separate" from IO functions as inferior
13656         output is now never displayed in the GUD buffer.
13658 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
13660         * startup.el (command-line-normalize-file-name): On Windows and
13661         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13663 2009-09-10  Juri Linkov  <juri@jurta.org>
13665         * isearch.el (isearch-text-char-description): Propertize escape
13666         character sequences with the `escape-glyph' face.  (Bug#4344)
13668         * simple.el (shell-command): Set asynchronous process filter to
13669         `comint-output-filter'.  (Bug#4343)
13671         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13672         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
13673         the list.  Move "asm" to the bottom.
13674         (grep-find-ignored-directories): Add `choice' with nil value
13675         to empty the list easily.
13676         (grep-find-ignored-files): New option.
13677         (grep-files-history): Set to nil by default instead of '("ch" "el").
13678         (grep-compute-defaults): Add "<X>" to `grep-template'.
13679         (grep-read-files): Bind new local variables `default-alias' and
13680         `default-extension'.  Use a list of default values for the file prompt.
13681         (lgrep): Add `--exclude=' command line options composed from
13682         `grep-find-ignored-files'.
13683         (rgrep): Add `-name' command line options composed from
13684         `grep-find-ignored-files'.  (Bug#4301)
13686 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13688         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13689         (bug#4368).
13691 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
13693         * calendar/time-date.el (autoload):
13694         Expand define-obsolete-function-alias into defalias and make-obsolete
13695         for old Emacsen that Gnus supports.
13696         (with-no-warnings): Define it for old Emacsen.
13697         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13698         is available.
13699         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13700         float-time is available; suppress compile warning for time-to-seconds.
13702 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
13704         * net/imap.el (imap-message-map): Docstring fix.
13706 2009-09-09  Glenn Morris  <rgm@gnu.org>
13708         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13709         line numbers too.  (Bug#4374)
13711 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13713         * smerge-mode.el (smerge-remove-props, smerge-refine):
13714         Use with-silent-modifications (bug#4342).
13716         * subr.el (with-silent-modifications): New macro.
13718 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
13720         * files.el (top-level): Require `cl' when compiling.
13722 2009-09-07  Glenn Morris  <rgm@gnu.org>
13724         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13726         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13727         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
13729 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
13731         * vc-git.el (vc-git-annotate-command): Use separator to parse
13732         arguments correctly.
13734 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
13736         * proced.el (proced-mode): Doc fix.
13738 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
13740         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13741         lstat fails.
13742         (tramp-do-file-attributes-with-ls): Check for file existence at
13743         remote end.
13744         (tramp-do-file-attributes-with-stat): Likewise.
13745         (tramp-convert-file-attributes): Return nil when attr is nil.
13747 2009-09-05  Glenn Morris  <rgm@gnu.org>
13749         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13750         properties to this button.
13751         (diary-fancy-display): Don't extend the button to the final newline.
13752         (diary-fancy-display-mode): Continue to define "q" as a local key.
13754         * calendar/cal-china.el (holiday-chinese): Make it slightly more
13755         efficient.
13757         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13759         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13760         (byte-compile-dest-file-function): New option.
13761         (byte-compile-dest-file): Doc fix.
13762         Obey byte-compile-dest-file-function.
13763         (byte-compile-cl-file-p): New function.
13764         (byte-compile-eval): Only suppress noruntime warnings about cl functions
13765         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
13766         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13767         than for file being previously loaded.
13768         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13769         (byte-compile-file-form-require): Handle the case where requiring a file
13770         indirectly causes CL to be loaded.
13772 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13774         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13775         before killing the old buffer, since by the time `kill-buffer' is
13776         run so many buffer variables have been set to nil that it may not
13777         behave as expected.  (Bug#4061)
13779 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13781         * files.el (find-alternate-file): If the old buffer is modified
13782         and visiting a file, behave similarly to `kill-buffer' when
13783         killing it, thus reverting to the pre-1.878 behavior; see
13784         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13785         for discussion.  Also, consult `buffer-file-name' as a variable
13786         not as a function, for consistency with the rest of the code.
13788 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
13790         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13791         also when adding a new directory.
13793         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13794         defun.
13796 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13798         * files.el (locate-file-completion-table): Make it provide boundary
13799         information, so partial-completion works better.
13801 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
13803         * mail/footnote.el (Footnote-text-under-cursor):
13804         Check footnote-text-marker-alist before using it (bug#4324).
13806 2009-09-04  Glenn Morris  <rgm@gnu.org>
13808         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13809         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13810         * play/solitaire.el, play/tetris.el:
13811         Remove leading * from defcustom and defface docs.
13813         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13814         necessary.
13815         (diary-fancy-overriding-map): New variable.
13816         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13817         Use view-mode.
13819         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13820         goto-line.
13822 2009-09-03  Glenn Morris  <rgm@gnu.org>
13824         * arc-mode.el (archive-mode):
13825         * dos-fns.el (set-default-process-coding-system):
13826         * man.el (Man-getpage-in-background):
13827         * menu-bar.el (menu-bar-describe-menu):
13828         * server.el (server-process-filter):
13829         * startup.el (command-line):
13830         * tar-mode.el (tar-header-block-tokenize, tar-extract):
13831         * w32-fns.el (set-default-process-coding-system):
13832         * x-dnd.el (x-dnd-handle-file-name):
13833         * international/mule-cmds.el (mule-menu-keymap)
13834         (set-default-coding-systems, language-info-alist, set-language-info)
13835         (set-language-environment, standard-display-european-internal)
13836         (set-locale-environment):
13837         * international/mule-diag.el (mule-diag):
13838         * mail/emacsbug.el (report-emacs-bug):
13839         * mail/rmail.el (rmail-mode):
13840         * mail/sendmail.el (mail-setup):
13841         Use default-value rather than default-enable-multibyte-characters.
13843         * progmodes/f90.el: Move all safe properties into the defcustoms.
13844         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13846         * calendar/appt.el (appt-check):
13847         * calendar/diary-lib.el (diary-set-header, diary-live-p)
13848         (diary-check-diary-file, diary-list-entries)
13849         (diary-include-other-diary-files, diary-simple-display)
13850         (diary-fancy-display, diary-print-entries)
13851         (diary-mark-included-diary-files, diary-make-entry):
13852         Don't call substitute-in-file-name on diary-file.
13854 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
13855             Stefan Monnier  <monnier@iro.umontreal.ca>
13857         * mail/footnote.el (footnote-prefix): Make it a defcustom.
13858         (footnote-mode-map): Move initialization into the declaration.
13859         (footnote-minor-mode-map): Define it rather than changing global-map.
13860         (footnote-mode): Use define-minor-mode.
13862 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
13864         * net/tramp.el (tramp-handle-file-attributes-with-ls)
13865         (tramp-do-file-attributes-with-perl)
13866         (tramp-do-file-attributes-with-stat): Rename from
13867         `tramp-handle-file-attributes-with-*'.
13868         (tramp-handle-file-attributes): Use them.
13869         (tramp-do-directory-files-and-attributes-with-perl)
13870         (tramp-do-directory-files-and-attributes-with-stat): Rename from
13871         `tramp-handle-directory-files-and-attributes-with-*'.
13872         (tramp-handle-directory-files-and-attributes): Use them.
13873         (tramp-method-out-of-band-p): Additional parameter SIZE.
13874         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13875         (tramp-handle-write-region): Use it.
13876         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13877         (tramp-handle-vc-registered): Check, whether the first run did
13878         return files to be tested.
13879         (tramp-advice-make-auto-save-file-name): Do not call directly
13880         `tramp-handle-make-auto-save-file-name', because this would bypass
13881         the locking mechanism.
13883         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13884         (file-remote-p, process-file, start-file-process, set-file-times)
13885         (tramp-compat-file-attributes): Compatibility functions shall not
13886         call directly `tramp-handle-*', because this would bypass the
13887         locking mechanism.
13888         (tramp-compat-number-sequence): New defun.
13890 2009-09-02  Glenn Morris  <rgm@gnu.org>
13892         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
13893         alias for float-time.
13894         (time-to-number-of-days): In Emacs, use float-time.
13895         * net/newst-backend.el (time-add): Suppress warnings from compat
13896         function.
13897         * time.el (emacs-uptime, emacs-init-time):
13898         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
13899         Use float-time rather than time-to-seconds.
13901         * minibuffer.el (completion-initials-expand): Fix typo.
13903         * faces.el (modeline, modeline-inactive, modeline-highlight)
13904         (modeline-buffer-id):
13905         * info.el (info-menu-5): Mark these face aliases as obsolete.
13907 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
13909         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
13910         space ...
13911         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
13912         no "--thread" option.
13913         (gdb-stopped): Don't print "Switched to thread" message when it is
13914         unchanged.
13916 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13918         * minibuffer.el (completion-try-completion)
13919         (completion-all-completions): Remove ill-defined (and
13920         mistakenly installed and luckily never used nor documented)
13921         `completion-styles' property.
13922         (completion-initials-expand, completion-initials-all-completions)
13923         (completion-initials-try-completion): New functions.
13924         (completion-styles-alist): Add doc to each entry.
13925         Add new `initials' entry.
13927 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
13929         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
13930         MI command -var-evaluate-expression.
13931         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
13932         and tweak for case of string child.
13933         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
13935 2009-09-01  Glenn Morris  <rgm@gnu.org>
13937         * add-log.el (change-log-date-face, change-log-name-face)
13938         (change-log-email-face, change-log-file-face, change-log-list-face)
13939         (change-log-conditionals-face, change-log-function-face)
13940         (change-log-acknowledgement-face):
13941         * cus-edit.el (custom-invalid-face, custom-rogue-face)
13942         (custom-modified-face, custom-set-face, custom-changed-face)
13943         (custom-saved-face, custom-button-face, custom-button-pressed-face)
13944         (custom-documentation-face, custom-state-face, custom-comment-face)
13945         (custom-comment-tag-face, custom-variable-tag-face)
13946         (custom-variable-button-face, custom-face-tag-face)
13947         (custom-group-tag-face-1, custom-group-tag-face):
13948         * diff-mode.el (diff-header-face, diff-file-header-face)
13949         (diff-index-face, diff-hunk-header-face, diff-removed-face)
13950         (diff-added-face, diff-changed-face, diff-function-face)
13951         (diff-context-face, diff-nonexistent-face):
13952         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
13953         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
13954         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
13955         (Info-title-4-face):
13956         * isearch.el (isearch-lazy-highlight-face):
13957         * log-view.el (log-view-file-face, log-view-message-face):
13958         * paren.el (show-paren-match-face, show-paren-mismatch-face):
13959         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
13960         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
13961         (cvs-msg-face):
13962         * smerge-mode.el (smerge-mine-face, smerge-other-face)
13963         (smerge-base-face, smerge-markers-face):
13964         * wid-edit.el (widget-documentation-face, widget-button-face)
13965         (widget-field-face, widget-single-line-field-face)
13966         (widget-inactive-face, widget-button-pressed-face):
13967         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
13968         (woman-addition-face):
13969         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
13970         (eshell-ls-executable-face, eshell-ls-readonly-face)
13971         (eshell-ls-unreadable-face, eshell-ls-special-face)
13972         (eshell-ls-missing-face, eshell-ls-archive-face)
13973         (eshell-ls-backup-face, eshell-ls-product-face)
13974         (eshell-ls-clutter-face):
13975         * eshell/em-prompt.el (eshell-prompt-face):
13976         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
13977         * obsolete/old-whitespace.el (whitespace-highlight-face):
13978         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
13979         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
13980         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
13981         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
13982         (antlr-font-lock-literal-face):
13983         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
13984         (ebrowse-root-class-face, ebrowse-file-name-face)
13985         (ebrowse-default-face, ebrowse-member-attribute-face)
13986         (ebrowse-member-class-face, ebrowse-progress-face):
13987         * progmodes/make-mode.el (makefile-space-face):
13988         * progmodes/sh-script.el (sh-heredoc-face):
13989         * textmodes/flyspell.el (flyspell-incorrect-face)
13990         (flyspell-duplicate-face):
13991         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
13992         * textmodes/texinfo.el (texinfo-heading-face):
13993         Mark face aliases with "-face" suffix as obsolete.
13995         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
13996         compiler.
13998         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
13999         (eudc-bob-sound-menu): Use defvar rather than defconst, since
14000         easy-menu-define wants to modify these.
14002         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14004         * net/browse-url.el (browse-url-file-url):
14005         * term/internal.el (dos-codepage-setup):
14006         Use default-value rather than default-enable-multibyte-characters.
14008         * progmodes/etags.el (etags-goto-tag-location):
14009         * progmodes/flymake.el (flymake-highlight-line)
14010         (flymake-goto-file-and-line, flymake-goto-line):
14011         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14012         (gdb-goto-breakpoint):
14013         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14014         * progmodes/python.el (python-find-function)
14015         (python-pdbtrack-track-stack-file):
14016         * progmodes/verilog-mode.el (verilog-surelint-off):
14017         * term/ns-win.el (ns-open-file-select-line):
14018         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14019         Use forward-line rather than goto-line.
14021         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14022         * textmodes/reftex-index.el (reftex-display-index):
14023         * textmodes/reftex-ref.el (reftex-offer-label-menu):
14024         * textmodes/reftex-toc.el (reftex-toc):
14025         Remove unnecessary bindings of default-major-mode (all are followed by
14026         major-mode check and possible mode switch).
14028 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14030         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14031         Handle watchpoints (bug#4282).
14032         (def-gdb-thread-buffer-command): Enable thread to be selected by
14033         clicking without selecting threads buffer first.
14034         (gdb-current-context-command): Use selected frame so that "up",
14035         "down" etc work in the GUD buffer.
14036         (gdb-update): Find selected frame before rendering stack buffer.
14037         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14039 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14041         * progmodes/sym-comp.el (displayed-completions): Remove.
14042         (symbol-complete): Use minibuffer-complete.
14044 2009-08-31  Glenn Morris  <rgm@gnu.org>
14046         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14048         * apropos.el (apropos-symbols-internal):
14049         Handle (obsolete) face aliases.
14051         * faces.el (describe-face): Adjust the output format to be more like
14052         describe-variable, and to mention (obsolete) face aliases.
14053         Adjust the whitespace so that help-setup-xref works.
14055         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14056         * calendar/diary-lib.el (diary-button-face):
14057         Mark these face aliases as obsolete.
14059         * calendar/calendar.el (calendar-today): Doc fix.
14061 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14063         * progmodes/gdb-mi.el (gdb-control-all-threads)
14064         (gdb-control-current-thread): Force tool bar update.
14065         (gdb-non-stop-handler): New function.
14066         (gdb-init-1): Use it to test if non-stop mode is supported.
14067         Remove unused gdbmi buffer type.
14069 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14071         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14072         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
14074 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
14076         * comint.el (comint-exec-1): Check command is non-null first.
14077         Part of gdb-mi.el change (2009-08-28).
14079 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14081         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14083 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
14085         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14086         instead of `dolist' to avoid a recursive require when bootstrapping.
14088 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14090         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14092         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14094         * net/imap.el (imap-send-command): Simplify.
14095         (imap-wait-for-tag): point-max -> buffer-size.
14097         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14099         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14100         with constant argument.
14102         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14104         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14106         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14107         Change default, since most of our files don't have a history.
14108         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14109         the user.
14111         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14112         Add comint-run.
14114         * calc/calc.el: Improve commenting convention.
14115         (calc-digit-map, toplevel): Simplify.
14117         * comint.el (comint-insert-input): Be careful to only set point if we
14118         don't delegate to some other command.
14120         * proced.el (proced-signal-list): Make it an alist.
14121         (proced-grammar-alist): Capitalize names.
14122         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14123         Disable undo manually and make it read-only.
14124         Use completion-annotate-function.
14126         * minibuffer.el (minibuffer-message): If the current buffer is not
14127         a minibuffer, insert the message in the echo area rather than at the
14128         end of the buffer.
14129         (completion-annotate-function): New variable.
14130         (minibuffer-completion-help): Use it.
14131         (completion--embedded-envvar-table): Environment vars are
14132         always case-sensitive.
14134 2009-08-30  Glenn Morris  <rgm@gnu.org>
14136         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14137         from fortran-current-defun.
14138         (fortran-beginning-of-subprogram): Be more precise about finding the
14139         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
14140         (fortran-end-of-subprogram): Simplify.
14141         (fortran-current-defun): Use fortran-start-prog-re.
14143 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
14145         * subr.el (do-after-load-evaluation): Simplify.
14147 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
14149         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14151         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
14152         (vc-rcs-print-log): Use it.
14154         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14156 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14158         * paths.el (abbrev-file-name): Move to abbrev.el.
14159         * abbrev.el (abbrev-file-name): Move from paths.el.
14160         Obey user-emacs-directory.
14161         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14162         user-emacs-directory.
14163         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14164         abbrev-file-name and calc-settings-file any more.
14165         * startup.el (command-line): Recompute abbrev-file-name and
14166         abbreviated-home-dir.
14167         (normal-no-mouse-startup-screen): Improve the generic code and get rid
14168         of the special code for when C-h bindings haven't been changed.
14169         (display-startup-echo-area-message): Use with-current-buffer.
14170         (command-line-1): Use a list of strings, rather than a list of lists
14171         of strings for longopts.
14173         * files.el (get-free-disk-space): Use / for default-directory.
14175         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14176         Use with-current-buffer.
14178         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14179         Recognize immutable variables like most-positive-fixnum.
14180         (byte-compile-setq-default): Check and warn if trying to assign
14181         to an immutable variable, or a non-variable.
14183         * progmodes/cc-vars.el (c-comment-continuation-stars):
14184         * progmodes/cc-engine.el (c-looking-at-bos):
14185         * progmodes/cc-cmds.el (c-toggle-auto-state)
14186         (c-forward-into-nomenclature, c-backward-into-nomenclature)
14187         (c-comment-line-break-function): Add version of obsolescence.
14189 2009-08-28  Juri Linkov  <juri@jurta.org>
14191         * files.el (magic-fallback-mode-alist): Add ZIP magic number
14192         associated with `archive-mode'.
14194         * image.el (image-type-header-regexps): Use only JPEG magic number
14195         to determine JPEG images, and don't use `image-jpeg-p' because
14196         Emacs can display non-JFIF non-Exif JPEG images.
14198 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14200         * arc-mode.el (archive-mode):
14201         * emacs-lisp/re-builder.el (re-builder-unload-function):
14202         Protect against the default value of `major-mode' being nil.
14204 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14206         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14207         Fix typos in docstrings.
14209         * progmodes/js.el (js--macro-decl-re): Doc fix.
14210         (js--plain-method-re, js--split-name): Refloc docstring.
14211         (js--class-styles, js--make-merged-item, js--splice-into-items):
14212         Fix typos in docstrings; reflow docstrings.
14213         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14214         (js--variable-decl-matcher, js--inside-pitem-p)
14215         (js--parse-state-at-point, js--get-all-known-symbols)
14216         (js--symbol-history, js-find-symbol, js--js-references)
14217         (js--moz-interactor, js--js-encode-value, js--read-tab):
14218         Fix typos in docstrings.
14220 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14222         * textmodes/reftex.el (reftex-get-file-buffer-force):
14223         * progmodes/verilog-mode.el (verilog-batch-execute-func):
14224         * emulation/viper.el (viper-go-away, viper-set-hooks):
14225         * emacs-lisp/re-builder.el (re-builder-unload-function):
14226         * emacs-lisp/bytecomp.el (byte-compile-file):
14227         * ses.el (ses-unload-function):
14228         * hexl.el (hexl-find-file):
14229         * files.el (normal-mode):
14230         * ehelp.el (with-electric-help):
14231         * autoinsert.el (auto-insert-alist):
14232         * arc-mode.el (archive-mode):
14233         Use (default-value 'major-mode) instead of default-major-mode.
14235         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14236         * international/mule.el (load-with-code-conversion):
14237         * emacs-lisp/debug.el (debug):
14238         * ediff-vers.el (ediff-rcs-get-output-buffer):
14239         * dired.el (dired-internal-noselect): Don't let-bind
14240         default-major-mode around code that doesn't use it.
14241         E.g. buffer creation via get-buffer-create doesn't use it.
14243 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
14245         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14246         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14247         when writing the temp file.  Otherwise, epa-file gets confused.
14248         (tramp-register-file-name-handlers): Make it a defun.  Move also
14249         `epa-file-handler' to the front of `file-name-handler-alist'.
14251 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14253         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14254         start right after a ^M.
14255         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14256         (tramp-completion-file-name-regexp-separate)
14257         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14258         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14259         Don't modify last-coding-system-used by accident.
14260         (tramp-completion-file-name-handler): Apply the checks here,
14261         instead during registration.
14262         (tramp-register-file-name-handlers): Renamed from
14263         `tramp-register-file-name-handler'.  Register both
14264         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14265         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
14267 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
14269         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14270         Remove variable ...
14271         (gdb-init-1, gdb-display-separate-io-buffer)
14272         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14273         references to it.
14274         (gdb-inferior-io-mode): Use make-comint-in-buffer.
14275         (gdb-inferior-filter): Use comint-output-filter to stop
14276         echoing and remove ^M characters.
14278 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14280         * emulation/viper-init.el (viper-restore-cursor-type):
14281         * emulation/cua-base.el (cua--update-indications):
14282         Replace default-cursor-type with (default-value 'cursor-type).
14284         * mail/sendmail.el (mail-recover-1):
14285         * international/mule-diag.el (describe-current-coding-system-briefly)
14286         (describe-current-coding-system):
14287         * international/mule-cmds.el (select-safe-coding-system)
14288         (select-message-coding-system)
14289         (set-language-environment-coding-systems, set-locale-environment):
14290         * hexl.el (hexl-insert-multibyte-char):
14291         * dos-w32.el (find-buffer-file-type-coding-system):
14292         * simple.el (what-cursor-position):
14293         Replace uses of default-buffer-file-coding-system
14294         with (default-value 'buffer-file-coding-system).
14296         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14297         Replace uses of default-cursor-in-non-selected-windows
14298         with (default-value 'cursor-in-non-selected-windows).
14299         Use with-current-buffer.
14301         * mail/feedmail.el: Use CL macros.
14302         (feedmail-run-the-queue, feedmail-send-it-immediately):
14303         * dos-w32.el (find-buffer-file-type): Replace uses of
14304         default-buffer-file-type with (default-value 'buffer-file-type).
14306 2009-08-28  Glenn Morris  <rgm@gnu.org>
14308         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14309         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14310         Use default-value of major-mode rather than default-major-mode.
14312 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14314         * Makefile.in (update-elcfiles): Report left over elc files.
14316         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14317         expand-file-name and with-current-buffer.
14318         (mail-get-names, mail-directory): Use with-current-buffer.
14320         * vc.el (vc-read-revision): New function.
14321         (vc-version-diff, vc-merge): Use it.
14323 2009-08-27  Sam Steingold  <sds@gnu.org>
14325         * simple.el (kill-do-not-save-duplicates): New user option.
14326         (kill-new): When it is non-nil, and the new string is the same as
14327         the latest kill, set replace to t to avoid duplicates in kill-ring.
14329 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
14331         * net/tramp.el (tramp-handle-process-file): Do not flush all
14332         caches when `process-file-side-effects' is set.
14333         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14334         instead of `tramp-find-file-exists-command'.
14335         Unset `process-file-side-effects'.
14337 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
14339         * net/tramp.el (tramp-methods): New method "rsyncc".
14340         (top): Add completion function for "rsyncc".
14341         (tramp-message-show-message): New defvar.
14342         (tramp-message, tramp-error): Use it.
14343         (tramp-do-copy-or-rename-file-directly): Extend check for direct
14344         remote copying.
14345         (tramp-do-copy-or-rename-file-out-of-band): Handle new
14346         `tramp-methods' entry `copy-env' of "rsyncc".
14347         (tramp-vc-registered-read-file-names): New defconst.
14348         (tramp-vc-registered-file-names): New defvar.
14349         (tramp-handle-vc-registered): Implement optimization strategy.
14350         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14351         (tramp-vc-file-name-handler): New defun.
14352         (tramp-get-ls-command, tramp-get-test-command)
14353         (tramp-get-file-exists-command, tramp-get-remote-ln)
14354         (tramp-get-remote-perl, tramp-get-remote-stat)
14355         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14357         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14358         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
14359         timestamps.
14360         (tramp-get-file-property): Check for timestamps in
14361         `tramp-cache-inhibit-cache'.
14362         (tramp-set-file-property): Write timestamp.
14364 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14366         * language/japan-util.el (japanese-symbol-table): Add entries for
14367         cp932-2-byte.
14369         * international/characters.el: Add category `j' to cp932-2-byte.
14371 2009-08-27  Kenichi Handa  <handa@m17n.org>
14373         * international/fontset.el (build-default-fontset-data): New macro.
14374         (setup-default-fontset): Use build-default-fontset-data for CJK,
14375         tibetan, ethiopic, and ipa.
14377 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14379         * cus-start.el (default-major-mode): Customize `major-mode' instead.
14380         (enable-multibyte-characters): Not customizable any more.
14382         * subr.el (default-mode-line-format, default-header-line-format)
14383         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14384         (default-direction-reversed, default-truncate-lines)
14385         (default-left-margin, default-tab-width, default-case-fold-search)
14386         (default-left-margin-width, default-right-margin-width)
14387         (default-left-fringe-width, default-right-fringe-width)
14388         (default-fringes-outside-margins, default-scroll-bar-width)
14389         (default-vertical-scroll-bar, default-indicate-empty-lines)
14390         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14391         (default-fringe-cursor-alist, default-scroll-up-aggressively)
14392         (default-scroll-down-aggressively, default-fill-column)
14393         (default-cursor-type, default-buffer-file-type)
14394         (default-cursor-in-non-selected-windows)
14395         (default-buffer-file-coding-system, default-major-mode)
14396         (default-enable-multibyte-characters): Mark as obsolete.
14398 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
14400         * vc-dir.el (vc-dir-update): Remove debug helper.
14402         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14404 2009-08-26  Sam Steingold  <sds@gnu.org>
14406         * simple.el (save-interprogram-paste-before-kill): New user option.
14407         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14408         save the interprogram-paste into kill-ring before overriding it
14409         with the Emacs kill.
14411 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14413         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14414         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14415         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14416         and move to vc-rcs.el.
14417         (vc-default-next-revision): Rename to vc-rcs-next-revision and
14418         move to vc-rcs.el.
14419         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14420         (vc-rcs-update-changelog): Remove.
14421         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14422         and move to vc-rcs.el.
14424         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14425         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14426         renaming.
14427         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14428         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14429         vc.el, renamed to be RCS specific.
14431         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14432         New functions.
14433         (vc-cvs-update-changelog): Move here from vc.el.
14435         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14436         New functions.
14438 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14440         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14442 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14444         * vc-git.el (vc-git-register): Use "git add" for directories.
14445         (vc-git-stash, vc-git-stash-show): New functions.
14446         (vc-git-extra-menu-map): Bind them.
14448         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14449         directory correctly in case the item is a directory itself.
14451         * vc.el: Document the desired behavior for reverted files in the
14452         `added' state.
14453         (vc-default-prettify-state-info): Remove function, unused.
14455         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14457 2009-08-26  Glenn Morris  <rgm@gnu.org>
14459         * bindings.el (standard-mode-line-format): Reposition dashes in
14460         which-func entry.  (Bug#4217)
14462         * files.el (enable-local-variables, enable-local-eval)
14463         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14464         the defcustoms.
14465         (auto-mode-alist, ignored-local-variables)
14466         (save-some-buffers-action-alist): Move risky declarations to the
14467         definitions.
14468         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14469         (font-lock-defaults, format-alist, imenu--index-alist)
14470         (imenu-generic-expression, input-method-alist, minor-mode-alist)
14471         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14472         (mode-line-modified, mode-line-mule-info, mode-line-position)
14473         (mode-line-process, mode-line-remote, outline-level)
14474         (parse-time-rules, rmail-output-file-alist)
14475         (special-display-buffer-names, vc-mode):
14476         Move risky declarations to the relevant files.
14477         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14478         (mode-line-modified, mode-line-process, mode-line-position)
14479         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14480         * font-core.el (font-lock-defaults):
14481         * format.el (format-alist):
14482         * vc-hooks.el (vc-mode):
14483         * window.el (special-display-buffer-names):
14484         * international/mule-cmds.el (input-method-alist):
14485         Define riskiness here (dumped file) rather than in files.el.
14486         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14487         * imenu.el (imenu-generic-expression, imenu--index-alist):
14488         * outline.el (outline-level):
14489         * time.el (display-time-string):
14490         * calendar/parse-time.el (parse-time-rules):
14491         * mail/rmailout.el (rmail-output-file-alist):
14492         Autoload riskiness here, rather than placing in files.el.
14494 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
14496         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14498 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
14500         * simple.el (process-file-side-effects): New defvar.
14502         * dired-aux.el (dired-show-file-type):
14503         * vc.el (vc-diff-internal):
14504         * vc-arch.el (vc-arch-diff):
14505         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14506         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14507         * vc-git.el (vc-git-registered, vc-git-working-revision)
14508         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14509         (vc-git--empty-db-p):
14510         * vc-hooks.el (vc-user-login-name):
14511         * vc-svn.el (vc-svn-registered, vc-svn-state)
14512         (vc-svn-dir-extra-headers, vc-svn-find-revision):
14513         * progmodes/grep.el (grep-probe): Let-bind
14514         `process-file-side-effects' with nil.
14516         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14518         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14519         daemon.  Replace ping by checking for running service for bluez
14520         and zeroconf.  (Bug#4239)
14522 2009-08-25  Kevin Ryde  <user42@zip.com.au>
14524         * net/dig.el (dig): Add autoload cookie.
14526 2009-08-25  Glenn Morris  <rgm@gnu.org>
14528         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14529         load-history for absolute file-names.
14530         (byte-compile-file-form-require): Warn about use of the cl package.
14532         * format.el (format-alist): Doc fix.
14534         * play/bubbles.el (top-level): Don't require cl at run-time.
14536         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14537         run-time cl).
14539 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
14541         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14542         from cl package.
14543         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14545 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
14547         * calc/calc-alg.el (math-trig-rewrite)
14548         (math-hyperbolic-trig-rewrite): New functions.
14549         (calc-simplify): Simplify trig functions when asked.
14551 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14553         * diff-mode.el (diff-find-source-location): Avoid goto-line.
14555 2009-08-24  Kenichi Handa  <handa@m17n.org>
14557         * language/ind-util.el (mapthread): Delete it.
14558         (combinatorial): New function.
14559         (indian--puthash-cv): Use combinatorial instead of mapthread.
14561 2009-08-22  Kevin Ryde  <user42@zip.com.au>
14563         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14564         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14565         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14566         Clarify docstring that the value is strings not symbols.
14567         (checkdoc-list-of-strings-p): New function.
14569 2009-08-22  Glenn Morris  <rgm@gnu.org>
14571         * files.el (auto-mode-alist):
14572         * hippie-exp.el (he-concat-directory-file-name):
14573         * lpr.el (lpr-windows-system, printer-name):
14574         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14575         * ps-print.el (ps-windows-system):
14576         * startup.el (command-line):
14577         * emulation/viper-ex.el (viper-glob-function):
14578         * international/mule-cmds.el (set-language-environment-coding-systems):
14579         * net/ange-ftp.el (ange-ftp-write-region):
14580         * obsolete/fast-lock.el (fast-lock-cache-name):
14581         Remove code for defunct system-types emx, macos, mswindows, next-mach,
14582         unisoft-unix, vax-vms, win32, w32.
14584         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14585         given name if the pattern is not more specific.
14587         * calendar/lunar.el (lunar-phase-names): New option.
14588         (lunar-phase): Doc fix.
14589         (lunar-cycles-per-year): New constant.
14590         (lunar-index): New function.
14591         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14592         (lunar-phase-name): Use lunar-phase-names.
14593         (calendar-lunar-phases): Use format.
14594         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14596         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14597         Copy imenu-example--name-and-position function here for own use.
14598         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14600         * bs.el (bs--redisplay):
14601         * cus-edit.el (custom-redraw):
14602         * ibuffer.el (ibuffer-bury-buffer):
14603         * server.el (server-goto-line-column):
14604         * startup.el (command-line-1):
14605         * strokes.el (strokes-xpm-for-stroke):
14606         * term.el (term-display-buffer-line):
14607         * view.el (View-goto-line):
14608         * calc/calc.el (calc-do, calc-trail-buffer):
14609         * play/gamegrid.el (gamegrid-add-score-insecure):
14610         * progmodes/ada-mode.el (ada-compile-goto-error):
14611         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14612         (ebrowse-select-1st-to-9nth):
14613         * progmodes/cperl-mode.el (cperl-time-fontification):
14614         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14615         * progmodes/gud.el (gud-display-line):
14616         (idlwave-shell-display-line):
14617         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14618         * progmodes/make-mode.el (makefile-browser-toggle):
14619         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14620         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14621         * textmodes/picture.el (picture-draw-rectangle):
14622         * textmodes/reftex-index.el (reftex-index-goto-letter):
14623         (reftex-select-jump-to-previous):
14624         * textmodes/reftex-sel.el (reftex-find-start-point)
14625         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14626         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14627         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14628         * textmodes/tex-mode.el (tex-compilation-parse-errors):
14629         * textmodes/two-column.el (2C-associated-buffer):
14630         Use forward-line rather than goto-line.
14632         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14633         goto-line.
14635         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14636         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14637         (quick-check-list-to-regexp): Declare.
14639         * progmodes/make-mode.el (makefile-browser-insert-selection):
14640         Use goto-char rather than goto-line.
14642         * progmodes/prolog.el (compilation-error-regexp-alist)
14643         (compilation-forget-errors): Declare.
14645 2009-08-22  Juri Linkov  <juri@jurta.org>
14647         * progmodes/grep.el (lgrep, rgrep): At the beginning
14648         set `dir' to `default-directory' unless `dir' is a non-nil
14649         readable directory.  (Bug#4052)
14650         (lgrep, rgrep): Change a weird way to report an error
14651         from using `read-string' to using `error'.
14652         Instead of using interactive arguments in the function body,
14653         add new argument `confirm'.
14655 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14657         * textmodes/remember.el (remember-buffer):
14658         * progmodes/cperl-mode.el (cperl-vc-header-alist):
14659         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14660         (icalendar-extract-ical-from-buffer):
14661         * net/newst-treeview.el (newsticker-groups-filename):
14662         * net/newst-backend.el (newsticker-cache-filename):
14663         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14664         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14665         (speedbar-add-ignored-path-regexp, speedbar-line-path)
14666         (speedbar-buffers-line-path, speedbar-path-line)
14667         (speedbar-buffers-line-path):
14668         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14669         (epg-sign-keys):
14670         * epa.el (epa-display-verify-result):
14671         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14673 2009-08-21  Glenn Morris  <rgm@gnu.org>
14675         * progmodes/js.el (inferior-moz-process): Fix declaration.
14677         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14679         * obsolete/rnewspost.el (news-mail-reply):
14680         Use goto-char rather than goto-line.
14682         * term/ns-win.el (ns-open-file-select-line):
14683         Use line-beginning-position rather than goto-line.
14685         * apropos.el (apropos-command):
14686         * ehelp.el (electric-helpify):
14687         * printing.el (pr-show-setup):
14688         * strokes.el (strokes-help):
14689         * tutorial.el (tutorial--describe-nonstandard-key)
14690         (tutorial--detailed-help):
14691         * woman.el (woman-mini-help, woman-display-extended-fonts):
14692         * calc/calc-help.el (calc-describe-key):
14693         * emulation/edt.el (edt-electric-helpify):
14694         * international/mule-diag.el (mule-diag):
14695         * play/yow.el (apropos-zippy):
14696         * progmodes/python.el (python-describe-symbol):
14697         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14698         * textmodes/table.el (*table--cell-describe-mode)
14699         (*table--cell-describe-bindings):
14700         Use help-print-return-message rather than the now obsolete alias.
14702         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14703         (calendar-cursor-to-visible-date):
14704         * play/5x5.el (5x5-position-cursor):
14705         * play/decipher.el (decipher):
14706         * play/gomoku.el (gomoku-goto-xy):
14707         * play/landmark.el (lm-goto-xy):
14708         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14709         (mpuz-paint-digit):
14710         Use forward-line, not goto-line.
14712         * mail/rmail.el (rmail-obsolete): Delete custom group.
14713         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14714         (rmail-remote-password, rmail-remote-password-required):
14715         Remove unneeded :set-after and :set properties.
14717 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
14719         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14721 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
14723         * loadup.el: Remove leftover macos code.
14725         * vc-git.el (vc-git-annotate-command): Run asynchronously.
14726         Explicitly pass the date format to git blame so that user local
14727         so that the output format can be parsed.
14729 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
14731         * net/dbus.el (top): Don't check for (getenv
14732         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
14734 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
14736         * log-edit.el (log-edit-strip-single-file-name): New var.
14737         (log-edit-insert-changelog): Use it.  Bug#3571
14739 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14741         * subr.el (read-passwd): Use read-key so keypad keys work as well.
14742         Bug#3287
14744         * help.el (help-print-return-message): Rename from
14745         print-help-return-message.
14747         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14748         cvs-mode-map parent hack.
14749         (log-view-mode): Derive from special-mode.
14751         * linum.el (linum-mode): window-size-change-functions is redundant.
14752         Adapt to new window-configuration-change-hook behavior.
14753         (linum-after-size, linum-after-config): Remove.
14755         * imenu.el (imenu-example--name-and-position)
14756         (imenu-example--lisp-extract-index-name)
14757         (imenu-example--create-lisp-index, imenu-example--create-c-index):
14758         Mark as obsolete.
14760         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14761         (inferior-prolog-mode): Use it.
14762         (inferior-prolog-load-file): Reset list of errors.
14764 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14766         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14768         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14770 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
14772         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14773         is running already.
14775 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14777         * subr.el (listify-key-sequence-1): Use normal syntax since those
14778         integers are nowadays always represented by the same (positive) number
14779         on all platforms.
14780         (read-key-empty-map): New const.
14781         (read-key-delay): New var.
14782         (read-key): New function.
14783         (force-mode-line-update): Use with-current-buffer.
14784         (locate-user-emacs-file): Don't forget to abbreviate the file name.
14785         (start-process-shell-command, start-file-process-shell-command):
14786         Discourage the use of command-args.
14788 2009-08-19  Glenn Morris  <rgm@gnu.org>
14790         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14792 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14794         * simple.el (choose-completion-string): Don't rely on
14795         minibuffer-completing-file-name and ad-hoc checks to decide whether
14796         to continue completion or not.
14798         * minibuffer.el (minibuffer-hide-completions): New function.
14799         (completion--do-completion): Use it.
14800         (completions-annotations): New face.
14801         (completion--insert-strings): Use it.
14802         (completion-pcm--delim-wild-regex): Add docstring.
14803         (completion-pcm--string->pattern): Add support for 0-width delimiters
14804         in completion-pcm--delim-wild-regex.
14806 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14808         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14809         Remove unused var `buffer-modified-p'.
14811         * minibuffer.el (completion--do-completion): Move point for the #b001
14812         case as well (bug#4176).
14813         (minibuffer-complete, minibuffer-complete-word): Don't move point.
14815 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
14817         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
14818         and :session buses.
14820 2009-08-18  Kenichi Handa  <handa@m17n.org>
14822         * international/ucs-normalize.el (ucs-normalize-version):
14823         Change to 1.1.
14824         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14825         (utf-8-hfs): Make it perform normalization on encoding too.
14827         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
14828         (sentence-end-without-space): Delete duplicated chars.
14829         (sentence-end-base): Likewise.
14831         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
14832         (html-mode): Delete duplicated chars from sentence-end-base.
14834         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
14835         (texinfo-mode): Delete duplicated chars from sentence-end-base.
14837 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
14839         * files.el (hack-one-local-variable): If the mode function is for
14840         a minor mode, pass it an argument (Bug#4148).
14842 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
14844         * net/tramp.el (tramp-register-completion-file-name-handler):
14845         Check also for (member 'partial-completion completion-styles).
14847 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14849         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14850         abbrev (Bug#3943).
14852 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
14854         * progmodes/cperl-mode.el: Merge upstream 6.2.
14855         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14856         (cperl-forward-re): Check cperl-brace-recursing.
14857         (cperl-highlight-charclass): New function.
14858         (cperl-find-pods-heres): Use it.
14859         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14860         (cperl-beautify-regexp-piece): Fix column calculation.
14861         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14862         (cperl-beautify-level): Don't process entire regexp.
14863         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14864         calling man.
14865         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14866         (cperl-init-faces): Build a list in the normal way.
14868 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14870         * calendar/parse-time.el (parse-time-string-chars): Save match
14871         data.
14873 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14876         (sql-product): Use it.
14877         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14878         (sql-set-product): Add completion.
14879         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14880         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14881         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14882         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14883         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14884         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14885         (sql-highlight-db2-keywords): Remove.
14886         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14887         (sql-highlight-product): Use derived-mode-p.
14888         (sql-set-sqli-buffer): Use with-current-buffer.
14889         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14890         Simplify.
14892         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
14894         * term.el: Fix commenting convention, turn comments into docstrings.
14896 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
14898         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
14900 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
14902         * calendar/parse-time.el (parse-time-string-chars): Compute using
14903         character classes, to handle non-ascii characters (Bug#3190).
14905 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14907         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
14908         another heredoc if the user adds another < (Bug#3226).
14910         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
14911         Don't initialize based on window-system (Bug#4124).
14913         * facemenu.el (facemenu-read-color): Use a completion function
14914         that accepts any defined color, such as RGB triplets (Bug#3677).
14916         * files.el (get-free-disk-space): Change fallback default
14917         directory to /.  Expand DIR argument before switching to fallback.
14918         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
14920 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
14922         * files.el (load-library): Doc fix.
14924 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
14926         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
14927         (viper-if-string): Redefine C-s in the minibuffer to insert the last
14928         incremental search string.
14930         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
14931         XEmacs.
14933         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
14934         (ediff-merge-region-is-non-clash)
14935         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
14936         Also check if the job is really a merge job.
14938         * ediff.el (ediff-current-file): New function.
14940 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
14942         * progmodes/js.el: Edit docstrings throughout to follow Emacs
14943         conventions.
14944         (js-insert-and-indent): Delete function.
14945         (js-mode-map): Don't bind keys to js-insert-and-indent.
14946         (js-beginning-of-defun): Rename from js--beginning-of-defun.
14947         (js-end-of-defun): Rename from js--end-of-defun.
14948         (js-auto-indent-flag): Delete variable.
14950 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
14952         * progmodes/js.el: Remove proclaim statement.
14953         Defvar which-func-imenu-joiner-function to silence compiler.
14955         * files.el (auto-mode-alist): Use js-mode for .js files.
14957         * progmodes/js2-mode.el: Remove file.
14959         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
14961         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
14963         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
14965 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
14966             Karl Landstrom  <karl.landstrom@brgeight.se>
14968         * progmodes/js.el: New file.
14970 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
14972         * timezone.el (timezone-parse-date): Add ability to understand ISO
14973         basic format (minimal separators) dates in addition to the
14974         already-supported extended format dates.
14976 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
14978         * international/ucs-normalize.el: Add a `coding' file variable.
14980         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
14982 2009-08-14  Sam Steingold  <sds@gnu.org>
14984         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
14986 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
14988         * faces.el (help-argument-name): Define it here instead of
14989         help-fns.el, because in daemon mode help-fns.el may be loaded when
14990         faces are still uninitialized (Bug#1078).
14992         * help-fns.el (help-argument-name): Move defface to faces.el.
14994 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
14996         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
14997         create buffer with a pty but no process so that GDB can make the
14998         inferior the controlling process.
15000 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
15002         * international/ucs-normalize.el: New file.
15004 2009-08-13  Richard Stallman  <rms@gnu.org>
15006         * mail/rmail.el (rmail-get-attr-names):
15007         Accept an attribute header that is too short.
15009         * mail/rmail.el (rmail-forget-messages):
15010         Ignore nil elt in rmail-message-vector.  Use dotimes.
15012         * progmodes/compile.el (compilation-goto-locus):
15013         Use next-error-move-function.
15015         * simple.el (next-error-move-function): New variable.
15017 2009-08-12  Juri Linkov  <juri@jurta.org>
15019         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15020         always non-nil.  (Bug#4052)
15022         * replace.el (read-regexp): Return empty string when
15023         `default-value' is nil.
15024         (keep-lines-read-args): Don't use empty string as the
15025         default value for `read-regexp'.  (Bug#2495)
15027 2009-08-12  Juri Linkov  <juri@jurta.org>
15029         * international/mule-cmds.el (ucs-insert): Change arguments
15030         from `arg' to `character', `count', `inherit' to be the same
15031         as in `insert-char'.  Doc fix.  (Bug#4039)
15033         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15035 2009-08-12  Juri Linkov  <juri@jurta.org>
15037         * files-x.el: New file.
15039         * files.el: Move code that deals with adding/deleting
15040         file/directory-local variables to files-x.el.
15042         * Makefile.in (ELCFILES): Add files-x.elc.
15044 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
15046         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15047         to use `goto-line'.
15048         (gdb-place-breakpoints, gdb-get-location): Rewritten without
15049         `goto-line'.
15050         (gdb-invalidate-disassembly): Do not refresh upon receiving
15051         'update signal.  Instead, update all disassembly buffers only after
15052         threads list.
15053         (gdb): Send -target-detach when buffer is killed (Bug#3794).
15054         (gdb-starting): Moved -data-list-register-names...
15055         (gdb-stopped): ...here so it's sent when first thread stops.
15056         (gdb-registers-handler-custom): Do nothing if register names are
15057         unknown yet.
15059         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15060         from `gdb-mi.el' to avoid extra tangling.
15062         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15063         change which breaks `gud-def' definitions used in `gdb'.
15064         (gdb-update-gud-running): No extra fuss for updating frame number.
15066 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15068         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15069         (describe-language-environment-map, setup-language-environment-map)
15070         (set-coding-system-map): Move initialization into declaration.
15071         (set-language-info-alist): Last arg to define-key-after can be skipped.
15073         * international/quail.el (quail-completion-1): Simplify.
15074         (quail-define-rules): Use slightly more compact code.
15075         (quail-insert-decode-map): Propertize keys, compact columns.
15077         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15078         Add goto-line.
15080 2009-08-10  Miles Bader  <miles@gnu.org>
15082         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15083         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15084         (js2-instance-member, js2-private-member, js2-private-function-call)
15085         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15086         (js2-magic-paren, js2-external-variable):
15087         Remove "-face" suffix from face names.
15088         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15089         (js2-highlight-undeclared-vars, js2-peek-token)
15090         (js2-parse-function-params, js2-mode-show-errors)
15091         (js2-mode-show-warnings, js2-make-magic-delimiter)
15092         (js2-mode-highlight-magic-parens): Update to use new face names.
15094 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
15096         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15097         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
15099 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
15101         * subr.el: Provide hashtable-print-readable.
15103         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15104         hs-c-like-adjust-block-beginning.
15105         (hs-hide-block-at-point): Stop hiding at the beginning of
15106         hs-block-end-regexp (Bug#700).
15108 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
15110         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15111         a macro.
15112         (gdb-registers-handler-custom): Do not fail when register names
15113         are unavailable.
15115 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15117         * progmodes/gdb-mi.el (gdb-control-all-threads)
15118         (gdb-control-current-thread): Interactive setters for
15119         `gdb-gud-control-all-threads' to use in menu.
15120         (gdb-show-run-p): Show «Go» when process is not active.
15121         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
15122         gud/thread.xpm and gud/all.xpm.
15124 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
15126         * net/net-utils.el (net-utils-font-lock-keywords): New var.
15127         (nslookup-font-lock-keywords): Make it a variable.
15128         (net-utils-mode): New mode for viewing diagnostic network output.
15129         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15130         (net-utils-run-simple): New function.
15131         (ifconfig, iwconfig, netstat, arp, route): Use it.
15133 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15135         * progmodes/gdb-mi.el (gdb-read-memory-custom)
15136         (gdb-memory-set-address, def-gdb-set-positive-number)
15137         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15138         after changing settings.
15139         (gdb-invalidate-disassembly): Update when first shown.
15140         (gdb-edit-locals-value): Fixed.
15141         (gdb-registers-handler-custom): Print registers in right order and
15142         allow changing register values (only for current thread yet).
15143         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15144         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15145         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15146         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15147         info in mode name.
15148         (gdb-registers-mode-map): TAB to switch to locals.
15150 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
15152         * mail/rmail.el (rmail-add-mbox-headers)
15153         (rmail-set-message-counters-counter): Search for
15154         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
15156 2009-08-08  Glenn Morris  <rgm@gnu.org>
15158         * Makefile.in (ELCFILES): Update.
15160 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15162         * mail/sendmail.el (mail-yank-original): Set
15163         buffer-file-coding-system from the one used by the message whose
15164         text is yanked.
15166         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15167         to "windows" when "pgnuplot" is used.
15168         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15169         call accept-process-output if "pgnuplot" is used.
15170         (calc-graph-init): Don't send -display and -geometry to
15171         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
15172         running "pgnuplot -V" with shell-command-to-string.
15174         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15175         the default.
15177 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15179         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15180         org/org-latex.elc.
15182 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
15184         * vc-dispatcher.el (vc-resynch-window): Update comment.
15186         * term.el (term-handle-ansi-escape): Add comments with the
15187         terminfo capabilities implemented.
15189 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
15191         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15192         (gdb-var-create-handler): Rewritten using JSON parser.
15193         (gdb-propertize-header): Moved earlier.
15194         (gdb-set-header): Removed to avoid duplication.
15195         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15196         Refresh disassembly buffers only after threads list have been
15197         update.
15198         (gdb-threads-header, gdb-registers-header): Per-buffer header line
15199         variables.
15201 2009-08-04  Juri Linkov  <juri@jurta.org>
15203         * files.el: Commands to add/delete file/directory-local variables.
15204         (read-file-local-variable, read-file-local-variable-value)
15205         (read-file-local-variable-mode, modify-file-local-variable)
15206         (modify-file-local-variable-prop-line)
15207         (modify-dir-local-variable): New functions.
15208         (add-file-local-variable, delete-file-local-variable)
15209         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15210         (add-dir-local-variable, delete-dir-local-variable)
15211         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15212         (copy-dir-locals-to-file-locals-prop-line): New commands.
15214 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
15216         * abbrev.el (insert-abbrev-table-description): Prettify output.
15217         Suggested by Karl Chen.
15219 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
15221         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15222         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15223         (gdb-overlay-arrow-position, gdb-thread-position)
15224         (gdb-disassembly-position): Declare variables.
15225         (gdb-wait-for-pending): Function now.
15226         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15227         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15228         compilation goes smoothly.
15229         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15230         (gdb-non-stop-setting): New customization setting which replaces
15231         `gdb-non-stop' so changing it doesn't break active GDB session.
15232         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15233         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15234         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15235         (gdb-show-threads-by-default): New customization options.
15236         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15237         routines.
15238         (gdb-get-buffer-create): Send buffers update signal when they are
15239         created.
15240         (gdb-invalidate-locals, gdb-invalidate-registers)
15241         (gdb-invalidate-breakpoints)
15242         (gdb-invalidate-threads, gdb-invalidate-disassembly)
15243         (gdb-invalidate-memory): Accept update signal.
15244         (gdb-current-context-command): Use --frame option.
15245         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15246         Implement `gdb-frame-number' selection logic.
15247         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15248         whether to show GUD toolbar buttons.
15249         (gdb-thread-exited): Unselect current thread when it exits.
15250         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15251         (gdb-mark-line): Routine which sets overlay arrow or inverses
15252         video on fringeless displays.
15253         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15254         to build aligned columns of data in GDB buffers and set text
15255         properties line-by-line.
15256         (gdb-invalidate-breakpoints)
15257         (gdb-breakpoints-list-handler-custom)
15258         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15259         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15260         (gdb-registers-handler-custom): Align data columns.
15261         (gdb-locals-handler-custom): Now prints data like in variable
15262         declarations.
15263         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15264         Removed confusing buttons.
15265         (gdb-invalidate-threads): Append --frame.
15266         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15267         between breakpoints/threads buffers.
15268         (gdb-set-window-buffer): Now can ignore dedicated windows.
15269         (gdb-propertize-header): Use `gdb-set-window-buffer'.
15270         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15271         (def-gdb-thread-buffer-gud-command): Replaces
15272         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15273         for fine thread control.
15274         (gdb-preempt-existing-or-display-buffer): New function used to
15275         display bound buffers without breaking window layout.
15276         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15277         (gdb-select-frame): New version of `gdb-frames-select' which now
15278         sets `gdb-frame-number' so commands may use --frame option instead
15279         of inner debugger state.
15280         (gdb-frame-handler): Do not set `gdb-frame-number'.
15281         (gdb-threads-mode-map): Select threads with mouse.
15283         * progmodes/gud.el (gdb-gud-context-call): Declare function to
15284         avoid compilation warning.
15285         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15286         `gdb-show-stop-p`.
15288         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15289         Argument `key' renamed to `buffer-type'.
15290         (gdb-current-context-buffer-name): Do not add thread info to
15291         buffer name when no thread is selected.
15292         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15293         command (bug 3794).
15294         (gdb-thread-selected): Handle `=thread-selected' notification.
15295         (gdb-wait-for-pending): New macro to deal with congestion problems.
15296         (gdb-breakpoints-list-handler-custom): Don't fail on pending
15297         breakpoints.
15298         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15299         This fixes problem similar to one described in bug 3947.
15300         (gud-menu-map): More menu items.
15301         (gdb-init-1): Reset `gdb-thread-number' to nil.
15303         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15304         non-stop settings.
15306         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15307         (gdb-current-context-command): Do not append --thread if
15308         `gdb-thread-number' is nil.
15309         (gdb-running-threads-count, gdb-stopped-threads-count): New
15310         variables.
15311         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15312         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15313         customization options.
15314         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15315         GUD commands.
15316         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15317         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15318         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15319         set `gdb-thread-number' and update `gud-running' properly.
15320         (gdb-running): Update threads list when new threads appear.
15321         (gdb-stopped): Support non-stop operation and new thread switching
15322         logic.
15323         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15324         (gdb-json-partial-output): New set of JSON routines.
15325         (def-gdb-auto-update-trigger): New `signal-list' optional
15326         argument.
15327         (gdb-thread-list-handler-custom): Update `gud-running',
15328         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15329         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15330         (gdb-continue-thread, gdb-step-thread): New commands for fine
15331         thread execution control.
15332         (gud-menu-map): New menu items to switch non-stop options.
15333         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15334         (gdb-send): Mimic RET properly (bug 3794).
15336         * progmodes/gdb-mi.el (gdb-rules-name-maker)
15337         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15338         gdb-buffer-rules.
15339         (def-gdb-auto-update-handler): New nopreserve optional argument.
15340         (gdb-stack-list-frames-custom): Print stack from top to bottom.
15342         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15343         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15344         (gdb-parent-mode): New mode to derive other GDB modes from.
15345         (gdb-display-disassembly-for-thread)
15346         (gdb-frame-disassembly-for-thread): New commands for threads
15347         buffer.
15349         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15350         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15351         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15352         (gdb-update): We now store all GDB buffers in a list so that they
15353         can be updated by traversing a list instead of calling invalidate
15354         triggers explicitly.
15355         (def-gdb-trigger-and-handler): New macro to define trigger-handler
15356         pair for GDB buffer.
15357         (gdb-stack-buffer-name): Add thread information.
15358         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15359         handle pending triggers.
15360         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15361         (def-gdb-thread-buffer-simple-command)
15362         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15363         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15364         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15365         New commands which show buffers bound to thread.
15366         (gdb-stack-list-locals-regexp): Removed unused regexp.
15368         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15369         (gdb-locals-buffer-name, gdb-registers-buffer-name)
15370         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15371         to (gud-comint-buffer) in *-buffer-name functions
15372         because (gdb-get-target-string) already does that.
15373         (gdb-locals-handler-custom, gdb-registers-handler-custom)
15374         (gdb-changed-registers-handler): Rewritten without regexps.
15376         * progmodes/gdb-mi.el: Basic thread selection support.
15377         (gdb-thread-number): New variable.
15378         (gdb-current-context-command): New macro which adds --thread
15379         option to command.
15380         (gdb-threads-mode-map): Select thread with SPC.
15381         (gdb-thread-list-handler-custom): Mark current thread with overlay
15382         arrow.  Synchronize GDB thread and Emacs thread.
15383         (gdb-select-thread): New command which selects current thread.
15384         (gdb-invalidate-frames, gdb-invalidate-locals)
15385         (gdb-invalidate-registers): Use --thread option.
15387 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
15389         * net/tramp.el (top): Make check for tramp-gvfs loading more
15390         robust.  (Bug#3977)
15391         (tramp-handle-insert-file-contents): `unwind-protect' must be
15392         inside `with-parsed-tramp-file-name'.
15394         * net/tramp-gvfs.el (top): Remove superfluous message when loading
15395         fails.
15397 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
15399         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15400         directory if CLASSPATH is not set.
15402 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
15404         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15405         New defconst.
15406         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
15408 2009-08-02  Kevin Ryde  <user42@zip.com.au>
15410         * net/newst-backend.el (newsticker--raw-url-list-defaults):
15411         Update freshmeat link.  Delete newsforge.com as it seems gone.
15413 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15415         * select.el (x-set-selection): Doc fix (Bug#4021).
15417         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15419         * help-fns.el (describe-variable): Treat list return values from
15420         dir-locals-find-file properly (Bug#4005).
15422 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
15424         * net/tramp.el (tramp-debug-message): Print also microseconds.
15426 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
15428         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15429         or END is non-nil.
15430         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15431         (tramp-get-debug-buffer): Change `outline-regexp' according to new
15432         format.
15434         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15435         (tramp-get-file-property): Use it.
15437         * autorevert.el (auto-revert-handler): Allow
15438         `auto-revert-tail-mode' for remote files.
15440 2009-08-02  Jason Rumney  <jasonr@gnu.org>
15442         * minibuffer.el (read-file-name): Treat confirm options to
15443         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
15445 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15447         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15448         (font-lock-variable-name-face, font-lock-constant-face): Darken
15449         the colors for light backgrounds.
15451 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
15453         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15454         month names.  (Bug#3987)
15456 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
15458         * simple.el (line-move-finish): Pass whole number to
15459         line-move-to-column.
15460         (line-move-visual): Perform hscroll to the recorded position.
15462 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
15464         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15466 2009-07-29  Alan Mackenzie  <acm@muc.de>
15468         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15470 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
15472         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15473         (gdb-place-breakpoints): Use full path when setting breakpoints.
15475 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
15477         * calc/calc.el (calc-mode-map): Add keybinding for
15478         `calc-transpose-lines'.
15480 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
15482         * calc/calc-misc.el (calc-transpose-lines): New function.
15484 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
15486         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15487         Simplify check for out-of-band methods.
15488         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15489         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
15491 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
15493         * vc-git.el (vc-git-checkin): Fix typo.
15495 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
15497         * progmodes/js2-mode.el: New file.
15499 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
15501         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15502         (gud-menu-map): Adjust tooltip accordingly.
15504 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
15506         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15507         (vc-bzr-log-view-mode): Adjust log-view-file-re.
15509         * add-log.el (change-log-mode-map): Add a menu.
15511 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
15513         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15514         function returns nil.
15515         (dbus-handle-event): Handle special return value :ignore.
15516         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15518 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
15520         * view.el (view-mode-enable): Don't define Helper-return-blurb if
15521         it's not needed.
15523 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
15525         Fix Bug#3888:
15527         * w32-vars.el (x-select-enable-clipboard): Doc fix.
15529         * term/pc-win.el (x-display-name, x-colors)
15530         (x-select-enable-clipboard, x-select-text): Doc fix.
15532         * term/common-win.el (x-display-name, x-colors): Doc fix.
15534         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15535         (xw-defined-colors): Doc fix.
15537         * w32-fns.el (x-select-text, x-setup-function-keys)
15538         (x-get-selection, x-set-selection): Doc fix.
15540         * term/x-win.el (x-select-text, x-setup-function-keys)
15541         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15543         * select.el (x-set-selection): Doc fix.
15545 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
15547         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15548         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
15549         "IsNSSSupportAvailable" method is not available.  Reported by
15550         Steve Youngs <steve@sxemacs.org>.
15552 2009-07-24  Kenichi Handa  <handa@m17n.org>
15554         * international/characters.el: Fix setting of category ?C, ?|, ?K,
15555         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
15556         (build-unicode-category-table): Fix range checks.
15558 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
15560         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15561         the buffer we try to sync is current when calling
15562         vc-resynch-buffer.
15564         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15565         not show up to date files.
15567 2009-07-24  Glenn Morris  <rgm@gnu.org>
15569         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15570         Add autoload cookies.  If necessary, initialize.
15571         (elint-log): Handle non-file buffers.
15572         (elint-initialize): Add optional argument to reinitialize.
15573         (elint-find-builtin-variables): Save excursion.
15575 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
15577         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15578         for Lint.
15580 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
15582         * vc.el (vc-print-log-internal): New function, split out from ...
15583         (vc-print-log): ... here.
15584         (vc-dir-move-to-goal-column): Declare.
15586         * vc-git.el (vc-git-add-signoff): New variable.
15587         (vc-git-checkin): Use it.
15588         (vc-git-toggle-signoff): New function.
15589         (vc-git-extra-menu-map): Bind it to menu.
15590         (vc-git--run-command-string): Accept a nil FILE argument.
15591         (vc-git-stash-list): New function.
15592         (vc-git-dir-extra-headers): Use it.
15594 2009-07-23  Glenn Morris  <rgm@gnu.org>
15596         * help-fns.el (describe-variable): Describe ignored and risky local
15597         variables in a similar way to that in which we describe safe ones.
15599         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15600         (byte-compile-output-file-form, byte-compile-output-docform)
15601         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15602         Give some more local variables with common names a "bytecomp-" prefix,
15603         so as not to shadow things during compilation.
15604         * emacs-lisp/cl-macs.el (load-time-value)
15605         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15606         `outbuffer' to `bytecomp-outbuffer'.
15608         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15609         since the next two variables cover them automatically now.
15610         (elint-builtin-variables, elint-autoloaded-variables): New.
15611         (elint-unknown-builtin-args): Remove all members, since they can be
15612         parsed automatically now.
15613         (elint-extra-errors): New.
15614         (elint-env-add-env, elint-env-add-macro): Use cadr.
15615         (elint-current-buffer): Use or.  Change final message.
15616         (elint-get-top-forms): Use line-end-position.
15617         (elint-init-env): Use cadr.  Handle autoload, declare-function,
15618         and defalias.
15619         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
15620         (regexp-assoc): Remove unused function.
15621         (elint-top-form): Set elint-current-pos, to record the start of the
15622         top-level form, for compilation-mode.
15623         (elint-form): Trap errors in macro expansion.  Use dolist.
15624         (elint-unbound-variable): Use elint-builtin-variables and
15625         elint-autoloaded-variables.
15626         (elint-get-args): Use cadr, or.
15627         (elint-check-cond-form): Use dolist, cadr.
15628         (elint-check-condition-case-form): Doc fix.  Use cadr.
15629         Use elint-extra-errors.
15630         (elint-log): New function.
15631         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15632         Distinguish errors and warnings.
15633         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
15634         Use a bytecomp-style format.
15635         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
15636         (elint-get-log-buffer): Use compilation mode.  Disable undo.
15637         Don't truncate lines.
15638         (elint-initialize): Set builtin and autoloaded variable lists.
15639         Only process elint-unknown-builtin-args if non-nil.
15640         (elint-find-builtin-variables, elint-find-autoloaded-variables):
15641         New functions.
15642         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
15644 2009-07-22  Kevin Ryde  <user42@zip.com.au>
15646         * net/newst-backend.el (newsticker--parse-atom-1.0)
15647         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15648         (newsticker--parse-rss-1.0):
15649         * progmodes/idlwave.el (idlwave-mode):
15650         * progmodes/idlw-shell.el (idlwave-shell-mode):
15651         * progmodes/vera-mode.el (vera-mode):
15652         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15653         * progmodes/vhdl-mode.el (vhdl-mode):
15654         * textmodes/table.el (table-generate-source)
15655         (table--warn-incompatibility):
15656         Hyperlink urls in docstrings with URL `...'.
15658 2009-07-22  Glenn Morris  <rgm@gnu.org>
15660         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15661         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15662         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15663         Remove leading * from defcustom docs.
15665         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
15667         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15668         defcustom doc.
15669         (list-load-path-shadows): Optionally, just return shadows as a string.
15671         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15673 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
15675         * mail/rmailedit.el (rmail-edit-mode): Use
15676         auto-save-include-big-deletions.
15678         * mail/rmail.el (rmail-variables): Use
15679         auto-save-include-big-deletions.
15681         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15682         changes.
15684 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
15686         * calc/calc.el (calc-undo-length): New variable.
15687         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15689 2009-07-21  Richard Stallman  <rms@gnu.org>
15691         * files.el (auto-save-mode): Handle buffer-save-size = -2
15692         for toggling mode.
15694 2009-07-21  Glenn Morris  <rgm@gnu.org>
15696         * textmodes/ispell.el (ispell-looking-back): Update declaration.
15698         * calendar/todo-mode.el (calendar-current-date): Update declaration.
15700         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15701         silence compiler.  Instead...
15702         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15703         (ps-print-ensure-fontified): Update for above function name changes.
15705         * printing.el (pr-mh-get-msg-num, pr-mh-show)
15706         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15707         silence compiler.  Instead...
15708         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15709         (mh-show-buffer): Only define for compiler.
15710         (pr-mh-current-message): Update for above function name changes.
15712         * files.el (abort-if-file-too-large): Explicitly pass `filename'
15713         as an argument.
15714         (find-file-noselect, insert-file-1): Update for above change.
15716         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15718         * mail/mailclient.el (mailclient-send-it): Fix message.
15720         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15721         (edebug-eval): Check cl-debug-env is bound.
15722         (print-level, print-circle): Don't redefine built-in variables.
15724         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15725         (custom-print-vectors): Remove old comments from doc.
15727         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15728         (emerge-version): Make the variable an obsolete alias for the
15729         emacs-version variable.  Make the function obsolete.
15730         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15731         Emerge options, rather than merging in into the main Options menu.
15732         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
15733         and auto advance modes.  Disable edit/fast items when not relevant.
15735 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
15737         * term/vt420.el (terminal-init-vt420): Fix typo.
15739 2009-07-20  Sam Steingold  <sds@gnu.org>
15741         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15742         variable (removed from compile.el on 2004-03-11).
15744 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
15746         * files.el (hack-local-variables-filter): Fix last change.
15748 2009-07-19  Juri Linkov  <juri@jurta.org>
15750         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15751         (dir-local-variables-alist): New buffer-local variable.
15752         (hack-local-variables-filter): If variable is not dir-local,
15753         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15754         because file-local overrides dir-local.
15755         (c-postprocess-file-styles) <declare-function>:
15756         Remove obsolete declaration.
15757         (hack-dir-local-variables): Add dir-local variable/value pair to
15758         `dir-local-variables-alist' and remove duplicates.  Doc fix.
15760         * help-fns.el (describe-variable): Add information about
15761         file-local and dir-local variables.
15763 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
15765         * files.el (hack-local-variables-filter): Rewrite.
15767 2009-07-19  Glenn Morris  <rgm@gnu.org>
15769         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15770         Silence compiler by only defining on XEmacs.
15772         * international/mule.el (auto-coding-regexp-alist): Only match
15773         BABYL... at the start of buffer, not of lines.  (Bug#3790)
15775         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15776         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
15777         (cal-menu-context-mouse-menu): Doc fix.
15779         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15781         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
15783 2009-07-18  Juri Linkov  <juri@jurta.org>
15785         * info.el: Virtual Info keyword finder.
15786         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15787         (Info-finder-file): New variable.
15788         (Info-finder-find-file): New function.
15789         (finder-known-keywords, finder-package-info)
15790         (find-library-name, lm-commentary): Use defvar and
15791         declare-function to silence compiler warnings.
15792         (Info-finder-find-node): New function.
15793         (info-finder): New command.
15795         * subr.el (process-kill-buffer-query-function): New function.
15796         (add-hook)<kill-buffer-query-functions>: Add hook
15797         `process-kill-buffer-query-function'.
15799 2009-07-18  Alan Mackenzie  <acm@muc.de>
15801         * progmodes/cc-mode.el (c-before-hack-hook)
15802         (c-postprocess-file-styles): Give invocation of `c-set-style'
15803         DONT-OVERRIDE parameter of t.  Already set style variables will
15804         thus not be overridden by style settings given by `c-file-syle'.
15806         * files.el (hack-local-variables-filter): Remove entries with
15807         duplicate keys from `file-local-variables-alist'.
15809 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15811         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15812         x-set-selection if display-selections-p returns nil for the
15813         current frame.
15815 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
15817         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15819 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15821         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15822         Accept nil in addition to a regexp.
15823         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15824         Accept nil in addition to a regexp.
15825         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15826         buffers that have an associated file.  Handle nil values of
15827         desktop-buffers-not-to-save and desktop-files-not-to-save.
15828         (Bug#3833)
15830         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15831         (x-disown-selection-internal): New functions.
15833 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
15835         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15836         warning.
15837         (gdb-breakpoints-header): Move forward to avoid compiler warning.
15838         (gdb-make-header-line-mouse-map): Remove duplicate definition.
15840 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
15842         * simple.el (set-mark): Revert last change.
15844 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
15846         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15847         rendering of pngs is not possible instead of messaging a long
15848         description.
15850 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
15852         * w32-fns.el (x-selection-owner-p): New function.
15854         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15855         (mouse-yank-at-click, mouse-yank-primary): If
15856         select-active-regions is non-nil, deactivate the mark before
15857         insertion.
15859         * simple.el (deactivate-mark, set-mark): Only save selection if we
15860         own it.
15862 2009-07-17  Kenichi Handa  <handa@m17n.org>
15864         * case-table.el (describe-buffer-case-table): Fix for the case
15865         that KEY is a cons.
15867 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
15869         * vc-rcs.el (vc-rcs-find-file-hook):
15870         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15872 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
15874         * net/tramp.el (tramp-wait-for-output): Handle the case when
15875         commands do not return a newline but a null byte before the shell
15876         prompt.  (Bug#3858)
15878 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15880         * term/ns-win.el (ns-set-alpha): Don't declare.
15881         (ns-set-background-alpha): Remove function.
15883 2009-07-16  Kevin Ryde  <user42@zip.com.au>
15885         * emacs-lisp/copyright.el (copyright-update): Save match-data across
15886         y-or-n-p, for safety.
15888 2009-07-16  Richard Stallman  <rms@gnu.org>
15890         * files.el (auto-save-mode): If buffer-saved-size is -2,
15891         don't clobber it.
15893         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
15894         (rmail-retry-ignored-headers): Add more uninteresting fields.
15896 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
15898         * net/rcirc.el (rcirc): Use history variables.
15899         (rcirc-server-name-history, rcirc-nick-name-history)
15900         (rcirc-server-port-history): New variables.
15902 2009-07-15  Kenichi Handa  <handa@m17n.org>
15904         * international/mule-cmds.el (set-language-environment-charset):
15905         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
15906         ignore them.
15908         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
15909         Delete unibyte-display.
15911 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
15913         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
15915 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
15917         * simple.el (deactivate-mark): Optional argument FORCE.
15918         (set-mark): Use deactivate-mark.
15920         * info.el (Info-search): No need to check transient-mark-mode
15921         before calling deactivate-mark.
15923         * select.el (x-set-selection): Doc fix.
15924         (x-valid-simple-selection-p): Allow buffer values.
15925         (xselect--selection-bounds): Handle buffer values.  Suggested by
15926         David De La Harpe Golden.
15928         * mouse.el (mouse-set-region, mouse-drag-track): Call
15929         copy-region-as-kill before setting the mark, to let
15930         select-active-regions work.
15932 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
15934         * simple.el (deactivate-mark): If select-active-regions is
15935         non-nil, copy the selection data into a string.
15936         (activate-mark): If select-active-regions is non-nil, set the
15937         selection to the current buffer.
15938         (set-mark): Update selection if select-active-regions is non-nil.
15940         * select.el (x-valid-simple-selection-p): Allow buffer values.
15942 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15944         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
15945         and more featureful message-mode.
15947 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
15949         * select.el (x-set-selection): Doc fix.
15950         (x-valid-simple-selection-p): Disallow selection data consisting
15951         of a list or cons of integers, since that is not used.
15952         (xselect--selection-bounds, xselect--int-to-cons): New functions.
15953         (xselect-convert-to-string, xselect-convert-to-length)
15954         (xselect-convert-to-filename, xselect-convert-to-charpos)
15955         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
15957 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
15959         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
15960         output in -break-info command (Emacs bug #3794).
15962 2009-07-14  Glenn Morris  <rgm@gnu.org>
15964         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
15965         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
15966         (edebug-print-length, edebug-print-level, edebug-print-circle)
15967         (edebug-sit-for-seconds, edebug-view-outside)
15968         (edebug-bounce-point, edebug-set-global-break-condition)
15969         (edebug-Go-nonstop-mode, edebug-trace-mode)
15970         (edebug-Trace-fast-mode, edebug-continue-mode)
15971         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
15972         (edebug-visit-eval-list): Doc fixes.
15974         * subr.el (def-edebug-spec): Doc fix.
15976 2009-07-14  Kenichi Handa  <handa@m17n.org>
15978         * international/characters.el: Fix setting of category ?C.
15980 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
15982         * term/ns-win.el (x-select-font): defalias x-select-font to
15983         ns-popup-font-panel instead of generate-fontset-menu.
15985 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
15987         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
15989 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
15991         * arc-mode.el (archive-find-type): Allow for a PK00 string before
15992         the PK\003\004 header (Bug#3770).
15994 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
15996         * pcomplete.el (pcomplete-comint-setup): Check for
15997         shell-dynamic-complete-filename too.
15999 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
16001         * simple.el (temporary-goal-column): Change the value for
16002         line-move-visual to a cons cell.
16003         (line-move-visual): Record or set the window hscroll, if
16004         necessary (Bug#3494).
16005         (line-move-1): Handle cons value of temporary-goal-column.
16007 2009-07-11  Kenichi Handa  <handa@m17n.org>
16009         * international/mule-diag.el (describe-character-set): Don't show
16010         width.
16012 2009-07-10  Sam Steingold  <sds@gnu.org>
16014         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16015         Omake sometimes indents the errors it prints, so allow all
16016         regexps to start with spaces.
16018 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
16020         * cus-edit.el (customize-changed-options-previous-release):
16021         Bump value to 22.1.  (Bug#3804)
16023 2009-07-08  Sam Steingold  <sds@gnu.org>
16025         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16026         to be a cons cell (test . ignored-directory) to selectively ignore
16027         some directories depending on the location of the search.
16029 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
16031         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16032         remote user is root, on the local host.
16033         (tramp-local-host-p): Either the local user or the remote user
16034         must be root.  (Bug#3771)
16036 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16038         * progmodes/gdb-mi.el (gdb): Remove description of
16039         gdb-use-separate-io-buffer.
16040         (menu): Don't allow toggling of or enable
16041         gdb-use-separate-io-buffer from menubar.
16043 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16045         * mail/unrmail.el (unrmail): Make sure the message ends with two
16046         newlines (Bug#3769).
16048 2009-07-08  Glenn Morris  <rgm@gnu.org>
16050         * calendar/calendar.el (calendar-current-date): Rework previous change.
16052 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
16054         * calendar/calendar.el (calendar-current-date):
16055         Add an optional argument giving an offset from today.
16057 2009-07-08  Glenn Morris  <rgm@gnu.org>
16059         * tutorial.el (tutorial--describe-nonstandard-key):
16060         Adjust the message for when a key has been unbound.
16061         (help-with-tutorial): Hide the arch-tag.
16063 2009-07-08  Kenichi Handa  <handa@m17n.org>
16065         * international/fontset.el (setup-default-fontset): For each
16066         script, append (not set) font-specs.
16068         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16069         docstring.
16071 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16073         * progmodes/gdb-mi.el (gdb-init-1): Move sending
16074         -data-list-register-names to ...
16075         (gdb-starting): ... here because GDB 7.0 requires execution to
16076         have started when using this MI command.
16077         (gdb-set-header): New function to distinguish select and
16078         unselected tabs in gdb buffers.
16079         (gdb-propertize-header): New macro that uses gdb-set-header.
16080         (gdb-breakpoints-header, gdb-locals-header): Use it.
16081         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16083 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
16085         * Makefile.in (ELCFILES): Remove fadr.elc.
16087 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
16089         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16090         may contain frame information, so `string-match' should be used.
16091         (gdb-update): Disassembly is invalidated through
16092         `gdb-get-selected-frame'.
16093         (gdb-pad-string): New function to pad string with spaces.
16094         (gdb-invalidate-disassembly): Invalidate only if the buffer
16095         exists.
16096         (gdb-disassembly-handler-custom): Column alignment.
16097         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16098         placing new ones.
16099         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16100         end of line, too.
16101         (gdb-frame-handler): Match convention to for disassembly buffer
16102         mode name.
16103         (gdb-stack-list-frames-handler): Rewritten without regexps.
16104         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16105         not highlight breakpoints without line information.
16106         (gdb-input): Add trailing newline to command.
16108         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16109         buffer properly.
16110         (gdb-breakpoints-list-handler-custom): Replacement for
16111         `gdb-break-list-handler'.  Using real parser instead of regexps
16112         now.
16113         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16114         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16115         to place breakpoints.
16116         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16117         functions.
16118         (gdb-disassembly-handler-custom): Show overlay arrow.
16119         (gdb-disassembly-place-breakpoints): Show breakpoints in
16120         disassembly buffer.
16121         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16122         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16123         instead of parsing breakpoints buffer.  Fixed old menu references
16124         in `gud-menu-map'.
16126         * fadr.el: Remove.
16128         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16129         (gdb-memory-address): New variable which holds top address of
16130         memory page shown in memory buffer.
16131         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16132         customization variables.
16133         New functions:
16134         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16135         display the memory buffer.
16136         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16137         buffer display parameters.
16138         (def-gdb-memory-format, gdb-memory-format-binary)
16139         (gdb-memory-format-octal, gdb-memory-format-unsigned)
16140         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16141         Functions for setting memory buffer format.
16142         (gdb-memory-unit-word, gdb-memory-unit-halfword)
16143         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16144         unit size used in memory buffer.
16145         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16146         to next/previous page of memory buffer.
16147         Now using (bindat-get-field) instead of fadr functions.
16149 2009-07-07  Sam Steingold  <sds@gnu.org>
16151         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16152         non-top-level files.
16154 2009-07-07  Kenichi Handa  <handa@m17n.org>
16156         * international/mule-cmds.el (reset-language-environment): Put
16157         the highset priority to the charset iso-8859-1.
16159 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16161         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16162         to the end of the line when locating the block (Bug#700).
16164 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
16166         * net/tramp.el (tramp-handle-write-region): Flush file properties
16167         in case of short track.
16169 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
16171         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16172         Coded custom representation of verilog error regular expressions
16173         to work with Emacs-22's new format.
16174         (verilog-error-regexp-xemacs-alist): Coded custom representation
16175         of verilog error regular expressions to work with XEmacs format.
16176         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16177         error recognition into XEmacs.
16178         (verilog-error-regexp-add-emacs): Hook routine to install verilog
16179         error recognition into Emacs-22.
16181 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16183         * woman.el: Remove stand-alone closing parentheses.
16184         (woman-file-name, woman2-format-paragraphs)
16185         (woman-leave-blank-lines): Code cleanup.
16186         (woman-use-own-frame): Change default to nil.
16187         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16188         defaults to inherit from default faces.
16189         (woman2-process-escapes): Consume the newline after a stand-alone
16190         filler character (Bug#3651).
16192 2009-07-06  Glenn Morris  <rgm@gnu.org>
16194         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16195         (top-level): Move provide to the end.
16196         (ffap): Remove defunct URL from custom group.
16198         * subr.el (eval-after-load): Doc fix.
16200 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
16202         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16203         `calc-embedded-word' is called twice.
16205 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16207         * files.el (find-alternate-file-other-window, find-alternate-file):
16208         Obey confirm-nonexistent-file-or-buffer.
16210 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
16212         * dired-aux.el (dired-show-file-type): Handle remote files.
16214 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
16216         * desktop.el (desktop-globals-to-save):
16217         Add file-name-history (Bug#2750).
16219 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
16221         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16223 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
16225         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16226         property on entire argument since this is what eshell-lisp-command
16227         expects.
16229 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
16231         * net/tramp-gvfs.el (tramp-gvfs-methods)
16232         (tramp-gvfs-zeroconf-domain)
16233         (tramp-bluez-discover-devices-timeout): Add version flag.
16234         (tramp-gvfs-handler-mounted-unmounted)
16235         (tramp-gvfs-connection-mounted-p): Polish handling of
16236         incompatibilities between GVFS 0.2 and 1.0.
16238 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
16240         * cus-start.el (all): Add make-pointer-invisible.
16242 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
16244         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16245         formatted correctly.
16247 2009-07-02  Juri Linkov  <juri@jurta.org>
16249         * info.el: Virtual Info files and nodes.
16250         (Info-virtual-files, Info-virtual-nodes): New variables.
16251         (Info-current-node-virtual): New variable.
16252         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16253         New functions.
16254         (Info-file-supports-index-cookies): Use Info-virtual-file-p
16255         to check for a virtual file instead of checking a fixed list
16256         of node names.
16257         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16258         instead of ad-hoc processing of "dir" and (apropos history toc).
16259         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16260         instead of ad-hoc processing of "dir" and (apropos history toc).
16261         Reread a file when moving from a virtual node.
16262         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16263         (Info-directory-toc-nodes, Info-directory-find-file)
16264         (Info-directory-find-node): New functions.
16265         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16266         (Info-history): Move part of code to
16267         `Info-history-find-node'.
16268         (Info-history-toc-nodes, Info-history-find-file)
16269         (Info-history-find-node): New functions.
16270         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16271         (Info-toc): Move part of code to `Info-toc-find-node'.
16272         (Info-toc-find-node): New function.
16273         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
16274         the current Info file name to references because now the node
16275         "*TOC*" belongs to the same Info manual.
16276         (Info-toc-build): Rename from `Info-build-toc'.
16277         (Info-toc-nodes): Rename input argument `file' to `filename'.
16278         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16279         instead of ad-hoc processing of ("dir" apropos history toc).
16280         (Info-index-nodes): Use Info-virtual-file-p
16281         to check for a virtual file instead of checking a fixed list
16282         of node names.
16283         (Info-index-node): Add check for `Info-current-node-virtual'.
16284         Raise `save-match-data' higher up the tree to contain
16285         `search-forward' too (bug fix).
16286         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16287         (Info-virtual-index-nodes): New variable.
16288         (Info-virtual-index-find-node, Info-virtual-index): New functions.
16289         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16290         (Info-apropos-file, Info-apropos-nodes): New variables.
16291         (Info-apropos-toc-nodes, Info-apropos-find-file)
16292         (Info-apropos-find-node, Info-apropos-matches): New functions.
16293         (info-apropos): Move part of code to `Info-apropos-find-node' and
16294         `Info-apropos-matches'.
16295         (Info-mode-map): Bind "I" to `Info-virtual-index'.
16296         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16297         for a virtual file instead of checking a fixed list of node names.
16299         * simple.el (async-shell-command): New command.
16301         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16303         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16304         instead of `mount-info'.
16306 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
16308         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16309         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16311 2009-07-02  Kenichi Handa  <handa@m17n.org>
16313         * international/mule.el (set-keyboard-coding-system): Force *-unix
16314         coding-system to avoid eol conversion.
16316 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
16318         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16319         Add handler for `process-file', `shell-command' and
16320         `start-file-process'.
16321         (tramp-gvfs-handle-shell-command)
16322         (tramp-gvfs-handle-start-file-process)
16323         (tramp-gvfs-handle-process-file): New defuns.
16324         (tramp-synce-list-devices): Simplify check for existence of property.
16326 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
16328         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16330 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
16332         * language/korean.el (set-language-info-alist): Add korean-cp949,
16333         cp949 to spec.
16335 2009-07-01  Kenichi Handa  <handa@m17n.org>
16337         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16339         * international/encoded-kb.el: Deleted.
16341         * international/mule.el (set-keyboard-coding-system): Perform the
16342         necessary setup here instead of calling encoded-kbd-setup-display.
16344 2009-07-01  Glenn Morris  <rgm@gnu.org>
16346         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16348 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
16350         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
16352 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
16354         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16355         Handle also the 'rename case, when setting file modes.  (Bug#3712)
16356         (tramp-default-file-modes): Remove execute permissions.
16358         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16359         (top): Add a default for "synce" in `tramp-default-user-alist'.
16360         Add completion function for "synce" method.
16361         (tramp-hal-service, tramp-hal-path-manager)
16362         (tramp-hal-interface-manager, tramp-hal-interface-device):
16363         New defconst.
16364         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16365         (tramp-synce-list-devices, tramp-synce-parse-device-names):
16366         New defuns.
16368         * net/trampver.el: Update release number.
16370 2009-06-30  Kenichi Handa  <handa@m17n.org>
16372         * international/fontset.el (setup-default-fontset): Add CJK fonts
16373         for symbols and the other miscellaneous characters.
16375         * language/korea-util.el (setup-korean-environment-internal):
16376         Make char-width-table suitable for Korean environments.
16377         (exit-korean-environment): Cancel above.
16379         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16380         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16381         setup-function to make char-width-table suitable for respective
16382         environments, and an exit-function to cancel that.
16384         * language/japan-util.el (setup-japanese-environment-internal):
16385         Call use-cjk-char-width-table with arg `ja_JP'.
16387         * international/characters.el (cjk-char-width-table): Delete it.
16388         (cjk-char-width-table-list): New variable.
16389         (use-cjk-char-width-table): New arg local-name.
16390         (use-default-char-width-table): Fix for the case that Emacs is
16391         already using the default char-width-table.
16393 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
16395         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16396         modes mandatory.  (Bug#3712)
16398 2009-06-29  Alan Mackenzie  <acm@muc.de>
16400         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16401         correction between the visible width of TABs and their number of bytes.
16403 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
16405         * server.el (server-buffer-done): Prevent kill-buffer from
16406         prompting by clearing the buffer modification flag (Bug#3696).
16408 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
16410         * progmodes/verilog-mode.el (verilog-beg-of-statement)
16411         (verilog-endcomment-reason-re): Support unique case and priority case.
16412         (verilog-basic-complete-re): Support localparam lineup.
16413         (verilog-beg-of-statement-1): Fix for robustness, unique case.
16414         (verilog-set-auto-endcomments): Fix for unique case, always_comb
16415         commenting.
16416         (verilog-leap-to-case-head): Now support *nested* unique &
16417         priority case statements.
16418         (verilog-auto-lineup): Make just declarations the default (as it
16419         had been).
16420         (verilog-leap-to-case-head): Support priority/unique case statements.
16421         (verilog-auto-lineup): Rework to give users radio buttons to
16422         select the various styles of automatic lineup.
16423         (verilog-error-regexp-alist): Rework to support the XEmacs style
16424         of error regular expressions from compilers, lint tools &
16425         simulators.  Note that GNU Emacs has made it impossible for a mode
16426         to load such things.
16427         (electric-verilog-terminate-line, verilog-indent-declaration)
16428         (verilog-auto-wiure): Rework for radio button selection of
16429         auto-lineup selection of specification of auto lineup.
16430         (verilog-beg-of-statement-1): Redesign to support proper operation
16431         in additional code, based on testing with auto-lineup.
16432         (verilog-calculate-indent, assignments & declarations)
16433         (verilog-backward-token): Enhance to support auto-lineup of
16434         assignments & declarations.
16435         (verilog-in-directive-p, verilog-at-struct-p): New function for
16436         easy test of whether we are.
16437         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16438         to support safe execution at almost anyline.
16439         (verilog-calc-1): Properly support indenting deep inside generate
16440         blocks.
16441         (verilog-init-font): Remove definition & use of verilog-init-font,
16442         as it is redundant with font-lock-defaults.
16443         (verilog-mode): Alter the definition of verilog-font-lock-defaults
16444         to avoid circular calls if syntax-ppss is a function (as is the
16445         case now in 22.x GNU Emacs) as that function would sometimes call
16446         itself, leading to (nearly) infinite recursion.
16447         (verilog-ovm-begin-re, verilog-ovm-end-re)
16448         (verilog-ovm-statement-re, verilog-leap-to-head)
16449         (verilog-backward-token): Add support for OVM macros.  Some are
16450         complete statements, and others open and close scopes like begin
16451         and end.
16452         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16453         (verilog-defun-level-generate-only-re): Really fix the defun-list
16454         compilation issue.
16455         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16456         coverpoint, constraint and cross statements.
16457         (verilog-defun-level-list, verilog-generate-defun-level-list)
16458         (verilog-all-defun-level-list): Redo these specifications - it is
16459         too hard to support eval-when compile aggregation of lists also
16460         built at when-compile time.
16461         (verilog-defun-level-list): Place defconsts of variables used in
16462         building regular expressions which are built in eval-when-compile
16463         bodies in the same eval-when-compile body to facilitate compile
16464         without load.
16465         (verilog-beg-block-re-ordered): Support indenting
16466         virtual/protected tasks and functions.
16467         (verilog-defun-level-list, verilog-in-generate-region-p)
16468         (verilog-backward-ws&directives, verilog-calc-1): Speed up
16469         indentation of some module items (generate items).
16470         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16471         across virtual/protected tasks and functions.
16473 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
16475         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16476         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
16477         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16478         in concatenations.  Reported by Yishay Belkind.
16479         (verilog-auto-ascii-enum): Support one-hot state machines in
16480         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
16481         (verilog-auto-inst, verilog-auto-inst-port): Include interface
16482         modport in AUTOINST and add vl-modport for users.  Reported by
16483         David Rogoff.
16484         (verilog-auto-inout-module, verilog-auto-inst)
16485         (verilog-decls-get-interfaces, verilog-insert-definition)
16486         (verilog-insert-one-definition, verilog-read-decls)
16487         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16488         (verilog-sig-modport, verilog-signals-combine-bus)
16489         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16490         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16491         Suggested by David Rogoff.
16492         (verilog-repair-open-comma): Fix non-insertion of comma when
16493         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
16494         (verilog-make-width-expression): Simplify [A-1:0] expression
16495         widths to just {A{1'b0}}.
16496         (verilog-mode): Cleanup checkdoc warnings.
16497         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16498         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16499         inputs/outputs or data type.  Suggested by Vasu Kandadi.
16500         (next-error-last-buffer): Fix byte-compiler warning.
16501         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16502         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16503         or shell command text during AUTO expansion.  Suggested by Tad Truex.
16504         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16505         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16506         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16507         in AUTOINOUT.  Reported by Matthew Lovell.
16508         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16509         causing use of <= assignments.  Reported by Alex Reed.
16510         (verilog-read-decls): Fix triand, trior, wand, wor to be
16511         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
16512         (verilog-extended-complete-re): Support import "DPI-C" functions.
16513         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16514         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
16515         (verilog-insert-date, verilog-insert-year)
16516         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16517         Windows systems.  Reported by Michael Potts.
16518         (verilog-read-module-name): Fix AUTOINST when the child module
16519         declaration's name is a tick define.  Reported by Elliot Mednick.
16520         (verilog-read-decls): Fix V2K parameter bit subscripts getting
16521         passed to next parameter's definition.  Reported by Bruce T.
16522         (verilog-read-decls): Fix detecting "parameter int" when using
16523         AUTOINSTPARAM.  Reported by Bruce T.
16524         (verilog-goto-defun): Fix goto not finding modules unless first
16525         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
16526         (verilog-mode): Expand -f flag arguments on entry to mode so
16527         verilog-goto-defun will work.  Reported by Lawrence Butcher.
16528         (verilog-getopt): Expand environment variables in -f file
16529         arguments.  Suggested by Lawrence Butcher.
16530         (verilog-set-define): Fix "Symbol's value as variable is void"
16531         when reading enumerations.
16532         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16533         Suggested by Stephen Peltan.
16534         (verilog-read-defines): Fix reading of enumerations in include
16535         files.  Reported by Steve Peltan.
16537 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16539         * files.el (trash-directory): Fix defcustom type.
16541 2009-06-28  Juri Linkov  <juri@jurta.org>
16543         * help-fns.el (describe-function-1): Correctly locate adviced
16544         functions in hyperlink (Bug#2438).
16546 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
16548         * files.el (trash-directory): Change default to nil.
16549         (move-file-to-trash): If trash-directory is nil and
16550         system-move-file-to-trash is unbound, perform freedesktop-style
16551         trashing.
16553 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16555         * files.el (move-file-to-trash): Add freedesktop trash
16556         support (Bug#973).
16558 2009-06-28  Glenn Morris  <rgm@gnu.org>
16560         * autorevert.el (global-auto-revert-non-file-buffers)
16561         (global-auto-revert-mode): Doc fixes.
16563 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
16565         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16567 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
16569         * faces.el (x-handle-named-frame-geometry): Ensure that we have
16570         opened an X connection before calling x-get-resource (Bug#3194).
16572         * play/doctor.el: Remove reference to obsolete website.
16573         (make-doctor-variables): Correct grammar mistake (Bug#2633).
16575 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
16577         Remove find-file-not-found-hook VC method.  (Bug#2757)
16578         * vc-hooks.el (vc-file-not-found-hook)
16579         (vc-default-find-file-not-found-hook): Remove functions.
16580         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16581         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16582         * vc.el:
16583         * vc-hg.el:
16584         * vc-git.el: Do not mention find-file-not-found-hook VC method.
16586 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
16588         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16589         compatibility function for `looking-back'.
16591         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16592         Use `ispell-looking-back'.
16594 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
16596         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16597         rather than `filename'.
16599 2009-06-23  Miles Bader  <miles@gnu.org>
16601         * face-remap.el (text-scale-set): New function.
16603 2009-06-23  Glenn Morris  <rgm@gnu.org>
16605         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16607         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16609         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16611         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16613         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16614         Simplify Persian conditionals.
16616         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16617         variable `filename'.
16619         * comint.el (comint-insert-input): Doc fix.
16621         * Makefile.in (ELCFILES): Fix typo in previous change.
16623 2009-06-23  Miles Bader  <miles@gnu.org>
16625         * cus-start.el: Add entry for `recenter-redisplay'.
16627 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16629         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16630         Add an optional argument for the backend, use it instead of
16631         calling vc-backend.
16632         (vc-mode-line): Add an optional argument for the backend.
16633         Pass the backend to vc-state and vc-working-revision.  Move code for
16634         special handling for vc-state being a buffer to ...
16636         * vc-rcs.el (vc-rcs-find-file-hook):
16637         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
16639         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16640         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16641         vc-stay-local-p and vc-mode-line calls.
16643         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16644         (vc-cvs-diff, vc-cvs-annotate-command)
16645         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16646         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16647         vc-mode-line calls.
16649         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16650         direct comparison.
16651         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16652         backend when calling vc-mode-line.
16653         (vc-register): Do not create a closure for calling the vc register
16654         function, call it directly.
16656 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16658         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16659         to make it obvious item can be clicked.
16661         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16663 2009-06-23  Kenichi Handa  <handa@m17n.org>
16665         * language/korea-util.el (korean-key-bindings): Change the binding
16666         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
16667         same command.
16669 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
16671         Sync with Tramp 2.1.16.
16673         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16675         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
16676         when a loading of a package fails.  Completion function for rsync
16677         is `tramp-completion-function-alist-ssh'.
16678         (all): Replace all calls of `split-string' and
16679         `tramp-split-string' by `tramp-compat-split-string'.
16680         (tramp-default-method): Use `tramp-compat-process-running-p'.
16681         (tramp-default-proxies-alist): Allow also Lisp forms.
16682         (tramp-remote-path): Add choice "Private Directories".
16683         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16684         (tramp-domain-regexp): Allow also "-", "_" and ".".
16685         (tramp-end-of-output): Remove newlines, and add "$" at the end.
16686         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16687         (tramp-debug-message): Insert header line in debug buffer.
16688         (tramp-handle-directory-files-and-attributes-with-stat):
16689         Care about filenames with spaces, or starting with "-".
16690         (tramp-handle-dired-uncache): New defun.
16691         (tramp-handle-insert-directory): Don't flush the directory from
16692         cache, this is handled by `dired-uncache' now.
16693         (tramp-handle-insert-file-contents): Improve error handling.
16694         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16695         Quote `tramp-end-of-output'.
16696         (tramp-action-password): Improve trace message.
16697         (tramp-check-for-regexp): Both echoes must be present, before removing.
16698         (tramp-open-connection-setup-interactive-shell): Trace coding system.
16699         (tramp-compute-multi-hops): Eval cons cells of
16700         `tramp-default-proxies-alist'.
16701         (tramp-maybe-open-connection): Use the same command pattern for
16702         first hop and further hops.
16703         (tramp-wait-for-output): Remove handling of newlines.
16704         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16705         (tramp-split-string): Remove function.  It is handled in
16706         tramp-compat now.
16708         * net/tramp-cmds.el (tramp-bug):
16709         Recommend `tramp-cleanup-all-connections' in the bug mail.
16711         * net/tramp-compat.el (tramp-compat-split-string)
16712         (tramp-compat-process-running-p): New defuns.
16714         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16715         for `dired-uncache'.
16717         * net/tramp-gvfs.el: New package.
16719         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16720         Add handler for `dired-uncache'.
16721         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16723         * net/trampver.el: Update release number.  Make version check fit
16724         for SXEmacs 22.
16726 2009-06-22  Jim Meyering  <meyering@redhat.com>
16728         Automatically handle .xz suffix (XZ-compressed files), too.
16729         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16730         XZ is the successor to LZMA: <http://tukaani.org/xz/>
16732 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
16733             Nick Roberts  <nickrob@snap.net.nz>
16735         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16736         repository (http://sphinx.net.ru/hg/gdb-mi/).
16738 2009-06-22  Glenn Morris  <rgm@gnu.org>
16740         * files.el (dir-locals-collect-mode-variables): Allow for any number of
16741         `mode' and `eval' entries.  (Bug#3430)
16743         * Makefile.in (ELCFILES): Add fadr.elc.
16745         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16746         differing behavior of \n and ^ in strings.  (Bug#3385)
16748         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16750         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16751         property.
16752         (lisp-indent-function): Make it a defcustom.
16754 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
16756         * progmodes/gdb-ui.el: Replace with ...
16757         * progmodes/gdb-mi.el: ... this file.
16758         * progmodes/gud.el: Modify for gdb-mi.el.
16760 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
16762         * fadr.el: New file.
16764 See ChangeLog.14 for earlier changes.
16766 ;; Local Variables:
16767 ;; coding: utf-8
16768 ;; End:
16770     Copyright (C) 2009, 2010  Free Software Foundation, Inc.
16772   This file is part of GNU Emacs.
16774   GNU Emacs is free software: you can redistribute it and/or modify
16775   it under the terms of the GNU General Public License as published by
16776   the Free Software Foundation, either version 3 of the License, or
16777   (at your option) any later version.
16779   GNU Emacs is distributed in the hope that it will be useful,
16780   but WITHOUT ANY WARRANTY; without even the implied warranty of
16781   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16782   GNU General Public License for more details.
16784   You should have received a copy of the GNU General Public License
16785   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
16787 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1