Minor diary include improvement.
[emacs.git] / lisp / ChangeLog
blob24a359cea77f0c5575647b0f29063e513e1e75a6
1 2010-09-29  Glenn Morris  <rgm@gnu.org>
3         * calendar/diary-lib.el (diary-include-other-diary-files):
4         Trap some recursive includes.
6         * calendar/appt.el (appt-activate): Check diary file.
8 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
10         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
11         construction.
13         * calendar/time-date.el: No need to require cl for Emacs 21.
15 2010-09-28  Glenn Morris  <rgm@gnu.org>
17         * calendar/appt.el (appt-check): Minor simplification.
19 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
21         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
22         citation prefix.
24 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
26         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
27         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
29 2010-09-27  Kenichi Handa  <handa@m17n.org>
31         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
32         "ustar" format.
34 2010-09-27  Kenichi Handa  <handa@m17n.org>
36         * international/mule.el (define-coding-system): Docstring fixed.
38         * international/mule-diag.el (describe-character-set): Use princ
39         with proper print-length and print-level instead of insert.
41 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
43         * window.el (walk-windows): Doc fix (bug#7105).
45 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
47         * emacs-lisp/float-sup.el (e): Remove.
49 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
51         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
52         variable.
53         (starttls-negotiate): Use it.
55 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
57         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
58         back.
60 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
62         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
64 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
66         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
68         * net/netrc.el (netrc-store-data): New function.
70 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
72         * net/gnutls.el: GnuTLS glue code to set up a connection.
74 2010-09-25  Julien Danjou  <julien@danjou.info>
76         * notifications.el: Call dbus-register-signal only if it is bound.
78 2010-09-25  Glenn Morris  <rgm@gnu.org>
80         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
81         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
82         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
83         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
84         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
85         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
86         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
87         * eshell/esh-util.el, eshell/esh-var.el:
88         Remove leading `*' from docs of faces and defcustoms.
90 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
92         * eshell/em-ls.el (eshell-ls-archive-regexp):
93         * eshell/esh-util.el (eshell-tar-regexp):
94         * ibuffer.el (ibuffer-compressed-file-name-regexp):
95         * info.el (Info-suffix-list):
96         * international/mule.el (auto-coding-alist):
97         * woman.el (woman-file-regexp, woman-file-compression-regexp):
98         * progmodes/etags.el (tags-compression-info-list):
99         Support xz compression.
101 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
103         * files.el (get-free-disk-space): Don't assume the "df" output
104         columns line up (Bug#6995).
106 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
108         * finder.el (finder-unknown-keywords):
109         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
110         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
112 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
114         * server.el (server-start): Revert part of 2010-08-08 change.  Using
115         address 127.0.0.1 for local host is now done in Fmake_network_process.
117 2010-09-24  Glenn Morris  <rgm@gnu.org>
119         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
120         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
121         * textmodes/css-mode.el, textmodes/dns-mode.el:
122         Move autoloaded auto-mode-alist entries to files.el.
123         * files.el (auto-mode-alist): Move entries here.
125 2010-09-23  Glenn Morris  <rgm@gnu.org>
127         * isearch.el (isearch-lazy-highlight-cleanup)
128         (isearch-lazy-highlight-initial-delay)
129         (isearch-lazy-highlight-interval)
130         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
131         * net/net-utils.el (ipconfig-program-options):
132         Move aliases to options before the associated definitions.
134 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
136         * newcomment.el (comment-normalize-vars): Better test validity of
137         comment-end-skip.
139 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
141         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
142         (float-e): New name for `e'.
143         (degrees-to-radians, radians-to-degrees):
144         * calendar/solar.el (solar-longitude):
145         * calculator.el (calculator-registers, calculator-funcall):
146         * textmodes/artist.el (artist-spray-random-points):
147         * play/bubbles.el (bubbles--initialize-images): Use new names.
149 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
151         Update to CEDET 1.0's version of EIEIO.
153         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
154         New function.
155         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
156         (eieio-default-eval-maybe): Eval val instead of unquoting only.
157         (class-precedence-list): If class is nil, return nil.
158         (eieio-generic-call): If class of first input arg is nil, don't
159         look up static methods, and do check for primary methods.
160         (initialize-instance): See if the default needs to be evaluated
161         during the constructor.
162         (eieio-perform-slot-validation-for-default): Don't do the check
163         for values that will eventually be evaluated.
164         (eieio-eval-default-p): New function.
165         (eieio-default-eval-maybe): Use it.
167 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
169         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
170         method-invocation-order.
171         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
172         (eieio-class-precedence-dfs): Compute class precedence list using
173         dfs algorithm.
174         (eieio-class-precedence-bfs): Compute class precedence list using
175         bfs algorithm.
176         (eieio-class-precedence-c3): Compute class precedence list using
177         c3 algorithm.
178         (class-precedence-list): New function.
179         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
180         (inconsistent-class-hierarchy): New error symbol.
181         (call-next-method): Stow the replacement argument list for future
182         call-next-method invocations.
184 2010-09-23  Glenn Morris  <rgm@gnu.org>
186         * calendar/appt.el (appt-check): If not displaying the diary,
187         use (diary 1) to only get the entries we need.
188         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
189         that it is in day order.  (Bug#7019)
191         * calendar/appt.el (appt-check): Rather than showing the diary,
192         just turn off invisible display, and only if needed.
194         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
196 2010-09-23  Glenn Morris  <rgm@gnu.org>
198         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
199         (byte-compile-defvar, byte-compile-cl-warn):
200         Start warnings with lower-case, like the majority.
202         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
204         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
206         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
207         * files.el (auto-mode-alist): Move ld-script entries here, further down
208         the list.
210         * vc/add-log.el: Don't require timezone when compiling.
211         (timezone-make-date-sortable): Autoload it.
212         (change-log-sortable-date-at): Don't require timezone.
213         Use `ignore-errors'.
215         * comint.el (comint-use-prompt-regexp-instead-of-fields):
216         Move alias before definition, so it does not need autoloading.
218         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
219         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
220         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
221         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
222         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
223         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
224         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
225         * textmodes/tex-mode.el, textmodes/two-column.el:
226         Remove leading `*' from docs of defcustoms etc.
228 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
230         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
232 2010-09-22  Dan Christensen  <jdc@uwo.ca>
234         * calendar/time-date.el (date-to-time): Try using parse-time-string
235         first before using the slower timezone-make-date-arpa-standard.
237 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
239         * calendar/time-date.el (format-seconds): Comment fix.
241 2010-09-22  Glenn Morris  <rgm@gnu.org>
243         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
244         is not automatically buffer-local.
246 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
248         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
249         (smie-indent-comment): Be more careful with comment-start-skip.
250         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
251         (smie-indent-functions): Use them.
253 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
255         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
257 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
259         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
260         tool-bar-position.  Don't modify frame parameters here.
261         (menu-bar-options-save): Add tool-bar-position.
263         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
265 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
267         * textmodes/reftex-parse.el (reftex-what-macro)
268         (reftex-context-substring): Let-bind forward-sexp-function to nil
269         since we don't need/want to treat \begin...\end as a block (bug#7053).
271         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
273         * simple.el (blink-matching-open): Use syntax-class.
275         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
276         Set invisibility spec for pascal's outline mode.
277         (pascal-outline-change): Clean up calling convention.
278         (pascal-show-all, pascal-hide-other-defuns): Update callers.
280         * progmodes/prolog.el (prolog-smie-forward-token)
281         (prolog-smie-backward-token): New functions.
282         (prolog-mode-variables): Use them to parse "!," correctly.
283         Set up smie-blink-matching for ".".
285         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
286         and `end'.
287         (ispell-region, ispell-process-line): Update users.
289         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
290         point-min==1.
292         * textmodes/ispell.el: Fix commenting convention.
293         (ispell-parse-output): Simplify, use push.
294         (ispell-region): Use match-string-no-properties.
295         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
296         (ispell-minor-mode): Use define-minor-mode.
297         (ispell-message): Remove unused var `skip-regexp'.
298         (ispell-add-per-file-word-list): Use dynamic let-binding.
299         Try and use the proper comment marker.
301         * mail/sendmail.el: Fix commenting convention.
302         (sendmail-send-it): Use line-beginning-position.
304         * help-fns.el (describe-variable): Add original value, if applicable.
306 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
308         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
310         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
312 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
314         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
315         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
316         (smie-prec2-levels): Use them to better diagnose precedence cycles.
317         (smie-blink-matching-check): Don't signal a mismatch if car is t.
318         (smie-blink-matching-open): Rewrite to remove assumptions, so that
319         something like "." can also be a closer.
320         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
321         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
322         Rename internal functions to use "--".  Update callers.
324         * frame.el (make-frame-names-alist): Don't list frames on other displays.
326         * fringe.el (fringe-styles): New var.
327         (fringe-mode, fringe-query-style): Use it.
329 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
331         * progmodes/sql.el: Version 2.8
332         (sql-login-params): Update widget structure; changes still needed.
333         (sql-product-alist): Add :list-all and :list-table features for
334         SQLite, Postgres and MySQL products.
335         (sql-redirect): Handle default value.
336         (sql-execute, sql-execute-feature): New functions.
337         (sql-read-table-name): New function.
338         (sql-list-all, sql-list-table): New functions.  User API.
339         (sql-mode-map, sql-interactive-mode-map): Add key definitions
340         for above functions.
341         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
342         for above functions.
343         (sql-postgres-login-params): Add user and database defaults.
344         (sql-buffer-live-p): Bug fix.
345         (sql-product-history): New variable.
346         (sql-read-product): New function. Use it.
347         (sql-set-product, sql-product-interactive): Use it.
348         (sql-connection-history): New variable.
349         (sql-read-connection): New function.  Use it.
350         (sql-connect): New function.
351         (sql-for-each-login): Redesign function interface.
352         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
353         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
354         (sql-comint): Check for program.  Existing live buffer.
355         (sql-comint-postgres): Add port parameter.
357 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
359         * emacs-lisp/warnings.el: Fix commenting convention.
360         (display-warning): Use special mode and make the buffer read-only.
362 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
364         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
365         empty string when it follows a repeated or optional pattern.
367 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
369         * indent.el (indent-according-to-mode): Apply syntax-propertize.
370         (indent-region): Use indent-according-to-mode.
372 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
374         * fringe.el (fringe-mode): Doc fix.
376 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
378         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
379         refreshing the preview buffer.
381 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
383         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
384         (latex-syntax-propertize-rules): New consts; replace
385         tex-font-lock-syntactic-keywords.
386         (tex-env-mark, latex-env-before-change): New functions.
387         (latex-electric-env-pair-mode): New minor mode.
388         (tex-font-lock-verb): Change arguments; do move point.
389         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
390         representation as a form of comment.
391         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
392         (doctex-syntax-propertize-rules): New const; replaces
393         doctex-font-lock-syntactic-keywords.
394         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
396         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
397         (fortran-make-syntax-propertize-function): New function; replaces
398         fortran-font-lock-syntactic-keywords.
399         (fortran-mode): Use it.
400         (fortran-line-length): Use it.  Improve interactive spec.
402         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
403         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
404         when adding surrounding \(..\).
406         * progmodes/js.el (js-mode): Fix last change (bug#7054).
408 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
410         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
411         Use with-current-buffer.
413         * isearch.el (isearch-face): Rename from `isearch'.
414         (isearch-highlight): Use new name.
416 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
418         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
419         5, for `half' width fringes.  (Bug#6933)
421 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
423         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
424         (byte-compile-defvar): "foo/bar" does not lack a prefix.
426         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
428 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
430         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
431         in calculating new frame position.  Add more space between new and
432         parent on the left (Bug#7048).
434 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
436         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
437         defmacro.
439 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
441         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
443         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
444         obsolete alias for x-selection-value.
446         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
448 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
450         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
451         cookie.
453 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
455         * net/tramp-compat.el (tramp-compat-with-temp-message)
456         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
457         (tramp-compat-process-put): New defuns.
459         * net/tramp.el (top):
460         * net/tramp-gvfs.el (top):
461         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
463         * net/tramp.el (tramp-progress-reporter-update):
464         Use `tramp-compat-funcall'.
466         * net/tramp.el (tramp-process-actions):
467         * net/tramp-gvfs.el (tramp-handle-vc-registered):
468         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
469         (tramp-get-remote-stat, tramp-get-remote-readlink):
470         Use `tramp-compat-with-temp-message'.
472         * net/tramp-sh.el (top): Require 'cl.
473         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
474         (tramp-open-connection-setup-interactive-shell):
475         Use `tramp-compat-process-put'.
477 2010-09-15  Alan Mackenzie  <acm@muc.de>
479         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
480         indentation.
481         (c-forward-<>-arglist-recur): Fix an infinite recursion.
483 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
485         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
486         `lexical' for warnings related to lexical scoping.
487         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
488         global vars which don't have a prefix and could hence affect lexical
489         scoping in unrelated files.
491 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
493         * net/imap.el: Revert back to version
494         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
495         seem problematic.
497 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
499         * obsolete/old-whitespace.el (whitespace-unload-function):
500         Explicitly pass `obarray' to `unintern' to avoid a warning.
502 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
504         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
505         Add `when' argument.  Update callers.
507         * subr.el (unintern): Declare the obarray arg mandatory.
509 2010-09-14  Glenn Morris  <rgm@gnu.org>
511         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
512         Doc fixes.
514         * calendar/diary-lib.el (diary-included-files): New variable.
515         (diary-list-entries): Maybe initialize diary-included-files.
516         (diary-include-other-diary-files): Append to diary-included-files.
517         * calendar/appt.el (appt-update-list): Also check the members of
518         diary-included-files.  (Bug#6999)
519         (appt-check): Doc fix.
521 2010-09-14  David Reitter  <david.reitter@gmail.com>
523         * simple.el (line-move-visual): Do not truncate goal column to
524         integer size.  (Bug#7020)
526 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
528         * repeat.el (repeat): Allow repeating when the last event is a click.
529         Suggested by Drew Adams (bug#6256).
531 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
533         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
534         Replace setting HGRCPATH to "" by some less invasive --config options.
536 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
538         * font-lock.el (font-lock-beginning-of-syntax-function):
539         Mark as obsolete.
541 2010-09-14  Glenn Morris  <rgm@gnu.org>
543         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
544         and tool-bar modes.  (Bug#6211)
545         (menu-bar-mode): Move setting of standard-value after the
546         minor-mode definition, otherwise it seems to have no effect.
548 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
550         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
551         Fix typo.  (Bug#6976)
553 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
555         * whitespace.el: Allow cleaning up blanks without blank
556         visualization (Bug#6651).  Adjust help window for
557         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
558         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
559         (whitespace-style): Add new value 'face.  Adjust docstring.
560         (whitespace-space, whitespace-hspace, whitespace-tab):
561         Adjust foreground property face.
562         (whitespace-line-column): Adjust docstring and type declaration.
563         (whitespace-style-value-list, whitespace-toggle-option-alist)
564         (whitespace-help-text): Adjust const initialization.
565         (whitespace-toggle-options, global-whitespace-toggle-options):
566         Adjust docstring.
567         (whitespace-display-window, whitespace-interactive-char)
568         (whitespace-style-face-p, whitespace-color-on): Adjust code.
569         (whitespace-help-scroll): New fun.
571 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
573         * calendar/time-date.el (format-seconds): Comment fix.
575 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
577         * progmodes/sql.el: Version 2.7.
578         (sql-buffer-live-p): Improve detection.
579         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
580         (sql-set-sqli-buffer): Use it.
581         (sql-product-interactive): Run `sql-set-sqli-hook'.
582         (sql-rename-buffer): Code cleanup.
583         (sql-redirect, sql-redirect-value): New functions.  More to come.
585 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
587         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.
588         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
589         (TRAMP_SRC): New macro.
590         ($(lisp)/net/tramp-loaddefs.el): New target.
592 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
594         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
596         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
598         * net/tramp.el (top): Don't show loading message.  Require just
599         'tramp-compat, everything else is required there.
600         Use `ignore-errors' where appropriate.
601         (tramp-inline-compress-start-size, tramp-copy-size-limit)
602         (tramp-terminal-type, tramp-end-of-output)
603         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
604         (tramp-completion-function-alist-ssh)
605         (tramp-completion-function-alist-telnet)
606         (tramp-completion-function-alist-su)
607         (tramp-completion-function-alist-putty, tramp-remote-path)
608         (tramp-remote-process-environment, tramp-sh-extra-args)
609         (tramp-actions-before-shell, tramp-uudecode)
610         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
611         (tramp-perl-file-attributes)
612         (tramp-perl-directory-files-and-attributes)
613         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
614         (tramp-perl-encode, tramp-perl-decode)
615         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
616         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
617         (tramp-handle-make-symbolic-link, tramp-handle-load)
618         (tramp-handle-file-name-as-directory)
619         (tramp-handle-file-name-directory)
620         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
621         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
622         (tramp-do-file-attributes-with-ls)
623         (tramp-do-file-attributes-with-perl)
624         (tramp-do-file-attributes-with-stat)
625         (tramp-handle-set-visited-file-modtime)
626         (tramp-handle-verify-visited-file-modtime)
627         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
628         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
629         (tramp-handle-file-selinux-context)
630         (tramp-handle-set-file-selinux-context)
631         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
632         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
633         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
634         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
635         (tramp-handle-file-ownership-preserved-p)
636         (tramp-handle-directory-file-name, tramp-handle-directory-files)
637         (tramp-handle-directory-files-and-attributes)
638         (tramp-do-directory-files-and-attributes-with-perl)
639         (tramp-do-directory-files-and-attributes-with-stat)
640         (tramp-handle-file-name-all-completions)
641         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
642         (tramp-handle-copy-file, tramp-handle-copy-directory)
643         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
644         (tramp-do-copy-or-rename-file-via-buffer)
645         (tramp-do-copy-or-rename-file-directly)
646         (tramp-do-copy-or-rename-file-out-of-band)
647         (tramp-handle-make-directory, tramp-handle-delete-directory)
648         (tramp-handle-delete-file)
649         (tramp-handle-dired-recursive-delete-directory)
650         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
651         (tramp-handle-insert-directory)
652         (tramp-handle-unhandled-file-name-directory)
653         (tramp-handle-expand-file-name)
654         (tramp-handle-substitute-in-file-name)
655         (tramp-handle-executable-find, tramp-process-sentinel)
656         (tramp-handle-start-file-process, tramp-handle-process-file)
657         (tramp-handle-call-process-region, tramp-handle-shell-command)
658         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
659         (tramp-handle-insert-file-contents)
660         (tramp-handle-insert-file-contents-literally)
661         (tramp-handle-find-backup-file-name)
662         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
663         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
664         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
665         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
666         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
667         (tramp-find-file-exists-command, tramp-open-shell)
668         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
669         (tramp-open-connection-setup-interactive-shell)
670         (tramp-local-coding-commands, tramp-remote-coding-commands)
671         (tramp-find-inline-encoding, tramp-call-local-coding-command)
672         (tramp-inline-compress-commands, tramp-find-inline-compress)
673         (tramp-compute-multi-hops, tramp-maybe-open-connection)
674         (tramp-send-command, tramp-wait-for-output)
675         (tramp-send-command-and-check, tramp-barf-unless-okay)
676         (tramp-send-command-and-read, tramp-mode-string-to-int)
677         (tramp-convert-file-attributes, tramp-check-cached-permissions)
678         (tramp-file-mode-from-int, tramp-file-mode-permissions)
679         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
680         (tramp-method-out-of-band-p, tramp-local-host-p)
681         (tramp-get-remote-path, tramp-get-remote-tmpdir)
682         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
683         (tramp-get-test-command, tramp-get-test-nt-command)
684         (tramp-get-file-exists-command, tramp-get-remote-ln)
685         (tramp-get-remote-perl, tramp-get-remote-stat)
686         (tramp-get-remote-readlink, tramp-get-remote-trash)
687         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
688         (tramp-get-local-uid, tramp-get-local-gid)
689         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
690         tramp-sh.el.
691         (tramp-methods, tramp-default-method-alist)
692         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
693         Move initialization to tramp-sh.el.
694         (tramp-temp-name-prefix): Make it a defconst.
695         (tramp-dissect-file-name): Don't check anymore for multi-hop
696         methods.
697         (tramp-debug-outline-regexp): Add a docstring.
698         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
699         (tramp-get-debug-buffer): Use it.
701         * net/tramp-cache.el (top): Set tramp-autoload cookie for
702         initialization forms.
703         (tramp-set-connection-property): Don't protect `tramp-message'
704         call, it isn't necessary any longer.
705         (tramp-dump-connection-properties): Use `ignore-errors'.
707         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
708         'password-cache and 'auth-source.
710         * net/tramp-gvfs.el (top):
711         * net/tramp-smb.el (top): Require 'tramp-sh.
713         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
715         * net/tramp-sh.el: New file, derived from tramp.el.
716         (top): Initialize `tramp-methods', `tramp-default-method-alist',
717         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
718         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
719         Use `ignore-errors' where appropriate.
720         (tramp-sh-file-name-handler-alist): Rename from
721         `tramp-file-name-handler-alist'.
722         (tramp-send-command-and-check): Return t or nil.  Remove all
723         `zerop' checks, where called.
724         (tramp-handle-set-file-modes)
725         (tramp-do-copy-or-rename-file-directly)
726         (tramp-handle-delete-directory, tramp-handle-delete-file)
727         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
728         (tramp-sh-file-name-handler, tramp-send-command-and-check)
729         (tramp-get-remote-ln): Set tramp-autoload cookie.
731         * net/tramp-fish.el: Remove file.
733 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
735         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
736         buffer-file-name to avoid file-locking.  (Bug#7026)
738 2010-09-13  Julien Danjou  <julien@danjou.info>
740         * notifications.el (notifications-notify): Add support for
741         image-path and sound-name.
742         (notifications-specification-version): Add this variable.
744 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
746         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
748 2010-09-12  Leo  <sdl.web@gmail.com>
750         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
751         (rcirc-completion-start): New variables.
752         (rcirc-nick-completions): Rename to rcirc-completions.
753         (rcirc-nick-completion-start-offset): Delete.
754         (rcirc-completion-at-point): New function for constructing
755         completion data for both nicks and irc commands.  Add to
756         completion-at-point-functions in rcirc mode.
757         (rcirc-complete): Rename from rcirc-nick-complete; use
758         rcirc-completion-at-point.
759         (defun-rcirc-command): Update rcirc-client-commands.
761 2010-09-11  Glenn Morris  <rgm@gnu.org>
763         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
764         atomically, to avoid parallel build errors.  (Bug#4196)
766 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
768         * progmodes/sql.el: Version 2.6
769         (sql-dialect): Synonym for "sql-product".
770         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
771         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
772         Set "sql-buffer" to buffer name not buffer object so multiple sql
773         interactive buffers work properly.  Reverts misguided changes in
774         earlier work.
775         (sql-comint): Make sure different buffer name is used if "*SQL*"
776         buffer is for a different product.
777         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
778         login param.
779         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
780         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
781         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
782         Accept new buffer name or prompt for one.
783         (sql-port): Default to zero.
784         (sql-comint-mysql): Handle "sql-port" as a numeric.
785         (sql-port-history): Delete unused variable.
786         (sql-get-login): Default "sql-port" to a number.
787         (sql-product-alist): Correct Postgres prompt and terminator regexp.
788         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
789         "sqlite3" executables.
790         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
791         (sql-buffer-live-p): New function.
792         (sql-mode-menu, sql-send-string): Use it.
793         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
794         syntax pattern.
795         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
796         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
798 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
800         * net/netrc.el (netrc-credentials): New convenience function.
802 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
804         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
805         to replace texinfo-font-lock-syntactic-keywords.
806         (texinfo-mode): Use it.
808         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
809         Use syntax-propertize-function.
811         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
812         replace sgml-font-lock-syntactic-keywords.
813         (sgml-mode): Use it.
815         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
816         since we don't use it.
818         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
820         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
821         if available.
822         (vhdl-fontify-buffer): Adjust.
824         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
825         replace tcl-font-lock-syntactic-keywords.
826         (tcl-mode): Use it.
828         * progmodes/simula.el (simula-syntax-propertize-function): New var to
829         replace simula-font-lock-syntactic-keywords.
830         (simula-mode): Use it.
832         * progmodes/sh-script.el (sh-st-symbol): Remove.
833         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
834         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
835         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
836         (sh-font-lock-paren): Set syntax-multiline.
837         (sh-font-lock-syntactic-keywords): Remove.
838         (sh-syntax-propertize-function): New function to replace it.
839         (sh-mode): Use it.
841         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
842         Define while compiling.
843         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
844         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
845         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
846         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
847         (ruby-here-doc-end-syntax): Only define when
848         syntax-propertize is not available.
849         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
850         New functions.
851         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
852         (electric-indent-chars): Silence bytecompiler.
853         (ruby-mode): Use prog-mode, syntax-propertize-function, and
854         electric-indent-chars.
856         * progmodes/python.el (python-syntax-propertize-function): New var to
857         replace python-font-lock-syntactic-keywords.
858         (python-mode): Use it.
859         (python-quote-syntax): Simplify and adjust to new use.
861         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
862         replace perl-font-lock-syntactic-keywords.
863         (perl-syntax-propertize-special-constructs): New fun to replace
864         perl-font-lock-special-syntactic-constructs.
865         (perl-font-lock-syntactic-face-function): New fun.
866         (perl-mode): Use it.
868         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
869         to replace octave-font-lock-close-quotes.
870         (octave-syntax-propertize-function): New function to replace
871         octave-font-lock-syntactic-keywords.
872         (octave-mode): Use it.
874         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
875         replaces mixal-font-lock-syntactic-keywords.
876         (mixal-mode): Use it.
878         * progmodes/make-mode.el (makefile-syntax-propertize-function):
879         New var; replaces makefile-font-lock-syntactic-keywords.
880         (makefile-mode): Use it.
881         (makefile-imake-mode): Adjust.
883         * progmodes/js.el (js--regexp-literal): Define while compiling.
884         (js-syntax-propertize-function): New var; replaces
885         js-font-lock-syntactic-keywords.
886         (js-mode): Use it.
888         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
889         replaces gdb-script-font-lock-syntactic-keywords.
890         (gdb-script-mode): Use it.
892         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
893         (fortran--font-lock-syntactic-keywords): New var.
894         (fortran-line-length): Update syntax-propertize-function and
895         fortran--font-lock-syntactic-keywords.
897         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
899         * progmodes/cfengine.el (cfengine-mode):
900         Use syntax-propertize-function.
901         (cfengine-font-lock-syntactic-keywords): Remove.
903         * progmodes/autoconf.el (autoconf-mode):
904         Use syntax-propertize-function.
905         (autoconf-font-lock-syntactic-keywords): Remove.
907         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
908         (ada-after-change-function, ada-initialize-syntax-table-properties)
909         (ada-handle-syntax-table-properties): Only define when
910         syntax-propertize is not available.
911         (ada-mode): Use syntax-propertize-function.
913         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
914         (font-lock-fontify-syntactic-keywords-region): Move handling of
915         font-lock-syntactically-fontified to...
916         (font-lock-default-fontify-region): ...here.
917         Let syntax-propertize-function take precedence.
918         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
920         * emacs-lisp/syntax.el (syntax-propertize-function)
921         (syntax-propertize-chunk-size, syntax-propertize--done)
922         (syntax-propertize-extend-region-functions): New vars.
923         (syntax-propertize-wholelines, syntax-propertize-multiline)
924         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
925         (syntax-propertize): New functions.
926         (syntax-propertize-rules): New macro.
927         (syntax-ppss-flush-cache): Set syntax-propertize--done.
928         (syntax-ppss): Call syntax-propertize.
930         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
932 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
934         * textmodes/ispell.el (ispell-init-process): Improve comments.
935         XEmacs compatibility changes regarding (add-hook) 'local option
936         and (set-process-query-on-exit-flag).
938 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
940         * net/tramp-cache.el (tramp-parse-connection-properties):
941         Set tramp-autoload cookie.
943 2010-09-09  Glenn Morris  <rgm@gnu.org>
945         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
946         (imagemagick-register-types): Doc fix.
948 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
950         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
952         * progmodes/js.el (require): Require is already "eval-and-compile".
953         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
954         (js--re-search-backward): Use js--re-search-forward.
956         * progmodes/fortran.el (fortran-line-length): Don't recompute
957         syntactic keywords redundantly a second time.
959         * progmodes/ada-mode.el: Replace "(set '" with setq.
960         (ada-mode): Simplify.
961         (ada-create-case-exception, ada-adjust-case-interactive)
962         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
963         (ada-search-ignore-string-comment, ada-move-to-start)
964         (ada-move-to-end): Use with-syntax-table.
966         * font-lock.el (save-buffer-state): Remove `varlist' arg.
967         (font-lock-unfontify-region, font-lock-default-fontify-region):
968         Update usage correspondingly.
969         (font-lock-fontify-syntactic-keywords-region):
970         Set parse-sexp-lookup-properties buffer-locally here.
971         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
973         * simple.el (blink-matching-open): Don't burp if we can't find a match.
975 2010-09-08  Glenn Morris  <rgm@gnu.org>
977         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
978         Error if not compiled with -DBYTE_CODE_METER.
980         * emacs-lisp/bytecomp.el (byte-recompile-directory):
981         Ignore dir-locals-file.
983 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
985         * progmodes/compile.el (compilation-error-regexp-alist-alist):
986         Not a const.
987         (compilation-error-regexp-alist-alist): Rule out ": " in file names
988         for the `gnu' messages.
989         (compilation-set-skip-threshold): New command.
990         (compilation-start): Use \' rather than $.
991         (compilation-forget-errors): Use clrhash.
993 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
995         * textmodes/ispell.el (ispell-valid-dictionary-list):
996         Simplify logic.
998 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
1000         Migrate to Tramp 2.2.  Rearrange load dependencies.
1001         (Bug#1529, Bug#5448, Bug#5705)
1003         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1004         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1005         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1007         * net/tramp.el (top): Remove all other tramp-* loads except
1008         tramp-compat.el.  Remove all changes to tramp-unload-hook for
1009         other tramp-* packages.  Rearrange defun order.  Change calls of
1010         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1011         `tramp-compat-octal-to-decimal' to new function names.
1012         (tramp-terminal-type, tramp-initial-end-of-output)
1013         (tramp-methods, tramp-foreign-file-name-handler-alist)
1014         (tramp-tramp-file-p, tramp-completion-mode-p)
1015         (tramp-send-command-and-check, tramp-get-remote-path)
1016         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1017         (tramp-shell-quote-argument): Set tramp-autoload cookie.
1018         (with-file-property, with-connection-property): Move to
1019         tramp-cache.el.
1020         (tramp-local-call-process, tramp-decimal-to-octal)
1021         (tramp-octal-to-decimal): Move to tramp-compat.el.
1022         (tramp-handle-shell-command): Do not require 'shell.
1023         (tramp-compute-multi-hops): No special handling for tramp-gw-*
1024         symbols.
1025         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1027         * net/tramp-cache.el (top): Require 'tramp.  Add to
1028         `tramp-unload-hook'.
1029         (tramp-cache-data, tramp-get-file-property)
1030         (tramp-set-file-property, tramp-flush-file-property)
1031         (tramp-flush-directory-property, tramp-get-connection-property)
1032         (tramp-set-connection-property, tramp-flush-connection-property)
1033         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1034         cookie.
1035         (with-file-property, with-connection-property): New defuns, moved
1036         from tramp.el.
1037         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1038         macro.
1040         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1041         (tramp-version): Set tramp-autoload cookie.
1043         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
1044         changes to tramp-unload-hook for other tramp-* packages.  Add to
1045         `tramp-unload-hook'.
1046         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1047         (tramp-compat-call-process): New defuns, moved from tramp.el.
1049         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
1050         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1051         to `tramp-unload-hook'.  Change call of
1052         `tramp-compat-decimal-to-octal' to new function name.
1053         (tramp-fish-method): Make it a defconst.
1054         (tramp-fish-file-name-p): Make it a defsubst.
1055         (tramp-fish-method, tramp-fish-file-name-handler)
1056         (tramp-fish-file-name-p): Set tramp-autoload cookie.
1058         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1059         `tramp-foreign-file-name-handler-alist'.  Add to
1060         `tramp-unload-hook'.
1061         (tramp-ftp-method): Make it a defconst.
1062         (tramp-ftp-file-name-p): Make it a defsubst.
1063         (tramp-ftp-method, tramp-ftp-file-name-handler)
1064         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1066         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1067         `tramp-foreign-file-name-handler-alist'.  Add to
1068         `tramp-unload-hook'.  Change checks, whether package can be
1069         loaded.
1070         (tramp-gvfs-file-name-p): Make it a defsubst.
1071         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1072         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1073         (tramp-gvfs-handle-file-directory-p): New defun.
1074         (tramp-gvfs-file-name-handler-alist): Use it.
1076         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1077         `tramp-foreign-file-name-handler-alist'.  Add to
1078         `tramp-unload-hook'.
1079         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1080         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1081         defconst.
1082         (tramp-gw-tunnel-method, tramp-gw-socks-method)
1083         (tramp-gw-open-connection): Set tramp-autoload cookie.
1085         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
1086         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1087         to `tramp-unload-hook'.  Change checks, whether package can be
1088         loaded.
1089         (tramp-imap-file-name-p): Make it a defsubst.
1090         (tramp-imap-method, tramp-imaps-method)
1091         (tramp-imap-file-name-handler)
1092         (tramp-imap-file-name-p): Set tramp-autoload cookie.
1094         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
1095         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1096         to `tramp-unload-hook'.  Change checks, whether package can be
1097         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
1098         function name.
1099         (tramp-smb-tunnel-method): Make it a defconst.
1100         (tramp-smb-file-name-p): Make it a defsubst.
1101         (tramp-smb-method, tramp-smb-file-name-handler)
1102         (tramp-smb-file-name-p): Set tramp-autoload cookie.
1104         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1105         (tramp-uuencode-region): Set tramp-autoload cookie.
1107         * net/trampver.el (top) Add to `tramp-unload-hook'.
1108         (tramp-version, tramp-bug-report-address): Set tramp-autoload
1109         cookie.  Update release number.
1111 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
1113         * textmodes/ispell.el (ispell-start-process): Make sure original
1114         arg list is properly initialized (Bug#6993, Bug#6994).
1116 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1118         * files.el (directory-abbrev-alist): Use \` as default regexp.
1120         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1121         chars like - or ] (bug#6984).
1122         (rx-any-condense-range): Explode 2-char ranges.
1124 2010-09-06  Glenn Morris  <rgm@gnu.org>
1126         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1128 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1130         * textmodes/bibtex.el:
1131         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1133 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1135         * net/imap.el (imap-message-map): Remove optional buffer parameter,
1136         since no callers use it.
1137         (imap-message-get): Ditto.
1138         (imap-message-put): Ditto.
1139         (imap-mailbox-map): Ditto.
1140         (imap-mailbox-put): Ditto.
1141         (imap-mailbox-get): Ditto.
1142         (imap-mailbox-get): Revert last change for this function.
1144 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1146         * net/imap.el (imap-fetch-safe): Remove function, and alter all
1147         callers to use `imap-fetch' instead.  According to the comments, this
1148         should be safe, since all other IMAP clients use the 1:* syntax.
1149         (imap-enable-exchange-bug-workaround): Remove.
1150         (imap-debug): Remove -- doesn't seem very useful.
1152 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1154         * net/imap.el (imap-log): New convenience function used throughout
1155         instead of repeating the same code all over the place.
1157 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1159         * mouse.el (mouse-save-then-kill): Save region to kill-ring
1160         when mouse-drag-copy-region is non-nil (Bug#6956).
1162 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
1164         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1165         Improve regexps (Bug#6987).
1166         (dired-sort-toggle): Search more robustly for -t flag.
1168         * files.el (get-free-disk-space): Search more robustly for
1169         "available" column.  Suggested by Ehud Karni
1170         <ehud@unix.mvs.co.il>.
1172 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
1174         * international/uni-bidi.el:
1175         * international/uni-category.el:
1176         * international/uni-combining.el:
1177         * international/uni-decimal.el:
1178         * international/uni-mirrored.el:
1179         * international/uni-name.el: Regenerate.
1181 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1183         * electric.el (electric-indent-post-self-insert-function):
1184         Don't reindent with a sloppy indentation function.
1186         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1187         border case in change-log-mode.
1189 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
1191         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1192         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1193         Recognize leading tab in gcc-include regexp.  Ignore names with
1194         leading "from" or "in" in gnu regexp (Bug#6937).
1196 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1198         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1199         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1200         (ispell-start-process): Avoid setq and simplify logic.
1201         (ispell-init-process): Setup kill-buffer-hook locally when needed.
1202         (kill-buffer-hook): Don't use it globally with code that uses
1203         expand-file-name since that may call kill-buffer via
1204         code_conversion_restore.
1206 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
1208         * emacs-lisp/package.el (package-directory-list): Only call
1209         file-name-nondirectory on a string.
1211 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1213         * emacs-lisp/package.el (package--download-one-archive):
1214         Ensure that archive-contents is valid before saving it.
1215         (package-activate-1, package-mark-obsolete, define-package)
1216         (package-compute-transaction, package-list-maybe-add): Use push.
1218 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1220         Use SMIE's blink-paren for octave-mode.
1221         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1222         Backslashes do not escape single-quotes, single-quotes do.
1223         (octave-block-else-regexp, octave-block-end-regexp)
1224         (octave-block-match-alist): Remove.
1225         (octave-smie-bnf-table): New var, with old content.
1226         (octave-smie-op-levels): Use it.
1227         (octave-smie-closer-alist): New var.
1228         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
1229         (octave-blink-matching-block-open): Remove.
1230         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1231         (octave-electric-space): Let self-insert-command run expand-abbrev and
1232         blink parens.
1234         * electric.el (electricity): New group.
1235         (electric-indent-chars): New var.
1236         (electric-indent-post-self-insert-function): New fun.
1237         (electric-indent-mode): New minor mode.
1238         (electric-pair-skip-self): New custom.
1239         (electric-pair-post-self-insert-function): New function.
1240         (electric-pair-mode): New minor mode.
1242         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1243         calcAlg-blink-matching-open.
1244         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1245         (calc-do-alg-entry): Only touch the part of the keymap that varies.
1246         Use the new blink-matching-check-function.
1248         Provide blink-matching support to SMIE.
1249         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1250         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1251         (smie-blink-matching-check, smie-blink-matching-open): New functions.
1253         * simple.el (newline): Fix last change to properly remove itself from
1254         the hook.
1256 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1258         * simple.el (newline): Eliminate optimization.
1259         Use post-self-insert-hook to set hard-newline and things before
1260         running post-self-insert-hook.
1261         (blink-matching-check-mismatch): New function.
1262         (blink-matching-check-function): New variable.
1263         (blink-matching-open): Use them.
1264         Skip back forward over prefix chars skipped by forward-sexp.
1265         Don't check if the parens are backslash escaped.
1266         (blink-paren-post-self-insert-function): Check backslash escaping here.
1268 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1270         * emacs-lisp/package.el (package-menu-mode-map):
1271         Change package-menu-revert bindings to revert-buffer.
1272         (package-menu-mode): Set revert-buffer-function.
1273         (package-menu-revert): Doc fix.
1275 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
1277         * textmodes/ispell.el (ispell-init-process): Use "~/" as
1278         `default-directory' unless using Ispell per-directory personal
1279         dictionaries and not in a mini-buffer under XEmacs.
1280         (kill-buffer-hook): Do not kill ispell process on exit when
1281         `ispell-process-directory' is "~/".  (Bug#6143)
1283 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
1285         * simple.el (kill-new): Call interprogram-cut-function with only
1286         one argument.
1288         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1289         Remove cut buffer from error message.
1291         * term/x-win.el (x-select-text):
1292         * term/pc-win.el (x-selection-value):
1293         * term/ns-win.el (x-selection-value):
1294         * eshell/em-term.el:
1295         * w32-fns.el (x-get-selection-value):
1296         * mouse-sel.el (mouse-sel-set-selection-function):
1297         * frame.el (display-selections-p): Remove cut-buffer in documentation.
1299         * term/x-win.el: Update documentation for x-last-selected-text-*.
1300         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1301         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1302         (x-select-text): Remove argument PUSH, update documentation.  Remove
1303         cut-buffer code.
1304         (x-selection-value-internal): Was previously x-selection-value.
1305         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1306         Update documentation, remove cut-buffer code.  Call
1307         x-selection-value-internal.
1308         (x-clipboard-yank): Call x-selection-value-internal.
1309         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1311         * term/pc-win.el (x-last-selected-text):
1312         x-cut-buffer-or-selection-value renamed to x-selection-value
1313         (x-select-text): Remove argument PUSH, update documentation.
1315         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1316         x-cut-buffer-or-selection-value renamed to x-selection-value
1317         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1318         (x-select-text): Remove argument PUSH, update documentation.
1320         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1322         * w32-fns.el (x-last-selected-text):
1323         x-cut-buffer-or-selection-value renamed to x-selection-value.
1324         (x-cut-buffer-max): Remove.
1325         (x-select-text): Remove argument PUSH, update documentation.
1327         * simple.el (interprogram-cut-function): Remove mention of PUSH.
1329         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1331         * mouse-sel.el (mouse-sel-get-selection-function):
1332         x-cut-buffer-or-selection-value renamed to x-selection-value.
1333         (x-select-text): Remove optional push.
1335 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1337         * simple.el (blink-paren-function): Move from C to here.
1338         (blink-paren-post-self-insert-function): New function.
1339         (post-self-insert-hook): Use it.
1341         * emacs-lisp/pcase.el (pcase-split-memq):
1342         Fix overenthusiastic optimisation.
1343         (pcase-u1): Handle the case of a lambda pred.
1345 2010-08-31  Kenichi Handa  <handa@m17n.org>
1347         * international/mule-cmds.el (standard-display-european-internal):
1348         Setup standard-display-table for 8-bit characters by storing 8-bit
1349         characters in the element vector.
1351         * disp-table.el (standard-display-8bit):
1352         Setup standard-display-table for 8-bit characters by storing 8-bit
1353         characters in the element vector.
1354         (standard-display-european): Likewise.
1356 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
1358         * textmodes/nroff-mode.el (nroff-view): New command.
1359         (nroff-mode-map): Bind it to C-c C-c.
1361 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1363         * emacs-lisp/smie.el (smie-down-list): New command.
1365         Remove old indentation and navigation code on octave-mode.
1366         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1367         smie-down-list rather than add a binding for octave-down-block.
1368         (octave-mark-block, octave-blink-matching-block-open):
1369         Rely on forward-sexp-function.
1370         (octave-fill-paragraph): Don't narrow, so you can use
1371         indent-according-to-mode.
1372         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1373         (octave-in-block-p, octave-re-search-forward-kw)
1374         (octave-re-search-backward-kw, octave-indent-calculate)
1375         (octave-end-as-array-index-p, octave-block-end-offset)
1376         (octave-scan-blocks, octave-forward-block, octave-backward-block)
1377         (octave-down-block, octave-backward-up-block, octave-up-block)
1378         (octave-before-magic-comment-p, octave-indent-line): Remove.
1380 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
1382         * emacs-lisp/package.el (package--read-archive-file): Just use
1383         `read', to avoid copying an additional string.
1384         (package-menu-mode): Set header-line-format here.
1385         (package-menu-refresh, package-menu-revert): Signal an error if
1386         not in the Package Menu.
1387         (package-menu-package-list): New var.
1388         (package--generate-package-list): Operate on the current buffer;
1389         don't assume that it is *Packages*, since the user may rename it.
1390         Allow persistent package listings and sort keys using
1391         package-menu-package-list and package-menu-package-sort-key.
1392         (package-menu--version-predicate): Fix version calculation.
1393         (package-menu-sort-by-column): Don't select the window.
1394         (package--list-packages): Create the *Packages* buffer.
1395         Set package-menu-package-list-key.
1396         (list-packages): Sorting by status is now the default.
1397         (package-buffer-info): Use match-string-no-properties.
1398         (define-package): Add a &rest argument for future proofing, but
1399         don't use it yet.
1400         (package-install-from-buffer, package-install-buffer-internal):
1401         Merge into a single function, package-install-from-buffer.
1402         (package-install-file): Change caller.
1404         * finder.el: Load finder-inf using `require'.
1405         (finder-list-matches): Sorting by status is now the default.
1406         (finder-compile-keywords): Simpify printing.
1408 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1410         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1411         (octave-mode-map): Remove special bindings for forward/backward-block
1412         and octave-backward-up-block.  Use smie-close-block.
1413         (octave-continuation-marker-regexp): New var.
1414         (octave-continuation-regexp): Use it.
1415         (octave-operator-table, octave-smie-op-levels)
1416         (octave-operator-regexp, octave-smie-indent-rules): New vars.
1417         (octave-smie-backward-token, octave-smie-forward-token): New funs.
1418         (octave-mode): Use SMIE.
1419         (octave-close-block): Delete.
1421 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
1423         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1424         CLIPBOARD, not in PRIMARY.  (Bug#6944)
1426 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1428         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1429         a list of parents.
1430         (smie-indent-column): Allow indirection through variables.
1432         * composite.el (save-buffer-state): Delete, unused.
1433         * font-lock.el (save-buffer-state): Use with-silent-modifications.
1434         (font-lock-default-fontify-region): Use with-syntax-table.
1435         * jit-lock.el (with-buffer-unmodified): Remove.
1436         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1438         Use `declare' in defmacros.
1439         * window.el (save-selected-window):
1440         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1441         * progmodes/python.el (def-python-skeleton):
1442         * net/dbus.el (dbus-ignore-errors):
1443         * jka-cmpr-hook.el (with-auto-compression-mode):
1444         * international/mule.el (with-category-table):
1445         * emacs-lisp/timer.el (with-timeout):
1446         * emacs-lisp/lisp-mnt.el (lm-with-file):
1447         * emacs-lisp/eieio.el (with-slots):
1448         * emacs-lisp/easymenu.el (easy-menu-define):
1449         * emacs-lisp/debug.el (debugger-env-macro):
1450         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1451         (Multiple-value-call, Multiple-value-prog1):
1452         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1453         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1454         edebug rule to definition.
1455         * emacs-lisp/lisp-mode.el (save-selected-window)
1456         (with-current-buffer, combine-after-change-calls)
1457         (with-output-to-string, with-temp-file, with-temp-buffer)
1458         (with-temp-message, with-syntax-table, read-if, eval-after-load)
1459         (dolist, dotimes, when, unless):
1460         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1462 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1464         * finder.el: Require `package'.
1465         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
1466         (finder-package-info): Var deleted.
1467         (finder-keywords-hash, finder--builtins-alist): New vars.
1468         (finder-compile-keywords): Compute package--builtins and
1469         finder-keywords-hash instead of finder-keywords-hash, respecting
1470         the "Package" header.
1471         (finder-unknown-keywords, finder-list-matches):
1472         Use finder-keywords-hash and package--list-packages.
1473         (finder-mode): Don't set font-lock-defaults.
1474         (finder-exit): We don't use "*Finder-package*" and "*Finder
1475         Category*" buffers anymore.
1477         * emacs-lisp/package.el (package--builtins-base): Var deleted.
1478         (package--builtins): Set default value to nil.
1479         (package-initialize): Load precomputed value of package--builtins
1480         from finder-inf.el.
1481         (package-alist, package-compute-transaction)
1482         (package-download-transaction): Improve docstring.
1483         (package-read-all-archive-contents): Do not change
1484         package--builtins here.
1485         (list-packages): Make package-list-packages an alias for this.
1486         Sort by status by default.
1487         (package--list-packages): Add optional PACKAGES arg.
1488         (describe-package-1): Use font-lock-face property.  For built-in
1489         packages, insert file commentary.
1490         (package--generate-package-list): Rename from
1491         package-list-packages-internal; all callers changed.  Add optional
1492         PACKAGES arg.  Add alphabetical sort fallbacks.
1493         (package-menu--version-predicate, package-menu--status-predicate)
1494         (package-menu--description-predicate)
1495         (package-menu--name-predicate): New functions.
1497         * info.el (Info-finder-find-node): Search package-alist instead of
1498         finder-package-info.
1500 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1502         * subr.el (version-regexp-alist): Don't use "a" and "b" for
1503         "alpha" and "beta".
1504         (version-to-list): Handle versions like "10.3d".
1506 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1508         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1509         (macroexp-accumulate): Use `declare'.
1511 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1513         * whitespace.el (whitespace-style): Adjust type declaration.
1515 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
1517         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1518         empty argument to gvfs-copy.
1520 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1522         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1523         handle new TRASH arg of `delete-file'.
1525 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
1527         * net/tramp.el (tramp-handle-insert-directory): Don't use
1528         `forward-word', its default syntax could be changed.
1530 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
1531             Michael Albinus  <michael.albinus@gmx.de>
1533         Implement compression for inline methods.
1535         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1536         (tramp-copy-size-limit): Allow also nil.
1537         (tramp-inline-compress-commands): New defconst.
1538         (tramp-find-inline-compress, tramp-get-inline-compress)
1539         (tramp-get-inline-coding): New defuns.
1540         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1541         replaced by `tramp-get-inline-coding'.
1542         (tramp-handle-file-local-copy, tramp-handle-write-region)
1543         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1545 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
1547         Detect ssh 'ControlMaster' argument automatically in some cases.
1549         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1550         (tramp-default-method): Use it.
1552 2010-08-26  Karel Klíč  <kklic@redhat.com>
1554         * net/tramp.el (tramp-file-name-for-operation):
1555         Add file-selinux-context.
1557 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
1559         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1561 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1563         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1564         (Bug#6907).
1566 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
1568         * progmodes/js.el: Make indentation more customizable (Bug#6914).
1569         (js-paren-indent-offset, js-square-indent-offset)
1570         (js-curly-indent-offset): New options.
1571         (js--proper-indentation): Use them.
1573 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
1575         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1576         instead of inspecting font-lock properties (Bug#6916).
1578 2010-08-26  David Reitter  <david.reitter@gmail.com>
1580         * server.el (server-visit-files): Run pre-command-hook and
1581         post-command-hook for each buffer while it is current (Bug#6910).
1582         (server-execute): Do not run hooks here.
1584 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
1586         Sync with Tramp 2.1.19.
1588         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1589         (tramp-reporter-dump-variable, tramp-load-report-modules)
1590         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1591         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1593         * net/tramp-compat.el (top): Do not autoload
1594         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
1595         only when `start-file-process' is not bound.
1596         (byte-compile-not-obsolete-vars): Define if not bound.
1597         (tramp-compat-funcall): New defmacro.
1598         (tramp-compat-line-beginning-position)
1599         (tramp-compat-line-end-position)
1600         (tramp-compat-temporary-file-directory)
1601         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1602         (tramp-compat-copy-file, tramp-compat-copy-directory)
1603         (tramp-compat-delete-file, tramp-compat-delete-directory)
1604         (tramp-compat-number-sequence, tramp-compat-process-running-p):
1605         Use it.
1606         (tramp-advice-file-expand-wildcards): Do not use
1607         `tramp-handle-file-remote-p'.
1608         (tramp-compat-make-temp-file): Simplify fallback implementation.
1609         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1610         (tramp-compat-copy-tree): Remove function.
1611         (tramp-compat-delete-file): New defun.
1612         (tramp-compat-delete-directory): Provide implementation for older
1613         Emacsen.
1614         (tramp-compat-file-attributes): Handle only
1615         `wrong-number-of-arguments' error.
1617         * net/tramp-fish.el (tramp-fish-handle-copy-file):
1618         Add PRESERVE_SELINUX_CONTEXT.
1619         (tramp-fish-handle-delete-file): Add TRASH arg.
1620         (tramp-fish-handle-directory-files-and-attributes):
1621         Do not use `tramp-fish-handle-file-attributes.
1622         (tramp-fish-handle-file-local-copy)
1623         (tramp-fish-handle-insert-file-contents)
1624         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1626         * net/tramp-gvfs.el (top): Require url-util.
1627         (tramp-gvfs-mount-point): Remove.
1628         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1629         and `set-file-selinux-context'.
1630         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1631         (tramp-gvfs-handle-file-selinux-context)
1632         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1633         (with-tramp-dbus-call-method): Format trace message.
1634         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1635         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1636         Implement backup call, when operation on local files fails.
1637         Use progress reporter.  Flush properties of changed files.
1638         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
1639         `tramp-compat-delete-file'.
1640         (tramp-gvfs-handle-expand-file-name): Expand "~/".
1641         (tramp-gvfs-handle-make-directory): Make more traces.
1642         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1643         (tramp-gvfs-url-file-name): Hexify file name in url.
1644         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1645         into account for the resulting file name.
1646         (tramp-gvfs-handler-askquestion): Preserve current message, in
1647         order to let progress reporter continue afterwards.  (Bug#6257)
1648         Return dummy mountpoint, when the answer is "no".
1649         See `tramp-gvfs-maybe-open-connection'.
1650         (tramp-gvfs-handler-mounted-unmounted)
1651         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1652         attribute "default_location".  Set "prefix" property.
1653         Handle default-location.
1654         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1655         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1656         exists.  Raise an error, if not (due to a corresponding answer
1657         "no" in interactive questions, for example).
1658         Use `tramp-compat-funcall'.
1660         * net/tramp-imap.el (top): Autoload `epg-make-context'.
1661         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1662         (tramp-imap-do-copy-or-rename-file)
1663         (tramp-imap-handle-insert-file-contents)
1664         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1665         (tramp-imap-handle-delete-file): Add TRASH arg.
1667         * net/tramp-smb.el (tramp-smb-handle-copy-file):
1668         Add PRESERVE-SELINUX-CONTEXT.
1669         (tramp-smb-handle-copy-file)
1670         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1671         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1672         Use `with-progress-reporter'.
1673         (tramp-smb-handle-delete-file): Add TRASH arg.
1675         * net/tramp.el (tramp-methods): Move hostname to the end in all
1676         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
1677         appropriate.
1678         (tramp-verbose): Describe verbose level 9.
1679         (tramp-completion-function-alist)
1680         (tramp-file-name-regexp, tramp-chunksize)
1681         (tramp-local-coding-commands, tramp-remote-coding-commands)
1682         (with-connection-property, tramp-completion-mode-p)
1683         (tramp-action-process-alive, tramp-action-out-of-band)
1684         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1685         (tramp-exists-file-name-handler): Fix docstring.
1686         (tramp-remote-process-environment): Use `format' instead of
1687         `concat'.  Protect version string by apostroph.
1688         (tramp-shell-prompt-pattern): Do not use a shy group in case of
1689         XEmacs.
1690         (tramp-file-name-regexp-unified)
1691         (tramp-completion-file-name-regexp-unified): On W32 systems, do
1692         not regard the volume letter as remote filename.  (Bug#5447)
1693         (tramp-perl-file-attributes)
1694         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1695         (tramp-vc-registered-read-file-names): Read input as
1696         here-document, otherwise the command could exceed maximum length
1697         of command line.
1698         (tramp-file-name-handler-alist): Add `file-selinux-context' and
1699         `set-file-selinux-context'.
1700         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1701         backtrace functions.
1702         (tramp-error-with-buffer): Don't show the connection buffer when
1703         we are in completion mode.
1704         (tramp-progress-reporter-update, tramp-remote-selinux-p)
1705         (tramp-handle-file-selinux-context)
1706         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1707         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1708         New defuns.
1709         (with-progress-reporter): New defmacro.
1710         (tramp-debug-outline-regexp): New defconst.
1711         (top, tramp-rfn-eshadow-setup-minibuffer)
1712         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1713         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1714         (tramp-completion-mode-p, tramp-check-for-regexp)
1715         (tramp-open-connection-setup-interactive-shell)
1716         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1717         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1718         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1719         Use `tramp-compat-funcall'.
1720         (tramp-handle-make-symbolic-link): Flush file properties.
1721         (tramp-handle-load, tramp-handle-file-local-copy)
1722         (tramp-handle-insert-file-contents, tramp-handle-write-region)
1723         (tramp-handle-vc-registered, tramp-maybe-send-script)
1724         (tramp-find-shell): Use `with-progress-reporter'.
1725         (tramp-do-file-attributes-with-stat): Add space in format string,
1726         in order to work around a bug in pdksh.  Reported by Gilles Pion
1727         <gpion@lfdj.com>.
1728         (tramp-handle-verify-visited-file-modtime): Do not send a command
1729         when the connection is not established.
1730         (tramp-handle-set-file-times): Simplify the check for utc.
1731         (tramp-handle-directory-files-and-attributes)
1732         (tramp-get-remote-path): Use `copy-tree'.
1733         (tramp-completion-handle-file-name-all-completions): Ensure, that
1734         non remote files are still checked.  Oops.
1735         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
1736         Handle PRESERVE-SELINUX-CONTEXT.
1737         (tramp-do-copy-or-rename-file): Add progress reporter.
1738         (tramp-do-copy-or-rename-file-directly): Do not use
1739         `tramp-handle-file-remote-p'.
1740         (tramp-do-copy-or-rename-file-out-of-band):
1741         Use `tramp-compat-delete-directory'.
1742         (tramp-do-copy-or-rename-file-out-of-band)
1743         (tramp-compute-multi-hops, tramp-maybe-open-connection):
1744         Use `format-spec-make'.
1745         (tramp-handle-delete-file): Add TRASH arg.
1746         (tramp-handle-dired-uncache): Flush directory cache, not only file
1747         cache.
1748         (tramp-handle-expand-file-name)
1749         (tramp-completion-handle-file-name-all-completions)
1750         (tramp-completion-handle-file-name-completion):
1751         Use `tramp-connectable-p'.
1752         (tramp-handle-start-file-process): Set connection property "vec".
1753         Use it, in order to invalidate file caches.  Check only for
1754         `remote-tty' process property.
1755         Implement tty setting.  (Bug#4604, Bug#6360)
1756         (tramp-file-name-for-operation): Add `call-process-region' and
1757         `set-file-selinux-context'.
1758         (tramp-find-foreign-file-name-handler)
1759         (tramp-advice-make-auto-save-file-name)
1760         (tramp-set-auto-save-file-modes): Remove superfluous check for
1761         `stringp'.  This is done inside `tramp-tramp-file-p'.
1762         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
1763         operations when we are in completion mode.  This gives the user
1764         the chance to correct the file name in the minibuffer.
1765         (tramp-completion-mode-p): Use `non-essential'.
1766         (tramp-handle-file-name-all-completions): Backward/ XEmacs
1767         compatibility: Use `completion-ignore-case' if
1768         `read-file-name-completion-ignore-case' does not exist.
1769         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1770         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1771         `tramp-open-shell'.
1772         (tramp-action-password): Hide password prompt before next run.
1773         (tramp-process-actions): Widen connection buffer for the trace.
1774         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1775         process property.  Trace stty settings if `tramp-verbose' >= 9.
1776         Apply workaround for IRIX64 bug.  Move argument of last
1777         `tramp-send-command' where it belongs to.
1778         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1779         front of `login-args'.
1780         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1781         on "/dev/null" instead of "/".
1782         (tramp-get-ls-command-with-dired): Make test for "--dired"
1783         stronger.
1784         (tramp-set-auto-save-file-modes): Adapt version check.
1785         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1786         (tramp-handle-process-file): Call the program in a subshell, in
1787         order to preserve working directory.
1788         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1789         `tramp-remote-sh' from `tramp-methods'.
1790         (tramp-get-ls-command): Make test for "--color=never" stronger.
1791         (tramp-check-for-regexp): Use (forward-line 1).
1793         * net/trampver.el: Update release number.
1795 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1797         * help.el (help-map): Bind `C-h P' to describe-package.
1799         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1801         * emacs-lisp/package.el (package-refresh-contents): Catch errors
1802         when downloading archives.
1803         (describe-package-1): Add package commentary.
1804         (package-install-button-action): New function.
1805         (package-menu-mode-map): Bind ? to package-menu-describe-package.
1806         (package-menu-view-commentary): Function removed.
1807         (package-list-packages-internal): Hide the `package' package too.
1809 2010-08-25  Kenichi Handa  <handa@m17n.org>
1811         * language/misc-lang.el ("Arabic"): New language environment.
1812         Setup composition-function-table for Arabic characters.
1814         * international/fontset.el (setup-default-fontset): Fix typo for
1815         arabic OTF spec (fini->fina).
1817 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
1819         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
1820         on all frames.
1822 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1824         * whitespace.el: Allow cleaning up blanks without blank
1825         visualization (Bug#6651).  Adjust help window for
1826         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
1827         instead of whitespace-line-column (from EmacsWiki).  New version
1828         13.1.
1829         (whitespace-style): Added new value 'face.  Adjust docstring.
1830         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
1831         foreground property face.
1832         (whitespace-line-column): Adjust docstring and type declaration.
1833         (whitespace-style-value-list, whitespace-toggle-option-alist)
1834         (whitespace-help-text): Adjust const initialization.
1835         (whitespace-toggle-options, global-whitespace-toggle-options):
1836         Adjust docstring.
1837         (whitespace-display-window, whitespace-interactive-char)
1838         (whitespace-style-face-p, whitespace-color-on): Adjust code.
1839         (whitespace-help-scroll): New fun.
1841 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
1843         * emacs-lisp/package.el (list-packages): Alias for
1844         package-list-packages.
1846 2010-08-24  Kevin Ryde  <user42@zip.com.au>
1848         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
1849         (Bug#5651).
1851         * progmodes/ruby-mode.el (ruby): Add defgroup.
1853 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
1855         * progmodes/python.el: Add Ipython support (Bug#5390).
1856         (python-shell-prompt-alist)
1857         (python-shell-continuation-prompt-alist): New options.
1858         (python--set-prompt-regexp): New function.
1859         (inferior-python-mode, run-python, python-shell): Require
1860         ansi-color.  Use python--set-prompt-regexp to set the comint
1861         prompt based on the Python interpreter.
1862         (python--prompt-regexp): New var.
1863         (python-check-comint-prompt)
1864         (python-comint-output-filter-function): Use it.
1865         (run-python): Use a pipe (Bug#5694).
1867 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
1869         * progmodes/python.el (python-send-region): Send a different
1870         Python command if Ipython is in use.
1871         (python-check-version): Use a Python command to find the version.
1873 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
1875         * mouse.el (mouse-yank-primary): Avoid setting primary when
1876         deactivating the mark (Bug#6872).
1878 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
1880         * progmodes/python.el (python-block-pairs): Allow use of "finally"
1881         with "else" (Bug#3991).
1883 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
1885         * net/dbus.el: Accept UNIX domain sockets as bus address.
1886         (top): Don't initialize `dbus-registered-objects-table' anymore,
1887         this is done in dbusbind,c.
1888         (dbus-check-event): Adapt test for bus.
1889         (dbus-return-values-table, dbus-unregister-service)
1890         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
1891         Adapt doc string.
1893 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
1895         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
1897 2010-08-22  Juri Linkov  <juri@jurta.org>
1899         * simple.el (read-extended-command): New function with the logic
1900         for `completing-read' moved to Elisp from `execute-extended-command'.
1901         Use `function-called-at-point' in `minibuffer-default-add-function'
1902         to get a command name for M-n (bug#5364, bug#5214).
1904 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
1906         * startup.el (command-line-1): Issue warning for ignored arguments
1907         --unibyte, etc (Bug#6886).
1909 2010-08-22  Leo  <sdl.web@gmail.com>
1911         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
1912         (ignore, bright, dim, keyword): Split list of nicknames before
1913         passing to rcirc-add-or-remove (Bug#6894).
1915 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
1917         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
1919 2010-08-22  Leo  <sdl.web@gmail.com>
1921         Fix buffer-list rename&refresh after killing a buffer in ido.
1922         * ido.el: Revert Óscar's.
1923         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
1924         Remember the buffers at head, rather than their name.
1925         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
1927 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
1928             Stefan Monnier  <monnier@iro.umontreal.ca>
1930         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
1931         extra backslash added to each line (bug#6890).
1933 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1935         * subr.el (read-key): Don't echo keystrokes (bug#6883).
1937 2010-08-22  Glenn Morris  <rgm@gnu.org>
1939         * menu-bar.el (menu-bar-games-menu): Add landmark.
1941 2010-08-22  Glenn Morris  <rgm@gnu.org>
1943         * align.el (align-regexp): Make group and spacing arguments
1944         use the interactive defaults when non-interactive.  (Bug#6698)
1946         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
1947         expansion, so as not to need sendmail.
1948         (mail-text-start): Remove declaration.
1949         (rmail-retry-failure): Require sendmail.
1951 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
1953         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
1955 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
1957         * progmodes/flymake.el (flymake-start-syntax-check-process):
1958         Use `start-file-process' in order to let it run also on remote hosts.
1960 2010-08-22  Kenichi Handa  <handa@m17n.org>
1962         * files.el: Add `word-wrap' as safe local variable.
1964 2010-08-22  Glenn Morris  <rgm@gnu.org>
1966         * woman.el (woman-translate): Case matters.  (Bug#6849)
1968 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
1970         * simple.el (kill-region): Doc fix (Bug#6787).
1972 2010-08-22  Glenn Morris  <rgm@gnu.org>
1974         * calendar/diary-lib.el (diary-header-line-format):
1975         Fit it to the window, not the frame.
1977 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
1979         * subr.el (ignore-errors): Add debug declaration.
1981 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
1983         * whitespace.el (whitespace-color-off): Remove post-command-hook
1984         locally.
1986 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1988         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
1990 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
1992         * cus-edit.el (custom-group-value-create): Add extra newline
1993         before end line (Bug#6876).
1995 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
1997         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
1998         when extending it.  Before killing on the second click, check if
1999         the buffer is the correct one.  Doc fix.
2000         (mouse-secondary-save-then-kill): Allow usage without first
2001         calling mouse-start-secondary, by defaulting to point.  Don't save
2002         an empty secondary selection.  Doc fix.
2004 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2006         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
2007         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2008         New version 13.0.
2009         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2010         Adjust initialization.
2011         (whitespace-bob-marker, whitespace-eob-marker)
2012         (whitespace-buffer-changed): New vars.
2013         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2014         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2015         (whitespace-post-command-hook, whitespace-display-char-on):
2016         Adjust code.
2017         (whitespace-looking-back, whitespace-buffer-changed): New funs.
2018         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2020 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2022         * files.el (locate-file-completion-table): Only list the .el and .elc
2023         extensions if there's no other choice (bug#5955).
2025         * facemenu.el (facemenu-self-insert-data): New var.
2026         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2027         New functions.
2028         (facemenu-add-face): Use them.
2030         * simple.el (blink-matching-open): Obey forward-sexp-function.
2032 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2034         * simple.el (prog-mode-map): New var.
2035         (prog-indent-sexp): New command.
2037         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2039         * progmodes/prolog.el (smie): Require.
2041         * emacs-lisp/smie.el (smie-default-backward-token)
2042         (smie-default-forward-token): Strip properties.
2043         (smie-next-sexp): Be more careful with associative operators.
2044         (smie-forward-sexp-command): Generalize.
2045         (smie-backward-sexp-command): Simplify.
2046         (smie-closer-alist): New var.
2047         (smie-close-block): New command.
2048         (smie-indent-debug-log): New var.
2049         (smie-indent-offset-rule): Add a few more cases.
2050         (smie-indent-column): New function.
2051         (smie-indent-after-keyword): Use it.
2052         (smie-indent-keyword): Use it.
2053         Fix up the opener code's point position.
2054         (smie-indent-comment): Only applies at BOL.
2055         (smie-indent-debug): New command.
2057         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2058         declarations that are useful before running the macro.
2060 2010-08-18  Joakim Verona  <joakim@verona.se>
2062         * image.el (imagemagick-types-inhibit): New variable.
2063         (imagemagick-register-types): New function.
2064         * image-mode.el (image-transform-properties): New function.
2065         (image-transform-set-scale, image-transform-fit-to-height)
2066         (image-transform-set-rotation, image-transform-set-resize)
2067         (image-transform-fit-to-width, image-transform-fit-to-height):
2068         New functions.
2069         (image-toggle-display-image): Support image transforms.
2071 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2073         * image.el (create-animated-image): Don't add heuristic mask to image
2074         (Bug#6839).
2076 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
2078         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2079         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2081 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2083         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2085         Font-lock '...' strings, plus various simplifications and fixes.
2086         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2087         (octave-font-lock-close-quotes): New function.
2088         (octave-font-lock-syntactic-keywords): New var.
2089         (octave-mode): Use it.  Set beginning-of-defun-function.
2090         (octave-mode-map): Don't override the <foo>-defun commands.
2091         (octave-mode-menu): Pass it directly to easy-menu-define;
2092         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2093         (octave-block-match-alist): Fix up last change so that
2094         octave-close-block uses the more specific keyword.
2095         (info-lookup-mode): Silence byte-compiler.
2096         (octave-beginning-of-defun): Not interactive any more.
2097         Optimize slightly.
2098         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2099         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2100         (octave-completion-at-point-function): Make sure point is within
2101         beg..end.
2102         (octave-reindent-then-newline-and-indent):
2103         Use reindent-then-newline-and-indent.
2104         (octave-add-octave-menu): Remove.
2106 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
2108         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2109         (report-emacs-bug-can-use-xdg-email): New functions.
2110         (report-emacs-bug): Set can-xdg-email to result of
2111         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
2112         \C-cm to report-emacs-bug-insert-to-mailer and add help text
2113         about it.
2115         * net/browse-url.el (browse-url-default-browser): Add cond
2116         for browse-url-xdg-open.
2117         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2119 2010-08-17  Glenn Morris  <rgm@gnu.org>
2121         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2122         (c-fontify-recorded-types-and-refs): Define for compiler.
2123         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2124         before use.
2126         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2127         Fix format call.
2129 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
2131         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2132         properties.
2133         (tramp-handle-process-file): Call the program in a subshell, in
2134         order to preserve working directory.
2135         (tramp-action-password): Hide password prompt before next run.
2136         (tramp-process-actions): Widen connection buffer for the trace.
2138 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2140         * net/rcirc.el (rcirc-log-process-buffers): New option.
2141         (rcirc-print): Use it.
2142         (rcirc-generate-log-filename): New function.
2143         (rcirc-log-filename-function): Change default to
2144         rcirc-generate-log-filename (Bug#6828).
2146 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
2148         * simple.el (deactivate-mark): If select-active-regions is `only',
2149         only set selection for temporarily active regions.
2151         * cus-start.el: Change defcustom for select-active-regions.
2153 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2155         * mouse.el (mouse--drag-set-mark-and-point): New function.
2156         (mouse-drag-track): Use LOCATION arg to push-mark.
2157         Use mouse--drag-set-mark-and-point to take click-count into
2158         consideration when updating point and mark (Bug#6840).
2160 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2162         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2163         Give the Ruby rule a lower priority than Gnu (Bug#6778).
2165 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2167         * font-lock.el (lisp-font-lock-keywords-2):
2168         Add combine-after-change-calls, condition-case-no-debug,
2169         with-demoted-errors, and with-silent-modifications (Bug#6025).
2171 2010-08-14  Kevin Ryde  <user42@zip.com.au>
2173         * emacs-lisp/copyright.el (copyright-update-year)
2174         (copyright-update): Temporary switch-to-buffer to ensure the
2175         buffer change being queried is visible (Bug#5394).
2177 2010-08-14  Tom Tromey  <tromey@redhat.com>
2179         * progmodes/etags.el (tags-file-name): Mark safe if stringp
2180         (Bug#6733).
2182 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
2184         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2185         MS-DOS.  (Bug#6689)
2187 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
2189         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2190         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2191         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2192         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2193         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2194         Call menu-bar-set-tool-bar-position.
2196 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2198         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2199         comment style (bug#6834).
2200         * progmodes/scheme.el (scheme-mode-syntax-table):
2201         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2202         "b" flag in "' 14b" syntax.
2204         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2205         for (un)commenting the region and performing completion.
2206         (octave-mode-menu): Use standard commands for help and completion.
2207         (octave-mode-syntax-table): Support %{..%} comments (sort of).
2208         (octave-mode): Use define-derived-mode.
2209         Set completion-at-point-functions and don't set columns.
2210         Don't disable adaptive-fill-regexp.
2211         (octave-describe-major-mode, octave-comment-region)
2212         (octave-uncomment-region, octave-comment-indent)
2213         (octave-indent-for-comment): Remove.
2214         (octave-indent-calculate): Rename from calculate-octave-indent.
2215         (octave-indent-line, octave-fill-paragraph): Update caller.
2216         (octave-initialize-completions): No need to make an alist.
2217         (octave-completion-at-point-function): New function.
2218         (octave-complete-symbol): Use it.
2219         (octave-insert-defun): Use define-skeleton.
2221         * progmodes/octave-mod.el (octave-mode): Set comment-add.
2222         (octave-mode-map): Use comment-dwim (bug#6829).
2224 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2226         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2227         indentation of inserted comment.
2229 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
2231         * faces.el (region): Add type gtk that uses gtk colors.
2233         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2234         Handle theme-name change.
2236 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
2238         * progmodes/sql.el: Version 2.5
2239         (sql-product-alist): Add :prompt-cont-regexp property for several
2240         database products.
2241         (sql-prompt-cont-regexp): New variable.
2242         (sql-output-newline-count, sql-output-by-send):
2243         New variables.  Record number of newlines in input text.
2244         (sql-send-string): Handle multiple filters and count newlines.
2245         (sql-send-magic-terminator): Count terminator newline.
2246         (sql-interactive-remove-continuation-prompt): Filters output to
2247         remove continuation prompts; one for each newline.
2248         (sql-interactive-mode): Set up new variables, prompt regexp and
2249         output filter.
2250         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2251         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2253 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2255         * emacs-lisp/pcase.el: New file.
2257 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
2259         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2260         as here-document, otherwise the command could exceed maximum
2261         length of command line.
2262         (tramp-handle-vc-registered): Call script accordingly.
2263         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2265 2010-08-10  Kenichi Handa  <handa@m17n.org>
2267         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2268         composable pattern.
2270 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
2272         * emacs-lisp/package.el (package-version-split)
2273         (package--version-first-nonzero, package-version-compare):
2274         Functions removed.
2275         (package-directory-list, package-load-all-descriptors)
2276         (package--built-in, package-activate, define-package)
2277         (package-installed-p, package-compute-transaction)
2278         (package-read-all-archive-contents)
2279         (package--add-to-archive-contents, package-buffer-info)
2280         (package-tar-file-info, package-list-packages-internal):
2281         Use version-to-list and version-list-*.
2283         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2284         Use version-to-list.
2285         (package-upload-buffer-internal): Use version-list-<=.
2287 2010-08-09  Kenichi Handa  <handa@m17n.org>
2289         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2290         composable pattern.
2292 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
2294         * tutorial.el (tutorial--default-keys): C-d is now bound to
2295         delete-forward-char (Bug#6826).
2297         * mouse.el (mouse-drag-track): Remove accidentally-removed check
2298         for `double' value of mouse-1-click-follows-link (Bug#6807).
2300 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
2302         * replace.el (replace-highlight): Bind isearch-forward and
2303         isearch-error, ensuring that highlighting is updated if the user
2304         switches the search direction (Bug#6808).
2306         * isearch.el (isearch-lazy-highlight-forward): New var.
2307         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2308         (isearch-lazy-highlight-update): Use it.
2310 2010-08-08  Kenichi Handa  <handa@m17n.org>
2312         * international/mule.el (define-charset): Store NAME as :base property.
2313         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2314         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2315         current priority.  Force using the designation of the specific
2316         charset by adding `charset' text property.  Improve the whole algorithm.
2318 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2320         * emulation/pc-select.el (pc-selection-mode-hook)
2321         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2322         (pc-selection-mode): Fix typos in docstrings.
2324 2010-08-08  Kenichi Handa  <handa@m17n.org>
2326         * language/cyrillic.el: Don't add "microsoft-cp1251" to
2327         ctext-non-standard-encodings-alist here.
2329         * international/mule.el (ctext-non-standard-encodings-alist):
2330         Add "koi8-r" and "microsoft-cp1251".
2331         (ctext-standard-encodings): New variable.
2332         (ctext-non-standard-encodings-table): List only elements for
2333         non-standard encodings.
2334         (ctext-pre-write-conversion): Adjust for the above change.
2335         Check ctext-standard-encodings.
2337         * international/mule-conf.el (compound-text): Doc fix.
2338         (ctext-no-compositions): Doc fix.
2339         (compound-text-with-extensions): Doc fix.
2341 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2343         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2345 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2347         * progmodes/which-func.el (which-func-format): Split help-echo text
2348         into lines, like other mode-line tooltips.
2350         * server.el (server-start): When using TCP sockets, force IPv4
2351         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
2353 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2355         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2357 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2359         * term.el (term-delimiter-argument-list): Reflow docstring.
2360         (term-read-input-ring, term-write-input-ring, term-send-input)
2361         (term-bol, term-erase-in-display, serial-supported-or-barf):
2362         Fix typos in docstrings.
2364 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2366         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2368 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2370         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2372 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
2374         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2375         Fix typo in docstring (bug#6747).
2377 2010-08-08  Leo  <sdl.web@gmail.com>
2379         * eshell/esh-io.el (eshell-get-target): Better detection of
2380         read-only file (Bug#6762).
2382 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2384         * align.el (align-default-spacing): Doc fix.
2385         (align-region-heuristic, align-regexp): Fix typos in docstrings.
2387 2010-08-08  Stephen Peters  <speters@itasoftware.com>
2389         * calendar/icalendar.el
2390         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
2391         (icalendar--get-weekday-numbers): New.
2392         (icalendar--convert-recurring-to-diary): Handle multiple byday
2393         values in weekly rules.  (Bug#6766)
2395 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
2397         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2398         (icalendar--create-uid, icalendar-export-region)
2399         (icalendar--parse-summary-and-rest): Code formatting.
2401 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2403         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2404         to italicize headers.
2405         (calc-highlight-selections-with-faces): New variable.
2406         (calc-selected-face, calc-nonselected-face): New faces.
2408         * calc/calccomp.el (math-comp-highlight-string): Use
2409         `calc-highlight-selections-with-faces' to determine how to highlight
2410         sub-formulas.
2412         * calc/calc-sel.el (calc-show-selections): Change message to when
2413         using faces to highlight selections.
2415 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
2417         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2418         Add SQLite 3 keywords, functions and datatypes.
2419         (sql-interactive-mode): Remove `comint-process-echoes' set to t
2420         (Bug#6686).
2422 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
2424         * simple.el (select-active-regions): Move to keyboard.c.
2425         (deactivate-mark): Used saved-region-selection.
2426         (select-active-region): Function removed.
2427         (activate-mark, set-mark, push-mark-command)
2428         (handle-shift-selection): Don't call it.
2429         (keyboard-quit): Avoid adding the region to the window selection.
2431         * mouse.el (mouse-drag-track): Remove hacks to deal with old
2432         select-active-regions implementation.
2433         (mouse-yank-at-click): Doc fix.
2435         * cus-start.el: Add custom declaration for select-active-regions.
2437 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
2439         * simple.el (delete-forward-char): Doc fix.
2441         * tutorial.el (help-with-tutorial): Hack safe file-local variables
2442         after reading the tutorial.
2444 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
2446         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2447         for the case that a C style comment has its delimiters alone on
2448         their respective lines.
2450 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
2452         * net/tramp.el (tramp-handle-start-file-process): Set connection
2453         property "vec".
2454         (tramp-process-sentinel): Use it for flushing the cache.  We
2455         cannot do it via the process buffer, the buffer could be deleted
2456         already when running the sentinel.
2458 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2460         * comint.el (comint-mode): Make directory tracking functions
2461         functional on remote files.  (Bug#6764)
2463 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
2465         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2467 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
2469         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2470         unexec.c => unexcoff.c.
2472         * emacs-lisp/authors.el (authors-fixed-entries): Rename
2473         unexec.c => unexcoff.c.
2475 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
2477         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2478         cache, not only file cache.
2479         (tramp-process-sentinel): New defun.
2480         (tramp-handle-start-file-process): Use it, in order to invalidate
2481         file caches.
2483 2010-08-03  Leo  <sdl.web@gmail.com>
2485         * server.el (server-start): Simplify loop.
2487 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2489         * frame.el (screen-height, screen-width, set-screen-width)
2490         (set-screen-height): Remove ancient compatibility aliases.
2492         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2493         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
2495         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2496         that change current buffer.
2498 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2500         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2501         beginning of the string.  Use `string-match-p'.  (Bug#6765)
2503 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
2505         * cus-start.el (x-gtk-use-system-tooltips): New variable.
2507 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
2509         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2510         (package--builtins): Tweak descriptions.
2511         (package-print-package): Upcase descriptions if necessary.
2512         Show all built-in packages in font-lock-builtin-face.
2513         (package-list-packages-internal): Omit "emacs" package.
2514         Show status of built-in packages as "built-in".
2516 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
2518         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
2519         before killing to preserve the primary selection (Bug#6701).
2521         * term/x-win.el (x-select-text): Doc fix.
2523 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
2525         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2526         The following functions were modified or created:
2528         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2529         (objc-font-lock-extra-types):
2530         * progmodes/cc-mode.el (c-basic-common-init):
2531         * progmodes/cc-langs.el (c-make-mode-syntax-table)
2532         (c++-make-template-syntax-table)
2533         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2534         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2535         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2536         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2537         * progmodes/cc-fonts.el (c-make-inverse-face)
2538         (c-basic-matchers-after):
2539         * progmodes/cc-engine.el (c-forward-keyword-clause)
2540         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2541         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2542         (c-guess-continued-construct, c-guess-basic-syntax):
2544 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
2546         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2548 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
2550         * files.el (bidi-paragraph-direction): Define safe local values.
2552         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2553         language-info-alist.  Remove outdated FIXME in a comment.
2555 2010-07-31  Alan Mackenzie  <acm@muc.de>
2557         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2558         Auto-fill broken in C/C++ modes.
2560 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
2562         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2563         (menu-bar-showhide-tool-bar-menu-customize-disable)
2564         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2565         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2566         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2567         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2568         make a menu for Options => toolbar that can move it.
2570 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
2572         * emacs-lisp/package-x.el (package--make-rss-entry):
2573         (package-maint-add-news-item, package--update-news)
2574         (package-upload-buffer-internal): New arg ARCHIVE-URL.
2576         * emacs-lisp/package.el (package-archive-url): Rename from
2577         package-archive-id.
2578         (package-install): Doc fix.
2579         (package-download-single, package-download-tar, package-install)
2580         (package-menu-view-commentary): Callers changed.
2582 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
2584         * net/tramp.el (tramp-handle-start-file-process): Check only for
2585         `remote-tty' process property.
2586         (tramp-open-shell): Don't check for tty.
2587         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2588         process property.
2590         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2591         host.
2593 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
2595         * emacs-lisp/package.el (package-load-list, package-archives)
2596         (package-archive-contents, package-user-dir)
2597         (package-directory-list, package--builtins, package-alist)
2598         (package-activated-list, package-obsolete-alist): Mark as risky.
2600 2010-07-28  Phil Hagelberg  <phil@evri.com>
2602         Add support for non-default package repositories.
2603         * emacs-lisp/package.el (package-archive-base): Var deleted.
2604         (package-archives): New variable.
2605         (package-archive-contents): Doc fix.
2606         (package-load-descriptor): Do nothing if descriptor file is missing.
2607         (package--write-file-no-coding): New function.
2608         (package-unpack-single): Use it.
2609         (package-archive-id): New function.
2610         (package-download-single, package-download-tar)
2611         (package-menu-view-commentary): Use it.
2612         (package-installed-p): Make second argument optional.
2613         (package-read-all-archive-contents): New function.
2614         (package-initialize): Use it.
2615         (package-read-archive-contents): Add ARCHIVE argument.
2616         (package--add-to-archive-contents): New function.
2617         (package-install): Don't call package-read-archive-contents.
2618         (package--download-one-archive): Store archive file in a
2619         subdirectory of package-user-dir.
2620         (package-menu-execute): Remove spurious line movement.
2622 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
2624         * cus-start.el (tool-bar-style): Add text-image-horiz.
2626 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2628         * progmodes/gud.el (gud-common-init): Check for remoteness of
2629         `file', and not of `default-directory'.
2631 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2633         * net/tramp.el (tramp-methods): Move hostname to the end in all
2634         ssh `tramp-login-args'.
2635         (tramp-verbose): Describe verbose level 9.
2636         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2637         (tramp-open-connection-setup-interactive-shell): Trace stty
2638         settings if `tramp-verbose' >= 9.
2639         (tramp-handle-start-file-process): Implement tty setting.
2640         (Bug#4604, Bug#6360)
2642         * net/tramp-cmds.el (tramp-bug): Recommend setting of
2643         `tramp-verbose' to 9.
2645 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
2647         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2648         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2649         Remove references to package `lisp-re' (bug#4369).
2651 2010-07-27  Tom Tromey  <tromey@redhat.com>
2653         * progmodes/js.el (js-mode):
2654         * progmodes/make-mode.el (makefile-mode):
2655         * progmodes/simula.el (simula-mode):
2656         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2658 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
2660         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2662         * time.el (display-time-day-and-date): Remove spurious * in docstring.
2663         (display-time-world-buffer-name, display-time-world-mode-map):
2664         Fix typos in docstrings.
2666 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
2668         * image-mode.el (image-display-size): New function.
2669         (image-forward-hscroll, image-next-line, image-eol, image-eob)
2670         (image-mode-fit-frame): Use it (Bug#6639).
2672 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
2674         * dired.el (dired-buffers-for-dir): Handle list values of
2675         dired-directory (Bug#6636).
2677 2010-07-26  Sam Steingold  <sds@gnu.org>
2679         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2680         Do not call `x-get-selection' the second time, reuse the value.
2682 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
2684         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2685         which consist of control chars only.  Suggested by Richard Stallman.
2687 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
2689         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2690         exists before passing an error to find-file-not-found-functions
2691         (bug#6723).
2693 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
2695         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2696         Remove leading nil element, adjust values.
2697         (tetris-shapes, tetris-shape-scores):
2698         Change representation of shapes and remove some redundancy.
2699         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2700         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2701         Adjust for working with new representation of shapes.
2702         (tetris-shape-rotations): New function.
2703         (tetris-move-bottom, tetris-move-left, tetris-move-right)
2704         (tetris-rotate-prev, tetris-rotate-next):
2705         Adjust for working with the new version of tetris-test-shape.
2707 2010-07-23  Markus Triska  <markus.triska@gmx.at>
2709         * progmodes/ps-mode.el: Use comint (bug#5954).
2710         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2711         (ps-mode-other-newline): Simplify.
2712         (ps-run-mode): Derive from comint-mode instead of
2713         fundamental-mode, yielding input history etc.
2714         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2715         (ps-run-send-string): Adapt for comint-mode.
2716         (ps-run-newline): Remove now unneeded function.
2718 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2720         * net/tramp.el (tramp-methods): Move hostname to the end in all
2721         plink `tramp-login-args'.
2723 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2725         * net/tramp.el (tramp-open-shell): New defun.
2726         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2727         Use it.
2729 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2731         * net/tramp.el (tramp-file-name-regexp-unified)
2732         (tramp-completion-file-name-regexp-unified): On W32 systems, do
2733         not regard the volume letter as remote filename.  (Bug#5447)
2735 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
2737         * custom.el (custom-declare-variable): Give a clearer error message
2738         when the docstring is missing (bug#6476).
2740 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
2742         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
2743         (sql-login-params): New widget definition.
2744         (sql-oracle-login-params, sql-mysql-login-params)
2745         (sql-solid-login-params, sql-sybase-login-params)
2746         (sql-informix-login-params, sql-ingres-login-params)
2747         (sql-ms-login-params, sql-postgres-login-params)
2748         (sql-interbase-login-params, sql-db2-login-params)
2749         (sql-linter-login-params): Use it.
2750         (sql-sqlite-login-params): Use it; Define "database" parameter as
2751         a file name.
2752         (sql-sqlite-program): Change to "sqlite3".
2753         (sql-comint-sqlite): Make sure database name is complete.
2754         (sql-for-each-login): New function.
2755         (sql-connect, sql-save-connection): Use it.
2756         (sql-get-login-ext): New function.
2757         (sql-get-login): Use it.
2758         (sql-make-alternate-buffer-name): Handle :file parameters.
2760 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
2762         * dired.el (dired-no-confirm): Document value t and fix defcustom to
2763         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
2765 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
2767         * dired.el (dired-mode-map): Use command remapping (bug#6632).
2769 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
2771         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2773 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
2775         * net/tramp.el (tramp-get-ls-command)
2776         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2777         instead of "/".
2779 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
2781         * progmodes/sql.el: Version 2.3.
2782         (sql-connection-alist): Changed keys from symbols to strings;
2783         enhanced the widget definition.
2784         (sql-mode-menu): Added submenu to select connections.
2785         (sql-interactive-mode-menu): Added "Save Connection" item.
2786         (sql-add-product): Fixed menu item.
2787         (sql-get-product-feature): Improved error handling.
2788         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2789         (sql-make-alternate-buffer-name): Simplified.
2790         (sql-product-interactive): Handle missing product.
2791         (sql-connect): Support string keys, minor improvements.
2792         (sql-save-connection): New function.
2793         (sql-connection-menu-filter): New function.
2795 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2797         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2798         (tramp-open-connection-setup-interactive-shell): Apply
2799         workaround for IRIX64 bug.  Move argument of last
2800         `tramp-send-command' where it belongs to.
2802 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2804         * net/tramp.el (tramp-perl-file-attributes)
2805         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2806         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2807         front of `login-args'.
2809 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
2811         * time.el (display-time-world-mode): Define with `define-derived-mode'.
2812         Set `show-trailing-whitespace' to nil.
2813         (display-time-world-display): Simplify.
2815 2010-07-18  Alan Mackenzie  <acm@muc.de>
2817         Enhance `c-file-style' in file/directory local variables.
2818         * progmodes/cc-mode.el (c-count-cfss): New function.
2819         (c-before-hack-hook): Call `c-set-style' differently according to
2820         whether c-file-style was set in file or directory local
2821         variables.
2823 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
2825         * progmodes/sql.el: Version 2.2.
2826         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
2827         defcustom :safe keyword rather than putting safe-local-variable
2828         property.
2829         (sql-password): Use defcustom :risky keyword rather than putting
2830         risky-local-variable property.
2831         (sql-oracle-login-params, sql-sqlite-login-params)
2832         (sql-solid-login-params, sql-sybase-login-params)
2833         (sql-informix-login-params, sql-ingres-login-params)
2834         (sql-ms-login-params, sql-postgres-login-params)
2835         (sql-interbase-login-params, sql-db2-login-params)
2836         (sql-linter-login-params): Add `port' option.
2837         (sql-get-product-feature): Added NO-INDIRECT parameter.
2838         (sql-comint-oracle, sql-comint-sybase)
2839         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
2840         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
2841         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
2842         (sql-comint-linter): Renamed sql-connect-* functions to
2843         sql-comint-*.
2844         (sql-product-alist, sql-mode-menu): Renamed as above and
2845         :sqli-connect-func to :sqli-comint-func.
2846         (sql-connection): New variable.
2847         (sql-interactive-mode): Set it.
2848         (sql-connection-alist): New variable.
2849         (sql-connect): New function.
2850         (sql--alt-buffer-part, sql--alt-if-not-empty)
2851         (sql-make-alternate-buffer-name): Improved alternative buffer name.
2853 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2855         * image-mode.el (image-bookmark-make-record): Do not set context
2856         in an image (Bug#6650).
2858 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
2860         * simple.el (select-active-region): New function.
2861         (push-mark-command, set-mark, activate-mark)
2862         (handle-shift-selection): Use it.
2863         (deactivate-mark): Don't check for size of region.
2865         * mouse.el (mouse-drag-track): Use select-active-region.
2867 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
2869         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
2870         "--dired" stronger.
2872 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
2874         * term/x-win.el (x-select-enable-primary): Change default to nil.
2875         (x-select-enable-clipboard): Add :version keyword.
2877         * mouse.el (mouse-drag-copy-region):
2878         * simple.el (select-active-regions): Likewise.
2880 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
2882         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
2883         (vc-coding-system-for-diff): Use it to decide whether to inherit
2884         from the file the EOL format for reading the diffs of that file.
2885         (Bug#4451)
2887 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
2889         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
2890         unibyte, so compressed attachments are not compressed again.
2892 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
2894         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
2895         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
2896         (tramp-find-shell): Simplify setting connection property.
2897         (tramp-get-ls-command): Make test for "--color=never" stronger.
2899 2010-07-15  Simon South  <ssouth@member.fsf.org>
2901         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
2902         blocks within record declarations (i.e. variant parts) correctly.
2904 2010-07-15  Simon South  <ssouth@member.fsf.org>
2906         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
2907         over literal tokens when parsing so newlines aren't "absorbed" by
2908         single-line comments.  Corrects the indentation of case blocks
2909         that have a comment on the first line.
2911 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
2913         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
2914         by Drew Adams (Bug#5504).
2916 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
2918         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
2919         now that Unicode is used (Bug#6594).
2921 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
2923         * term/x-win.el (x-select-enable-clipboard): Default to t.
2924         (x-initialize-window-system): Don't overwrite Paste menu item.
2926         * simple.el (select-active-regions): Default to t.
2927         (push-mark-command): Don't overwrite primary with empty string.
2929         * mouse.el: Bind mouse-2 to mouse-yank-primary.
2930         (mouse-drag-copy-region): Default to nil.
2932         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
2933         Cut/Copy/Paste menu bar items.
2935 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2937         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
2938         Patch applied by Karl Fogel.
2940         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
2941         and `bookmark-current-buffer' if they have been already set in
2942         another buffer (e.g gnus-art).
2944 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
2945             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2947         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
2949         * bookmark.el (bookmark-make-record-default): Allow unneeded
2950         information to be omitted from the record.
2952         Adjust declarations and calls:
2954         * info.el (bookmark-make-record-default): Adjust declaration.
2955         (Info-bookmark-make-record): Adjust call.
2957         * woman.el (bookmark-make-record-default): Adjust declaration.
2958         (woman-bookmark-make-record): Adjust call.
2960         * man.el (bookmark-make-record-default): Adjust declaration.
2961         (Man-bookmark-make-record): Adjust call.
2963         * image-mode.el (bookmark-make-record-default): Adjust declaration.
2965         * doc-view.el (bookmark-make-record-default): Adjust declaration.
2967 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
2969         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
2970         This is also from Thierry Volpiatto's patch in bug #6444.  However,
2971         because it was extraneous to the functional change in that patch,
2972         and causes a re-indendation, I am committing it separately.
2974 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2976         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
2977         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
2978         Patch applied by Karl Fogel (Bug#6444).
2980 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
2982         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
2984 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
2986         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
2987         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
2988         (ns-alternatives-map): Change S-tab binding to backtab
2989         (bug#6616).
2991         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
2992         under ns.
2994 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
2996         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
2997         (Bug#5806)
2999         * language/tv-util.el (tai-viet-re): Remove format.
3001 2010-07-12  Kenichi Handa  <handa@m17n.org>
3003         * language/hebrew.el: Remove no-byte-compile declaration.
3004         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
3005         composition-function-table for 3-character looking back.
3006         (hebrew-font-get-precomposed): New function.
3007         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3009 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
3011         * mouse.el (mouse-drag-track): Handle select-active-regions
3012         (Bug#6612).
3014 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
3016         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3017         empty argument to gvfs-copy.
3019 2010-07-10  Glenn Morris  <rgm@gnu.org>
3021         * calendar/calendar.el (calendar-week-end-day): New function.
3022         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3023         Respect calendar-week-start-day.  (Bug#6606)
3024         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3025         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3026         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3027         respect calendar-week-start-day.
3029 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
3031         * simple.el (use-region-p): Doc fix (Bug#6607).
3033 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
3035         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3036         regexps for cucumber and ruby.
3038 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
3040         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3041         (epa-file-insert-file-contents): Hack to prevent
3042         find-file from opening empty buffer when decryption failed
3043         (bug#6568).
3045 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
3047         * textmodes/ispell.el (ispell-alternate-dictionary):
3048         Use file-readable-p.
3049         Return nil if no word-list is found at default locations.
3050         (ispell-complete-word-dict): Default to nil.
3051         (ispell-command-loop): Use 'word-list' when using lookup-words.
3052         (lookup-words): Use ispell-complete-word-dict or
3053         ispell-alternate-dictionary.  Check for word-list availability
3054         and handle errors if needed with better messages (Bug#6539).
3055         (ispell-complete-word): Use ispell-complete-word-dict or
3056         ispell-alternate-dictionary.
3058 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
3060         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3061         builtins (BufferError, BytesWarning, WindowsError; callables
3062         bin, bytearray, bytes, format, memoryview, next, print; __package__).
3064 2010-07-07  Glenn Morris  <rgm@gnu.org>
3066         * play/zone.el (top-level): Do not require timer, tabify, or cl.
3067         (zone-shift-left): Ignore intangibility, and any errors from
3068         forward-char.
3069         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
3070         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3071         deleting, and copying text properties.
3072         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3073         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3074         to point-max is hard.
3075         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3076         (zone-fill-out-screen): Ignore intangibility.
3078 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
3080         * menu-bar.el (menu-bar-mode):
3081         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3082         if it has been set.
3084         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3085         word/line selection (Bug#6565).
3087 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
3089         * net/dbus.el (dbus-send-signal): Declare function.
3091 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
3093         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3094         (dbus-register-property): New optional argument EMITS-SIGNAL.
3095         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3097 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
3099         * mouse.el (mouse-drag-overlay): Variable deleted.
3100         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3101         (mouse--remap-link-click-p): New function.
3102         (mouse-drag-track): Handle dragging by using temporary Transient
3103         Mark mode, instead of a special overlay.
3104         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3105         mouse-show-mark.
3107         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3108         deleted.
3110 2010-07-02  Juri Linkov  <juri@jurta.org>
3112         * autoinsert.el (auto-insert-alist): Fix readability
3113         by using dotted pair notation for lambda.
3115 2010-07-02  Juri Linkov  <juri@jurta.org>
3117         * faces.el (read-face-name): Rename arg `string-describing-default'
3118         to `default'.  Doc fix.  Display the default value in quotes
3119         in the prompt.  With empty input, return the `default' arg,
3120         unless the default value is a string (in which case return nil).
3121         (describe-face): Replace the string `default' arg of `read-face-name'
3122         with the symbol `default'.
3124 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
3126         * emulation/viper-cmd.el (viper-delete-backward-char)
3127         (viper-del-backward-char-in-insert)
3128         (viper-del-backward-char-in-replace, viper-change)
3129         (viper-backward-indent): Replace delete-backward-char with
3130         delete-char (Bug#6552).
3132 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
3134         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3136 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3138         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3139         argument passed to frame-creation-function (Bug#5378).
3141         * faces.el (x-handle-named-frame-geometry)
3142         (x-handle-reverse-video, x-create-frame-with-faces)
3143         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3144         separately consult default-frame-alist.  It is now passed as the
3145         PARAMETER argument.
3147 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
3149         * startup.el (command-line): Don't call tool-bar-setup in a
3150         tty-only build.
3152 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3154         * ruler-mode.el (ruler--save-header-line-format): New fun.
3155         (ruler-mode): Use it as a setter function, so as not to overwrite
3156         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3158 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
3160         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
3161         (vc-root-diff, vc-print-root-log, vc-log-incoming)
3162         (vc-log-outgoing): Use it.
3163         (vc-diff-internal): Set diff-vc-backend.
3165         * vc/diff-mode.el (diff-vc-backend): New var.
3167 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
3169         * dynamic-setting.el (font-setting-change-default-font): Remove
3170         call to message.
3172 2010-06-28  Kenichi Handa  <handa@m17n.org>
3174         * international/quail.el (quail-insert-kbd-layout): Fix the
3175         showing of untranslated characters.
3177 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
3179         * simple.el (delete-active-region): New option.
3180         (delete-backward-char): Implement in Lisp.
3181         (delete-forward-char): New command.
3183         * mouse.el (mouse-region-delete-keys): Deleted.
3184         (mouse-show-mark): Simplify.
3186         * bindings.el (global-map): Bind delete and DEL, the former to
3187         delete-forward-char.
3189 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
3191         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3192         (ruby-mode): Bind indent-line-function (Bug#5119).
3194 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3196         * startup.el (command-line): Recognize "0" X resource value.
3198 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3200         * startup.el (command-line): Use X resources to set the value of
3201         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3203         * menu-bar.el (menu-bar-mode):
3204         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3205         Set init-value to t.
3207         * frame.el (frame-notice-user-settings): Don't change
3208         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3209         vice versa (Bug#2249).
3211 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
3213         * w32-fns.el (w32-convert-standard-filename): Doc fix.
3215 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3217         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3218         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3220         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3221         default directories are expanded (Bug#6143).
3223 2010-06-24  Juri Linkov  <juri@jurta.org>
3225         * minibuffer.el (completions-format): Change default from nil to
3226         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
3228 2010-06-24  Juri Linkov  <juri@jurta.org>
3230         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3231         buffer-locally to lambda that re-runs the vc diff command.
3232         (Bug#6447)
3234 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
3236         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3237         echo area is in use (Bug#3412).
3239 2010-06-22  Glenn Morris  <rgm@gnu.org>
3241         * textmodes/texinfmt.el (texinfo-format-region)
3242         (texinfo-raise-lower-sections, texinfo-format-separate-node)
3243         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3244         (texinfo-format-option, texinfo-noindent):
3245         Use line-beginning-position and line-end-position.
3247         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3248         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3249         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3250         utf-8 characters.
3252 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
3254         * play/zone.el (zone-fall-through-ws): Fix next-line ->
3255         forward-line fallout.
3257 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
3259         * mouse.el (mouse-appearance-menu): Add docstring.
3261         * help.el (describe-key): Print up-event using key-description.
3263 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
3265         * net/zeroconf.el (zeroconf-resolve-service)
3266         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3267         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3269 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3271         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3273 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
3275         Avoid displaying files with a nil state in vc-dir.
3276         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3277         cases that cause insertion.
3278         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3279         with a nil state.
3281 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3283         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3285 2010-06-29  Leo  <sdl.web@gmail.com>
3287         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
3289 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
3291         * generic-x.el (bat-generic-mode): Fix regexp for command line
3292         switches (Bug#5719).
3294 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
3296         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3297         of nconc to avoid pure storage error (Bug#6239).
3299 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
3301         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3302         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3303         bindings of bookmark-automatically-show-annotations (Bug#6515).
3305 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
3307         * arc-mode.el (archive-zip-extract): Don't quote the file name on
3308         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
3310 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3312         * comint.el (make-comint, make-comint-in-buffer): Mention return
3313         value in the docstrings.  (Bug#6498)
3315 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
3317         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3318         since it is not present when using some non-default switches.
3320 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
3322         * simple.el (compose-mail): Fix doc string to refer to
3323         `compose-mail-user-agent-warnings', instead of to the
3324         nonexistent `compose-mail-check-user-agent'.
3326 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
3328         Fix an indentation bug:
3330         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3331         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3332         of existing values.
3334         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3335         (c-clear->-pair-props-if-match-before): now return t when they've
3336         cleared properties, nil otherwise.
3337         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3338         by taking account of the existing value.
3340         * progmodes/cc-defs.el
3341         (c-clear-char-property-with-value-function): Fix this to clear the
3342         property rather than overwriting it with nil.
3344 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
3346         * emacs-lisp/package.el (package-print-package): Add link to
3347         package description via describe-package.
3348         (describe-package-1): List package requirements.  Add button to
3349         perform installation.
3350         (package-menu-describe-package): New command.
3352         * help-mode.el (help-package): New button type.
3354 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
3356         * emacs-lisp/package.el: Move package-list-packages binding to
3357         menu-bar.el.
3358         (describe-package, describe-package-1, package--dir): New funs.
3359         (package-activate-1): Use package--dir.
3361         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3363         * help-mode.el (help-package-def): New button type.
3365         * menu-bar.el: Move package-list-packages binding here from
3366         package.el.
3368 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
3370         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
3372 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3374         * emacs-lisp/edebug.el (edebug-read-list):
3375         Phase out old-style backquotes.
3377 2010-06-17  Juri Linkov  <juri@jurta.org>
3379         * help-mode.el (help-mode): Set buffer-local variable
3380         revert-buffer-function to help-mode-revert-buffer.
3381         (help-mode-revert-buffer): New function.
3383         * info.el (Info-revert-find-node): Check for major-mode Info-mode
3384         before popping to "*info*" (like in other Info functions).
3385         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
3386         old-history-forward.  Pop to old-buffer-name or "*info*" to
3387         recreate the killed buffer.  Set Info-history-forward from
3388         old-history-forward.
3389         (Info-breadcrumbs-depth): Add :group and :version.
3391 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
3393         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3395 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
3397         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3398         for languages like Portuguese with pt_{BR,PT} and no plain pt.
3400 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
3402         * emacs-lisp/package.el (package-menu-mode-map):
3403         Move initialization into declaration.
3405         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3407 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
3409         * emacs-lisp/package.el (package-archive-base): Point to
3410         elpa.gnu.org.
3411         (package-enable, package-load-list): New defcustoms.
3412         (package-user-dir, package-directory-list): Turn into defcustoms.
3413         Don't include package-user-dir in package-directory-list.
3414         (package--builtins-base): Don't include Emacs as a "package".
3415         (package-subdirectory-regexp): New var.
3416         (package-load-all-descriptors, package-compute-transaction)
3417         (package-download-transaction): Obey package-load-list.
3418         (package-activate-1): Rename from package-do-activate.
3419         (package-list-packages-internal): Check package-load-list.
3420         (package-load-descriptor, package-generate-autoloads)
3421         (package-unpack, package-unpack-single)
3422         (package--read-archive-file, package-delete): Use
3423         expand-file-name.
3425         * emacs-lisp/package-x.el: New file.  Package uploading
3426         functionality split out from package.el.
3428         * startup.el (command-line): Load packages after reading init file.
3430 2010-06-17  Tom Tromey  <tromey@redhat.com>
3432         * emacs-lisp/package.el: New file.
3434 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3436         Fix vc-annotate for renamed files when using Git.
3437         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3438         ls-files.  Doe not pass the object as a file name to cat-file, it
3439         is not a file name.
3440         (vc-git-annotate-command): Pass the file name using -- to avoid
3441         ambiguity with the revision.
3442         (vc-git-previous-revision): Pass a relative file name.
3444 2010-06-22  Glenn Morris  <rgm@gnu.org>
3446         * progmodes/js.el (js-mode-map): Use standard capitalization and
3447         ellipses for menu entries.
3449         * wid-edit.el (widget-complete): Doc fix.
3451 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
3453         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3455 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3457         Fix annotating other revisions for renamed files in vc-annotate.
3458         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3459         VC backend.  Use it when non-nil.
3460         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3461         (Bug#6487)
3463         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3464         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3465         Do not pass the file name to the 'previous-revision call when we
3466         don't want a file diff.  (Bug#6489)
3468 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3470         Fix finding revisions for renamed files in vc-annotate.
3471         * vc/vc.el (vc-find-revision): Add an optional argument for
3472         the VC backend.  Use it when non-nil.
3473         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3474         backend to vc-find-revision.  (Bug#6487)
3476 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3478         Fix reading file names in Git annotate buffers.
3479         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3480         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
3482 2010-06-20  Alan Mackenzie  <acm@muc.de>
3484         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3485         in file local variables, set it first.
3487 2010-06-19  Glenn Morris  <rgm@gnu.org>
3489         * descr-text.el (describe-char-unicode-data): Insert separating
3490         space when needed.  (Bug#6422)
3492         * progmodes/idlwave.el (idlwave-action-and-binding):
3493         Fix typo in 2009-12-03 change.  (Bug#6450)
3495 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3497         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3498         handling for `lambda' (misunderstanding).
3500 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
3502         * calc/calc-poly.el (math-accum-factors): Make sure that
3503         constants aren't distributed after they are factored out.
3505 2010-06-16  Juri Linkov  <juri@jurta.org>
3507         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3508         `list-colors-print'.  (Bug#6332)
3510         * subr.el (read-quoted-char): Fix up last change (bug#6290).
3512 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3514         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3515         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
3517         * font-lock.el (font-lock-major-mode): Rename from
3518         font-lock-mode-major-mode to distinguish it from
3519         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3520         (font-lock-set-defaults):
3521         * font-core.el (font-lock-default-function): Adjust users.
3522         (font-lock-mode): Don't set it at all.
3524 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3526         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
3528 2010-06-16  Glenn Morris  <rgm@gnu.org>
3530         * calendar/appt.el (appt-time-msg-list): Doc fix.
3531         (appt-check): Let-bind appt-warn-time.
3532         (appt-add): Make the 3rd argument optional.
3533         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
3534         Only add WARNTIME to the output list if non-nil.
3536 2010-06-16  Ivan Kanis  <apple@kanis.eu>
3538         * calendar/appt.el (appt-check): Let the 3rd element of
3539         appt-time-msg-list specify the warning time.
3540         (appt-add): Add new argument with the warning time.  (Bug#5176)
3542 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3544         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3545         older than version 1.6.  (Bug#6361)
3547 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
3549         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3550         used by cl-do-arglist.  (Bug#6408)
3552 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
3554         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3555         portuguese casechars/not-casechars for missing 'çÇ'.
3556         Suggested by Rolando Pereira (bug#6434).
3558 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
3560         * facemenu.el (list-colors-sort): Doc fix.
3562 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3564         * progmodes/sql.el (sql-connect-mysql): Fix typo.
3566 2010-06-14  Juri Linkov  <juri@jurta.org>
3568         Add sort option `list-colors-sort'.  (Bug#6332)
3569         * facemenu.el (color-rgb-to-hsv): New function.
3570         (list-colors-sort): New defcustom.
3571         (list-colors-sort-key): New function.
3572         (list-colors-display): Doc fix.  Sort list according to the option
3573         `list-colors-sort'.
3574         (list-colors-print): Add HSV values to `help-echo' property of
3575         RGB strings.
3577 2010-06-14  Juri Linkov  <juri@jurta.org>
3579         * compare-w.el: Move to the "vc" subdirectory.
3581 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3583         * image-mode.el (image-mode-map): Remap left-char and right-char.
3585         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3587 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
3589         * term/common-win.el (x-colors): Add all the color names defined
3590         in rgb.txt (Bug#6332).
3592         * facemenu.el (list-colors-print): Don't print extra names if it
3593         will overflow the window width.
3595         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3596         change (Bug#6343).
3598 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
3600         * files.el (make-directory): Doc fix (bug#6396).
3602 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
3604         * net/tramp.el (tramp-remote-process-environment): Protect version
3605         string by apostroph.
3606         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3607         XEmacs.
3608         (tramp-file-name-for-operation): Add `call-process-region'.
3609         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3611         * net/tramp-compat.el (top): Do not autoload
3612         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3613         only when `start-file-process' is not bound.
3614         (tramp-advice-file-expand-wildcards): Do not use
3615         `tramp-handle-file-remote-p'.
3616         (tramp-compat-make-temp-file): Handle the case, that
3617         `make-temp-file' has no third argument EXTENSION.
3619 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
3621         * makefile.w32-in (WINS_BASIC): Include new directory vc.
3623         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3625 2010-06-11  Juri Linkov  <juri@jurta.org>
3627         * finder.el (finder-known-keywords): Add keyword "vc"
3628         for version control.
3630         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3631         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3632         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3633         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3635 2010-06-11  Juri Linkov  <juri@jurta.org>
3637         Move version control related files to the "vc" subdirectory.
3638         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3639         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3640         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3641         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3642         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3643         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3644         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3645         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3646         Move files to the "vc" subdirectory.
3648 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
3650         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3651         (Bug#6367).
3653 2010-06-11  Stephen Eglen  <stephen@gnu.org>
3655         * shell.el: Bind `shell-resync-dirs' to M-RET.
3657 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
3659         * notifications.el: Move file from lisp/net, because it is
3660         supposed to talk locally to the user.
3662 2010-06-10  Julien Danjou  <julien@danjou.info>
3664         * net/notifications.el (notifications-on-action-signal)
3665         (notifications-on-closed-signal): Pass notification id as first
3666         argument to the callback functions.  Add docstrings.
3667         (notifications-notify): Fix docstring.
3669 2010-06-10  Glenn Morris  <rgm@gnu.org>
3671         * emacs-lisp/authors.el (authors-ignored-files)
3672         (authors-valid-file-names): Add some files.
3674 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3676         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3677         merge conflict, giving preference to the emacs-23 version of the code.
3679 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3681         * emacs-lisp/advice.el (ad-compile-function):
3682         Define warning-suppress-types before we let-bind it (bug#6275).
3684         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3685         declare it, make it buffer-local and permanent-local (bug#6324).
3686         (vc-resynch-window): Adjust name.
3687         * vc-hooks.el (vc-find-file-hook): Adjust name.
3689 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
3691         * net/notifications.el (notifications-notify): Fix docstring.
3693 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3695         Update to Unicode 6.0.0 beta.
3696         * international/charprop.el: Update copyright.
3697         * international/mule-cmds.el (ucs-names): Update character ranges.
3698         * international/uni-bidi.el:
3699         * international/uni-category.el:
3700         * international/uni-combining.el:
3701         * international/uni-comment.el:
3702         * international/uni-decimal.el:
3703         * international/uni-decomposition.el:
3704         * international/uni-digit.el:
3705         * international/uni-lowercase.el:
3706         * international/uni-mirrored.el:
3707         * international/uni-name.el:
3708         * international/uni-numeric.el:
3709         * international/uni-old-name.el:
3710         * international/uni-titlecase.el:
3711         * international/uni-uppercase.el: Regenerate.
3713 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3715         * emacs-lisp/smie.el (comment-string-strip): Declare function.
3716         (smie-precs-precedence-table): Fix typo in docstring.
3718         * vc-mtn.el (log-edit-extract-headers): Declare function.
3720         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3722         * net/notifications.el (dbus-register-signal): Declare function.
3723         (notifications-notify): Fix typos and reflow docstring.
3725 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3727         Improve VC create/retrieve tag/branch.
3728         * vc.el (vc-create-tag): Do not read the directory name for VCs
3729         with repository revision granularity.  Adjust the tag/branch
3730         prompt.  Reset VC properties.
3731         (vc-retrieve-tag): Do not read the directory name for VCs
3732         with repository revision granularity.  Reset VC properties.
3734 2010-06-09  Julien Danjou  <julien@danjou.info>
3736         * net/notifications.el: New file.
3738 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3740         Add optional support for resetting VC properties.
3741         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3742         call vc-file-clearprops when true.
3743         (vc-resynch-buffer): Add new optional argument, pass it down.
3744         (vc-resynch-buffers-in-directory): Likewise.
3746         Improve support for special markup in the VC commit message.
3747         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3748         * vc-hg.el (vc-hg-checkin): Add support for Date:.
3749         * vc-git.el (vc-git-checkin):
3750         * vc-bzr.el (vc-bzr-checkin): Likewise.
3752 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3754         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3755         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3757 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
3759         * iimage.el: Remove images as soon as the underlying text is modified.
3760         (iimage-modification-hook): New function.
3761         (iimage-mode-buffer): Use it.
3763 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3765         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3766         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
3767         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
3768         (smie-indent-keyword): Add handling of open-paren keywords.
3769         (smie-indent-comment-continue): Don't assume comment-continue.
3771 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
3773         * window.el (pop-to-buffer): Remove the conditional that
3774         compares new-window and old-window, so it will reselect
3775         the selected window unconditionally.
3776         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3778 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3780         * emacs-lisp/smie.el (smie-indent-offset-after)
3781         (smie-indent-forward-token, smie-indent-backward-token): New functions.
3782         (smie-indent-after-keyword): Use them.
3783         (smie-indent-fixindent): Only applies to the indentation of the BOL.
3784         (smie-indent-keyword): Tweak the black magic.
3785         (smie-indent-comment-continue): Strip comment-continue before use.
3786         (smie-indent-functions): Indent comments before keywords.
3788 2010-06-06  Juri Linkov  <juri@jurta.org>
3790         * isearch.el (isearch-lazy-highlight-search): Fix looping
3791         by checking for empty match.  This syncs this loop with the
3792         similar loop in `isearch-search'.  (Bug#6362)
3794 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
3796         * net/dbus.el (dbus-register-method): Declare function.
3797         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3798         (dbus-introspect): Doc fix.
3799         (dbus-event-bus-name, dbus-introspect-get-interface)
3800         (dbus-introspect-get-argument): Reflow docstrings.
3802 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
3804         vc-log-incoming/vc-log-outgoing fixes for Git.
3805         * vc-git.el (vc-git-log-view-mode): Fix font lock for
3806         incoming/outgoing logs.
3807         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3808         instead of vc-git-compute-remote.
3809         (vc-git-compute-remote): Remove.
3811 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
3813         * term/common-win.el (x-colors): Add "dark green" and "dark
3814         turquoise" (Bug#6332).
3816 2010-06-04  Juri Linkov  <juri@jurta.org>
3818         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
3819         Instead of setting `replace' to t and replacing the same string
3820         with itself, don't do certain actions when
3821         kill-do-not-save-duplicates is non-nil and string is equal to car
3822         of kill-ring: don't call menu-bar-update-yank-menu, don't push
3823         interprogram-paste strings to kill-ring, and don't push the input
3824         argument `string' to kill-ring.
3825         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
3827 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
3829         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
3831 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
3833         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
3834         (tramp-gvfs-handler-mounted-unmounted)
3835         (tramp-gvfs-connection-mounted-p): Handle default-location.
3837         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
3838         move files to trash.
3840 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
3842         * international/mule-cmds.el (nonascii-insert-offset)
3843         (nonascii-translation-table): Add obsolescence information.
3845         * international/mule.el (make-translation-table-from-vector): Doc fix.
3847 2010-06-03  Glenn Morris  <rgm@gnu.org>
3849         * desktop.el (desktop-clear-preserve-buffers):
3850         Add "*Warnings*" buffer.  (Bug#6336)
3852 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
3854         vc-log-incoming/vc-log-outgoing improvements for Git.
3855         * vc-git.el (vc-git-log-outgoing): Use the same format as the
3856         short log.
3857         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
3859         Add bindings for vc-log-incoming and vc-log-outgoing.
3860         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
3861         and vc-log-outgoing.
3862         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
3863         and vc-log-outgoing.
3865 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
3867         * net/rcirc.el (rcirc-sort-nicknames): Remove.
3868         (rcirc-handler-366): Always sort nicknames.
3870 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
3872         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
3874 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
3876         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
3878 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3880         * net/rcirc.el (rcirc-sort-nicknames): Change default.
3881         (rcirc-sort-nicknames-join): Avoid setq.
3883 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
3885         * net/rcirc.el (rcirc-sort-nicknames): New custom.
3886         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
3887         (rcirc-handler-366): Use them.
3889 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3891         Split smie-indent-calculate into more manageable chunks.
3892         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
3893         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
3894         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
3895         (smie-indent-exps): Extract from smie-indent-calculate.
3896         (smie-indent-functions): New var.
3897         (smie-indent-functions): Use them.
3899 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3901         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
3902         (smie-indent-calculate): Simplify and cleanup.
3904 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
3906         * net/tramp-gvfs.el (top): Require url-util.
3907         (tramp-gvfs-mount-point): Remove.
3908         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
3909         New defuns.
3910         (with-tramp-dbus-call-method): Format trace message.
3911         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3912         Implement backup call, when operation on local files fails.
3913         Use progress reporter.  Flush properties of changed files.
3914         (tramp-gvfs-handle-make-directory): Make more traces.
3915         (tramp-gvfs-url-file-name): Hexify file name in url.
3916         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3917         into account for the resulting file name.
3918         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
3919         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
3920         (tramp-gvfs-handler-mounted-unmounted)
3921         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3922         attribute "default_location".  Set "prefix" property.
3923         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3924         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3925         exists.  Raise an error, if not (due to a corresponding answer
3926         "no" in interactive questions, for example).
3928 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
3930         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
3932 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
3934         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
3935         right-*.  (Bug#6265)
3937 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
3939         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
3940         * vc-git.el (vc-git-compute-remote): New function.
3941         (vc-git-log-outgoing): Use it instead of hard coding a value.
3942         (vc-git-log-incoming): New function.
3944         Improve state updating for VC tag commands.
3945         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
3946         to update the state of all buffers in the directory.
3948         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
3950 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3952         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
3953         `file-directory-p' to the filename part rather than to the whole text.
3955 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3957         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
3959 2010-05-31  Drew Adams  <drew.adams@oracle.com>
3961         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
3963 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
3965         * subr.el (momentary-string-display): Just use read-event to read
3966         the exit event (Bug#6238).
3968 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
3970         * international/mule.el (define-coding-system): Doc fix (bug#6313).
3972 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
3974         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
3975         Suggested by Eli Zaretskii <eliz@gnu.org>.
3977 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3979         * minibuffer.el (completion-file-name-table): Don't return a boundary
3980         past the end of `string' (bug#6299).
3981         (completion--file-name-table): Delegate to completion-file-name-table
3982         for the `boundaries' case.
3984 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
3986         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
3987         movement commands.
3989         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
3990         `path-separator', but maintain compatibility with Emacs 20.2.
3992 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
3994         * server.el (server-process-filter): Receive parent-id argument
3995         from emacsclient.
3996         (server-create-window-system-frame): New arg.  Pass parent-id as
3997         frame parameter.
3999 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
4001         Bidi-sensitive word movement with arrow keys.
4002         * subr.el (right-arrow-command, left-arrow-command): Move to
4003         bindings.el.
4005         * bindings.el (right-char, left-char): Move from subr.el and
4006         rename from right-arrow-command and left-arrow-command.
4007         (right-word, left-word): New functions.
4008         (global-map) <right>: Bind to right-char.
4009         (global-map) <left>: Bind to left-char.
4010         (global-map) <C-right>: Bind to right-word.
4011         (global-map) <C-left>: Bind to left-word.
4013         * ls-lisp.el (ls-lisp-classify-file): New function.
4014         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4015         (ls-lisp-classify): Call ls-lisp-classify-file.
4016         (insert-directory): Remove blanks from switches.
4018 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4020         * ansi-color.el: Delete unused escape sequences (Bug#6085).
4021         (ansi-color-drop-regexp): New constant.
4022         (ansi-color-apply, ansi-color-filter-region)
4023         (ansi-color-apply-on-region): Delete unrecognized control sequences.
4024         (ansi-color-apply): Build string list before calling concat.
4026 2010-05-28  Juri Linkov  <juri@jurta.org>
4028         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4029         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4030         (Bug#5270)
4032 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4034         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4035         to ignored backtrace functions.
4036         (with-progress-reporter): Expand docstring.
4037         (tramp-handle-delete-file): Implement TRASH argument.
4038         (tramp-get-remote-trash): New defun.
4040 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4042         * net/tramp-compat.el (tramp-compat-delete-file): Use
4043         `symbol-value' for backward compatibility.
4045         * net/tramp.el (tramp-handle-make-symbolic-link)
4046         (tramp-handle-load)
4047         (tramp-do-copy-or-rename-file-via-buffer)
4048         (tramp-do-copy-or-rename-file-directly)
4049         (tramp-do-copy-or-rename-file-out-of-band)
4050         (tramp-handle-process-file, tramp-handle-call-process-region)
4051         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4052         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4053         (tramp-delete-temp-file-function): Use `delete-file' instead
4054         of `tramp-compat-delete-file'.
4056         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4057         (tramp-fish-handle-make-symbolic-link)
4058         (tramp-fish-handle-process-file): Use `delete-file' instead
4059         of `tramp-compat-delete-file'.
4061         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4062         `delete-file' instead of `tramp-compat-delete-file'.
4064         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4065         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4066         `tramp-compat-delete-file'.
4068         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4069         `delete-file' instead of `tramp-compat-delete-file'.
4071         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4072         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4073         (tramp-smb-handle-write-region): Use `delete-file' instead of
4074         `tramp-compat-delete-file'.
4075         (tramp-smb-handle-delete-directory): Use 'trash as arg.
4077 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4079         * dired.el (dired-delete-file): New arg TRASH.
4080         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
4081         (dired-do-flagged-delete, dired-do-delete): Use trash.
4083         * speedbar.el (speedbar-item-delete): Allow trashing.
4085         * files.el (delete-directory): New arg TRASH.
4087         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4088         (ange-ftp-rename-remote-to-remote)
4089         (ange-ftp-rename-local-to-remote)
4090         (ange-ftp-rename-remote-to-local, ange-ftp-load)
4091         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4092         `delete-file'.
4093         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4094         allow trashing.
4096         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4097         handle new TRASH arg of `delete-file'.
4099         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4100         (tramp-handle-make-symbolic-link, tramp-handle-load)
4101         (tramp-do-copy-or-rename-file-via-buffer)
4102         (tramp-do-copy-or-rename-file-directly)
4103         (tramp-do-copy-or-rename-file-out-of-band)
4104         (tramp-handle-process-file, tramp-handle-call-process-region)
4105         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4106         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4107         (tramp-delete-temp-file-function): Use null TRASH arg in
4108         tramp-compat-delete-file call.
4110         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4111         (tramp-fish-handle-delete-file)
4112         (tramp-fish-handle-make-symbolic-link)
4113         (tramp-fish-handle-process-file): Use null TRASH arg in
4114         `tramp-compat-delete-file' call.
4116         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4117         arg in `tramp-compat-delete-file' call.
4119         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4120         (tramp-gvfs-handle-write-region): Use null TRASH arg in
4121         `tramp-compat-delete-file' call.
4123         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4124         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4125         `tramp-compat-delete-file' call.
4127         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4128         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4129         (tramp-smb-handle-write-region): Use null TRASH arg in
4130         tramp-compat-delete-file call.
4131         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4132         (tramp-smb-handle-delete-file): Rename arg.
4134         * diff.el (diff-sentinel):
4135         * epg.el (epg--make-temp-file, epg-decrypt-string)
4136         (epg-verify-string, epg-sign-string, epg-encrypt-string):
4137         * jka-compr.el (jka-compr-partial-uncompress)
4138         (jka-compr-call-process, jka-compr-write-region):
4139         * server.el (server-sentinel): Remove optional arg from
4140         delete-file, reverting 2010-05-03 change.
4142 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4144         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4145         font-lock-constant-face, not obsolete font-lock-reference-face.
4147 2010-05-27  Kenichi Handa  <handa@m17n.org>
4149         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4150         element of GSTRING is nil.
4152 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4154         * emacs-lisp/smie.el (smie-forward-token-function)
4155         (smie-backward-token-function): New vars.
4156         (smie-backward-sexp, smie-forward-sexp)
4157         (smie-indent-hanging-p, smie-indent-calculate): Use them.
4158         (smie-default-backward-token): Rename from smie-backward-token and
4159         skip comments.
4160         (smie-default-forward-token): Rename from smie-forward-token and
4161         skip comments.
4162         (smie-next-sexp): Handle nil results from next-token.
4163         (smie-indent-calculate): Add a new case for special `fixindent' comments.
4165 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4167         * progmodes/verilog-mode.el (verilog-type-font-keywords):
4168         Use font-lock-constant-face, not obsolete font-lock-reference-face.
4170 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
4172         * htmlfontify.el (hfy-face-resolve-face): New function.
4173         (hfy-face-to-style): Use it (Bug#6279).
4175 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4177         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4178         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4180 2010-05-26  Glenn Morris  <rgm@gnu.org>
4182         * emulation/edt.el (edt-load-keys): Use locate-library.
4184 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
4186         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4187         (log-edit-changelog-entries): Doc fix.
4188         (log-edit-changelog-insert-entries): Args changed.
4189         Rename relative filenames in ChangeLog entries.  Delete tabs.
4190         (log-edit-insert-changelog-entries): Reorganize return value of
4191         `log-edit-changelog-entries' to pass filenames to
4192         log-edit-changelog-insert-entries.
4194 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4196         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4197         `image-dired-dired-insert-marked-thumbs' to
4198         `image-dired-dired-toggle-marked-thumbs'.
4200         * image-dired.el: Require cl when compiling.
4201         (image-dired-dired-toggle-marked-thumbs): Rename from
4202         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
4203         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
4204         to 'no-dir.  Skip files whose names don't match
4205         `image-file-name-regexp'.  When file has a thumbnail overlay,
4206         delete it.  (Bug#5270)
4208 2010-05-25  Juri Linkov  <juri@jurta.org>
4210         * image-mode.el (image-mode): Add image-after-revert-hook to
4211         after-revert-hook.
4212         (image-after-revert-hook): New function.  (Bug#5669)
4214 2010-05-25  Juri Linkov  <juri@jurta.org>
4216         * image.el (image-animated-p): When delay between animated images
4217         is 0, set it to 10 (0.1 sec).  (Bug#6258)
4219 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4221         * net/tramp.el (tramp-handle-insert-directory): Don't use
4222         `forward-word', its default syntax could be changed.
4224 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
4226         * net/tramp.el (tramp-progress-reporter-update): New defun.
4227         (with-progress-reporter): Use it.
4228         (tramp-process-actions):
4229         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4230         current message, in order to let progress reporter continue
4231         afterwards.  (Bug#6257)
4233 2010-05-25  Glenn Morris  <rgm@gnu.org>
4235         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4236         Add :version.
4238 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4240         * net/rcirc.el (rcirc-default-user-name): Change to "user".
4241         (rcirc-default-full-name): Change to "unknown".
4242         (rcirc-user-name-history): Add variable.
4244 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4245             Jonathan Rockway  <jon@jrock.us>
4247         * net/rcirc.el (rcirc-server-alist): Add :pass.
4248         (rcirc): When prompting for connection parameters, also prompt for
4249         username and password.
4250         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
4251         value to server when connecting.
4253 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4255         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4256         (smie-merge-prec2s): Pass the tables as separate args.
4257         (smie-bnf-precedence-table): Adjust call accordingly.
4258         (smie-prec2-levels): Set levels at the end.
4260         Replace Lisp calls to delete-backward-char by delete-char.
4261         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4262         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4263         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4264         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4265         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4266         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4267         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4268         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4269         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4270         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4271         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4272         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4273         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4274         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4275         delete-backward-char by calls to delete-char.
4277 2010-05-25  Kenichi Handa  <handa@m17n.org>
4279         * language/hebrew.el (hebrew-shape-gstring): New function.
4280         Register it in composition-function-table for all Hebrew combining
4281         characters.
4283 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4285         * epa.el (epa--select-keys): Don't explicitly delete the window since
4286         that can fail (e.g. sole window in frame).  Use dedication instead.
4288 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4290         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4292 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
4294         * image.el (image-refresh): Define as an alias for image-flush.
4296         * image-mode.el (image-toggle-display-image): Caller changed.
4298 2010-05-21  Juri Linkov  <juri@jurta.org>
4300         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4301         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
4302         whitespace, call wildcard-to-regexp on substrings and concat them
4303         with "\\|".  (Bug#6114)
4305 2010-05-21  Alan Mackenzie  <acm@muc.de>
4307         * progmodes/cc-engine.el (c-parse-state-get-strategy):
4308         Replace parameter `here' with `here-' and `here-plus', which sandwich
4309         any pertinent CPP construct.
4310         (c-remove-stale-state-cache-backwards): Fix a bug which happens
4311         when doing (c-parse-state) in a CPP construct: Exclude any "new"
4312         CPP construct from taking part in the scanning.
4314 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
4316         * net/tramp.el (tramp-do-copy-or-rename-file)
4317         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4318         Tune `with-progress-reporter' messages.
4319         (tramp-handle-vc-registered):
4320         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4321         (tramp-fish-handle-insert-file-contents)
4322         (tramp-fish-maybe-open-connection):
4323         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4324         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4325         (tramp-imap-handle-insert-file-contents)
4326         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4328 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
4330         * add-log.el (change-log-font-lock-keywords):
4331         Highlight all authors in multi-author entries.
4333         * smerge-mode.el (smerge-refine-ignore-whitespace)
4334         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4335         Fix typos in docstrings.
4336         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4338 2010-05-21  Glenn Morris  <rgm@gnu.org>
4340         * progmodes/fortran.el (fortran-mode):
4341         * progmodes/f90.el (f90-mode): Derive from prog-mode.
4343         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4344         having a relative path in src/Makefile.in.
4346 2010-05-20  Kevin Ryde  <user42@zip.com.au>
4348         * help-mode.el (help-make-xrefs): For Info node links turn
4349         newlines into spaces.  Link node names with newlines are matched
4350         by help-xref-info-regexp and buttonized, this change ensures they
4351         can be followed successfully with RET.  (Bug#6206)
4353 2010-05-20  Juri Linkov  <juri@jurta.org>
4355         * locate.el (locate): Use pop-to-buffer instead of
4356         switch-to-buffer-other-window.  (Bug#6204)
4358 2010-05-20  Juri Linkov  <juri@jurta.org>
4360         * replace.el (replace-highlight): Fix lazy-highlighting
4361         for `M-s w str M-% str RET'.
4363 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
4365         * isearch.el (isearch-yank-word-or-char): Pull next subword
4366         when `subword-mode' is activated.  (Bug#6220)
4368 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
4370         * isearch.el (isearch-update-post-hook): New hook.
4371         (isearch-update): Use the new hook.  (Bug#6225)
4373 2010-05-20  Juri Linkov  <juri@jurta.org>
4375         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4376         [f1], [help], and (char-to-string help-char) instead of "\C-h".
4377         (Bug#6222)
4379 2010-05-20  Juri Linkov  <juri@jurta.org>
4381         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4382         (Bug#6223)
4384 2010-05-20  Juri Linkov  <juri@jurta.org>
4386         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4387         FILE-NAME to read from the minibuffer when called interactively
4388         with prefix argument instead of using buffer-file-name.
4389         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4391         * dired.el: Update autoloads.
4393 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
4395         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4396         nxml-finish-element, for consistency with SGML mode.
4398         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4399         octave-close-block.
4401 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
4403         * composite.el: Require cl when compiling.
4404         (reference-point-alist, compose-gstring-for-graphic)
4405         (compose-gstring-for-terminal): Fix typos in docstrings.
4407 2010-05-19  Juri Linkov  <juri@jurta.org>
4409         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4410         set-window-parameter.
4412 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4414         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4415         where appropriate.
4416         (tramp-maybe-open-connection): Use it.
4418 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
4420         * simple.el (move-end-of-line): Make sure we are at line beginning
4421         before backing up to end of previous line.
4423 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4425         * password-cache.el (password-cache-remove): Fix docstring.
4427         * net/secrets.el: Autoload the widget functions.
4428         (secrets-search-items, secrets-create-item)
4429         (secrets-get-attributes, secrets-expand-item): Attributes will be
4430         stored on the password database without leading ":", as all other
4431         clients do as well.
4432         (secrets-mode): Fix docstring.
4433         (secrets-show-secrets): Provide it as autoloaded command only when
4434         D-Bus support is available.  Check existence of Secret Service API.
4436 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4438         * indent.el (indent-region): Deactivate region (bug#6200).
4440 2010-05-19  Glenn Morris  <rgm@gnu.org>
4442         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
4444 2010-05-19  Kenichi Handa  <handa@m17n.org>
4446         * composite.el: Register compose-gstring-for-graphic in
4447         composition-function-table only for combining characters (Mn, Mc, Me).
4449 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
4451         * calc/calc-trail.el (calc-trail-isearch-forward)
4452         (calc-trail-isearch-backward): Ensure that the new window
4453         point is set correctly.
4455 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4457         * subr.el (read-quoted-char): Resolve modifiers after key
4458         remapping (bug#6212).
4460 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
4462         Add visualization code for secrets.
4463         * net/secrets.el (secrets-mode): New major mode.
4464         (secrets-show-secrets, secrets-show-collections)
4465         (secrets-expand-collection, secrets-expand-item)
4466         (secrets-tree-widget-after-toggle-function)
4467         (secrets-tree-widget-show-password): New defuns.
4469 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4471         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4472         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4473         handled in smie-next-sexp.
4474         (smie-indent-calculate): Provide a starting indentation (so the
4475         recursion is well-founded ;-).
4477         Fix handling of non-associative equal levels.
4478         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4479         when it's not needed.
4480         (smie-op-left, smie-op-right): New functions.
4481         (smie-next-sexp): New function, extracted from smie-backward-sexp.
4482         Better handle equal levels to distinguish the associative case from
4483         the "multi-keyword construct" case.
4484         (smie-backward-sexp, smie-forward-sexp): Use it.
4486 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
4488         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4490         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4491         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4493 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         Provide a simple generic indentation engine and use it for Prolog.
4496         * emacs-lisp/smie.el: New file.
4497         * progmodes/prolog.el (prolog-smie-op-levels)
4498         (prolog-smie-indent-rules): New var.
4499         (prolog-mode-variables): Use them to configure SMIE.
4500         (prolog-indent-line, prolog-indent-level): Remove.
4502 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4504         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4505         order before computing the averages.
4507 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
4509         * calc/calc-vec.el (calc-histogram):
4510         (calcFunc-histogram): Allow vectors as inputs.
4511         (math-vector-avg): New function.
4513         * calc/calc-ext.el (math-group-float): Have the number of digits
4514         being grouped depend on the radix (Bug#6189).
4516 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
4518         * version.el (emacs-copyright, emacs-version): Don't define here,
4519         now that emacs.c defines it.
4521 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
4523         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4524         "Describe Language Environment" menu item.
4526         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4528         Bidi-sensitive movement with arrow keys.
4529         * subr.el (right-arrow-command, left-arrow-command): New functions.
4531         * bindings.el (global-map): Bind them to right and left arrow keys.
4533         Don't override standard definition of convert-standard-filename.
4534         * files.el (convert-standard-filename): Call
4535         w32-convert-standard-filename and dos-convert-standard-filename on
4536         the corresponding systems.
4538         * w32-fns.el (w32-convert-standard-filename): Rename from
4539         convert-standard-filename.  Doc fix.
4541         * dos-fns.el (dos-convert-standard-filename): Doc fix.
4542         (convert-standard-filename): Don't defalias.
4543         (register-name-alist, make-register, register-value)
4544         (set-register-value, intdos): Obsolete aliases for the
4545         corresponding dos-* functions and variables.
4546         (dos-intdos): Add a doc string.
4548 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
4550         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4551         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4552         (math-compose-tex-func):
4553         * calc/calccomp.el (math-compose-expr):
4554         * calc/calc-ext.el (math-format-flat-expr-fancy):
4555         * calc/calc-store.el (calc-read-var-name):
4556         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4558         * calc/calc.el (var-π, var-φ, var-γ): New variables.
4559         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4560         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4561         (math-standard-units): Add units.
4563 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4565         * progmodes/asm-mode.el (asm-mode):
4566         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4568         * pcomplete.el (pcomplete-completions-at-point): New function,
4569         extracted from pcomplete-std-complete.
4570         (pcomplete-std-complete): Use it.
4572 2010-05-15  Glenn Morris  <rgm@gnu.org>
4574         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4575         Remove references to CVS, RCS and Old directories.
4577 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
4579         * calc/calc-bin.el (math-format-twos-complement): Group digits when
4580         appropriate.
4582 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4584         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4585         (sh-mode-syntax-table): Give it a default value instead.
4586         (sh-header-marker): Make buffer-local.
4587         (sh-mode): Move make-local-variable to the corresponding setq.
4588         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4589         Use complete-with-action.
4591         * simple.el (prog-mode): New (abstract) major mode.
4592         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4593         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4595 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
4597         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4598         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4599         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4600         (sql-make-alternate-buffer-name, sql-placeholders-filter)
4601         (sql-escape-newlines-filter, sql-input-sender)
4602         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4604 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
4606         Add TeX open-block and close-block keybindings to SGML, and vice versa.
4608         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4609         latex-open-block and C-c / to latex-close-block.
4611         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4612         and C-c C-e to sgml-close-tag.
4614 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
4616         * net/tramp.el (with-progress-reporter): Create reporter object
4617         only when the message would be displayed.  Handle nested calls.
4618         (tramp-handle-load, tramp-handle-file-local-copy)
4619         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4620         (tramp-maybe-send-script, tramp-find-shell):
4621         Use `with-progress-reporter'.
4622         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4623         Fix message text.
4625         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4626         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4627         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4628         Use `with-progress-reporter'.
4630 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
4632         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4633         process everytime when spellchecking from the minibuffer (bug#6143).
4635 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4637         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4639         * dos-fns.el: Add "dos-" prefix for namespace control.
4640         (convert-standard-filename): Define as alias for
4641         dos-convert-standard-filename but only if applicable.
4643 2010-05-12  Alan Mackenzie  <acm@muc.de>
4645         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4646         Push the mark at the start of these functions when appropriate.
4648 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4650         * minibuffer.el (completion-cycle-threshold): New custom var.
4651         (completion--do-completion): Use it.
4652         (minibuffer-complete): Use cycling if appropriate.
4654 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
4656         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4657         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4659 2010-05-11  Juri Linkov  <juri@jurta.org>
4661         * scroll-all.el (scroll-all-check-to-scroll):
4662         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4664 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4666         * iimage.el (iimage-mode-map): Move initialization into declaration.
4667         (iimage-mode-buffer): Use with-silent-modifications.
4668         Simplify calling convention.  Adjust callers.
4669         (iimage-mode): Don't run hook redundantly.
4671         * minibuffer.el (completion-pcm--pattern->regex):
4672         Fix last change (bug#6160).
4674 2010-05-10  Juri Linkov  <juri@jurta.org>
4676         Remove nodes visited during Isearch from the Info history.
4677         * info.el (Info-isearch-initial-history)
4678         (Info-isearch-initial-history-list): New variables.
4679         (Info-isearch-start): Record initial values of
4680         Info-isearch-initial-history and Info-isearch-initial-history-list.
4681         Add Info-isearch-end to isearch-mode-end-hook.
4682         (Info-isearch-end): New function.
4684 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
4686         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4687         format string, in order to work around a bug in pdksh.
4688         Reported by Gilles Pion <gpion@lfdj.com>.
4689         (tramp-handle-verify-visited-file-modtime): Do not send a command
4690         when the connection is not established.
4691         (tramp-handle-set-file-times): Simplify the check for utc.
4693 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
4695         Fix use of `filter-buffer-substring' (rework previous change).
4696         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4697         (cua-repeat-replace-region):
4698         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4699         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4700         (cua-cut-region-to-global-mark): Use it.
4702 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
4704         * progmodes/sql.el: Version 2.1.
4705         (sql-product-alist): Redesign structure of product info.
4706         (sql-product, sql-user, sql-server, sql-database): Safe variables.
4707         (sql-port, sql-port-history): New variables.
4708         (sql-interactive-product): New variable.
4709         (sql-send-terminator): New variable.
4710         (sql-imenu-generic-expression): Add "Types" imenu entry.
4711         (sql-oracle-login-params, sql-sqlite-login-params)
4712         (sql-mysql-login-params, sql-solid-login-params)
4713         (sql-sybase-login-params, sql-informix-login-params)
4714         (sql-ingres-login-params, sql-ms-login-params)
4715         (sql-postgres-login-params, sql-interbase-login-params)
4716         (sql-db2-login-params, sql-linter-login-params)
4717         (sql-oracle-scan-on): New variables.
4718         (sql-mode-map): Add C-c C-i to start interactive mode.
4719         (sql-mode-menu): Update existing menu entries.
4720         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4721         (sql-mode-oracle-font-lock-keywords)
4722         (sql-mode-postgres-font-lock-keywords)
4723         (sql-mode-ms-font-lock-keywords)
4724         (sql-mode-sybase-font-lock-keywords)
4725         (sql-mode-informix-font-lock-keywords)
4726         (sql-mode-interbase-font-lock-keywords)
4727         (sql-mode-ingres-font-lock-keywords)
4728         (sql-mode-solid-font-lock-keywords)
4729         (sql-mode-mysql-font-lock-keywords)
4730         (sql-mode-sqlite-font-lock-keywords)
4731         (sql-mode-db2-font-lock-keywords)
4732         (sql-mode-linter-font-lock-keywords): Update initialization to
4733         reduce run-time complexity.
4734         (sql-add-product, sql-del-product): New functions.
4735         (sql-set-product-feature, sql-get-product-feature): New functions.
4736         (sql-product-font-lock): Update product API.
4737         (sql-add-product-keywords): New function.
4738         (sql-highlight-product): Update product API.
4739         (sql-help-list-products): New function.
4740         (sql-help): Dynamically lists free and non-free products.
4741         (sql-get-login): Correct bug in handling history and added
4742         prompt for port.
4743         (sql-copy-column): Copy without properties.
4744         (sqli-input-sender): Apply filters to SQLi input.
4745         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4746         Implement as a filter.
4747         (sql-escape-newlines-filter): Implement as a filter.
4748         (sql-remove-tabs-filter): New function.
4749         (sql-send-magic-terminator): New function.
4750         (sql-send-string): Implement magic terminator.
4751         (sql-send-region): Use `sql-send-string'.
4752         (sql-interactive-mode): Use product API.
4753         (sql-product-interactive): Use product API.
4754         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4755         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4756         (sql-db2, sql-linter): Use `sql-product-interactive'.
4757         (sql-connect): New function.
4758         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4759         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4760         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4761         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4762         Use `sql-connect'.
4764 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4766         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4767         New custom variable.
4768         (completion-pcm--string->pattern): Use it.
4769         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4770         Make it handle any symbol as `any'.
4771         (completion-pcm--merge-completions): Extract common suffix for the new
4772         `prefix' symbol as well.
4773         (completion-substring--all-completions): Use the new `prefix' symbol.
4775 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
4777         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4778         not bound.
4779         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4780         (tramp-compat-funcall): New defmacro.
4781         (tramp-compat-line-beginning-position)
4782         (tramp-compat-line-end-position)
4783         (tramp-compat-temporary-file-directory)
4784         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4785         (tramp-compat-copy-file, tramp-compat-copy-directory)
4786         (tramp-compat-delete-file, tramp-compat-delete-directory)
4787         (tramp-compat-number-sequence, tramp-compat-process-running-p)
4788         * net/tramp.el (top, with-progress-reporter)
4789         (tramp-rfn-eshadow-setup-minibuffer)
4790         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4791         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4792         (tramp-completion-mode-p, tramp-check-for-regexp)
4793         (tramp-open-connection-setup-interactive-shell)
4794         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4795         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4796         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4797         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4798         (tramp-reporter-dump-variable, tramp-load-report-modules)
4799         (tramp-append-tramp-buffers)
4800         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4802         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4804 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4806         * progmodes/compile.el (compilation-buffer-modtime): Rename from
4807         buffer-modtime.  Adjust users.
4809 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4811         * international/mule.el (auto-coding-alist): Only purecopy
4812         car of each item, not the whole list (Bug#6083).
4814 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4816         * progmodes/js.el (js-mode): Make paragraph variables local before
4817         calling c-setup-paragraph-variables (Bug#6071).
4819 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
4821         * composite.el (compose-region, reference-point-alist): Fix typos
4822         in the doc strings.
4824 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
4826         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
4827         gnuplot's "set" command.
4829 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4831         * abbrev.el (last-abbrev-text): Doc fix.
4832         (abbrev-prefix-mark): Don't escape parenthesis.
4834 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
4836         * composite.el (find-composition): Doc fix.
4838 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4840         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
4841         (sql-oracle-program, sql-sqlite-options)
4842         (sql-query-placeholders-and-send): Doc fixes.
4843         (sql-set-product, sql-interactive-mode): Reflow docstrings.
4844         (sql-imenu-generic-expression, sql-buffer)
4845         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
4846         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
4847         (sql-mode-sybase-font-lock-keywords)
4848         (sql-mode-informix-font-lock-keywords)
4849         (sql-mode-interbase-font-lock-keywords)
4850         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
4851         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
4852         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
4853         (sql-product-feature, sql-highlight-product)
4854         (comint-line-beginning-position, sql-rename-buffer)
4855         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
4856         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
4857         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
4858         Fix typos in docstrings.
4860 2010-05-08  Juri Linkov  <juri@jurta.org>
4862         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
4863         property instead of `invisible' and `after-string' (bug#5998).
4865 2010-05-08  Juri Linkov  <juri@jurta.org>
4867         * image-mode.el (image-mode-as-text): Fix typo in docstring.
4869 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
4871         * filecache.el (file-cache-add-directory-list)
4872         (file-cache-add-directory-recursively): Fix typos in docstrings.
4874 2010-05-08  Kenichi Handa  <handa@m17n.org>
4876         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
4877         (gujarati-composable-pattern): Fix typo.
4879 2010-05-08  Kenichi Handa  <handa@m17n.org>
4881         * language/indian.el (oriya-composable-pattern)
4882         (tamil-composable-pattern, malayalam-composable-pattern):
4883         Add two-part vowels to "v" (vowel sign).
4885 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4887         * files.el (copy-directory): Handle symlinks (Bug#5982).
4889 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
4891         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
4892         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
4893         (Bug#5846).
4895 2010-05-08  Glenn Morris  <rgm@gnu.org>
4897         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
4899         * minibuffer.el (completion-at-point): Doc fix.
4901 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4903         * electric.el (Electric-command-loop): Minor tweak.
4905         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
4906         better with dedicated windows.
4908 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
4910         * Version 23.2 released.
4912 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
4913             Stefan Monnier  <monnier@iro.umontreal.ca>
4915         Highlight vendor specific properties.
4916         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
4917         (css-proprietary-property): New face.
4918         (css-font-lock-keywords): Use them.
4920 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
4922         * cus-start.el (all): Add native condition for tool-bar-* symbols.
4924 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4926         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
4927         * files.el (auto-mode-alist): Remove redundant entries.
4929         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
4930         * simple.el (auto-save-mode): Move from files.el.
4931         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
4933 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
4935         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
4937 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
4939         * mail/binhex.el (binhex-decode-region-internal)
4940         * mail/uudecode.el (uudecode-decode-region-internal)
4941         * net/dns.el (dns-read-string-name, dns-write, dns-read)
4942         (dns-read-type, dns-query)
4943         * pgg-parse.el (pgg-parse-armor)
4944         * pgg.el (pgg-verify-region)
4945         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
4946         XEmacs.
4948         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
4950 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
4952         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
4954         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
4955         * emulation/cua-base.el (cua-repeat-replace-region):
4956         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4957         (cua-cut-region-to-global-mark):
4958         Remove text properties with `set-text-properties'.
4960 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
4962         * net/tramp.el (top, with-progress-reporter):
4963         Use `symbol-function' inside `funcall'.
4965         * net/tramp-compat.el (tramp-compat-file-attributes)
4966         (tramp-compat-delete-file, tramp-compat-delete-directory):
4967         Handle only `wrong-number-of-arguments' error.
4969         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
4970         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
4971         inside `funcall'.
4973 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4975         * minibuffer.el (completion--sreverse, completion--common-suffix):
4976         New functions.
4977         (completion-pcm--merge-completions): Extract common suffix when safe.
4979         * emacs-lisp/easy-mmode.el (define-minor-mode):
4980         Make :variable more flexible.
4981         * files.el (auto-save-mode): Use it to define using define-minor-mode.
4983 2010-05-05  Juri Linkov  <juri@jurta.org>
4985         Add `slow' and `history' tags to the desktop data.
4987         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
4988         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
4989         (Info-finder-find-node): Require `finder.el' to be able
4990         to restore node from the desktop.
4991         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
4992         data `Info-history' and `slow' tag in the assoc list.
4993         (Info-restore-desktop-buffer): Don't restore nodes with the
4994         `slow' tag.  Restore `Info-history'.
4996 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
4998         Add FORCE argument to `delete-file'.
5000         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5001         forcing to delete the temporary file.
5002         (ange-ftp-delete-file): Add FORCE arg.
5003         (ange-ftp-rename-remote-to-remote)
5004         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5005         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5006         Force file deletion.
5008         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5010         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5011         (tramp-handle-make-symbolic-link, tramp-handle-load)
5012         (tramp-do-copy-or-rename-file-via-buffer)
5013         (tramp-do-copy-or-rename-file-directly)
5014         (tramp-do-copy-or-rename-file-out-of-band)
5015         (tramp-handle-process-file, tramp-handle-call-process-region)
5016         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5017         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5018         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5020         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5021         (tramp-fish-handle-make-symbolic-link)
5022         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5024         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5025         Use `tramp-compat-delete-file'.
5027         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5028         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5030         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5031         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5033         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5034         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5035         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5036         `tramp-compat-delete-file'.
5038 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5040         Minor cleanups.
5041         * subr.el (add-minor-mode): Use push.
5042         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5043         * emulation/edt.el (edt-select-mode): Simplify.
5045         Use define-minor-mode in more cases.
5046         * term/tvi970.el (tvi970-set-keypad-mode):
5047         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5048         (normal-erase-is-backspace-mode):
5049         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5050         (set-scroll-bar-mode-1): (Re)move to its sole caller.
5051         (get-scroll-bar-mode): New function.
5052         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5054         Use define-minor-mode for less obvious cases.
5055         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5056         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5057         * international/iso-ascii.el (iso-ascii-mode):
5058         * frame.el (auto-raise-mode, auto-lower-mode):
5059         * composite.el (global-auto-composition-mode): Use define-minor-mode.
5061 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
5063         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5064         in order to see error messages for failed logins.
5066 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
5068         * diff.el (diff-sentinel):
5070         * epg.el (epg--make-temp-file, epg-decrypt-string)
5071         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5073         * jka-compr.el (jka-compr-partial-uncompress)
5074         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5076         * server.el (server-sentinel): Use delete-file's new FORCE arg
5077         (Bug#6070).
5079 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5081         Use define-minor-mode where applicable.
5082         * view.el (view-mode):
5083         * type-break.el (type-break-query-mode)
5084         (type-break-mode-line-message-mode):
5085         * textmodes/reftex.el (reftex-mode):
5086         * term/vt100.el (vt100-wide-mode):
5087         * tar-mode.el (tar-subfile-mode):
5088         * savehist.el (savehist-mode):
5089         * ibuf-ext.el (ibuffer-auto-mode):
5090         * composite.el (auto-composition-mode):
5091         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5092         Use define-minor-mode.
5093         (vhdl-mode): Use static mode-line format.
5094         (vhdl-mode-line-update): Delete.
5095         (vhdl-create-mode-menu, vhdl-activate-customizations)
5096         (vhdl-hs-minor-mode): Don't bother calling it.
5098 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5100         * simple.el (with-wrapper-hook): Move.
5101         (buffer-substring-filters): Mark obsolete.
5102         (filter-buffer-substring-functions): New variable.
5103         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
5105 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5106             Michael Albinus  <michael.albinus@gmx.de>
5108         Implement compression for inline methods.
5110         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5111         (tramp-copy-size-limit): Allow also nil.
5112         (tramp-inline-compress-commands): New defconst.
5113         (tramp-find-inline-compress, tramp-get-inline-compress)
5114         (tramp-get-inline-coding): New defuns.
5115         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5116         replaced by `tramp-get-inline-coding'.
5117         (tramp-handle-file-local-copy, tramp-handle-write-region)
5118         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5120 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5122         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5123         Remove unused functions.
5125         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5126         Set find-tag-default-function as a variable rather than a property.
5128         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5129         * progmodes/etags.el (tags-completion-at-point-function):
5130         Remove left over interactive spec.  Add autoloading stub.
5131         (complete-tag): Use tags-completion-at-point-function.
5133 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
5135         * minibuffer.el (tags-completion-at-point-function): Fix return value.
5137 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5139         * ido.el (ido-init-completion-maps): Remove C-v binding.
5140         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5142 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5144         * minibuffer.el (tags-completion-at-point-function): New function.
5145         (completion-at-point-functions): Use it.
5147         * progmodes/etags.el (complete-tag): Revert last change.
5149 2010-04-29  Alan Mackenzie  <acm@muc.de>
5151         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5152         off-by-one error (in end of macro position).
5154 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5156         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5157         firefox is absent.  Don't autoload.
5158         (browse-url-galeon-program): Don't autoload.
5160 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5162         * bindings.el (complete-symbol): Move into minibuffer.el.
5164         * minibuffer.el (complete-tag): Move from etags.el.  If tags
5165         completion cannot be performed, return nil instead of signalling
5166         an error.
5167         (completion-at-point): Make it an alias for complete-symbol.
5168         (complete-symbol): Move from bindings.el, and replace with the
5169         body of completion-at-point.
5171         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5173 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
5175         * net/tramp.el (tramp-remote-selinux-p): New defun.
5176         (tramp-handle-file-selinux-context)
5177         (tramp-handle-set-file-selinux-context): Use it.
5179 2010-04-28  Sam Steingold  <sds@gnu.org>
5181         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5182         `safe-local-variable' if the value is a string or a symbol with
5183         the property `bug-reference-url-format'.
5185 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5187         * progmodes/bug-reference.el (bug-reference-url-format):
5188         Revert 2010-04-27 change due to security risk.
5190 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5192         Make it possible to locally disable a globally enabled mode.
5193         * simple.el (fundamental-mode): Run fundamental-mode-hook.
5194         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5195         rather than kill-all-local-variables so it runs fundamental-mode-hook.
5196         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5197         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5198         that subsequent hooks get a chance to disable it.
5200 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5202         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5203         Avoid re-enabling a minor mode after the user turned the minor mode
5204         off if MODE-enable-in-buffers is run twice (typically once from
5205         fundamental-mode's after-change-major-mode-hook and a second time from
5206         run-mode-hook's own after-change-major-mode-hook).
5208         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5210 2010-04-27  Sam Steingold  <sds@gnu.org>
5212         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5213         `safe-local-variable' if the value is a string or a function, as
5214         documented and implemented on 2010-04-02.
5216 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
5218         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5219         when method is 'kill.
5221 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
5223         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5224         condition in default directory check.
5225         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5226         Kill ispell process when killing its associated buffer.
5228 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
5230         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5231         but we aren't using it.
5233 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
5235         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5236         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5238 2010-04-24  Glenn Morris  <rgm@gnu.org>
5240         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5241         Ignore VCS-ignore files, and deleted nextstep preferences files.
5242         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5243         (authors-ambiguous-files): New list.
5244         (authors-valid-file-names): Add some deleted files.
5245         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5246         (authors-disambiguate-file-name): New function.  (Bug#5501)
5247         (authors-canonical-file-name): Doc fix.
5248         Don't warn about obsolete files.
5249         (authors-canonical-file-name, authors-scan-el):
5250         Use authors-disambiguate-file-name.
5252         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5253         Add autoload cookies.
5254         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5255         (generated-autoload-file): Set file-local value to "htmlfontify.el".
5256         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5257         They have definitions / compiler macros in cl.el.
5258         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5259         Replace manual autoloads with generated ones.
5260         (htmlfontify-unload-rgb-file): Remove autoload.
5261         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5263 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5265         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5266         (byte-compile-setq-default): Optimize for the
5267         single-var case and don't call byte-compile-form in this case to avoid
5268         inf-loop with byte-compile-set-default.
5270         * progmodes/compile.el (compilation-start): Abbreviate default directory.
5272 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
5274         Implement SELINUX backends.
5276         * net/tramp.el (tramp-file-name-handler-alist):
5277         Add `file-selinux-context' and `set-file-selinux-context'.
5278         (tramp-handle-file-selinux-context)
5279         (tramp-handle-set-file-selinux-context): New defuns.
5280         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5281         Handle PRESERVE-SELINUX-CONTEXT.
5283         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5284         Add `file-selinux-context' and `set-file-selinux-context'.
5285         (tramp-gvfs-handle-file-selinux-context)
5286         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5287         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5289         * net/ange-ftp.el (ange-ftp-copy-file):
5290         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5291         * net/tramp-imap.el (tramp-imap-handle-copy-file):
5292         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5293         Add PRESERVE-SELINUX-CONTEXT.
5295 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5297         Synchronize with Tramp repository.
5299         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5300         (tramp-action-process-alive, tramp-action-out-of-band)
5301         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5302         (tramp-exists-file-name-handler): Fix docstring.
5303         (with-progress-reporter): New defmacro.
5304         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5305         (tramp-maybe-open-connection): Use it.
5307 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
5309         Detect ssh 'ControlMaster' argument automatically in some cases.
5311         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5312         (tramp-default-method): Use it.
5314 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5316         * net/tramp.el (tramp-handle-copy-file): Add new optional
5317         parameter `preserve-selinux-context'.
5318         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5320 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5322         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5323         Ensure, that non remote files are still checked.  Oops.
5325 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
5327         Fix Bug#5840.
5329         * icomplete.el (icomplete-completions): Use `non-essential'.
5331         * net/tramp.el (tramp-connectable-p): New defun.
5332         (tramp-handle-expand-file-name)
5333         (tramp-completion-handle-file-name-all-completions)
5334         (tramp-completion-handle-file-name-completion): Use it.
5336 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5338         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5340 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
5342         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5344         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5346         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5347         is present.
5349         * info.el (info-tool-bar-map): Add labels.
5351         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5353         * cus-edit.el (custom-commands): Add labels for tool bar.
5354         (custom-buffer-create-internal, Custom-mode): Adjust for
5355         labels in custom-commands.
5357         * dynamic-setting.el: Renamed from font-setting.el.
5359 2010-04-21  John Wiegley  <jwiegley@gmail.com>
5361         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5362         toggles the use of virtual buffers.
5363         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5364         (ido-toggle-virtual-buffers): New function.
5366 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
5368         Use `define-derived-mode'; fix window selection; doc fixes.
5369         * play/tetris.el (tetris, tetris-update-speed-function)
5370         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5371         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5372         (tetris-rotate-next, tetris-end-game, tetris-start-game)
5373         (tetris-pause-game): Fix typos in docstrings.
5374         (tetris-mode-map, tetris-null-map):
5375         Move initialization into declaration.
5376         (tetris-mode): Define with `define-derived-mode';
5377         set show-trailing-whitespace to nil.
5378         (tetris): Prefer window already displaying the "*Tetris*" buffer.
5380 2010-04-21  Karel Klíč  <kklic@redhat.com>
5382         * files.el (backup-buffer): Handle SELinux context, and return it
5383         if a backup was made by renaming.
5384         (backup-buffer-copy): Set SELinux context to the target file.
5385         (basic-save-buffer): Set SELinux context of the newly written file.
5386         (basic-save-buffer-1): Now it also returns any SELinux context.
5387         (basic-save-buffer-2): Set SELinux context of the newly created file,
5388         and return it.
5389         * net/tramp.el (tramp-file-name-for-operation):
5390         Add file-selinux-context.
5392 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5394         Make the log-edit comments use RFC822 format throughout.
5396         * vc.el (vc-checkin, vc-modify-change-comment):
5397         Adjust to new vc-start/finish-logentry.
5398         (vc-find-conflicted-file): New command.
5399         (vc-transfer-file): Adjust to new vc-checkin.
5400         (vc-next-action): Improve scoping.
5402         * vc-hg.el (vc-hg-log-edit-mode): Remove.
5403         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
5405         * vc-git.el (vc-git-log-edit-mode): Remove.
5406         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
5407         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5409         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5410         (vc-start-logentry): Remove argument `extra'.
5411         (vc-finish-logentry): Remove extra args.
5413         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5414         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
5415         (vc-bzr-conflicted-files): New function.
5417         * log-edit.el (log-edit-extra-flags)
5418         (log-edit-before-checkin-process): Remove.
5419         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5420         (log-edit-headers-alist): New var.
5421         (log-edit-header-contents-regexp): New const.
5422         (log-edit-match-to-eoh): New function.
5423         (log-edit-font-lock-keywords): Use them.
5424         (log-edit): Insert a "Summary:" header as default.
5425         (log-edit-mode): Mark font-lock rules as case-insensitive.
5426         (log-edit-done): Cleanup headers.
5427         (log-view-process-buffer): Remove.
5428         (log-edit-extract-headers): New function to replace it.
5430 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
5432         * subr.el (default-direction-reversed): Remove obsolescence info.
5434 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5436         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5437         windows/frames.
5439         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5440         I.e. include text after point in the completion region.
5441         Also, return nil when we're not after/in a symbol.
5443         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5444         default enable-multibyte-characters.
5446 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5448         * international/mule.el: Help the user choose a valid coding-system.
5449         (read-buffer-file-coding-system): New function.
5450         (set-buffer-file-coding-system): Use it.  Prompt the user if the
5451         coding-system cannot encode all the chars.
5453         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5454         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5455         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5456         Don't use *vc-bzr-shelve*.
5458 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
5460         Fix the version number for added files.
5461         * vc-hg.el (vc-hg-working-revision): Check if the file is
5462         registered after hg parent fails (Bug#5961).
5464 2010-04-19  Glenn Morris  <rgm@gnu.org>
5466         * htmlfontify.el (htmlfontify-buffer)
5467         (htmlfontify-copy-and-link-dir): Autoload entry points.
5469 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
5471         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5472         name relative to the project root (Bug#5960).
5474 2010-04-19  Glenn Morris  <rgm@gnu.org>
5476         * vc-git.el (vc-git-print-log): Doc fix.
5478 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
5480         * ido.el (ido-file-internal): Fix 2009-12-02 change.
5482 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
5484         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5485         default settings (Bug#5928).
5487 2010-04-19  Glenn Morris  <rgm@gnu.org>
5489         * progmodes/fortran.el (fortran-match-and-skip-declaration):
5490         New function.
5491         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
5493 2010-04-19  Kenichi Handa  <handa@m17n.org>
5495         * language/indian.el (malayalam-composable-pattern): Fix previous
5496         change (add U+0D4D "SIGN VIRAMA").
5497         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5498         (tamil-composable-pattern): Fix typo in the regexp.
5499         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5500         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5501         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5503 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5505         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5506         paragraph-separate (Bug#5821).
5508 2010-04-19  Juri Linkov  <juri@jurta.org>
5510         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5512         * info.el (Info-find-node-2): Comment out code that skips
5513         breadcrumbs line.
5514         (Info-mouse-follow-link): New command.
5515         (Info-link-keymap): New keymap.
5516         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5517         Return a string with links instead of inserting breadcrumbs
5518         to the Info buffer.
5519         (Info-fontify-node): Comment out code that inserts breadcrumbs.
5520         Instead of putting the `invisible' text property over the Info
5521         header, make an overlay over the Info header with the `invisible'
5522         property and `after-string' set to the string returned by
5523         `Info-breadcrumbs'.
5525 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5527         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5528         Reported by monkey@sandpframing.com.
5530 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5532         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5533         (tmm-get-keymap): Add key-binding shortcuts now that they're not
5534         available in the "keyseq cache" any more.
5536         * custom.el (defcustom): Add edebug spec.
5538 2010-04-18  Juri Linkov  <juri@jurta.org>
5540         Test for special mode-class in view-buffer instead of view-file (bug#5513).
5542         * view.el (view-file, view-buffer): Move test for special mode-class
5543         from view-file to view-buffer.
5545         * tar-mode.el (tar-extract): Turn if's into one cond
5546         like in arc-mode.el.
5548 2010-04-18  Juri Linkov  <juri@jurta.org>
5550         Add 7z archive format support (bug#5475).
5552         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5553         (archive-7z-extract): New defcustom.
5554         (archive-find-type): Add magic string for 7z.
5555         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5556         If `stderr-file' is non-nil, use `(t stderr-file)' for the
5557         `buffer' arg of `call-process'.
5558         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5559         call the function `archive-7z-extract' with the variable
5560         `archive-7z-extract' let-bound to `archive-zip-extract'.
5561         (archive-7z-summarize, archive-7z-extract): New functions.
5563         * international/mule.el (auto-coding-alist):
5564         * files.el (auto-mode-alist): Add 7z file extension.
5566 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5568         * loadup.el: Setup hash-cons for pure data.
5570         Fix duplicate entries in cedet's loaddefs.el files.
5571         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5572         Should make most file-local generated-autoload-file unnecessary.
5573         (print-readably): Silence warnings.
5574         (autoload-find-destination): Take load-name as an arg to make sure
5575         it's the same as the one that will be in the file.
5576         (autoload-generate-file-autoloads): Adjust to above changes.
5577         Try to make the dataflow a bit simpler.
5579         * cvs-status.el (cvs-refontify): Remove unused.
5581 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
5583         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5585         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
5586         twos-complement mode.
5588 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
5590         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
5591         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
5592         (calc-inverse): Add "Option" to message, as appropriate.
5593         (calc-hyperbolic): Add "Option" to message, as appropriate.
5594         (calc-option, calc-is-option): New functions.
5596         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
5597         (calc-option-prefix-help): New function.
5599         * calc/calc-misc.el (calc-help): Add "Option" entry.
5601         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
5602         (calc-option-flag): New variable.
5603         (calc-do): Set `calc-option-flag to nil.
5604         (calc-set-mode-line): Add "Opt " as appropriate.
5606 2010-04-16  Juri Linkov  <juri@jurta.org>
5608         Move scrolling commands from simple.el to window.el
5609         because their primitives are implemented in window.c.
5611         * simple.el (scroll-error-top-bottom)
5612         (scroll-up-command, scroll-down-command, scroll-up-line)
5613         (scroll-down-line, scroll-other-window-down)
5614         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5615         * window.el (scroll-error-top-bottom)
5616         (scroll-up-command, scroll-down-command, scroll-up-line)
5617         (scroll-down-line, scroll-other-window-down)
5618         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5619         Move from simple.el to window.el because their primitives are
5620         implemented in window.c.
5622 2010-04-16  Juri Linkov  <juri@jurta.org>
5624         * isearch.el (isearch-lookup-scroll-key): Check both
5625         `isearch-scroll' and `scroll-command' properties.
5626         (scroll-up, scroll-down): Remove `isearch-scroll' property.
5628         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5630         * simple.el (scroll-up-command, scroll-down-command)
5631         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5633 2010-04-15  Juri Linkov  <juri@jurta.org>
5635         * simple.el (scroll-up-command, scroll-down-command)
5636         (scroll-up-line, scroll-down-line): Put `scroll-command'
5637         property on the these symbols.  Remove them from
5638         `scroll-preserve-screen-position-commands'.
5640         * mwheel.el (mwheel-scroll): Put `scroll-command' and
5641         `isearch-scroll' properties on the `mwheel-scroll' symbol.
5642         Remove it from `scroll-preserve-screen-position-commands'.
5644         * isearch.el (isearch-allow-scroll): Doc fix.
5646 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
5648         * net/tramp.el (tramp-error-with-buffer): Don't show the
5649         connection buffer when we are in completion mode.
5650         (tramp-file-name-handler): Catch the error for some operations
5651         when we are in completion mode.  This gives the user the chance to
5652         correct the file name in the minibuffer.
5654 2010-04-15  Glenn Morris  <rgm@gnu.org>
5656         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5658 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
5660         Simplify by using `define-derived-mode'.
5661         * info.el (Info-mode):
5662         * calendar/todo-mode.el (todo-mode):
5663         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5664         (gomoku-mode-map): Move initialization into declaration.
5666 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
5668         Fix Bug#5840.
5669         * ido.el (ido-file-name-all-completions-1):
5670         * minibuffer.el (minibuffer-completion-help):
5671         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5673 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5675         * simple.el (non-essential): New var.
5677         Add a new field `location' to bookmarks for non-file bookmarks.
5678         * bookmark.el (bookmark-location): Use the new field, if present.
5679         (bookmark-insert-location): Undo last change, not needed any more.
5680         * man.el (Man-bookmark-make-record):
5681         * woman.el (woman-bookmark-make-record): Add `location' field.
5683 2010-04-14  Juri Linkov  <juri@jurta.org>
5685         * simple.el (scroll-error-top-bottom): New defcustom.
5686         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
5688         * emulation/pc-select.el (pc-select-override-scroll-error):
5689         Obsolete in favor of `scroll-error-top-bottom'.
5691 2010-04-14  Juri Linkov  <juri@jurta.org>
5693         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5694         `scroll-up-command' and `M-v' to `scroll-down-command'.
5696         * emulation/cua-rect.el (cua--init-rectangles):
5697         * forms.el (forms--change-commands):
5698         * image-mode.el (image-mode-map):
5699         Remap scroll-down-command and scroll-up-command
5700         in addition to scroll-down and scroll-up.
5702 2010-04-14  Juri Linkov  <juri@jurta.org>
5704         * mwheel.el (scroll-preserve-screen-position-commands):
5705         Add mwheel-scroll to this list of commands.
5707         * simple.el (scroll-preserve-screen-position-commands):
5708         Add scroll-up-command, scroll-down-command, scroll-up-line,
5709         scroll-down-line to this list of commands.
5711 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5713         * obsolete/complete.el: Move from lisp/complete.el.
5715         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5717         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5718         to the minor mode function now turns the mode ON unconditionally.
5720 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5722         * vc-dir.el (vc-dir-kill-line): New command.
5723         (vc-dir-mode-map): Bind it to C-k.
5725         * bookmark.el (bookmark-insert-location): Handle a nil filename.
5727         * woman.el: Add bookmark declarations to silence the compiler.
5728         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5729         step to compatibility between man and woman bookmarks.
5730         Adjust for Man-default-bookmark-title renaming.
5731         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
5733         * man.el: Add bookmark declarations to silence the compiler.
5734         (Man-name-local-regexp): Make it match NAME as well.
5735         (Man-getpage-in-background): Return the buffer.
5736         (Man-notify-when-ready): Use `case'.
5737         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5738         Don't hardcode "NAME".  Simplify.
5739         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5740         Rename from Man-bookmark-make-record.
5741         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
5742         we have the actual man-args.  Use Man-getpage-in-background rather
5743         than `man' since the arg is already processed.  Let bookmark.el do the
5744         window handling.  Only wait for the relevant process.
5745         Don't forget to autoload.
5747         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5749 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5751         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5752         New functions.
5753         (woman-mode): Setup bookmark support.
5755         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5756         (man-bookmark-jump): New functions.
5757         (Man-mode): Setup bookmark support.
5759 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
5761         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5762         recognize ssh-keygen prompt (Bug#2817).
5764 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5766         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5768 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5770         Synchronize with Tramp repository.
5772         * net/tramp.el (tramp-completion-function-alist)
5773         (tramp-file-name-regexp, tramp-chunksize)
5774         (tramp-local-coding-commands, tramp-remote-coding-commands):
5775         Fix docstring.
5776         (tramp-remote-process-environment): Use `format' instead of `concat'.
5777         (tramp-handle-directory-files-and-attributes)
5778         (tramp-get-remote-path): Use `copy-tree'.
5779         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5780         compatibility: Use `completion-ignore-case' if
5781         `read-file-name-completion-ignore-case' does not exist.
5782         (tramp-do-copy-or-rename-file-directly): Do not use
5783         `tramp-handle-file-remote-p'.
5784         (tramp-do-copy-or-rename-file-out-of-band):
5785         Use `tramp-compat-delete-directory'.
5786         (tramp-do-copy-or-rename-file-out-of-band)
5787         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5788         Use `format-spec-make'.
5789         (tramp-find-foreign-file-name-handler)
5790         (tramp-advice-make-auto-save-file-name)
5791         (tramp-set-auto-save-file-modes): Remove superfluous check for
5792         `stringp'.  This is done inside `tramp-tramp-file-p'.
5793         (tramp-debug-outline-regexp): New defconst.
5794         (tramp-get-debug-buffer): Use it.
5795         (tramp-check-for-regexp): Use (forward-line 1).
5796         (tramp-set-auto-save-file-modes): Adapt version check.
5798         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5799         Wrap call of `featurep' for 2nd argument.
5800         (tramp-compat-make-temp-file): Simplify fallback implementation.
5801         (tramp-compat-copy-tree): Remove function.
5802         (tramp-compat-delete-directory): Provide implementation for older
5803         Emacsen.
5805         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5806         Do not use `tramp-fish-handle-file-attributes.
5808         * net/trampver.el: Update release number.
5810 2010-04-10  Glenn Morris  <rgm@gnu.org>
5812         * progmodes/compile.el (compilation-save-buffers-predicate):
5813         Add missing :version tag.
5815 2010-04-09  Sam Steingold  <sds@gnu.org>
5817         * progmodes/compile.el (compilation-save-buffers-predicate):
5818         Remove the "autoload" cookie.
5820         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
5821         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
5822         and `bug-reference-prog-mode' can be used in hooks directly.
5824 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
5826         Add --author support to git commit.
5827         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
5828         (vc-git-log-edit-mode): New minor mode.
5829         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
5830         New declarations.
5832 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
5834         * vc-hooks.el, vc-git.el: Improve documentation comments.
5836 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5838         Fix some of the problems in defsubst* (bug#5728).
5839         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
5840         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
5842 2010-04-07  Sam Steingold  <sds@gnu.org>
5844         * progmodes/compile.el (compilation-save-buffers-predicate):
5845         New custom variable.
5846         (compile, recompile): Pass it to `save-some-buffers'.
5848 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
5850         * wid-edit.el (widget-choose): Move cursor to the second line of
5851         the buffer (Bug#5695).
5853 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
5855         Add new VC methods: vc-log-incoming and vc-log-outgoing.
5856         * vc.el (vc-print-log-setup-buttons): New function split out from
5857         vc-print-log-internal.
5858         (vc-log-internal-common): New function, a parametrized version of
5859         vc-print-log-internal.
5860         (vc-print-log-internal): Just call vc-log-internal-common with the
5861         right arguments.
5862         (vc-incoming-outgoing-internal):
5863         (vc-log-incoming, vc-log-outgoing): New functions.
5864         (vc-log-view-type): New permanent local variable.
5866         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
5868         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
5869         of the dynamic bound vc-short-log.
5870         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
5872         * vc-git.el (vc-git-log-outgoing): New function.
5873         (vc-git-log-view-mode): Use vc-log-view-type instead
5874         of the dynamic bound vc-short-log.
5876         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
5877         of the dynamic bound vc-short-log.  Highlight the tag.
5878         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
5879         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
5880         (vc-hg-incoming-mode): Remove.
5881         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
5883 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
5885         Fix default-directory for vc-root-diff.
5886         * vc.el (vc-root-diff): Bind default-directory to the root
5887         directory for the diff command.
5889 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
5891         * progmodes/verilog-mode.el (verilog-forward-sexp):
5892         (verilog-calc-1): Support "disable fork" and "fork wait" multi
5893         word keywords, suggested by Steve Pearlmutter.
5894         (verilog-pretty-declarations): Support lineup of declarations in
5895         port lists.
5896         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5897         fix bug for /* / comments.
5898         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5899         Speed up and simplfy as this is never called with a bound.
5900         (verilog-pretty-declarations): Enhance to line up declarations
5901         inside a parameter list, suggested by Alan Morgan.
5902         (verilog-pretty-expr): Tune assignment regular expression match
5903         string for corner cases; also use markers instead of character
5904         number as indent changes the later.
5906 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
5908         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5909         as missing keyword.
5910         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5911         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
5912         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5913         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
5914         Tennant.
5915         (verilog-keywords):
5916         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5917         1800-2009 keywords, including "global.".
5919 2010-04-06  John Wiegley  <jwiegley@gmail.com>
5921         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5922         appearing in buffer list (if a live buffer name matched a recentf
5923         file basename).  Should use uniquify to offer a real solution.
5925 2010-04-06  John Wiegley  <jwiegley@gmail.com>
5927         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5928         comment to code, and add a :version tag.
5929         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
5931 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
5933         Enable recentf-mode if using virtual buffers.
5934         * ido.el (recentf-list): Declare for byte-compiler.
5935         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
5936         (ido-make-buffer-list): Simplify.
5937         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
5939 2010-04-05  Juri Linkov  <juri@jurta.org>
5941         Scrolling commands which scroll a line instead of full screen.
5942         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5944         * simple.el (scroll-up-line, scroll-down-line): New commands.
5945         Put property isearch-scroll=t on them.
5947         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
5948         Remove commands.
5950 2010-04-05  Juri Linkov  <juri@jurta.org>
5952         Scrolling commands which do not signal errors at top/bottom.
5953         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5955         * simple.el (scroll-up-command, scroll-down-command): New commands.
5956         Put property isearch-scroll=t on them.
5958         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
5959         `scroll-down-command' and [next] from `scroll-up' to
5960         `scroll-up-command'.
5962         * emulation/cua-base.el: Put property CUA=move on
5963         `scroll-up-command' and `scroll-down-command'.
5964         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
5965         and `scroll-down-command' to `cua-scroll-down'.
5967 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
5969         * help.el (describe-mode): Return nil.
5971 2010-04-04  John Wiegley  <jwiegley@gmail.com>
5973         * ido.el (ido-use-virtual-buffers): New variable to indicate
5974         whether "virtual buffer" support is enabled for IDO.
5975         (ido-virtual): Face used to indicate virtual buffers in the list.
5976         (ido-buffer-internal): If a buffer is chosen, and no such buffer
5977         exists, but a virtual buffer of that name does (which would be why
5978         it was in the list), recreate the buffer by reopening the file.
5979         (ido-make-buffer-list): If virtual buffers are being used, call
5980         `ido-add-virtual-buffers-to-list' before the make list hook.
5981         (ido-virtual-buffers): New variable which contains a copy of the
5982         current contents of the `recentf-list', albeit pared down for the
5983         sake of speed, and with proper faces applied.
5984         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
5985         create a list of "virtual buffers" to present to the user in
5986         addition to the currently open set.  Note that this logic could
5987         get rather slow if that list is too large.  With the default
5988         `recentf-max-saved-items' of 200, there is little speed penalty.
5990 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5992         * font-lock.el: Require CL when compiling.
5993         (font-lock-turn-on-thing-lock): Use `case'.
5995 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
5997         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
5998         Zaretskii.
6000 2010-04-02  Juri Linkov  <juri@jurta.org>
6002         * ehelp.el (electric-help-orig-major-mode):
6003         New buffer-local variable.
6004         (electric-help-mode): Set it to original major-mode.  Doc fix.
6005         (with-electric-help): Use `electric-help-orig-major-mode' instead
6006         of (default-value 'major-mode).  Doc fix.
6007         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6009 2010-04-02  Sam Steingold  <sds@gnu.org>
6011         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6012         `vc-hg-command' with a list of flags.
6014         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6015         Also accept "patch" and "RFE".
6016         (bug-reference-fontify): `bug-reference-url-format' can also be a
6017         function to be able to handle the bug kind.
6018         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6020 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
6022         * tmm.el (tmm-get-keymap): Check with symbolp before passing
6023         value to fboundp, it may not be a symbol.
6025 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6027         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6029 2010-03-31  Juri Linkov  <juri@jurta.org>
6031         * simple.el (next-line, previous-line): Re-throw a signal
6032         with `signal' instead of using `ding'.
6033         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6035 2010-03-31  Juri Linkov  <juri@jurta.org>
6037         * simple.el (keyboard-escape-quit): Raise deselecting the active
6038         region higher than exiting the minibuffer.
6039         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6041 2010-03-31  Juri Linkov  <juri@jurta.org>
6043         * image.el (image-animated-p): Use `image-metadata' instead of
6044         `image-extension-data'.  Get GIF extenstion data from metadata
6045         property `extension-data'.
6047 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6049         * simple.el (append-to-buffer): Simplify.
6051 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
6053         * textmodes/artist.el (artist-mode): Fix typo in docstring.
6054         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
6056 2010-03-31  Kenichi Handa  <handa@m17n.org>
6058         * language/sinhala.el (composition-function-table): Fix regexp for
6059         the new Unicode specification.
6061         * language/indian.el (devanagari-composable-pattern)
6062         (tamil-composable-pattern, kannada-composable-pattern)
6063         (malayalam-composable-pattern): Adjust for the new Unicode
6064         specification.
6065         (bengali-composable-pattern, gurmukhi-composable-pattern)
6066         (gujarati-composable-pattern, oriya-composable-pattern)
6067         (telugu-composable-pattern): New variables to cope with the new
6068         Unicode specification.  Use them in composition-function-table.
6070 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6072         Make tmm-menubar work for the Buffers menu again (bug#5726).
6073         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6074         vectors rather than cons cells, as used in menu-bar-update-buffers.
6076 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6078         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6079         (js-insert-and-indent): Revert 2009-08-15 change, restoring
6080         electric punctuation for "{}();,:" (Bug#5586).
6082         * mail/sendmail.el (mail-default-directory): Doc fix.
6084 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6086         * mail/sendmail.el (mail-default-directory): Doc fix.
6088 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
6090         * subr.el (version-regexp-alist, version-to-list)
6091         (version-list-<, version-list-=, version-list-<=)
6092         (version-list-not-zero, version<, version<=, version=): Doc fix.
6093         (Bug#5744).
6095 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
6097         * vc.el (vc-root-diff): Doc fix.
6099 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6101         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6103         * simple.el (append-to-buffer): Fix last change.
6105 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6107         * simple.el (append-to-buffer): Ensure that point is preserved if
6108         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
6109         (Bug#5749)
6111 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6113         * files.el (auto-mode-case-fold): Change default to t.
6115 2010-03-30  Juri Linkov  <juri@jurta.org>
6117         * dired-x.el (dired-omit-mode): Doc fix.
6119 2010-03-30  Juri Linkov  <juri@jurta.org>
6121         * replace.el (occur-accumulate-lines): Move occur-engine related
6122         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6123         to be located after `occur-engine'.
6125 2010-03-30  Juri Linkov  <juri@jurta.org>
6127         Make occur handle multi-line matches cleanly with context.
6128         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6130         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6131         (occur-engine): Add local variables `ret', `prev-after-lines',
6132         `prev-lines'.  Use more arguments for `occur-context-lines'.
6133         Set first elem of its returned list to `data', and the second elem
6134         to `prev-after-lines'.  Don't print the separator line.
6135         In the end, print remaining context after-lines.
6136         (occur-context-lines): Add new arguments `begpt', `endpt',
6137         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
6138         after-lines of the previous match with before-lines of the
6139         current match and not overlap them.  Return a list with two
6140         values: the output line and the list of context after-lines.
6142 2010-03-30  Juri Linkov  <juri@jurta.org>
6144         * replace.el (occur-accumulate-lines): Fix a bug where the first
6145         context line at the beginning of the buffer was missing.
6147 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
6149         * files.el: Make bidi-display-reordering safe variable for boolean
6150         values.
6152 2010-03-29  Phil Hagelberg  <phil@evri.com>
6153             Chong Yidong  <cyd@stupidchicken.com>
6155         * subr.el: Extend progress reporters to perform "spinning".
6156         (progress-reporter-update, progress-reporter-do-update):
6157         Handle non-numeric value arguments.
6158         (progress-reporter--pulse-characters): New var.
6160 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
6162         * progmodes/compile.el (compilation-start): Fix regexp detection
6163         of initial cd command (Bug#5771).
6165 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
6167         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6169 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
6171         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6172         * progmodes/gdb-mi.el: Restore.
6173         * progmodes/gdb-ui.el: Remove.
6174         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6176 2010-03-25  Glenn Morris  <rgm@gnu.org>
6178         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6179         all dired buffers, even tramp ones.  (Bug#5755)
6181 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6183         Add "union tags" in mpc.el.
6184         * mpc.el: Remove backward compatibility code.
6185         (mpc-browser-tags): Change default.
6186         (mpc--find-memoize-union-tags): New var.
6187         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6188         (mpc-cmd-find): Handle the case where the playlist does not exist.
6189         Handle union-tags.
6190         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
6191         (mpc-cmd-add): Use mpc-cmd-flush.
6192         (mpc-tagbrowser-tag-name): New fun.
6193         (mpc-tagbrowser-buf): Use it.
6194         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
6196 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6198         Misc cleanup.
6199         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6200         Use replace-regexp-in-string.
6201         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6202         (makefile-imake-mode-syntax-table): Move init into defvar.
6203         (makefile-mode): Use define-derived-mode.
6205         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6206         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6207         not be present any more.
6209 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6211         * faces.el (set-face-attribute): Fix typo in docstring.
6212         (face-valid-attribute-values): Reflow docstring.
6214 2010-03-24  Glenn Morris  <rgm@gnu.org>
6216         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6218 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6220         * indent.el (indent-for-tab-command): Doc fix.
6222 2010-03-24  Alan Mackenzie  <acm@muc.de>
6224         * progmodes/cc-engine.el (c-remove-stale-state-cache):
6225         Fix off-by-one error.  Fixes bug #5747.
6227 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6229         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6230         (image-dired-read-comment): Doc fix.
6232         * json.el (json-object-type, json-array-type, json-key-type)
6233         (json-false, json-null, json-read-number):
6234         * minibuffer.el (completion-in-region-functions):
6235         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6236         (cal-tex-cursor-week):
6237         * emacs-lisp/trace.el (trace-function):
6238         * eshell/em-basic.el (eshell/printnl):
6239         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6240         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6241         * obsolete/levents.el (allocate-event, event-key, event-object)
6242         (event-point, event-process, event-timestamp, event-to-character)
6243         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6244         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6245         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6246         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6247         (reftex-highlight-selection): Fix typos in docstrings.
6249 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6251         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6253 2010-03-24  Glenn Morris  <rgm@gnu.org>
6255         * mail/rmail.el (rmail-highlight-face): Restore option deleted
6256         2008-02-13 without comment; mark it obsolete.
6257         (rmail-highlight-headers): Use rmail-highlight-face once more.
6259 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6261         * woman.el (woman2-process-escapes): Only consume the newline if
6262         the filler character is on a line by itself (Bug#5729).
6264 2010-03-24  Kenichi Handa  <handa@m17n.org>
6266         * language/indian.el (devanagari-composable-pattern): Add more
6267         consonants.
6269 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6271         * net/trampver.el: Update release number.
6273 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6275         * net/tramp.el (tramp-find-executable):
6276         Use `tramp-get-connection-buffer'.  Make the regexp for checking
6277         output of "wc -l" more robust.
6278         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6279         (tramp-open-connection-setup-interactive-shell): Remove workaround
6280         for OpenSolaris bug, it is not needed anymore.
6282 2010-03-24  Glenn Morris  <rgm@gnu.org>
6284         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
6286 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
6288         * files.el (auto-mode-alist): Accept more verilog file patterns.
6290 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6292         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6294 2010-03-24  Glenn Morris  <rgm@gnu.org>
6296         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6297         log-edit-before-checkin-process.
6299         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6301         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6303         * vc-dispatcher.el (vc-start-logentry): Doc fix.
6304         (log-view-process-buffer, log-edit-extra-flags): Declare.
6306         * log-edit.el (log-edit-before-checkin-process): Doc fix.
6308 2010-03-23  Sam Steingold  <sds@gnu.org>
6310         Fix bug#5620: recalculate all markers on compilation buffer
6311         modifications, not on file modifications.
6312         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6313         the buffer modification time, for buffers not associated with files.
6314         (compilation-mode): Create it.
6315         (compilation-filter): Update it.
6316         (compilation-next-error-function): Use it instead of
6317         `visited-file-modtime' for timestamp.
6319 2010-03-23  Juri Linkov  <juri@jurta.org>
6321         Implement Occur multi-line matches.
6322         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6324         * replace.el (occur): Doc fix.
6325         (occur-engine): Set `begpt' to the beginning of the first line.
6326         Set `endpt' to the end of the last match line.  At first, count
6327         line numbers between `origpt' and `begpt'.  Split out code from
6328         `out-line' variable to new let-bindings `match-prefix' and
6329         `match-str'.  In `out-line' add non-numeric prefix to all
6330         non-first lines of multi-line matches.  Finally, count lines
6331         between `begpt' and `endpt' and add to `lines'.
6333 2010-03-23  Juri Linkov  <juri@jurta.org>
6335         * replace.el (occur-accumulate-lines, occur-engine):
6336         Use `occur-engine-line' instead of duplicate code.
6337         (occur-engine-line): New function created from duplicate code
6338         in `occur-accumulate-lines' and `occur-engine'.
6340         * replace.el (occur-engine-line): Add optional arg `keep-props'.
6341         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6343 2010-03-23  Juri Linkov  <juri@jurta.org>
6345         * finder.el: Remove TODO tasks.
6347         * info.el (Info-finder-find-node): Add node "all"
6348         with all package info.  Handle a list of multiple keywords
6349         separated by comma.
6350         (info-finder): In interactive use with a prefix argument,
6351         use `completing-read-multiple' to read a list of keywords
6352         separated by comma.
6354 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6356         Add a new completion style `substring'.
6357         * minibuffer.el (completion-basic--pattern): New function.
6358         (completion-basic-try-completion, completion-basic-all-completions):
6359         Use it.
6360         (completion-substring--all-completions)
6361         (completion-substring-try-completion)
6362         (completion-substring-all-completions): New functions.
6363         (completion-styles-alist): New style `substring'.
6365 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6367         Get rid of .elc files after removal of the corresponding .el.
6368         * Makefile.in (compile-clean): New target.
6369         (compile-main): Use it.
6371 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
6373         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6374         don't do make there.  When compiling with separate object dir, there
6375         is no Makefile there.
6377 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6379         Get rid of the ELCFILES abomination, again.
6380         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6381         (all, compile): Don't call compile-last.
6382         (compile-main): Build the "elcfiles" list dynamically.
6383         (compile-targets): New (internal) target.
6385 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6387         * Makefile.in (top_srcdir): Define.
6388         (abs_top_builddir): Define.
6389         (srcdir): Don't append `/..'.
6390         (EMACS): Use ${abs_top_builddir}.
6391         (all, compile, compile-always, compile-last): Don't set emacswd.
6392         (update-subdirs, update-authors): Use $(top_srcdir) instead of
6393         $(srcdir).
6394         (lisp): Use $(srcdir) instead of @srcdir@.
6396 2010-03-21  Juri Linkov  <juri@jurta.org>
6398         Fix message of multi-line occur regexps and multi-buffer header lines.
6399         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6401         * replace.el (occur-1): Don't display regexp if it is longer
6402         than window-width.  Use `query-replace-descr' to display regexp.
6403         (occur-engine): Don't display regexp in the buffer header for
6404         multi-buffer occur.  Display a separate header line with total
6405         match count and regexp for multi-buffer occur.
6406         Use `query-replace-descr' to display regexp.
6408 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
6410         * net/secrets.el: Fix parenthesis.
6411         (secrets-enabled): Fix parenthesis.
6413 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6415         Use more relative file and directory names.
6416         * Makefile.in (EMACS): Arrange for it to work when we chdir.
6417         (setwins, setwins_almost, setwins_for_subdirs):
6418         Don't `cd'; output relative names.
6419         (all, compile, compile-always, compile-last): Set emacswd.
6420         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6421         Just cd to the lisp source dir so we can use relative file names.
6423         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6425 2010-03-20  Glenn Morris  <rgm@gnu.org>
6427         * textmodes/rst.el: Use faces for font-lock customization, and make the
6428         old -face variables obsolete.
6429         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6430         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6431         (rst-block-face, rst-external-face, rst-definition-face)
6432         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6433         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6434         Make obsolete.
6435         (rst-font-lock-keywords-function): Update for above changes.
6437 2010-03-20  Juri Linkov  <juri@jurta.org>
6439         * s-region.el:
6440         * obsolete/s-region.el: Move to obsolete.
6442 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
6444         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6446 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6448         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6450 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6452         Add special markup processing for commit logs.
6453         * log-edit.el (log-edit-extra-flags): New variable.
6454         (log-edit): Add new argument MODE.  Use that mode when non-nil
6455         instead of the log-view-mode.
6456         (log-view-process-buffer): New function.
6458         * vc.el: Document that the checkin method takes optional
6459         arguments.  Document new backend specific method: log-view-mode.
6460         (vc-default-log-edit-mode): New function.
6461         (vc-checkin): Use a backend specific log-view-mode.
6462         Pass extra arguments to the checkin method.
6463         (vc-modify-change-comment): Pass a dummy extra argument.
6465         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6466         log-edit.
6467         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6468         (vc-finish-logentry): Process the log buffer before passing it
6469         down.  Pass log-edit-extra-flags.
6471         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6472         command.
6473         (log-edit-extra-flags, log-edit-before-checkin-process):
6474         New declarations.
6476         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6477         command.
6478         (log-edit-extra-flags, log-edit-before-checkin-process):
6479         New declarations.
6480         (vc-hg-log-edit-mode): New derived mode.
6482         * vc-arch.el (vc-arch-checkin):
6483         * vc-cvs.el (vc-cvs-checkin):
6484         * vc-git.el (vc-git-checkin):
6485         * vc-mtn.el (vc-mtn-checkin):
6486         * vc-rcs.el (vc-rcs-checkin):
6487         * vc-sccs.el (vc-sccs-checkin):
6488         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6490 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6492         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6493         parent typo).
6495 2010-03-19  Glenn Morris  <rgm@gnu.org>
6497         * password-cache.el (password-cache, password-cache-expiry): Autoload.
6499 2010-03-18  Glenn Morris  <rgm@gnu.org>
6501         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6503         * replace.el (query-replace-history): Give it a doc string.
6504         (map-query-replace-regexp): Use query-replace-from-history-variable
6505         and query-replace-to-history-variable.
6507         * mail/hashcash.el (declare-function): Remove duplicate definition.
6509         * mail/emacsbug.el (report-emacs-bug-pretest-address):
6510         Make it an obsolete alias for report-emacs-bug-address.
6511         (message-strip-special-text-properties): Declare.
6512         (report-emacs-bug): Remove test for a pretest bug address.
6513         Combine message-mode-specific code.
6515         * mail/supercite.el: Don't require sendmail.
6516         (mh-in-header-p): Declare rather than using with-no-warnings.
6517         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6518         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
6520         * calendar/cal-french.el: Convert to utf-8.
6522         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6523         Emacs scripts.
6525 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
6527         * net/secrets.el (secrets-enabled): New variable.  Use it instead
6528         of a subfeature.
6530 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
6532         * net/secrets.el (top): Register the D-Bus signals only when the
6533         service "org.freedesktop.secrets" can be pinged.
6534         Provide subfeature `enabled'.
6536 2010-03-14  Juri Linkov  <juri@jurta.org>
6538         Add finder unknown keywords.
6540         * finder.el (finder-unknown-keywords): New function.
6542         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6543         to create a Finder node with unknown keywords.
6545 2010-03-14  Juri Linkov  <juri@jurta.org>
6547         * finder.el (finder-compile-keywords): Replace `princ' with
6548         `prin1' on a list of symbols interned from keyword strings.
6550         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6551         a comma, then split keywords using a comma and optional whitespace.
6552         Otherwise, split by whitespace.
6554         * complete.el:
6555         * face-remap.el:
6556         * log-view.el:
6557         * net/hmac-def.el:
6558         * net/hmac-md5.el:
6559         * net/netrc.el:
6560         * progmodes/mixal-mode.el: Fix keywords.
6562 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
6564         * Makefile.in (ELCFILES): Add net/secrets.elc.
6566         * net/secrets.el: New file.
6568 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6570         * facemenu.el (list-colors-display, list-colors-print): New arg
6571         callback.  Use it to allow selecting colors.
6573         * wid-edit.el (widget-image-insert): Insert image prop even if the
6574         current display is non-graphic.
6575         (widget-field-value-set): New fun.
6576         (editable-field): Use it.
6577         (widget-field-value-get): Clean up unused var.
6578         (widget-color-value-create, widget-color--choose-action):
6579         New funs.  Allow using list-colors-display to choose color.
6581 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6583         * cus-edit.el: Resort topmost custom groups.
6584         (custom-buffer-sort-alphabetically): Default to t.
6585         (customize-apropos): Use apropos-parse-pattern.
6586         (custom-search-field): New var.
6587         (custom-buffer-create-internal): Add custom-apropos search field.
6588         (custom-add-parent-links): Don't display parent doc.
6589         (custom-group-value-create): Don't sort top-level custom group.
6590         (custom-magic-value-create): Show visibility button before option name.
6592         (custom-variable-state): New fun, from custom-variable-state-set.
6593         (custom-variable-state-set): Use it.
6594         (custom-group-value-create): Hide options with standard values
6595         using the :hidden-states property.  Use progress reporter.
6597         (custom-show): Simplify.
6598         (custom-visibility): Disable images by default.
6599         (custom-variable): New property :hidden-states.
6600         (custom-variable-value-create): Enable images for
6601         custom-visibility widgets.  Use :hidden-states property to
6602         determine initial visibility.
6604         * wid-edit.el (widget-image-find): Give images center ascent.
6605         (visibility): Add :on-image and :off-image properties.
6606         (widget-visibility-value-create): Use them.
6608 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6610         * cus-edit.el (processes): Remove from development group.
6611         (oop, hypermedia): Delete group.
6612         (comm): Promote to top-level group.
6614         * net/browse-url.el (browse-url):
6615         * net/xesam.el (xesam):
6616         * net/tramp.el (tramp):
6617         * net/goto-addr.el (goto-address):
6618         * net/ange-ftp.el (ange-ftp): Put in comm group.
6620         * view.el (view): Remove from editing group.
6622         * uniquify.el (uniquify): Put in files group.
6624         * net/browse-url.el (browse-url):
6625         * ps-print.el (postscript): Put in external group.
6627         * cus-edit.el (outlines):
6628         * textmodes/text-mode.el (text-mode-hook):
6629         * textmodes/table.el (table):
6630         * textmodes/picture.el (picture):
6631         * outline.el (outlines): Put in wp group.
6633         * nxml/nxml-mode.el (nxml): Remove from wp group.
6635         * net/tramp-imap.el (tramp-imap): Put in tramp group.
6637         * mail/metamail.el (metamail): Remove from hypermedia group.
6639         * cus-edit.el (abbrev):
6640         * whitespace.el (whitespace):
6641         * vcursor.el (vcursor):
6642         * reveal.el (reveal):
6643         * hl-line.el (hl-line): Put in convenience group.
6645         * epg-config.el (epg): Put in data group.
6647         * emulation/pc-select.el (pc-select): Put in emulations group.
6649         * calculator.el (calculator): Put in applications group.
6651 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6653         Add .dir-locals.el support for file-less buffers.
6654         * files.el (hack-local-variables): Split out code to apply local
6655         variable settings ...
6656         (hack-local-variables-apply): ... here.  New function.
6657         (hack-dir-local-variables): Use the default directory for when the
6658         buffer does not have an associated file.
6659         (hack-dir-local-variables-non-file-buffer): New function.
6660         * diff-mode.el (diff-mode):
6661         * vc-annotate.el (vc-annotate-mode):
6662         * vc-dir.el (vc-dir-mode):
6663         * log-edit.el (log-edit-mode):
6664         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6666 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6668         Add support for shelving snapshots and for showing shelves.
6669         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6670         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6671         New functions.
6672         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6673         (vc-bzr-extra-menu-map): Map them.
6675 2010-03-11  Glenn Morris  <rgm@gnu.org>
6677         * cus-edit.el (customize-changed-options-previous-release):
6678         Bump to 23.1.
6680         * image.el (image-animate-max-time): Fix :version tag.
6682 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
6684         * Branch for 23.2.
6686 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6688         * vc-git.el (vc-git-revision-table): Include remote branches.
6690 2010-03-10  Kim F. Storm  <storm@cua.dk>
6692         Animated image API.
6693         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6695         * image.el (image-animate-max-time): New defcustom.
6696         (image-animated-types): New defconst.
6697         (create-animated-image, image-animate-timer)
6698         (image-animate-start, image-animate-stop, image-animate-timeout)
6699         (image-animated-p): New functions.
6701         * image-mode.el (image-toggle-display-image):
6702         Replace `create-image' with `create-animated-image'.
6704 2010-03-09  Miles Bader  <miles@gnu.org>
6706         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6707         instead of "format:"; this ensures that the output is
6708         newline-terminated.
6710 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
6712         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6713         that all errors are caught, and that the return value is always a
6714         list (Bug#5692).
6716 2010-03-08  Kenichi Handa  <handa@m17n.org>
6718         * language/misc-lang.el (windows-1256): New coding system.
6719         (cp1256): New alias of windows-1256 (bug#5690).
6721 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
6723         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6724         call to rfc822-bad-address.  (Bug#5692)
6726 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6728         * vc-git.el (vc-git-annotate-extract-revision-at-line):
6729         Use vc-git-root as default directory for revision path (Bug#5657).
6731 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
6733         * calculator.el (calculator): Don't bind split-window-keep-point
6734         (Bug#5674).
6736 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6738         * vc-git.el: Re-flow to fit into 80 columns.
6739         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6740         Remove spurious `quote' element in each case alternative.
6741         (vc-git-show-log-entry): Use prog1.
6742         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6744 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6746         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6748 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
6750         * macros.el (insert-kbd-macro): Look up keyboard macro using the
6751         definition, not the name (Bug#5481).
6753 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6755         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6756         argument with a local variable.  (Bug#5670)
6758 2010-03-02  Juri Linkov  <juri@jurta.org>
6760         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
6762 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
6764         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6765         error when FILENAME and NEWNAME are existing remote directories.
6767         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6768         parameter DIR-FLAG.
6770 2010-03-02  Glenn Morris  <rgm@gnu.org>
6772         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6773         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6775 2010-03-01  Kenichi Handa  <handa@m17n.org>
6777         * language/burmese.el (burmese-composable-pattern): Rename from
6778         myanmar-composable-pattern.
6780         * international/characters.el (script-list):
6781         * international/fontset.el (script-representative-chars):
6782         Change myanmar to burmese.
6783         (otf-script-alist): Likewise.
6784         (setup-default-fontset): Likewise.  Re-fix :otf spec.
6786 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6788         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6790 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
6792         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6794 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6796         * net/tramp.el (tramp-handle-write-region): START can be a string.
6797         Take care in the checks.  Reported by Dan Davison
6798         <davison@stats.ox.ac.uk>.
6800 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6802         * net/dbus.el (dbus-introspect, dbus-get-property)
6803         (dbus-set-property, dbus-get-all-properties):
6804         Use `dbus-call-method' when noninteractive.  (Bug#5645)
6806 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
6808         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6809         * emacs-lisp/elint.el (elint-add-required-env):
6810         * calendar/icalendar.el (icalendar--add-diary-entry):
6811         * calc/calcalg2.el (math-tracing-integral):
6812         * files.el (recover-session-finish): Use with-current-buffer
6813         instead of save-excursion.
6815 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6817         Fix in-buffer completion when after-change-functions modify the buffer.
6818         * minibuffer.el (completion--replace): New function.
6819         (completion--do-completion): Use it and use relative movement.
6821 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
6823         * international/fontset.el (setup-default-fontset): Fix :otf spec.
6825 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
6827         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6828         Allow the characters _<> in the stack entry (Bug#5653).
6830 2010-02-26  Kenichi Handa  <handa@m17n.org>
6832         * language/burmese.el: Fix entries in composition-function-table.
6833         (myanmar-composable-pattern): New variable.
6835         * international/fontset.el (setup-default-fontset): Add an entry
6836         for myanmar.
6838         * international/characters.el (script-list): Add Myanmar
6839         Extended-A.
6841 2010-02-26  Glenn Morris  <rgm@gnu.org>
6843         * custom.el (custom-initialize-delay): Doc fix.
6845         * mail/sendmail.el (send-mail-function): Autoload the call
6846         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
6848 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
6850         * files.el (hack-local-variables-filter): For eval forms, also
6851         check safe-local-variable-p (Bug#5636).
6853 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
6855         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6856         setting the modes by `ignore-errors'.  It might fail, for example
6857         if the file is not owned by the user but the group.
6858         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6860 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
6862         * files.el (directory-listing-before-filename-regexp): Use
6863         stricter matching for iso-style dates, to avoid false matches with
6864         date-like filenames (Bug#5597).
6866         * htmlfontify.el (htmlfontify): Doc fix.
6868         * eshell/eshell.el (eshell): Doc fix.
6870         * startup.el (fancy-about-screen): In mode-line, apply
6871         mode-line-buffer-id face only to the buffer name (Bug#5613).
6873 2010-02-20  Kevin Ryde  <user42@zip.com.au>
6875         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6876         In `watcom' anchor regexp to start of line, to avoid slowness
6877         (Bug#5599).
6879 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
6881         * subr.el (remove-yank-excluded-properties): Explain in a comment
6882         why `category' property is removed.
6884 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
6886         * isearch.el (isearch-update-post-hook, isearch-update): Revert
6887         2010-02-17 change.
6889 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
6891         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6892         (icalendar--convert-weekly-to-ical)
6893         (icalendar--convert-yearly-to-ical)
6894         (icalendar--convert-block-to-ical)
6895         (icalendar--convert-cyclic-to-ical)
6896         (icalendar--convert-anniversary-to-ical): Take care of time
6897         specifications where hour has 1-digit only (Bug#5549).
6899 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
6901         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6902         of disassemble output in GDB 7.1.
6904 2010-02-19  Glenn Morris  <rgm@gnu.org>
6906         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6907         property.  (Bug#5593)
6909 2010-02-18  Sam Steingold  <sds@gnu.org>
6911         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6913 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6915         Use abbreviated file names in bookmarks (bug#5591).
6916         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6917         calls to expand-file-name.
6918         (bookmark-relocate): Use abbreviated file names in bookmarks.
6919         (bookmark-load): Use abbreviated file names in messages.
6921 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
6923         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6924         expand "." and "..".  Reported by Thierry Volpiatto
6925         <thierry.volpiatto@gmail.com>.
6927 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
6929         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6930         permissions of the temporary file to "0600".  In case the remote
6931         file has no read permissions for the owner, there might be
6932         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
6934 22010-02-18  Glenn Morris  <rgm@gnu.org>
6936         * emacs-lisp/authors.el (authors-renamed-files-alist):
6937         Add entries for INSTALL.CVS.
6939 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
6941         * vc-bzr.el: Fix typo in Known Bugs section.
6943         * isearch.el (isearch-update-post-hook): New hook.
6944         (isearch-update): Use the new hook.
6946 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
6948         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
6949         Fix errors in copying directories.
6950         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
6951         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
6952         (tramp-handle-delete-file)
6953         (tramp-handle-dired-recursive-delete-directory)
6954         (tramp-handle-write-region): Flush also the cache for the upper
6955         directory.
6957 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
6959         * simple.el (save-interprogram-paste-before-kill): Doc fix.
6961         * cus-edit.el (hardware): Doc fix.
6963         * man.el (man): Add to external custom group.
6965         * delim-col.el (columns): Move to wp custom group.
6967         * doc-view.el (doc-view): Add to data custom group.
6969         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
6971         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
6972         by ispell-parse-output (Bug#5575).
6974 2010-02-16  Kenichi Handa  <handa@m17n.org>
6976         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
6977         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
6978         (skkdic-convert): Use `euc-japan' coding system for writing.
6980 2010-02-16  Glenn Morris  <rgm@gnu.org>
6982         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
6983         tex-main-file before using it.  (Bug#5562)
6985 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6987         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
6988         warnings, since it is annoying for the user to see them each time he
6989         runs the code.
6991 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
6993         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
6994         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
6995         instead of PROC for caching "first-password-request".  Otherwise,
6996         new processes would not profit from passwords already entered.
6998         * net/tramp-cache.el (tramp-dump-connection-properties):
6999         Don't save "first-password-request" property.
7001 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
7003         * outline.el (outline-head-from-level):
7004         * simple.el (with-wrapper-hook):
7005         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7006         (elint-defun, elint-buffer-env, elint-top-form-logged)
7007         (elint-unbound-variable):
7008         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7009         Fix typos in docstrings.
7011 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
7013         * files.el (insert-directory): When WILDCARD-REGEXP and
7014         FULL-DIRECTORY-P are nil, insert the file entry instead of the
7015         whole directory.  (Bug#5551)
7017         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
7018         dired's alignment sanity.  (Bug#5516)
7020 2010-02-14  Juri Linkov  <juri@jurta.org>
7022         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7023         Remove remaining ^H with their preceding chars.  (Bug#5566)
7025 2010-02-13  Glenn Morris  <rgm@gnu.org>
7027         * simple.el (transpose-subr): Give it a doc-string.
7029         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7030         Doc fixes.
7032 2010-02-12  Juri Linkov  <juri@jurta.org>
7034         * arc-mode.el (archive-unique-fname): Make directories for nested
7035         archives.  (Bug#5540)
7037 2010-02-12  Juri Linkov  <juri@jurta.org>
7039         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
7041 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7043         * subr.el (copy-overlay): Handle deleted overlays.
7045         * man.el (Man-completion-table): Don't signal an error if we can't run
7046         manual-program (bug#4056).
7048 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
7050         * textmodes/artist.el (artist-mt): Fix typos in docstring.
7052 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7054         * info.el (Info-bookmark-jump): Simplify.
7056         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7057         (bookmark-default-handler): Accept new bookmark field `buffer'.
7059 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
7061         * iswitchb.el (iswitchb-completions): Revert last change.
7063 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
7065         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7066         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7067         This prevents file names like "~/" being listed literally.
7069 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
7071         * term/xterm.el (xterm-maybe-set-dark-background-mode):
7072         Remove dead code.  (Bug#5546)
7074 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
7076         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7077         correctly (Bug#5548).
7079 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
7081         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7082         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7084 2010-02-08  Kenichi Handa  <handa@m17n.org>
7086         * international/mule-util.el (with-coding-priority): Add autoload
7087         cookie for putting `lisp-indent-function'.
7089 2010-02-07  Glenn Morris  <rgm@gnu.org>
7091         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7092         Move F2003 named interfaces from keywords-2 to keywords-1, and
7093         use function-name-face rather than constant-face.
7094         Simplify "abstract interface" regexp.
7096 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
7098         * eshell/esh-util.el (eshell-file-attributes): New optional arg
7099         ID-FORMAT.  Pass it to `file-attributes'.
7101         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7103 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
7105         * faces.el (set-face-attribute): Allow calling
7106         internal-set-lisp-face-attribute with 'unspecified family and
7107         foundry argument (Bug#5536).
7109 2010-02-07  Glenn Morris  <rgm@gnu.org>
7111         * progmodes/f90.el (f90-font-lock-keywords-2)
7112         (f90-looking-at-type-like, f90-looking-at-program-block-end):
7113         Handle F2003 named interfaces.
7115 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
7117         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7118         beg and end before calling c-get-state-before-change-functions.
7120 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
7122         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7124 2010-02-05  Juri Linkov  <juri@jurta.org>
7126         * doc-view.el (doc-view-mode):
7127         * image-mode.el (image-mode): Put property mode-class=special.
7128         (Bug#4896)
7130 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
7132         * vc-svn.el (vc-svn-revision-table): New function.
7134 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
7136         * net/ange-ftp.el (ange-ftp-insert-directory):
7137         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7138         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7139         Handle also directories.  (Bug#5478)
7141 2010-02-05  Glenn Morris  <rgm@gnu.org>
7143         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7145 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
7147         * startup.el (command-line-1): Convert options beginning with a
7148         single dash as well (Bug#5519).
7150 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7152         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7153         * minibuffer.el (completion-initials-expand): Only check the presence
7154         of delims *within* the boundaries, since otherwise the / delim is
7155         always found for files.
7157         Fix up various corner case problems.
7158         * doc-view.el (doc-view-last-page-number): New function.
7159         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7160         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7161         (doc-view-kill-proc): Avoid inf-loop in freak cases.
7162         (doc-view-reconvert-doc): Use the new recursive delete-directory.
7163         (doc-view-convert-current-doc): Don't create the resolution.el file
7164         here any more.
7165         (doc-view-pdf/ps->png): Do it here instead.
7166         (doc-view-already-converted-p): Check that resolution.el is present.
7167         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7168         windows that are not yet showing images.
7170 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
7172         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7173         `dired-uncache' for every elemnt which is an absolute file name.
7175         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7176         directory, handle its directory component.
7177         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7178         function is called permanently and creates noise, otherwise.
7180         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7181         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7182         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
7184 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
7186         * macros.el (apply-macro-to-region-lines):
7187         Minor simplification.  (Bug#5485)
7189 2010-02-04  Glenn Morris  <rgm@gnu.org>
7191         * mail/rmail.el (rmail-show-message-1): Handle malformed
7192         quoted-printable text.  (Bug#5441)
7194         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7196         * simple.el (visual-line-mode): Capitalize lighter.
7198 2010-02-03  John Wiegley  <jwiegley@gmail.com>
7200         * iswitchb.el (iswitchb-completions): Add bookmark files to the
7201         list of files considered for "virtual buffer" completions.
7203 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
7205         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7206         also in case of (and (not full) (not wildcard)).  This is needed
7207         when dired is called with a list of files, which are not in
7208         `default-directory'.  (Bug#5478)
7210 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7212         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7214 2010-02-02  Juri Linkov  <juri@jurta.org>
7216         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7217         from unidiff to allow function-line after @@.
7219 2010-02-02  Juri Linkov  <juri@jurta.org>
7221         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7222         '(RCS SCCS) with inverted condition.
7224 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
7226         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7227         messages.
7229 2010-02-01  Juri Linkov  <juri@jurta.org>
7231         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7232         compare with "pkunzip" and "pkzip" instead of only "pkzip".
7233         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7234         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
7236 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7238         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7239         (doc-view-revert-buffer): New command.
7240         (doc-view-mode-map): Use it.
7242 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
7244         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7245         pending merge is detected.
7247 2010-01-31  Juri Linkov  <juri@jurta.org>
7249         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7250         beginning of interactive spec like all other grep commands do.
7251         Put "all" in front of "gz".  (Bug#5260)
7253 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
7255         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7257 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
7259         * dirtrack.el (dirtrack): Warn instead of signalling error if the
7260         regexp is incorrect (Bug#5476).
7262 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
7264         * net/tramp.el (tramp-handle-insert-directory): Handle also
7265         symlinks, when FILENAME is not in `default-directory'.
7267 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7269         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7270         FILE is not in `default-directory'.  (Bug#5478)
7272         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7273         of SWITCHES.  Handle the case, FILENAME is not in
7274         `default-directory'.  (Bug#5478)
7275         (tramp-register-file-name-handlers): Add safe-magic property.
7277 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
7279         * arc-mode.el (archive-zip-extract): Quote the argument passed to
7280         unzip (Bug#5475).
7282 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
7284         * progmodes/flymake.el (flymake-allowed-file-name-masks)
7285         (flymake-master-make-header-init): Add other C++ filename masks.
7286         (flymake-find-possible-master-files)
7287         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7289 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7291         Fix some busybox annoyances.
7293         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7294         not responding." string.
7295         (tramp-open-connection-setup-interactive-shell): Dump stty
7296         settings.  Enable "neveropen" arg for all `tramp-send-command'
7297         calls.  Handle "=" in variable values properly.
7298         (tramp-find-inline-encoding): Raise an error, when no encoding is
7299         found.
7300         (tramp-wait-for-output): Check, whether PROC buffer is available.
7301         Remove spurious " ^H" sequences, sent by busybox.
7302         (tramp-get-ls-command): Suppress coloring, if possible.
7304 2010-01-28  Glenn Morris  <rgm@gnu.org>
7306         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
7308         * log-edit.el (log-edit-strip-single-file-name): Add missing
7309         :safe, :group, and :version tags.
7311 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
7313         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7314         buffers.  (Bug#5477)
7316 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
7318         * files.el (delete-directory): Handle moving to trash without
7319         first doing recursion (Bug#5436).
7321 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
7323         * vc-hooks.el (vc-path): Mark as obsolete.
7325 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
7327         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7328         names too.
7330         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7331         for the short log.
7332         (vc-bzr-log-view-mode): Adjust regexp for the above change.
7334 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
7336         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7338         * vc-bzr.el (vc-bzr-revision-table): New function.
7340 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
7342         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7343         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
7345 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
7347         Remove support for adding --signoff on commit.
7348         Future support will use an incompatible generic mechanism.
7349         * vc-git.el (vc-git-add-signoff): Remove variable.
7350         (vc-git-toggle-signoff): Remove function.
7351         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7353         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7354         from xterm-set-background-mode.  Return t if the background mode
7355         was set.
7356         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7357         earlier, call it again in case the background mode has changed.
7359 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
7361         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7362         (Bug#3541).
7364 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
7366         * emacs-lisp/assoc.el (aelement): Doc fix.
7367         (aput, adelete, amake): Use lexical-let (Bug#5450).
7369 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
7371         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7372         is the same as subprogram call, not declaration.  (Bug#5435).
7374 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
7376         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7377         (tramp-smb-maybe-open-connection): Use it.
7379 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
7381         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
7383 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7385         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7386         just because we see "encoding: 8bit".
7387         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7389 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
7391         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7393 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
7395         * jka-compr.el (jka-compr-load): If load-file is not in
7396         load-history, try its file-truename version.  (bug#5447)
7398 2010-01-21  Alan Mackenzie  <acm@muc.de>
7400         Fix a situation where deletion of a cpp construct throws an error.
7401         * progmodes/cc-engine.el (c-invalidate-state-cache):
7402         Before invoking c-with-all-but-one-cpps-commented-out, check that the
7403         special cpp construct is still in the buffer.
7404         (c-parse-state): Record the special cpp with markers, not numbers.
7406 2010-01-21  Kenichi Handa  <handa@m17n.org>
7408         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7409         process last-command-event, as it is now decoded first (Bug#5380).
7411 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
7413         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7415 2010-01-20  Glenn Morris  <rgm@gnu.org>
7417         * indent.el (tab-always-indent): Fix custom-type.
7419 2010-01-19  Alan Mackenzie  <acm@muc.de>
7421         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7422         buffer throws "args out of range".
7423         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7424         playing the role of delimiter.
7426 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
7428         * progmodes/ada-mode.el: Fix bug#5400.
7429         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7430         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7431         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
7432         Improve comments in "is" portion.  Handle null procedure declaration.
7433         (ada-move-to-end): Improve doc string.
7435 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
7437         * ido.el (ido-cur-list): Initialize to nil.
7438         Remove obsolete information from commentary.
7439         (ido-choice-list): Initialize to nil.
7440         (ido-get-bufname): Reject minibuffers.
7441         (ido-make-buffer-list): If "default" is a nonexistent
7442         buffer, ignore it, as per the function's comment.
7443         (ido-kill-buffer-internal): New function.
7444         (ido-kill-buffer-at-head): Use it.
7445         (ido-visit-buffer): Likewise.
7447 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
7449         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7451 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
7453         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7454         Fix typos in chart titles.
7456         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7457         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7458         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7459         (describe-class, eieio-describe-generic, describe-generic):
7460         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7461         (eieio-speedbar-expand):
7462         * emulation/viper-cmd.el (viper-exec-form-in-vi)
7463         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7464         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7465         (viper-del-backward-char-in-replace, viper-backward-indent)
7466         (viper-brac-function, viper-register-to-point, viper-submit-report):
7467         * net/tramp.el (tramp-remote-coding-commands):
7468         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7469         Fix typos in docstrings.
7471 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
7473         * mail/sendmail.el (mail-yank-original): Set the mark if the
7474         specified function for yanking does not do it.
7476 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
7478         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
7480         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7481         resyncing a directory.
7483 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
7485         * progmodes/ada-mode.el: Fix bug#1920.
7486         (ada-ident-re): Delete ., allow multibyte characters.
7487         (ada-goto-label-re): New; matches goto labels.
7488         (ada-block-label-re): New; matches block labels.
7489         (ada-label-re): New; matches both.
7490         (ada-named-block-re): Deleted; callers changed to use
7491         `ada-block-label-re' instead.
7492         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7493         Use `ada-block-label-re'.
7494         (ada-indent-on-previous-lines): Improve handling of goto labels.
7495         (ada-get-indent-block-start): Special-case block label.
7496         (ada-get-indent-label): Split into `ada-indent-block-label' and
7497         `ada-indent-goto-label'.
7498         (ada-goto-stmt-start, ada-goto-next-non-ws):
7499         Optionally ignore goto labels.
7500         (ada-goto-next-word): Simplify.
7501         (ada-indent-newline-indent-conditional): Insert newline before
7502         trying to fix indentation; doc fix.
7504 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
7506         * calc/calc.el (calc-command-flags): Give it an initial value.
7508 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
7510         * files.el (minibuffer-with-setup-hook):
7511         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7512         (artist-key-draw-continously, artist-key-do-continously-continously)
7513         (artist-key-set-point-continously, artist-mouse-draw-continously):
7514         Fix typos in docstrings.
7516 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
7518         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7519         return t (Bug#3898).
7521 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
7523         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7524         can parse the output of the external commands (Bug#5279).
7526 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
7528         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7530 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
7532         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7534         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7536         * startup.el (command-line): Remove unused --icon-type arg.
7537         Handle --display arg, passing it to command-line-1 (Bug#5392).
7539 2010-01-16  Mario Lang  <mlang@delysid.org>
7541         * emacs-lisp/chart.el (chart-translate-namezone):
7542         * textmodes/artist.el (artist-compute-popup-menu-table):
7543         Remove duplicated words in doc-strings.
7545 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
7547         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7548         to mairix-search to suppress threading (Bug#5342).
7550 2010-01-15  Kenichi Handa  <handa@m17n.org>
7552         * international/mule-cmds.el (canonicalize-coding-system-name):
7553         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7555 2010-01-15  Glenn Morris  <rgm@gnu.org>
7557         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
7559         * wid-edit.el (widget-keymap): Doc fix.
7561         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7562         former seems to be more widely accepted by various svn versions.
7564 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7566         * find-cmd.el (find-constituents):
7567         * vc-arch.el (vc-arch-root):
7568         * window.el (window-body-height, pop-up-frames):
7569         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7570         * progmodes/ada-stmt.el (ada-if):
7571         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7572         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7573         (ispell-encoding8-command, ispell-aspell-supports-utf8)
7574         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7576         * progmodes/flymake.el (flymake-post-syntax-check):
7577         Fix typo in error message.
7579 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7581         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7582         which is always a string.  (Bug#5313)
7584 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7586         * progmodes/ada-xref.el (ada-default-prj-properties):
7587         Simplify previous change.
7589 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7591         * progmodes/ada-xref.el (ada-default-prj-properties):
7592         Default ada_project_path to $ADA_PROJECT_PATH.
7594 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7596         * progmodes/ada-mode.el (ada-create-keymap):
7597         Override `narrow-to-defun' with `ada-narrow-to-defun'.
7599 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7601         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7602         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7603         (ada-get-current-indent, ada-imenu-generic-expression)
7604         (ada-which-function): Check for it.
7606 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7608         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7609         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7611 2010-01-14  Glenn Morris  <rgm@gnu.org>
7613         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
7615 2010-01-14  Kenichi Handa  <handa@m17n.org>
7617         * composite.el (auto-composition-mode): Make it a buffer local
7618         variable (permanent-local).
7619         (auto-composition-function): Set the default value to
7620         auto-compose-chars.
7621         (auto-composition-mode): Make it a simple function, not a minor mode.
7622         (global-auto-composition-mode): Likewise.
7623         (turn-on-auto-composition-if-enabled): Delete it.
7625 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
7627         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7629 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
7631         * files.el (copy-directory): Compute target for recursive
7632         directories with identical names.  (Bug#5343)
7634 2010-01-12  Glenn Morris  <rgm@gnu.org>
7636         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7637         it to bug-gnu-emacs rather than emacs-pretest-bug.
7639 2010-01-11  Sam Steingold  <sds@gnu.org>
7641         * imenu.el (imenu-default-create-index-function): Detect infinite
7642         loops caused by imenu-prev-index-position-function.
7644 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7646         * htmlfontify.el (htmlfontify-load-rgb-file)
7647         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7648         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7649         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7650         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7651         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7652         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7653         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7654         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7655         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7656         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7657         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7658         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7659         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7660         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7661         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7662         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7663         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7664         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7665         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7666         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7667         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7668         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7669         backslash-quoting from parentheses, etc.
7671 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
7673         * progmodes/js.el: Autoload javascript-mode alias.
7675 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7677         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7678         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7679         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7680         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7681         Fix typos in docstrings.
7682         (ffap-url-regexp): Doc fix.
7683         (ffap-at-mouse): Fix typo in message.
7685 2010-01-11  Glenn Morris  <rgm@gnu.org>
7687         * version.el (emacs-copyright): Set copyright year to 2010.
7689 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7691         * format.el (format-annotate-function): Only set
7692         write-region-post-annotation-function after running to-fn so as not to
7693         affect nested write-region calls (bug#5273).
7695 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
7697         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7698         wisent/python.el.
7700 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7702         * man.el (Man-goto-section): Signal error if the section is not
7703         found (Bug#5317).
7705 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
7707         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7708         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
7710 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7712         * progmodes/compile.el: Don't treat compile-command as safe if
7713         compilation-read-command might be nil (Bug#4218).
7715 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
7717         * startup.el (command-line-1): Use orig-argi to check for ignored X and
7718         NS options.
7720 2010-01-08  Kenichi Handa  <handa@m17n.org>
7722         * international/fontset.el (build-default-fontset-data):
7723         Exclude characters in scripts kana, hangul, han, or cjk-misc.
7725 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
7727         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7728         to `create-file-buffer' as it expects, not just a buffer name.
7729         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7730         to help uniquify.  (Bug#3224)
7732 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
7734         * font-setting.el (font-setting-change-default-font): Use user-spec
7735         instead of name.
7737 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
7739         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7741 2010-01-05  Tom Tromey  <tromey@redhat.com>
7743         * progmodes/python.el (python-font-lock-keywords):
7744         Handle qualified decorators (Bug#881).
7746 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7748         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7749         in a lightweight checkout.
7751 2010-01-05  Kenichi Handa  <handa@m17n.org>
7753         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7755 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7757         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7759 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
7761         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7762         checkouts.  (Bug#618)
7763         (vc-bzr-log-view-mode): Also highlight the author.
7764         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7765         (vc-bzr-shelve-menu-map):
7766         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7767         (vc-bzr-shelve-apply): Make prompt more explicit.
7769 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
7771         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7772         They are valid characters in URL paths (rfc3986), and at least
7773         Firefox does not understand the encoded version (Bug#3166).
7775 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
7777         * progmodes/octave-mod.el (octave-end-keywords)
7778         (octave-block-begin-or-end-regexp, octave-block-match-alist):
7779         Add "end" keyword (Bug#3061).
7780         (octave-end-as-array-index-p): New function.
7781         (calculate-octave-indent): Use it.
7783 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7785         * bookmark.el: Consistently put the text property on the bookmark name.
7786         (bookmark-bmenu-marks-width): Bump back to 2, to include
7787         annotation marks.
7788         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7789         property on the bookmark name, instead of not putting it at all.
7790         (bookmark-bmenu-list): Fix where we put the text property.
7792 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7794         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7795         for showing buffer modified state (as added in the previous change).
7797 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7799         * bookmark.el: Show modified state of bookmark buffer more accurately.
7800         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7801         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7802         (with-buffer-modified-unmodified): New macro.
7803         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7804         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7805         Use new macro to preserve the buffer modified state.
7807 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7809         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7810         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7811         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7812         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7813         (bookmark-bmenu-rename, bookmark-bmenu-locate)
7814         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7815         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7817 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
7819         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7820         Make the lines in the generated doc string shorter.  (Bug#4668)
7822 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
7824         * net/rcirc.el: Add follow-link binding (Bug#4738).
7826 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
7828         * Makefile.in (bzr-update): Rename from cvs-update.
7829         (cvs-update): New target for backward compatibility.
7831         * makefile.w32-in (bzr-update): Rename from cvs-update.
7832         (cvs-update): New target for backward compatibility.
7834 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7836         * bookmark.el: Remove gratuitous gratitude.
7838 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7840         * bookmark.el (bookmark-bmenu-any-marks): New function.
7841         (bookmark-bmenu-save): Clear buffer modification if no marks.
7843 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7845         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7846         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7847         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7848         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7850         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7851         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7852         To: emacs-devel {_AT_} gnu.org
7853         Subject: bookmark.el bug report
7854         Date: Mon, 28 Dec 2009 14:19:16 +0800
7855         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7857 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7859         * bookmark.el: Improvements suggested by Drew Adams:
7860         (bookmark-bmenu-ensure-position): New name for
7861         `bookmark-bmenu-check-position'.  Just ensure the position,
7862         don't return any meaningful value.
7863         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7864         New constants.
7866 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
7868         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7869         (bookmark-yank-point, bookmark-bmenu-check-position):
7870         Fix typos in docstrings.
7871         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7872         (bookmark-name-from-full-record, bookmark-get-position)
7873         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7874         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7875         Remove useless quoting of parenthesis, etc. in docstrings.
7877         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7878         (ediff-append-custom-diff): Fix typo in error message.
7879         (ediff-meta-mark-equal-files): Fix typos in messages.
7881         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7883         * net/imap-hash.el (imap-hash-make): Doc fix.
7884         (imap-hash-test): Fix typo in error message; reflow docstring.
7885         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7886         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7887         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7888         Fix typos in docstrings.
7889         (imap-hash-open-connection): Fix typo in error message.
7891         * play/gomoku.el (gomoku): Fix typos in docstring.
7893         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7894         (gdb-jsonify-buffer): Fix typos in docstring.
7895         (gdb-goto-breakpoint): Fix typo in error message.
7896         ("Display Other Windows"): Fix typo in help message.
7897         (gdb-speedbar-expand-node): Fix typo in question.
7899         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7900         (idlwave-html-system-help-location, idlwave-html-help-location)
7901         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7902         (idlwave-help-browser-generic-args, idlwave-help-directory)
7903         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7904         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7905         (idlwave-online-help, idlwave-help-html-link)
7906         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7907         Fix typos in docstrings.
7908         (idlwave-help-with-source, idlwave-help-find-routine-definition):
7909         Reflow docstrings.
7910         (idlwave-help-assistant-start): Fix typo in error message.
7912         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7913         (octave-electric-space): Fix typos in docstrings.
7915 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
7917         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7919 2010-01-01  Juri Linkov  <juri@jurta.org>
7921         * comint.el (comint-input-ring-size): Make it a defcustom and
7922         increase the default to 500 (Bug#5148).
7924 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
7926         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7927         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7928         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7930 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
7932         Show working revision correctly for mercurial.
7933         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
7934         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
7936 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
7938         Declare some functions for the byte-compiler.
7939         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
7940         (speedbar-timer-fn, speedbar-change-expand-button-char)
7941         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
7943 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
7945         This changeset reverts GDB Graphical Interface to use annotations.
7946         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
7948 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
7950         Make vc-dir work on subdirectories of the bzr root.
7951         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
7952         file names relative to it.
7953         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
7954         relative directory to vc-bzr-after-dir-status.
7956 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
7958         * font-lock.el (font-lock-refresh-defaults): New function, which
7959         can be used to let font-lock react to external changes in
7960         variables like font-lock-defaults and keywords.
7961         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
7963 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
7965         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
7967         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
7969 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
7971         Supersede color.diff settings in git log (bug#5211).
7973         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
7974         escape chars in its output when the user has color.diff set to `always'.
7975         This fix works on git 1.4.2 and newer (released on 2006-08-13).
7977 2009-12-26  Kevin Ryde  <user42@zip.com.au>
7979         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
7980         node.  Keep previous "Index" name to work with past coreutils too.
7982         * man.el (man): Revise docstring a bit to show -a and -l as
7983         examples.  Add -k description since support for it has otherwise
7984         been a secret.  (Further to bug#3717.)
7985         (Man-bgproc-sentinel): When "-k foo" produces no output show error
7986         "no matches" rather than "Can't find manpage", as the latter reads
7987         like -k was interpreted as a page name, which is not so.  (Bug#5431)
7989 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
7991         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
7992         switches.  Check also for //SUBDIRED// line.
7994 2009-12-25  Kenichi Handa  <handa@m17n.org>
7996         * language/indian.el (devanagari-composable-pattern): Fixed to
7997         handle ZWNJ and ZWJ.  Use it in composition-function-table for
7998         Devanagari.
7999         (malayalam-composable-pattern): Fix previous change.
8001 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8003         * ps-print.el (ps-face-attributes): It was not returning the
8004         attribute face for faces specified as string.  Reported by harven
8005         <harven@free.fr>.  (Bug#5254)
8006         (ps-print-version): New version 7.3.5.
8008 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
8010         * calendar/icalendar.el (icalendar--convert-tz-offset):
8011         Fix timezone names.
8012         (icalendar--convert-tz-offset): Fix the "last-day-problem".
8013         (icalendar--add-diary-entry): Remove the trailing blank that
8014         diary-make-entry inserts.
8016 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
8018         Make `file-expand-wildcards' work for remote files.
8020         * files.el (file-expand-wildcards): In case of remote files, check
8021         only local file name part for wildcards.  Provide feature 'files
8022         and subfeature 'remote-wildcards.  (Bug#5198)
8024         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8025         if there is already an established connection.
8026         (tramp-advice-file-expand-wildcards): Remove it.
8028         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8029         (tramp-advice-file-expand-wildcards): Move from tramp.el.
8030         Activate advice for older GNU Emacs versions.  (Bug#5237)
8032 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
8034         Some doc fixes (more needed).
8036         * find-cmd.el (find-constituents): Reflow docstring.
8037         (find-cmd, find-prune, find-command): Fix typos in docstrings.
8038         (find-generic): Doc fix.
8040 2009-12-17  Juri Linkov  <juri@jurta.org>
8042         Fix regression from 23.1 to allow multiple modes in Local Variables.
8044         * files.el (hack-local-variables-filter): While ignoring duplicates,
8045         don't take `mode' into account.
8046         (hack-local-variables-filter, hack-dir-local-variables):
8047         Don't remove duplicate `mode' from local-variables-alist (like `eval').
8049 2009-12-17  Juri Linkov  <juri@jurta.org>
8051         Make `dired-diff' safer.  (Bug#5225)
8053         * dired-aux.el (dired-diff): Signal an error when `file' equals to
8054         `current' or when `file' is a directory of the `current' file.
8056 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
8058         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8059         unconditionally preloaded files.
8061 2009-12-16  Juri Linkov  <juri@jurta.org>
8063         Revert to old 23.1 logic of using the file at the mark as default.
8064         * dired-aux.el (dired-diff): Use the file at the mark as default
8065         if it's not the same as the current file, and the target dir is
8066         the current dir or the mark is active.  Add the current file
8067         as the arg of `dired-dwim-target-defaults'.  Use the default file
8068         in the prompt.  (Bug#5225)
8070 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
8072         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8073         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8074         (tramp-check-for-regexp): Check also, when an echoing shell stops
8075         to echo sent commands.
8077 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8079         * Makefile.in: Revert last change (Bug#5191).
8081 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
8083         * vc-hg.el (vc-hg-print-log): Fix argument order.
8084         (vc-hg-working-revision): Make sure the command is executed in a
8085         known environment so that we can parse the output.  (Bug#4417)
8087 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8089         * progmodes/python.el (python-symbol-completions): Remove text
8090         properties from symbol string before calling python-send-receive.
8092 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
8094         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8095         when there are values for both file and line.  (Bug#5060)
8097 2009-12-14  Juri Linkov  <juri@jurta.org>
8099         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8100         whitespace after the file name of the first line of unified format,
8101         because git-diff doesn't output whitespace and file modification time
8102         after the file name.
8104 2009-12-14  David Kastrup  <dak@gnu.org>
8106         * info.el (Info-hide-cookies-node): Before hiding a cookie,
8107         check if it already has the `display' property added by
8108         `Info-display-images-node', and not put the `invisible' property
8109         in this case.
8111 2009-12-13  Glenn Morris  <rgm@gnu.org>
8113         * mail/emacsbug.el (message-sort-headers): Define for compiler.
8114         (report-emacs-bug): In message-mode, sort manually before storing
8115         original report text.  (Bug#5178)
8116         Remove superfluous save-excursion.
8118 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
8120         * net/dbus.el (dbus-property-handler): Filter lambda forms out
8121         when responding to "GetAll" properties.
8123 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
8125         * simple.el (compose-mail): Remove mail-setup-with-from from
8126         customization checks.
8128 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
8130         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8131         RAR archives created on Unix systems.
8133 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8135         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8136         the varalias that was accidentally removed by the 2009-11-19 change
8137         (bug#5186).
8139 2009-12-12  Kenichi Handa  <handa@m17n.org>
8141         * language/indian.el (indian-compose-regexp): New function.
8142         (malayalam-composable-pattern): Fix the pattern.
8143         (composition-function-table): Set malayalam-composable-pattern for
8144         Malayalam characters.
8146 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
8148         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8149         rather than down-mouse-1, based on follow-link conventions.
8151         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8152         are compiled.
8154 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
8156         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8157         (verilog-vmm-statement-re, verilog-ovm-statement-re)
8158         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8159         (verilog-leap-to-head, verilog-backward-token):
8160         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
8162 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
8164         * progmodes/verilog-mode.el (verilog-auto-lineup)
8165         (verilog-nameable-item-re): Cleanup user-visible spelling and
8166         documentation errors.  One reported by Gary Delp.
8167         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8168         (verilog-read-decls): Fix AUTOWIRE with types declared in a
8169         package, bug195.  Reported by Pierre-David Pfister.
8171 2009-12-11  Glenn Morris  <rgm@gnu.org>
8173         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8175         * mail/emacsbug.el: No longer require sendmail.
8176         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
8177         (report-emacs-bug-orig-text): Doc fix.
8178         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8179         New local variables, to adapt to different mail-user-agents.
8180         (report-emacs-bug): Fix test for a gnu.org address.
8181         Use overlays for emphasis, since font-lock defeats 'face property.
8182         Pretest bugs also end up at the newsgroup these days.
8183         Stop message-mode stripping text properties.
8184         Set and use the new buffer-local variables.
8185         (report-emacs-bug-hook): Add doc-string.
8186         Remove some unnecessary save-excursions and simplify.
8187         Use the appropriate hook and send-command.
8189         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8190         capitalization of some menu entries.
8192 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8194         * whitespace.el (whitespace-display-char-on):
8195         Ensure `buffer-display-table' is unique when two or more windows are
8196         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8197         New version 12.1.
8199 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
8201         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8202         characters in the Attribute field.
8204 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
8206         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
8208 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8210         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8211         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8212         Disregard autoload-excludes.
8213         (update-directory-autoloads): Obey autoload-excludes here instead.
8214         But don't store its contents in no-autoloads and remove entries that
8215         refer to excludes files.
8217 2009-12-10  Glenn Morris  <rgm@gnu.org>
8219         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8220         (expand-mail-aliases): Define for compiler.
8222         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8223         Define for compiler.
8225         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8226         appropriate for the mail-user-agent in use.
8228 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
8230         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8232 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
8234         Fix short log parsing and fontification.
8235         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8236         Fix fontification for the [merge] label.
8238 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
8240         Drop some properties to avoid surprises (bug#5002).
8241         * htmlfontify.el (hfy-ignored-properties): New defcustom.
8242         (hfy-fontify-buffer): Use it.
8244 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8246         Minor cleanup.
8247         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8248         Adjust all callers.
8249         (ffap-locate-file): Remove unused arg `dir-ok' and make other
8250         args compulsory.  Adjust callers.
8251         (ffap-gopher-at-point): Remove unused var `name'.
8253         Get rid of the ELCFILES abomination.
8254         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8255         (compile-elcfiles): New phony target.
8256         (compile-main): Compute ELCFILES dynamically.
8257         (compile-clean): New target to remove left-over elc files.
8258         (compile, all): Use it.
8260 2009-12-09  Kenichi Handa  <handa@etlken>
8262         * international/mule-diag.el: Require help-mode instead of help-fns.
8264 2009-12-09  Kenichi Handa  <handa@m17n.org>
8266         * international/mule-cmds.el (ucs-names): Supply sufficiently
8267         fine ranges instead of pre-calculating accurate ranges.
8268         Iterate with bigger gc-cons-threshold.
8270 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
8272         Add support for stashing a snapshot of the current tree.
8273         * vc-git.el (vc-git-stash-snapshot): New function.
8274         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8276 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
8278         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8279         instead of `(beginning|end)-of-line'.
8281 2009-12-08  Glenn Morris  <rgm@gnu.org>
8283         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8285         * Makefile.in (ELCFILES): Regenerate.
8287 2009-12-07  Juri Linkov  <juri@jurta.org>
8289         Don't lazy-highlight the comint output in history Isearch mode.
8291         * comint.el (comint-history-isearch-search): Instead of
8292         `comint-line-beginning-position', use `comint-after-pmark-p'
8293         to check if point if before the process mark, and go to
8294         `process-mark' in this case.
8296 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8298         * textmodes/tex-mode.el (latex-complete)
8299         (latex-indent-or-complete): Remove.
8300         (latex-mode): Set completion-at-point-functions instead.
8302         Provide a standard completion command and hook it into TAB.
8303         * minibuffer.el (completion-at-point-functions): New var.
8304         (completion-at-point): New command.
8305         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8306         * progmodes/python.el (python-mode-map): Use completion-at-point.
8307         (python-completion-at-point): Rename from python-partial-symbol and
8308         adjust for use in completion-at-point-functions.
8309         (python-mode): Setup completion-at-point for Python completion.
8310         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8311         extracted from lisp-complete-symbol.
8312         (lisp-complete-symbol): Use it.
8313         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8314         setup completion-at-point for Elisp completion.
8315         (emacs-lisp-mode-map, lisp-interaction-mode-map):
8316         Use completion-at-point.
8317         * ielm.el (ielm-map): Use completion-at-point.
8318         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8319         * progmodes/sym-comp.el: Move to...
8320         * obsolete/sym-comp.el: Move from progmodes.
8322 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
8324         Prevent save-buffer in Rmail buffers from using the coding-system
8325         of the current message, and from clobbering the encoding mnemonics
8326         in the mode line (Bug#4623).
8328         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8329         flag, too.
8330         (rmail-message-encoding): New variable.
8331         (rmail-write-region-annotate): Record the encoding of the current
8332         message in rmail-message-encoding.
8333         (rmail-after-save-hook): New function, restores the encoding of
8334         the current message after the message collection is saved.
8336 2009-12-07  Juri Linkov  <juri@jurta.org>
8338         * progmodes/grep.el (grep-read-files): Use `completing-read'
8339         instead of `read-string'.  Set its `collection' arg to
8340         `read-file-name-internal'.  (Bug#4301)
8342 2009-12-07  Juri Linkov  <juri@jurta.org>
8344         Correctly restore original Isearch point.  (Bug#4994)
8346         * isearch.el (isearch-mode): Move `isearch-push-state' after
8347         `(run-hooks 'isearch-mode-hook)'.
8348         (isearch-cancel): When `isearch-push-state-function' is defined,
8349         let-bind `isearch-cmds' to the first state (the last element of
8350         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8351         function and restores the original point).  Otherwise, move point
8352         to `isearch-opoint'.
8354 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8356         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8357         chars that don't have names, so the table can be built much faster at
8358         run-time.
8360 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
8362         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8363         change.  Suggested by David Kastrup.
8365         * simple.el (compose-mail): Check for incompatibilities and warn.
8366         (compose-mail-user-agent-warnings): New option.
8368 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8370         Support showing a single log entry from vc-annotate.
8371         * vc.el (print-log): Add a new argument: START-REVISION.
8372         (vc-print-log-internal): Add a new optional argument and
8373         pass it to the backend.
8374         (vc-print-log, vc-print-root-log): Adjust callers.
8375         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8376         buffer already displays the requested log entry, use it.
8377         Otherwise display only the log entry in question.
8378         * vc-svn.el (vc-svn-print-log):
8379         * vc-mtn.el (vc-mtn-print-log):
8380         * vc-hg.el (vc-hg-state):
8381         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8382         (vc-git-show-log-entry): Return t on success.
8383         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8384         (vc-bzr-show-log-entry): Return t on success.
8385         * vc-rcs.el (vc-rcs-print-log):
8386         * vc-sccs.el (vc-sccs-print-log):
8387         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8389 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8391         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8392         Add menus to the meta mode.  (Bug#5043)
8394 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8396         * ediff-init.el (ediff-event-key): Use event-to-character instead of
8397         event-key.
8399         * ediff.el (ediff-buffers-internal): Add unwind-protect.
8401 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
8403         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
8404         Berbain <raphael.berbain@gmail.com>.
8406         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
8407         characters.
8408         (tramp-initial-end-of-output): New defconst.
8409         (tramp-methods, tramp-find-shell)
8410         (tramp-open-connection-setup-interactive-shell)
8411         (tramp-maybe-open-connection): Use it.
8412         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8413         existence of `#' and `$'.
8415         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8416         `tramp-initial-end-of-output'.
8418 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8420         Get the background mode from the terminal for xterm, and set
8421         faces accordingly.
8422         * term/xterm.el (xterm-set-background-mode): New function.
8423         (terminal-init-xterm): Use it in case xterm supports background
8424         color queries.  Recompute faces after getting the background
8425         color.
8427 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
8429         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8430         number comment back on its own line, for easier parsing.
8432 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8434         Make it work for non-file buffers (bug#5102).
8435         * doc-view.el (doc-view-current-cache-dir):
8436         Use doc-view-buffer-file-name rather than buffer-file-name.
8437         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8439 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
8441         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8442         author field is too short.
8444 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
8446         * vc-git.el (vc-git-print-log): Handle a limit argument.
8447         Display the short log in graph form and with labels.
8448         (vc-git-log-view-mode): Handle labels.
8450         Make vc-revert change VC state from 'added to 'unregistered.
8451         * vc-git.el (vc-git-revert): Call git reset first.
8453 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8455         * net/newst-backend.el, net/newst-plainview.el:
8456         * net/newst-reader.el, net/newst-ticker.el:
8457         * net/newst-treeview.el, net/newsticker.el:
8458         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
8460 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8462         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8464         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8465         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
8466         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8467         Update annotation regexp.
8469         * simple.el (beginning-of-visual-line): Constrain to field
8470         boundaries (Bug#5106).
8472 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8474         * xml.el (xml-substitute-numeric-entities): Move
8475         newsticker--decode-numeric-entities in newst-backend.el to
8476         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8477         * net/newst-backend.el (newsticker--parse-generic-feed)
8478         (newsticker--parse-generic-items)
8479         (newsticker--decode-numeric-entities): Move
8480         newsticker--decode-numeric-entities in newst-backend.el to
8481         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8483 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
8485         * progmodes/js.el (js--js-not): Add null to the list of values.
8487 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8489         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8491 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8493         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8494         delimiter if it is at the end of the current line.
8495         (bibtex-generate-url-list): Fix docstring.
8497 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8499         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8500         minibuffer's content with itself.
8501         Fold the confirm-after-completion case into the `confirm' case.
8502         (completion-pcm-word-delimiters): Add : and / to the delimiters.
8504 2009-12-06  Kevin Ryde  <user42@zip.com.au>
8506         * ffap.el (ffap-rfc-path): Make this a defcustom since
8507         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
8509         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8510         manuals, similar to existing setup for help-mode.  (Bug#3913.)
8512 2009-12-05  Juri Linkov  <juri@jurta.org>
8514         Save and restore dired buffer's point positions too.  (Bug#4880)
8516         * dired.el (dired-save-positions): Return in the first element
8517         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8518         Doc fix.
8519         (dired-restore-positions): First restore buffer's position.
8520         While restoring window's positions, check if window still displays
8521         the original buffer.
8523 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
8525         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8526         if possible.
8528         * shell.el (shell): Require ansi-color (Bug#5113).
8530         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8532         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8534 2009-12-05  Alan Mackenzie  <acm@muc.de>
8536         * progmodes/cc-mode.el (c-before-hack-hook)
8537         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8538         `c-file-style' to work again.  This reversion restores the current
8539         software to its state in Emacs 23.1.  (Bug#4146)
8541 2009-12-05  Kevin Ryde  <user42@zip.com.au>
8543         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8544         comment-start-skip to comment-end-skip as comment (Bug#4781).
8546 2009-12-05  Juri Linkov  <juri@jurta.org>
8548         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8549         for virtual nodes.  (Bug#4147)
8550         (Info-find-node-2): Set `Info-current-node-virtual' to nil
8551         when moving from a virtual node.
8552         (Info-mode-menu): Add `Info-virtual-index' to the menu.
8553         (Info-mode): Add `Info-virtual-index' to the docstring.
8555 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8557         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8558         track of the buffer position of the end of a BibTeX entry as this
8559         position may change during reformatting.
8560         (bibtex-format-entry): Remove whitespace before processing
8561         numerical fields so that we recognize the latter properly.
8562         (bibtex-reformat): Do not use push which changes the global value
8563         of bibtex-entry-format.
8564         (bibtex-field-braces-alist, bibtex-field-strings-alist)
8565         (bibtex-field-re-init): Replace only space characters by regexp
8566         for whitespace.
8567         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8568         (bibtex-initialize): Also update bibtex-strings.
8569         (bibtex-kill-field): Preserve white space at end of entry.
8570         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8571         Update bibtex-reference-keys.
8573 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8575         * minibuffer.el (completion-pcm--merge-try): Also consider placing
8576         point after a star, if that's the only place where modifications can
8577         make progress.
8579 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
8581         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8582         in docstrings.
8584 2009-12-04  Juri Linkov  <juri@jurta.org>
8586         * proced.el (proced): Call `(proced-update t)' to update process
8587         information instead of only running proced-post-display-hook.
8588         (proced-send-signal): Add a leading space to the buffer name
8589         " *Marked Processes*" to make this buffer ephemeral.
8591 2009-12-04  Juri Linkov  <juri@jurta.org>
8593         * dired.el (dired-auto-revert-buffer): New defcustom.
8594         (dired-internal-noselect): Use it.
8596 2009-12-04  Juri Linkov  <juri@jurta.org>
8598         Change roles of modes and functions in image-mode.el (Bug#5062).
8600         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8601         in `auto-mode-alist'.
8602         (image-mode-previous-major-mode): New variable.
8603         (image-minor-mode-map): Rename from `image-mode-text-map'.
8604         (image-mode): Move graceful error-handling code from
8605         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
8606         (image-minor-mode): Remove all image-handling code.
8607         Replace `image-mode-text-map' with `image-minor-mode-map'.
8608         Check for `image-type' in mode-line format string.
8609         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8610         (image-mode-as-text): New function with most code from
8611         `image-mode-maybe'.
8612         (image-toggle-display-text): Move code that removes image
8613         properties from `image-toggle-display' to here.
8614         (image-toggle-display-image): New function with code that adds
8615         image properties copied from `image-toggle-display'.
8616         (image-toggle-display): Remove most code with leaving only code
8617         that toggles between `image-mode-as-text' and `image-mode'.
8619 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
8621         * net/newst-treeview.el
8622         (newsticker--treeview-list-highlight-start): Restored call to
8623         save-excursion: Selected item was stuck.
8624         (newsticker--treeview-list-select): New.
8625         (newsticker--treeview-item-show-text)
8626         (newsticker--treeview-item-show)
8627         (newsticker--treeview-item-update): Use new
8628         newsticker-treeview-item-mode.
8629         (newsticker-treeview-update): Keep current item.
8630         (newsticker-treeview-next-new-or-immortal-item): Doc change.
8631         (newsticker--treeview-first-feed): Doc change.
8632         (newsticker-treeview-list-menu)
8633         (newsticker-treeview-item-menu): Added menu entries.
8634         (newsticker-treeview-item-mode): New.
8636         * net/newst-backend.el (newsticker-customize): Delete other
8637         windows.
8639 2009-12-04  Sam Steingold  <sds@gnu.org>
8641         * log-view.el (log-view-mode-map): "q" calls quit-window,
8642         like in all the other non-self-insert buffers.
8644 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8646         Minor cleanup.
8647         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8648         key decoding rather than do it manually via last-input-event +
8649         ascii-character.
8650         (term-exec): Use delete-and-extract-region.
8651         (term-handle-ansi-terminal-messages): Remove unused var `end'.
8652         (term-process-pager): Remove unused var `i'.
8653         (term-dynamic-simple-complete): Make obsolete.
8654         (serial-update-config-menu): Remove unused vars `y' and `str'.
8655         (term-update-mode-line): Remove unused var `temp'.
8657 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8659         Limit the number of log entries displayed by default.
8660         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8661         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8662         using a prefix argument.
8664 2009-12-03  Glenn Morris  <rgm@gnu.org>
8666         * progmodes/idlwave.el (class): Restore still useful declaration.
8668 2009-12-03  Alan Mackenzie  <acm@muc.de>
8670         Enhance `c-parse-state' to run efficiently in "brace deserts".
8672         * progmodes/cc-mode.el (c-basic-common-init):
8673         Call c-state-cache-init.
8674         (c-neutralize-syntax-in-and-mark-CPP): Rename from
8675         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
8676         placing `category' properties value 'c-cpp-delimiter at its boundaries.
8678         * progmodes/cc-langs.el (c-before-font-lock-function):
8679         c-extend-and-neutralize-syntax-in-CPP has been renamed
8680         c-neutralize-syntax-in-and-mark-CPP.
8682         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8683         with `category' properties now, not `syntax-table' ones.
8685         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8686         enhanced (but slower) version of c-end-of-macro that won't land
8687         inside a literal or on another awkward character.
8688         (c-state-cache-too-far, c-state-cache-start)
8689         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8690         (c-state-nonlit-pos-cache-limit, c-state-point-min)
8691         (c-state-point-min-lit-type, c-state-point-min-lit-start)
8692         (c-state-min-scan-pos, c-state-brace-pair-desert)
8693         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8694         buffer local variables.
8695         (c-state-literal-at, c-state-lit-beg)
8696         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8697         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8698         (c-state-cache-top-paren, c-state-cache-after-top-paren)
8699         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8700         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8701         (c-renarrow-state-cache)
8702         (c-append-lower-brace-pair-to-state-cache)
8703         (c-state-push-any-brace-pair, c-append-to-state-cache)
8704         (c-remove-stale-state-cache)
8705         (c-remove-stale-state-cache-backwards, c-state-cache-init)
8706         (c-invalidate-state-cache-1, c-parse-state-1)
8707         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8708         (c-parse-state): Enhance and refactor.
8709         (c-debug-parse-state): Amend to deal with all the new variables.
8711         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8712         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8713         modify to use category text properties rather than syntax-table ones.
8714         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8715         to switch off/on the syntactic paren property of C++ template
8716         delimiters using the category property.
8717         (c-with-<->-as-parens-suppressed): Macro to invoke code with
8718         template delims suppressed.
8719         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8720         New constant/macros which apply category properties to the start
8721         and end of preprocessor constructs.
8722         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8723         "comment out" the syntactic value of characters in preprocessor
8724         constructs.
8725         (c-with-cpps-commented-out)
8726         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8727         with characters in all or all but one preprocessor constructs
8728         "commented out".
8730 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8732         * proced.el (proced-filter-alist): Use regexp-quote.
8734 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
8736         Cleanup.
8737         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8738         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
8739         arguments.  Expand `default-directory'.
8741         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8742         the benefit of returning an expanded localname.
8743         (tramp-tramp-file-p): Handle the case NAME is not a string.
8745 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8747         Add support for bzr shelve/unshelve.
8748         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8749         (vc-bzr-extra-menu-map): New variables.
8750         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8751         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8752         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8753         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8754         (vc-bzr-dir-extra-headers): Display shelves.
8756         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8758 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8760         * textmodes/bibtex.el (bibtex-complete-internal):
8761         Use completion-in-region.
8762         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8764 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8766         Support applying stashes.  Improve UI.
8767         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8768         (vc-git-stash-apply, vc-git-stash-pop)
8769         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8770         (vc-git-stash-menu): New functions.
8771         (vc-git-stash-menu-map): New variable.
8772         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8774 2009-12-03  Glenn Morris  <rgm@gnu.org>
8776         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8777         (vc-print-log-internal): Fix previous change.
8778         (vc-revert): Correct pluralization.
8780 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8782         * progmodes/make-mode.el (makefile-special-targets-list): No need for
8783         it to be an alist any more.
8784         (makefile-complete): Use completion-in-region.
8786         * progmodes/octave-mod.el (octave-complete-symbol):
8787         Use completion-in-region.
8789         Misc cleanup.
8790         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8791         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8792         (idlwave-complete-class): Don't quote lambda.
8793         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8794         (idlwave-mode-map): Move initialization into declaration.
8795         (idlwave-action-and-binding): Use backquotes.
8796         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8797         Simplify.
8798         (idlwave-is-pointer-dereference): Remove unused var `pos'.
8799         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8800         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8801         `parts', and `all-parts'.
8802         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8803         (idlwave-convert-xml-system-routine-info): Remove unused string
8804         `version-string'.
8805         (idlwave-display-user-catalog-widget): Use dolist.
8806         (idlwave-scanning-lib): Declare dynamically-scoped var.
8807         (idlwave-scan-library-catalogs): Remove unused var `flags'.
8808         (completion-highlight-first-word-only): Declare to silence bytecomp.
8809         (idlwave-popup-select): Tighten scope of `resp'.
8810         (idlwave-find-struct-tag): Remove unused var `beg'.
8811         (idlwave-after-load-rinfo-hook): Declare.
8812         (idlwave-sintern-class-info): Remove unused var `taglist'.
8813         (idlwave-find-class-definition): Remove unused var `list'.
8814         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8815         (idlwave-what-module-find-class): Remove unused var `classes'.
8817 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
8819         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8821 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8823         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8824         buffers visited.  Remove redundant current-buffer-saving.
8826 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8828         Use completion-in-buffer and remove uses of dynamic scoping.
8829         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8830         (pascal-buffer-to-use, pascal-flag): Don't declare.
8831         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8832         (pascal-get-completion-decl, pascal-keyword-completion):
8833         Add `pascal-str' argument, save-excursion,
8834         return the found completions, and don't filter with pascal-pred.
8835         (pascal-completion-cache): New var.
8836         (pascal-completion): Don't switch buffer any more (it was never
8837         necessary).  Don't save-excursion any more (it's done by the called
8838         subroutines).  Use a cache to avoid redundant computations.
8839         Use complete-with-action rather than pascal-completion-response and
8840         let it apply the predicate as well.
8841         (pascal-complete-word): Use completion-in-buffer when
8842         pascal-toggle-completions is nil.
8843         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8844         not used any more.
8845         (pascal-comp-defun): Don't change buffer any more.
8846         Use complete-with-action rather than pascal-completion-response and
8847         let it apply the predicate as well.
8848         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8849         when neded.
8851 2009-12-02  Kenichi Handa  <handa@m17n.org>
8853         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8854         shape for all Indic scripts.
8856 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8858         Use completion-in-buffer.
8859         * wid-edit.el (widget-field-text-end): New function.
8860         (widget-field-value-get): Use it.
8861         (widget-string-complete, widget-file-complete)
8862         (widget-color-complete): Use it and completion-in-region.
8863         (widget-complete): Don't narrow the buffer.
8865 2009-12-02  Glenn Morris  <rgm@gnu.org>
8867         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
8868         (rmail-select-summary): Use rmail-pop-to-buffer.
8869         * mail/rmailsum.el: Replace all pop-to-buffer calls with
8870         rmail-pop-to-buffer, to prevent horizontal splits.
8872         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8873         save-excursion with save-current-buffer.
8874         Widen before searching.  (Bug#5093)
8875         (diary-list-sexp-entries): Remove superfluous save-excursion.
8877 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
8879         * woman.el (woman-make-bufname): Handle man-pages with "." in the
8880         name.  (Bug#5038)
8882 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
8884         * ido.el (ido-file-internal): Handle filenames at point that do
8885         not have a directory part.  (Bug#5049)
8887 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
8889         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8890         (mpc-songs-jump-to, mpc-resume): Doc fixes.
8892 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
8894         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8895         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8896         any more.
8898 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8900         * comint.el (comint-insert-input): Ignore clicks to the right of
8901         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8903         * vc.el (vc-print-log-internal): Don't wait for the process to
8904         terminate before setting up the major mode.
8906         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8907         in case.
8909         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8910         the last element.
8912         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8914 2009-12-01  Glenn Morris  <rgm@gnu.org>
8916         * window.el (window--display-buffer-2): Fix previous changes.
8918 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
8920         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8922 2009-12-01  Glenn Morris  <rgm@gnu.org>
8924         * Makefile.in (ELCFILES): Add mpc.elc.
8926 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8928         * mpc.el: New file.
8930 2009-12-01  Glenn Morris  <rgm@gnu.org>
8932         * window.el (window-to-use): Define for compiler.
8934         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
8935         consistent with others (no final period).
8937         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
8938         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
8940 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
8942         Make vc-print-log buttons work.
8943         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
8945 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
8947         * savehist.el (savehist-autosave-interval): Allow setting to nil
8948         through customize.  (Bug#5056)
8950 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
8952         Fix references to jit-lock properties.
8953         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
8954         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
8955         (perl-font-lock-special-syntactic-constructs):
8956         Quote jit-lock-defer-multiline property.
8958 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
8960         * vc-git.el (vc-git-registered): Call vc-git-root only once.
8962 2009-11-30  Juri Linkov  <juri@jurta.org>
8964         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
8965         value `buffer' of `multi-isearch-next-buffer-current-function'.
8966         Use `(current-buffer)' when `buffer' is nil.
8967         (multi-isearch-next-buffer-from-list): Don't fallback to
8968         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
8970 2009-11-30  Juri Linkov  <juri@jurta.org>
8972         * misearch.el (multi-isearch-read-buffers): Move canonicalization
8973         of buffers with `get-buffer' to `multi-isearch-buffers'.
8974         (multi-isearch-buffers, multi-isearch-buffers-regexp):
8975         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
8976         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
8977         FILES with `expand-file-name' converting relative file names
8978         to absolute.  Doc fix.  (Bug#4727)
8980 2009-11-30  Juri Linkov  <juri@jurta.org>
8982         * misearch.el (multi-isearch-read-buffers)
8983         (multi-isearch-read-matching-buffers): New functions.
8984         (multi-isearch-buffers, multi-isearch-buffers-regexp):
8985         Use them in the `interactive' spec.  Doc fix.
8986         (multi-isearch-read-files, multi-isearch-read-matching-files):
8987         New functions.
8988         (multi-isearch-files, multi-isearch-files-regexp):
8989         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
8991 2009-11-30  Juri Linkov  <juri@jurta.org>
8993         * doc-view.el (doc-view-continuous):
8994         Rename from `doc-view-continuous-mode'.
8995         (doc-view-menu): Move "Toggle display" to the top.
8996         Add submenu "Continuous" with radio buttons "Off"/"On"
8997         and "Save as Default".
8998         (doc-view-scroll-up-or-next-page)
8999         (doc-view-scroll-down-or-previous-page)
9000         (doc-view-next-line-or-next-page)
9001         (doc-view-previous-line-or-previous-page): Rename
9002         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
9004 2009-11-30  Juri Linkov  <juri@jurta.org>
9006         * comint.el (comint-mode-map): Rebind `M-r' from
9007         `comint-previous-matching-input' to
9008         `comint-history-isearch-backward-regexp'.
9009         Unbind `M-s' to allow global key binding `M-s'.
9010         Add menu items for `comint-history-isearch-backward' and
9011         `comint-history-isearch-backward-regexp'.  (Bug#3746)
9013 2009-11-30  Juri Linkov  <juri@jurta.org>
9015         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9016         For def=recenter, replace `recenter' with `recenter-top-bottom'
9017         that is called with `this-command' and `last-command' let-bound
9018         to `recenter-top-bottom'.  When the last `def' was not `recenter',
9019         set `recenter-last-op' to nil.  (Bug#4981)
9021 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9023         Minor cleanup and simplification.
9024         * filecache.el (file-cache-add-directory)
9025         (file-cache-add-directory-recursively)
9026         (file-cache-add-from-file-cache-buffer)
9027         (file-cache-delete-file-regexp, file-cache-delete-directory)
9028         (file-cache-files-matching-internal, file-cache-display): Use dolist.
9029         (file-cache-temp-minibuffer-message): Delete function.
9030         (file-cache-minibuffer-complete): Use minibuffer-message instead.
9032         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9033         Don't signal an error when bumping into EOB in tr, s, or y.
9035 2009-11-29  Juri Linkov  <juri@jurta.org>
9037         * startup.el (fancy-about-text): Fix wording of Guided Tour.
9038         (Bug#4960)
9040         * descr-text.el (describe-char-unidata-list): Use lowercase name
9041         for "Unicode name" like in other tags.
9043 2009-11-29  Juri Linkov  <juri@jurta.org>
9045         * ediff-util.el (ediff-minibuffer-with-setup-hook):
9046         New compatibility macro.
9047         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9049 2009-11-29  Juri Linkov  <juri@jurta.org>
9051         Add defcustom to define the cycling order of `recenter-top-bottom'.
9052         (Bug#4981)
9054         * window.el (recenter-last-op): Doc fix.
9055         (recenter-positions): New defcustom.
9056         (recenter-top-bottom): Rewrite to use `recenter-positions'.
9057         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9059 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
9061         Improve integration of Tramp and ange-ftp in eshell.
9063         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9064         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
9065         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
9067         * eshell/esh-util.el (top): Require also Tramp when compiling.
9068         (eshell-directory-files-and-attributes): Check for FTP remote
9069         connection.
9070         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9071         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9072         (eshell-file-attributes): Handle ".".  Return `entry'.
9074         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9075         (ange-ftp-directory-files-and-attributes)
9076         (ange-ftp-real-directory-files-and-attributes): New defuns.
9078         * net/tramp.el (tramp-maybe-open-connection): Open the remote
9079         shell with "exec" when possible.  This prevents trailing prompts
9080         in `start-file-process'.
9082 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9084         Try and remove assumptions about point-min==1.
9085         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9086         (rng-compute-mode-line-string): Show the validation percentage in
9087         terms of the narrowed text, not the widened text.
9088         (rng-do-some-validation): Don't catch internal errors when debugging.
9089         (rng-first-error): Simplify.
9090         (rng-after-change-function): Remove work around.  AFAIK the bug has
9091         been fixed a while ago.
9093         * image-mode.el (image-minor-mode): Exit more gracefully when the image
9094         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9096         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9098         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9099         `cd' doesn't always do it for us (bug#5067).
9101         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9102         on 2009-10-25 as part of some other change (bug#5067).
9104 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9106         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9107         `suspicious'.
9108         (byte-compile-warnings): Use byte-compile-warning-types.
9109         (byte-compile-save-excursion): Warn about use of set-buffer right
9110         after save-excursion.
9112         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9113         the excursion as well.
9115 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
9117         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9118         providing a Tramp related implementation of "su" and "sudo".
9119         (eshell-unix-initialize): Add "su" and "sudo".
9121 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
9123         * net/socks.el (socks-send-command): Convert binary request to
9124         unibyte before sending.  This fixes mishandling of some port
9125         numbers such as 129.
9127 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9129         * help.el (describe-bindings-internal): Remove `interactive'.
9131         * man.el (Man-completion-table): Trim a terminating "(".
9132         Remove the space between name page a section.
9133         Add the command's description on the `help-echo' property.
9134         Remove `process-connection-type' binding since it's unused by
9135         call-process.
9136         Provide completion for the "<section> <name>" format as well.
9137         (Man-default-man-entry): Remove spurious var shadowing the argument.
9139 2009-11-26  Kevin Ryde  <user42@zip.com.au>
9141         * log-view.el: Add "Keywords: tools", since its other keywords
9142         aren't in finder-known-keywords, and following vc.el.
9144         * sha1.el (sha1-string-external): default-directory "/" in case
9145         otherwise non-existent.  process-connection-type pipe for touch of
9146         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
9148 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9150         Misc coding convention cleanups.
9151         * htmlfontify.el (hfy-init-kludge-hook): Rename from
9152         hfy-init-kludge-hooks.
9153         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9154         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9155         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9156         and push.
9157         (hfy-slant, hfy-weight): Use tables rather than code.
9158         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9159         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9160         (hfy-face-attr-for-class): Initialize `face-spec' directly.
9161         (hfy-face-to-css): Remove `nconc' with single arg.
9162         (hfy-p-to-face-lennart): Use `or'.
9163         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
9164         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9165         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9166         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9167         (hfy-force-fontification): Use run-hooks.
9169 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
9171         Various minor fixes.
9172         * htmlfontify.el (hfy-default-header): Add toggle_invis since
9173         Javascript belongs in the header, not the body.
9174         (hfy-javascript): Remove.
9175         (hfy-fontify-buffer): Don't insert it any more.
9176         (hfy-face-at): Handle (face0 face1 face2) style face properties.
9177         Fix bug in invis handling when there were no invis props in a chunk.
9179 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9181         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9183 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
9185         * finder.el (finder-mode-map): Add a menu.
9187 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
9189         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9190         "unsigned" structs.
9192         (verilog-leap-to-head, verilog-backward-token): Handle "disable
9193         fork" statement better.
9195 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
9197         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9198         (verilog-delete-auto, verilog-delete-empty-auto-pair)
9199         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9200         Reported by Clay Douglass.
9202         (verilog-auto-inst, verilog-auto-star-safe)
9203         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9204         Fix removing "// Interfaces" when saving .* expansions.  Reported by
9205         Pierre-David Pfister.
9207 2009-11-26  Glenn Morris  <rgm@gnu.org>
9209         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9210         the scope.
9212 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
9214         * vc-annotate.el (vc-annotate-revision-previous-to-line):
9215         Really use previous revision.
9217 2009-11-25  Kevin Ryde  <user42@zip.com.au>
9219         * man.el (Man-completion-table): default-directory "/" in case
9220         doesn't otherwise exist.  process-environment COLUMNS=999 so as
9221         not to truncate long names.  process-connection-type pipe to avoid
9222         any chance of hitting the pseudo-tty TIOCGWINSZ.
9223         (man): completion-ignore-case t for friendliness and since man
9224         itself is case-insensitive on the command line.
9225         Further to Bug#3717.
9227         * arc-mode.el: Add "Keywords: files", so the details in its
9228         commentary can be reached from finder-by-keyword.
9229         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
9230         editing mode, but it's comms related and sgml-mode.el has "comm"
9231         on that basis too.
9232         * textmodes/bibtex-style.el: Add "Keywords: tex".
9233         * international/isearch-x.el, international/ja-dic-cnv.el:
9234         * international/ja-dic-utl.el, international/kkc.el:
9235         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9237 2009-11-25  Juri Linkov  <juri@jurta.org>
9239         * man.el (Man-completion-table): Modify regexp to include
9240         section names to completion strings.  (Bug#3717)
9242 2009-11-25  Juri Linkov  <juri@jurta.org>
9244         Search recursively in gzipped files.  (Bug#4982)
9246         * progmodes/grep.el (grep-highlight-matches): Add new options
9247         `always' and `auto'.  Doc fix.
9248         (grep-process-setup): Check `grep-highlight-matches' for
9249         `auto-detect' to determine the need to compute grep defaults.
9250         Move Windows/DOS specific --colors settings handling
9251         to `grep-compute-defaults'.  Check `grep-highlight-matches'
9252         to get the value of "--color=".
9253         (grep-compute-defaults): Compute `grep-highlight-matches' when it
9254         has the value `auto-detect'.  Move Windows/DOS specific settings
9255         from `grep-process-setup'.
9256         (zrgrep): New command with alias `rzgrep'.
9258 2009-11-25  Juri Linkov  <juri@jurta.org>
9260         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9261         to nil instead of switching off view-mode.  (Bug#4896)
9263 2009-11-25  Juri Linkov  <juri@jurta.org>
9265         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
9267         * mwheel.el (mwheel-scroll-up-function)
9268         (mwheel-scroll-down-function): New defvars.
9269         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9270         `scroll-up', and `mwheel-scroll-down-function' instead of
9271         `scroll-down'.
9273         * doc-view.el (doc-view-scroll-up-or-next-page)
9274         (doc-view-scroll-down-or-previous-page): Add optional ARG.
9275         Use this ARG in the call to image-scroll-up/image-scroll-down.
9276         Change `interactive' spec to "P".  Goto next/previous page only
9277         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9278         SPC/DEL case).  Doc fix.
9279         (doc-view-next-line-or-next-page)
9280         (doc-view-previous-line-or-previous-page): Rename arg to ARG
9281         for consistency.
9282         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9283         `doc-view-scroll-up-or-next-page', and buffer-local
9284         `mwheel-scroll-down-function' to
9285         `doc-view-scroll-down-or-previous-page'.
9287 2009-11-25  Juri Linkov  <juri@jurta.org>
9289         Provide additional default values (directories at other Dired
9290         windows) via M-n in the minibuffer of some Dired commands.
9292         * dired-aux.el (dired-diff, dired-compare-directories)
9293         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9294         `minibuffer-default' in `minibuffer-with-setup-hook'.
9295         (dired-dwim-target-directory): Find a window that displays Dired
9296         buffer instead of failing when the next window is not Dired.
9297         Use `get-window-with-predicate' to find for the next Dired window.
9298         (dired-dwim-target-defaults): New function.
9300         * ediff-util.el (ediff-read-file-name):
9301         Use `dired-dwim-target-defaults' to set `minibuffer-default'
9302         in `minibuffer-with-setup-hook'.
9304 2009-11-25  Juri Linkov  <juri@jurta.org>
9306         Provide additional default values (file name at point or at the
9307         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
9309         * minibuffer.el (read-file-name-defaults): New function.
9310         (read-file-name): Reset `minibuffer-default' to nil when
9311         it duplicates initial input `insdef'.
9312         Bind `minibuffer-default-add-function' to lambda that
9313         calls `read-file-name-defaults' in `minibuffer-selected-window'.
9314         (minibuffer-insert-file-name-at-point): New command.
9316         * files.el (file-name-at-point-functions): New defcustom.
9317         (find-file-default): Remove defvar.
9318         (find-file-read-args): Don't use `find-file-default'.
9319         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9320         to `read-file-name'.
9321         (find-file-literally): Use `read-file-name' with
9322         `confirm-nonexistent-file-or-buffer'.
9324         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9326         * dired.el (dired-read-dir-and-switches):
9327         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9328         to `read-file-name'.
9329         (dired-file-name-at-point): New function.
9330         (dired-mode): Add hook `dired-file-name-at-point' to
9331         `file-name-at-point-functions'.
9333 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9335         Really make the *Completions* window soft-dedicated (bug#5030).
9336         * window.el (window--display-buffer-2): Add `dedicated' argument.
9337         (display-buffer): Pass it when needed so the dedicated flag is set
9338         after calling set-window-buffer, which would otherwise reset it.
9340 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9342         * progmodes/meta-mode.el (meta-complete-symbol):
9343         * progmodes/etags.el (complete-tag):
9344         * mail/mailabbrev.el (mail-abbrev-complete-alias):
9345         Use completion-in-region.
9347         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9348         (dabbrev-completion): Use completion-in-region.
9349         (dabbrev--abbrev-at-point): Simplify regexp.
9351         * abbrev.el (abbrev--before-point): Use word-motion functions
9352         if :regexp is not specified (bug#5031).
9354         * subr.el (string-prefix-p): New function.
9356         * man.el (Man-completion-cache): New var.
9357         (Man-completion-table): Use it.
9359         * vc.el (vc-print-log-internal): Make `limit' optional for better
9360         compatibility (e.g. with vc-annotate.el).
9362 2009-11-24  Kevin Ryde  <user42@zip.com.au>
9364         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9365         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
9367         * emacs-lisp/elint.el (elint-add-required-env): Better error message
9368         when .el source file not found or other error.
9370 2009-11-24  Markus Triska  <markus.triska@gmx.at>
9372         * linum.el (linum-update-window): Ignore intangible (bug#4996).
9374 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9376         Handle the [back] button properly (bug#4979).
9377         * descr-text.el (describe-text-properties): Add a `buffer' argument.
9378         Use help-setup-xref, help-buffer, and with-help-window.
9379         (describe-char): Add `buffer' argument.
9380         Pass proper command to help-setup-xref.  Don't meddle with
9381         help-xref-stack-item directly.
9382         (describe-text-category): Use with-help-window and help-buffer.
9384         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9385         for the displayed buffer (bug#4887).
9387         * man.el (Man-completion-table): New function.
9388         (man): Use it.
9390 2009-11-24  David Reitter  <david.reitter@gmail.com>
9392         * vc-git.el (vc-git-registered): Use checkout directory (where
9393         .git is) rather than the file's directory and a relative path spec
9394         to work around a bug in git.
9396 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
9398         Improve handling of processes on remote hosts.
9400         * eshell/esh-util.el (eshell-path-env): New defvar.
9401         (eshell-parse-colon-path): New defun.
9402         (eshell-file-attributes): Use `eshell-parse-colon-path'.
9404         * eshell/esh-ext.el (eshell-search-path):
9405         Use `eshell-parse-colon-path'.
9406         (eshell-remote-command): Remove argument HANDLER.
9407         (eshell-external-command): Check for FTP remote connection.
9409         * eshell/esh-proc.el (eshell-gather-process-output):
9410         Use `file-truename', in order to start also symlinked files.
9411         Apply `start-file-process' instead of `start-process'.
9412         Shorten `command' to the local file name part.
9414         * eshell/em-cmpl.el (eshell-complete-commands-list):
9415         Use `eshell-parse-colon-path'.
9417         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9419         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
9420         to `eshell-directory-change-hook'.
9422 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
9424         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9425         because it could be enabled automatically if view-read-only is non-nil.
9427 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
9429         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9430         made on 2009-11-22.
9432 2009-11-24  Glenn Morris  <rgm@gnu.org>
9434         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9435         deleted variable bookmark-bmenu-bookmark-column.
9437 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9439         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9441 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9443         * net/browse-url.el (browse-url-filename-alist): On Windows, add
9444         two slashes to the "file:" prefix.
9445         (browse-url-file-url): De-munge Cygwin filenames before passing
9446         them to Windows browser.
9447         (browse-url-default-windows-browser): Use call-process.
9449 2009-11-23  Juri Linkov  <juri@jurta.org>
9451         Implement DocView Continuous mode.  (Bug#4896)
9452         * doc-view.el (doc-view-continuous-mode): New defcustom.
9453         (doc-view-mode-map): Bind C-n/<down> to
9454         `doc-view-next-line-or-next-page', C-p/<up> to
9455         `doc-view-previous-line-or-previous-page'.
9456         (doc-view-next-line-or-next-page)
9457         (doc-view-previous-line-or-previous-page): New commands.
9459 2009-11-23  Juri Linkov  <juri@jurta.org>
9461         Implement Isearch in comint input history.  (Bug#3746)
9462         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9463         `isearch-mode-hook'.
9464         (comint-history-isearch): New defcustom.
9465         (comint-history-isearch-backward)
9466         (comint-history-isearch-backward-regexp): New commands.
9467         (comint-history-isearch-message-overlay): New buffer-local variable.
9468         (comint-history-isearch-setup, comint-history-isearch-end)
9469         (comint-goto-input, comint-history-isearch-search)
9470         (comint-history-isearch-message, comint-history-isearch-wrap)
9471         (comint-history-isearch-push-state)
9472         (comint-history-isearch-pop-state): New functions.
9474 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
9476         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9477         return.
9478         (tramp-handle-make-symbolic-link)
9479         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9480         Quote file names.
9481         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9482         (tramp-handle-process-file): Use it.
9484 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9486         * window.el (move-to-window-line-last-op): Remove.
9487         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9489 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9491         Make M-r mirror the new cycling behavior of C-l.
9492         * window.el (move-to-window-line-last-op): New var.
9493         (move-to-window-line-top-bottom): New command.
9494         (global-map): Bind M-r move-to-window-line-top-bottom.
9496 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
9498         * dired-x.el (dired-guess-shell-alist-default):
9499         Support xz format.  (Bug#4953)
9501 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
9503         * emulation/viper-cmd.el: Use viper-last-command-char instead of
9504         last-command-char/last-command-event.
9505         (viper-prefix-arg-value): Do correct conversion of event-char for
9506         XEmacs.
9508         * emulation/viper-util.el, emulation/viper.el:
9509         Use viper-last-command-char instead of
9510         last-command-char/last-command-event.
9512         * ediff-init.el, ediff-mult.el, ediff-util.el:
9513         Replace last-command-char and last-command-event
9514         with (ediff-last-command-char) everywhere.
9516         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9517         created in fundamental mode.
9519         * ediff.el (ediff-version): Revert the change of interactive-p to
9520         called-interactively-p.
9522 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
9524         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9525         generation from word-movement command names.
9527 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
9529         * cus-start.el (all): Add native condition for font-use-system-font.
9531 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
9533         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9534         Correct the patch from 2009-11-18.  (Bug#3910)
9536 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
9538         * progmodes/subword.el: Rename from lisp/subword.el.
9540         * subword.el: Rename to progmodes/subword.el.
9542         * Makefile.in (ELCFILES): Adapt to subword.el move.
9544 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9545             Stefan Monnier  <monnier@iro.umontreal.ca>
9547         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9548         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9549         (bookmark-bmenu-show-filenames): Use push.
9550         (bookmark-bmenu-hide-filenames): Use local var instead of
9551         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
9552         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9553         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9554         filenames now that the bookmark names are always available.
9556 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9558         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9559         (bookmark-search-pattern): Move and leave unbound.
9560         (bookmark-bmenu-mode-map): Change binding.
9561         (bookmark-read-search-input): Simplify.
9562         Don't use text-char-description.  Don't error on non-char events.
9563         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9564         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9565         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9566         Use a local var for the timer.
9567         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9568         (i.e. bookmark-bmenu-search).
9570 2009-11-21  Glenn Morris  <rgm@gnu.org>
9572         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
9574 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9576         * net/browse-url.el (browse-url-default-windows-browser):
9577         Use cygstart for cygwin.
9579 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
9581         * bookmark.el: Formatting and doc fixes only:
9582         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9583         (bookmark-bmenu-search): Wrap to fit within 80 columns.
9584         Minor grammar and punctuation fixes in doc string.
9585         (bookmark-read-search-input): Adjust to fit within 80 columns.
9587 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9589         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9590         (c-backward-into-nomenclature): Adapt to subword renaming.
9592         * subword.el (subword-forward, subword-backward, subword-mark)
9593         (subword-kill, subword-backward-kill, subword-transpose)
9594         (subword-downcase, subword-upcase, subword-capitalize)
9595         (subword-forward-internal, subword-backward-internal):
9596         Rename from forward-subword, backward-subword, mark-subword,
9597         kill-subword, backward-kill-subword, transpose-subwords,
9598         downcase-subword, upcase-subword, capitalize-subword,
9599         forward-subword-internal, backward-subword-internal.
9601 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9603         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9604         New options.
9605         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9606         New vars.
9607         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9608         (bookmark-bmenu-filter-alist-by-regexp)
9609         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9610         (bookmark-bmenu-search): New command.
9611         (bookmark-bmenu-mode-map): Bind it.
9613 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9615         * progmodes/cc-cmds.el: declare-functioned forward-subword and
9616         backward-subword to quit the byte-compiler.
9618         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9620         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9622         * progmodes/cc-cmds.el (c-update-modeline)
9623         (c-forward-into-nomenclature, c-backward-into-nomenclature):
9624         Refer to subword.el functions instead of cc-subword.el.
9626         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9627         subword.el functions instead of cc-subword.el.
9629         * progmodes/cc-subword.el: Rename to subword.el.
9630         * subword.el: Rename from progmodes/cc-subword.el.
9631         (subword-mode-map): Rename from c-subword-mode-map.
9632         (subword-mode): Rename from c-subword-mode.
9633         (global-subword-mode): New global minor mode.
9634         (forward-subword): Rename from c-forward-subword.
9635         (backward-subword): Rename from c-backward-subword.
9636         (mark-subword): Rename from c-mark-subword.
9637         (kill-subword): Rename from c-kill-subword.
9638         (backward-kill-subword): Rename from c-backward-kill-subword.
9639         (transpose-subwords): Rename from c-tranpose-subword.
9640         (downcase-subword): Rename from c-downcase-subword.
9641         (capitalize-subword): Rename from c-capitalize-subword.
9642         (forward-subword-internal): Rename from c-forward-subword-internal.
9643         (backward-subword-internal): Rename from c-backward-subword-internal.
9645 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
9647         * vc.el (vc-deduce-fileset): Allow non-state changing operations
9648         from a dired buffer.
9649         (vc-dired-deduce-fileset): New function.
9650         (vc-root-diff, vc-print-root-log): Use it.
9652         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9653         nil LIMIT argument to vc-print-log-internal.
9655 2009-11-20  Glenn Morris  <rgm@gnu.org>
9657         * Makefile.in (ELCFILES): Regenerate.
9659 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
9661         * calc/calc.el (calc-set-mode-line):
9662         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9663         (math-format-number): Rename `math-format-complement-signed' to
9664         `math-format-twos-complement'.
9666         * calc/calc-bin.el (math-format-twos-complement): Rename from
9667         math-format-complement-signed.
9668         (calc-radix): Rename `calc-complement-signed-mode' to
9669         `calc-twos-complement-mode'.
9670         (calc-octal-radix, calc-hex-radix): Add an argument for
9671         two's complement.
9673         * calc/calc-embed.el (calc-embedded-mode-vars):
9674         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9676         * calc/calc-ext.el (calc-init-extensions):
9677         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9678         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9680         * calc/calc-units.el (math-build-units-table-buffer):
9681         Let `calc-twos-complement-mode' be nil.
9683         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9684         entries.
9686         * calc/calc-vec.el (calcFunc-vunpack):
9687         * calc/calc-aent.el (calc-do-calc-eval):
9688         * calc/calc-forms.el (math-format-date):
9689         * calc/calc-graph.el (calc-graph-plot):
9690         * calc/calc-math.el (math-use-emacs-fn):
9691         * calc/calccomp.el (math-compose-expr):
9692         Let `calc-twos-complement-mode' be nil.
9694 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9696         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9697         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
9698         * minibuffer.el (completion-in-region-functions): New hook.
9699         (completion-in-region): New function.
9700         * emacs-lisp/lisp.el (lisp-complete-symbol):
9701         * pcomplete.el (pcomplete-std-complete): Use it.
9703 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9705         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9706         (latex-complete-alist): New vars.
9707         (latex-string-prefix-p, latex-complete-bibtex-keys)
9708         (latex-complete-envnames, latex-complete-refkeys)
9709         (latex-complete-data): New functions.
9710         (latex-complete, latex-indent-or-complete): New commands.
9712         * window.el (display-buffer-mark-dedicated): New var.
9713         (display-buffer): Obey it.
9714         * minibuffer.el (minibuffer-completion-help): Use it.
9716         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9718         * filecache.el (file-cache-add-file): Use push and cons.
9719         (file-cache-delete-file-regexp): Use push.
9720         (file-cache-complete): Use completion-in-region.
9722         * simple.el (with-wrapper-hook): Fix thinko.
9724         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9725         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9726         Use with-current-buffer and string-to-number.
9727         (hfy-fallback-colour-values): Use assoc-string.
9728         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9729         (hfy-face-at): Remove unused var `found-face'.
9730         (hfy-compile-stylesheet): Remove unused var `css'.
9731         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9732         and `orig-buffer'.
9733         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9734         Use with-current-buffer.
9735         (hfy-text-p): Use expand-file-name and fewer setq.
9737 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
9739         * htmlfontify.el, hfy-cmap.el: New files.
9741 2009-11-19  Juri Linkov  <juri@jurta.org>
9743         * minibuffer.el (completions-format): New defcustom.
9744         (completion--insert-strings): Implement vertical format.
9746         * simple.el (switch-to-completions): Move point to the first
9747         completion when point was at the beginning of the buffer.
9749 2009-11-19  Juri Linkov  <juri@jurta.org>
9751         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
9753         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9755 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
9757         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9758         (mail-signature): Change default to t.
9759         (mail-from-style): Deprecate `system-default' value.
9760         (mail-insert-from-field): For default value of mail-from-style,
9761         default to `angles' unless `angles' needs quoting and `parens'
9762         does not.
9763         (mail-citation-prefix-regexp): Use citation regexp from
9764         message-mode.
9766 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
9768         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9769         Set variables for computing the prompt for reading password.
9771 2009-11-19  Glenn Morris  <rgm@gnu.org>
9773         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
9775         * textmodes/flyspell.el (sgml-lexical-context): Declare.
9777         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9778         (newsticker-treeview-listwindow-height): Fix custom type.
9780 2009-11-19  Kenichi Handa  <handa@m17n.org>
9782         * descr-text.el (describe-char-padded-string): Compose with TAB
9783         only if there's a font for CH.
9784         (describe-char): Fix the condition for detecting a trivial composition.
9786 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
9788         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9789         more accurate version of the regexp.  (Bug#3910)
9791 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
9793         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9795 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
9797         * font-setting.el (font-use-system-font): Declare for byte-compiler.
9798         (font-setting-change-default-font): Fix typo in docstring.
9800 2009-11-18  Alan Mackenzie  <acm@muc.de>
9802         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9804 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9806         * font-setting.el (font-use-system-font): Move ...
9808         * cus-start.el (all): ... to here.
9810 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
9812         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9813         Don't set `ad-return-value' if `ad-do-it' doesn't.
9815         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9816         modification time.
9818 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9820         * menu-bar.el: Put "Use system font" in Option-menu.
9821         (menu-bar-options-save): Add font-use-system-font.
9823         * loadup.el: If feature system-font-setting or font-render-setting is
9824         there, load font-setting.
9826         * Makefile.in (ELCFILES): Add font-settings.el.
9827         * font-setting.el: New file.
9829 2009-11-17  Glenn Morris  <rgm@gnu.org>
9831         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9833         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9834         Preserve point in the list buffer.  (Bug#4939)
9835         Use point-at-eol.
9836         (newsticker--treeview-list-update-highlight)
9837         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9839 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
9841         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9842         Remove.
9844         * calc/calc-ext.el (calc-init-extensions): Remove references to
9845         symclip.
9847         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9849         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9850         * calc/calc-help.el (calc-b-prefix-help): Remove references to
9851         `calc-symclip'.
9853 2009-11-16  Kevin Ryde  <user42@zip.com.au>
9855         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9856         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9858         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9859         (lm-keywords-list): Allow comma-only separator like "foo,bar".
9860         Ignore trailing spaces by omit-nulls to split-string (fixing
9861         regression from Emacs 21 due to the incompatible split-string
9862         change).  (Bug #4928.)
9864 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
9866         * vc.el (vc-log-show-limit): Default to 2000.
9867         (vc-print-log-internal): Insert buttons to request more entries
9868         when limiting the output.
9870         * vc-sccs.el (vc-sccs-print-log):
9871         * vc-rcs.el (vc-rcs-print-log):
9872         * vc-cvs.el (vc-cvs-print-log):
9873         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9874         LIMIT is non-nil.
9876 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
9878         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9879         error when `tramp-gvfs-dbus-event-vector' is set.
9880         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9882 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9884         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9886 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
9888         * net/dbus.el (dbus-unregister-service): New defun.
9889         (dbus-register-property): Register the handlers of
9890         "org.freedesktop.DBus.Properties" for SERVICE.
9891         (dbus-property-handler): Fix docstring.
9893 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
9895         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9896         Quote doc string reference in defvaralias as it is not in special form.
9897         (byte-compile-output-docform): Doc fix.
9899 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
9901         * calc/calc.el (math-2-word-size, math-half-2-word-size)
9902         (calc-complement-signed-mode): New variables.
9903         (calc-set-mode-line): Add indicator for twos-complements.
9904         (math-format-number): Format twos-complement notation.
9906         * calc/calc-bin.el (calc-word-size): Reset the variables
9907         `math-2-word-size' and `math-half-2-word-size'.
9908         (math-format-complement-signed, math-symclip, calcFunc-symclip)
9909         (calc-symclip): New functions.
9911         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9913         * calc/calc-embed.el (calc-embedded-mode-vars):
9914         Add `calc-complement-signed-mode' to the list of modes.
9916         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9917         (calc-b-oper-keys): Add `calc-symclip' to list.
9919         * calc/calc-ext.el (math-read-number-fancy): Read complement
9920         signed numbers.
9921         (calc-init-extensions): Add binding for `calc-symclip'.
9922         Add autoload for `calcFunc-symclip' and `calc-symclip'.
9924         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9925         `calc-symclip'.
9926         (calc-modes-menu): Add item for twos complement mode.
9928         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9930 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
9932         * register.el (jump-to-register, insert-register): Handle Semantic
9933         tags.  From commented-out advice in semantic/senator.el.
9935 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
9937         * vc.el (vc-log-show-limit): New variable.
9938         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
9939         when using a prefix argument.
9940         (vc-print-log-internal): Add new argument LIMIT.
9942         * vc-svn.el (vc-svn-print-log):
9943         * vc-mtn.el (vc-mtn-print-log):
9944         * vc-hg.el (vc-hg-print-log):
9945         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
9946         pass it to the log command when set.  Make the BUFFER argument
9947         non-optional.
9949         * vc-sccs.el (vc-sccs-print-log):
9950         * vc-rcs.el (vc-rcs-print-log):
9951         * vc-git.el (vc-git-print-log):
9952         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
9953         ignore it.  Make the BUFFER argument non-optional
9955         * bindings.el (mode-line-buffer-identification): Do not purecopy.
9957 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
9959         * dired.el (dired-mode-map): Move encryption items to "Operate"
9960         menu (Bug#4703).
9962         * strokes.el (strokes-update-window-configuration): Make strokes
9963         buffer current before erasing (Bug#4906).
9965 2009-11-15  Juri Linkov  <juri@jurta.org>
9967         * simple.el (set-mark-default-inactive): Add :type, :group
9968         and :version.  (Bug#4876)
9970 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
9972         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
9973         (archive-unique-fname): ... here.  (Bug#4929)
9975 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9977         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
9978         with a real fix.
9980         * novice.el (disabled-command-function): Add useful args.
9981         Setup the help buffer so that [back] works.
9982         Remove redundant call to help-mode.
9983         (disabled-command-function): Use `case'.
9984         (en/disable-command): New function extracted from enable-command.
9985         (enable-command, disable-command): Use it.
9987 2009-11-14  Glenn Morris  <rgm@gnu.org>
9989         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
9990         constants.  (Bug#4913)
9992         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
9994 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
9996         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
9997         defined in C that have no doc-strings.  (Bug#1063)
9999 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
10001         * cus-edit.el (data, files):
10002         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
10004 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
10006         * simple.el (shell-command): Doc fix (Bug#4891).
10008         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10010 2009-11-14  Glenn Morris  <rgm@gnu.org>
10012         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10013         statements for vc-diff, emerge-quit, and rmail-cease-edit.
10014         If they are already loaded, eval-after-load will do the right thing.
10016         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10017         compiling.
10019         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10021         * simple.el (x-selection-owner-p): Declare.
10022         (read-mail-command): Use custom radio type rather than choice.
10023         (completion-no-auto-exit): Doc fix.
10025         * custom.el (defgroup):
10026         * epg-config.el (epg): Doc fixes.
10028 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
10030         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10031         * international/ccl.el (define-ccl-program): Do not purecopy the
10032         docstring, defconst does it anyway.
10034 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10036         * add-log.el (add-change-log-entry): Avoid displaying the changelog
10037         a second time.
10039         * x-dnd.el (x-dnd-maybe-call-test-function):
10040         * window.el (split-window-vertically):
10041         * whitespace.el (whitespace-help-on):
10042         * vc-rcs.el (vc-rcs-consult-headers):
10043         * userlock.el (ask-user-about-lock-help)
10044         (ask-user-about-supersession-help):
10045         * type-break.el (type-break-force-mode-line-update):
10046         * time-stamp.el (time-stamp-conv-warn):
10047         * terminal.el (te-set-output-log, te-more-break, te-filter)
10048         (te-sentinel, terminal-emulator):
10049         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10050         (term-write-input-ring, term-check-source, term-start-output-log):
10051         (term-display-buffer-line, term-dynamic-list-completions):
10052         (term-ansi-make-term, serial-term):
10053         * subr.el (selective-display):
10054         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10055         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10056         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10057         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10058         (speedbar-remove-localized-speedbar-support)
10059         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10060         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10061         (speedbar-buffers-line-directory):
10062         * simple.el (shell-command-on-region, append-to-buffer)
10063         (prepend-to-buffer):
10064         * shadowfile.el (shadow-save-todo-file):
10065         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10066         (scroll-bar-maybe-set-window-start):
10067         * sb-image.el (speedbar-image-dump):
10068         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10069         (load-save-place-alist-from-file):
10070         * ps-samp.el (ps-print-message-from-summary):
10071         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10072         (ps-background-image, ps-begin-job, ps-do-despool):
10073         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10074         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10075         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10076         (pr-call-process, pr-file-list, pr-interface-save):
10077         * novice.el (disabled-command-function)
10078         (enable-command, disable-command):
10079         * mouse.el (mouse-buffer-menu-alist):
10080         * mouse-copy.el (mouse-kill-preserving-secondary):
10081         * macros.el (kbd-macro-query):
10082         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10083         * informat.el (batch-info-validate):
10084         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10085         * hippie-exp.el (try-expand-dabbrev-visible):
10086         * help-mode.el (help-make-xrefs):
10087         * help-fns.el (describe-variable):
10088         * generic-x.el (bat-generic-mode-run-as-comint):
10089         * finder.el (finder-mouse-select):
10090         * find-dired.el (find-dired-sentinel):
10091         * filesets.el (filesets-file-close):
10092         * files.el (list-directory):
10093         * faces.el (list-faces-display, describe-face):
10094         * facemenu.el (list-colors-display):
10095         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10096         * epg.el (epg--process-filter, epg-cancel):
10097         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10098         (epa--read-signature-type):
10099         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10100         (emerge-file-names):
10101         * ehelp.el (electric-helpify):
10102         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10103         * ediff-vers.el (rcs-ediff-view-revision):
10104         * ediff-util.el (ediff-setup):
10105         * ediff-mult.el (ediff-append-custom-diff):
10106         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10107         (ediff-wordify):
10108         * echistory.el (Electric-command-history-redo-expression):
10109         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10110         * disp-table.el (describe-display-table):
10111         * dired.el (dired-find-buffer-nocreate):
10112         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10113         * dabbrev.el (dabbrev--same-major-mode-p):
10114         * chistory.el (list-command-history):
10115         * apropos.el (apropos-documentation):
10116         * allout.el (allout-obtain-passphrase):
10117         (allout-copy-exposed-to-buffer):
10118         (allout-verify-passphrase): Use with-current-buffer.
10120 2009-11-13  Glenn Morris  <rgm@gnu.org>
10122         * Makefile.in (ELCFILES): Regenerate.
10124 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10126         * net/dbus.el (dbus-registered-objects-table): Rename from
10127         `dbus-registered-functions-table', because it contains also properties.
10128         (dbus-unregister-object): Unregister also properties.
10129         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10130         Use a timeout of 500 msec, in order to not block.
10131         (dbus-register-property, dbus-property-handler): New defuns.
10133 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10135         * simple.el (minibuffer-default-add-completions): Drop deprecated
10136         4th arg.
10138 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
10140         * textmodes/artist.el (artist-mouse-choose-operation):
10141         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10142         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10143         (artist-compute-up-event-key): New function.
10144         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10146 2009-11-13  Kenichi Handa  <handa@m17n.org>
10148         * language/japan-util.el: Make sure that the value of jisx0208
10149         property is jisx0208 character.
10151 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
10153         * international/mule.el (auto-coding-regexp-alist): Only purecopy
10154         car or each item, not the whole list.
10156 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10158         * minibuffer.el (minibuffer-completion-help):
10159         Use minibuffer-hide-completions.
10161 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
10163         * dired.el (dired-save-positions, dired-restore-positions): New funs.
10164         (dired-revert): Use them (bug#4880).
10166 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10168         * tooltip.el (tooltip-frame-parameters): Undo previous change.
10170 2009-11-12  Juri Linkov  <juri@jurta.org>
10172         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10173         New functions.
10174         (find-file-literally-at-point): Alias of `ffap-literally'.
10176 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10178         * textmodes/ispell.el (ispell-skip-region-alist):
10179         * textmodes/css-mode.el (auto-mode-alist):
10180         * progmodes/compile.el (auto-mode-alist):
10181         * international/mule.el (ctext-non-standard-encodings-alist)
10182         (ctext-non-standard-encodings-regexp):
10183         * simple.el (shell-command-switch, text-read-only):
10184         * replace.el (occur-mode-map):
10185         * paths.el (rmail-file-name):
10186         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10187         * find-file.el (ff-special-constructs):
10188         * files.el (file-name-handler-alist):
10189         * composite.el: Purecopy strings.
10191         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10193 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10195         * widget.el (define-widget): Purecopy the docstring.
10196         * international/mule-cmds.el (charset): Do not purecopy the
10197         docstring here, define-widget does it.
10199         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10200         * textmodes/bibtex-style.el (auto-mode-alist):
10201         * progmodes/inf-lisp.el (inferior-lisp-prompt):
10202         * progmodes/compile.el (compile-command):
10203         * language/korea-util.el (default-korean-keyboard):
10204         * international/mule-conf.el (file-coding-system-alist):
10205         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10206         * tooltip.el (tooltip-frame-parameters):
10207         * newcomment.el (comment-end, comment-padding):
10208         * dired.el (dired-trivial-filenames):
10209         * comint.el (comint-file-name-prefix): Purecopy initial values.
10211 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
10213         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10214         (tramp-advice-minibuffer-electric-tilde): Unload advices via
10215         `tramp-unload'.
10216         (tramp-advice-make-auto-save-file-name)
10217         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10218         after removing the advice.
10220 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10222         * progmodes/grep.el (grep-regexp-alist):
10223         * international/mule-cmds.el (iso-2022-control-alist):
10224         * emacs-lisp/timer.el (timer-duration-words):
10225         * subr.el (version-separator, version-regexp-alist):
10226         * minibuffer.el (completion-styles-alist):
10227         * faces.el (face-attribute-name-alist, list-faces-sample-text):
10228         Change defvars to defconsts.
10230         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10231         * loadup.el ("international/mule-conf"): Load the byte compiled version.
10232         * international/mule-conf.el: Allow to be byte compiled.
10234         * international/mule.el (define-charset): Purecopy props.
10235         (load-with-code-conversion): Purecopy doc string and file name.
10236         (put-charset-property): Purecopy strings.
10237         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10239         * international/mule-cmds.el (register-input-method): Purecopy arguments.
10240         (define-char-code-property): Correctly purecopy the table.
10242         * international/ccl.el (define-ccl-program): Purecopy the docstring.
10244         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10246         * subr.el (add-hook): Purecopy strings.
10247         (eval-after-load): Purecopy load-history-regexp and the form.
10249         * custom.el (custom-declare-group): Purecopy load-file-name.
10251         * subr.el (menu-bar-separator): New defconst.
10252         * net/eudc.el (eudc-tools-menu):
10253         * international/mule-cmds.el (set-coding-system-map)
10254         (mule-menu-keymap):
10255         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10256         * vc-hooks.el (vc-menu-map):
10257         * replace.el (occur-mode-map):
10258         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10259         (menu-bar-edit-menu, menu-bar-goto-menu)
10260         (menu-bar-custom-menu, menu-bar-showhide-menu)
10261         (menu-bar-options-menu, menu-bar-tools-menu)
10262         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10263         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10264         (menu-bar-help-menu):
10265         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10266         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10268         * term/x-win.el (x-gtk-stock-map):
10269         * progmodes/vera-mode.el (auto-mode-alist):
10270         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10271         (inferior-lisp-program, inferior-lisp-load-command):
10272         * progmodes/hideshow.el (hs-special-modes-alist):
10273         * progmodes/gud.el (same-window-regexps):
10274         * progmodes/grep.el (grep-program, find-program, xargs-program):
10275         * net/telnet.el (same-window-regexps):
10276         * net/rlogin.el (same-window-regexps):
10277         * language/ethiopic.el (font-ccl-encoder-alist):
10278         * vc-sccs.el (vc-sccs-master-templates):
10279         * vc-rcs.el (vc-rcs-master-templates):
10280         * subr.el (cl-assertion-failed):
10281         * simple.el (next-error-overlay-arrow-position):
10282         * lpr.el (lpr-command):
10283         * locate.el (locate-ls-subdir-switches):
10284         * info.el (same-window-regexps, info)
10285         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10286         * image-mode.el (image-mode, auto-mode-alist):
10287         * hippie-exp.el (hippie-expand-ignore-buffers):
10288         * format.el (format-alist):
10289         * find-dired.el (find-ls-subdir-switches, find-grep-options)
10290         (find-name-arg):
10291         * facemenu.el (facemenu-keybindings):
10292         * dired.el (dired-listing-switches, dired-chown-program):
10293         * diff.el (diff-switches, diff-command):
10294         * cus-edit.el (same-window-regexps):
10295         * bindings.el (mode-line-mule-info)
10296         (mode-line-buffer-identification): Purecopy strings.
10298 2009-11-11  Juri Linkov  <juri@jurta.org>
10300         * simple.el (dired-get-filename) <declare-function>:
10301         Tell the byte-compiler about dired-get-filename.
10302         (shell-command): In Dired mode, get filename from the current line
10303         as the default value.
10305 2009-11-10  Glenn Morris  <rgm@gnu.org>
10307         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10308         * calendar/holidays.el, progmodes/cperl-mode.el:
10309         Update x-popup-menu declarations.
10311         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10312         (list-load-path-shadows): Use dolist.
10313         (list-load-path-shadows): Use with-current-buffer.
10315 2009-11-10  Juri Linkov  <juri@jurta.org>
10317         * minibuffer.el (read-file-name): Support a list of default values
10318         in `default-filename'.  Use the first file name where only one
10319         element is required.  Doc fix.
10321 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
10323         * net/dbus.el (dbus-unregister-object): Release service, if no
10324         other method is registered for it.
10326 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
10328         * bookmark.el (bookmark-completing-read): Sort bookmark names if
10329         bookmark-sort-flag is non-nil (Bug#4653).
10331 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10333         * emulation/cua-base.el: Add CUA property to some CC mode commands
10334         (Bug#4100).
10336 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10338         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10339         at end of sentence (Bug#4818).
10341 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
10343         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10344         Handle "see declaration of" MSFT statements (Bug#4100).
10346 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
10348         * net/tramp.el (tramp-advice-make-auto-save-file-name)
10349         (tramp-advice-file-expand-wildcards): Unload via
10350         `ad-remove-advice'.
10352         * net/trampver.el: Update release number.
10354 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10356         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10357         `ad-do-it'.
10359 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
10361         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10362         in order to keep context in SELinux.
10364 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10366         * dired-aux.el (dired-query): Place cursor in echo area and allow
10367         C-g.
10369         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10370         menu item if not on a directory (Bug#4701).
10372 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
10374         Sync with Tramp 2.1.17.
10376         * net/tramp.el (tramp-handle-copy-directory): Don't use
10377         `file-remote-p' (due to compatibility).
10379         * net/tramp-compat.el (tramp-compat-copy-directory)
10380         (tramp-compat-delete-directory): New defuns.
10382         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10383         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10384         `tramp-compat-delete-directory'.
10386         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10387         (tramp-smb-handle-delete-directory): Use
10388         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10390         * net/trampver.el: Update release number.
10392 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
10394         * tar-mode.el (tar-copy): Call write-region on the right buffer
10395         (Bug#4857).
10397         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10398         by hand, if necessary (Bug#4878).
10400 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
10402         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10403         align size column (Bug#4839).
10405         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10406         statement.
10408 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10410         * progmodes/ld-script.el (auto-mode-alist):
10411         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10413         * cus-face.el (custom-declare-face): Purecopy face spec.
10415 2009-11-06  Kenichi Handa  <handa@m17n.org>
10417         * international/uni-bidi.el: Re-generated.
10418         * international/uni-category.el: Re-generated.
10419         * international/uni-combining.el: Re-generated.
10420         * international/uni-mirrored.el: Re-generated.
10422 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10424         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10425         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10426         (tex-start-options, slitex-run-command, latex-run-command)
10427         (tex-run-command, tex-directory):
10428         * textmodes/ispell.el (ispell-html-skip-alists)
10429         (ispell-tex-skip-alists, ispell-tex-skip-alists):
10430         * textmodes/fill.el (adaptive-fill-first-line-regexp):
10431         (adaptive-fill-regexp):
10432         * textmodes/dns-mode.el (auto-mode-alist):
10433         * progmodes/python.el (interpreter-mode-alist):
10434         * progmodes/etags.el (tags-compression-info-list):
10435         * progmodes/etags.el (tags-file-name):
10436         * net/browse-url.el (browse-url-galeon-program)
10437         (browse-url-firefox-program):
10438         * mail/sendmail.el (mail-signature-file)
10439         (mail-citation-prefix-regexp):
10440         * international/mule-conf.el (eight-bit):
10441         * international/latexenc.el (latex-inputenc-coding-alist):
10442         * international/fontset.el (x-pixel-size-width-font-regexp):
10443         * emacs-lisp/warnings.el (warning-type-format):
10444         * emacs-lisp/trace.el (trace-buffer):
10445         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10446         (emacs-lisp-mode-map):
10447         * calendar/holidays.el (holiday-solar-holidays)
10448         (holiday-bahai-holidays, holiday-islamic-holidays)
10449         (holiday-christian-holidays, holiday-hebrew-holidays)
10450         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10451         (hebrew-holidays-1, holiday-oriental-holidays)
10452         (holiday-general-holidays):
10453         * x-dnd.el (x-dnd-known-types):
10454         * tool-bar.el (tool-bar):
10455         * startup.el (site-run-file):
10456         * shell.el (shell-dumb-shell-regexp):
10457         * rfn-eshadow.el (file-name-shadow-tty-properties)
10458         (file-name-shadow-properties):
10459         * paths.el (remote-shell-program, news-directory):
10460         * mouse.el ([C-down-mouse-3]):
10461         * menu-bar.el (menu-bar-tools-menu):
10462         * jka-cmpr-hook.el (jka-compr-load-suffixes)
10463         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10464         (jka-compr-compression-info-list):
10465         * isearch.el (search-whitespace-regexp):
10466         * image-file.el (image-file-name-extensions):
10467         * find-dired.el (find-ls-option):
10468         * files.el (directory-listing-before-filename-regexp)
10469         (directory-free-space-args, insert-directory-program)
10470         (list-directory-brief-switches, magic-fallback-mode-alist)
10471         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10472         (automount-dir-prefix):
10473         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10474         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10475         (face-font-registry-alternatives, face-font-registry-alternatives)
10476         (face-font-family-alternatives):
10477         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10478         (facemenu-foreground-menu, facemenu-face-menu):
10479         * epa-hook.el (epa-file-name-regexp):
10480         * dnd.el (dnd-protocol-alist):
10481         * textmodes/rst.el (auto-mode-alist):
10482         * button.el (default-button): Purecopy strings.
10484 2009-11-06  Glenn Morris  <rgm@gnu.org>
10486         * Makefile.in (ELCFILES): Update.
10488 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10490         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10491         * emacs-lisp/levents.el: Move to obsolete/levents.el.
10493         * nxml/xsd-regexp.el (xsdre-gen-categories):
10494         * nxml/xmltok.el (xmltok-parse-entity):
10495         * nxml/rng-parse.el (rng-parse-validate-file):
10496         * nxml/rng-maint.el (rng-format-manual)
10497         (rng-manual-output-force-new-line):
10498         * nxml/rng-loc.el (rng-save-schema-location-1):
10499         * nxml/rng-cmpct.el (rng-c-parse-file):
10500         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10501         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10503 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
10505         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10506         Remove extra save-excursions and make-variable-buffer-local's.
10507         Suggested by Stefan Monnier.
10509         (verilog-getopt-file, verilog-module-inside-filename-p)
10510         (verilog-set-define): Merge GNU 1.35 and repair changes from
10511         switching to using with-current-buffer.
10513         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10514         being treated as a number and confusing AUTORESET.
10515         Reported by Dan Dever.
10517         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10518         Add verilog-auto-ignore-concat to fix backward compatibility with
10519         older verilog-modes.  Reported by Dan Katz.
10521         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10522         containing closing anchors "...$".
10524         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10525         Reported by Wade Smith.
10527         (verilog-batch-execute-func): Comment on function usage.
10529 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
10531         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10532         for labels.
10534         (verilog-label-re, verilog-calc-1): Support proper indent of named
10535         asserts.
10537         (verilog-backward-token, verilog-basic-complete-re)
10538         (verilog-beg-of-statement, verilog-indent-re): Support proper
10539         indent of the assert statement at the beginning of a block of text.
10541         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10542         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10543         tokens as begins.
10545 2009-11-05  Glenn Morris  <rgm@gnu.org>
10547         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10548         Emacs 19.  (Bug#1531)
10549         (byte-compile-fix-header): Update for the above change.
10550         Drop test for epoch::version.
10552         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10553         * cus-dep.el (custom-make-dependencies):
10554         * finder.el (finder-compile-keywords):
10555         Use autoload-rubric's feature argument.
10557         * calendar/diary-lib.el (top-level): Make load behave more like require.
10559         * vc-git.el (vc-git-stash-map): Move definition before use.
10561 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
10563         * custom.el (custom-declare-group): Purecopy standard-value.
10564         (custom-declare-group): Purecopy custom-prefix.
10566         * international/mule.el (load-with-code-conversion):
10567         Call do-after-load-evaluation unconditionally.
10569         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10571 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10573         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10575 2009-11-04  Glenn Morris  <rgm@gnu.org>
10577         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10578         (byte-compile-compatibility): Remove option.
10579         (byte-compile-close-variables, byte-compile-fix-header)
10580         (byte-compile-insert-header, byte-compile-output-docform)
10581         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10582         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10583         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10584         (byte-compile-insert, byte-compile-defun):
10585         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
10586         (byte-defop-compiler19): Remove.
10587         Without byte-compile-compatibility, the 'emacs19-opcode property is not
10588         used by anything.  Replace all calls with byte-defop-compiler.
10590 2009-11-04  Juri Linkov  <juri@jurta.org>
10592         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10593         (menu-bar-options-menu): Don't quote the `prop' arg of
10594         `menu-bar-make-mm-toggle'.
10596 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
10598         * calendar/calendar.el (cal-loaddefs):
10599         * calendar/diary-lib.el (diary-loaddefs):
10600         * calendar/holidays.el (hol-loaddefs):
10601         * eshell/esh-module.el (esh-groups): Load rather than require.
10603 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10605         * calendar/todo-mode.el (todo-add-category): Don't hardcode
10606         point-min==1.
10607         (todo-top-priorities): Only display-buffer when called interactively.
10608         (todo-item-start): Don't save excursion point.
10609         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
10610         (todo-insert-item-here, todo-file-item, todo-remove-item):
10611         Adjust uses of todo-item-start and todo-item-end.
10613         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10614         (autoload-rubric): Don't use any more.
10616         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10617         and only put a prop if it is non-nil.
10619 2009-11-03  Juri Linkov  <juri@jurta.org>
10621         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10622         (menu-bar-options-menu): Fix list quoting (Bug#4429).
10624         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10625         and "Menu" to make top-level menu item visually one unit (like
10626         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10627         multi-word menu items).  Fix :help string for quit-window.
10629 2009-11-03  Glenn Morris  <rgm@gnu.org>
10631         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10632         (byte-compile-file-form-define-abbrev-table)
10633         (byte-compile-file-form-custom-declare-variable)
10634         (byte-compile-variable-ref, byte-compile-defvar):
10635         Whether or not a warning is enabled should only affect whether we issue
10636         the warning, not whether or not we collect the relevant data.
10637         Eg warnings can be turned on and off throughout the course of a file.
10639         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10640         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10642 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10644         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10645         * play/mpuz.el (mpuz-create-buffer):
10646         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10647         (lm-print-y,s,noise, lm-print-w0, lm-init):
10648         * play/gomoku.el (gomoku-prompt-for-move):
10649         * play/fortune.el (fortune-in-buffer):
10650         * play/dissociate.el (dissociated-press):
10651         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10652         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10653         * mail/supercite.el (sc-eref-show):
10654         * mail/smtpmail.el (smtpmail-send-it):
10655         * mail/rmailsum.el (rmail-summary-next-labeled-message)
10656         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10657         (rmail-summary-undelete-many, rmail-summary-rmail-update)
10658         (rmail-summary-goto-msg, rmail-summary-expunge)
10659         (rmail-summary-get-new-mail, rmail-summary-search-backward)
10660         (rmail-summary-add-label, rmail-summary-output-menu)
10661         (rmail-summary-output-body):
10662         * mail/rfc822.el (rfc822-addresses):
10663         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10664         * mail/mailpost.el (post-mail-send-it):
10665         * mail/hashcash.el (hashcash-generate-payment):
10666         * mail/feedmail.el (feedmail-run-the-queue)
10667         (feedmail-queue-send-edit-prompt-help-first)
10668         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10669         (feedmail-deduce-address-list):
10670         * eshell/esh-ext.el (eshell-remote-command):
10671         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10672         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10673         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10674         (viper-save-string-in-file, viper-valid-marker):
10675         * emulation/viper-keym.el (viper-toggle-key):
10676         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10677         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10678         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10679         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10680         (viper-exec-form-in-emacs, viper-brac-function):
10681         * emulation/viper.el (viper-delocalize-var):
10682         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10683         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10684         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10685         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10686         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10687         * emulation/edt.el (edt-electric-helpify):
10688         * emulation/cua-rect.el (cua--rectangle-aux-replace):
10689         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10690         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10691         (cua-indent-to-global-mark-column):
10692         * calendar/diary-lib.el (calendar-mark-1):
10693         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10694         Use with-current-buffer.
10695         * emulation/viper.el (viper-delocalize-var): Use dolist.
10697 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
10699         * comint.el (comint-replace-by-expanded-history-before-point):
10700         Replace !! with the previous input string literally (Bug#1795).
10702 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
10704         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10705         to be made up of whitespace.
10707 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
10709         * minibuffer.el (read-file-name): Don't use file dialogs for
10710         remote directories (Bug#99).
10712 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
10714         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10716 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10718         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10719         instead of deleting the window or frame.
10721 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10723         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10724         Support face colors.
10726         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10727         New function.  Support face colors (Bug#1168).
10728         (tex-common-initialization): Use it.
10730         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10731         mode allows it (Bug#1168).
10733 2009-10-31  Juri Linkov  <juri@jurta.org>
10735         * facemenu.el (list-colors-display): Don't mark buffer as
10736         modified (Bug#3948).
10738 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10740         * international/mule-diag.el (list-character-sets-1): Minor
10741         message fix (Bug#3526).
10743         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10744         face property (Bug#4834).
10745         (etags-list-tags, etags-tags-apropos-additional)
10746         (etags-tags-apropos, tags-select-tags-table): Add follow-link
10747         property.
10749         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10750         items.
10752 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10754         * textmodes/two-column.el (2C-split):
10755         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10756         * textmodes/tex-mode.el (tex-set-buffer-directory):
10757         * textmodes/spell.el (spell-region, spell-string):
10758         * textmodes/reftex.el (reftex-erase-buffer):
10759         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10760         * textmodes/reftex-toc.el (reftex-toc-promote-action):
10761         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10762         (reftex-select-item):
10763         * textmodes/reftex-ref.el (reftex-label-info-update)
10764         (reftex-offer-label-menu):
10765         * textmodes/reftex-index.el (reftex-index-change-entry)
10766         (reftex-index-phrases-info):
10767         * textmodes/reftex-global.el (reftex-create-tags-file)
10768         (reftex-save-all-document-buffers, reftex-ensure-write-access):
10769         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10770         (reftex-view-crossref-from-bibtex):
10771         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10772         (reftex-extract-bib-entries-from-thebibliography)
10773         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10774         * textmodes/refbib.el (r2b-capitalize-title):
10775         (r2b-convert-buffer, r2b-help):
10776         * textmodes/page-ext.el (pages-directory)
10777         (pages-directory-goto-with-mouse):
10778         * textmodes/bibtex.el (bibtex-validate-globally):
10779         * textmodes/bib-mode.el (bib-capitalize-title):
10780         * textmodes/artist.el (artist-clear-buffer, artist-system):
10781         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10782         (local-set-scheme-interaction-buffer, xscheme-process-filter)
10783         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10784         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10785         (xscheme-send-control-g-interrupt, xscheme-start-process)
10786         (xscheme-process-sentinel, xscheme-cd):
10787         * progmodes/verilog-mode.el (verilog-read-always-signals)
10788         (verilog-set-define, verilog-getopt-file)
10789         (verilog-module-inside-filename-p):
10790         * progmodes/sh-script.el:
10791         * progmodes/python.el (python-pdbtrack-get-source-buffer)
10792         (python-pdbtrack-grub-for-buffer, python-execute-file):
10793         * progmodes/octave-inf.el (inferior-octave):
10794         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10795         (idlwave-shell-compile-helper-routines, idlwave-set-local)
10796         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10797         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10798         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10799         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10800         (idlwave-shell-filter, idlwave-shell-examine-highlight)
10801         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10802         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10803         (idlwave-shell-examine-display, idlwave-shell-run-region)
10804         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10805         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10806         * progmodes/idlw-help.el (idlwave-help-get-special-help)
10807         (idlwave-help-get-help-buffer):
10808         * progmodes/gud.el (gud-basic-call, gud-find-class)
10809         (gud-tooltip-activate-mouse-motions-if-enabled):
10810         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10811         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10812         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10813         (ebrowse-tags-next-file):
10814         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10815         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10816         (ebnf-eps-finish-and-write):
10817         * progmodes/cpp.el (cpp-edit-save):
10818         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10819         * progmodes/cc-defs.el (c-emacs-features):
10820         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10821         (antlr-directory-dependencies):
10822         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10823         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10824         (ada-find-any-references, ada-make-filename-from-adaname)
10825         (ada-make-body-gnatstub):
10826         * obsolete/rnews.el (news-list-news-groups):
10827         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10828         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10829         * net/rcirc.el (rcirc-debug):
10830         * net/newst-treeview.el (newsticker--treeview-list-add-item)
10831         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10832         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10833         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10834         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10835         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10836         (newsticker--treeview-list-clear-highlight)
10837         (newsticker--treeview-list-update-highlight)
10838         (newsticker--treeview-list-highlight-start)
10839         (newsticker--treeview-tree-update-highlight)
10840         (newsticker--treeview-get-selected-item)
10841         (newsticker-treeview-mark-list-items-old)
10842         (newsticker--treeview-set-current-node):
10843         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10844         * net/newst-backend.el (newsticker--get-news-by-funcall)
10845         (newsticker--get-news-by-wget, newsticker--image-get)
10846         (newsticker--image-sentinel):
10847         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10848         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10849         (eudc-ph-close-session):
10850         * net/eudc.el (eudc-save-options):
10851         * language/thai-word.el (thai-update-word-table):
10852         * language/japan-util.el (japanese-string-conversion):
10853         * international/titdic-cnv.el (tsang-quick-converter)
10854         (ziranma-converter, ctlau-converter):
10855         * international/mule-cmds.el (describe-language-environment):
10856         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10857         (skkdic-convert-postfix, skkdic-convert-prefix):
10858         (skkdic-convert-okuri-nasi, skkdic-convert):
10859         * emacs-lisp/re-builder.el (reb-update-overlays):
10860         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10861         * emacs-lisp/gulp.el (gulp-send-requests):
10862         * emacs-lisp/find-gc.el (trace-call-tree):
10863         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10864         (eieio-describe-generic):
10865         * emacs-lisp/eieio-base.el (eieio-persistent-read):
10866         * emacs-lisp/edebug.el (edebug-outside-excursion):
10867         * emacs-lisp/debug.el (debugger-make-xrefs):
10868         * emacs-lisp/cust-print.el (custom-prin1-to-string):
10869         * emacs-lisp/chart.el (chart-new-buffer):
10870         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10871         Use with-current-buffer.
10872         * textmodes/artist.el (artist-system): Don't call
10873         copy-sequence on a fresh string.
10874         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10876 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
10878         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10879         is no item to edit.  (Bug#4820)
10880         (todo-top-priorities): Restore point and restore narrowing in Todo
10881         buffer.  (Bug#4820)
10883 2009-10-31  Glenn Morris  <rgm@gnu.org>
10885         * net/ange-ftp.el (top-level): Don't require dired when compiling.
10886         (comint-last-output-start, comint-last-input-start)
10887         (comint-last-input-end): Don't defvar when compiling.
10888         (ange-ftp-process-file): Use bound-and-true-p.
10890         * pcmpl-rpm.el (top-level): Move provide statement to end.
10891         (pcmpl-rpm): Remove unused custom group.
10893         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10895         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10897         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10898         (byte-compile-warnings): Add `constants' as an option.
10899         (byte-compile-callargs-warn, byte-compile-arglist-warn)
10900         (display-call-tree): Update for byte-compile-fdefinition possibly
10901         returning `(macro lambda ...)'.  (Bug#4778)
10902         (byte-compile-variable-ref, byte-compile-setq-default):
10903         Respect `constants' member of byte-compile-warnings.
10905 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10907         * vc-bzr.el (vc-bzr-revision-keywords): New var.
10908         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10909         to "submit:".
10911 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
10913         * textmodes/ispell.el (ispell-skip-region-alist):
10914         * international/mule-conf.el (eight-bit):
10915         * international/fontset.el (font-encoding-alist):
10916         * startup.el (pure-space-overflow-message):
10917         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10918         * paths.el (gnus-nntp-service, rmail-spool-directory)
10919         (term-file-prefix):
10920         * files.el (save-some-buffers-action-alist):
10921         * cmuscheme.el (same-window-buffer-names):
10922         * ielm.el (same-window-buffer-names):
10923         * shell.el (same-window-buffer-names):
10924         * mail/sendmail.el (same-window-buffer-names):
10925         * progmodes/inf-lisp.el (same-window-buffer-names):
10926         * bindings.el (mode-line-client)
10927         (mode-line-column-line-number-mode-map):
10928         * language/tibetan.el (tibetan-precomposition-rule-regexp)
10929         (tibetan-precomposed-regexp): Purecopy string arguments.
10931 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10933         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
10934         (calcDigit-nondigit):
10935         * calc/calc-yank.el (calc-copy-to-buffer):
10936         * calc/calc-units.el (calc-invalidate-units-table):
10937         * calc/calc-trail.el (calc-trail-yank):
10938         * calc/calc-store.el (calc-insert-variables):
10939         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
10940         * calc/calc-prog.el (calc-read-parse-table):
10941         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
10942         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
10943         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
10944         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
10945         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
10946         (calc-graph-name, calc-graph-find-command, calc-graph-view)
10947         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
10948         * calc/calc-ext.el (calc-realign):
10949         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
10950         (calc-embedded-finish-edit, calc-embedded-make-info)
10951         (calc-embedded-finish-command, calc-embedded-stack-change):
10952         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
10954         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
10955         shell-dynamic-complete-filename in preference to
10956         comint-dynamic-complete-filename.
10958         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
10959         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
10960         Don't consider whether the display supports colors.
10961         (bookmark-import-new-list): Use dolist.
10962         (bookmark-bmenu-mode-map): Move initialization into declaration.
10963         (bookmark-bmenu-list): Use dolist, simplify.
10964         (bookmark-show-all-annotations): Use save-selected-window and dolist.
10965         (menu-bar-final-items): Use push.
10967 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
10969         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
10970         it works on remote files.
10971         (vc-hg-diff): Don't pass any `--cwd' argument.
10973 2009-10-27  Kevin Ryde  <user42@zip.com.au>
10975         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
10976         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
10977         (Further to Bug#3921).
10979 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
10981         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
10982         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
10983         calling `tramp-imap-put-file'.  Add file size to the call.
10984         (tramp-imap-get-file-entries): Compute also user name, file size,
10985         and date.
10986         (tramp-imap-handle-insert-directory): Insert uid and gid.
10987         (tramp-imap-handle-file-attributes): Transform uid and gid
10988         according to `id-format'.
10989         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
10990         size in header X-Size.
10992 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
10994         * simple.el (transpose-subr): Give clearer error when the mark
10995         is not set.  (Bug#4807)
10997 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
10999         * net/tramp.el (tramp-perl-file-truename): New defconst.
11000         Perl code contributed by yary <not.com@gmail.com> (tiny change).
11001         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11002         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11003         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11005         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11006         Ignore `dired-call-process'.
11007         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11009 2009-10-26  Julian Scheid  <julians37@gmail.com>
11011         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11012         (tramp-get-remote-readlink): New defun.
11013         (tramp-handle-file-truename): Use it.
11014         (tramp-handle-file-exists-p): Check file-attributes cache, assume
11015         file exists if cache value present.
11016         (tramp-check-cached-permissions): New defun.
11017         (tramp-handle-file-readable-p): Use it.
11018         (tramp-handle-file-writable-p): Likewise.
11019         (tramp-handle-file-executable-p): Likewise.
11020         (tramp-handle-file-name-all-completions): Try using Perl to get
11021         partial completions.  When perl not available, combine `cd' and
11022         `ls' into single remote operation and use shell expansion to get
11023         partial remote directory contents.  Set `file-exists-p' cache for
11024         directory and any files returned by ls.  Change cache handling to
11025         support partial directory contents.  Use error message emitted by
11026         remote `cd' or Perl code for local tramp-error.
11027         (tramp-do-copy-or-rename-file-directly): Avoid separate
11028         tramp-send-command-and-check call.
11029         (tramp-handle-process-file): Merge three remote ops into one.
11030         Do not flush all caches when `process-file-side-effects' is set.
11031         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11032         file-attributes shows uid/gid to be set already.
11034 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
11036         * textmodes/tex-mode.el (tex-dvi-view-command)
11037         (tex-show-queue-command, tex-open-quote):
11038         * progmodes/ruby-mode.el (auto-mode-alist)
11039         (interpreter-mode-alist): Purecopy strings.
11041         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11043         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11044         string for the hook, keymap and abbrev table.
11046         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11048         * x-dnd.el (x-dnd-xdnd-to-action):
11049         * startup.el (fancy-startup-text, fancy-about-text): Change to
11050         defconst from defvar.
11052         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11054         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11055         Purecopy initialization strings.
11057         * mail/sendmail.el (mail-header-separator)
11058         (mail-personal-alias-file):
11059         * mail/rmail.el (rmail-default-dont-reply-to-names)
11060         (rmail-ignored-headers, rmail-retry-ignored-headers)
11061         (rmail-highlighted-headers, rmail-secondary-file-directory)
11062         (rmail-secondary-file-regexp):
11063         * files.el (null-device, file-name-invalid-regexp)
11064         (locate-dominating-stop-dir-regexp)
11065         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11066         (interpreter-mode-alist): Use mapcar instead of mapc.
11068         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11070         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11071         (completion-ignored-extensions):
11072         (debug-ignored-errors): Purecopy strings.
11074 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11076         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11077         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11078         (pcomplete--here): Use push.
11080         * subr.el (all-completions): Declare the 4th arg obsolete.
11082 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11084         * pcomplete.el (pcomplete-unquote-argument-function): New var.
11085         (pcomplete-unquote-argument): New function.
11086         (pcomplete--common-suffix): Always pay attention to case.
11087         (pcomplete--table-subvert): Quote and unquote the text.
11088         (pcomplete--common-quoted-suffix): New function.
11089         (pcomplete-std-complete): Use it and pcomplete-begin.
11091         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11092         we're inside a dedicated or minibuffer window.
11094 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
11096         * bookmark.el: Update documentation, especially documentation
11097         of `bookmark-alist' and of the bookmark file format.
11098         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
11100 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11102         * mail/emacsbug.el (report-emacs-bug): Clarify that the
11103         keybindings apply to the mail buffer (Bug#4003).  Shrink help
11104         window to buffer.
11106         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11107         (global-whitespace-mode, global-whitespace-newline-mode)
11108         (whitespace-toggle-options, global-whitespace-toggle-options):
11109         Doc fix (Bug#3660).
11111         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11112         of xmltok-start before the end tag was inserted (Bug#2840).
11114         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11115         patterns that are preceded by an open-paren (Bug#1320).
11117 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
11119         * files.el (delete-directory): Delete symlinks to directories with
11120         delete-file (Bug#4739).
11122 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11124         * vc.el (vc-backend-for-registration): Rename from
11125         vc-get-backend-for-registration.  Update callers.
11127         * international/mule-cmds.el (set-language-info-alist):
11128         Purecopy lang-env.
11129         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11130         (charset): Purecopy the name.
11131         (define-char-code-property): Purecopy string arguments.
11133         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11134         Purecopy string arguments.
11136         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11137         * ediff-hook.el (menu-bar-ediff-menu):
11138         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11139         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11141 2009-10-24  Glenn Morris  <rgm@gnu.org>
11143         * comint.el (comint-dynamic-list-completions):
11144         * term.el (term-dynamic-list-completions): Use choose-completion rather
11145         than obsolete alias mouse-choose-completion.
11147         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11148         file-cache-choose-completion.
11149         (file-cache-choose-completion): Handle an optional event argument.
11150         (file-cache-mouse-choose-completion): Make it an obsolete alias.
11152         * progmodes/octave-mod.el (octave-complete-symbol):
11153         Use choose-completion if mouse-choose-completion is ever removed.
11155         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11156         use.
11158         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11159         compiler.
11161         * vc-hooks.el (vc-responsible-backend): Fix declaration.
11163 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11165         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11166         Ignore `pred' now that we receive one.
11167         Handle test-completion specially.
11169 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11171         * vc.el (vc-responsible-backend): Throw an error if not backend is
11172         found.  Remove the REGISTER argument.  Move the code dealing with
11173         REGISTER ...
11174         (vc-get-backend-for-registration): ... here.  New function.
11175         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11176         of vc-responsible-backend, pass the file name instead of the
11177         directory name.
11179 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11181         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11182         New funs.
11183         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
11184         (pcomplete-comint-setup): Don't modify a global var via
11185         accidental side-effects.
11186         (pcomplete-shell-setup): Adjust call accordingly.
11187         (pcomplete-parse-comint-arguments): Use push.
11189 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
11191         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11192         Allow uncapitalized info node names (Bug#3921).
11194         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11195         to the DEBUG file (Bug#3781).
11197 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
11199         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11200         dictionary entry (Bug#4579).
11202 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
11204         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11205         from `rfn-eshadow-update-overlay-hook' when unloading.
11206         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11207         "rsyncc".  Adjust doc string.
11208         (tramp-temp-buffer-file-name): New buffer-local defvar.
11209         (tramp-handle-insert-file-contents, tramp-handle-write-region):
11210         Keep temporary file when indicated by method ("rsync" and
11211         "rsyncc").
11212         (tramp-handle-write-region): Handle APPEND.
11213         (tramp-delete-temp-file-function): New defun.  Added to
11214         `kill-buffer-hook'.
11216 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
11218         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11220 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11222         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11223         (color-name-rgb-alist, tty-standard-colors)
11224         (tty-color-mode-alist): Change to defconst.
11226         * simple.el (mark-inactive): Purecopy message.
11228         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11229         (global-map, yank-menu):
11230         * textmodes/ispell.el (ispell-menu-map):
11231         * net/eudc.el (eudc-tools-menu):
11232         * international/mule-cmds.el (describe-language-environment-map)
11233         (setup-language-environment-map, set-coding-system-map)
11234         (mule-menu-keymap):
11235         * vc-hooks.el (vc-menu-entry, vc-menu-map):
11236         * replace.el (occur-mode-map):
11237         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11239 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
11241         * calc/calc.el (math-read-number, math-read-number-simple): Use
11242         `save-match-data'.
11244 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11246         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11247         rather than fiddling with global-map bindings, since it should only
11248         affect per-terminal settings.
11249         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11251         * minibuffer.el (completion-table-with-terminator): Allow to specify
11252         the terminator-regexp.
11254         * simple.el (switch-to-completions): Look for *Completions* in other
11255         frames as well.
11257         * pcomplete.el: Allow the use of completion-tables.
11258         (pcomplete-std-complete): New command.
11259         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11260         (pcomplete--here): Use a function for `form' rather than an expression,
11261         so it can be byte-compiled.
11262         (pcomplete-here, pcomplete-here*): Adjust accordingly.
11263         Add edebug declaration.
11264         (pcomplete-show-completions): Remove unused var `curbuf'.
11265         (pcomplete-do-complete, pcomplete-stub):
11266         Don't assume `completions' is a list of strings any more.
11268 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
11270         * find-dired.el (find-name-arg): Fix typo in docstring.
11272 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11274         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11275         (pcmpl-linux-fs-types): Same, and update to new modules layout.
11277         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11278         pcomplete-entries.
11280         * comint.el (comint-read-input-ring, comint-write-input-ring)
11281         (comint-substitute-in-file-name)
11282         (comint-dynamic-complete-as-filename)
11283         (comint-dynamic-simple-complete)
11284         (comint-dynamic-list-filename-completions)
11285         (comint-dynamic-list-completions)
11286         (comint-redirect-results-list-from-process): Minor simplifications.
11288 2009-10-21  Kevin Ryde  <user42@zip.com.au>
11290         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11291         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11292         the first form.  And insert a blank line after ";;; Code" since
11293         that's usual style.  (Bug#4612)
11295         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11297 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11299         * minibuffer.el (completion-table-with-terminator): Properly implement
11300         boundaries, in case `terminator' appears in the suffix.
11301         (completion--embedded-envvar-table): Don't return boundaries if
11302         there's no valid completion.  Simplify.
11303         (completion-file-name-table): New completion table extracted from
11304         completion--file-name-table.
11305         (completion--file-name-table): Use it.
11306         (read-file-name-predicate): Declare obsolete.
11307         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11308         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11309         completion-file-name-table, and use the `pred' argument.
11310         * files.el (locate-file-completion-table): Use the `pred' arg rather
11311         than read-file-name-predicate.
11312         (abbreviate-file-name): Use \` rather than ^ for BOS.
11314 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
11316         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11317         vc-responsible-backend to register, it causes problems.
11319 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11321         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11323 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
11325         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11326         (tramp-smb-handle-file-attributes): Use it.
11327         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11328         (tramp-smb-handle-insert-directory): Use `mapc' rather than
11329         `mapcar'.  Use `tramp-smb-get-stat-capability'.
11330         Add `dired-filename' text properties.
11331         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11332         (tramp-smb-maybe-open-connection): Simplify check for smbclient
11333         version.
11335 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11337         * subr.el (read-key-delay): Reduce to 0.01.
11338         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11339         (bug#4751).
11341 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11343         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11345         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11346         (Info-menu): Remove unused vars `last' and `completions'.
11347         (Info-index-nodes): Remove unused var `node'.
11349         * info.el (Info-complete-menu-item): Use complete-with-action.
11351 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11353         Make vc-annotate work through copies and renames.
11354         * vc-annotate.el (vc-annotate-extract-revision-at-line):
11355         Return the file name too.
11356         (vc-annotate-revision-at-line)
11357         (vc-annotate-find-revision-at-line)
11358         (vc-annotate-revision-previous-to-line)
11359         (vc-annotate-show-log-revision-at-line): Update to get the file
11360         name from vc-annotate-extract-revision-at-line.
11361         (vc-annotate-show-diff-revision-at-line-internal): Change the
11362         argument to mean whether to show a file diff or not.  Get the file
11363         name from vc-annotate-extract-revision-at-line.
11364         (vc-annotate-show-diff-revision-at-line):
11365         Update vc-annotate-show-diff-revision-at-line call.
11366         (vc-annotate-warp-revision): Add an optional file argument.
11368         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11369         (vc-git-annotate-extract-revision-at-line): Also return the file
11370         name if found.
11372         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11373         command.  Remove unused code.
11374         (vc-hg-annotate-re): Update to match --follow output.
11375         (vc-hg-annotate-extract-revision-at-line): Also return the file
11376         name if found.
11378         * vc.el: Update annotate-extract-revision-at-line documentation.
11380 2009-10-18  Kevin Ryde  <user42@zip.com.au>
11382         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11383         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11385         * net/browse-url.el (browse-url): Identify alist with "consp and
11386         not functionp" and let all other things go down the `apply' leg,
11387         as suggested by Stefan.  (Further to bug#4531.)
11389 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
11391         * minibuffer.el (read-file-name): Check for repeat before putting
11392         a default argument in file-name-history (Bug#4657).
11394         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11395         read syntax (Bug#4737).
11397         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11399 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11401         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11402         (html-tag-alist, html-tag-help): Add descriptions for undocumented
11403         entries and make note of obsolete tags.
11405 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11407         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11409 2009-10-18  Glenn Morris  <rgm@gnu.org>
11411         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11412         grep, so that binary files (eg international/uni-bidi.el) can match.
11413         Remove test for "UnicodeData" files, since it is hopefully unnecessary
11414         now, and in any case the file header format has changed.
11416 2009-10-17  Glenn Morris  <rgm@gnu.org>
11418         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11419         (flyspell-get-word, flyspell-large-region)
11420         (flyspell-auto-correct-previous-word): Doc/error message fixes.
11422 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
11424         * Makefile.in (ELCFILES): Add ede/shell.
11426 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
11428         * term/common-win.el (x-colors): Purecopy it.
11430 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11432         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11433         permissive for when the buffer is empty.
11434         (tar-header-block-tokenize): Decode the username and groupname.
11435         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11437 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11439         * international/mule-cmds.el (select-safe-coding-system): If the file
11440         has a coding cookie, use it regardless of any other setting (bug#4712).
11442 2009-10-17  Glenn Morris  <rgm@gnu.org>
11444         * foldout.el (foldout-mouse-swallow-events):
11445         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11447         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11448         (dired-keep-marker-copy, dired-keep-marker-hardlink)
11449         (dired-keep-marker-symlink, dired-dwim-target)
11450         (dired-copy-preserve-time): Do not autoload these defcustoms.
11452         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11453         messages from messing up the file coding.  (Bug#4623)
11455 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
11457         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11458         if no match is found for the current dictionary.  (Bug#4578)
11460         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11461         optional, since that is how it is documented, and this is often called
11462         with a nil argument.  (Bug#4577)
11463         (flyspell-external-point-words, flyspell-auto-correct-word)
11464         (flyspell-correct-word-before-point, flyspell-word-search-forward)
11465         (flyspell-word-search-backward): Remove nil argument in calls to
11466         flyspell-get-word, since it is not needed now.
11468 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
11470         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
11472 2009-10-16  Glenn Morris  <rgm@gnu.org>
11474         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11476 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11478         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11479         (ange-ftp-file-size): New function.
11480         (ange-ftp-file-attributes): Use it.
11482 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
11484         * net/tramp-smb.el (tramp-smb-version): New defvar.
11485         (tramp-smb-maybe-open-connection): Use it, in order to avoid
11486         repeated checks.
11488 2009-10-16  Glenn Morris  <rgm@gnu.org>
11490         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11491         Maybe copy some custom properties from old to new name.  (Bug#4706)
11493 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
11495         * subr.el (error, sit-for, start-process-shell-command)
11496         (start-file-process-shell-command): Set the calling convention
11497         after the function definition.
11499 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11501         * subr.el (error, sit-for, start-process-shell-command)
11502         (start-file-process-shell-command): Use the new
11503         set-advertised-calling-convention feature.
11505 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
11507         * international/ucs-normalize.el (ucs-normalize-version):
11508         Change to 1.2.
11509         (check-range): Adjust for Unicode 5.2.
11511 2009-10-15  Juri Linkov  <juri@jurta.org>
11513         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11514         to the `menu-item' format.
11516 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
11518         * net/tramp.el (tramp-replace-environment-variables): Do not fail
11519         if the environment variable does not exist.
11521         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11522         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11523         parameter.
11524         (tramp-smb-handle-add-name-to-file)
11525         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11526         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11527         (tramp-smb-handle-file-attributes)
11528         (tramp-smb-do-file-attributes-with-stat)
11529         (tramp-smb-handle-file-local-copy)
11530         (tramp-smb-handle-insert-directory)
11531         (tramp-smb-handle-make-directory)
11532         (tramp-smb-handle-make-directory-internal)
11533         (tramp-smb-handle-make-symbolic-link)
11534         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11535         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11536         (tramp-smb-maybe-open-connection): Apply the changed parameters.
11537         (tramp-smb-read-file-entry): Read Disk names in compressed format.
11538         Handle long file names.
11539         (tramp-smb-get-cifs-capabilities): Check, whether the connection
11540         process is running.
11541         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11542         Read share names with "-g" option.
11544 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
11546         * net/rcirc.el (rcirc-view-log-file): New command.
11547         (rcirc-track-minor-mode-map): Remove C-c ` binding.
11548         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11549         specified.
11551 2009-10-15  Glenn Morris  <rgm@gnu.org>
11553         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11554         from the second command-line argument.
11555         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11556         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11557         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11558         w32-batch-update-autoloads.
11559         * emacs-lisp/autoload.el (autoload-make-program): New variable.
11560         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11562         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11563         the headers cannot be located.  Simplify, subtracting superflous
11564         save-excursions.
11566 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11568         Replace completion-base-size by completion-base-position to fix bugs
11569         such as (bug#4699).
11570         * simple.el (completion-base-position): New var.
11571         (completion-base-size): Mark as obsolete.
11572         (choose-completion): Make it work for mouse events as well.
11573         Pass the new base-position to choose-completion-string.
11574         (choose-completion-guess-base-position): New function, extracted from
11575         choose-completion-delete-max-match.
11576         (choose-completion-delete-max-match): Use it.  Make obsolete.
11577         (choose-completion-string): Use the new base-position info.
11578         (completion-root-regexp): Delete.
11579         (completion-setup-function): Preserve completion-base-position.
11580         Eliminate obsolete base-size manipulation.
11581         * minibuffer.el (display-completion-list): Don't mess with base-size.
11582         (minibuffer-completion-help): Set completion-base-position instead.
11583         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11584         choose-completion.
11585         * textmodes/bibtex.el (bibtex-complete):
11586         * emacs-lisp/crm.el (crm--choose-completion-string):
11587         Adjust to new calling convention.
11588         * complete.el (partial-completion-mode): Use minibufferp to avoid
11589         bumping into incompatible change to choose-completion-string-functions.
11590         * ido.el (ido-choose-completion-string): Make its calling convention
11591         more permissive.
11592         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11593         base-size manipulation.
11594         (comint-dynamic-list-input-ring): Use dotimes and push.
11595         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11596         fundamental-mode.  Use `or'.
11598 2009-10-14  Juri Linkov  <juri@jurta.org>
11600         * misearch.el (multi-isearch-next-buffer-from-list)
11601         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
11603 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11605         * Makefile.in (compile-onefile): Load `bytecomp' rather than
11606         `bytecomp.el'.
11608         * minibuffer.el (completion-pcm--merge-completions): Make sure the
11609         string we return is all made up of text from the completions rather
11610         than part from the completions and part from the input (bug#4219).
11612         * ido.el (ido-everywhere): Use define-minor-mode.
11614         * buff-menu.el (list-buffers, ctl-x-map):
11615         Mark the entry points with ;;;###autoload cookies.
11617 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
11619         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11620         correctly in the detached head case.
11621         (vc-git-print-log): Remove unused binding.
11623         * vc.el (vc-responsible-backend): When a directory is passed for
11624         for registration create a VC repository if no backend is
11625         responsible for the directory argument.
11626         (vc-deduce-fileset): Tell vc-responsible-backend to register.
11628         * vc.el: Move comments about RCS and SCCS ...
11629         * vc-rcs.el:
11630         * vc-sccs.el: ... here, respectively.
11632 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11634         * minibuffer.el (completion--file-name-table): Return nil if there's
11635         no file completion, even if substitute-in-file-name changed
11636         the string (bug#4708).
11638 2009-10-13  Juri Linkov  <juri@jurta.org>
11640         * files-x.el (read-file-local-variable-value): Don't filter out
11641         minor modes from mode name completion (bug#4664).
11643 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11645         * international/mule-cmds.el (ucs-names): Remove exclusion of
11646         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11648 2009-10-13  Kenichi Handa  <handa@m17n.org>
11650         * international/uni-name.el: Regenerated.
11652 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11654         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
11655         should be automatically buffer-local, but isn't.)
11657 2009-10-12  Sam Steingold  <sds@gnu.org>
11659         * progmodes/compile.el (compilation-next-error-function): Fix the
11660         timestamps if the buffer has been visited before.
11661         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11662         non-anchored patterns, like the perl one (bug#3928).
11664 2009-10-12  Glenn Morris  <rgm@gnu.org>
11666         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11667         Let-bind `size'.
11669 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
11671         * proced.el (proced-unload-function): New function.
11673         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11674         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11675         Doc fix.
11677         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11679 2009-10-11  Juri Linkov  <juri@jurta.org>
11681         * files-x.el (read-file-local-variable-value):
11682         Provide default value only for bound variables (bug#4664).
11684 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
11686         * net/tramp.el (tramp-local-host-p): Function shall return nil for
11687         connection methods like smb.
11689         * net/tramp-cache.el (tramp-flush-connection-property): The hash
11690         can be empty.
11692         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11693         (tramp-smb-file-name-handler-alist): Add handlers for
11694         `add-name-to-file', `make-symbolic-link'.
11695         (tramp-smb-handle-add-name-to-file)
11696         (tramp-smb-do-file-attributes-with-stat)
11697         (tramp-smb-handle-make-symbolic-link)
11698         (tramp-smb-get-cifs-capabilities): New defuns.
11699         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11700         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11701         (tramp-smb-handle-file-local-copy)
11702         (tramp-smb-handle-make-directory-internal)
11703         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11704         The file name syntax depends on cifs capabilities.
11705         (tramp-smb-handle-file-attributes):
11706         Call `tramp-smb-do-file-attributes-with-stat' if possible.
11707         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11708         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11710 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
11712         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11713         (eieio-defclass): Apply deftype handler and setf-method properties
11714         directly.
11715         (eieio-add-new-slot): Avoid union function from cl library.
11716         (eieio--typep): New function.
11717         (eieio-perform-slot-validation): Use it.
11719 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11721         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11722         Update documentation to refer to the variables documented in r1.135.
11723         (Bug#4188)
11725 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11727         * bookmark.el (Info-suffix-list): Remove this unused variable.
11728         (bookmark-current-point): Remove this obsolete variable.
11729         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11730         Adjust for removal of bookmark-current-point.
11732         (bookmarks-already-loaded, bookmark-current-buffer)
11733         (bookmark-yank-point): Document.  (Bug#4188)
11735 2009-10-10  Glenn Morris  <rgm@gnu.org>
11737         * frame.el (frame-height): Doc fix.
11739         * calendar/calendar.el (calendar-split-width-threshold): New option.
11740         (calendar-basic-setup): Use calendar-split-width-threshold.
11742 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
11744         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11745         Ideographic Supplement" range (U+1F200..U+1F2FF).
11747 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11749         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11750         since the list will have been rebuilt anyway.  (Bug#4349)
11752 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11754         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11755         (bookmark-bmenu-execute-deletions): Don't save here, as
11756         bookmark-delete will now do so if necessary.
11757         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11758         (Bug#4348)
11760 2009-10-09  Glenn Morris  <rgm@gnu.org>
11762         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11764 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11766         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11767         (bookmark-jump-other-window): Just invoke bookmark-jump with new
11768         argument now, so the two function's behaviors will match.  (Bug#3645)
11770 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
11772         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11773         (tramp-file-name-real-host, tramp-file-name-port):
11774         Apply `save-match-data'.
11776         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11777         case both directories are remote.
11778         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11779         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11781 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11783         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11785 2009-10-07  Glenn Morris  <rgm@gnu.org>
11787         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11788         of concat.
11790 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11792         * files-x.el (read-file-local-variable): Include some
11793         non-user-variables in the completion table (bug#4664).
11795 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
11797         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11798         message.
11800         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11801         (tramp-smb-file-name-handler-alist): Add handler for
11802         `copy-directory', `expand-file-name', `set-file-modes'.
11803         (tramp-smb-handle-copy-directory)
11804         (tramp-smb-handle-expand-file-name)
11805         (tramp-smb-handle-set-file-modes): New defuns.
11806         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11807         (tramp-smb-handle-file-attributes): Simplify check for retrieving
11808         entry.
11809         (tramp-smb-handle-insert-directory): Don't flush the cache.
11810         (tramp-smb-maybe-open-connection): Check for samba client and
11811         server versions.
11813 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
11815         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11816         to not error out of search for "^lisp=" fails.
11818 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11820         * makefile.w32-in (WINS_UPDATES): New macro.
11821         (custom-deps, finder-data, autoloads): Use it.
11823 2009-10-07  Glenn Morris  <rgm@gnu.org>
11825         * Makefile.in (autoloads): Revert previous change.
11826         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11827         the list of preloaded files passed on the command-line, get
11828         it from src/Makefile.
11830         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11831         show the original buffer rather than a random one.
11833 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
11835         * help.el (describe-no-warranty): Place point in a slightly better
11836         position in the GPLv3 text.
11838 2009-10-06  Sam Steingold  <sds@gnu.org>
11840         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11841         the comm attribute is present before calling regexp-quote.
11843 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
11845         * play/animate.el (animate-string): For good effect, make sure
11846         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
11848         * play/animate.el (animate-sequence, animate-birthday-present):
11849         * misc.el (butterfly): Don't set `indent-tabs-mode'.
11851 2009-10-06  Glenn Morris  <rgm@gnu.org>
11853         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
11855         * emacs-lisp/autoload.el (autoload-excludes): New variable.
11856         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
11857         (batch-update-autoloads): Process a string value of autoload-excludes,
11858         set during the build process.
11859         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
11861         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
11862         inside with-parsed...  macro so that `v' is defined.
11864         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
11865         * progmodes/fortran.el (fortran-end-of-block)
11866         (fortran-beginning-of-block):
11867         Also push mark in the macro case.
11869         * emerge.el (emerge-show-file-name):
11870         * calc/calc.el (calc-quit):
11871         * calc/calc-misc.el (calc-big-or-small):
11872         * calc/calc-graph.el (calc-graph-view):
11873         * calc/calc-ext.el (calc-reset):
11874         * calendar/calendar.el (calendar-basic-setup):
11875         Use window-full-height-p.
11877         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
11878         header we don't understand, don't insert another.  (Bug#4624)
11879         If changing mime charset, insert the new one in the right place.
11881 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
11883         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
11884         (cal-tex-cursor-month): Correctly increment the end date for diary and
11885         holiday listing.  (Bug#4626)
11887 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11889         * help-fns.el (describe-function-1): Don't burp if the function is not
11890         a symbol.
11892 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
11894         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
11895         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
11896         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11897         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
11899         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
11900         (eieio-default-superclass): Reflow docstrings.
11901         (this, class-option-assoc, defclass, eieio-class-un-autoload)
11902         (eieio-unbind-method-implementations, defmethod)
11903         (eieio-validate-slot-value, eieio-validate-class-slot-value)
11904         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
11905         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
11906         (eieio-slot-originating-class-p, eieio-slot-name-index)
11907         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
11908         (constructor, initialize-instance, no-next-method, object-print)
11909         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
11910         Fix typos in docstrings.
11911         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
11912         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
11913         (next-method-p): Doc fixes.
11914         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
11915         Fix typos in error messages.
11916         (eieio-defmethod): Fix typo in description of generic method.
11918         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
11919         (eieio-persistent-save-interactive, slot-missing):
11920         Fix typos in docstrings.
11921         (eieio-instance-inheritor-slot-boundp): Doc fix.
11923         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
11924         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
11926         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
11927         (eieio-custom-object-apply-reset):
11928         Fix typos in docstrings and error messages.
11930         * emacs-lisp/eieio-datadebug.el (data-debug-show):
11931         Fix typo in docstring.
11933         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
11934         (eieio-browse-tree): Doc fix.
11935         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
11936         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
11937         Fix typos in docstrings.
11939         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
11940         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
11941         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
11942         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
11943         Reflow docstrings.
11945 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
11947         * vc-hg.el (log-view-vc-backend): Declare for compiler.
11948         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
11949         Set log-view-vc-backend so that diff can work.
11951         * log-view.el (log-view-diff): Use vc-diff-internal instead of
11952         vc-version-diff.
11953         (vc-diff-internal): Autoload this instead of vc-version-diff.
11955 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
11957         * simple.el (eval-expression): Doc fix.
11959         * progmodes/cwarn.el (cwarn-mode): Doc fix.
11961 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
11963         * files.el (directory-files-no-dot-files-regexp): New defconst.
11964         (delete-directory): Use it.
11965         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
11967         * net/tramp.el (tramp-verbose): Fix docstring.
11968         (tramp-methods): Add recursive option to `tramp-copy-args'.
11969         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
11970         "scp1_old", "scp2_old", "rsync", "rsyncc".
11971         (tramp-default-method): Check also for `auth-source-user-or-password'.
11972         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
11973         Add handler for `copy-directory'.
11974         (tramp-handle-copy-directory): New defun.
11975         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
11976         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
11977         Optimize sent command.
11979 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11981         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
11982         window if necessary.
11984         * calendar/calendar.el (calendar-basic-setup): Don't call
11985         switch-to-buffer in a dedicated window.
11987 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
11989         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
11990         don't do anything related to relocating, just return nil.
11991         (bookmark-error-no-filename): New error.
11992         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
11993         bookmark has no file.  Don't even attempt to handle things that
11994         are not files; the whole point of custom handlers is to keep that
11995         knowledge elsewhere anyway.  Tighten some comments.
11996         (bookmark-file-or-variation-thereof): Remove now-unused function.
11997         (bookmark-location): Doc string fix.
11998         (Bug#4250)
12000 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12002         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12003         don't use a file dialog, because they usually don't know how to read
12004         a directory target from the user.  (Bug#4230)
12005         Also, make sure the prompt can display directories as well as files.
12007 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12009         * bookmark.el (bookmark-set, bookmark-buffer-name):
12010         Improve doc strings.  (Bug#1193)
12012 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12014         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12015         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12016         (bookmark-get-annotation, bookmark-set-annotation)
12017         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12018         (bookmark-set-position, bookmark-get-front-context-string)
12019         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12020         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12021         (bookmark-jump-other-window, bookmark-handle-bookmark)
12022         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12023         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12024         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12025         Improve doc strings to say whether bookmark can be a string or
12026         a record or both, and make other consistency and clarity fixes.
12027         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12028         (bookmark-default-annotation-text, bookmark-yank-word)
12029         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12030         (bookmark-import-new-list, bookmark-maybe-rename)
12031         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12032         (bookmark-bmenu-bookmark): Give these doc strings.
12033         (bookmark-bmenu-check-position): Give this a doc string, but also
12034         add a FIXME comment about how the function may be pointless.
12035         (bookmark-default-handler): Rework doc string and change a
12036         parameter name, to clarify that this takes a bookmark record
12037         not a bookmark name.
12038         (bookmark-set): Change a parameter name to indicate its meaning,
12039         and improve the doc string a bit.
12040         (Bug#4188)
12042 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12044         * bookmark.el (bookmark-alist): Document the new `handler' element
12045         in the param alist.
12046         (bookmark-make-record-function): Adjust documentation for above.
12047         (Bug#4193)
12049 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12051         * info.el (Info-bookmark-make-record): Document this function.
12052         (Info-bookmark-jump): Document with a doc string, not just a comment.
12053         (Bug#4203)
12055 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
12057         * files.el (copy-directory): New defun.
12059         * dired-aux.el (dired-copy-file-recursive): Use it.
12061 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
12063         * files-x.el (modify-dir-local-variable)
12064         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12065         docstrings.
12067         * recentf.el (recentf-unload-function): New function.
12069 2009-10-04  Glenn Morris  <rgm@gnu.org>
12071         * window.el (window-full-height-p): Add doc string.
12073 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
12075         * window.el (window-full-height-p): New function.  (Bug#4543)
12077 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
12079         * vc.el: Remove commented out code.
12080         (vc-derived-from-dir-mode): Remove, unused.
12081         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12083 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
12085         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12086         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
12087         there could be recursive loading when `default-directory' is a
12088         remote file name.  (Bug#4614)
12090 2009-10-03  Glenn Morris  <rgm@gnu.org>
12092         * calendar/calendar.el (calendar-basic-setup): Handle the case where
12093         the frame is wide.
12094         (calendar-generate-window): Test for shrinkability rather than width.
12096         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12097         reusing existing buffers, in case we happen to visit two files with the
12098         same basename.  (Bug#4593)
12100 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12102         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12103         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12104         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12105         subdirs of cedet as well.
12106         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12108 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12110         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12111         Obey advertised-signature-table.
12113         * help-fns.el (help-function-arglist): Don't check
12114         advertised-signature-table.
12115         (describe-function-1): Do it here instead so it also applies to subrs.
12117 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
12119         * simple.el (start-file-process): Say in the doc-string, that file
12120         handlers might not support pty association, if PROGRAM is nil.
12122         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12123         HOST and USER are strings.  They are nil, when there are
12124         incomplete entries in ~/.netrc, for example.
12125         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
12126         root directory ("device busy" error otherwise).
12128         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12129         Flush file properties of created directory.
12131 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12133         * makefile.w32-in (WINS_BASIC): Remove cedet.
12134         (WINS_CEDET): Add cedet.
12135         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12137 2009-10-02  Kevin Ryde  <user42@zip.com.au>
12139         * net/browse-url.el (browse-url): Pass any symbol in
12140         browse-url-browser-function to `apply', since if you've mistakenly put
12141         an unbound symbol then the error is clearer.  (Bug#4531)
12143 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12145         * allout.el (allout-init, allout-back-to-current-heading)
12146         (allout-beginning-of-current-entry, allout-ascend-to-depth)
12147         (allout-ascend, allout-up-current-level, allout-end-of-level)
12148         (allout-previous-visible-heading, allout-forward-current-level)
12149         (allout-backward-current-level, allout-show-children):
12150         * apropos.el (apropos-describe-plist):
12151         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12152         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12153         * completion.el (add-completion, add-permanent-completion):
12154         * descr-text.el (describe-text-category, describe-char):
12155         * desktop.el (desktop-lazy-abort):
12156         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12157         * dired.el (dired-build-subdir-alist):
12158         * ediff.el (ediff-version):
12159         * elide-head.el (elide-head, elide-head-show):
12160         * emerge.el (emerge-version):
12161         * env.el (getenv):
12162         * face-remap.el (variable-pitch-mode):
12163         * faces.el (describe-face):
12164         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12165         (dired-at-point):
12166         * files.el (find-file-existing, auto-save-mode):
12167         * font-lock.el (font-lock-fontify-buffer):
12168         * help-fns.el (describe-function, describe-variable)
12169         (describe-syntax, describe-categories):
12170         * help.el (view-lossage, describe-bindings, describe-key)
12171         (describe-mode):
12172         * hexl.el (hexl-current-address):
12173         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12174         * info.el (Info-goto-emacs-key-command-node):
12175         * log-edit.el (log-edit-insert-cvs-template)
12176         (log-edit-insert-cvs-rcstemplate):
12177         * menu-bar.el (menu-bar-mode):
12178         * mouse.el (mouse-appearance-menu):
12179         * newcomment.el (comment-indent-new-line):
12180         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12181         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12182         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12183         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12184         * recentf.el (recentf-mode):
12185         * savehist.el (savehist-mode, savehist-save):
12186         * shadowfile.el (shadow-copy-files):
12187         * simple.el (kill-ring-save, next-line, previous-line)
12188         (normal-erase-is-backspace-mode):
12189         * strokes.el (strokes-update-window-configuration)
12190         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12191         (strokes-xpm-for-stroke):
12192         * time.el (emacs-uptime, emacs-init-time):
12193         * tutorial.el (tutorial--describe-nonstandard-key)
12194         (tutorial--detailed-help):
12195         * type-break.el (type-break-mode)
12196         (type-break-mode-line-message-mode, type-break-query-mode)
12197         (type-break-guesstimate-keystroke-threshold):
12198         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12199         * version.el (emacs-version):
12200         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12201         * winner.el (winner-mode):
12202         * calendar/timeclock.el (timeclock-in, timeclock-out)
12203         (timeclock-status-string, timeclock-change)
12204         (timeclock-workday-remaining-string)
12205         (timeclock-workday-elapsed-string)
12206         (timeclock-when-to-leave-string):
12207         * calendar/todo-mode.el (todo-add-category):
12208         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12209         * emacs-lisp/autoload.el (update-file-autoloads):
12210         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12211         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12212         (checkdoc-message-text, checkdoc-defun):
12213         * emacs-lisp/debug.el (debugger-list-functions):
12214         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12215         * emacs-lisp/eieio-opt.el (eieio-describe-class)
12216         (eieio-describe-generic):
12217         * emacs-lisp/lisp-mnt.el (lm-synopsis):
12218         * emacs-lisp/shadow.el (list-load-path-shadows):
12219         * emulation/cua-base.el (cua-mode):
12220         * emulation/edt.el (edt-set-scroll-margins):
12221         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12222         (tpu-toggle-regexp, tpu-toggle-search-direction)
12223         (tpu-toggle-rectangle, tpu-toggle-control-keys):
12224         * emulation/tpu-extras.el (tpu-set-scroll-margins):
12225         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12226         (viper-set-parsing-style-toggling-macro)
12227         (viper-set-emacs-state-searchstyle-macros):
12228         * emulation/viper.el (viper-set-hooks):
12229         * eshell/esh-mode.el (eshell-truncate-buffer):
12230         * international/mule-cmds.el (prefer-coding-system)
12231         (describe-input-method, describe-language-environment):
12232         * international/mule-diag.el (list-character-sets)
12233         (describe-character-set, describe-coding-system)
12234         (describe-fontset, list-fontsets, list-input-methods):
12235         * mail/sendmail.el (mail-signature):
12236         * net/ange-ftp.el (ange-ftp-copy-file):
12237         * net/browse-url.el (browse-url):
12238         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12239         * net/quickurl.el (quickurl-add-url):
12240         * net/rcirc.el (names, topic):
12241         * net/xesam.el (xesam-mode):
12242         * play/5x5.el (5x5-new-game):
12243         * play/yow.el (apropos-zippy):
12244         * progmodes/ada-mode.el (ada-mode-version):
12245         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12246         (f90-end-of-block)
12247         (f90-beginning-of-block):
12248         * progmodes/fortran.el (fortran-end-of-block)
12249         (fortran-beginning-of-block):
12250         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12251         * progmodes/python.el (python-describe-symbol, python-shell):
12252         * term/ns-win.el (ns-print-buffer):
12253         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12254         * textmodes/flyspell.el (flyspell-mode-on):
12255         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12256         (pages-directory-for-addresses):
12257         * textmodes/table.el (table-recognize-cell)
12258         (table-query-dimension, table-generate-source)
12259         (table-insert-sequence, table--warn-incompatibility):
12260         * textmodes/tex-mode.el (tex-validate-buffer):
12261         * textmodes/texinfmt.el (texinfmt-version)
12262         (texinfo-format-buffer):
12263         Use `called-interactively-p' instead of `interactive-p'.
12265 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12267         * image-mode.el (image-toggle-display):
12268         * emacs-lisp/elp.el (elp-instrument-function):
12269         * emacs-lisp/advice.el (ad-make-advised-definition):
12270         * emacs-lisp/easy-mmode.el (define-minor-mode):
12271         * net/browse-url.el (browse-url-maybe-new-window):
12272         * progmodes/sh-script.el (sh-learn-buffer-indent):
12273         Pass new argument 'any to `called-interactively-p'.
12275 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
12277         * international/uni-bidi.el:
12278         * international/uni-category.el:
12279         * international/uni-combining.el:
12280         * international/uni-comment.el:
12281         * international/uni-decimal.el:
12282         * international/uni-decomposition.el:
12283         * international/uni-digit.el:
12284         * international/uni-lowercase.el:
12285         * international/uni-mirrored.el:
12286         * international/uni-name.el:
12287         * international/uni-numeric.el:
12288         * international/uni-old-name.el:
12289         * international/uni-titlecase.el:
12290         * international/uni-uppercase.el:
12291         Regenerate from Unicode 5.2.0 data.
12293 2009-10-01  Glenn Morris  <rgm@gnu.org>
12295         * Makefile.in (ELCFILES): Regenerate.
12297 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12299         * subr.el (interactive-p): Mark obsolete.
12300         (called-interactively-p): Make the optional-ness of `kind' obsolete.
12301         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12302         advertised-signature-table for subroutines as well.
12304         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12305         (set-advertised-calling-convention): New function.
12306         (make-obsolete, define-obsolete-function-alias)
12307         (make-obsolete-variable, define-obsolete-variable-alias):
12308         Make the optional-ness of `when' obsolete.
12309         (define-obsolete-face-alias): Make `when' non-optional.
12310         * help-fns.el (help-function-arglist):
12311         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12312         Use advertised-signature-table.
12314 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
12316         * files.el (delete-directory): New defun.  The original function
12317         in fileio.c has been renamed to `delete-directory-internal'.
12319         * dired.el (dired-delete-file): Call `delete-directory' with
12320         RECURSIVE parameter.
12322         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12323         parameter RECURSIVE.  Implementation is missing.
12325         * net/tramp.el (tramp-handle-make-directory): Flush upper
12326         directory's file properties.
12327         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12328         (tramp-handle-dired-recursive-delete-directory): Flush directory
12329         properties after the remove command only.
12331         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12332         Handle optional parameter RECURSIVE.
12334         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12335         Handle optional parameter RECURSIVE.
12337         * net/tramp-smb.el (tramp-smb-errors): Add error message for
12338         connection timeout.
12339         (tramp-smb-handle-delete-directory): Handle optional parameter
12340         RECURSIVE.
12342 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12344         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12345         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12346         (byte-compile-defmacro): Use backquotes.
12348         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12350         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12351         has no associated file.
12352         (vc-resynch-buffer): Use vc-dir-buffers.
12354 2009-10-01  Glenn Morris  <rgm@gnu.org>
12356         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12357         (chart-file-count):
12358         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12359         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12360         * emacs-lisp/eieio-opt.el (eieio-describe-class):
12361         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12362         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12363         (eieio-copy-parents-into-subclass, make-instance, class-children)
12364         (eieio-generic-form):
12366         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12367         match-data.  (Bug#4555).
12369         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12370         rather than parsing it as a regexp.  This relaxes the layout
12371         requirements and makes errors easier to detect.
12372         (check-declare-verify): Check file is regular.
12373         (check-declare-directory): Doc fix.
12374         * subr.el (declare-function): Doc fix.
12376         * ibuffer.el (ibuffer-format-qualifier):
12377         * isearch.el (hi-lock-regexp-okay):
12378         * calc/calc.el (math-zerop):
12379         * mail/uce.el (rmail-msgbeg, rmail-msgend):
12380         * term/w32-win.el (setup-default-fontset, set-fontset-font):
12381         Remove unused declarations.
12383 2009-09-30  Glenn Morris  <rgm@gnu.org>
12385         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12387         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12388         filename is not a string.
12390 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
12392         * files.el (safe-local-eval-forms): Fix typo.
12394 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12396         * vc-hooks.el (vc-dir-buffers): New var.
12397         (vc-state-refresh): New function.
12398         (vc-state): Use it.
12399         (vc-after-save): Always ask the backend to recompute the new state.
12400         Always call vc-dir if necessary, using vc-dir-buffers.
12401         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12402         Use vc-dir-buffers.
12403         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12404         (vc-dir-prepare-status-buffer, vc-dir-update)
12405         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12406         Don't call expand-file-name on default-directory.
12408 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12410         * speedbar.el (speedbar-item-delete):
12411         * calc/calc-prog.el (calc-kbd-if):
12412         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12414         * epa.el (epa-key-list-mode-map):
12415         * hi-lock.el (hi-lock-menu): Fix typos in menus.
12417         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12418         (hs-show-hook): Fix typo in docstring.
12420 2009-09-29  Glenn Morris  <rgm@gnu.org>
12422         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12423         file-name-nondirectory call preventing location of cedet files.
12424         (check-declare-verify): Use literal search rather than re-search.
12425         Add basic defmethod and defclass, and define-overloadable-function.
12427         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12428         Use tramp-compat-file-attributes rather than nonexistent
12429         tramp-compat-handle-file-attributes.
12431         * Makefile.in (lisptagsfiles4): New.
12432         (AUTOGENEL): Add cedet loaddefs files.
12433         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12434         (update-elclist, compile-always, backup-compiled-files)
12435         (bootstrap-clean): Add yet another directory level.
12436         (update-elclist): Use LC_COLLATE rather than COLLATE.
12437         (ELCFILES): Update, via `make update-elclist'.
12439 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12441         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12442         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12443         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12445 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12447         * Makefile.in (lisptagsfiles3): Define.
12448         (TAGS, TAGS-LISP): Use it.
12449         (update-elclist): Add third directory level to look for elc files.
12450         (compile-always): Likewise.
12451         (backup-compiled-files): Likewise.
12452         (bootstrap-clean): Likewise.
12453         (ELCFILES): Update.
12455 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
12457         * Makefile.in (ELCFILES): Add CEDET files.
12459 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
12461         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12463         * net/tramp.el (top): Require tramp-imap.
12465         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12466         Use `tramp-compat-handle-file-attributes'.
12468 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
12470         * net/tramp-imap.el: New package.
12472 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12474         * whitespace.el (whitespace-trailing-regexp)
12475         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12476         Fix doc string.
12478 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
12480         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12481         menu.
12483         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12484         menu-bar-ediff-menu.
12486         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12487         define-overloadable-function.
12489         * progmodes/autoconf.el: Provide autoconf as well, so that this
12490         file can be `require'd.
12492         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12494         * emacs-lisp/autoload.el (generated-autoload-feature)
12495         (generated-autoload-load-name): New vars.
12496         (autoload-rubric, autoload-generate-file-autoloads): Use them.
12497         (make-autoload): Recognize define-overloadable-function and
12498         defclass forms (for EIEIO).
12500         * Makefile.in (update-subdirs): Exclude cedet directory.
12502 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
12504         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
12506         * faces.el: Default light-background background for region face to
12507         ns_selection_color under NS.
12509 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
12511         * net/imap-hash.el: New library, see NEWS.
12513         * Makefile.in (ELCFILES): Add imap-hash.el.
12515 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12517         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12518         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12519         * help-macro.el (make-help-screen): Avoid using an ambiguous function
12520         definition where the docstring could be taken for the return value.
12522 2009-09-26  Glenn Morris  <rgm@gnu.org>
12524         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12525         Add option to only show images below a certain size.
12526         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12527         save-excursion calls.
12529 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
12531         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12532         subdirectories) and eieio.
12534 2009-09-26  Alan Mackenzie  <acm@muc.de>
12536         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12537         buggy bracketing.  (Bug#4289)
12539         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12540         character constants (as case labels).  (Bug#4289)
12542 2009-09-25  Juri Linkov  <juri@jurta.org>
12544         * files.el (safe-local-eval-forms): Allow time-stamp in
12545         before-save-hook (Bug#4554).
12547 2009-09-25  Drew Adams  <drew.adams@oracle.com>
12549         * menu-bar.el (list-buffers-directory): Doc fix.
12551 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12553         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12554         Try and avoid copying twice the same paragraph.
12555         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12556         Remove save-excursion.
12557         (log-edit-changelog-entry): Do it here instead.
12559 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
12561         * bs.el (bs--get-file-name): Use `list-buffers-directory'
12562         when available, instead of hardcoding mode names.  Doc fix.
12564         * menu-bar.el (list-buffers-directory): Add docstring.
12565         Make automatically buffer-local.
12567         * dired.el (dired-mode):
12568         * files.el (cd-absolute):
12569         * pcvs.el (cvs-temp-buffer):
12570         * pcvs-util.el (cvs-get-buffer-create):
12571         * shell.el (shell-mode):
12572         * vc-dir.el (vc-dir-mode):
12573         Don't make `list-buffers-directory' buffer local.
12575 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
12577         * comint.el (comint-exec, comint-run, make-comint):
12578         Doc fixes (Bug#4542).
12580 2009-09-25  Glenn Morris  <rgm@gnu.org>
12582         * mail/rmailmm.el (rmail-mime): New custom group.
12583         Move all defcustoms in this file into this group.
12584         (rmail-mime-media-type-handlers-alist): Revert previous change.
12585         (rmail-mime-show-images): New option.
12586         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12587         references to it, since it wasn't actually used for anything.
12588         (rmail-mime-insert-image): New function.
12589         (rmail-mime-image): Use rmail-mime-insert-image.
12590         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12591         obey the value of `rmail-mime-show-images' option.  Print the size of
12592         attachments.
12594 2009-09-25  David Engster  <deng@randomsample.de>
12596         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
12598 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12600         * whitespace.el: Does not highlight trailing spaces While point is
12601         at end of line.  Does not highligt spaces at beginning of buffer
12602         while point is at beginning of buffer.  Does not highlight spaces
12603         at end of buffer while point is at end of buffer.  (Bug#4177)
12604         New version 12.0.
12605         (whitespace-display-mappings): Adjust initialization.
12606         (whitespace-point, whitespace-font-lock-refontify): New vars.
12607         (whitespace-color-on, whitespace-color-off): Adjust code.
12608         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12609         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12610         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12612 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
12614         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12616         * textmodes/sgml-mode.el: Remove xml-mode alias.
12618         * files.el (auto-mode-alist, conf-mode-maybe)
12619         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12621 2009-09-24  Alan Mackenzie  <acm@muc.de>
12623         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12624         c-forward-conditionals, but it doesn't move point and doesn't set
12625         the mark.
12626         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12627         (c-down-conditional-with-else, c-backward-conditional)
12628         (c-forward-conditional): Refactor to use c-scan-conditionals.
12630 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12632         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12633         (help-default-arg-highlight): Remove.
12634         (help-highlight-arg): New function.
12635         (help-do-arg-highlight): Use it.
12636         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
12638 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12640         * term.el (term-set-scroll-region, term-handle-ansi-escape):
12641         Undo last change, which didn't fix the problem and introduced others.
12643 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
12645         * progmodes/gdb-mi.el: Don't require speedbar.
12646         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12648 2009-09-24  Glenn Morris  <rgm@gnu.org>
12650         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12652         * term/ns-win.el (ns-reg-to-script): Define for compiler.
12654         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12655         there is no newline after the final mime boundary.  (Bug#4539)
12656         Move markers on insertion so that any buttons inserted don't end up in
12657         the next part of a multipart message.
12658         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
12659         (rmail-mime-bulk-handler): Optionally handle images.
12660         (rmail-mime-image): New button action.
12661         (rmail-mime-image-handler): New function.
12662         (rmail-mime-mode): New mode.
12663         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
12665 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12667         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12668         than just dropping elements from it (bug#4504).
12670         * term.el (term-set-scroll-region): Don't move cursor any more.
12671         (term-handle-ansi-escape): Call term-goto here instead.
12672         Suggested by Ivan Kanis <apple@kanis.eu>.
12674         * term.el: Require CL.
12675         (term-ansi-reset): New function.
12676         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12677         (term-handle-colors-array): Simplify.
12679 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12681         * allout.el (allout-overlay-interior-modification-handler)
12682         (allout-obtain-passphrase):
12683         * epa-file.el (epa-file-write-region):
12684         * ps-print.el (ps-begin-job):
12685         * vc-hooks.el (vc-toggle-read-only):
12686         * vc-rcs.el (vc-rcs-rollback):
12687         * vc-sccs.el (vc-sccs-rollback):
12688         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12689         (vc-version-diff, vc-revert, vc-rollback):
12690         * wdired.el (wdired-check-kill-buffer):
12691         * emacs-lisp/authors.el (authors):
12692         * net/socks.el (socks-open-connection):
12693         * net/zeroconf.el (zeroconf-service-add-hook):
12694         * obsolete/vc-mcvs.el (vc-mcvs-register):
12695         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12696         (gdb-select-frame):
12697         * progmodes/grep.el (lgrep, rgrep):
12698         * progmodes/idlw-help.el (idlwave-help-check-locations)
12699         (idlwave-help-html-link, idlwave-help-assistant-open-link):
12700         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12701         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12702         (reftex-toc-rename-label): Fix typos in error messages.
12704         * dired-aux.el (dired-do-shell-command): Reflow docstring.
12705         (dired-copy-how-to-fn): Doc fix.
12706         (dired-files-attributes, dired-read-shell-command):
12707         Fix typos in docstrings.
12709         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12710         (dired-x-find-file-other-window): Reflow docstrings.
12711         (dired-omit-marker-char, dired-read-shell-command)
12712         (dired-x-submit-report): Fix typos in docstrings.
12714         * shell.el (shell-mode-hook):
12715         * view.el (View-scroll-line-forward):
12716         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12717         Fix typos in docstrings.
12719         * net/dig.el (dig-invoke): Fix typo in docstring.
12720         (query-dig): Reflow docstring.
12722         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12723         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12724         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12725         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12726         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12727         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12728         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12729         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12730         (idlwave-completion-map, idlwave-current-indent)
12731         (idlwave-custom-ampersand-surround, idlwave-customize)
12732         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12733         (idlwave-define-abbrev, idlwave-determine-class-special)
12734         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12735         (idlwave-end-block-reg, idlwave-end-of-statement)
12736         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12737         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12738         (idlwave-explicit-class-listed, idlwave-file-header)
12739         (idlwave-fill-paragraph, idlwave-find-class-definition)
12740         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12741         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12742         (idlwave-in-quote, idlwave-indent-action-table)
12743         (idlwave-indent-expand-table, idlwave-indent-line)
12744         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12745         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12746         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12747         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12748         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12749         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12750         (idlwave-outlawed-buffers, idlwave-popup-select)
12751         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12752         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12753         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12754         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12755         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12756         (idlwave-statement-type, idlwave-struct-skip)
12757         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12758         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12759         (idlwave-what-module-find-class): Fix typos in docstrings.
12760         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12761         (idlwave-calculate-cont-indent, idlwave-expand-equal)
12762         (idlwave-find-module, idlwave-find-structure-definition)
12763         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12764         (idlwave-list-load-path-shadows, idlwave-next-statement)
12765         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12766         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12767         (idlwave-template): Reflow docstrings.
12769         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12770         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12771         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12772         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12773         (idlwave-shell-display-line, idlwave-shell-display-wframe)
12774         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12775         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12776         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12777         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12778         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12779         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12780         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12781         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12782         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12783         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12784         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12785         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12786         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12787         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12788         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12789         Fix typos in docstrings.
12790         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12791         (idlwave-shell-hide-output, idlwave-shell-mode)
12792         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12793         Reflow docstrings.
12795         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12797 2009-09-24  Ivan Kanis  <apple@kanis.eu>
12799         * term.el (term-bold-attribute): New var.
12800         (term-handle-colors-array): Use it.
12802 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
12804         * progmodes/gdb-mi.el (gdb-version): New variable.
12805         (gdb-non-stop-handler): Set gdb-version.
12806         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12807         Condition "--thread" option on gdb-version.
12808         (gdb-invalidate-threads): Remove unused argument.
12810 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12812         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12813         to looking-back to avoid ridiculous slow down in large files (bug#4511).
12815 2009-09-23  Glenn Morris  <rgm@gnu.org>
12817         * mail/rmail.el (rmail-reply): Don't try to add a References header when
12818         replying to mail without References or Message-Id.  (Bug#4525)
12820 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
12822         * term/ns-win.el (ns-reg-to-script): New variable.
12824 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
12826         * epg.el (epg-wait-for-status): Preserve existing 'error results.
12828 2009-09-22  Sam Steingold  <sds@gnu.org>
12830         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12831         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12832         to 1 because hg returns status 1 when nothing is found.
12833         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12835 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12837         * textmodes/fill.el: Convert to utf-8 encoding.
12838         (fill-french-nobreak-p): Remove redundant » and « inherited from our
12839         pre-Unicode days.
12841         * add-log.el (change-log-fill-forward-paragraph): New function.
12842         (change-log-mode): Use it so fill-region DTRT.
12843         Set fill-indent-according-to-mode here rather than in
12844         change-log-fill-paragraph.
12845         (change-log-fill-paragraph): Remove.
12847 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
12849         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
12850         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
12852 2009-09-22  Glenn Morris  <rgm@gnu.org>
12854         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
12855         the scroll-bar scroll the calendar window rather than the buffer.
12857         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
12858         commands that move point (as opposed to scrolling).
12860         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
12862         * emacs-lisp/elint.el (elint): New custom group.
12863         (elint-log-buffer): Make it a defcustom.
12864         (elint-scan-preloaded, elint-ignored-warnings)
12865         (elint-directory-skip-re): New options.
12866         (elint-builtin-variables): Doc fix.
12867         (elint-preloaded-env): New variable.
12868         (elint-unknown-builtin-args): Add an entry for encode-time.
12869         (elint-extra-errors): Make it a variable rather than a constant.
12870         (elint-preloaded-skip-re): New constant.
12871         (elint-directory): Skip files matching elint-directory-skip-re.
12872         (elint-features): New variable, local to linted buffers.
12873         (elint-update-env): Initialize elint-features.  Possibly add
12874         elint-preloaded-env to the buffer's environment.
12875         (elint-get-top-forms): Bind elint-current-pos, for log messages.
12876         Skip quoted forms.
12877         (elint-init-form): New function, extracted from elint-init-env.
12878         Make non-list forms a warning rather than an error.
12879         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
12880         easy-menu-define, put that adds an error-condition, and provide.
12881         When requiring cl, also require cl-macs.  Really require cl, to handle
12882         some cl macros.  Store required libraries in the list elint-features,
12883         so as not to re-load them.  Treat cc-require like require.
12884         (elint-init-env): Call elint-init-form to do the work.
12885         Handle eval-and-compile and such like.
12886         (elint-add-required-env): Do not clear messages.
12887         (elint-special-forms): Add handlers for function, defalias, if, when,
12888         unless, and, or.
12889         (elint-form): Add optional argument to ignore elint-special-forms,
12890         useful to prevent recursive calls from handlers.  Doc fix.
12891         Respect elint-ignored-warnings.
12892         (elint-form): Respect elint-ignored-warnings.
12893         (elint-bound-variable, elint-bound-function): New variables.
12894         (elint-unbound-variable): Respect elint-bound-variable.
12895         (elint-get-args): Respect elint-bound-function.
12896         (elint-check-cond-form): Add some simple handling for (f)boundp and
12897         featurep tests.
12898         (elint-check-defalias-form): New handler.
12899         (elint-check-let-form): Make an empty let a warning rather than an
12900         error.
12901         (elint-check-setq-form): Make an empty setq a warning rather than an
12902         error.  Respect elint-ignored-warnings.
12903         (elint-check-defvar-form): Accept null doc-strings.
12904         (elint-check-conditional-form): New handler.  Does some simple-minded
12905         checking of featurep and (f)boundp tests.
12906         (elint-put-function-args): New function.
12907         (elint-initialize): Use elint-scan-doc-file rather than
12908         elint-find-builtin-variables.  Use elint-put-function-args.
12909         Possibly scan preloaded-file-list.
12910         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
12911         extend to handle functions as well.
12913 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
12915         * linum.el (linum-delete-overlays, linum-update-window):
12916         Do not modify the right margin.  (Bug#3971)
12918 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
12920         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
12921         nxml-mode instead of xml-mode.
12923 2009-09-21  Kevin Ryde  <user42@zip.com.au>
12925         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
12927 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12929         * net/dig.el (dig-mode): Use define-derived-mode.
12931 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
12933         * vc-dispatcher.el (vc-do-command): Return the process object in
12934         the asynchronous case.  Use when instead of if.  Do not run
12935         vc-exec-after to display a message if not enabled.  (Bug#4463)
12937         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
12938         properties to the stash strings.
12939         (vc-git-stash-list): Return a list of strings.
12940         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
12941         (vc-git-stash-show-at-point): New functions.
12942         (vc-git-stash-map): New keymap.
12944         * register.el (ctl-x-r-map): Define the keys here instead of
12945         using autoload.
12947 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
12949         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
12950         list, to workaround performance problem (bug#4485).
12952 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
12954         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
12956 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
12958         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12959         Document that this option is not recommended to use.
12961 2009-09-19  Glenn Morris  <rgm@gnu.org>
12963         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
12964         variable `var'.
12966         * calc/calc-alg.el (var):
12967         * calc/calcalg2.el (var): Define for compiler.
12969 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
12971         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
12972         Doc fix (Bug#3932).
12974         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
12976         * time-stamp.el (time-stamp-month-dd-yyyy)
12977         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
12978         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
12979         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
12980         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
12981         Remove functions that have been obsolete since 1995 (Bug#4436).
12983         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
12984         indent buffer only if called interactively (Bug#4452).
12986 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
12987             Eli Zaretskii  <eliz@gnu.org>
12989         This fixes bug#4197 (merged to bug#865, though not identical).
12990         * server.el (server-auth-dir): Add docstring note about FAT32.
12991         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
12992         but warn against using them.
12994 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
12996         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
12997         older GDB where there is no has_more field.
12999 2009-09-19  Glenn Morris  <rgm@gnu.org>
13001         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13003 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
13005         * files.el (auto-mode-alist): Change default for XML files to nXML
13006         mode (Bug#4169).
13008 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
13010         * server.el (server-ensure-safe-dir): Pass 'integer
13011         to `file-attributes', as suggested.
13013 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13015         * dired-aux.el (dired-query-alist): Remove spurious backslash.
13016         (dired-query): Use read-key.
13018 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
13020         * cus-start.el (ns-use-qd-smoothing): Remove.
13022 2009-09-18  Glenn Morris  <rgm@gnu.org>
13024         * allout.el (top-level): Remove unnecessary progn.
13026         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13028         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13029         definition of abbrev table.
13031         * speedbar.el (speedbar-track-mouse):
13032         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13033         * net/eudc.el (eudc-expand-inline):
13034         * net/newst-backend.el (newsticker--cache-read-feed):
13035         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13036         condition-case handlers.
13038 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
13040         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13041         (gdb-var-list): Add an element for has_more field.
13042         (gdb-non-stop-handler): Enable pretty printing for STL containers.
13043         (gdb-var-create-handler, gdb-var-list-children-handler-1)
13044         (gdb-var-update-handler-1): Parse output of dynamic variable
13045         objects (STL containers).
13046         (gdb-var-delete-1): Pass var1 as an explicit second argument.
13047         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
13049         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13050         gdb-var-list.
13051         (gud-speedbar-buttons): Make node expandable if expression "has more"
13052         children.
13054 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
13056         * startup.el (emacs-quick-startup): Remove variable and all uses.
13057         (command-line): Set `inhibit-x-resources' instead.
13058         (command-line-1): Use `inhibit-x-resources' instead.
13060 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
13062         * subr.el: Fix last change to avoid using the `unless' macro,
13063         which breaks bootstrapping.
13065 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13067         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13068         extended definitions, in case we reload subr.el after having
13069         loaded CL.
13070         (eval-next-after-load): Mark as obsolete.
13072 2009-09-17  Juri Linkov  <juri@jurta.org>
13074         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13075         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13076         (menu-bar-showhide-menu, menu-bar-tools-menu)
13077         (menu-bar-describe-menu, menu-bar-help-menu)
13078         (minibuffer-local-completion-map, minibuffer-local-map):
13079         Fix list quoting.
13081 2009-09-17  Glenn Morris  <rgm@gnu.org>
13083         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13084         arguments, whether or not it has a handler.
13086         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13088         * simple.el (hard-newline): Give it a doc-string.
13090         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13091         (lisp-mode-syntax-table): Give them doc-strings.
13093 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
13095         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13096         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13097         (menu-bar-options-menu, menu-bar-showhide-menu)
13098         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13099         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13100         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13101         (menu-bar-options-menu, menu-bar-tools-menu)
13102         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13103         (menu-bar-help-menu):
13104         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13105         string arguments.
13107         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13108         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13109         calls for the menu names and :help.
13111 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13113         * mouse.el (minor-mode-menu-from-indicator): Pay attention
13114         to :minor-mode-function (bug#4455).
13116 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13118         * startup.el (command-line): Initialize the window-system after
13119         processing the command-line.
13121         * textmodes/page.el (what-page): Make sure we don't inf-loop if
13122         page-delimiter matches the empty string.
13124 2009-09-16  Glenn Morris  <rgm@gnu.org>
13126         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13127         byte-compile-not-obsolete-var.  It's a list now.
13128         (byte-compile-not-obsolete-funcs): New variable.
13129         (byte-compile-warn-obsolete): Don't warn about functions if they are in
13130         byte-compile-not-obsolete-funcs.
13131         (byte-compile-variable-ref, byte-compile-defvar): Update for
13132         byte-compile-not-obsolete-vars name-change and list nature.
13133         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13134         and variables behind (f)boundp tests.
13135         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13137 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13139         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13141 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13143         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13144         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13145         Don't autoload.
13147 2009-09-15  Stephen Eglen  <stephen@gnu.org>
13149         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13150         the virtual-buffers, use the name of the buffer specified by
13151         find-file-noselect, as the match may be a symlink.  (This was a
13152         problem if the target and the symlink had different names.)
13154 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13156         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13158         * desktop.el (desktop-path): Check user-emacs-directory.
13160         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13162         * loadup.el: Use after-load-functions to GC after loading each file.
13163         Remove the explicit GC calls that used to be sprinkled around.
13165         * subr.el (after-load-functions): New hook.
13166         (do-after-load-evaluation): Run it.  Use string-match-p to detect
13167         `obsolete' packages, rather than painfully extracting the relevant
13168         directory name.
13170 2009-09-15  Glenn Morris  <rgm@gnu.org>
13172         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13173         free variable `doc'.
13175         * dired.el (dired-mode-map): Add menu entry for async shell command.
13177         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13178         variables, also consider the .elc files, since the .el files are
13179         normally gzipped (subsequent code locates the .el.gz from the .elc).
13181         * calc/calc-prog.el (arglist): Define for compiler.
13183         * calendar/diary-lib.el (diary-display-function): Change the default to
13184         fancy display.
13185         (body): Define for compiler.
13187         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13188         (byte-compile-file-form, byte-compile-lambda)
13189         (byte-compile-top-level-body, byte-compile-form)
13190         (byte-compile-variable-ref, byte-compile-setq)
13191         (byte-compile-setq-default, byte-compile-body)
13192         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13193         (batch-byte-compile): Give some more local variables with common names
13194         a "bytecomp-" prefix to avoid masking warnings about free variables.
13196         * startup.el (command-line-1): Give local variables with common names a
13197         distinguishing prefix, so as not to hide free variable warnings during
13198         bootstrap.
13200         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13201         clever and add a suffix to make a unique name, just let the user decide
13202         whether or not to overwrite it.  If the input is a directory, write the
13203         default filename to that directory.  (Bug#4388)
13204         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13205         is a filename-as-a-directory.
13207 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13209         * textmodes/page.el (what-page): Don't move to beginning of line.
13210         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13212 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13214         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13216 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
13218         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13219         * help.el (help-for-help-internal): Add purecopy calls for text.
13221         * vc.el (top): print-log method now takes an optional SHORTLOG
13222         argument.  Add a new method: root.
13223         (vc-root-diff, vc-print-root-log): New functions.
13224         (vc-log-short-style): New variable.
13225         (vc-print-log-internal): Add support for showing short logs.
13227         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13228         vc-print-root-log and vc-print-root-diff.
13230         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13231         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13232         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13233         short logs.
13235         * vc-cvs.el (vc-cvs-print-log):
13236         * vc-mtn.el (vc-mtn-print-log):
13237         * vc-rcs.el (vc-rcs-print-log):
13238         * vc-sccs.el (vc-sccs-print-log):
13239         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13240         that is ignored for now.
13242         * vc-mtn.el (vc-mtn-annotate-command):
13243         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13245 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13247         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13248         to function-key-map, and give them ascii-character property.
13249         * term/x-win.el (x-alternatives-map):
13250         * term/ns-win.el (ns-alternatives-map):
13251         * term/internal.el (msdos-key-remapping-map):
13252         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13254 2009-09-14  Glenn Morris  <rgm@gnu.org>
13256         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13257         temp-buffers (2009-09-12).
13259 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13261         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13262         the new read-key function.
13264 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13266         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13267         is defined (Bug#4405).
13269 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
13271         * recentf.el (recentf-cleanup): Use a hash table to find
13272         duplicates (Bug#4407).
13274 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
13276         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13277         kp-0 to ascii equivalents (Bug#4325).
13279 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13281         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13283         * eshell/em-hist.el:
13284         * eshell/em-dirs.el (eshell-complete-user-reference):
13285         Declare pcomplete functions and variables to avoid compiler warnings.
13287 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
13289         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13290         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13291         * eshell/em-alias.el (eshell-aliases-file):
13292         * eshell/em-hist.el (eshell-history-file-name):
13293         Use expand-file-name instead of concat to make file names (Bug#4308).
13295 2009-09-13  Glenn Morris  <rgm@gnu.org>
13297         * ediff-merg.el (ediff-do-merge):
13298         * filesets.el (filesets-run-cmd):
13299         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13300         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13301         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13302         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13303         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13304         Replace empty `let's with `progn'.
13306 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13308         * mail/sendmail.el (send-mail-function):
13309         * tooltip.el (tooltip-mode):
13310         * simple.el (transient-mark-mode):
13311         * rfn-eshadow.el (file-name-shadow-mode):
13312         * frame.el (blink-cursor-mode):
13313         * font-core.el (global-font-lock-mode):
13314         * files.el (temporary-file-directory)
13315         (small-temporary-file-directory, auto-save-file-name-transforms):
13316         * epa-hook.el (auto-encryption-mode):
13317         * composite.el (global-auto-composition-mode):
13318         Use custom-initialize-delay.
13319         * startup.el (command-line): Don't explicitly call
13320         custom-reevaluate-setting for all the above vars.
13321         * custom.el (custom-initialize-safe-set)
13322         (custom-initialize-safe-default): Delete.
13324 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13326         * term/x-win.el (x-initialize-window-system):
13327         * term/w32-win.el (w32-initialize-window-system):
13328         * term/ns-win.el (ns-initialize-window-system): Don't call
13329         mouse-wheel-mode since it's enabled globally by default already.
13331         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13332         actually define the variable, but only silences the byte-compiler.
13333         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13334         before looking it up.
13335         (mouse-wheel-scroll-amount): Also reset the bindings if this value
13336         is changed.
13338 2009-09-12  Glenn Morris  <rgm@gnu.org>
13340         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13341         1000.
13342         (elint-add-required-env): Don't beep on error.
13343         (elint-forms): In case of error, return ENV unchanged.
13344         (elint-init-env): Skip non-list forms.
13345         (elint-log): Handle unknown file positions.
13347 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
13349         * epg.el (epg-make-context): Add autoload cookie.
13350         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13351         (epg-decrypt-string, epg-start-verify, epg-verify-file)
13352         (epg-verify-string, epg-start-sign, epg-sign-file)
13353         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13354         (epg-encrypt-string, epg-start-export-keys)
13355         (epg-export-keys-to-file, epg-export-keys-to-string)
13356         (epg-start-import-keys, epg-import-keys-from-file)
13357         (epg-import-keys-from-string, epg-start-receive-keys)
13358         (epg-receive-keys, epg-import-keys-from-server)
13359         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13360         (epg-sign-keys, epg-start-generate-key)
13361         (epg-generate-key-from-file, epg-generate-key-from-string):
13362         Remove autoload cookie.
13364 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
13366         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13367         reevaluation of trash-directory.
13369         * mwheel.el: Fix last change.
13370         (mouse-wheel-mode): New defvar.
13371         (mouse-wheel-mode): Remove autoload cookie.
13373 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13375         * mwheel.el (mwheel-installed-bindings): New var.
13376         (mouse-wheel-mode): Use it, so as to make sure we really remove all
13377         the bindings we set last time.  Use custom-initialize-delay.
13378         * loadup.el: Load mwheel after term/*-win.el.
13379         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13380         and mouse-wheel-up-event now that their first evaluation is done
13381         sufficiently late to be correct.
13383         * startup.el (tutorial-directory): Make it a defcustom.
13384         Use custom-initialize-delay rather than eval-at-startup to set it.
13385         * image.el (image-load-path): Make it a defcustom.
13386         Use custom-initialize-delay rather than eval-at-startup to set it.
13387         * subr.el (eval-at-startup): Remove.
13388         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13390         * subr.el (do-after-load-evaluation): Warn the user after loading an
13391         obsolete package.
13393 2009-09-12  Glenn Morris  <rgm@gnu.org>
13395         * proced.el (proced-mark-alt): Remove alias.
13396         (proced-mode-map): Remove proced-mark-alt.
13398         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13399         Elint file and directory.  Remove initialization entry.
13401         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13402         commands.
13403         (elint-current-buffer): Set mode-line-process.
13404         (elint-init-env): Handle define-derived-mode.
13405         Fix declare-function with unspecified arglist.  Guard against odd
13406         defalias statements (eg iso-insert's 8859-1-map).
13407         (elint-add-required-env): Use a temp buffer.
13408         (elint-form): Just print the function/macro name, not the whole form.
13409         Return env unchanged if we fail to parse a macro.
13410         (elint-forms): Guard against parse errors.
13411         (elint-output): New function, to handle batch mode.
13412         (elint-log-message): Add optional argument.  Use elint-output.
13413         (elint-set-mode-line): New function.
13415 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13417         * emacs-lisp/elp.el (elp-not-profilable): Add more
13418         functions (Bug#4233).
13420 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
13422         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13423         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13425 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13427         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13428         (gdb-var-list-children): Use json parsing.
13430 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
13432         * progmodes/js.el (js--proper-indentation): Handle the case where
13433         char-before is null.  Reported by Deniz Dogan.
13435 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13437         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13439 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
13441         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13442         (epg-digest-algorithm-alist): Add SHA224.
13443         (epg-context-set-passphrase-callback)
13444         (epg-context-set-progress-callback): Add description about
13445         callback function.
13447 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13449         * custom.el (custom-delayed-init-variables): New var.
13450         (custom-initialize-delay): New function.
13451         * startup.el (command-line): "Re"evaluate all vars in
13452         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
13453         explicitly any more.
13454         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13455         to avoid creating a ~/.emacs.d at build-time (bug#4347).
13457         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13459 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13461         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13462         (gdb-var-update-handler): Use json parsing.
13464 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13466         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13467         decode annotated text, regardless of language environment.  (Bug#2741)
13469 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13471         * Makefile.in (autoloads): Make rmail.el writable as well.
13473 2009-09-11  Glenn Morris  <rgm@gnu.org>
13475         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13476         loaddefs.el.
13477         * dired.el: Regenerate with extracted autoloads.
13478         * Makefile.in (autoloads): Make dired.el writable.
13480         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13481         * ibuffer.el: Regenerate with extracted autoloads.
13482         * Makefile.in (autoloads): Make ibuffer.el writable.
13484         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13485         * version.el (emacs-copyright, emacs-major-version)
13486         (emacs-minor-version): Reformat doc-strings for make-docfile.
13488         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13489         functions and variables, since they must be stuff specific to some other
13490         platform.
13491         (apropos-print): Make mouse-click message less specific about button.
13493         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13494         that records where a macro was defined.
13495         * help-fns.el (describe-function-1): Mention if a function has a
13496         compiler-macro.
13497         * help-mode.el (help-function-cmacro): New button.
13499         * locate.el (top-level): Always require dired.
13500         (locate-mode-map): Initialize inside the defvar.
13502         * net/ange-ftp.el (dired-compress-file): Declare.
13503         (ange-ftp-dired-compress-file): Add doc string.
13505         * term/ns-win.el (x-display-name, x-setup-function-keys):
13506         Unify doc-strings with X versions.
13508 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13510         * emulation/crisp.el (crisp-mode-map): Move initialization
13511         into declaration.
13512         (crisp-mode): Use define-minor-mode.
13514         * progmodes/xscheme.el (xscheme-evaluation-commands):
13515         Put a :advertised-binding property rather than using
13516         advertised-xscheme-send-previous-expression.
13517         (advertised-xscheme-send-previous-expression): Declare obsolete.
13518         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13519         `advertised-undo'.
13520         (crisp-mode): Add corresponding bindings to
13521         undo's :advertised-binding instead.
13522         * dired.el (dired-mode-map): Put a :advertised-binding property rather
13523         than using dired-advertised-find-file.
13524         (dired-advertised-find-file):
13525         * simple.el (advertised-undo):
13526         * wid-edit.el (advertised-widget-backward): Declare obsolete.
13527         (widget-keymap): Put a :advertised-binding property rather
13528         than using advertised-widget-backward.
13529         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13530         than using advertised-undo.
13531         * tutorial.el (tutorial--default-keys): Adjust accordingly.
13533 2009-09-10  Simon South  <ssouth@slowcomputing.org>
13535         * progmodes/delphi.el (delphi-tab): Indent region when Transient
13536         Mark mode is enabled and region is active; otherwise indent or
13537         insert TAB as usual.
13538         (delphi-mode): Update description of TAB-key binding.
13540 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13542         * subr.el (define-key-rebound-commands): Mark obsolete.
13543         * startup.el (precompute-menubar-bindings): Remove.
13544         (normal-top-level): Remove obsolete code that tried to precompute
13545         menubar bindings.
13546         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13547         define-key-rebound-commands and precompute-menubar-bindings.
13549 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
13551         * net/imap.el (imap-interactive-login): Better messages.
13552         (imap-open): Fix bug with renamed buffer on reconnect.
13553         (imap-authenticate): Add buffer-local imap-last-authenticator variable
13554         for easier debugging and cleaner code.  On successful (guessed based on
13555         server capabilities) secondary authentication, set imap-state
13556         correctly.
13557         (imap-last-authenticator): Define imap-last-authenticator as a variable
13558         to avoid warnings.
13560 2009-09-10  Glenn Morris  <rgm@gnu.org>
13562         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13564         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13565         (byte-compile-file-form-autoload): Don't warn about unknown functions
13566         where the autoload statement comes after the use.
13567         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13568         that any handlers inside the body (eg require) are in turn respected.
13570         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13571         effects.
13573         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13574         and syntax and abbrev tables basic docs, if they don't have any.
13576         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13578         * international/mule-cmds.el (top-level): Require cl when compiling.
13579         (view-hello-file): Use default-value rather than
13580         default-enable-multibyte-characters.
13582         * progmodes/fortran.el: Move all safe and risky properties into the
13583         defcustoms.
13585         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13586         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13587         * mail/undigest.el:
13588         Put autoloads in rmail.el rather than loaddefs.el.
13589         * mail/rmail.el: Regenerate with extracted autoloads.
13591         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13592         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13594 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
13596         Reported in thread for Bug#4375.
13597         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13598         "-data-evaluate-expression" instead of print.
13599         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13600         (gdb-tooltip-print): Parse output from above MI command.
13601         (gdb): Revert 2009-08-11 change.  User should detach inferior
13602         manually.
13604         Remove the word "separate" from IO functions as inferior
13605         output is now never displayed in the GUD buffer.
13607 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
13609         * startup.el (command-line-normalize-file-name): On Windows and
13610         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13612 2009-09-10  Juri Linkov  <juri@jurta.org>
13614         * isearch.el (isearch-text-char-description): Propertize escape
13615         character sequences with the `escape-glyph' face.  (Bug#4344)
13617         * simple.el (shell-command): Set asynchronous process filter to
13618         `comint-output-filter'.  (Bug#4343)
13620         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13621         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
13622         the list.  Move "asm" to the bottom.
13623         (grep-find-ignored-directories): Add `choice' with nil value
13624         to empty the list easily.
13625         (grep-find-ignored-files): New option.
13626         (grep-files-history): Set to nil by default instead of '("ch" "el").
13627         (grep-compute-defaults): Add "<X>" to `grep-template'.
13628         (grep-read-files): Bind new local variables `default-alias' and
13629         `default-extension'.  Use a list of default values for the file prompt.
13630         (lgrep): Add `--exclude=' command line options composed from
13631         `grep-find-ignored-files'.
13632         (rgrep): Add `-name' command line options composed from
13633         `grep-find-ignored-files'.  (Bug#4301)
13635 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13637         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13638         (bug#4368).
13640 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
13642         * calendar/time-date.el (autoload):
13643         Expand define-obsolete-function-alias into defalias and make-obsolete
13644         for old Emacsen that Gnus supports.
13645         (with-no-warnings): Define it for old Emacsen.
13646         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13647         is available.
13648         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13649         float-time is available; suppress compile warning for time-to-seconds.
13651 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
13653         * net/imap.el (imap-message-map): Docstring fix.
13655 2009-09-09  Glenn Morris  <rgm@gnu.org>
13657         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13658         line numbers too.  (Bug#4374)
13660 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13662         * smerge-mode.el (smerge-remove-props, smerge-refine):
13663         Use with-silent-modifications (bug#4342).
13665         * subr.el (with-silent-modifications): New macro.
13667 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
13669         * files.el (top-level): Require `cl' when compiling.
13671 2009-09-07  Glenn Morris  <rgm@gnu.org>
13673         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13675         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13676         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
13678 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
13680         * vc-git.el (vc-git-annotate-command): Use separator to parse
13681         arguments correctly.
13683 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
13685         * proced.el (proced-mode): Doc fix.
13687 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
13689         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13690         lstat fails.
13691         (tramp-do-file-attributes-with-ls): Check for file existence at
13692         remote end.
13693         (tramp-do-file-attributes-with-stat): Likewise.
13694         (tramp-convert-file-attributes): Return nil when attr is nil.
13696 2009-09-05  Glenn Morris  <rgm@gnu.org>
13698         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13699         properties to this button.
13700         (diary-fancy-display): Don't extend the button to the final newline.
13701         (diary-fancy-display-mode): Continue to define "q" as a local key.
13703         * calendar/cal-china.el (holiday-chinese): Make it slightly more
13704         efficient.
13706         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13708         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13709         (byte-compile-dest-file-function): New option.
13710         (byte-compile-dest-file): Doc fix.
13711         Obey byte-compile-dest-file-function.
13712         (byte-compile-cl-file-p): New function.
13713         (byte-compile-eval): Only suppress noruntime warnings about cl functions
13714         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
13715         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13716         than for file being previously loaded.
13717         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13718         (byte-compile-file-form-require): Handle the case where requiring a file
13719         indirectly causes CL to be loaded.
13721 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13723         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13724         before killing the old buffer, since by the time `kill-buffer' is
13725         run so many buffer variables have been set to nil that it may not
13726         behave as expected.  (Bug#4061)
13728 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13730         * files.el (find-alternate-file): If the old buffer is modified
13731         and visiting a file, behave similarly to `kill-buffer' when
13732         killing it, thus reverting to the pre-1.878 behavior; see
13733         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13734         for discussion.  Also, consult `buffer-file-name' as a variable
13735         not as a function, for consistency with the rest of the code.
13737 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
13739         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13740         also when adding a new directory.
13742         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13743         defun.
13745 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13747         * files.el (locate-file-completion-table): Make it provide boundary
13748         information, so partial-completion works better.
13750 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
13752         * mail/footnote.el (Footnote-text-under-cursor):
13753         Check footnote-text-marker-alist before using it (bug#4324).
13755 2009-09-04  Glenn Morris  <rgm@gnu.org>
13757         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13758         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13759         * play/solitaire.el, play/tetris.el:
13760         Remove leading * from defcustom and defface docs.
13762         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13763         necessary.
13764         (diary-fancy-overriding-map): New variable.
13765         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13766         Use view-mode.
13768         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13769         goto-line.
13771 2009-09-03  Glenn Morris  <rgm@gnu.org>
13773         * arc-mode.el (archive-mode):
13774         * dos-fns.el (set-default-process-coding-system):
13775         * man.el (Man-getpage-in-background):
13776         * menu-bar.el (menu-bar-describe-menu):
13777         * server.el (server-process-filter):
13778         * startup.el (command-line):
13779         * tar-mode.el (tar-header-block-tokenize, tar-extract):
13780         * w32-fns.el (set-default-process-coding-system):
13781         * x-dnd.el (x-dnd-handle-file-name):
13782         * international/mule-cmds.el (mule-menu-keymap)
13783         (set-default-coding-systems, language-info-alist, set-language-info)
13784         (set-language-environment, standard-display-european-internal)
13785         (set-locale-environment):
13786         * international/mule-diag.el (mule-diag):
13787         * mail/emacsbug.el (report-emacs-bug):
13788         * mail/rmail.el (rmail-mode):
13789         * mail/sendmail.el (mail-setup):
13790         Use default-value rather than default-enable-multibyte-characters.
13792         * progmodes/f90.el: Move all safe properties into the defcustoms.
13793         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13795         * calendar/appt.el (appt-check):
13796         * calendar/diary-lib.el (diary-set-header, diary-live-p)
13797         (diary-check-diary-file, diary-list-entries)
13798         (diary-include-other-diary-files, diary-simple-display)
13799         (diary-fancy-display, diary-print-entries)
13800         (diary-mark-included-diary-files, diary-make-entry):
13801         Don't call substitute-in-file-name on diary-file.
13803 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
13804             Stefan Monnier  <monnier@iro.umontreal.ca>
13806         * mail/footnote.el (footnote-prefix): Make it a defcustom.
13807         (footnote-mode-map): Move initialization into the declaration.
13808         (footnote-minor-mode-map): Define it rather than changing global-map.
13809         (footnote-mode): Use define-minor-mode.
13811 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
13813         * net/tramp.el (tramp-handle-file-attributes-with-ls)
13814         (tramp-do-file-attributes-with-perl)
13815         (tramp-do-file-attributes-with-stat): Rename from
13816         `tramp-handle-file-attributes-with-*'.
13817         (tramp-handle-file-attributes): Use them.
13818         (tramp-do-directory-files-and-attributes-with-perl)
13819         (tramp-do-directory-files-and-attributes-with-stat): Rename from
13820         `tramp-handle-directory-files-and-attributes-with-*'.
13821         (tramp-handle-directory-files-and-attributes): Use them.
13822         (tramp-method-out-of-band-p): Additional parameter SIZE.
13823         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13824         (tramp-handle-write-region): Use it.
13825         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13826         (tramp-handle-vc-registered): Check, whether the first run did
13827         return files to be tested.
13828         (tramp-advice-make-auto-save-file-name): Do not call directly
13829         `tramp-handle-make-auto-save-file-name', because this would bypass
13830         the locking mechanism.
13832         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13833         (file-remote-p, process-file, start-file-process, set-file-times)
13834         (tramp-compat-file-attributes): Compatibility functions shall not
13835         call directly `tramp-handle-*', because this would bypass the
13836         locking mechanism.
13837         (tramp-compat-number-sequence): New defun.
13839 2009-09-02  Glenn Morris  <rgm@gnu.org>
13841         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
13842         alias for float-time.
13843         (time-to-number-of-days): In Emacs, use float-time.
13844         * net/newst-backend.el (time-add): Suppress warnings from compat
13845         function.
13846         * time.el (emacs-uptime, emacs-init-time):
13847         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
13848         Use float-time rather than time-to-seconds.
13850         * minibuffer.el (completion-initials-expand): Fix typo.
13852         * faces.el (modeline, modeline-inactive, modeline-highlight)
13853         (modeline-buffer-id):
13854         * info.el (info-menu-5): Mark these face aliases as obsolete.
13856 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
13858         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
13859         space ...
13860         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
13861         no "--thread" option.
13862         (gdb-stopped): Don't print "Switched to thread" message when it is
13863         unchanged.
13865 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13867         * minibuffer.el (completion-try-completion)
13868         (completion-all-completions): Remove ill-defined (and
13869         mistakenly installed and luckily never used nor documented)
13870         `completion-styles' property.
13871         (completion-initials-expand, completion-initials-all-completions)
13872         (completion-initials-try-completion): New functions.
13873         (completion-styles-alist): Add doc to each entry.
13874         Add new `initials' entry.
13876 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
13878         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
13879         MI command -var-evaluate-expression.
13880         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
13881         and tweak for case of string child.
13882         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
13884 2009-09-01  Glenn Morris  <rgm@gnu.org>
13886         * add-log.el (change-log-date-face, change-log-name-face)
13887         (change-log-email-face, change-log-file-face, change-log-list-face)
13888         (change-log-conditionals-face, change-log-function-face)
13889         (change-log-acknowledgement-face):
13890         * cus-edit.el (custom-invalid-face, custom-rogue-face)
13891         (custom-modified-face, custom-set-face, custom-changed-face)
13892         (custom-saved-face, custom-button-face, custom-button-pressed-face)
13893         (custom-documentation-face, custom-state-face, custom-comment-face)
13894         (custom-comment-tag-face, custom-variable-tag-face)
13895         (custom-variable-button-face, custom-face-tag-face)
13896         (custom-group-tag-face-1, custom-group-tag-face):
13897         * diff-mode.el (diff-header-face, diff-file-header-face)
13898         (diff-index-face, diff-hunk-header-face, diff-removed-face)
13899         (diff-added-face, diff-changed-face, diff-function-face)
13900         (diff-context-face, diff-nonexistent-face):
13901         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
13902         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
13903         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
13904         (Info-title-4-face):
13905         * isearch.el (isearch-lazy-highlight-face):
13906         * log-view.el (log-view-file-face, log-view-message-face):
13907         * paren.el (show-paren-match-face, show-paren-mismatch-face):
13908         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
13909         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
13910         (cvs-msg-face):
13911         * smerge-mode.el (smerge-mine-face, smerge-other-face)
13912         (smerge-base-face, smerge-markers-face):
13913         * wid-edit.el (widget-documentation-face, widget-button-face)
13914         (widget-field-face, widget-single-line-field-face)
13915         (widget-inactive-face, widget-button-pressed-face):
13916         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
13917         (woman-addition-face):
13918         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
13919         (eshell-ls-executable-face, eshell-ls-readonly-face)
13920         (eshell-ls-unreadable-face, eshell-ls-special-face)
13921         (eshell-ls-missing-face, eshell-ls-archive-face)
13922         (eshell-ls-backup-face, eshell-ls-product-face)
13923         (eshell-ls-clutter-face):
13924         * eshell/em-prompt.el (eshell-prompt-face):
13925         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
13926         * obsolete/old-whitespace.el (whitespace-highlight-face):
13927         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
13928         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
13929         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
13930         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
13931         (antlr-font-lock-literal-face):
13932         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
13933         (ebrowse-root-class-face, ebrowse-file-name-face)
13934         (ebrowse-default-face, ebrowse-member-attribute-face)
13935         (ebrowse-member-class-face, ebrowse-progress-face):
13936         * progmodes/make-mode.el (makefile-space-face):
13937         * progmodes/sh-script.el (sh-heredoc-face):
13938         * textmodes/flyspell.el (flyspell-incorrect-face)
13939         (flyspell-duplicate-face):
13940         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
13941         * textmodes/texinfo.el (texinfo-heading-face):
13942         Mark face aliases with "-face" suffix as obsolete.
13944         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
13945         compiler.
13947         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
13948         (eudc-bob-sound-menu): Use defvar rather than defconst, since
13949         easy-menu-define wants to modify these.
13951         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
13953         * net/browse-url.el (browse-url-file-url):
13954         * term/internal.el (dos-codepage-setup):
13955         Use default-value rather than default-enable-multibyte-characters.
13957         * progmodes/etags.el (etags-goto-tag-location):
13958         * progmodes/flymake.el (flymake-highlight-line)
13959         (flymake-goto-file-and-line, flymake-goto-line):
13960         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
13961         (gdb-goto-breakpoint):
13962         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
13963         * progmodes/python.el (python-find-function)
13964         (python-pdbtrack-track-stack-file):
13965         * progmodes/verilog-mode.el (verilog-surelint-off):
13966         * term/ns-win.el (ns-open-file-select-line):
13967         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
13968         Use forward-line rather than goto-line.
13970         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
13971         * textmodes/reftex-index.el (reftex-display-index):
13972         * textmodes/reftex-ref.el (reftex-offer-label-menu):
13973         * textmodes/reftex-toc.el (reftex-toc):
13974         Remove unnecessary bindings of default-major-mode (all are followed by
13975         major-mode check and possible mode switch).
13977 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
13979         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13980         Handle watchpoints (bug#4282).
13981         (def-gdb-thread-buffer-command): Enable thread to be selected by
13982         clicking without selecting threads buffer first.
13983         (gdb-current-context-command): Use selected frame so that "up",
13984         "down" etc work in the GUD buffer.
13985         (gdb-update): Find selected frame before rendering stack buffer.
13986         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
13988 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13990         * progmodes/sym-comp.el (displayed-completions): Remove.
13991         (symbol-complete): Use minibuffer-complete.
13993 2009-08-31  Glenn Morris  <rgm@gnu.org>
13995         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
13997         * apropos.el (apropos-symbols-internal):
13998         Handle (obsolete) face aliases.
14000         * faces.el (describe-face): Adjust the output format to be more like
14001         describe-variable, and to mention (obsolete) face aliases.
14002         Adjust the whitespace so that help-setup-xref works.
14004         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14005         * calendar/diary-lib.el (diary-button-face):
14006         Mark these face aliases as obsolete.
14008         * calendar/calendar.el (calendar-today): Doc fix.
14010 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14012         * progmodes/gdb-mi.el (gdb-control-all-threads)
14013         (gdb-control-current-thread): Force tool bar update.
14014         (gdb-non-stop-handler): New function.
14015         (gdb-init-1): Use it to test if non-stop mode is supported.
14016         Remove unused gdbmi buffer type.
14018 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14020         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14021         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
14023 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
14025         * comint.el (comint-exec-1): Check command is non-null first.
14026         Part of gdb-mi.el change (2009-08-28).
14028 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14030         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14032 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
14034         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14035         instead of `dolist' to avoid a recursive require when bootstrapping.
14037 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14039         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14041         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14043         * net/imap.el (imap-send-command): Simplify.
14044         (imap-wait-for-tag): point-max -> buffer-size.
14046         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14048         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14049         with constant argument.
14051         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14053         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14055         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14056         Change default, since most of our files don't have a history.
14057         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14058         the user.
14060         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14061         Add comint-run.
14063         * calc/calc.el: Improve commenting convention.
14064         (calc-digit-map, toplevel): Simplify.
14066         * comint.el (comint-insert-input): Be careful to only set point if we
14067         don't delegate to some other command.
14069         * proced.el (proced-signal-list): Make it an alist.
14070         (proced-grammar-alist): Capitalize names.
14071         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14072         Disable undo manually and make it read-only.
14073         Use completion-annotate-function.
14075         * minibuffer.el (minibuffer-message): If the current buffer is not
14076         a minibuffer, insert the message in the echo area rather than at the
14077         end of the buffer.
14078         (completion-annotate-function): New variable.
14079         (minibuffer-completion-help): Use it.
14080         (completion--embedded-envvar-table): Environment vars are
14081         always case-sensitive.
14083 2009-08-30  Glenn Morris  <rgm@gnu.org>
14085         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14086         from fortran-current-defun.
14087         (fortran-beginning-of-subprogram): Be more precise about finding the
14088         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
14089         (fortran-end-of-subprogram): Simplify.
14090         (fortran-current-defun): Use fortran-start-prog-re.
14092 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
14094         * subr.el (do-after-load-evaluation): Simplify.
14096 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
14098         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14100         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
14101         (vc-rcs-print-log): Use it.
14103         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14105 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14107         * paths.el (abbrev-file-name): Move to abbrev.el.
14108         * abbrev.el (abbrev-file-name): Move from paths.el.
14109         Obey user-emacs-directory.
14110         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14111         user-emacs-directory.
14112         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14113         abbrev-file-name and calc-settings-file any more.
14114         * startup.el (command-line): Recompute abbrev-file-name and
14115         abbreviated-home-dir.
14116         (normal-no-mouse-startup-screen): Improve the generic code and get rid
14117         of the special code for when C-h bindings haven't been changed.
14118         (display-startup-echo-area-message): Use with-current-buffer.
14119         (command-line-1): Use a list of strings, rather than a list of lists
14120         of strings for longopts.
14122         * files.el (get-free-disk-space): Use / for default-directory.
14124         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14125         Use with-current-buffer.
14127         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14128         Recognize immutable variables like most-positive-fixnum.
14129         (byte-compile-setq-default): Check and warn if trying to assign
14130         to an immutable variable, or a non-variable.
14132         * progmodes/cc-vars.el (c-comment-continuation-stars):
14133         * progmodes/cc-engine.el (c-looking-at-bos):
14134         * progmodes/cc-cmds.el (c-toggle-auto-state)
14135         (c-forward-into-nomenclature, c-backward-into-nomenclature)
14136         (c-comment-line-break-function): Add version of obsolescence.
14138 2009-08-28  Juri Linkov  <juri@jurta.org>
14140         * files.el (magic-fallback-mode-alist): Add ZIP magic number
14141         associated with `archive-mode'.
14143         * image.el (image-type-header-regexps): Use only JPEG magic number
14144         to determine JPEG images, and don't use `image-jpeg-p' because
14145         Emacs can display non-JFIF non-Exif JPEG images.
14147 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14149         * arc-mode.el (archive-mode):
14150         * emacs-lisp/re-builder.el (re-builder-unload-function):
14151         Protect against the default value of `major-mode' being nil.
14153 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14155         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14156         Fix typos in docstrings.
14158         * progmodes/js.el (js--macro-decl-re): Doc fix.
14159         (js--plain-method-re, js--split-name): Refloc docstring.
14160         (js--class-styles, js--make-merged-item, js--splice-into-items):
14161         Fix typos in docstrings; reflow docstrings.
14162         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14163         (js--variable-decl-matcher, js--inside-pitem-p)
14164         (js--parse-state-at-point, js--get-all-known-symbols)
14165         (js--symbol-history, js-find-symbol, js--js-references)
14166         (js--moz-interactor, js--js-encode-value, js--read-tab):
14167         Fix typos in docstrings.
14169 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14171         * textmodes/reftex.el (reftex-get-file-buffer-force):
14172         * progmodes/verilog-mode.el (verilog-batch-execute-func):
14173         * emulation/viper.el (viper-go-away, viper-set-hooks):
14174         * emacs-lisp/re-builder.el (re-builder-unload-function):
14175         * emacs-lisp/bytecomp.el (byte-compile-file):
14176         * ses.el (ses-unload-function):
14177         * hexl.el (hexl-find-file):
14178         * files.el (normal-mode):
14179         * ehelp.el (with-electric-help):
14180         * autoinsert.el (auto-insert-alist):
14181         * arc-mode.el (archive-mode):
14182         Use (default-value 'major-mode) instead of default-major-mode.
14184         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14185         * international/mule.el (load-with-code-conversion):
14186         * emacs-lisp/debug.el (debug):
14187         * ediff-vers.el (ediff-rcs-get-output-buffer):
14188         * dired.el (dired-internal-noselect): Don't let-bind
14189         default-major-mode around code that doesn't use it.
14190         E.g. buffer creation via get-buffer-create doesn't use it.
14192 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
14194         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14195         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14196         when writing the temp file.  Otherwise, epa-file gets confused.
14197         (tramp-register-file-name-handlers): Make it a defun.  Move also
14198         `epa-file-handler' to the front of `file-name-handler-alist'.
14200 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14202         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14203         start right after a ^M.
14204         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14205         (tramp-completion-file-name-regexp-separate)
14206         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14207         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14208         Don't modify last-coding-system-used by accident.
14209         (tramp-completion-file-name-handler): Apply the checks here,
14210         instead during registration.
14211         (tramp-register-file-name-handlers): Renamed from
14212         `tramp-register-file-name-handler'.  Register both
14213         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14214         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
14216 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
14218         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14219         Remove variable ...
14220         (gdb-init-1, gdb-display-separate-io-buffer)
14221         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14222         references to it.
14223         (gdb-inferior-io-mode): Use make-comint-in-buffer.
14224         (gdb-inferior-filter): Use comint-output-filter to stop
14225         echoing and remove ^M characters.
14227 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14229         * emulation/viper-init.el (viper-restore-cursor-type):
14230         * emulation/cua-base.el (cua--update-indications):
14231         Replace default-cursor-type with (default-value 'cursor-type).
14233         * mail/sendmail.el (mail-recover-1):
14234         * international/mule-diag.el (describe-current-coding-system-briefly)
14235         (describe-current-coding-system):
14236         * international/mule-cmds.el (select-safe-coding-system)
14237         (select-message-coding-system)
14238         (set-language-environment-coding-systems, set-locale-environment):
14239         * hexl.el (hexl-insert-multibyte-char):
14240         * dos-w32.el (find-buffer-file-type-coding-system):
14241         * simple.el (what-cursor-position):
14242         Replace uses of default-buffer-file-coding-system
14243         with (default-value 'buffer-file-coding-system).
14245         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14246         Replace uses of default-cursor-in-non-selected-windows
14247         with (default-value 'cursor-in-non-selected-windows).
14248         Use with-current-buffer.
14250         * mail/feedmail.el: Use CL macros.
14251         (feedmail-run-the-queue, feedmail-send-it-immediately):
14252         * dos-w32.el (find-buffer-file-type): Replace uses of
14253         default-buffer-file-type with (default-value 'buffer-file-type).
14255 2009-08-28  Glenn Morris  <rgm@gnu.org>
14257         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14258         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14259         Use default-value of major-mode rather than default-major-mode.
14261 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14263         * Makefile.in (update-elcfiles): Report left over elc files.
14265         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14266         expand-file-name and with-current-buffer.
14267         (mail-get-names, mail-directory): Use with-current-buffer.
14269         * vc.el (vc-read-revision): New function.
14270         (vc-version-diff, vc-merge): Use it.
14272 2009-08-27  Sam Steingold  <sds@gnu.org>
14274         * simple.el (kill-do-not-save-duplicates): New user option.
14275         (kill-new): When it is non-nil, and the new string is the same as
14276         the latest kill, set replace to t to avoid duplicates in kill-ring.
14278 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
14280         * net/tramp.el (tramp-handle-process-file): Do not flush all
14281         caches when `process-file-side-effects' is set.
14282         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14283         instead of `tramp-find-file-exists-command'.
14284         Unset `process-file-side-effects'.
14286 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
14288         * net/tramp.el (tramp-methods): New method "rsyncc".
14289         (top): Add completion function for "rsyncc".
14290         (tramp-message-show-message): New defvar.
14291         (tramp-message, tramp-error): Use it.
14292         (tramp-do-copy-or-rename-file-directly): Extend check for direct
14293         remote copying.
14294         (tramp-do-copy-or-rename-file-out-of-band): Handle new
14295         `tramp-methods' entry `copy-env' of "rsyncc".
14296         (tramp-vc-registered-read-file-names): New defconst.
14297         (tramp-vc-registered-file-names): New defvar.
14298         (tramp-handle-vc-registered): Implement optimization strategy.
14299         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14300         (tramp-vc-file-name-handler): New defun.
14301         (tramp-get-ls-command, tramp-get-test-command)
14302         (tramp-get-file-exists-command, tramp-get-remote-ln)
14303         (tramp-get-remote-perl, tramp-get-remote-stat)
14304         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14306         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14307         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
14308         timestamps.
14309         (tramp-get-file-property): Check for timestamps in
14310         `tramp-cache-inhibit-cache'.
14311         (tramp-set-file-property): Write timestamp.
14313 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14315         * language/japan-util.el (japanese-symbol-table): Add entries for
14316         cp932-2-byte.
14318         * international/characters.el: Add category `j' to cp932-2-byte.
14320 2009-08-27  Kenichi Handa  <handa@m17n.org>
14322         * international/fontset.el (build-default-fontset-data): New macro.
14323         (setup-default-fontset): Use build-default-fontset-data for CJK,
14324         tibetan, ethiopic, and ipa.
14326 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14328         * cus-start.el (default-major-mode): Customize `major-mode' instead.
14329         (enable-multibyte-characters): Not customizable any more.
14331         * subr.el (default-mode-line-format, default-header-line-format)
14332         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14333         (default-direction-reversed, default-truncate-lines)
14334         (default-left-margin, default-tab-width, default-case-fold-search)
14335         (default-left-margin-width, default-right-margin-width)
14336         (default-left-fringe-width, default-right-fringe-width)
14337         (default-fringes-outside-margins, default-scroll-bar-width)
14338         (default-vertical-scroll-bar, default-indicate-empty-lines)
14339         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14340         (default-fringe-cursor-alist, default-scroll-up-aggressively)
14341         (default-scroll-down-aggressively, default-fill-column)
14342         (default-cursor-type, default-buffer-file-type)
14343         (default-cursor-in-non-selected-windows)
14344         (default-buffer-file-coding-system, default-major-mode)
14345         (default-enable-multibyte-characters): Mark as obsolete.
14347 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
14349         * vc-dir.el (vc-dir-update): Remove debug helper.
14351         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14353 2009-08-26  Sam Steingold  <sds@gnu.org>
14355         * simple.el (save-interprogram-paste-before-kill): New user option.
14356         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14357         save the interprogram-paste into kill-ring before overriding it
14358         with the Emacs kill.
14360 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14362         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14363         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14364         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14365         and move to vc-rcs.el.
14366         (vc-default-next-revision): Rename to vc-rcs-next-revision and
14367         move to vc-rcs.el.
14368         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14369         (vc-rcs-update-changelog): Remove.
14370         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14371         and move to vc-rcs.el.
14373         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14374         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14375         renaming.
14376         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14377         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14378         vc.el, renamed to be RCS specific.
14380         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14381         New functions.
14382         (vc-cvs-update-changelog): Move here from vc.el.
14384         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14385         New functions.
14387 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14389         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14391 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14393         * vc-git.el (vc-git-register): Use "git add" for directories.
14394         (vc-git-stash, vc-git-stash-show): New functions.
14395         (vc-git-extra-menu-map): Bind them.
14397         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14398         directory correctly in case the item is a directory itself.
14400         * vc.el: Document the desired behavior for reverted files in the
14401         `added' state.
14402         (vc-default-prettify-state-info): Remove function, unused.
14404         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14406 2009-08-26  Glenn Morris  <rgm@gnu.org>
14408         * bindings.el (standard-mode-line-format): Reposition dashes in
14409         which-func entry.  (Bug#4217)
14411         * files.el (enable-local-variables, enable-local-eval)
14412         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14413         the defcustoms.
14414         (auto-mode-alist, ignored-local-variables)
14415         (save-some-buffers-action-alist): Move risky declarations to the
14416         definitions.
14417         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14418         (font-lock-defaults, format-alist, imenu--index-alist)
14419         (imenu-generic-expression, input-method-alist, minor-mode-alist)
14420         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14421         (mode-line-modified, mode-line-mule-info, mode-line-position)
14422         (mode-line-process, mode-line-remote, outline-level)
14423         (parse-time-rules, rmail-output-file-alist)
14424         (special-display-buffer-names, vc-mode):
14425         Move risky declarations to the relevant files.
14426         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14427         (mode-line-modified, mode-line-process, mode-line-position)
14428         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14429         * font-core.el (font-lock-defaults):
14430         * format.el (format-alist):
14431         * vc-hooks.el (vc-mode):
14432         * window.el (special-display-buffer-names):
14433         * international/mule-cmds.el (input-method-alist):
14434         Define riskiness here (dumped file) rather than in files.el.
14435         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14436         * imenu.el (imenu-generic-expression, imenu--index-alist):
14437         * outline.el (outline-level):
14438         * time.el (display-time-string):
14439         * calendar/parse-time.el (parse-time-rules):
14440         * mail/rmailout.el (rmail-output-file-alist):
14441         Autoload riskiness here, rather than placing in files.el.
14443 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
14445         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14447 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
14449         * simple.el (process-file-side-effects): New defvar.
14451         * dired-aux.el (dired-show-file-type):
14452         * vc.el (vc-diff-internal):
14453         * vc-arch.el (vc-arch-diff):
14454         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14455         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14456         * vc-git.el (vc-git-registered, vc-git-working-revision)
14457         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14458         (vc-git--empty-db-p):
14459         * vc-hooks.el (vc-user-login-name):
14460         * vc-svn.el (vc-svn-registered, vc-svn-state)
14461         (vc-svn-dir-extra-headers, vc-svn-find-revision):
14462         * progmodes/grep.el (grep-probe): Let-bind
14463         `process-file-side-effects' with nil.
14465         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14467         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14468         daemon.  Replace ping by checking for running service for bluez
14469         and zeroconf.  (Bug#4239)
14471 2009-08-25  Kevin Ryde  <user42@zip.com.au>
14473         * net/dig.el (dig): Add autoload cookie.
14475 2009-08-25  Glenn Morris  <rgm@gnu.org>
14477         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14478         load-history for absolute file-names.
14479         (byte-compile-file-form-require): Warn about use of the cl package.
14481         * format.el (format-alist): Doc fix.
14483         * play/bubbles.el (top-level): Don't require cl at run-time.
14485         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14486         run-time cl).
14488 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
14490         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14491         from cl package.
14492         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14494 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
14496         * calc/calc-alg.el (math-trig-rewrite)
14497         (math-hyperbolic-trig-rewrite): New functions.
14498         (calc-simplify): Simplify trig functions when asked.
14500 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14502         * diff-mode.el (diff-find-source-location): Avoid goto-line.
14504 2009-08-24  Kenichi Handa  <handa@m17n.org>
14506         * language/ind-util.el (mapthread): Delete it.
14507         (combinatorial): New function.
14508         (indian--puthash-cv): Use combinatorial instead of mapthread.
14510 2009-08-22  Kevin Ryde  <user42@zip.com.au>
14512         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14513         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14514         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14515         Clarify docstring that the value is strings not symbols.
14516         (checkdoc-list-of-strings-p): New function.
14518 2009-08-22  Glenn Morris  <rgm@gnu.org>
14520         * files.el (auto-mode-alist):
14521         * hippie-exp.el (he-concat-directory-file-name):
14522         * lpr.el (lpr-windows-system, printer-name):
14523         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14524         * ps-print.el (ps-windows-system):
14525         * startup.el (command-line):
14526         * emulation/viper-ex.el (viper-glob-function):
14527         * international/mule-cmds.el (set-language-environment-coding-systems):
14528         * net/ange-ftp.el (ange-ftp-write-region):
14529         * obsolete/fast-lock.el (fast-lock-cache-name):
14530         Remove code for defunct system-types emx, macos, mswindows, next-mach,
14531         unisoft-unix, vax-vms, win32, w32.
14533         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14534         given name if the pattern is not more specific.
14536         * calendar/lunar.el (lunar-phase-names): New option.
14537         (lunar-phase): Doc fix.
14538         (lunar-cycles-per-year): New constant.
14539         (lunar-index): New function.
14540         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14541         (lunar-phase-name): Use lunar-phase-names.
14542         (calendar-lunar-phases): Use format.
14543         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14545         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14546         Copy imenu-example--name-and-position function here for own use.
14547         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14549         * bs.el (bs--redisplay):
14550         * cus-edit.el (custom-redraw):
14551         * ibuffer.el (ibuffer-bury-buffer):
14552         * server.el (server-goto-line-column):
14553         * startup.el (command-line-1):
14554         * strokes.el (strokes-xpm-for-stroke):
14555         * term.el (term-display-buffer-line):
14556         * view.el (View-goto-line):
14557         * calc/calc.el (calc-do, calc-trail-buffer):
14558         * play/gamegrid.el (gamegrid-add-score-insecure):
14559         * progmodes/ada-mode.el (ada-compile-goto-error):
14560         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14561         (ebrowse-select-1st-to-9nth):
14562         * progmodes/cperl-mode.el (cperl-time-fontification):
14563         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14564         * progmodes/gud.el (gud-display-line):
14565         (idlwave-shell-display-line):
14566         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14567         * progmodes/make-mode.el (makefile-browser-toggle):
14568         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14569         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14570         * textmodes/picture.el (picture-draw-rectangle):
14571         * textmodes/reftex-index.el (reftex-index-goto-letter):
14572         (reftex-select-jump-to-previous):
14573         * textmodes/reftex-sel.el (reftex-find-start-point)
14574         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14575         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14576         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14577         * textmodes/tex-mode.el (tex-compilation-parse-errors):
14578         * textmodes/two-column.el (2C-associated-buffer):
14579         Use forward-line rather than goto-line.
14581         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14582         goto-line.
14584         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14585         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14586         (quick-check-list-to-regexp): Declare.
14588         * progmodes/make-mode.el (makefile-browser-insert-selection):
14589         Use goto-char rather than goto-line.
14591         * progmodes/prolog.el (compilation-error-regexp-alist)
14592         (compilation-forget-errors): Declare.
14594 2009-08-22  Juri Linkov  <juri@jurta.org>
14596         * progmodes/grep.el (lgrep, rgrep): At the beginning
14597         set `dir' to `default-directory' unless `dir' is a non-nil
14598         readable directory.  (Bug#4052)
14599         (lgrep, rgrep): Change a weird way to report an error
14600         from using `read-string' to using `error'.
14601         Instead of using interactive arguments in the function body,
14602         add new argument `confirm'.
14604 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14606         * textmodes/remember.el (remember-buffer):
14607         * progmodes/cperl-mode.el (cperl-vc-header-alist):
14608         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14609         (icalendar-extract-ical-from-buffer):
14610         * net/newst-treeview.el (newsticker-groups-filename):
14611         * net/newst-backend.el (newsticker-cache-filename):
14612         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14613         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14614         (speedbar-add-ignored-path-regexp, speedbar-line-path)
14615         (speedbar-buffers-line-path, speedbar-path-line)
14616         (speedbar-buffers-line-path):
14617         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14618         (epg-sign-keys):
14619         * epa.el (epa-display-verify-result):
14620         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14622 2009-08-21  Glenn Morris  <rgm@gnu.org>
14624         * progmodes/js.el (inferior-moz-process): Fix declaration.
14626         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14628         * obsolete/rnewspost.el (news-mail-reply):
14629         Use goto-char rather than goto-line.
14631         * term/ns-win.el (ns-open-file-select-line):
14632         Use line-beginning-position rather than goto-line.
14634         * apropos.el (apropos-command):
14635         * ehelp.el (electric-helpify):
14636         * printing.el (pr-show-setup):
14637         * strokes.el (strokes-help):
14638         * tutorial.el (tutorial--describe-nonstandard-key)
14639         (tutorial--detailed-help):
14640         * woman.el (woman-mini-help, woman-display-extended-fonts):
14641         * calc/calc-help.el (calc-describe-key):
14642         * emulation/edt.el (edt-electric-helpify):
14643         * international/mule-diag.el (mule-diag):
14644         * play/yow.el (apropos-zippy):
14645         * progmodes/python.el (python-describe-symbol):
14646         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14647         * textmodes/table.el (*table--cell-describe-mode)
14648         (*table--cell-describe-bindings):
14649         Use help-print-return-message rather than the now obsolete alias.
14651         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14652         (calendar-cursor-to-visible-date):
14653         * play/5x5.el (5x5-position-cursor):
14654         * play/decipher.el (decipher):
14655         * play/gomoku.el (gomoku-goto-xy):
14656         * play/landmark.el (lm-goto-xy):
14657         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14658         (mpuz-paint-digit):
14659         Use forward-line, not goto-line.
14661         * mail/rmail.el (rmail-obsolete): Delete custom group.
14662         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14663         (rmail-remote-password, rmail-remote-password-required):
14664         Remove unneeded :set-after and :set properties.
14666 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
14668         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14670 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
14672         * loadup.el: Remove leftover macos code.
14674         * vc-git.el (vc-git-annotate-command): Run asynchronously.
14675         Explicitly pass the date format to git blame so that user local
14676         so that the output format can be parsed.
14678 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
14680         * net/dbus.el (top): Don't check for (getenv
14681         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
14683 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
14685         * log-edit.el (log-edit-strip-single-file-name): New var.
14686         (log-edit-insert-changelog): Use it.  Bug#3571
14688 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14690         * subr.el (read-passwd): Use read-key so keypad keys work as well.
14691         Bug#3287
14693         * help.el (help-print-return-message): Rename from
14694         print-help-return-message.
14696         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14697         cvs-mode-map parent hack.
14698         (log-view-mode): Derive from special-mode.
14700         * linum.el (linum-mode): window-size-change-functions is redundant.
14701         Adapt to new window-configuration-change-hook behavior.
14702         (linum-after-size, linum-after-config): Remove.
14704         * imenu.el (imenu-example--name-and-position)
14705         (imenu-example--lisp-extract-index-name)
14706         (imenu-example--create-lisp-index, imenu-example--create-c-index):
14707         Mark as obsolete.
14709         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14710         (inferior-prolog-mode): Use it.
14711         (inferior-prolog-load-file): Reset list of errors.
14713 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14715         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14717         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14719 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
14721         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14722         is running already.
14724 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14726         * subr.el (listify-key-sequence-1): Use normal syntax since those
14727         integers are nowadays always represented by the same (positive) number
14728         on all platforms.
14729         (read-key-empty-map): New const.
14730         (read-key-delay): New var.
14731         (read-key): New function.
14732         (force-mode-line-update): Use with-current-buffer.
14733         (locate-user-emacs-file): Don't forget to abbreviate the file name.
14734         (start-process-shell-command, start-file-process-shell-command):
14735         Discourage the use of command-args.
14737 2009-08-19  Glenn Morris  <rgm@gnu.org>
14739         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14741 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14743         * simple.el (choose-completion-string): Don't rely on
14744         minibuffer-completing-file-name and ad-hoc checks to decide whether
14745         to continue completion or not.
14747         * minibuffer.el (minibuffer-hide-completions): New function.
14748         (completion--do-completion): Use it.
14749         (completions-annotations): New face.
14750         (completion--insert-strings): Use it.
14751         (completion-pcm--delim-wild-regex): Add docstring.
14752         (completion-pcm--string->pattern): Add support for 0-width delimiters
14753         in completion-pcm--delim-wild-regex.
14755 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14757         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14758         Remove unused var `buffer-modified-p'.
14760         * minibuffer.el (completion--do-completion): Move point for the #b001
14761         case as well (bug#4176).
14762         (minibuffer-complete, minibuffer-complete-word): Don't move point.
14764 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
14766         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
14767         and :session buses.
14769 2009-08-18  Kenichi Handa  <handa@m17n.org>
14771         * international/ucs-normalize.el (ucs-normalize-version):
14772         Change to 1.1.
14773         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14774         (utf-8-hfs): Make it perform normalization on encoding too.
14776         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
14777         (sentence-end-without-space): Delete duplicated chars.
14778         (sentence-end-base): Likewise.
14780         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
14781         (html-mode): Delete duplicated chars from sentence-end-base.
14783         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
14784         (texinfo-mode): Delete duplicated chars from sentence-end-base.
14786 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
14788         * files.el (hack-one-local-variable): If the mode function is for
14789         a minor mode, pass it an argument (Bug#4148).
14791 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
14793         * net/tramp.el (tramp-register-completion-file-name-handler):
14794         Check also for (member 'partial-completion completion-styles).
14796 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14798         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14799         abbrev (Bug#3943).
14801 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
14803         * progmodes/cperl-mode.el: Merge upstream 6.2.
14804         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14805         (cperl-forward-re): Check cperl-brace-recursing.
14806         (cperl-highlight-charclass): New function.
14807         (cperl-find-pods-heres): Use it.
14808         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14809         (cperl-beautify-regexp-piece): Fix column calculation.
14810         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14811         (cperl-beautify-level): Don't process entire regexp.
14812         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14813         calling man.
14814         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14815         (cperl-init-faces): Build a list in the normal way.
14817 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14819         * calendar/parse-time.el (parse-time-string-chars): Save match
14820         data.
14822 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14824         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14825         (sql-product): Use it.
14826         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14827         (sql-set-product): Add completion.
14828         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14829         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14830         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14831         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14832         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14833         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14834         (sql-highlight-db2-keywords): Remove.
14835         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14836         (sql-highlight-product): Use derived-mode-p.
14837         (sql-set-sqli-buffer): Use with-current-buffer.
14838         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14839         Simplify.
14841         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
14843         * term.el: Fix commenting convention, turn comments into docstrings.
14845 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
14847         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
14849 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
14851         * calendar/parse-time.el (parse-time-string-chars): Compute using
14852         character classes, to handle non-ascii characters (Bug#3190).
14854 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14856         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
14857         another heredoc if the user adds another < (Bug#3226).
14859         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
14860         Don't initialize based on window-system (Bug#4124).
14862         * facemenu.el (facemenu-read-color): Use a completion function
14863         that accepts any defined color, such as RGB triplets (Bug#3677).
14865         * files.el (get-free-disk-space): Change fallback default
14866         directory to /.  Expand DIR argument before switching to fallback.
14867         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
14869 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
14871         * files.el (load-library): Doc fix.
14873 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
14875         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
14876         (viper-if-string): Redefine C-s in the minibuffer to insert the last
14877         incremental search string.
14879         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
14880         XEmacs.
14882         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
14883         (ediff-merge-region-is-non-clash)
14884         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
14885         Also check if the job is really a merge job.
14887         * ediff.el (ediff-current-file): New function.
14889 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
14891         * progmodes/js.el: Edit docstrings throughout to follow Emacs
14892         conventions.
14893         (js-insert-and-indent): Delete function.
14894         (js-mode-map): Don't bind keys to js-insert-and-indent.
14895         (js-beginning-of-defun): Rename from js--beginning-of-defun.
14896         (js-end-of-defun): Rename from js--end-of-defun.
14897         (js-auto-indent-flag): Delete variable.
14899 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
14901         * progmodes/js.el: Remove proclaim statement.
14902         Defvar which-func-imenu-joiner-function to silence compiler.
14904         * files.el (auto-mode-alist): Use js-mode for .js files.
14906         * progmodes/js2-mode.el: Remove file.
14908         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
14910         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
14912         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
14914 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
14915             Karl Landstrom  <karl.landstrom@brgeight.se>
14917         * progmodes/js.el: New file.
14919 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
14921         * timezone.el (timezone-parse-date): Add ability to understand ISO
14922         basic format (minimal separators) dates in addition to the
14923         already-supported extended format dates.
14925 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
14927         * international/ucs-normalize.el: Add a `coding' file variable.
14929         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
14931 2009-08-14  Sam Steingold  <sds@gnu.org>
14933         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
14935 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
14937         * faces.el (help-argument-name): Define it here instead of
14938         help-fns.el, because in daemon mode help-fns.el may be loaded when
14939         faces are still uninitialized (Bug#1078).
14941         * help-fns.el (help-argument-name): Move defface to faces.el.
14943 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
14945         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
14946         create buffer with a pty but no process so that GDB can make the
14947         inferior the controlling process.
14949 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
14951         * international/ucs-normalize.el: New file.
14953 2009-08-13  Richard Stallman  <rms@gnu.org>
14955         * mail/rmail.el (rmail-get-attr-names):
14956         Accept an attribute header that is too short.
14958         * mail/rmail.el (rmail-forget-messages):
14959         Ignore nil elt in rmail-message-vector.  Use dotimes.
14961         * progmodes/compile.el (compilation-goto-locus):
14962         Use next-error-move-function.
14964         * simple.el (next-error-move-function): New variable.
14966 2009-08-12  Juri Linkov  <juri@jurta.org>
14968         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
14969         always non-nil.  (Bug#4052)
14971         * replace.el (read-regexp): Return empty string when
14972         `default-value' is nil.
14973         (keep-lines-read-args): Don't use empty string as the
14974         default value for `read-regexp'.  (Bug#2495)
14976 2009-08-12  Juri Linkov  <juri@jurta.org>
14978         * international/mule-cmds.el (ucs-insert): Change arguments
14979         from `arg' to `character', `count', `inherit' to be the same
14980         as in `insert-char'.  Doc fix.  (Bug#4039)
14982         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
14984 2009-08-12  Juri Linkov  <juri@jurta.org>
14986         * files-x.el: New file.
14988         * files.el: Move code that deals with adding/deleting
14989         file/directory-local variables to files-x.el.
14991         * Makefile.in (ELCFILES): Add files-x.elc.
14993 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
14995         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
14996         to use `goto-line'.
14997         (gdb-place-breakpoints, gdb-get-location): Rewritten without
14998         `goto-line'.
14999         (gdb-invalidate-disassembly): Do not refresh upon receiving
15000         'update signal.  Instead, update all disassembly buffers only after
15001         threads list.
15002         (gdb): Send -target-detach when buffer is killed (Bug#3794).
15003         (gdb-starting): Moved -data-list-register-names...
15004         (gdb-stopped): ...here so it's sent when first thread stops.
15005         (gdb-registers-handler-custom): Do nothing if register names are
15006         unknown yet.
15008         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15009         from `gdb-mi.el' to avoid extra tangling.
15011         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15012         change which breaks `gud-def' definitions used in `gdb'.
15013         (gdb-update-gud-running): No extra fuss for updating frame number.
15015 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15017         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15018         (describe-language-environment-map, setup-language-environment-map)
15019         (set-coding-system-map): Move initialization into declaration.
15020         (set-language-info-alist): Last arg to define-key-after can be skipped.
15022         * international/quail.el (quail-completion-1): Simplify.
15023         (quail-define-rules): Use slightly more compact code.
15024         (quail-insert-decode-map): Propertize keys, compact columns.
15026         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15027         Add goto-line.
15029 2009-08-10  Miles Bader  <miles@gnu.org>
15031         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15032         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15033         (js2-instance-member, js2-private-member, js2-private-function-call)
15034         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15035         (js2-magic-paren, js2-external-variable):
15036         Remove "-face" suffix from face names.
15037         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15038         (js2-highlight-undeclared-vars, js2-peek-token)
15039         (js2-parse-function-params, js2-mode-show-errors)
15040         (js2-mode-show-warnings, js2-make-magic-delimiter)
15041         (js2-mode-highlight-magic-parens): Update to use new face names.
15043 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
15045         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15046         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
15048 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
15050         * subr.el: Provide hashtable-print-readable.
15052         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15053         hs-c-like-adjust-block-beginning.
15054         (hs-hide-block-at-point): Stop hiding at the beginning of
15055         hs-block-end-regexp (Bug#700).
15057 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
15059         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15060         a macro.
15061         (gdb-registers-handler-custom): Do not fail when register names
15062         are unavailable.
15064 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15066         * progmodes/gdb-mi.el (gdb-control-all-threads)
15067         (gdb-control-current-thread): Interactive setters for
15068         `gdb-gud-control-all-threads' to use in menu.
15069         (gdb-show-run-p): Show «Go» when process is not active.
15070         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
15071         gud/thread.xpm and gud/all.xpm.
15073 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
15075         * net/net-utils.el (net-utils-font-lock-keywords): New var.
15076         (nslookup-font-lock-keywords): Make it a variable.
15077         (net-utils-mode): New mode for viewing diagnostic network output.
15078         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15079         (net-utils-run-simple): New function.
15080         (ifconfig, iwconfig, netstat, arp, route): Use it.
15082 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15084         * progmodes/gdb-mi.el (gdb-read-memory-custom)
15085         (gdb-memory-set-address, def-gdb-set-positive-number)
15086         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15087         after changing settings.
15088         (gdb-invalidate-disassembly): Update when first shown.
15089         (gdb-edit-locals-value): Fixed.
15090         (gdb-registers-handler-custom): Print registers in right order and
15091         allow changing register values (only for current thread yet).
15092         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15093         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15094         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15095         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15096         info in mode name.
15097         (gdb-registers-mode-map): TAB to switch to locals.
15099 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
15101         * mail/rmail.el (rmail-add-mbox-headers)
15102         (rmail-set-message-counters-counter): Search for
15103         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
15105 2009-08-08  Glenn Morris  <rgm@gnu.org>
15107         * Makefile.in (ELCFILES): Update.
15109 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15111         * mail/sendmail.el (mail-yank-original): Set
15112         buffer-file-coding-system from the one used by the message whose
15113         text is yanked.
15115         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15116         to "windows" when "pgnuplot" is used.
15117         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15118         call accept-process-output if "pgnuplot" is used.
15119         (calc-graph-init): Don't send -display and -geometry to
15120         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
15121         running "pgnuplot -V" with shell-command-to-string.
15123         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15124         the default.
15126 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15128         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15129         org/org-latex.elc.
15131 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
15133         * vc-dispatcher.el (vc-resynch-window): Update comment.
15135         * term.el (term-handle-ansi-escape): Add comments with the
15136         terminfo capabilities implemented.
15138 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
15140         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15141         (gdb-var-create-handler): Rewritten using JSON parser.
15142         (gdb-propertize-header): Moved earlier.
15143         (gdb-set-header): Removed to avoid duplication.
15144         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15145         Refresh disassembly buffers only after threads list have been
15146         update.
15147         (gdb-threads-header, gdb-registers-header): Per-buffer header line
15148         variables.
15150 2009-08-04  Juri Linkov  <juri@jurta.org>
15152         * files.el: Commands to add/delete file/directory-local variables.
15153         (read-file-local-variable, read-file-local-variable-value)
15154         (read-file-local-variable-mode, modify-file-local-variable)
15155         (modify-file-local-variable-prop-line)
15156         (modify-dir-local-variable): New functions.
15157         (add-file-local-variable, delete-file-local-variable)
15158         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15159         (add-dir-local-variable, delete-dir-local-variable)
15160         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15161         (copy-dir-locals-to-file-locals-prop-line): New commands.
15163 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
15165         * abbrev.el (insert-abbrev-table-description): Prettify output.
15166         Suggested by Karl Chen.
15168 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
15170         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15171         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15172         (gdb-overlay-arrow-position, gdb-thread-position)
15173         (gdb-disassembly-position): Declare variables.
15174         (gdb-wait-for-pending): Function now.
15175         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15176         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15177         compilation goes smoothly.
15178         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15179         (gdb-non-stop-setting): New customization setting which replaces
15180         `gdb-non-stop' so changing it doesn't break active GDB session.
15181         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15182         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15183         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15184         (gdb-show-threads-by-default): New customization options.
15185         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15186         routines.
15187         (gdb-get-buffer-create): Send buffers update signal when they are
15188         created.
15189         (gdb-invalidate-locals, gdb-invalidate-registers)
15190         (gdb-invalidate-breakpoints)
15191         (gdb-invalidate-threads, gdb-invalidate-disassembly)
15192         (gdb-invalidate-memory): Accept update signal.
15193         (gdb-current-context-command): Use --frame option.
15194         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15195         Implement `gdb-frame-number' selection logic.
15196         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15197         whether to show GUD toolbar buttons.
15198         (gdb-thread-exited): Unselect current thread when it exits.
15199         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15200         (gdb-mark-line): Routine which sets overlay arrow or inverses
15201         video on fringeless displays.
15202         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15203         to build aligned columns of data in GDB buffers and set text
15204         properties line-by-line.
15205         (gdb-invalidate-breakpoints)
15206         (gdb-breakpoints-list-handler-custom)
15207         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15208         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15209         (gdb-registers-handler-custom): Align data columns.
15210         (gdb-locals-handler-custom): Now prints data like in variable
15211         declarations.
15212         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15213         Removed confusing buttons.
15214         (gdb-invalidate-threads): Append --frame.
15215         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15216         between breakpoints/threads buffers.
15217         (gdb-set-window-buffer): Now can ignore dedicated windows.
15218         (gdb-propertize-header): Use `gdb-set-window-buffer'.
15219         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15220         (def-gdb-thread-buffer-gud-command): Replaces
15221         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15222         for fine thread control.
15223         (gdb-preempt-existing-or-display-buffer): New function used to
15224         display bound buffers without breaking window layout.
15225         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15226         (gdb-select-frame): New version of `gdb-frames-select' which now
15227         sets `gdb-frame-number' so commands may use --frame option instead
15228         of inner debugger state.
15229         (gdb-frame-handler): Do not set `gdb-frame-number'.
15230         (gdb-threads-mode-map): Select threads with mouse.
15232         * progmodes/gud.el (gdb-gud-context-call): Declare function to
15233         avoid compilation warning.
15234         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15235         `gdb-show-stop-p`.
15237         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15238         Argument `key' renamed to `buffer-type'.
15239         (gdb-current-context-buffer-name): Do not add thread info to
15240         buffer name when no thread is selected.
15241         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15242         command (bug 3794).
15243         (gdb-thread-selected): Handle `=thread-selected' notification.
15244         (gdb-wait-for-pending): New macro to deal with congestion problems.
15245         (gdb-breakpoints-list-handler-custom): Don't fail on pending
15246         breakpoints.
15247         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15248         This fixes problem similar to one described in bug 3947.
15249         (gud-menu-map): More menu items.
15250         (gdb-init-1): Reset `gdb-thread-number' to nil.
15252         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15253         non-stop settings.
15255         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15256         (gdb-current-context-command): Do not append --thread if
15257         `gdb-thread-number' is nil.
15258         (gdb-running-threads-count, gdb-stopped-threads-count): New
15259         variables.
15260         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15261         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15262         customization options.
15263         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15264         GUD commands.
15265         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15266         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15267         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15268         set `gdb-thread-number' and update `gud-running' properly.
15269         (gdb-running): Update threads list when new threads appear.
15270         (gdb-stopped): Support non-stop operation and new thread switching
15271         logic.
15272         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15273         (gdb-json-partial-output): New set of JSON routines.
15274         (def-gdb-auto-update-trigger): New `signal-list' optional
15275         argument.
15276         (gdb-thread-list-handler-custom): Update `gud-running',
15277         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15278         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15279         (gdb-continue-thread, gdb-step-thread): New commands for fine
15280         thread execution control.
15281         (gud-menu-map): New menu items to switch non-stop options.
15282         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15283         (gdb-send): Mimic RET properly (bug 3794).
15285         * progmodes/gdb-mi.el (gdb-rules-name-maker)
15286         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15287         gdb-buffer-rules.
15288         (def-gdb-auto-update-handler): New nopreserve optional argument.
15289         (gdb-stack-list-frames-custom): Print stack from top to bottom.
15291         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15292         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15293         (gdb-parent-mode): New mode to derive other GDB modes from.
15294         (gdb-display-disassembly-for-thread)
15295         (gdb-frame-disassembly-for-thread): New commands for threads
15296         buffer.
15298         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15299         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15300         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15301         (gdb-update): We now store all GDB buffers in a list so that they
15302         can be updated by traversing a list instead of calling invalidate
15303         triggers explicitly.
15304         (def-gdb-trigger-and-handler): New macro to define trigger-handler
15305         pair for GDB buffer.
15306         (gdb-stack-buffer-name): Add thread information.
15307         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15308         handle pending triggers.
15309         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15310         (def-gdb-thread-buffer-simple-command)
15311         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15312         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15313         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15314         New commands which show buffers bound to thread.
15315         (gdb-stack-list-locals-regexp): Removed unused regexp.
15317         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15318         (gdb-locals-buffer-name, gdb-registers-buffer-name)
15319         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15320         to (gud-comint-buffer) in *-buffer-name functions
15321         because (gdb-get-target-string) already does that.
15322         (gdb-locals-handler-custom, gdb-registers-handler-custom)
15323         (gdb-changed-registers-handler): Rewritten without regexps.
15325         * progmodes/gdb-mi.el: Basic thread selection support.
15326         (gdb-thread-number): New variable.
15327         (gdb-current-context-command): New macro which adds --thread
15328         option to command.
15329         (gdb-threads-mode-map): Select thread with SPC.
15330         (gdb-thread-list-handler-custom): Mark current thread with overlay
15331         arrow.  Synchronize GDB thread and Emacs thread.
15332         (gdb-select-thread): New command which selects current thread.
15333         (gdb-invalidate-frames, gdb-invalidate-locals)
15334         (gdb-invalidate-registers): Use --thread option.
15336 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
15338         * net/tramp.el (top): Make check for tramp-gvfs loading more
15339         robust.  (Bug#3977)
15340         (tramp-handle-insert-file-contents): `unwind-protect' must be
15341         inside `with-parsed-tramp-file-name'.
15343         * net/tramp-gvfs.el (top): Remove superfluous message when loading
15344         fails.
15346 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
15348         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15349         directory if CLASSPATH is not set.
15351 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
15353         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15354         New defconst.
15355         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
15357 2009-08-02  Kevin Ryde  <user42@zip.com.au>
15359         * net/newst-backend.el (newsticker--raw-url-list-defaults):
15360         Update freshmeat link.  Delete newsforge.com as it seems gone.
15362 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15364         * select.el (x-set-selection): Doc fix (Bug#4021).
15366         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15368         * help-fns.el (describe-variable): Treat list return values from
15369         dir-locals-find-file properly (Bug#4005).
15371 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
15373         * net/tramp.el (tramp-debug-message): Print also microseconds.
15375 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
15377         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15378         or END is non-nil.
15379         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15380         (tramp-get-debug-buffer): Change `outline-regexp' according to new
15381         format.
15383         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15384         (tramp-get-file-property): Use it.
15386         * autorevert.el (auto-revert-handler): Allow
15387         `auto-revert-tail-mode' for remote files.
15389 2009-08-02  Jason Rumney  <jasonr@gnu.org>
15391         * minibuffer.el (read-file-name): Treat confirm options to
15392         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
15394 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15396         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15397         (font-lock-variable-name-face, font-lock-constant-face): Darken
15398         the colors for light backgrounds.
15400 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
15402         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15403         month names.  (Bug#3987)
15405 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
15407         * simple.el (line-move-finish): Pass whole number to
15408         line-move-to-column.
15409         (line-move-visual): Perform hscroll to the recorded position.
15411 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
15413         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15415 2009-07-29  Alan Mackenzie  <acm@muc.de>
15417         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15419 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
15421         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15422         (gdb-place-breakpoints): Use full path when setting breakpoints.
15424 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
15426         * calc/calc.el (calc-mode-map): Add keybinding for
15427         `calc-transpose-lines'.
15429 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
15431         * calc/calc-misc.el (calc-transpose-lines): New function.
15433 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
15435         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15436         Simplify check for out-of-band methods.
15437         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15438         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
15440 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
15442         * vc-git.el (vc-git-checkin): Fix typo.
15444 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
15446         * progmodes/js2-mode.el: New file.
15448 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
15450         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15451         (gud-menu-map): Adjust tooltip accordingly.
15453 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
15455         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15456         (vc-bzr-log-view-mode): Adjust log-view-file-re.
15458         * add-log.el (change-log-mode-map): Add a menu.
15460 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
15462         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15463         function returns nil.
15464         (dbus-handle-event): Handle special return value :ignore.
15465         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15467 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
15469         * view.el (view-mode-enable): Don't define Helper-return-blurb if
15470         it's not needed.
15472 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
15474         Fix Bug#3888:
15476         * w32-vars.el (x-select-enable-clipboard): Doc fix.
15478         * term/pc-win.el (x-display-name, x-colors)
15479         (x-select-enable-clipboard, x-select-text): Doc fix.
15481         * term/common-win.el (x-display-name, x-colors): Doc fix.
15483         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15484         (xw-defined-colors): Doc fix.
15486         * w32-fns.el (x-select-text, x-setup-function-keys)
15487         (x-get-selection, x-set-selection): Doc fix.
15489         * term/x-win.el (x-select-text, x-setup-function-keys)
15490         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15492         * select.el (x-set-selection): Doc fix.
15494 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
15496         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15497         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
15498         "IsNSSSupportAvailable" method is not available.  Reported by
15499         Steve Youngs <steve@sxemacs.org>.
15501 2009-07-24  Kenichi Handa  <handa@m17n.org>
15503         * international/characters.el: Fix setting of category ?C, ?|, ?K,
15504         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
15505         (build-unicode-category-table): Fix range checks.
15507 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
15509         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15510         the buffer we try to sync is current when calling
15511         vc-resynch-buffer.
15513         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15514         not show up to date files.
15516 2009-07-24  Glenn Morris  <rgm@gnu.org>
15518         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15519         Add autoload cookies.  If necessary, initialize.
15520         (elint-log): Handle non-file buffers.
15521         (elint-initialize): Add optional argument to reinitialize.
15522         (elint-find-builtin-variables): Save excursion.
15524 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
15526         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15527         for Lint.
15529 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
15531         * vc.el (vc-print-log-internal): New function, split out from ...
15532         (vc-print-log): ... here.
15533         (vc-dir-move-to-goal-column): Declare.
15535         * vc-git.el (vc-git-add-signoff): New variable.
15536         (vc-git-checkin): Use it.
15537         (vc-git-toggle-signoff): New function.
15538         (vc-git-extra-menu-map): Bind it to menu.
15539         (vc-git--run-command-string): Accept a nil FILE argument.
15540         (vc-git-stash-list): New function.
15541         (vc-git-dir-extra-headers): Use it.
15543 2009-07-23  Glenn Morris  <rgm@gnu.org>
15545         * help-fns.el (describe-variable): Describe ignored and risky local
15546         variables in a similar way to that in which we describe safe ones.
15548         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15549         (byte-compile-output-file-form, byte-compile-output-docform)
15550         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15551         Give some more local variables with common names a "bytecomp-" prefix,
15552         so as not to shadow things during compilation.
15553         * emacs-lisp/cl-macs.el (load-time-value)
15554         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15555         `outbuffer' to `bytecomp-outbuffer'.
15557         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15558         since the next two variables cover them automatically now.
15559         (elint-builtin-variables, elint-autoloaded-variables): New.
15560         (elint-unknown-builtin-args): Remove all members, since they can be
15561         parsed automatically now.
15562         (elint-extra-errors): New.
15563         (elint-env-add-env, elint-env-add-macro): Use cadr.
15564         (elint-current-buffer): Use or.  Change final message.
15565         (elint-get-top-forms): Use line-end-position.
15566         (elint-init-env): Use cadr.  Handle autoload, declare-function,
15567         and defalias.
15568         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
15569         (regexp-assoc): Remove unused function.
15570         (elint-top-form): Set elint-current-pos, to record the start of the
15571         top-level form, for compilation-mode.
15572         (elint-form): Trap errors in macro expansion.  Use dolist.
15573         (elint-unbound-variable): Use elint-builtin-variables and
15574         elint-autoloaded-variables.
15575         (elint-get-args): Use cadr, or.
15576         (elint-check-cond-form): Use dolist, cadr.
15577         (elint-check-condition-case-form): Doc fix.  Use cadr.
15578         Use elint-extra-errors.
15579         (elint-log): New function.
15580         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15581         Distinguish errors and warnings.
15582         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
15583         Use a bytecomp-style format.
15584         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
15585         (elint-get-log-buffer): Use compilation mode.  Disable undo.
15586         Don't truncate lines.
15587         (elint-initialize): Set builtin and autoloaded variable lists.
15588         Only process elint-unknown-builtin-args if non-nil.
15589         (elint-find-builtin-variables, elint-find-autoloaded-variables):
15590         New functions.
15591         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
15593 2009-07-22  Kevin Ryde  <user42@zip.com.au>
15595         * net/newst-backend.el (newsticker--parse-atom-1.0)
15596         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15597         (newsticker--parse-rss-1.0):
15598         * progmodes/idlwave.el (idlwave-mode):
15599         * progmodes/idlw-shell.el (idlwave-shell-mode):
15600         * progmodes/vera-mode.el (vera-mode):
15601         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15602         * progmodes/vhdl-mode.el (vhdl-mode):
15603         * textmodes/table.el (table-generate-source)
15604         (table--warn-incompatibility):
15605         Hyperlink urls in docstrings with URL `...'.
15607 2009-07-22  Glenn Morris  <rgm@gnu.org>
15609         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15610         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15611         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15612         Remove leading * from defcustom docs.
15614         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
15616         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15617         defcustom doc.
15618         (list-load-path-shadows): Optionally, just return shadows as a string.
15620         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15622 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
15624         * mail/rmailedit.el (rmail-edit-mode): Use
15625         auto-save-include-big-deletions.
15627         * mail/rmail.el (rmail-variables): Use
15628         auto-save-include-big-deletions.
15630         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15631         changes.
15633 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
15635         * calc/calc.el (calc-undo-length): New variable.
15636         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15638 2009-07-21  Richard Stallman  <rms@gnu.org>
15640         * files.el (auto-save-mode): Handle buffer-save-size = -2
15641         for toggling mode.
15643 2009-07-21  Glenn Morris  <rgm@gnu.org>
15645         * textmodes/ispell.el (ispell-looking-back): Update declaration.
15647         * calendar/todo-mode.el (calendar-current-date): Update declaration.
15649         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15650         silence compiler.  Instead...
15651         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15652         (ps-print-ensure-fontified): Update for above function name changes.
15654         * printing.el (pr-mh-get-msg-num, pr-mh-show)
15655         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15656         silence compiler.  Instead...
15657         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15658         (mh-show-buffer): Only define for compiler.
15659         (pr-mh-current-message): Update for above function name changes.
15661         * files.el (abort-if-file-too-large): Explicitly pass `filename'
15662         as an argument.
15663         (find-file-noselect, insert-file-1): Update for above change.
15665         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15667         * mail/mailclient.el (mailclient-send-it): Fix message.
15669         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15670         (edebug-eval): Check cl-debug-env is bound.
15671         (print-level, print-circle): Don't redefine built-in variables.
15673         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15674         (custom-print-vectors): Remove old comments from doc.
15676         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15677         (emerge-version): Make the variable an obsolete alias for the
15678         emacs-version variable.  Make the function obsolete.
15679         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15680         Emerge options, rather than merging in into the main Options menu.
15681         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
15682         and auto advance modes.  Disable edit/fast items when not relevant.
15684 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
15686         * term/vt420.el (terminal-init-vt420): Fix typo.
15688 2009-07-20  Sam Steingold  <sds@gnu.org>
15690         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15691         variable (removed from compile.el on 2004-03-11).
15693 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
15695         * files.el (hack-local-variables-filter): Fix last change.
15697 2009-07-19  Juri Linkov  <juri@jurta.org>
15699         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15700         (dir-local-variables-alist): New buffer-local variable.
15701         (hack-local-variables-filter): If variable is not dir-local,
15702         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15703         because file-local overrides dir-local.
15704         (c-postprocess-file-styles) <declare-function>:
15705         Remove obsolete declaration.
15706         (hack-dir-local-variables): Add dir-local variable/value pair to
15707         `dir-local-variables-alist' and remove duplicates.  Doc fix.
15709         * help-fns.el (describe-variable): Add information about
15710         file-local and dir-local variables.
15712 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
15714         * files.el (hack-local-variables-filter): Rewrite.
15716 2009-07-19  Glenn Morris  <rgm@gnu.org>
15718         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15719         Silence compiler by only defining on XEmacs.
15721         * international/mule.el (auto-coding-regexp-alist): Only match
15722         BABYL... at the start of buffer, not of lines.  (Bug#3790)
15724         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15725         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
15726         (cal-menu-context-mouse-menu): Doc fix.
15728         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15730         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
15732 2009-07-18  Juri Linkov  <juri@jurta.org>
15734         * info.el: Virtual Info keyword finder.
15735         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15736         (Info-finder-file): New variable.
15737         (Info-finder-find-file): New function.
15738         (finder-known-keywords, finder-package-info)
15739         (find-library-name, lm-commentary): Use defvar and
15740         declare-function to silence compiler warnings.
15741         (Info-finder-find-node): New function.
15742         (info-finder): New command.
15744         * subr.el (process-kill-buffer-query-function): New function.
15745         (add-hook)<kill-buffer-query-functions>: Add hook
15746         `process-kill-buffer-query-function'.
15748 2009-07-18  Alan Mackenzie  <acm@muc.de>
15750         * progmodes/cc-mode.el (c-before-hack-hook)
15751         (c-postprocess-file-styles): Give invocation of `c-set-style'
15752         DONT-OVERRIDE parameter of t.  Already set style variables will
15753         thus not be overridden by style settings given by `c-file-syle'.
15755         * files.el (hack-local-variables-filter): Remove entries with
15756         duplicate keys from `file-local-variables-alist'.
15758 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15760         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15761         x-set-selection if display-selections-p returns nil for the
15762         current frame.
15764 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
15766         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15768 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15770         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15771         Accept nil in addition to a regexp.
15772         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15773         Accept nil in addition to a regexp.
15774         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15775         buffers that have an associated file.  Handle nil values of
15776         desktop-buffers-not-to-save and desktop-files-not-to-save.
15777         (Bug#3833)
15779         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15780         (x-disown-selection-internal): New functions.
15782 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
15784         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15785         warning.
15786         (gdb-breakpoints-header): Move forward to avoid compiler warning.
15787         (gdb-make-header-line-mouse-map): Remove duplicate definition.
15789 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
15791         * simple.el (set-mark): Revert last change.
15793 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
15795         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15796         rendering of pngs is not possible instead of messaging a long
15797         description.
15799 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
15801         * w32-fns.el (x-selection-owner-p): New function.
15803         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15804         (mouse-yank-at-click, mouse-yank-primary): If
15805         select-active-regions is non-nil, deactivate the mark before
15806         insertion.
15808         * simple.el (deactivate-mark, set-mark): Only save selection if we
15809         own it.
15811 2009-07-17  Kenichi Handa  <handa@m17n.org>
15813         * case-table.el (describe-buffer-case-table): Fix for the case
15814         that KEY is a cons.
15816 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
15818         * vc-rcs.el (vc-rcs-find-file-hook):
15819         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15821 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
15823         * net/tramp.el (tramp-wait-for-output): Handle the case when
15824         commands do not return a newline but a null byte before the shell
15825         prompt.  (Bug#3858)
15827 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
15829         * term/ns-win.el (ns-set-alpha): Don't declare.
15830         (ns-set-background-alpha): Remove function.
15832 2009-07-16  Kevin Ryde  <user42@zip.com.au>
15834         * emacs-lisp/copyright.el (copyright-update): Save match-data across
15835         y-or-n-p, for safety.
15837 2009-07-16  Richard Stallman  <rms@gnu.org>
15839         * files.el (auto-save-mode): If buffer-saved-size is -2,
15840         don't clobber it.
15842         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
15843         (rmail-retry-ignored-headers): Add more uninteresting fields.
15845 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
15847         * net/rcirc.el (rcirc): Use history variables.
15848         (rcirc-server-name-history, rcirc-nick-name-history)
15849         (rcirc-server-port-history): New variables.
15851 2009-07-15  Kenichi Handa  <handa@m17n.org>
15853         * international/mule-cmds.el (set-language-environment-charset):
15854         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
15855         ignore them.
15857         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
15858         Delete unibyte-display.
15860 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
15862         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
15864 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
15866         * simple.el (deactivate-mark): Optional argument FORCE.
15867         (set-mark): Use deactivate-mark.
15869         * info.el (Info-search): No need to check transient-mark-mode
15870         before calling deactivate-mark.
15872         * select.el (x-set-selection): Doc fix.
15873         (x-valid-simple-selection-p): Allow buffer values.
15874         (xselect--selection-bounds): Handle buffer values.  Suggested by
15875         David De La Harpe Golden.
15877         * mouse.el (mouse-set-region, mouse-drag-track): Call
15878         copy-region-as-kill before setting the mark, to let
15879         select-active-regions work.
15881 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
15883         * simple.el (deactivate-mark): If select-active-regions is
15884         non-nil, copy the selection data into a string.
15885         (activate-mark): If select-active-regions is non-nil, set the
15886         selection to the current buffer.
15887         (set-mark): Update selection if select-active-regions is non-nil.
15889         * select.el (x-valid-simple-selection-p): Allow buffer values.
15891 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15893         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
15894         and more featureful message-mode.
15896 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
15898         * select.el (x-set-selection): Doc fix.
15899         (x-valid-simple-selection-p): Disallow selection data consisting
15900         of a list or cons of integers, since that is not used.
15901         (xselect--selection-bounds, xselect--int-to-cons): New functions.
15902         (xselect-convert-to-string, xselect-convert-to-length)
15903         (xselect-convert-to-filename, xselect-convert-to-charpos)
15904         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
15906 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
15908         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
15909         output in -break-info command (Emacs bug #3794).
15911 2009-07-14  Glenn Morris  <rgm@gnu.org>
15913         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
15914         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
15915         (edebug-print-length, edebug-print-level, edebug-print-circle)
15916         (edebug-sit-for-seconds, edebug-view-outside)
15917         (edebug-bounce-point, edebug-set-global-break-condition)
15918         (edebug-Go-nonstop-mode, edebug-trace-mode)
15919         (edebug-Trace-fast-mode, edebug-continue-mode)
15920         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
15921         (edebug-visit-eval-list): Doc fixes.
15923         * subr.el (def-edebug-spec): Doc fix.
15925 2009-07-14  Kenichi Handa  <handa@m17n.org>
15927         * international/characters.el: Fix setting of category ?C.
15929 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
15931         * term/ns-win.el (x-select-font): defalias x-select-font to
15932         ns-popup-font-panel instead of generate-fontset-menu.
15934 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
15936         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
15938 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
15940         * arc-mode.el (archive-find-type): Allow for a PK00 string before
15941         the PK\003\004 header (Bug#3770).
15943 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
15945         * pcomplete.el (pcomplete-comint-setup): Check for
15946         shell-dynamic-complete-filename too.
15948 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
15950         * simple.el (temporary-goal-column): Change the value for
15951         line-move-visual to a cons cell.
15952         (line-move-visual): Record or set the window hscroll, if
15953         necessary (Bug#3494).
15954         (line-move-1): Handle cons value of temporary-goal-column.
15956 2009-07-11  Kenichi Handa  <handa@m17n.org>
15958         * international/mule-diag.el (describe-character-set): Don't show
15959         width.
15961 2009-07-10  Sam Steingold  <sds@gnu.org>
15963         * progmodes/compile.el (compilation-mode-font-lock-keywords):
15964         Omake sometimes indents the errors it prints, so allow all
15965         regexps to start with spaces.
15967 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
15969         * cus-edit.el (customize-changed-options-previous-release):
15970         Bump value to 22.1.  (Bug#3804)
15972 2009-07-08  Sam Steingold  <sds@gnu.org>
15974         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
15975         to be a cons cell (test . ignored-directory) to selectively ignore
15976         some directories depending on the location of the search.
15978 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
15980         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
15981         remote user is root, on the local host.
15982         (tramp-local-host-p): Either the local user or the remote user
15983         must be root.  (Bug#3771)
15985 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
15987         * progmodes/gdb-mi.el (gdb): Remove description of
15988         gdb-use-separate-io-buffer.
15989         (menu): Don't allow toggling of or enable
15990         gdb-use-separate-io-buffer from menubar.
15992 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
15994         * mail/unrmail.el (unrmail): Make sure the message ends with two
15995         newlines (Bug#3769).
15997 2009-07-08  Glenn Morris  <rgm@gnu.org>
15999         * calendar/calendar.el (calendar-current-date): Rework previous change.
16001 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
16003         * calendar/calendar.el (calendar-current-date):
16004         Add an optional argument giving an offset from today.
16006 2009-07-08  Glenn Morris  <rgm@gnu.org>
16008         * tutorial.el (tutorial--describe-nonstandard-key):
16009         Adjust the message for when a key has been unbound.
16010         (help-with-tutorial): Hide the arch-tag.
16012 2009-07-08  Kenichi Handa  <handa@m17n.org>
16014         * international/fontset.el (setup-default-fontset): For each
16015         script, append (not set) font-specs.
16017         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16018         docstring.
16020 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16022         * progmodes/gdb-mi.el (gdb-init-1): Move sending
16023         -data-list-register-names to ...
16024         (gdb-starting): ... here because GDB 7.0 requires execution to
16025         have started when using this MI command.
16026         (gdb-set-header): New function to distinguish select and
16027         unselected tabs in gdb buffers.
16028         (gdb-propertize-header): New macro that uses gdb-set-header.
16029         (gdb-breakpoints-header, gdb-locals-header): Use it.
16030         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16032 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
16034         * Makefile.in (ELCFILES): Remove fadr.elc.
16036 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
16038         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16039         may contain frame information, so `string-match' should be used.
16040         (gdb-update): Disassembly is invalidated through
16041         `gdb-get-selected-frame'.
16042         (gdb-pad-string): New function to pad string with spaces.
16043         (gdb-invalidate-disassembly): Invalidate only if the buffer
16044         exists.
16045         (gdb-disassembly-handler-custom): Column alignment.
16046         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16047         placing new ones.
16048         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16049         end of line, too.
16050         (gdb-frame-handler): Match convention to for disassembly buffer
16051         mode name.
16052         (gdb-stack-list-frames-handler): Rewritten without regexps.
16053         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16054         not highlight breakpoints without line information.
16055         (gdb-input): Add trailing newline to command.
16057         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16058         buffer properly.
16059         (gdb-breakpoints-list-handler-custom): Replacement for
16060         `gdb-break-list-handler'.  Using real parser instead of regexps
16061         now.
16062         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16063         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16064         to place breakpoints.
16065         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16066         functions.
16067         (gdb-disassembly-handler-custom): Show overlay arrow.
16068         (gdb-disassembly-place-breakpoints): Show breakpoints in
16069         disassembly buffer.
16070         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16071         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16072         instead of parsing breakpoints buffer.  Fixed old menu references
16073         in `gud-menu-map'.
16075         * fadr.el: Remove.
16077         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16078         (gdb-memory-address): New variable which holds top address of
16079         memory page shown in memory buffer.
16080         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16081         customization variables.
16082         New functions:
16083         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16084         display the memory buffer.
16085         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16086         buffer display parameters.
16087         (def-gdb-memory-format, gdb-memory-format-binary)
16088         (gdb-memory-format-octal, gdb-memory-format-unsigned)
16089         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16090         Functions for setting memory buffer format.
16091         (gdb-memory-unit-word, gdb-memory-unit-halfword)
16092         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16093         unit size used in memory buffer.
16094         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16095         to next/previous page of memory buffer.
16096         Now using (bindat-get-field) instead of fadr functions.
16098 2009-07-07  Sam Steingold  <sds@gnu.org>
16100         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16101         non-top-level files.
16103 2009-07-07  Kenichi Handa  <handa@m17n.org>
16105         * international/mule-cmds.el (reset-language-environment): Put
16106         the highset priority to the charset iso-8859-1.
16108 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16110         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16111         to the end of the line when locating the block (Bug#700).
16113 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
16115         * net/tramp.el (tramp-handle-write-region): Flush file properties
16116         in case of short track.
16118 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
16120         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16121         Coded custom representation of verilog error regular expressions
16122         to work with Emacs-22's new format.
16123         (verilog-error-regexp-xemacs-alist): Coded custom representation
16124         of verilog error regular expressions to work with XEmacs format.
16125         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16126         error recognition into XEmacs.
16127         (verilog-error-regexp-add-emacs): Hook routine to install verilog
16128         error recognition into Emacs-22.
16130 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16132         * woman.el: Remove stand-alone closing parentheses.
16133         (woman-file-name, woman2-format-paragraphs)
16134         (woman-leave-blank-lines): Code cleanup.
16135         (woman-use-own-frame): Change default to nil.
16136         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16137         defaults to inherit from default faces.
16138         (woman2-process-escapes): Consume the newline after a stand-alone
16139         filler character (Bug#3651).
16141 2009-07-06  Glenn Morris  <rgm@gnu.org>
16143         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16144         (top-level): Move provide to the end.
16145         (ffap): Remove defunct URL from custom group.
16147         * subr.el (eval-after-load): Doc fix.
16149 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
16151         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16152         `calc-embedded-word' is called twice.
16154 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16156         * files.el (find-alternate-file-other-window, find-alternate-file):
16157         Obey confirm-nonexistent-file-or-buffer.
16159 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
16161         * dired-aux.el (dired-show-file-type): Handle remote files.
16163 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
16165         * desktop.el (desktop-globals-to-save):
16166         Add file-name-history (Bug#2750).
16168 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
16170         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16172 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
16174         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16175         property on entire argument since this is what eshell-lisp-command
16176         expects.
16178 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
16180         * net/tramp-gvfs.el (tramp-gvfs-methods)
16181         (tramp-gvfs-zeroconf-domain)
16182         (tramp-bluez-discover-devices-timeout): Add version flag.
16183         (tramp-gvfs-handler-mounted-unmounted)
16184         (tramp-gvfs-connection-mounted-p): Polish handling of
16185         incompatibilities between GVFS 0.2 and 1.0.
16187 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
16189         * cus-start.el (all): Add make-pointer-invisible.
16191 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
16193         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16194         formatted correctly.
16196 2009-07-02  Juri Linkov  <juri@jurta.org>
16198         * info.el: Virtual Info files and nodes.
16199         (Info-virtual-files, Info-virtual-nodes): New variables.
16200         (Info-current-node-virtual): New variable.
16201         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16202         New functions.
16203         (Info-file-supports-index-cookies): Use Info-virtual-file-p
16204         to check for a virtual file instead of checking a fixed list
16205         of node names.
16206         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16207         instead of ad-hoc processing of "dir" and (apropos history toc).
16208         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16209         instead of ad-hoc processing of "dir" and (apropos history toc).
16210         Reread a file when moving from a virtual node.
16211         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16212         (Info-directory-toc-nodes, Info-directory-find-file)
16213         (Info-directory-find-node): New functions.
16214         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16215         (Info-history): Move part of code to
16216         `Info-history-find-node'.
16217         (Info-history-toc-nodes, Info-history-find-file)
16218         (Info-history-find-node): New functions.
16219         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16220         (Info-toc): Move part of code to `Info-toc-find-node'.
16221         (Info-toc-find-node): New function.
16222         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
16223         the current Info file name to references because now the node
16224         "*TOC*" belongs to the same Info manual.
16225         (Info-toc-build): Rename from `Info-build-toc'.
16226         (Info-toc-nodes): Rename input argument `file' to `filename'.
16227         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16228         instead of ad-hoc processing of ("dir" apropos history toc).
16229         (Info-index-nodes): Use Info-virtual-file-p
16230         to check for a virtual file instead of checking a fixed list
16231         of node names.
16232         (Info-index-node): Add check for `Info-current-node-virtual'.
16233         Raise `save-match-data' higher up the tree to contain
16234         `search-forward' too (bug fix).
16235         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16236         (Info-virtual-index-nodes): New variable.
16237         (Info-virtual-index-find-node, Info-virtual-index): New functions.
16238         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16239         (Info-apropos-file, Info-apropos-nodes): New variables.
16240         (Info-apropos-toc-nodes, Info-apropos-find-file)
16241         (Info-apropos-find-node, Info-apropos-matches): New functions.
16242         (info-apropos): Move part of code to `Info-apropos-find-node' and
16243         `Info-apropos-matches'.
16244         (Info-mode-map): Bind "I" to `Info-virtual-index'.
16245         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16246         for a virtual file instead of checking a fixed list of node names.
16248         * simple.el (async-shell-command): New command.
16250         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16252         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16253         instead of `mount-info'.
16255 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
16257         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16258         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16260 2009-07-02  Kenichi Handa  <handa@m17n.org>
16262         * international/mule.el (set-keyboard-coding-system): Force *-unix
16263         coding-system to avoid eol conversion.
16265 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
16267         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16268         Add handler for `process-file', `shell-command' and
16269         `start-file-process'.
16270         (tramp-gvfs-handle-shell-command)
16271         (tramp-gvfs-handle-start-file-process)
16272         (tramp-gvfs-handle-process-file): New defuns.
16273         (tramp-synce-list-devices): Simplify check for existence of property.
16275 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
16277         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16279 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
16281         * language/korean.el (set-language-info-alist): Add korean-cp949,
16282         cp949 to spec.
16284 2009-07-01  Kenichi Handa  <handa@m17n.org>
16286         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16288         * international/encoded-kb.el: Deleted.
16290         * international/mule.el (set-keyboard-coding-system): Perform the
16291         necessary setup here instead of calling encoded-kbd-setup-display.
16293 2009-07-01  Glenn Morris  <rgm@gnu.org>
16295         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16297 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
16299         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
16301 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
16303         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16304         Handle also the 'rename case, when setting file modes.  (Bug#3712)
16305         (tramp-default-file-modes): Remove execute permissions.
16307         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16308         (top): Add a default for "synce" in `tramp-default-user-alist'.
16309         Add completion function for "synce" method.
16310         (tramp-hal-service, tramp-hal-path-manager)
16311         (tramp-hal-interface-manager, tramp-hal-interface-device):
16312         New defconst.
16313         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16314         (tramp-synce-list-devices, tramp-synce-parse-device-names):
16315         New defuns.
16317         * net/trampver.el: Update release number.
16319 2009-06-30  Kenichi Handa  <handa@m17n.org>
16321         * international/fontset.el (setup-default-fontset): Add CJK fonts
16322         for symbols and the other miscellaneous characters.
16324         * language/korea-util.el (setup-korean-environment-internal):
16325         Make char-width-table suitable for Korean environments.
16326         (exit-korean-environment): Cancel above.
16328         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16329         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16330         setup-function to make char-width-table suitable for respective
16331         environments, and an exit-function to cancel that.
16333         * language/japan-util.el (setup-japanese-environment-internal):
16334         Call use-cjk-char-width-table with arg `ja_JP'.
16336         * international/characters.el (cjk-char-width-table): Delete it.
16337         (cjk-char-width-table-list): New variable.
16338         (use-cjk-char-width-table): New arg local-name.
16339         (use-default-char-width-table): Fix for the case that Emacs is
16340         already using the default char-width-table.
16342 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
16344         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16345         modes mandatory.  (Bug#3712)
16347 2009-06-29  Alan Mackenzie  <acm@muc.de>
16349         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16350         correction between the visible width of TABs and their number of bytes.
16352 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
16354         * server.el (server-buffer-done): Prevent kill-buffer from
16355         prompting by clearing the buffer modification flag (Bug#3696).
16357 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
16359         * progmodes/verilog-mode.el (verilog-beg-of-statement)
16360         (verilog-endcomment-reason-re): Support unique case and priority case.
16361         (verilog-basic-complete-re): Support localparam lineup.
16362         (verilog-beg-of-statement-1): Fix for robustness, unique case.
16363         (verilog-set-auto-endcomments): Fix for unique case, always_comb
16364         commenting.
16365         (verilog-leap-to-case-head): Now support *nested* unique &
16366         priority case statements.
16367         (verilog-auto-lineup): Make just declarations the default (as it
16368         had been).
16369         (verilog-leap-to-case-head): Support priority/unique case statements.
16370         (verilog-auto-lineup): Rework to give users radio buttons to
16371         select the various styles of automatic lineup.
16372         (verilog-error-regexp-alist): Rework to support the XEmacs style
16373         of error regular expressions from compilers, lint tools &
16374         simulators.  Note that GNU Emacs has made it impossible for a mode
16375         to load such things.
16376         (electric-verilog-terminate-line, verilog-indent-declaration)
16377         (verilog-auto-wiure): Rework for radio button selection of
16378         auto-lineup selection of specification of auto lineup.
16379         (verilog-beg-of-statement-1): Redesign to support proper operation
16380         in additional code, based on testing with auto-lineup.
16381         (verilog-calculate-indent, assignments & declarations)
16382         (verilog-backward-token): Enhance to support auto-lineup of
16383         assignments & declarations.
16384         (verilog-in-directive-p, verilog-at-struct-p): New function for
16385         easy test of whether we are.
16386         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16387         to support safe execution at almost anyline.
16388         (verilog-calc-1): Properly support indenting deep inside generate
16389         blocks.
16390         (verilog-init-font): Remove definition & use of verilog-init-font,
16391         as it is redundant with font-lock-defaults.
16392         (verilog-mode): Alter the definition of verilog-font-lock-defaults
16393         to avoid circular calls if syntax-ppss is a function (as is the
16394         case now in 22.x GNU Emacs) as that function would sometimes call
16395         itself, leading to (nearly) infinite recursion.
16396         (verilog-ovm-begin-re, verilog-ovm-end-re)
16397         (verilog-ovm-statement-re, verilog-leap-to-head)
16398         (verilog-backward-token): Add support for OVM macros.  Some are
16399         complete statements, and others open and close scopes like begin
16400         and end.
16401         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16402         (verilog-defun-level-generate-only-re): Really fix the defun-list
16403         compilation issue.
16404         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16405         coverpoint, constraint and cross statements.
16406         (verilog-defun-level-list, verilog-generate-defun-level-list)
16407         (verilog-all-defun-level-list): Redo these specifications - it is
16408         too hard to support eval-when compile aggregation of lists also
16409         built at when-compile time.
16410         (verilog-defun-level-list): Place defconsts of variables used in
16411         building regular expressions which are built in eval-when-compile
16412         bodies in the same eval-when-compile body to facilitate compile
16413         without load.
16414         (verilog-beg-block-re-ordered): Support indenting
16415         virtual/protected tasks and functions.
16416         (verilog-defun-level-list, verilog-in-generate-region-p)
16417         (verilog-backward-ws&directives, verilog-calc-1): Speed up
16418         indentation of some module items (generate items).
16419         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16420         across virtual/protected tasks and functions.
16422 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
16424         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16425         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
16426         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16427         in concatenations.  Reported by Yishay Belkind.
16428         (verilog-auto-ascii-enum): Support one-hot state machines in
16429         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
16430         (verilog-auto-inst, verilog-auto-inst-port): Include interface
16431         modport in AUTOINST and add vl-modport for users.  Reported by
16432         David Rogoff.
16433         (verilog-auto-inout-module, verilog-auto-inst)
16434         (verilog-decls-get-interfaces, verilog-insert-definition)
16435         (verilog-insert-one-definition, verilog-read-decls)
16436         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16437         (verilog-sig-modport, verilog-signals-combine-bus)
16438         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16439         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16440         Suggested by David Rogoff.
16441         (verilog-repair-open-comma): Fix non-insertion of comma when
16442         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
16443         (verilog-make-width-expression): Simplify [A-1:0] expression
16444         widths to just {A{1'b0}}.
16445         (verilog-mode): Cleanup checkdoc warnings.
16446         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16447         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16448         inputs/outputs or data type.  Suggested by Vasu Kandadi.
16449         (next-error-last-buffer): Fix byte-compiler warning.
16450         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16451         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16452         or shell command text during AUTO expansion.  Suggested by Tad Truex.
16453         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16454         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16455         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16456         in AUTOINOUT.  Reported by Matthew Lovell.
16457         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16458         causing use of <= assignments.  Reported by Alex Reed.
16459         (verilog-read-decls): Fix triand, trior, wand, wor to be
16460         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
16461         (verilog-extended-complete-re): Support import "DPI-C" functions.
16462         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16463         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
16464         (verilog-insert-date, verilog-insert-year)
16465         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16466         Windows systems.  Reported by Michael Potts.
16467         (verilog-read-module-name): Fix AUTOINST when the child module
16468         declaration's name is a tick define.  Reported by Elliot Mednick.
16469         (verilog-read-decls): Fix V2K parameter bit subscripts getting
16470         passed to next parameter's definition.  Reported by Bruce T.
16471         (verilog-read-decls): Fix detecting "parameter int" when using
16472         AUTOINSTPARAM.  Reported by Bruce T.
16473         (verilog-goto-defun): Fix goto not finding modules unless first
16474         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
16475         (verilog-mode): Expand -f flag arguments on entry to mode so
16476         verilog-goto-defun will work.  Reported by Lawrence Butcher.
16477         (verilog-getopt): Expand environment variables in -f file
16478         arguments.  Suggested by Lawrence Butcher.
16479         (verilog-set-define): Fix "Symbol's value as variable is void"
16480         when reading enumerations.
16481         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16482         Suggested by Stephen Peltan.
16483         (verilog-read-defines): Fix reading of enumerations in include
16484         files.  Reported by Steve Peltan.
16486 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16488         * files.el (trash-directory): Fix defcustom type.
16490 2009-06-28  Juri Linkov  <juri@jurta.org>
16492         * help-fns.el (describe-function-1): Correctly locate adviced
16493         functions in hyperlink (Bug#2438).
16495 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
16497         * files.el (trash-directory): Change default to nil.
16498         (move-file-to-trash): If trash-directory is nil and
16499         system-move-file-to-trash is unbound, perform freedesktop-style
16500         trashing.
16502 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16504         * files.el (move-file-to-trash): Add freedesktop trash
16505         support (Bug#973).
16507 2009-06-28  Glenn Morris  <rgm@gnu.org>
16509         * autorevert.el (global-auto-revert-non-file-buffers)
16510         (global-auto-revert-mode): Doc fixes.
16512 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
16514         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16516 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
16518         * faces.el (x-handle-named-frame-geometry): Ensure that we have
16519         opened an X connection before calling x-get-resource (Bug#3194).
16521         * play/doctor.el: Remove reference to obsolete website.
16522         (make-doctor-variables): Correct grammar mistake (Bug#2633).
16524 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
16526         Remove find-file-not-found-hook VC method.  (Bug#2757)
16527         * vc-hooks.el (vc-file-not-found-hook)
16528         (vc-default-find-file-not-found-hook): Remove functions.
16529         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16530         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16531         * vc.el:
16532         * vc-hg.el:
16533         * vc-git.el: Do not mention find-file-not-found-hook VC method.
16535 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
16537         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16538         compatibility function for `looking-back'.
16540         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16541         Use `ispell-looking-back'.
16543 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
16545         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16546         rather than `filename'.
16548 2009-06-23  Miles Bader  <miles@gnu.org>
16550         * face-remap.el (text-scale-set): New function.
16552 2009-06-23  Glenn Morris  <rgm@gnu.org>
16554         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16556         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16558         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16560         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16562         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16563         Simplify Persian conditionals.
16565         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16566         variable `filename'.
16568         * comint.el (comint-insert-input): Doc fix.
16570         * Makefile.in (ELCFILES): Fix typo in previous change.
16572 2009-06-23  Miles Bader  <miles@gnu.org>
16574         * cus-start.el: Add entry for `recenter-redisplay'.
16576 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16578         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16579         Add an optional argument for the backend, use it instead of
16580         calling vc-backend.
16581         (vc-mode-line): Add an optional argument for the backend.
16582         Pass the backend to vc-state and vc-working-revision.  Move code for
16583         special handling for vc-state being a buffer to ...
16585         * vc-rcs.el (vc-rcs-find-file-hook):
16586         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
16588         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16589         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16590         vc-stay-local-p and vc-mode-line calls.
16592         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16593         (vc-cvs-diff, vc-cvs-annotate-command)
16594         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16595         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16596         vc-mode-line calls.
16598         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16599         direct comparison.
16600         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16601         backend when calling vc-mode-line.
16602         (vc-register): Do not create a closure for calling the vc register
16603         function, call it directly.
16605 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16607         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16608         to make it obvious item can be clicked.
16610         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16612 2009-06-23  Kenichi Handa  <handa@m17n.org>
16614         * language/korea-util.el (korean-key-bindings): Change the binding
16615         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
16616         same command.
16618 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
16620         Sync with Tramp 2.1.16.
16622         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16624         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
16625         when a loading of a package fails.  Completion function for rsync
16626         is `tramp-completion-function-alist-ssh'.
16627         (all): Replace all calls of `split-string' and
16628         `tramp-split-string' by `tramp-compat-split-string'.
16629         (tramp-default-method): Use `tramp-compat-process-running-p'.
16630         (tramp-default-proxies-alist): Allow also Lisp forms.
16631         (tramp-remote-path): Add choice "Private Directories".
16632         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16633         (tramp-domain-regexp): Allow also "-", "_" and ".".
16634         (tramp-end-of-output): Remove newlines, and add "$" at the end.
16635         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16636         (tramp-debug-message): Insert header line in debug buffer.
16637         (tramp-handle-directory-files-and-attributes-with-stat):
16638         Care about filenames with spaces, or starting with "-".
16639         (tramp-handle-dired-uncache): New defun.
16640         (tramp-handle-insert-directory): Don't flush the directory from
16641         cache, this is handled by `dired-uncache' now.
16642         (tramp-handle-insert-file-contents): Improve error handling.
16643         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16644         Quote `tramp-end-of-output'.
16645         (tramp-action-password): Improve trace message.
16646         (tramp-check-for-regexp): Both echoes must be present, before removing.
16647         (tramp-open-connection-setup-interactive-shell): Trace coding system.
16648         (tramp-compute-multi-hops): Eval cons cells of
16649         `tramp-default-proxies-alist'.
16650         (tramp-maybe-open-connection): Use the same command pattern for
16651         first hop and further hops.
16652         (tramp-wait-for-output): Remove handling of newlines.
16653         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16654         (tramp-split-string): Remove function.  It is handled in
16655         tramp-compat now.
16657         * net/tramp-cmds.el (tramp-bug):
16658         Recommend `tramp-cleanup-all-connections' in the bug mail.
16660         * net/tramp-compat.el (tramp-compat-split-string)
16661         (tramp-compat-process-running-p): New defuns.
16663         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16664         for `dired-uncache'.
16666         * net/tramp-gvfs.el: New package.
16668         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16669         Add handler for `dired-uncache'.
16670         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16672         * net/trampver.el: Update release number.  Make version check fit
16673         for SXEmacs 22.
16675 2009-06-22  Jim Meyering  <meyering@redhat.com>
16677         Automatically handle .xz suffix (XZ-compressed files), too.
16678         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16679         XZ is the successor to LZMA: <http://tukaani.org/xz/>
16681 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
16682             Nick Roberts  <nickrob@snap.net.nz>
16684         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16685         repository (http://sphinx.net.ru/hg/gdb-mi/).
16687 2009-06-22  Glenn Morris  <rgm@gnu.org>
16689         * files.el (dir-locals-collect-mode-variables): Allow for any number of
16690         `mode' and `eval' entries.  (Bug#3430)
16692         * Makefile.in (ELCFILES): Add fadr.elc.
16694         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16695         differing behavior of \n and ^ in strings.  (Bug#3385)
16697         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16699         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16700         property.
16701         (lisp-indent-function): Make it a defcustom.
16703 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
16705         * progmodes/gdb-ui.el: Replace with ...
16706         * progmodes/gdb-mi.el: ... this file.
16707         * progmodes/gud.el: Modify for gdb-mi.el.
16709 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
16711         * fadr.el: New file.
16713 See ChangeLog.14 for earlier changes.
16715 ;; Local Variables:
16716 ;; coding: utf-8
16717 ;; End:
16719     Copyright (C) 2009, 2010  Free Software Foundation, Inc.
16721   This file is part of GNU Emacs.
16723   GNU Emacs is free software: you can redistribute it and/or modify
16724   it under the terms of the GNU General Public License as published by
16725   the Free Software Foundation, either version 3 of the License, or
16726   (at your option) any later version.
16728   GNU Emacs is distributed in the hope that it will be useful,
16729   but WITHOUT ANY WARRANTY; without even the implied warranty of
16730   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16731   GNU General Public License for more details.
16733   You should have received a copy of the GNU General Public License
16734   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
16736 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1