src/gnutls.c: Doc fixes. Make some functions static.
[emacs.git] / lisp / ChangeLog
blob23be6ed8c287a19079e59e828fd4b74341df5e8a
1 2010-10-03  Glenn Morris  <rgm@gnu.org>
3         * obsolete/x-menu.el: Remove file, obsolete since 21.1
5         * textmodes/rst.el (rst-font-lock-keywords-function):
6         Drop Emacs 20 code.
8         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
10         * printing.el: Drop Emacs 20 code.
12         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
13         without having used appt.el already).
15         * subr.el (make-local-hook): Remove function obsolete since 21.1.
16         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
17         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
18         XEmacs.
19         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
20         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
22         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
23         (charset-width, find-charset-region, chars-in-region, forward-point)
24         (encode-coding-string, coding-system-p, ccl-execute-on-string)
25         (define-ccl-program, multibyte-string-p, string-make-multibyte):
26         Remove compatibility cruft (none of these are used by ps*.el).
28 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
30         * subr.el (booleanp): Return t instead of a list (Bug#7086).
32 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
34         * server.el (server-process-filter, server-return-error): Give
35         emacsclient time to shut down after receiving an error string.
37 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
39         * files.el (remote-file-name-inhibit-cache): New defcustom.
41         * time.el (display-time-file-nonempty-p): Use
42         `remote-file-name-inhibit-cache'.
44         * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
45         docstring.
47         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
48         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
49         `remote-file-name-inhibit-cache'.  Check also for an integer
50         value.  Add/increase counter when `tramp-verbose' >= 10.
51         (tramp-set-file-property): Add/increase counter when
52         `tramp-verbose' >= 10.
54         * net/tramp-cmds.el (tramp-cleanup-all-connections)
55         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
56         (tramp-bug): Set tramp-autoload cookie.  Report all interned
57         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
58         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
59         characters only in strings.
61         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
62         to backward compatibility.
64         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
65         (tramp-handle-file-name-all-completions)
66         (tramp-handle-vc-registered): Use
67         `remote-file-name-inhibit-cache'.
68         (tramp-open-connection-setup-interactive-shell): Call
69         `tramp-cleanup-connection' directly.
71 2010-10-02  Glenn Morris  <rgm@gnu.org>
73         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
75         * subr.el (char-bytes): Remove obsolete function.
77         * isearch.el (isearch-return-char): Remove obsolete function.
79         * mouse.el: No longer provide mldrag.
80         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
81         Remove obsolete aliases.
83         * comint.el (comint-kill-output): Remove obsolete alias.
85         * composite.el (decompose-composite-char): Remove obsolete function.
86         * ps-def.el (decompose-composite-char): Remove unused function.
88         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
90         * outline.el (outline-visible): Remove obsolete function.
92         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
93         * faces.el (internal-find-face, internal-get-face)
94         (frame-update-faces, frame-update-face-colors)
95         (x-frob-font-weight, x-frob-font-slant)
96         (internal-frob-font-weight, internal-frob-font-slant)
97         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
98         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
99         (x-make-font-bold-italic): Remove functions and aliases, obsolete
100         since Emacs 21.1.
101         * emulation/viper-util.el (viper-get-face):
102         * obsolete/lucid.el (find-face, get-face): Use facep.
103         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
104         Remove unused functions.
105         * vc/ediff-util.el (ediff-submit-report): Doc fix.
107         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
108         delete tempfile if interrupted during compilation.
110 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
112         * net/tls.el (tls-starttls-switches): Give up on using starttls with
113         gnutls-cli.
114         (tls-program): Add --insecure to be consistent with the defaults from
115         openssl s_client.  Now all three commands are insecure.
117 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
119         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
120         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
121         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
123 2010-10-01  Glenn Morris  <rgm@gnu.org>
125         * obsolete/sc.el: Remove file.
127         * files.el (temporary-file-directory): On darwin, also try
128         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
130 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
132         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
133         Let's not break compatibility gratuitously, shall we?
135 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
137         * net/tls.el (tls-starttls-switches): New variable.
138         (tls-find-starttls-argument): Use it.
139         (open-tls-stream): Ditto.
141         * net/netrc.el (netrc-credentials): Return the value of the "default"
142         entry.
143         (netrc-machine): Ditto.
145 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
147         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
149 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
151         * server.el (server-start): Don't write pid to the authentication file.
152         (server-create-tty-frame): Don't send pid.
153         (server-process-filter): Send pid at the start of every connection.
155 2010-09-30  Glenn Morris  <rgm@gnu.org>
157         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
158         (show-all-diary-entries): Remove obsolete function aliases.
160         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
161         Remove options, obsolete since 22.1.
162         (appt-display-format, appt-display-message): Remove
163         backwards-compatibility code.
164         (appt-check): No longer check appt-issue-message.
165         (appt-make-list): No longer autoload it.  Doc fix.  No longer
166         activate the package.
168 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
170         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
171         (starttls-negotiate): Just call boot, and let the handshake be
172         triggered from the read loop.
174 2010-09-29  Glenn Morris  <rgm@gnu.org>
176         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
177         not displaying the diary.
178         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
179         * calendar/appt.el (appt-check): No longer need to kill diary.
181         * calendar/diary-lib.el (diary-list-entries): Move the
182         "Preparing..." message entirely here.
183         (diary-simple-display, diary-fancy-display): Move "Preparing..."
184         messages to diary-list-entries.
185         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
186         diary-display-function.
188         * calendar/diary-lib.el (diary-include-other-diary-files):
189         Trap some recursive includes.
191         * calendar/appt.el (appt-activate): Check diary file.
193 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
195         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
196         construction.
198         * calendar/time-date.el: No need to require cl for Emacs 21.
200 2010-09-28  Glenn Morris  <rgm@gnu.org>
202         * calendar/appt.el (appt-check): Minor simplification.
204 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
206         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
207         citation prefix.
209 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
211         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
212         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
214 2010-09-27  Kenichi Handa  <handa@m17n.org>
216         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
217         "ustar" format.
219 2010-09-27  Kenichi Handa  <handa@m17n.org>
221         * international/mule.el (define-coding-system): Docstring fixed.
223         * international/mule-diag.el (describe-character-set): Use princ
224         with proper print-length and print-level instead of insert.
226 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
228         * window.el (walk-windows): Doc fix (bug#7105).
230 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
232         * emacs-lisp/float-sup.el (e): Remove.
234 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
236         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
237         variable.
238         (starttls-negotiate): Use it.
240 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
242         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
243         back.
245 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
247         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
249 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
251         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
253         * net/netrc.el (netrc-store-data): New function.
255 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
257         * net/gnutls.el: GnuTLS glue code to set up a connection.
259 2010-09-25  Julien Danjou  <julien@danjou.info>
261         * notifications.el: Call dbus-register-signal only if it is bound.
263 2010-09-25  Glenn Morris  <rgm@gnu.org>
265         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
266         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
267         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
268         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
269         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
270         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
271         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
272         * eshell/esh-util.el, eshell/esh-var.el:
273         Remove leading `*' from docs of faces and defcustoms.
275 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
277         * eshell/em-ls.el (eshell-ls-archive-regexp):
278         * eshell/esh-util.el (eshell-tar-regexp):
279         * ibuffer.el (ibuffer-compressed-file-name-regexp):
280         * info.el (Info-suffix-list):
281         * international/mule.el (auto-coding-alist):
282         * woman.el (woman-file-regexp, woman-file-compression-regexp):
283         * progmodes/etags.el (tags-compression-info-list):
284         Support xz compression.
286 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
288         * files.el (get-free-disk-space): Don't assume the "df" output
289         columns line up (Bug#6995).
291 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
293         * finder.el (finder-unknown-keywords):
294         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
295         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
297 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
299         * server.el (server-start): Revert part of 2010-08-08 change.  Using
300         address 127.0.0.1 for local host is now done in Fmake_network_process.
302 2010-09-24  Glenn Morris  <rgm@gnu.org>
304         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
305         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
306         * textmodes/css-mode.el, textmodes/dns-mode.el:
307         Move autoloaded auto-mode-alist entries to files.el.
308         * files.el (auto-mode-alist): Move entries here.
310 2010-09-23  Glenn Morris  <rgm@gnu.org>
312         * isearch.el (isearch-lazy-highlight-cleanup)
313         (isearch-lazy-highlight-initial-delay)
314         (isearch-lazy-highlight-interval)
315         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
316         * net/net-utils.el (ipconfig-program-options):
317         Move aliases to options before the associated definitions.
319 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
321         * newcomment.el (comment-normalize-vars): Better test validity of
322         comment-end-skip.
324 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
326         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
327         (float-e): New name for `e'.
328         (degrees-to-radians, radians-to-degrees):
329         * calendar/solar.el (solar-longitude):
330         * calculator.el (calculator-registers, calculator-funcall):
331         * textmodes/artist.el (artist-spray-random-points):
332         * play/bubbles.el (bubbles--initialize-images): Use new names.
334 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
336         Update to CEDET 1.0's version of EIEIO.
338         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
339         New function.
340         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
341         (eieio-default-eval-maybe): Eval val instead of unquoting only.
342         (class-precedence-list): If class is nil, return nil.
343         (eieio-generic-call): If class of first input arg is nil, don't
344         look up static methods, and do check for primary methods.
345         (initialize-instance): See if the default needs to be evaluated
346         during the constructor.
347         (eieio-perform-slot-validation-for-default): Don't do the check
348         for values that will eventually be evaluated.
349         (eieio-eval-default-p): New function.
350         (eieio-default-eval-maybe): Use it.
352 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
354         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
355         method-invocation-order.
356         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
357         (eieio-class-precedence-dfs): Compute class precedence list using
358         dfs algorithm.
359         (eieio-class-precedence-bfs): Compute class precedence list using
360         bfs algorithm.
361         (eieio-class-precedence-c3): Compute class precedence list using
362         c3 algorithm.
363         (class-precedence-list): New function.
364         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
365         (inconsistent-class-hierarchy): New error symbol.
366         (call-next-method): Stow the replacement argument list for future
367         call-next-method invocations.
369 2010-09-23  Glenn Morris  <rgm@gnu.org>
371         * calendar/appt.el (appt-check): If not displaying the diary,
372         use (diary 1) to only get the entries we need.
373         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
374         that it is in day order.  (Bug#7019)
376         * calendar/appt.el (appt-check): Rather than showing the diary,
377         just turn off invisible display, and only if needed.
379         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
381 2010-09-23  Glenn Morris  <rgm@gnu.org>
383         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
384         (byte-compile-defvar, byte-compile-cl-warn):
385         Start warnings with lower-case, like the majority.
387         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
389         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
391         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
392         * files.el (auto-mode-alist): Move ld-script entries here, further down
393         the list.
395         * vc/add-log.el: Don't require timezone when compiling.
396         (timezone-make-date-sortable): Autoload it.
397         (change-log-sortable-date-at): Don't require timezone.
398         Use `ignore-errors'.
400         * comint.el (comint-use-prompt-regexp-instead-of-fields):
401         Move alias before definition, so it does not need autoloading.
403         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
404         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
405         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
406         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
407         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
408         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
409         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
410         * textmodes/tex-mode.el, textmodes/two-column.el:
411         Remove leading `*' from docs of defcustoms etc.
413 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
415         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
417 2010-09-22  Dan Christensen  <jdc@uwo.ca>
419         * calendar/time-date.el (date-to-time): Try using parse-time-string
420         first before using the slower timezone-make-date-arpa-standard.
422 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
424         * calendar/time-date.el (format-seconds): Comment fix.
426 2010-09-22  Glenn Morris  <rgm@gnu.org>
428         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
429         is not automatically buffer-local.
431 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
433         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
434         (smie-indent-comment): Be more careful with comment-start-skip.
435         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
436         (smie-indent-functions): Use them.
438 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
440         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
442 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
444         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
445         tool-bar-position.  Don't modify frame parameters here.
446         (menu-bar-options-save): Add tool-bar-position.
448         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
450 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
452         * textmodes/reftex-parse.el (reftex-what-macro)
453         (reftex-context-substring): Let-bind forward-sexp-function to nil
454         since we don't need/want to treat \begin...\end as a block (bug#7053).
456         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
458         * simple.el (blink-matching-open): Use syntax-class.
460         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
461         Set invisibility spec for pascal's outline mode.
462         (pascal-outline-change): Clean up calling convention.
463         (pascal-show-all, pascal-hide-other-defuns): Update callers.
465         * progmodes/prolog.el (prolog-smie-forward-token)
466         (prolog-smie-backward-token): New functions.
467         (prolog-mode-variables): Use them to parse "!," correctly.
468         Set up smie-blink-matching for ".".
470         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
471         and `end'.
472         (ispell-region, ispell-process-line): Update users.
474         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
475         point-min==1.
477         * textmodes/ispell.el: Fix commenting convention.
478         (ispell-parse-output): Simplify, use push.
479         (ispell-region): Use match-string-no-properties.
480         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
481         (ispell-minor-mode): Use define-minor-mode.
482         (ispell-message): Remove unused var `skip-regexp'.
483         (ispell-add-per-file-word-list): Use dynamic let-binding.
484         Try and use the proper comment marker.
486         * mail/sendmail.el: Fix commenting convention.
487         (sendmail-send-it): Use line-beginning-position.
489         * help-fns.el (describe-variable): Add original value, if applicable.
491 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
493         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
495         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
497 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
499         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
500         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
501         (smie-prec2-levels): Use them to better diagnose precedence cycles.
502         (smie-blink-matching-check): Don't signal a mismatch if car is t.
503         (smie-blink-matching-open): Rewrite to remove assumptions, so that
504         something like "." can also be a closer.
505         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
506         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
507         Rename internal functions to use "--".  Update callers.
509         * frame.el (make-frame-names-alist): Don't list frames on other displays.
511         * fringe.el (fringe-styles): New var.
512         (fringe-mode, fringe-query-style): Use it.
514 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
516         * progmodes/sql.el: Version 2.8
517         (sql-login-params): Update widget structure; changes still needed.
518         (sql-product-alist): Add :list-all and :list-table features for
519         SQLite, Postgres and MySQL products.
520         (sql-redirect): Handle default value.
521         (sql-execute, sql-execute-feature): New functions.
522         (sql-read-table-name): New function.
523         (sql-list-all, sql-list-table): New functions.  User API.
524         (sql-mode-map, sql-interactive-mode-map): Add key definitions
525         for above functions.
526         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
527         for above functions.
528         (sql-postgres-login-params): Add user and database defaults.
529         (sql-buffer-live-p): Bug fix.
530         (sql-product-history): New variable.
531         (sql-read-product): New function. Use it.
532         (sql-set-product, sql-product-interactive): Use it.
533         (sql-connection-history): New variable.
534         (sql-read-connection): New function.  Use it.
535         (sql-connect): New function.
536         (sql-for-each-login): Redesign function interface.
537         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
538         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
539         (sql-comint): Check for program.  Existing live buffer.
540         (sql-comint-postgres): Add port parameter.
542 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
544         * emacs-lisp/warnings.el: Fix commenting convention.
545         (display-warning): Use special mode and make the buffer read-only.
547 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
549         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
550         empty string when it follows a repeated or optional pattern.
552 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
554         * indent.el (indent-according-to-mode): Apply syntax-propertize.
555         (indent-region): Use indent-according-to-mode.
557 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
559         * fringe.el (fringe-mode): Doc fix.
561 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
563         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
564         refreshing the preview buffer.
566 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
568         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
569         (latex-syntax-propertize-rules): New consts; replace
570         tex-font-lock-syntactic-keywords.
571         (tex-env-mark, latex-env-before-change): New functions.
572         (latex-electric-env-pair-mode): New minor mode.
573         (tex-font-lock-verb): Change arguments; do move point.
574         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
575         representation as a form of comment.
576         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
577         (doctex-syntax-propertize-rules): New const; replaces
578         doctex-font-lock-syntactic-keywords.
579         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
581         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
582         (fortran-make-syntax-propertize-function): New function; replaces
583         fortran-font-lock-syntactic-keywords.
584         (fortran-mode): Use it.
585         (fortran-line-length): Use it.  Improve interactive spec.
587         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
588         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
589         when adding surrounding \(..\).
591         * progmodes/js.el (js-mode): Fix last change (bug#7054).
593 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
595         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
596         Use with-current-buffer.
598         * isearch.el (isearch-face): Rename from `isearch'.
599         (isearch-highlight): Use new name.
601 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
603         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
604         5, for `half' width fringes.  (Bug#6933)
606 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
608         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
609         (byte-compile-defvar): "foo/bar" does not lack a prefix.
611         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
613 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
615         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
616         in calculating new frame position.  Add more space between new and
617         parent on the left (Bug#7048).
619 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
621         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
622         defmacro.
624 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
626         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
628         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
629         obsolete alias for x-selection-value.
631         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
633 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
635         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
636         cookie.
638 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
640         * net/tramp-compat.el (tramp-compat-with-temp-message)
641         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
642         (tramp-compat-process-put): New defuns.
644         * net/tramp.el (top):
645         * net/tramp-gvfs.el (top):
646         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
648         * net/tramp.el (tramp-progress-reporter-update):
649         Use `tramp-compat-funcall'.
651         * net/tramp.el (tramp-process-actions):
652         * net/tramp-gvfs.el (tramp-handle-vc-registered):
653         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
654         (tramp-get-remote-stat, tramp-get-remote-readlink):
655         Use `tramp-compat-with-temp-message'.
657         * net/tramp-sh.el (top): Require 'cl.
658         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
659         (tramp-open-connection-setup-interactive-shell):
660         Use `tramp-compat-process-put'.
662 2010-09-15  Alan Mackenzie  <acm@muc.de>
664         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
665         indentation.
666         (c-forward-<>-arglist-recur): Fix an infinite recursion.
668 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
670         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
671         `lexical' for warnings related to lexical scoping.
672         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
673         global vars which don't have a prefix and could hence affect lexical
674         scoping in unrelated files.
676 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
678         * net/imap.el: Revert back to version
679         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
680         seem problematic.
682 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
684         * obsolete/old-whitespace.el (whitespace-unload-function):
685         Explicitly pass `obarray' to `unintern' to avoid a warning.
687 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
689         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
690         Add `when' argument.  Update callers.
692         * subr.el (unintern): Declare the obarray arg mandatory.
694 2010-09-14  Glenn Morris  <rgm@gnu.org>
696         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
697         Doc fixes.
699         * calendar/diary-lib.el (diary-included-files): New variable.
700         (diary-list-entries): Maybe initialize diary-included-files.
701         (diary-include-other-diary-files): Append to diary-included-files.
702         * calendar/appt.el (appt-update-list): Also check the members of
703         diary-included-files.  (Bug#6999)
704         (appt-check): Doc fix.
706 2010-09-14  David Reitter  <david.reitter@gmail.com>
708         * simple.el (line-move-visual): Do not truncate goal column to
709         integer size.  (Bug#7020)
711 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
713         * repeat.el (repeat): Allow repeating when the last event is a click.
714         Suggested by Drew Adams (bug#6256).
716 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
718         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
719         Replace setting HGRCPATH to "" by some less invasive --config options.
721 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
723         * font-lock.el (font-lock-beginning-of-syntax-function):
724         Mark as obsolete.
726 2010-09-14  Glenn Morris  <rgm@gnu.org>
728         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
729         and tool-bar modes.  (Bug#6211)
730         (menu-bar-mode): Move setting of standard-value after the
731         minor-mode definition, otherwise it seems to have no effect.
733 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
735         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
736         Fix typo.  (Bug#6976)
738 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
740         * whitespace.el: Allow cleaning up blanks without blank
741         visualization (Bug#6651).  Adjust help window for
742         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
743         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
744         (whitespace-style): Add new value 'face.  Adjust docstring.
745         (whitespace-space, whitespace-hspace, whitespace-tab):
746         Adjust foreground property face.
747         (whitespace-line-column): Adjust docstring and type declaration.
748         (whitespace-style-value-list, whitespace-toggle-option-alist)
749         (whitespace-help-text): Adjust const initialization.
750         (whitespace-toggle-options, global-whitespace-toggle-options):
751         Adjust docstring.
752         (whitespace-display-window, whitespace-interactive-char)
753         (whitespace-style-face-p, whitespace-color-on): Adjust code.
754         (whitespace-help-scroll): New fun.
756 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
758         * calendar/time-date.el (format-seconds): Comment fix.
760 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
762         * progmodes/sql.el: Version 2.7.
763         (sql-buffer-live-p): Improve detection.
764         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
765         (sql-set-sqli-buffer): Use it.
766         (sql-product-interactive): Run `sql-set-sqli-hook'.
767         (sql-rename-buffer): Code cleanup.
768         (sql-redirect, sql-redirect-value): New functions.  More to come.
770 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
772         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.
773         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
774         (TRAMP_SRC): New macro.
775         ($(lisp)/net/tramp-loaddefs.el): New target.
777 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
779         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
781         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
783         * net/tramp.el (top): Don't show loading message.  Require just
784         'tramp-compat, everything else is required there.
785         Use `ignore-errors' where appropriate.
786         (tramp-inline-compress-start-size, tramp-copy-size-limit)
787         (tramp-terminal-type, tramp-end-of-output)
788         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
789         (tramp-completion-function-alist-ssh)
790         (tramp-completion-function-alist-telnet)
791         (tramp-completion-function-alist-su)
792         (tramp-completion-function-alist-putty, tramp-remote-path)
793         (tramp-remote-process-environment, tramp-sh-extra-args)
794         (tramp-actions-before-shell, tramp-uudecode)
795         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
796         (tramp-perl-file-attributes)
797         (tramp-perl-directory-files-and-attributes)
798         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
799         (tramp-perl-encode, tramp-perl-decode)
800         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
801         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
802         (tramp-handle-make-symbolic-link, tramp-handle-load)
803         (tramp-handle-file-name-as-directory)
804         (tramp-handle-file-name-directory)
805         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
806         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
807         (tramp-do-file-attributes-with-ls)
808         (tramp-do-file-attributes-with-perl)
809         (tramp-do-file-attributes-with-stat)
810         (tramp-handle-set-visited-file-modtime)
811         (tramp-handle-verify-visited-file-modtime)
812         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
813         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
814         (tramp-handle-file-selinux-context)
815         (tramp-handle-set-file-selinux-context)
816         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
817         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
818         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
819         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
820         (tramp-handle-file-ownership-preserved-p)
821         (tramp-handle-directory-file-name, tramp-handle-directory-files)
822         (tramp-handle-directory-files-and-attributes)
823         (tramp-do-directory-files-and-attributes-with-perl)
824         (tramp-do-directory-files-and-attributes-with-stat)
825         (tramp-handle-file-name-all-completions)
826         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
827         (tramp-handle-copy-file, tramp-handle-copy-directory)
828         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
829         (tramp-do-copy-or-rename-file-via-buffer)
830         (tramp-do-copy-or-rename-file-directly)
831         (tramp-do-copy-or-rename-file-out-of-band)
832         (tramp-handle-make-directory, tramp-handle-delete-directory)
833         (tramp-handle-delete-file)
834         (tramp-handle-dired-recursive-delete-directory)
835         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
836         (tramp-handle-insert-directory)
837         (tramp-handle-unhandled-file-name-directory)
838         (tramp-handle-expand-file-name)
839         (tramp-handle-substitute-in-file-name)
840         (tramp-handle-executable-find, tramp-process-sentinel)
841         (tramp-handle-start-file-process, tramp-handle-process-file)
842         (tramp-handle-call-process-region, tramp-handle-shell-command)
843         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
844         (tramp-handle-insert-file-contents)
845         (tramp-handle-insert-file-contents-literally)
846         (tramp-handle-find-backup-file-name)
847         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
848         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
849         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
850         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
851         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
852         (tramp-find-file-exists-command, tramp-open-shell)
853         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
854         (tramp-open-connection-setup-interactive-shell)
855         (tramp-local-coding-commands, tramp-remote-coding-commands)
856         (tramp-find-inline-encoding, tramp-call-local-coding-command)
857         (tramp-inline-compress-commands, tramp-find-inline-compress)
858         (tramp-compute-multi-hops, tramp-maybe-open-connection)
859         (tramp-send-command, tramp-wait-for-output)
860         (tramp-send-command-and-check, tramp-barf-unless-okay)
861         (tramp-send-command-and-read, tramp-mode-string-to-int)
862         (tramp-convert-file-attributes, tramp-check-cached-permissions)
863         (tramp-file-mode-from-int, tramp-file-mode-permissions)
864         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
865         (tramp-method-out-of-band-p, tramp-local-host-p)
866         (tramp-get-remote-path, tramp-get-remote-tmpdir)
867         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
868         (tramp-get-test-command, tramp-get-test-nt-command)
869         (tramp-get-file-exists-command, tramp-get-remote-ln)
870         (tramp-get-remote-perl, tramp-get-remote-stat)
871         (tramp-get-remote-readlink, tramp-get-remote-trash)
872         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
873         (tramp-get-local-uid, tramp-get-local-gid)
874         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
875         tramp-sh.el.
876         (tramp-methods, tramp-default-method-alist)
877         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
878         Move initialization to tramp-sh.el.
879         (tramp-temp-name-prefix): Make it a defconst.
880         (tramp-dissect-file-name): Don't check anymore for multi-hop
881         methods.
882         (tramp-debug-outline-regexp): Add a docstring.
883         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
884         (tramp-get-debug-buffer): Use it.
886         * net/tramp-cache.el (top): Set tramp-autoload cookie for
887         initialization forms.
888         (tramp-set-connection-property): Don't protect `tramp-message'
889         call, it isn't necessary any longer.
890         (tramp-dump-connection-properties): Use `ignore-errors'.
892         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
893         'password-cache and 'auth-source.
895         * net/tramp-gvfs.el (top):
896         * net/tramp-smb.el (top): Require 'tramp-sh.
898         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
900         * net/tramp-sh.el: New file, derived from tramp.el.
901         (top): Initialize `tramp-methods', `tramp-default-method-alist',
902         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
903         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
904         Use `ignore-errors' where appropriate.
905         (tramp-sh-file-name-handler-alist): Rename from
906         `tramp-file-name-handler-alist'.
907         (tramp-send-command-and-check): Return t or nil.  Remove all
908         `zerop' checks, where called.
909         (tramp-handle-set-file-modes)
910         (tramp-do-copy-or-rename-file-directly)
911         (tramp-handle-delete-directory, tramp-handle-delete-file)
912         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
913         (tramp-sh-file-name-handler, tramp-send-command-and-check)
914         (tramp-get-remote-ln): Set tramp-autoload cookie.
916         * net/tramp-fish.el: Remove file.
918 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
920         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
921         buffer-file-name to avoid file-locking.  (Bug#7026)
923 2010-09-13  Julien Danjou  <julien@danjou.info>
925         * notifications.el (notifications-notify): Add support for
926         image-path and sound-name.
927         (notifications-specification-version): Add this variable.
929 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
931         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
933 2010-09-12  Leo  <sdl.web@gmail.com>
935         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
936         (rcirc-completion-start): New variables.
937         (rcirc-nick-completions): Rename to rcirc-completions.
938         (rcirc-nick-completion-start-offset): Delete.
939         (rcirc-completion-at-point): New function for constructing
940         completion data for both nicks and irc commands.  Add to
941         completion-at-point-functions in rcirc mode.
942         (rcirc-complete): Rename from rcirc-nick-complete; use
943         rcirc-completion-at-point.
944         (defun-rcirc-command): Update rcirc-client-commands.
946 2010-09-11  Glenn Morris  <rgm@gnu.org>
948         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
949         atomically, to avoid parallel build errors.  (Bug#4196)
951 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
953         * progmodes/sql.el: Version 2.6
954         (sql-dialect): Synonym for "sql-product".
955         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
956         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
957         Set "sql-buffer" to buffer name not buffer object so multiple sql
958         interactive buffers work properly.  Reverts misguided changes in
959         earlier work.
960         (sql-comint): Make sure different buffer name is used if "*SQL*"
961         buffer is for a different product.
962         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
963         login param.
964         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
965         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
966         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
967         Accept new buffer name or prompt for one.
968         (sql-port): Default to zero.
969         (sql-comint-mysql): Handle "sql-port" as a numeric.
970         (sql-port-history): Delete unused variable.
971         (sql-get-login): Default "sql-port" to a number.
972         (sql-product-alist): Correct Postgres prompt and terminator regexp.
973         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
974         "sqlite3" executables.
975         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
976         (sql-buffer-live-p): New function.
977         (sql-mode-menu, sql-send-string): Use it.
978         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
979         syntax pattern.
980         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
981         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
983 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
985         * net/netrc.el (netrc-credentials): New convenience function.
987 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
989         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
990         to replace texinfo-font-lock-syntactic-keywords.
991         (texinfo-mode): Use it.
993         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
994         Use syntax-propertize-function.
996         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
997         replace sgml-font-lock-syntactic-keywords.
998         (sgml-mode): Use it.
1000         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1001         since we don't use it.
1003         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1005         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1006         if available.
1007         (vhdl-fontify-buffer): Adjust.
1009         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1010         replace tcl-font-lock-syntactic-keywords.
1011         (tcl-mode): Use it.
1013         * progmodes/simula.el (simula-syntax-propertize-function): New var to
1014         replace simula-font-lock-syntactic-keywords.
1015         (simula-mode): Use it.
1017         * progmodes/sh-script.el (sh-st-symbol): Remove.
1018         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1019         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1020         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1021         (sh-font-lock-paren): Set syntax-multiline.
1022         (sh-font-lock-syntactic-keywords): Remove.
1023         (sh-syntax-propertize-function): New function to replace it.
1024         (sh-mode): Use it.
1026         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1027         Define while compiling.
1028         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1029         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1030         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1031         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1032         (ruby-here-doc-end-syntax): Only define when
1033         syntax-propertize is not available.
1034         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1035         New functions.
1036         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1037         (electric-indent-chars): Silence bytecompiler.
1038         (ruby-mode): Use prog-mode, syntax-propertize-function, and
1039         electric-indent-chars.
1041         * progmodes/python.el (python-syntax-propertize-function): New var to
1042         replace python-font-lock-syntactic-keywords.
1043         (python-mode): Use it.
1044         (python-quote-syntax): Simplify and adjust to new use.
1046         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1047         replace perl-font-lock-syntactic-keywords.
1048         (perl-syntax-propertize-special-constructs): New fun to replace
1049         perl-font-lock-special-syntactic-constructs.
1050         (perl-font-lock-syntactic-face-function): New fun.
1051         (perl-mode): Use it.
1053         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1054         to replace octave-font-lock-close-quotes.
1055         (octave-syntax-propertize-function): New function to replace
1056         octave-font-lock-syntactic-keywords.
1057         (octave-mode): Use it.
1059         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1060         replaces mixal-font-lock-syntactic-keywords.
1061         (mixal-mode): Use it.
1063         * progmodes/make-mode.el (makefile-syntax-propertize-function):
1064         New var; replaces makefile-font-lock-syntactic-keywords.
1065         (makefile-mode): Use it.
1066         (makefile-imake-mode): Adjust.
1068         * progmodes/js.el (js--regexp-literal): Define while compiling.
1069         (js-syntax-propertize-function): New var; replaces
1070         js-font-lock-syntactic-keywords.
1071         (js-mode): Use it.
1073         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1074         replaces gdb-script-font-lock-syntactic-keywords.
1075         (gdb-script-mode): Use it.
1077         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1078         (fortran--font-lock-syntactic-keywords): New var.
1079         (fortran-line-length): Update syntax-propertize-function and
1080         fortran--font-lock-syntactic-keywords.
1082         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1084         * progmodes/cfengine.el (cfengine-mode):
1085         Use syntax-propertize-function.
1086         (cfengine-font-lock-syntactic-keywords): Remove.
1088         * progmodes/autoconf.el (autoconf-mode):
1089         Use syntax-propertize-function.
1090         (autoconf-font-lock-syntactic-keywords): Remove.
1092         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1093         (ada-after-change-function, ada-initialize-syntax-table-properties)
1094         (ada-handle-syntax-table-properties): Only define when
1095         syntax-propertize is not available.
1096         (ada-mode): Use syntax-propertize-function.
1098         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1099         (font-lock-fontify-syntactic-keywords-region): Move handling of
1100         font-lock-syntactically-fontified to...
1101         (font-lock-default-fontify-region): ...here.
1102         Let syntax-propertize-function take precedence.
1103         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1105         * emacs-lisp/syntax.el (syntax-propertize-function)
1106         (syntax-propertize-chunk-size, syntax-propertize--done)
1107         (syntax-propertize-extend-region-functions): New vars.
1108         (syntax-propertize-wholelines, syntax-propertize-multiline)
1109         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1110         (syntax-propertize): New functions.
1111         (syntax-propertize-rules): New macro.
1112         (syntax-ppss-flush-cache): Set syntax-propertize--done.
1113         (syntax-ppss): Call syntax-propertize.
1115         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1117 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
1119         * textmodes/ispell.el (ispell-init-process): Improve comments.
1120         XEmacs compatibility changes regarding (add-hook) 'local option
1121         and (set-process-query-on-exit-flag).
1123 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
1125         * net/tramp-cache.el (tramp-parse-connection-properties):
1126         Set tramp-autoload cookie.
1128 2010-09-09  Glenn Morris  <rgm@gnu.org>
1130         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1131         (imagemagick-register-types): Doc fix.
1133 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1135         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1137         * progmodes/js.el (require): Require is already "eval-and-compile".
1138         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
1139         (js--re-search-backward): Use js--re-search-forward.
1141         * progmodes/fortran.el (fortran-line-length): Don't recompute
1142         syntactic keywords redundantly a second time.
1144         * progmodes/ada-mode.el: Replace "(set '" with setq.
1145         (ada-mode): Simplify.
1146         (ada-create-case-exception, ada-adjust-case-interactive)
1147         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1148         (ada-search-ignore-string-comment, ada-move-to-start)
1149         (ada-move-to-end): Use with-syntax-table.
1151         * font-lock.el (save-buffer-state): Remove `varlist' arg.
1152         (font-lock-unfontify-region, font-lock-default-fontify-region):
1153         Update usage correspondingly.
1154         (font-lock-fontify-syntactic-keywords-region):
1155         Set parse-sexp-lookup-properties buffer-locally here.
1156         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1158         * simple.el (blink-matching-open): Don't burp if we can't find a match.
1160 2010-09-08  Glenn Morris  <rgm@gnu.org>
1162         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1163         Error if not compiled with -DBYTE_CODE_METER.
1165         * emacs-lisp/bytecomp.el (byte-recompile-directory):
1166         Ignore dir-locals-file.
1168 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1170         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1171         Not a const.
1172         (compilation-error-regexp-alist-alist): Rule out ": " in file names
1173         for the `gnu' messages.
1174         (compilation-set-skip-threshold): New command.
1175         (compilation-start): Use \' rather than $.
1176         (compilation-forget-errors): Use clrhash.
1178 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
1180         * textmodes/ispell.el (ispell-valid-dictionary-list):
1181         Simplify logic.
1183 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
1185         Migrate to Tramp 2.2.  Rearrange load dependencies.
1186         (Bug#1529, Bug#5448, Bug#5705)
1188         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1189         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1190         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1192         * net/tramp.el (top): Remove all other tramp-* loads except
1193         tramp-compat.el.  Remove all changes to tramp-unload-hook for
1194         other tramp-* packages.  Rearrange defun order.  Change calls of
1195         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1196         `tramp-compat-octal-to-decimal' to new function names.
1197         (tramp-terminal-type, tramp-initial-end-of-output)
1198         (tramp-methods, tramp-foreign-file-name-handler-alist)
1199         (tramp-tramp-file-p, tramp-completion-mode-p)
1200         (tramp-send-command-and-check, tramp-get-remote-path)
1201         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1202         (tramp-shell-quote-argument): Set tramp-autoload cookie.
1203         (with-file-property, with-connection-property): Move to
1204         tramp-cache.el.
1205         (tramp-local-call-process, tramp-decimal-to-octal)
1206         (tramp-octal-to-decimal): Move to tramp-compat.el.
1207         (tramp-handle-shell-command): Do not require 'shell.
1208         (tramp-compute-multi-hops): No special handling for tramp-gw-*
1209         symbols.
1210         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1212         * net/tramp-cache.el (top): Require 'tramp.  Add to
1213         `tramp-unload-hook'.
1214         (tramp-cache-data, tramp-get-file-property)
1215         (tramp-set-file-property, tramp-flush-file-property)
1216         (tramp-flush-directory-property, tramp-get-connection-property)
1217         (tramp-set-connection-property, tramp-flush-connection-property)
1218         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1219         cookie.
1220         (with-file-property, with-connection-property): New defuns, moved
1221         from tramp.el.
1222         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1223         macro.
1225         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1226         (tramp-version): Set tramp-autoload cookie.
1228         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
1229         changes to tramp-unload-hook for other tramp-* packages.  Add to
1230         `tramp-unload-hook'.
1231         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1232         (tramp-compat-call-process): New defuns, moved from tramp.el.
1234         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
1235         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1236         to `tramp-unload-hook'.  Change call of
1237         `tramp-compat-decimal-to-octal' to new function name.
1238         (tramp-fish-method): Make it a defconst.
1239         (tramp-fish-file-name-p): Make it a defsubst.
1240         (tramp-fish-method, tramp-fish-file-name-handler)
1241         (tramp-fish-file-name-p): Set tramp-autoload cookie.
1243         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1244         `tramp-foreign-file-name-handler-alist'.  Add to
1245         `tramp-unload-hook'.
1246         (tramp-ftp-method): Make it a defconst.
1247         (tramp-ftp-file-name-p): Make it a defsubst.
1248         (tramp-ftp-method, tramp-ftp-file-name-handler)
1249         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1251         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1252         `tramp-foreign-file-name-handler-alist'.  Add to
1253         `tramp-unload-hook'.  Change checks, whether package can be
1254         loaded.
1255         (tramp-gvfs-file-name-p): Make it a defsubst.
1256         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1257         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1258         (tramp-gvfs-handle-file-directory-p): New defun.
1259         (tramp-gvfs-file-name-handler-alist): Use it.
1261         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1262         `tramp-foreign-file-name-handler-alist'.  Add to
1263         `tramp-unload-hook'.
1264         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1265         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1266         defconst.
1267         (tramp-gw-tunnel-method, tramp-gw-socks-method)
1268         (tramp-gw-open-connection): Set tramp-autoload cookie.
1270         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
1271         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1272         to `tramp-unload-hook'.  Change checks, whether package can be
1273         loaded.
1274         (tramp-imap-file-name-p): Make it a defsubst.
1275         (tramp-imap-method, tramp-imaps-method)
1276         (tramp-imap-file-name-handler)
1277         (tramp-imap-file-name-p): Set tramp-autoload cookie.
1279         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
1280         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
1281         to `tramp-unload-hook'.  Change checks, whether package can be
1282         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
1283         function name.
1284         (tramp-smb-tunnel-method): Make it a defconst.
1285         (tramp-smb-file-name-p): Make it a defsubst.
1286         (tramp-smb-method, tramp-smb-file-name-handler)
1287         (tramp-smb-file-name-p): Set tramp-autoload cookie.
1289         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1290         (tramp-uuencode-region): Set tramp-autoload cookie.
1292         * net/trampver.el (top) Add to `tramp-unload-hook'.
1293         (tramp-version, tramp-bug-report-address): Set tramp-autoload
1294         cookie.  Update release number.
1296 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
1298         * textmodes/ispell.el (ispell-start-process): Make sure original
1299         arg list is properly initialized (Bug#6993, Bug#6994).
1301 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
1303         * files.el (directory-abbrev-alist): Use \` as default regexp.
1305         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1306         chars like - or ] (bug#6984).
1307         (rx-any-condense-range): Explode 2-char ranges.
1309 2010-09-06  Glenn Morris  <rgm@gnu.org>
1311         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1313 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1315         * textmodes/bibtex.el:
1316         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1318 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1320         * net/imap.el (imap-message-map): Remove optional buffer parameter,
1321         since no callers use it.
1322         (imap-message-get): Ditto.
1323         (imap-message-put): Ditto.
1324         (imap-mailbox-map): Ditto.
1325         (imap-mailbox-put): Ditto.
1326         (imap-mailbox-get): Ditto.
1327         (imap-mailbox-get): Revert last change for this function.
1329 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1331         * net/imap.el (imap-fetch-safe): Remove function, and alter all
1332         callers to use `imap-fetch' instead.  According to the comments, this
1333         should be safe, since all other IMAP clients use the 1:* syntax.
1334         (imap-enable-exchange-bug-workaround): Remove.
1335         (imap-debug): Remove -- doesn't seem very useful.
1337 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1339         * net/imap.el (imap-log): New convenience function used throughout
1340         instead of repeating the same code all over the place.
1342 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
1344         * mouse.el (mouse-save-then-kill): Save region to kill-ring
1345         when mouse-drag-copy-region is non-nil (Bug#6956).
1347 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
1349         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1350         Improve regexps (Bug#6987).
1351         (dired-sort-toggle): Search more robustly for -t flag.
1353         * files.el (get-free-disk-space): Search more robustly for
1354         "available" column.  Suggested by Ehud Karni
1355         <ehud@unix.mvs.co.il>.
1357 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
1359         * international/uni-bidi.el:
1360         * international/uni-category.el:
1361         * international/uni-combining.el:
1362         * international/uni-decimal.el:
1363         * international/uni-mirrored.el:
1364         * international/uni-name.el: Regenerate.
1366 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1368         * electric.el (electric-indent-post-self-insert-function):
1369         Don't reindent with a sloppy indentation function.
1371         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1372         border case in change-log-mode.
1374 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
1376         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1377         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1378         Recognize leading tab in gcc-include regexp.  Ignore names with
1379         leading "from" or "in" in gnu regexp (Bug#6937).
1381 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1383         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1384         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1385         (ispell-start-process): Avoid setq and simplify logic.
1386         (ispell-init-process): Setup kill-buffer-hook locally when needed.
1387         (kill-buffer-hook): Don't use it globally with code that uses
1388         expand-file-name since that may call kill-buffer via
1389         code_conversion_restore.
1391 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
1393         * emacs-lisp/package.el (package-directory-list): Only call
1394         file-name-nondirectory on a string.
1396 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1398         * emacs-lisp/package.el (package--download-one-archive):
1399         Ensure that archive-contents is valid before saving it.
1400         (package-activate-1, package-mark-obsolete, define-package)
1401         (package-compute-transaction, package-list-maybe-add): Use push.
1403 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1405         Use SMIE's blink-paren for octave-mode.
1406         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1407         Backslashes do not escape single-quotes, single-quotes do.
1408         (octave-block-else-regexp, octave-block-end-regexp)
1409         (octave-block-match-alist): Remove.
1410         (octave-smie-bnf-table): New var, with old content.
1411         (octave-smie-op-levels): Use it.
1412         (octave-smie-closer-alist): New var.
1413         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
1414         (octave-blink-matching-block-open): Remove.
1415         (octave-reindent-then-newline-and-indent, octave-electric-semi)
1416         (octave-electric-space): Let self-insert-command run expand-abbrev and
1417         blink parens.
1419         * electric.el (electricity): New group.
1420         (electric-indent-chars): New var.
1421         (electric-indent-post-self-insert-function): New fun.
1422         (electric-indent-mode): New minor mode.
1423         (electric-pair-skip-self): New custom.
1424         (electric-pair-post-self-insert-function): New function.
1425         (electric-pair-mode): New minor mode.
1427         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1428         calcAlg-blink-matching-open.
1429         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1430         (calc-do-alg-entry): Only touch the part of the keymap that varies.
1431         Use the new blink-matching-check-function.
1433         Provide blink-matching support to SMIE.
1434         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1435         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1436         (smie-blink-matching-check, smie-blink-matching-open): New functions.
1438         * simple.el (newline): Fix last change to properly remove itself from
1439         the hook.
1441 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1443         * simple.el (newline): Eliminate optimization.
1444         Use post-self-insert-hook to set hard-newline and things before
1445         running post-self-insert-hook.
1446         (blink-matching-check-mismatch): New function.
1447         (blink-matching-check-function): New variable.
1448         (blink-matching-open): Use them.
1449         Skip back forward over prefix chars skipped by forward-sexp.
1450         Don't check if the parens are backslash escaped.
1451         (blink-paren-post-self-insert-function): Check backslash escaping here.
1453 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
1455         * emacs-lisp/package.el (package-menu-mode-map):
1456         Change package-menu-revert bindings to revert-buffer.
1457         (package-menu-mode): Set revert-buffer-function.
1458         (package-menu-revert): Doc fix.
1460 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
1462         * textmodes/ispell.el (ispell-init-process): Use "~/" as
1463         `default-directory' unless using Ispell per-directory personal
1464         dictionaries and not in a mini-buffer under XEmacs.
1465         (kill-buffer-hook): Do not kill ispell process on exit when
1466         `ispell-process-directory' is "~/".  (Bug#6143)
1468 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
1470         * simple.el (kill-new): Call interprogram-cut-function with only
1471         one argument.
1473         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1474         Remove cut buffer from error message.
1476         * term/x-win.el (x-select-text):
1477         * term/pc-win.el (x-selection-value):
1478         * term/ns-win.el (x-selection-value):
1479         * eshell/em-term.el:
1480         * w32-fns.el (x-get-selection-value):
1481         * mouse-sel.el (mouse-sel-set-selection-function):
1482         * frame.el (display-selections-p): Remove cut-buffer in documentation.
1484         * term/x-win.el: Update documentation for x-last-selected-text-*.
1485         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1486         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1487         (x-select-text): Remove argument PUSH, update documentation.  Remove
1488         cut-buffer code.
1489         (x-selection-value-internal): Was previously x-selection-value.
1490         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1491         Update documentation, remove cut-buffer code.  Call
1492         x-selection-value-internal.
1493         (x-clipboard-yank): Call x-selection-value-internal.
1494         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1496         * term/pc-win.el (x-last-selected-text):
1497         x-cut-buffer-or-selection-value renamed to x-selection-value
1498         (x-select-text): Remove argument PUSH, update documentation.
1500         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1501         x-cut-buffer-or-selection-value renamed to x-selection-value
1502         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1503         (x-select-text): Remove argument PUSH, update documentation.
1505         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1507         * w32-fns.el (x-last-selected-text):
1508         x-cut-buffer-or-selection-value renamed to x-selection-value.
1509         (x-cut-buffer-max): Remove.
1510         (x-select-text): Remove argument PUSH, update documentation.
1512         * simple.el (interprogram-cut-function): Remove mention of PUSH.
1514         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1516         * mouse-sel.el (mouse-sel-get-selection-function):
1517         x-cut-buffer-or-selection-value renamed to x-selection-value.
1518         (x-select-text): Remove optional push.
1520 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1522         * simple.el (blink-paren-function): Move from C to here.
1523         (blink-paren-post-self-insert-function): New function.
1524         (post-self-insert-hook): Use it.
1526         * emacs-lisp/pcase.el (pcase-split-memq):
1527         Fix overenthusiastic optimisation.
1528         (pcase-u1): Handle the case of a lambda pred.
1530 2010-08-31  Kenichi Handa  <handa@m17n.org>
1532         * international/mule-cmds.el (standard-display-european-internal):
1533         Setup standard-display-table for 8-bit characters by storing 8-bit
1534         characters in the element vector.
1536         * disp-table.el (standard-display-8bit):
1537         Setup standard-display-table for 8-bit characters by storing 8-bit
1538         characters in the element vector.
1539         (standard-display-european): Likewise.
1541 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
1543         * textmodes/nroff-mode.el (nroff-view): New command.
1544         (nroff-mode-map): Bind it to C-c C-c.
1546 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1548         * emacs-lisp/smie.el (smie-down-list): New command.
1550         Remove old indentation and navigation code on octave-mode.
1551         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1552         smie-down-list rather than add a binding for octave-down-block.
1553         (octave-mark-block, octave-blink-matching-block-open):
1554         Rely on forward-sexp-function.
1555         (octave-fill-paragraph): Don't narrow, so you can use
1556         indent-according-to-mode.
1557         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1558         (octave-in-block-p, octave-re-search-forward-kw)
1559         (octave-re-search-backward-kw, octave-indent-calculate)
1560         (octave-end-as-array-index-p, octave-block-end-offset)
1561         (octave-scan-blocks, octave-forward-block, octave-backward-block)
1562         (octave-down-block, octave-backward-up-block, octave-up-block)
1563         (octave-before-magic-comment-p, octave-indent-line): Remove.
1565 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
1567         * emacs-lisp/package.el (package--read-archive-file): Just use
1568         `read', to avoid copying an additional string.
1569         (package-menu-mode): Set header-line-format here.
1570         (package-menu-refresh, package-menu-revert): Signal an error if
1571         not in the Package Menu.
1572         (package-menu-package-list): New var.
1573         (package--generate-package-list): Operate on the current buffer;
1574         don't assume that it is *Packages*, since the user may rename it.
1575         Allow persistent package listings and sort keys using
1576         package-menu-package-list and package-menu-package-sort-key.
1577         (package-menu--version-predicate): Fix version calculation.
1578         (package-menu-sort-by-column): Don't select the window.
1579         (package--list-packages): Create the *Packages* buffer.
1580         Set package-menu-package-list-key.
1581         (list-packages): Sorting by status is now the default.
1582         (package-buffer-info): Use match-string-no-properties.
1583         (define-package): Add a &rest argument for future proofing, but
1584         don't use it yet.
1585         (package-install-from-buffer, package-install-buffer-internal):
1586         Merge into a single function, package-install-from-buffer.
1587         (package-install-file): Change caller.
1589         * finder.el: Load finder-inf using `require'.
1590         (finder-list-matches): Sorting by status is now the default.
1591         (finder-compile-keywords): Simpify printing.
1593 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1595         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1596         (octave-mode-map): Remove special bindings for forward/backward-block
1597         and octave-backward-up-block.  Use smie-close-block.
1598         (octave-continuation-marker-regexp): New var.
1599         (octave-continuation-regexp): Use it.
1600         (octave-operator-table, octave-smie-op-levels)
1601         (octave-operator-regexp, octave-smie-indent-rules): New vars.
1602         (octave-smie-backward-token, octave-smie-forward-token): New funs.
1603         (octave-mode): Use SMIE.
1604         (octave-close-block): Delete.
1606 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
1608         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1609         CLIPBOARD, not in PRIMARY.  (Bug#6944)
1611 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1613         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1614         a list of parents.
1615         (smie-indent-column): Allow indirection through variables.
1617         * composite.el (save-buffer-state): Delete, unused.
1618         * font-lock.el (save-buffer-state): Use with-silent-modifications.
1619         (font-lock-default-fontify-region): Use with-syntax-table.
1620         * jit-lock.el (with-buffer-unmodified): Remove.
1621         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1623         Use `declare' in defmacros.
1624         * window.el (save-selected-window):
1625         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1626         * progmodes/python.el (def-python-skeleton):
1627         * net/dbus.el (dbus-ignore-errors):
1628         * jka-cmpr-hook.el (with-auto-compression-mode):
1629         * international/mule.el (with-category-table):
1630         * emacs-lisp/timer.el (with-timeout):
1631         * emacs-lisp/lisp-mnt.el (lm-with-file):
1632         * emacs-lisp/eieio.el (with-slots):
1633         * emacs-lisp/easymenu.el (easy-menu-define):
1634         * emacs-lisp/debug.el (debugger-env-macro):
1635         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1636         (Multiple-value-call, Multiple-value-prog1):
1637         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1638         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1639         edebug rule to definition.
1640         * emacs-lisp/lisp-mode.el (save-selected-window)
1641         (with-current-buffer, combine-after-change-calls)
1642         (with-output-to-string, with-temp-file, with-temp-buffer)
1643         (with-temp-message, with-syntax-table, read-if, eval-after-load)
1644         (dolist, dotimes, when, unless):
1645         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1647 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1649         * finder.el: Require `package'.
1650         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
1651         (finder-package-info): Var deleted.
1652         (finder-keywords-hash, finder--builtins-alist): New vars.
1653         (finder-compile-keywords): Compute package--builtins and
1654         finder-keywords-hash instead of finder-keywords-hash, respecting
1655         the "Package" header.
1656         (finder-unknown-keywords, finder-list-matches):
1657         Use finder-keywords-hash and package--list-packages.
1658         (finder-mode): Don't set font-lock-defaults.
1659         (finder-exit): We don't use "*Finder-package*" and "*Finder
1660         Category*" buffers anymore.
1662         * emacs-lisp/package.el (package--builtins-base): Var deleted.
1663         (package--builtins): Set default value to nil.
1664         (package-initialize): Load precomputed value of package--builtins
1665         from finder-inf.el.
1666         (package-alist, package-compute-transaction)
1667         (package-download-transaction): Improve docstring.
1668         (package-read-all-archive-contents): Do not change
1669         package--builtins here.
1670         (list-packages): Make package-list-packages an alias for this.
1671         Sort by status by default.
1672         (package--list-packages): Add optional PACKAGES arg.
1673         (describe-package-1): Use font-lock-face property.  For built-in
1674         packages, insert file commentary.
1675         (package--generate-package-list): Rename from
1676         package-list-packages-internal; all callers changed.  Add optional
1677         PACKAGES arg.  Add alphabetical sort fallbacks.
1678         (package-menu--version-predicate, package-menu--status-predicate)
1679         (package-menu--description-predicate)
1680         (package-menu--name-predicate): New functions.
1682         * info.el (Info-finder-find-node): Search package-alist instead of
1683         finder-package-info.
1685 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
1687         * subr.el (version-regexp-alist): Don't use "a" and "b" for
1688         "alpha" and "beta".
1689         (version-to-list): Handle versions like "10.3d".
1691 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1693         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1694         (macroexp-accumulate): Use `declare'.
1696 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1698         * whitespace.el (whitespace-style): Adjust type declaration.
1700 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
1702         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1703         empty argument to gvfs-copy.
1705 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1707         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1708         handle new TRASH arg of `delete-file'.
1710 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
1712         * net/tramp.el (tramp-handle-insert-directory): Don't use
1713         `forward-word', its default syntax could be changed.
1715 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
1716             Michael Albinus  <michael.albinus@gmx.de>
1718         Implement compression for inline methods.
1720         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1721         (tramp-copy-size-limit): Allow also nil.
1722         (tramp-inline-compress-commands): New defconst.
1723         (tramp-find-inline-compress, tramp-get-inline-compress)
1724         (tramp-get-inline-coding): New defuns.
1725         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1726         replaced by `tramp-get-inline-coding'.
1727         (tramp-handle-file-local-copy, tramp-handle-write-region)
1728         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1730 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
1732         Detect ssh 'ControlMaster' argument automatically in some cases.
1734         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1735         (tramp-default-method): Use it.
1737 2010-08-26  Karel Klíč  <kklic@redhat.com>
1739         * net/tramp.el (tramp-file-name-for-operation):
1740         Add file-selinux-context.
1742 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
1744         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1746 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1748         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1749         (Bug#6907).
1751 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
1753         * progmodes/js.el: Make indentation more customizable (Bug#6914).
1754         (js-paren-indent-offset, js-square-indent-offset)
1755         (js-curly-indent-offset): New options.
1756         (js--proper-indentation): Use them.
1758 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
1760         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1761         instead of inspecting font-lock properties (Bug#6916).
1763 2010-08-26  David Reitter  <david.reitter@gmail.com>
1765         * server.el (server-visit-files): Run pre-command-hook and
1766         post-command-hook for each buffer while it is current (Bug#6910).
1767         (server-execute): Do not run hooks here.
1769 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
1771         Sync with Tramp 2.1.19.
1773         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1774         (tramp-reporter-dump-variable, tramp-load-report-modules)
1775         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1776         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1778         * net/tramp-compat.el (top): Do not autoload
1779         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
1780         only when `start-file-process' is not bound.
1781         (byte-compile-not-obsolete-vars): Define if not bound.
1782         (tramp-compat-funcall): New defmacro.
1783         (tramp-compat-line-beginning-position)
1784         (tramp-compat-line-end-position)
1785         (tramp-compat-temporary-file-directory)
1786         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1787         (tramp-compat-copy-file, tramp-compat-copy-directory)
1788         (tramp-compat-delete-file, tramp-compat-delete-directory)
1789         (tramp-compat-number-sequence, tramp-compat-process-running-p):
1790         Use it.
1791         (tramp-advice-file-expand-wildcards): Do not use
1792         `tramp-handle-file-remote-p'.
1793         (tramp-compat-make-temp-file): Simplify fallback implementation.
1794         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1795         (tramp-compat-copy-tree): Remove function.
1796         (tramp-compat-delete-file): New defun.
1797         (tramp-compat-delete-directory): Provide implementation for older
1798         Emacsen.
1799         (tramp-compat-file-attributes): Handle only
1800         `wrong-number-of-arguments' error.
1802         * net/tramp-fish.el (tramp-fish-handle-copy-file):
1803         Add PRESERVE_SELINUX_CONTEXT.
1804         (tramp-fish-handle-delete-file): Add TRASH arg.
1805         (tramp-fish-handle-directory-files-and-attributes):
1806         Do not use `tramp-fish-handle-file-attributes.
1807         (tramp-fish-handle-file-local-copy)
1808         (tramp-fish-handle-insert-file-contents)
1809         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1811         * net/tramp-gvfs.el (top): Require url-util.
1812         (tramp-gvfs-mount-point): Remove.
1813         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1814         and `set-file-selinux-context'.
1815         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1816         (tramp-gvfs-handle-file-selinux-context)
1817         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1818         (with-tramp-dbus-call-method): Format trace message.
1819         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1820         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1821         Implement backup call, when operation on local files fails.
1822         Use progress reporter.  Flush properties of changed files.
1823         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
1824         `tramp-compat-delete-file'.
1825         (tramp-gvfs-handle-expand-file-name): Expand "~/".
1826         (tramp-gvfs-handle-make-directory): Make more traces.
1827         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1828         (tramp-gvfs-url-file-name): Hexify file name in url.
1829         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1830         into account for the resulting file name.
1831         (tramp-gvfs-handler-askquestion): Preserve current message, in
1832         order to let progress reporter continue afterwards.  (Bug#6257)
1833         Return dummy mountpoint, when the answer is "no".
1834         See `tramp-gvfs-maybe-open-connection'.
1835         (tramp-gvfs-handler-mounted-unmounted)
1836         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1837         attribute "default_location".  Set "prefix" property.
1838         Handle default-location.
1839         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1840         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1841         exists.  Raise an error, if not (due to a corresponding answer
1842         "no" in interactive questions, for example).
1843         Use `tramp-compat-funcall'.
1845         * net/tramp-imap.el (top): Autoload `epg-make-context'.
1846         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1847         (tramp-imap-do-copy-or-rename-file)
1848         (tramp-imap-handle-insert-file-contents)
1849         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1850         (tramp-imap-handle-delete-file): Add TRASH arg.
1852         * net/tramp-smb.el (tramp-smb-handle-copy-file):
1853         Add PRESERVE-SELINUX-CONTEXT.
1854         (tramp-smb-handle-copy-file)
1855         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1856         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1857         Use `with-progress-reporter'.
1858         (tramp-smb-handle-delete-file): Add TRASH arg.
1860         * net/tramp.el (tramp-methods): Move hostname to the end in all
1861         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
1862         appropriate.
1863         (tramp-verbose): Describe verbose level 9.
1864         (tramp-completion-function-alist)
1865         (tramp-file-name-regexp, tramp-chunksize)
1866         (tramp-local-coding-commands, tramp-remote-coding-commands)
1867         (with-connection-property, tramp-completion-mode-p)
1868         (tramp-action-process-alive, tramp-action-out-of-band)
1869         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1870         (tramp-exists-file-name-handler): Fix docstring.
1871         (tramp-remote-process-environment): Use `format' instead of
1872         `concat'.  Protect version string by apostroph.
1873         (tramp-shell-prompt-pattern): Do not use a shy group in case of
1874         XEmacs.
1875         (tramp-file-name-regexp-unified)
1876         (tramp-completion-file-name-regexp-unified): On W32 systems, do
1877         not regard the volume letter as remote filename.  (Bug#5447)
1878         (tramp-perl-file-attributes)
1879         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1880         (tramp-vc-registered-read-file-names): Read input as
1881         here-document, otherwise the command could exceed maximum length
1882         of command line.
1883         (tramp-file-name-handler-alist): Add `file-selinux-context' and
1884         `set-file-selinux-context'.
1885         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1886         backtrace functions.
1887         (tramp-error-with-buffer): Don't show the connection buffer when
1888         we are in completion mode.
1889         (tramp-progress-reporter-update, tramp-remote-selinux-p)
1890         (tramp-handle-file-selinux-context)
1891         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1892         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1893         New defuns.
1894         (with-progress-reporter): New defmacro.
1895         (tramp-debug-outline-regexp): New defconst.
1896         (top, tramp-rfn-eshadow-setup-minibuffer)
1897         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1898         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1899         (tramp-completion-mode-p, tramp-check-for-regexp)
1900         (tramp-open-connection-setup-interactive-shell)
1901         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1902         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1903         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1904         Use `tramp-compat-funcall'.
1905         (tramp-handle-make-symbolic-link): Flush file properties.
1906         (tramp-handle-load, tramp-handle-file-local-copy)
1907         (tramp-handle-insert-file-contents, tramp-handle-write-region)
1908         (tramp-handle-vc-registered, tramp-maybe-send-script)
1909         (tramp-find-shell): Use `with-progress-reporter'.
1910         (tramp-do-file-attributes-with-stat): Add space in format string,
1911         in order to work around a bug in pdksh.  Reported by Gilles Pion
1912         <gpion@lfdj.com>.
1913         (tramp-handle-verify-visited-file-modtime): Do not send a command
1914         when the connection is not established.
1915         (tramp-handle-set-file-times): Simplify the check for utc.
1916         (tramp-handle-directory-files-and-attributes)
1917         (tramp-get-remote-path): Use `copy-tree'.
1918         (tramp-completion-handle-file-name-all-completions): Ensure, that
1919         non remote files are still checked.  Oops.
1920         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
1921         Handle PRESERVE-SELINUX-CONTEXT.
1922         (tramp-do-copy-or-rename-file): Add progress reporter.
1923         (tramp-do-copy-or-rename-file-directly): Do not use
1924         `tramp-handle-file-remote-p'.
1925         (tramp-do-copy-or-rename-file-out-of-band):
1926         Use `tramp-compat-delete-directory'.
1927         (tramp-do-copy-or-rename-file-out-of-band)
1928         (tramp-compute-multi-hops, tramp-maybe-open-connection):
1929         Use `format-spec-make'.
1930         (tramp-handle-delete-file): Add TRASH arg.
1931         (tramp-handle-dired-uncache): Flush directory cache, not only file
1932         cache.
1933         (tramp-handle-expand-file-name)
1934         (tramp-completion-handle-file-name-all-completions)
1935         (tramp-completion-handle-file-name-completion):
1936         Use `tramp-connectable-p'.
1937         (tramp-handle-start-file-process): Set connection property "vec".
1938         Use it, in order to invalidate file caches.  Check only for
1939         `remote-tty' process property.
1940         Implement tty setting.  (Bug#4604, Bug#6360)
1941         (tramp-file-name-for-operation): Add `call-process-region' and
1942         `set-file-selinux-context'.
1943         (tramp-find-foreign-file-name-handler)
1944         (tramp-advice-make-auto-save-file-name)
1945         (tramp-set-auto-save-file-modes): Remove superfluous check for
1946         `stringp'.  This is done inside `tramp-tramp-file-p'.
1947         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
1948         operations when we are in completion mode.  This gives the user
1949         the chance to correct the file name in the minibuffer.
1950         (tramp-completion-mode-p): Use `non-essential'.
1951         (tramp-handle-file-name-all-completions): Backward/ XEmacs
1952         compatibility: Use `completion-ignore-case' if
1953         `read-file-name-completion-ignore-case' does not exist.
1954         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1955         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1956         `tramp-open-shell'.
1957         (tramp-action-password): Hide password prompt before next run.
1958         (tramp-process-actions): Widen connection buffer for the trace.
1959         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1960         process property.  Trace stty settings if `tramp-verbose' >= 9.
1961         Apply workaround for IRIX64 bug.  Move argument of last
1962         `tramp-send-command' where it belongs to.
1963         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1964         front of `login-args'.
1965         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1966         on "/dev/null" instead of "/".
1967         (tramp-get-ls-command-with-dired): Make test for "--dired"
1968         stronger.
1969         (tramp-set-auto-save-file-modes): Adapt version check.
1970         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1971         (tramp-handle-process-file): Call the program in a subshell, in
1972         order to preserve working directory.
1973         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1974         `tramp-remote-sh' from `tramp-methods'.
1975         (tramp-get-ls-command): Make test for "--color=never" stronger.
1976         (tramp-check-for-regexp): Use (forward-line 1).
1978         * net/trampver.el: Update release number.
1980 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
1982         * help.el (help-map): Bind `C-h P' to describe-package.
1984         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1986         * emacs-lisp/package.el (package-refresh-contents): Catch errors
1987         when downloading archives.
1988         (describe-package-1): Add package commentary.
1989         (package-install-button-action): New function.
1990         (package-menu-mode-map): Bind ? to package-menu-describe-package.
1991         (package-menu-view-commentary): Function removed.
1992         (package-list-packages-internal): Hide the `package' package too.
1994 2010-08-25  Kenichi Handa  <handa@m17n.org>
1996         * language/misc-lang.el ("Arabic"): New language environment.
1997         Setup composition-function-table for Arabic characters.
1999         * international/fontset.el (setup-default-fontset): Fix typo for
2000         arabic OTF spec (fini->fina).
2002 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
2004         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2005         on all frames.
2007 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2009         * whitespace.el: Allow cleaning up blanks without blank
2010         visualization (Bug#6651).  Adjust help window for
2011         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2012         instead of whitespace-line-column (from EmacsWiki).  New version
2013         13.1.
2014         (whitespace-style): Added new value 'face.  Adjust docstring.
2015         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2016         foreground property face.
2017         (whitespace-line-column): Adjust docstring and type declaration.
2018         (whitespace-style-value-list, whitespace-toggle-option-alist)
2019         (whitespace-help-text): Adjust const initialization.
2020         (whitespace-toggle-options, global-whitespace-toggle-options):
2021         Adjust docstring.
2022         (whitespace-display-window, whitespace-interactive-char)
2023         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2024         (whitespace-help-scroll): New fun.
2026 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2028         * emacs-lisp/package.el (list-packages): Alias for
2029         package-list-packages.
2031 2010-08-24  Kevin Ryde  <user42@zip.com.au>
2033         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2034         (Bug#5651).
2036         * progmodes/ruby-mode.el (ruby): Add defgroup.
2038 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2040         * progmodes/python.el: Add Ipython support (Bug#5390).
2041         (python-shell-prompt-alist)
2042         (python-shell-continuation-prompt-alist): New options.
2043         (python--set-prompt-regexp): New function.
2044         (inferior-python-mode, run-python, python-shell): Require
2045         ansi-color.  Use python--set-prompt-regexp to set the comint
2046         prompt based on the Python interpreter.
2047         (python--prompt-regexp): New var.
2048         (python-check-comint-prompt)
2049         (python-comint-output-filter-function): Use it.
2050         (run-python): Use a pipe (Bug#5694).
2052 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
2054         * progmodes/python.el (python-send-region): Send a different
2055         Python command if Ipython is in use.
2056         (python-check-version): Use a Python command to find the version.
2058 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
2060         * mouse.el (mouse-yank-primary): Avoid setting primary when
2061         deactivating the mark (Bug#6872).
2063 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
2065         * progmodes/python.el (python-block-pairs): Allow use of "finally"
2066         with "else" (Bug#3991).
2068 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
2070         * net/dbus.el: Accept UNIX domain sockets as bus address.
2071         (top): Don't initialize `dbus-registered-objects-table' anymore,
2072         this is done in dbusbind,c.
2073         (dbus-check-event): Adapt test for bus.
2074         (dbus-return-values-table, dbus-unregister-service)
2075         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2076         Adapt doc string.
2078 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
2080         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2082 2010-08-22  Juri Linkov  <juri@jurta.org>
2084         * simple.el (read-extended-command): New function with the logic
2085         for `completing-read' moved to Elisp from `execute-extended-command'.
2086         Use `function-called-at-point' in `minibuffer-default-add-function'
2087         to get a command name for M-n (bug#5364, bug#5214).
2089 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2091         * startup.el (command-line-1): Issue warning for ignored arguments
2092         --unibyte, etc (Bug#6886).
2094 2010-08-22  Leo  <sdl.web@gmail.com>
2096         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2097         (ignore, bright, dim, keyword): Split list of nicknames before
2098         passing to rcirc-add-or-remove (Bug#6894).
2100 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2102         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2104 2010-08-22  Leo  <sdl.web@gmail.com>
2106         Fix buffer-list rename&refresh after killing a buffer in ido.
2107         * ido.el: Revert Óscar's.
2108         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2109         Remember the buffers at head, rather than their name.
2110         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2112 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
2113             Stefan Monnier  <monnier@iro.umontreal.ca>
2115         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2116         extra backslash added to each line (bug#6890).
2118 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2120         * subr.el (read-key): Don't echo keystrokes (bug#6883).
2122 2010-08-22  Glenn Morris  <rgm@gnu.org>
2124         * menu-bar.el (menu-bar-games-menu): Add landmark.
2126 2010-08-22  Glenn Morris  <rgm@gnu.org>
2128         * align.el (align-regexp): Make group and spacing arguments
2129         use the interactive defaults when non-interactive.  (Bug#6698)
2131         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2132         expansion, so as not to need sendmail.
2133         (mail-text-start): Remove declaration.
2134         (rmail-retry-failure): Require sendmail.
2136 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2138         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2140 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
2142         * progmodes/flymake.el (flymake-start-syntax-check-process):
2143         Use `start-file-process' in order to let it run also on remote hosts.
2145 2010-08-22  Kenichi Handa  <handa@m17n.org>
2147         * files.el: Add `word-wrap' as safe local variable.
2149 2010-08-22  Glenn Morris  <rgm@gnu.org>
2151         * woman.el (woman-translate): Case matters.  (Bug#6849)
2153 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
2155         * simple.el (kill-region): Doc fix (Bug#6787).
2157 2010-08-22  Glenn Morris  <rgm@gnu.org>
2159         * calendar/diary-lib.el (diary-header-line-format):
2160         Fit it to the window, not the frame.
2162 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
2164         * subr.el (ignore-errors): Add debug declaration.
2166 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
2168         * whitespace.el (whitespace-color-off): Remove post-command-hook
2169         locally.
2171 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2173         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2175 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2177         * cus-edit.el (custom-group-value-create): Add extra newline
2178         before end line (Bug#6876).
2180 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
2182         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2183         when extending it.  Before killing on the second click, check if
2184         the buffer is the correct one.  Doc fix.
2185         (mouse-secondary-save-then-kill): Allow usage without first
2186         calling mouse-start-secondary, by defaulting to point.  Don't save
2187         an empty secondary selection.  Doc fix.
2189 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2191         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
2192         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2193         New version 13.0.
2194         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2195         Adjust initialization.
2196         (whitespace-bob-marker, whitespace-eob-marker)
2197         (whitespace-buffer-changed): New vars.
2198         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2199         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2200         (whitespace-post-command-hook, whitespace-display-char-on):
2201         Adjust code.
2202         (whitespace-looking-back, whitespace-buffer-changed): New funs.
2203         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2205 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2207         * files.el (locate-file-completion-table): Only list the .el and .elc
2208         extensions if there's no other choice (bug#5955).
2210         * facemenu.el (facemenu-self-insert-data): New var.
2211         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2212         New functions.
2213         (facemenu-add-face): Use them.
2215         * simple.el (blink-matching-open): Obey forward-sexp-function.
2217 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2219         * simple.el (prog-mode-map): New var.
2220         (prog-indent-sexp): New command.
2222         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2224         * progmodes/prolog.el (smie): Require.
2226         * emacs-lisp/smie.el (smie-default-backward-token)
2227         (smie-default-forward-token): Strip properties.
2228         (smie-next-sexp): Be more careful with associative operators.
2229         (smie-forward-sexp-command): Generalize.
2230         (smie-backward-sexp-command): Simplify.
2231         (smie-closer-alist): New var.
2232         (smie-close-block): New command.
2233         (smie-indent-debug-log): New var.
2234         (smie-indent-offset-rule): Add a few more cases.
2235         (smie-indent-column): New function.
2236         (smie-indent-after-keyword): Use it.
2237         (smie-indent-keyword): Use it.
2238         Fix up the opener code's point position.
2239         (smie-indent-comment): Only applies at BOL.
2240         (smie-indent-debug): New command.
2242         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2243         declarations that are useful before running the macro.
2245 2010-08-18  Joakim Verona  <joakim@verona.se>
2247         * image.el (imagemagick-types-inhibit): New variable.
2248         (imagemagick-register-types): New function.
2249         * image-mode.el (image-transform-properties): New function.
2250         (image-transform-set-scale, image-transform-fit-to-height)
2251         (image-transform-set-rotation, image-transform-set-resize)
2252         (image-transform-fit-to-width, image-transform-fit-to-height):
2253         New functions.
2254         (image-toggle-display-image): Support image transforms.
2256 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
2258         * image.el (create-animated-image): Don't add heuristic mask to image
2259         (Bug#6839).
2261 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
2263         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2264         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2266 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2268         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2270         Font-lock '...' strings, plus various simplifications and fixes.
2271         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2272         (octave-font-lock-close-quotes): New function.
2273         (octave-font-lock-syntactic-keywords): New var.
2274         (octave-mode): Use it.  Set beginning-of-defun-function.
2275         (octave-mode-map): Don't override the <foo>-defun commands.
2276         (octave-mode-menu): Pass it directly to easy-menu-define;
2277         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2278         (octave-block-match-alist): Fix up last change so that
2279         octave-close-block uses the more specific keyword.
2280         (info-lookup-mode): Silence byte-compiler.
2281         (octave-beginning-of-defun): Not interactive any more.
2282         Optimize slightly.
2283         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2284         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2285         (octave-completion-at-point-function): Make sure point is within
2286         beg..end.
2287         (octave-reindent-then-newline-and-indent):
2288         Use reindent-then-newline-and-indent.
2289         (octave-add-octave-menu): Remove.
2291 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
2293         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2294         (report-emacs-bug-can-use-xdg-email): New functions.
2295         (report-emacs-bug): Set can-xdg-email to result of
2296         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
2297         \C-cm to report-emacs-bug-insert-to-mailer and add help text
2298         about it.
2300         * net/browse-url.el (browse-url-default-browser): Add cond
2301         for browse-url-xdg-open.
2302         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2304 2010-08-17  Glenn Morris  <rgm@gnu.org>
2306         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2307         (c-fontify-recorded-types-and-refs): Define for compiler.
2308         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2309         before use.
2311         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2312         Fix format call.
2314 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
2316         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2317         properties.
2318         (tramp-handle-process-file): Call the program in a subshell, in
2319         order to preserve working directory.
2320         (tramp-action-password): Hide password prompt before next run.
2321         (tramp-process-actions): Widen connection buffer for the trace.
2323 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2325         * net/rcirc.el (rcirc-log-process-buffers): New option.
2326         (rcirc-print): Use it.
2327         (rcirc-generate-log-filename): New function.
2328         (rcirc-log-filename-function): Change default to
2329         rcirc-generate-log-filename (Bug#6828).
2331 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
2333         * simple.el (deactivate-mark): If select-active-regions is `only',
2334         only set selection for temporarily active regions.
2336         * cus-start.el: Change defcustom for select-active-regions.
2338 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2340         * mouse.el (mouse--drag-set-mark-and-point): New function.
2341         (mouse-drag-track): Use LOCATION arg to push-mark.
2342         Use mouse--drag-set-mark-and-point to take click-count into
2343         consideration when updating point and mark (Bug#6840).
2345 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
2347         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2348         Give the Ruby rule a lower priority than Gnu (Bug#6778).
2350 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
2352         * font-lock.el (lisp-font-lock-keywords-2):
2353         Add combine-after-change-calls, condition-case-no-debug,
2354         with-demoted-errors, and with-silent-modifications (Bug#6025).
2356 2010-08-14  Kevin Ryde  <user42@zip.com.au>
2358         * emacs-lisp/copyright.el (copyright-update-year)
2359         (copyright-update): Temporary switch-to-buffer to ensure the
2360         buffer change being queried is visible (Bug#5394).
2362 2010-08-14  Tom Tromey  <tromey@redhat.com>
2364         * progmodes/etags.el (tags-file-name): Mark safe if stringp
2365         (Bug#6733).
2367 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
2369         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2370         MS-DOS.  (Bug#6689)
2372 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
2374         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2375         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2376         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2377         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2378         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2379         Call menu-bar-set-tool-bar-position.
2381 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2383         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2384         comment style (bug#6834).
2385         * progmodes/scheme.el (scheme-mode-syntax-table):
2386         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2387         "b" flag in "' 14b" syntax.
2389         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2390         for (un)commenting the region and performing completion.
2391         (octave-mode-menu): Use standard commands for help and completion.
2392         (octave-mode-syntax-table): Support %{..%} comments (sort of).
2393         (octave-mode): Use define-derived-mode.
2394         Set completion-at-point-functions and don't set columns.
2395         Don't disable adaptive-fill-regexp.
2396         (octave-describe-major-mode, octave-comment-region)
2397         (octave-uncomment-region, octave-comment-indent)
2398         (octave-indent-for-comment): Remove.
2399         (octave-indent-calculate): Rename from calculate-octave-indent.
2400         (octave-indent-line, octave-fill-paragraph): Update caller.
2401         (octave-initialize-completions): No need to make an alist.
2402         (octave-completion-at-point-function): New function.
2403         (octave-complete-symbol): Use it.
2404         (octave-insert-defun): Use define-skeleton.
2406         * progmodes/octave-mod.el (octave-mode): Set comment-add.
2407         (octave-mode-map): Use comment-dwim (bug#6829).
2409 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
2411         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2412         indentation of inserted comment.
2414 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
2416         * faces.el (region): Add type gtk that uses gtk colors.
2418         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2419         Handle theme-name change.
2421 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
2423         * progmodes/sql.el: Version 2.5
2424         (sql-product-alist): Add :prompt-cont-regexp property for several
2425         database products.
2426         (sql-prompt-cont-regexp): New variable.
2427         (sql-output-newline-count, sql-output-by-send):
2428         New variables.  Record number of newlines in input text.
2429         (sql-send-string): Handle multiple filters and count newlines.
2430         (sql-send-magic-terminator): Count terminator newline.
2431         (sql-interactive-remove-continuation-prompt): Filters output to
2432         remove continuation prompts; one for each newline.
2433         (sql-interactive-mode): Set up new variables, prompt regexp and
2434         output filter.
2435         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2436         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2438 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2440         * emacs-lisp/pcase.el: New file.
2442 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
2444         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2445         as here-document, otherwise the command could exceed maximum
2446         length of command line.
2447         (tramp-handle-vc-registered): Call script accordingly.
2448         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2450 2010-08-10  Kenichi Handa  <handa@m17n.org>
2452         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2453         composable pattern.
2455 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
2457         * emacs-lisp/package.el (package-version-split)
2458         (package--version-first-nonzero, package-version-compare):
2459         Functions removed.
2460         (package-directory-list, package-load-all-descriptors)
2461         (package--built-in, package-activate, define-package)
2462         (package-installed-p, package-compute-transaction)
2463         (package-read-all-archive-contents)
2464         (package--add-to-archive-contents, package-buffer-info)
2465         (package-tar-file-info, package-list-packages-internal):
2466         Use version-to-list and version-list-*.
2468         * emacs-lisp/package-x.el (package-upload-buffer-internal):
2469         Use version-to-list.
2470         (package-upload-buffer-internal): Use version-list-<=.
2472 2010-08-09  Kenichi Handa  <handa@m17n.org>
2474         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2475         composable pattern.
2477 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
2479         * tutorial.el (tutorial--default-keys): C-d is now bound to
2480         delete-forward-char (Bug#6826).
2482         * mouse.el (mouse-drag-track): Remove accidentally-removed check
2483         for `double' value of mouse-1-click-follows-link (Bug#6807).
2485 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
2487         * replace.el (replace-highlight): Bind isearch-forward and
2488         isearch-error, ensuring that highlighting is updated if the user
2489         switches the search direction (Bug#6808).
2491         * isearch.el (isearch-lazy-highlight-forward): New var.
2492         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2493         (isearch-lazy-highlight-update): Use it.
2495 2010-08-08  Kenichi Handa  <handa@m17n.org>
2497         * international/mule.el (define-charset): Store NAME as :base property.
2498         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2499         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2500         current priority.  Force using the designation of the specific
2501         charset by adding `charset' text property.  Improve the whole algorithm.
2503 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2505         * emulation/pc-select.el (pc-selection-mode-hook)
2506         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2507         (pc-selection-mode): Fix typos in docstrings.
2509 2010-08-08  Kenichi Handa  <handa@m17n.org>
2511         * language/cyrillic.el: Don't add "microsoft-cp1251" to
2512         ctext-non-standard-encodings-alist here.
2514         * international/mule.el (ctext-non-standard-encodings-alist):
2515         Add "koi8-r" and "microsoft-cp1251".
2516         (ctext-standard-encodings): New variable.
2517         (ctext-non-standard-encodings-table): List only elements for
2518         non-standard encodings.
2519         (ctext-pre-write-conversion): Adjust for the above change.
2520         Check ctext-standard-encodings.
2522         * international/mule-conf.el (compound-text): Doc fix.
2523         (ctext-no-compositions): Doc fix.
2524         (compound-text-with-extensions): Doc fix.
2526 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2530 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2532         * progmodes/which-func.el (which-func-format): Split help-echo text
2533         into lines, like other mode-line tooltips.
2535         * server.el (server-start): When using TCP sockets, force IPv4
2536         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
2538 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2540         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2542 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2544         * term.el (term-delimiter-argument-list): Reflow docstring.
2545         (term-read-input-ring, term-write-input-ring, term-send-input)
2546         (term-bol, term-erase-in-display, serial-supported-or-barf):
2547         Fix typos in docstrings.
2549 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2551         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2553 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2555         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2557 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
2559         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2560         Fix typo in docstring (bug#6747).
2562 2010-08-08  Leo  <sdl.web@gmail.com>
2564         * eshell/esh-io.el (eshell-get-target): Better detection of
2565         read-only file (Bug#6762).
2567 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
2569         * align.el (align-default-spacing): Doc fix.
2570         (align-region-heuristic, align-regexp): Fix typos in docstrings.
2572 2010-08-08  Stephen Peters  <speters@itasoftware.com>
2574         * calendar/icalendar.el
2575         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
2576         (icalendar--get-weekday-numbers): New.
2577         (icalendar--convert-recurring-to-diary): Handle multiple byday
2578         values in weekly rules.  (Bug#6766)
2580 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
2582         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2583         (icalendar--create-uid, icalendar-export-region)
2584         (icalendar--parse-summary-and-rest): Code formatting.
2586 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2588         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2589         to italicize headers.
2590         (calc-highlight-selections-with-faces): New variable.
2591         (calc-selected-face, calc-nonselected-face): New faces.
2593         * calc/calccomp.el (math-comp-highlight-string): Use
2594         `calc-highlight-selections-with-faces' to determine how to highlight
2595         sub-formulas.
2597         * calc/calc-sel.el (calc-show-selections): Change message to when
2598         using faces to highlight selections.
2600 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
2602         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2603         Add SQLite 3 keywords, functions and datatypes.
2604         (sql-interactive-mode): Remove `comint-process-echoes' set to t
2605         (Bug#6686).
2607 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
2609         * simple.el (select-active-regions): Move to keyboard.c.
2610         (deactivate-mark): Used saved-region-selection.
2611         (select-active-region): Function removed.
2612         (activate-mark, set-mark, push-mark-command)
2613         (handle-shift-selection): Don't call it.
2614         (keyboard-quit): Avoid adding the region to the window selection.
2616         * mouse.el (mouse-drag-track): Remove hacks to deal with old
2617         select-active-regions implementation.
2618         (mouse-yank-at-click): Doc fix.
2620         * cus-start.el: Add custom declaration for select-active-regions.
2622 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
2624         * simple.el (delete-forward-char): Doc fix.
2626         * tutorial.el (help-with-tutorial): Hack safe file-local variables
2627         after reading the tutorial.
2629 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
2631         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2632         for the case that a C style comment has its delimiters alone on
2633         their respective lines.
2635 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
2637         * net/tramp.el (tramp-handle-start-file-process): Set connection
2638         property "vec".
2639         (tramp-process-sentinel): Use it for flushing the cache.  We
2640         cannot do it via the process buffer, the buffer could be deleted
2641         already when running the sentinel.
2643 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
2645         * comint.el (comint-mode): Make directory tracking functions
2646         functional on remote files.  (Bug#6764)
2648 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
2650         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2652 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
2654         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2655         unexec.c => unexcoff.c.
2657         * emacs-lisp/authors.el (authors-fixed-entries): Rename
2658         unexec.c => unexcoff.c.
2660 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
2662         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2663         cache, not only file cache.
2664         (tramp-process-sentinel): New defun.
2665         (tramp-handle-start-file-process): Use it, in order to invalidate
2666         file caches.
2668 2010-08-03  Leo  <sdl.web@gmail.com>
2670         * server.el (server-start): Simplify loop.
2672 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2674         * frame.el (screen-height, screen-width, set-screen-width)
2675         (set-screen-height): Remove ancient compatibility aliases.
2677         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2678         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
2680         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2681         that change current buffer.
2683 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2685         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2686         beginning of the string.  Use `string-match-p'.  (Bug#6765)
2688 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
2690         * cus-start.el (x-gtk-use-system-tooltips): New variable.
2692 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
2694         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2695         (package--builtins): Tweak descriptions.
2696         (package-print-package): Upcase descriptions if necessary.
2697         Show all built-in packages in font-lock-builtin-face.
2698         (package-list-packages-internal): Omit "emacs" package.
2699         Show status of built-in packages as "built-in".
2701 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
2703         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
2704         before killing to preserve the primary selection (Bug#6701).
2706         * term/x-win.el (x-select-text): Doc fix.
2708 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
2710         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2711         The following functions were modified or created:
2713         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2714         (objc-font-lock-extra-types):
2715         * progmodes/cc-mode.el (c-basic-common-init):
2716         * progmodes/cc-langs.el (c-make-mode-syntax-table)
2717         (c++-make-template-syntax-table)
2718         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2719         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2720         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2721         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2722         * progmodes/cc-fonts.el (c-make-inverse-face)
2723         (c-basic-matchers-after):
2724         * progmodes/cc-engine.el (c-forward-keyword-clause)
2725         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2726         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2727         (c-guess-continued-construct, c-guess-basic-syntax):
2729 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
2731         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2733 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
2735         * files.el (bidi-paragraph-direction): Define safe local values.
2737         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2738         language-info-alist.  Remove outdated FIXME in a comment.
2740 2010-07-31  Alan Mackenzie  <acm@muc.de>
2742         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2743         Auto-fill broken in C/C++ modes.
2745 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
2747         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2748         (menu-bar-showhide-tool-bar-menu-customize-disable)
2749         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2750         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2751         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2752         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2753         make a menu for Options => toolbar that can move it.
2755 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
2757         * emacs-lisp/package-x.el (package--make-rss-entry):
2758         (package-maint-add-news-item, package--update-news)
2759         (package-upload-buffer-internal): New arg ARCHIVE-URL.
2761         * emacs-lisp/package.el (package-archive-url): Rename from
2762         package-archive-id.
2763         (package-install): Doc fix.
2764         (package-download-single, package-download-tar, package-install)
2765         (package-menu-view-commentary): Callers changed.
2767 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
2769         * net/tramp.el (tramp-handle-start-file-process): Check only for
2770         `remote-tty' process property.
2771         (tramp-open-shell): Don't check for tty.
2772         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2773         process property.
2775         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2776         host.
2778 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
2780         * emacs-lisp/package.el (package-load-list, package-archives)
2781         (package-archive-contents, package-user-dir)
2782         (package-directory-list, package--builtins, package-alist)
2783         (package-activated-list, package-obsolete-alist): Mark as risky.
2785 2010-07-28  Phil Hagelberg  <phil@evri.com>
2787         Add support for non-default package repositories.
2788         * emacs-lisp/package.el (package-archive-base): Var deleted.
2789         (package-archives): New variable.
2790         (package-archive-contents): Doc fix.
2791         (package-load-descriptor): Do nothing if descriptor file is missing.
2792         (package--write-file-no-coding): New function.
2793         (package-unpack-single): Use it.
2794         (package-archive-id): New function.
2795         (package-download-single, package-download-tar)
2796         (package-menu-view-commentary): Use it.
2797         (package-installed-p): Make second argument optional.
2798         (package-read-all-archive-contents): New function.
2799         (package-initialize): Use it.
2800         (package-read-archive-contents): Add ARCHIVE argument.
2801         (package--add-to-archive-contents): New function.
2802         (package-install): Don't call package-read-archive-contents.
2803         (package--download-one-archive): Store archive file in a
2804         subdirectory of package-user-dir.
2805         (package-menu-execute): Remove spurious line movement.
2807 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
2809         * cus-start.el (tool-bar-style): Add text-image-horiz.
2811 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2813         * progmodes/gud.el (gud-common-init): Check for remoteness of
2814         `file', and not of `default-directory'.
2816 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
2818         * net/tramp.el (tramp-methods): Move hostname to the end in all
2819         ssh `tramp-login-args'.
2820         (tramp-verbose): Describe verbose level 9.
2821         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2822         (tramp-open-connection-setup-interactive-shell): Trace stty
2823         settings if `tramp-verbose' >= 9.
2824         (tramp-handle-start-file-process): Implement tty setting.
2825         (Bug#4604, Bug#6360)
2827         * net/tramp-cmds.el (tramp-bug): Recommend setting of
2828         `tramp-verbose' to 9.
2830 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
2832         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2833         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2834         Remove references to package `lisp-re' (bug#4369).
2836 2010-07-27  Tom Tromey  <tromey@redhat.com>
2838         * progmodes/js.el (js-mode):
2839         * progmodes/make-mode.el (makefile-mode):
2840         * progmodes/simula.el (simula-mode):
2841         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2843 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
2845         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2847         * time.el (display-time-day-and-date): Remove spurious * in docstring.
2848         (display-time-world-buffer-name, display-time-world-mode-map):
2849         Fix typos in docstrings.
2851 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
2853         * image-mode.el (image-display-size): New function.
2854         (image-forward-hscroll, image-next-line, image-eol, image-eob)
2855         (image-mode-fit-frame): Use it (Bug#6639).
2857 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
2859         * dired.el (dired-buffers-for-dir): Handle list values of
2860         dired-directory (Bug#6636).
2862 2010-07-26  Sam Steingold  <sds@gnu.org>
2864         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2865         Do not call `x-get-selection' the second time, reuse the value.
2867 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
2869         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2870         which consist of control chars only.  Suggested by Richard Stallman.
2872 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
2874         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2875         exists before passing an error to find-file-not-found-functions
2876         (bug#6723).
2878 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
2880         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2881         Remove leading nil element, adjust values.
2882         (tetris-shapes, tetris-shape-scores):
2883         Change representation of shapes and remove some redundancy.
2884         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2885         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2886         Adjust for working with new representation of shapes.
2887         (tetris-shape-rotations): New function.
2888         (tetris-move-bottom, tetris-move-left, tetris-move-right)
2889         (tetris-rotate-prev, tetris-rotate-next):
2890         Adjust for working with the new version of tetris-test-shape.
2892 2010-07-23  Markus Triska  <markus.triska@gmx.at>
2894         * progmodes/ps-mode.el: Use comint (bug#5954).
2895         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2896         (ps-mode-other-newline): Simplify.
2897         (ps-run-mode): Derive from comint-mode instead of
2898         fundamental-mode, yielding input history etc.
2899         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2900         (ps-run-send-string): Adapt for comint-mode.
2901         (ps-run-newline): Remove now unneeded function.
2903 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2905         * net/tramp.el (tramp-methods): Move hostname to the end in all
2906         plink `tramp-login-args'.
2908 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2910         * net/tramp.el (tramp-open-shell): New defun.
2911         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2912         Use it.
2914 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
2916         * net/tramp.el (tramp-file-name-regexp-unified)
2917         (tramp-completion-file-name-regexp-unified): On W32 systems, do
2918         not regard the volume letter as remote filename.  (Bug#5447)
2920 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
2922         * custom.el (custom-declare-variable): Give a clearer error message
2923         when the docstring is missing (bug#6476).
2925 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
2927         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
2928         (sql-login-params): New widget definition.
2929         (sql-oracle-login-params, sql-mysql-login-params)
2930         (sql-solid-login-params, sql-sybase-login-params)
2931         (sql-informix-login-params, sql-ingres-login-params)
2932         (sql-ms-login-params, sql-postgres-login-params)
2933         (sql-interbase-login-params, sql-db2-login-params)
2934         (sql-linter-login-params): Use it.
2935         (sql-sqlite-login-params): Use it; Define "database" parameter as
2936         a file name.
2937         (sql-sqlite-program): Change to "sqlite3".
2938         (sql-comint-sqlite): Make sure database name is complete.
2939         (sql-for-each-login): New function.
2940         (sql-connect, sql-save-connection): Use it.
2941         (sql-get-login-ext): New function.
2942         (sql-get-login): Use it.
2943         (sql-make-alternate-buffer-name): Handle :file parameters.
2945 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
2947         * dired.el (dired-no-confirm): Document value t and fix defcustom to
2948         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
2950 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
2952         * dired.el (dired-mode-map): Use command remapping (bug#6632).
2954 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
2956         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2958 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
2960         * net/tramp.el (tramp-get-ls-command)
2961         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2962         instead of "/".
2964 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
2966         * progmodes/sql.el: Version 2.3.
2967         (sql-connection-alist): Changed keys from symbols to strings;
2968         enhanced the widget definition.
2969         (sql-mode-menu): Added submenu to select connections.
2970         (sql-interactive-mode-menu): Added "Save Connection" item.
2971         (sql-add-product): Fixed menu item.
2972         (sql-get-product-feature): Improved error handling.
2973         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2974         (sql-make-alternate-buffer-name): Simplified.
2975         (sql-product-interactive): Handle missing product.
2976         (sql-connect): Support string keys, minor improvements.
2977         (sql-save-connection): New function.
2978         (sql-connection-menu-filter): New function.
2980 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2982         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2983         (tramp-open-connection-setup-interactive-shell): Apply
2984         workaround for IRIX64 bug.  Move argument of last
2985         `tramp-send-command' where it belongs to.
2987 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
2989         * net/tramp.el (tramp-perl-file-attributes)
2990         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2991         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2992         front of `login-args'.
2994 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
2996         * time.el (display-time-world-mode): Define with `define-derived-mode'.
2997         Set `show-trailing-whitespace' to nil.
2998         (display-time-world-display): Simplify.
3000 2010-07-18  Alan Mackenzie  <acm@muc.de>
3002         Enhance `c-file-style' in file/directory local variables.
3003         * progmodes/cc-mode.el (c-count-cfss): New function.
3004         (c-before-hack-hook): Call `c-set-style' differently according to
3005         whether c-file-style was set in file or directory local
3006         variables.
3008 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
3010         * progmodes/sql.el: Version 2.2.
3011         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3012         defcustom :safe keyword rather than putting safe-local-variable
3013         property.
3014         (sql-password): Use defcustom :risky keyword rather than putting
3015         risky-local-variable property.
3016         (sql-oracle-login-params, sql-sqlite-login-params)
3017         (sql-solid-login-params, sql-sybase-login-params)
3018         (sql-informix-login-params, sql-ingres-login-params)
3019         (sql-ms-login-params, sql-postgres-login-params)
3020         (sql-interbase-login-params, sql-db2-login-params)
3021         (sql-linter-login-params): Add `port' option.
3022         (sql-get-product-feature): Added NO-INDIRECT parameter.
3023         (sql-comint-oracle, sql-comint-sybase)
3024         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3025         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3026         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3027         (sql-comint-linter): Renamed sql-connect-* functions to
3028         sql-comint-*.
3029         (sql-product-alist, sql-mode-menu): Renamed as above and
3030         :sqli-connect-func to :sqli-comint-func.
3031         (sql-connection): New variable.
3032         (sql-interactive-mode): Set it.
3033         (sql-connection-alist): New variable.
3034         (sql-connect): New function.
3035         (sql--alt-buffer-part, sql--alt-if-not-empty)
3036         (sql-make-alternate-buffer-name): Improved alternative buffer name.
3038 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3040         * image-mode.el (image-bookmark-make-record): Do not set context
3041         in an image (Bug#6650).
3043 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3045         * simple.el (select-active-region): New function.
3046         (push-mark-command, set-mark, activate-mark)
3047         (handle-shift-selection): Use it.
3048         (deactivate-mark): Don't check for size of region.
3050         * mouse.el (mouse-drag-track): Use select-active-region.
3052 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
3054         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3055         "--dired" stronger.
3057 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
3059         * term/x-win.el (x-select-enable-primary): Change default to nil.
3060         (x-select-enable-clipboard): Add :version keyword.
3062         * mouse.el (mouse-drag-copy-region):
3063         * simple.el (select-active-regions): Likewise.
3065 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
3067         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3068         (vc-coding-system-for-diff): Use it to decide whether to inherit
3069         from the file the EOL format for reading the diffs of that file.
3070         (Bug#4451)
3072 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
3074         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3075         unibyte, so compressed attachments are not compressed again.
3077 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
3079         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3080         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3081         (tramp-find-shell): Simplify setting connection property.
3082         (tramp-get-ls-command): Make test for "--color=never" stronger.
3084 2010-07-15  Simon South  <ssouth@member.fsf.org>
3086         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3087         blocks within record declarations (i.e. variant parts) correctly.
3089 2010-07-15  Simon South  <ssouth@member.fsf.org>
3091         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3092         over literal tokens when parsing so newlines aren't "absorbed" by
3093         single-line comments.  Corrects the indentation of case blocks
3094         that have a comment on the first line.
3096 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
3098         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3099         by Drew Adams (Bug#5504).
3101 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3103         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3104         now that Unicode is used (Bug#6594).
3106 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
3108         * term/x-win.el (x-select-enable-clipboard): Default to t.
3109         (x-initialize-window-system): Don't overwrite Paste menu item.
3111         * simple.el (select-active-regions): Default to t.
3112         (push-mark-command): Don't overwrite primary with empty string.
3114         * mouse.el: Bind mouse-2 to mouse-yank-primary.
3115         (mouse-drag-copy-region): Default to nil.
3117         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3118         Cut/Copy/Paste menu bar items.
3120 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3122         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3123         Patch applied by Karl Fogel.
3125         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3126         and `bookmark-current-buffer' if they have been already set in
3127         another buffer (e.g gnus-art).
3129 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3130             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3132         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3134         * bookmark.el (bookmark-make-record-default): Allow unneeded
3135         information to be omitted from the record.
3137         Adjust declarations and calls:
3139         * info.el (bookmark-make-record-default): Adjust declaration.
3140         (Info-bookmark-make-record): Adjust call.
3142         * woman.el (bookmark-make-record-default): Adjust declaration.
3143         (woman-bookmark-make-record): Adjust call.
3145         * man.el (bookmark-make-record-default): Adjust declaration.
3146         (Man-bookmark-make-record): Adjust call.
3148         * image-mode.el (bookmark-make-record-default): Adjust declaration.
3150         * doc-view.el (bookmark-make-record-default): Adjust declaration.
3152 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
3154         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3155         This is also from Thierry Volpiatto's patch in bug #6444.  However,
3156         because it was extraneous to the functional change in that patch,
3157         and causes a re-indendation, I am committing it separately.
3159 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3161         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3162         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3163         Patch applied by Karl Fogel (Bug#6444).
3165 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
3167         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3169 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
3171         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3172         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
3173         (ns-alternatives-map): Change S-tab binding to backtab
3174         (bug#6616).
3176         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3177         under ns.
3179 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
3181         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3182         (Bug#5806)
3184         * language/tv-util.el (tai-viet-re): Remove format.
3186 2010-07-12  Kenichi Handa  <handa@m17n.org>
3188         * language/hebrew.el: Remove no-byte-compile declaration.
3189         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
3190         composition-function-table for 3-character looking back.
3191         (hebrew-font-get-precomposed): New function.
3192         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3194 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
3196         * mouse.el (mouse-drag-track): Handle select-active-regions
3197         (Bug#6612).
3199 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
3201         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3202         empty argument to gvfs-copy.
3204 2010-07-10  Glenn Morris  <rgm@gnu.org>
3206         * calendar/calendar.el (calendar-week-end-day): New function.
3207         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3208         Respect calendar-week-start-day.  (Bug#6606)
3209         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3210         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3211         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3212         respect calendar-week-start-day.
3214 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
3216         * simple.el (use-region-p): Doc fix (Bug#6607).
3218 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
3220         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3221         regexps for cucumber and ruby.
3223 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
3225         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3226         (epa-file-insert-file-contents): Hack to prevent
3227         find-file from opening empty buffer when decryption failed
3228         (bug#6568).
3230 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
3232         * textmodes/ispell.el (ispell-alternate-dictionary):
3233         Use file-readable-p.
3234         Return nil if no word-list is found at default locations.
3235         (ispell-complete-word-dict): Default to nil.
3236         (ispell-command-loop): Use 'word-list' when using lookup-words.
3237         (lookup-words): Use ispell-complete-word-dict or
3238         ispell-alternate-dictionary.  Check for word-list availability
3239         and handle errors if needed with better messages (Bug#6539).
3240         (ispell-complete-word): Use ispell-complete-word-dict or
3241         ispell-alternate-dictionary.
3243 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
3245         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3246         builtins (BufferError, BytesWarning, WindowsError; callables
3247         bin, bytearray, bytes, format, memoryview, next, print; __package__).
3249 2010-07-07  Glenn Morris  <rgm@gnu.org>
3251         * play/zone.el (top-level): Do not require timer, tabify, or cl.
3252         (zone-shift-left): Ignore intangibility, and any errors from
3253         forward-char.
3254         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
3255         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3256         deleting, and copying text properties.
3257         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3258         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3259         to point-max is hard.
3260         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3261         (zone-fill-out-screen): Ignore intangibility.
3263 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
3265         * menu-bar.el (menu-bar-mode):
3266         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3267         if it has been set.
3269         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3270         word/line selection (Bug#6565).
3272 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
3274         * net/dbus.el (dbus-send-signal): Declare function.
3276 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
3278         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3279         (dbus-register-property): New optional argument EMITS-SIGNAL.
3280         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3282 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
3284         * mouse.el (mouse-drag-overlay): Variable deleted.
3285         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3286         (mouse--remap-link-click-p): New function.
3287         (mouse-drag-track): Handle dragging by using temporary Transient
3288         Mark mode, instead of a special overlay.
3289         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3290         mouse-show-mark.
3292         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3293         deleted.
3295 2010-07-02  Juri Linkov  <juri@jurta.org>
3297         * autoinsert.el (auto-insert-alist): Fix readability
3298         by using dotted pair notation for lambda.
3300 2010-07-02  Juri Linkov  <juri@jurta.org>
3302         * faces.el (read-face-name): Rename arg `string-describing-default'
3303         to `default'.  Doc fix.  Display the default value in quotes
3304         in the prompt.  With empty input, return the `default' arg,
3305         unless the default value is a string (in which case return nil).
3306         (describe-face): Replace the string `default' arg of `read-face-name'
3307         with the symbol `default'.
3309 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
3311         * emulation/viper-cmd.el (viper-delete-backward-char)
3312         (viper-del-backward-char-in-insert)
3313         (viper-del-backward-char-in-replace, viper-change)
3314         (viper-backward-indent): Replace delete-backward-char with
3315         delete-char (Bug#6552).
3317 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
3319         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3321 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3323         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3324         argument passed to frame-creation-function (Bug#5378).
3326         * faces.el (x-handle-named-frame-geometry)
3327         (x-handle-reverse-video, x-create-frame-with-faces)
3328         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3329         separately consult default-frame-alist.  It is now passed as the
3330         PARAMETER argument.
3332 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
3334         * startup.el (command-line): Don't call tool-bar-setup in a
3335         tty-only build.
3337 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3339         * ruler-mode.el (ruler--save-header-line-format): New fun.
3340         (ruler-mode): Use it as a setter function, so as not to overwrite
3341         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3343 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
3345         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
3346         (vc-root-diff, vc-print-root-log, vc-log-incoming)
3347         (vc-log-outgoing): Use it.
3348         (vc-diff-internal): Set diff-vc-backend.
3350         * vc/diff-mode.el (diff-vc-backend): New var.
3352 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
3354         * dynamic-setting.el (font-setting-change-default-font): Remove
3355         call to message.
3357 2010-06-28  Kenichi Handa  <handa@m17n.org>
3359         * international/quail.el (quail-insert-kbd-layout): Fix the
3360         showing of untranslated characters.
3362 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
3364         * simple.el (delete-active-region): New option.
3365         (delete-backward-char): Implement in Lisp.
3366         (delete-forward-char): New command.
3368         * mouse.el (mouse-region-delete-keys): Deleted.
3369         (mouse-show-mark): Simplify.
3371         * bindings.el (global-map): Bind delete and DEL, the former to
3372         delete-forward-char.
3374 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
3376         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3377         (ruby-mode): Bind indent-line-function (Bug#5119).
3379 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3381         * startup.el (command-line): Recognize "0" X resource value.
3383 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
3385         * startup.el (command-line): Use X resources to set the value of
3386         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3388         * menu-bar.el (menu-bar-mode):
3389         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3390         Set init-value to t.
3392         * frame.el (frame-notice-user-settings): Don't change
3393         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3394         vice versa (Bug#2249).
3396 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
3398         * w32-fns.el (w32-convert-standard-filename): Doc fix.
3400 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3402         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3403         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3405         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3406         default directories are expanded (Bug#6143).
3408 2010-06-24  Juri Linkov  <juri@jurta.org>
3410         * minibuffer.el (completions-format): Change default from nil to
3411         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
3413 2010-06-24  Juri Linkov  <juri@jurta.org>
3415         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3416         buffer-locally to lambda that re-runs the vc diff command.
3417         (Bug#6447)
3419 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
3421         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3422         echo area is in use (Bug#3412).
3424 2010-06-22  Glenn Morris  <rgm@gnu.org>
3426         * textmodes/texinfmt.el (texinfo-format-region)
3427         (texinfo-raise-lower-sections, texinfo-format-separate-node)
3428         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3429         (texinfo-format-option, texinfo-noindent):
3430         Use line-beginning-position and line-end-position.
3432         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3433         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3434         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3435         utf-8 characters.
3437 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
3439         * play/zone.el (zone-fall-through-ws): Fix next-line ->
3440         forward-line fallout.
3442 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
3444         * mouse.el (mouse-appearance-menu): Add docstring.
3446         * help.el (describe-key): Print up-event using key-description.
3448 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
3450         * net/zeroconf.el (zeroconf-resolve-service)
3451         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3452         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3454 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
3456         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3458 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
3460         Avoid displaying files with a nil state in vc-dir.
3461         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3462         cases that cause insertion.
3463         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3464         with a nil state.
3466 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
3468         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3470 2010-06-29  Leo  <sdl.web@gmail.com>
3472         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
3474 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
3476         * generic-x.el (bat-generic-mode): Fix regexp for command line
3477         switches (Bug#5719).
3479 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
3481         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3482         of nconc to avoid pure storage error (Bug#6239).
3484 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
3486         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3487         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3488         bindings of bookmark-automatically-show-annotations (Bug#6515).
3490 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
3492         * arc-mode.el (archive-zip-extract): Don't quote the file name on
3493         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
3495 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
3497         * comint.el (make-comint, make-comint-in-buffer): Mention return
3498         value in the docstrings.  (Bug#6498)
3500 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
3502         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3503         since it is not present when using some non-default switches.
3505 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
3507         * simple.el (compose-mail): Fix doc string to refer to
3508         `compose-mail-user-agent-warnings', instead of to the
3509         nonexistent `compose-mail-check-user-agent'.
3511 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
3513         Fix an indentation bug:
3515         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3516         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3517         of existing values.
3519         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3520         (c-clear->-pair-props-if-match-before): now return t when they've
3521         cleared properties, nil otherwise.
3522         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3523         by taking account of the existing value.
3525         * progmodes/cc-defs.el
3526         (c-clear-char-property-with-value-function): Fix this to clear the
3527         property rather than overwriting it with nil.
3529 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
3531         * emacs-lisp/package.el (package-print-package): Add link to
3532         package description via describe-package.
3533         (describe-package-1): List package requirements.  Add button to
3534         perform installation.
3535         (package-menu-describe-package): New command.
3537         * help-mode.el (help-package): New button type.
3539 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
3541         * emacs-lisp/package.el: Move package-list-packages binding to
3542         menu-bar.el.
3543         (describe-package, describe-package-1, package--dir): New funs.
3544         (package-activate-1): Use package--dir.
3546         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3548         * help-mode.el (help-package-def): New button type.
3550         * menu-bar.el: Move package-list-packages binding here from
3551         package.el.
3553 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
3555         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
3557 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3559         * emacs-lisp/edebug.el (edebug-read-list):
3560         Phase out old-style backquotes.
3562 2010-06-17  Juri Linkov  <juri@jurta.org>
3564         * help-mode.el (help-mode): Set buffer-local variable
3565         revert-buffer-function to help-mode-revert-buffer.
3566         (help-mode-revert-buffer): New function.
3568         * info.el (Info-revert-find-node): Check for major-mode Info-mode
3569         before popping to "*info*" (like in other Info functions).
3570         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
3571         old-history-forward.  Pop to old-buffer-name or "*info*" to
3572         recreate the killed buffer.  Set Info-history-forward from
3573         old-history-forward.
3574         (Info-breadcrumbs-depth): Add :group and :version.
3576 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
3578         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3580 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
3582         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3583         for languages like Portuguese with pt_{BR,PT} and no plain pt.
3585 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
3587         * emacs-lisp/package.el (package-menu-mode-map):
3588         Move initialization into declaration.
3590         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3592 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
3594         * emacs-lisp/package.el (package-archive-base): Point to
3595         elpa.gnu.org.
3596         (package-enable, package-load-list): New defcustoms.
3597         (package-user-dir, package-directory-list): Turn into defcustoms.
3598         Don't include package-user-dir in package-directory-list.
3599         (package--builtins-base): Don't include Emacs as a "package".
3600         (package-subdirectory-regexp): New var.
3601         (package-load-all-descriptors, package-compute-transaction)
3602         (package-download-transaction): Obey package-load-list.
3603         (package-activate-1): Rename from package-do-activate.
3604         (package-list-packages-internal): Check package-load-list.
3605         (package-load-descriptor, package-generate-autoloads)
3606         (package-unpack, package-unpack-single)
3607         (package--read-archive-file, package-delete): Use
3608         expand-file-name.
3610         * emacs-lisp/package-x.el: New file.  Package uploading
3611         functionality split out from package.el.
3613         * startup.el (command-line): Load packages after reading init file.
3615 2010-06-17  Tom Tromey  <tromey@redhat.com>
3617         * emacs-lisp/package.el: New file.
3619 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3621         Fix vc-annotate for renamed files when using Git.
3622         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3623         ls-files.  Doe not pass the object as a file name to cat-file, it
3624         is not a file name.
3625         (vc-git-annotate-command): Pass the file name using -- to avoid
3626         ambiguity with the revision.
3627         (vc-git-previous-revision): Pass a relative file name.
3629 2010-06-22  Glenn Morris  <rgm@gnu.org>
3631         * progmodes/js.el (js-mode-map): Use standard capitalization and
3632         ellipses for menu entries.
3634         * wid-edit.el (widget-complete): Doc fix.
3636 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
3638         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3640 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
3642         Fix annotating other revisions for renamed files in vc-annotate.
3643         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3644         VC backend.  Use it when non-nil.
3645         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3646         (Bug#6487)
3648         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3649         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3650         Do not pass the file name to the 'previous-revision call when we
3651         don't want a file diff.  (Bug#6489)
3653 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3655         Fix finding revisions for renamed files in vc-annotate.
3656         * vc/vc.el (vc-find-revision): Add an optional argument for
3657         the VC backend.  Use it when non-nil.
3658         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3659         backend to vc-find-revision.  (Bug#6487)
3661 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
3663         Fix reading file names in Git annotate buffers.
3664         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3665         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
3667 2010-06-20  Alan Mackenzie  <acm@muc.de>
3669         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3670         in file local variables, set it first.
3672 2010-06-19  Glenn Morris  <rgm@gnu.org>
3674         * descr-text.el (describe-char-unicode-data): Insert separating
3675         space when needed.  (Bug#6422)
3677         * progmodes/idlwave.el (idlwave-action-and-binding):
3678         Fix typo in 2009-12-03 change.  (Bug#6450)
3680 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3682         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3683         handling for `lambda' (misunderstanding).
3685 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
3687         * calc/calc-poly.el (math-accum-factors): Make sure that
3688         constants aren't distributed after they are factored out.
3690 2010-06-16  Juri Linkov  <juri@jurta.org>
3692         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3693         `list-colors-print'.  (Bug#6332)
3695         * subr.el (read-quoted-char): Fix up last change (bug#6290).
3697 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3699         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3700         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
3702         * font-lock.el (font-lock-major-mode): Rename from
3703         font-lock-mode-major-mode to distinguish it from
3704         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3705         (font-lock-set-defaults):
3706         * font-core.el (font-lock-default-function): Adjust users.
3707         (font-lock-mode): Don't set it at all.
3709 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3711         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
3713 2010-06-16  Glenn Morris  <rgm@gnu.org>
3715         * calendar/appt.el (appt-time-msg-list): Doc fix.
3716         (appt-check): Let-bind appt-warn-time.
3717         (appt-add): Make the 3rd argument optional.
3718         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
3719         Only add WARNTIME to the output list if non-nil.
3721 2010-06-16  Ivan Kanis  <apple@kanis.eu>
3723         * calendar/appt.el (appt-check): Let the 3rd element of
3724         appt-time-msg-list specify the warning time.
3725         (appt-add): Add new argument with the warning time.  (Bug#5176)
3727 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3729         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3730         older than version 1.6.  (Bug#6361)
3732 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
3734         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3735         used by cl-do-arglist.  (Bug#6408)
3737 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
3739         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3740         portuguese casechars/not-casechars for missing 'çÇ'.
3741         Suggested by Rolando Pereira (bug#6434).
3743 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
3745         * facemenu.el (list-colors-sort): Doc fix.
3747 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
3749         * progmodes/sql.el (sql-connect-mysql): Fix typo.
3751 2010-06-14  Juri Linkov  <juri@jurta.org>
3753         Add sort option `list-colors-sort'.  (Bug#6332)
3754         * facemenu.el (color-rgb-to-hsv): New function.
3755         (list-colors-sort): New defcustom.
3756         (list-colors-sort-key): New function.
3757         (list-colors-display): Doc fix.  Sort list according to the option
3758         `list-colors-sort'.
3759         (list-colors-print): Add HSV values to `help-echo' property of
3760         RGB strings.
3762 2010-06-14  Juri Linkov  <juri@jurta.org>
3764         * compare-w.el: Move to the "vc" subdirectory.
3766 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3768         * image-mode.el (image-mode-map): Remap left-char and right-char.
3770         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3772 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
3774         * term/common-win.el (x-colors): Add all the color names defined
3775         in rgb.txt (Bug#6332).
3777         * facemenu.el (list-colors-print): Don't print extra names if it
3778         will overflow the window width.
3780         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3781         change (Bug#6343).
3783 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
3785         * files.el (make-directory): Doc fix (bug#6396).
3787 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
3789         * net/tramp.el (tramp-remote-process-environment): Protect version
3790         string by apostroph.
3791         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3792         XEmacs.
3793         (tramp-file-name-for-operation): Add `call-process-region'.
3794         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3796         * net/tramp-compat.el (top): Do not autoload
3797         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3798         only when `start-file-process' is not bound.
3799         (tramp-advice-file-expand-wildcards): Do not use
3800         `tramp-handle-file-remote-p'.
3801         (tramp-compat-make-temp-file): Handle the case, that
3802         `make-temp-file' has no third argument EXTENSION.
3804 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
3806         * makefile.w32-in (WINS_BASIC): Include new directory vc.
3808         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3810 2010-06-11  Juri Linkov  <juri@jurta.org>
3812         * finder.el (finder-known-keywords): Add keyword "vc"
3813         for version control.
3815         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3816         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3817         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3818         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3820 2010-06-11  Juri Linkov  <juri@jurta.org>
3822         Move version control related files to the "vc" subdirectory.
3823         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3824         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3825         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3826         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3827         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3828         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3829         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3830         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3831         Move files to the "vc" subdirectory.
3833 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
3835         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3836         (Bug#6367).
3838 2010-06-11  Stephen Eglen  <stephen@gnu.org>
3840         * shell.el: Bind `shell-resync-dirs' to M-RET.
3842 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
3844         * notifications.el: Move file from lisp/net, because it is
3845         supposed to talk locally to the user.
3847 2010-06-10  Julien Danjou  <julien@danjou.info>
3849         * net/notifications.el (notifications-on-action-signal)
3850         (notifications-on-closed-signal): Pass notification id as first
3851         argument to the callback functions.  Add docstrings.
3852         (notifications-notify): Fix docstring.
3854 2010-06-10  Glenn Morris  <rgm@gnu.org>
3856         * emacs-lisp/authors.el (authors-ignored-files)
3857         (authors-valid-file-names): Add some files.
3859 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3861         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3862         merge conflict, giving preference to the emacs-23 version of the code.
3864 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3866         * emacs-lisp/advice.el (ad-compile-function):
3867         Define warning-suppress-types before we let-bind it (bug#6275).
3869         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3870         declare it, make it buffer-local and permanent-local (bug#6324).
3871         (vc-resynch-window): Adjust name.
3872         * vc-hooks.el (vc-find-file-hook): Adjust name.
3874 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
3876         * net/notifications.el (notifications-notify): Fix docstring.
3878 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3880         Update to Unicode 6.0.0 beta.
3881         * international/charprop.el: Update copyright.
3882         * international/mule-cmds.el (ucs-names): Update character ranges.
3883         * international/uni-bidi.el:
3884         * international/uni-category.el:
3885         * international/uni-combining.el:
3886         * international/uni-comment.el:
3887         * international/uni-decimal.el:
3888         * international/uni-decomposition.el:
3889         * international/uni-digit.el:
3890         * international/uni-lowercase.el:
3891         * international/uni-mirrored.el:
3892         * international/uni-name.el:
3893         * international/uni-numeric.el:
3894         * international/uni-old-name.el:
3895         * international/uni-titlecase.el:
3896         * international/uni-uppercase.el: Regenerate.
3898 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
3900         * emacs-lisp/smie.el (comment-string-strip): Declare function.
3901         (smie-precs-precedence-table): Fix typo in docstring.
3903         * vc-mtn.el (log-edit-extract-headers): Declare function.
3905         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3907         * net/notifications.el (dbus-register-signal): Declare function.
3908         (notifications-notify): Fix typos and reflow docstring.
3910 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3912         Improve VC create/retrieve tag/branch.
3913         * vc.el (vc-create-tag): Do not read the directory name for VCs
3914         with repository revision granularity.  Adjust the tag/branch
3915         prompt.  Reset VC properties.
3916         (vc-retrieve-tag): Do not read the directory name for VCs
3917         with repository revision granularity.  Reset VC properties.
3919 2010-06-09  Julien Danjou  <julien@danjou.info>
3921         * net/notifications.el: New file.
3923 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
3925         Add optional support for resetting VC properties.
3926         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3927         call vc-file-clearprops when true.
3928         (vc-resynch-buffer): Add new optional argument, pass it down.
3929         (vc-resynch-buffers-in-directory): Likewise.
3931         Improve support for special markup in the VC commit message.
3932         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3933         * vc-hg.el (vc-hg-checkin): Add support for Date:.
3934         * vc-git.el (vc-git-checkin):
3935         * vc-bzr.el (vc-bzr-checkin): Likewise.
3937 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3939         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3940         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3942 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
3944         * iimage.el: Remove images as soon as the underlying text is modified.
3945         (iimage-modification-hook): New function.
3946         (iimage-mode-buffer): Use it.
3948 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3950         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3951         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
3952         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
3953         (smie-indent-keyword): Add handling of open-paren keywords.
3954         (smie-indent-comment-continue): Don't assume comment-continue.
3956 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
3958         * window.el (pop-to-buffer): Remove the conditional that
3959         compares new-window and old-window, so it will reselect
3960         the selected window unconditionally.
3961         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3963 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3965         * emacs-lisp/smie.el (smie-indent-offset-after)
3966         (smie-indent-forward-token, smie-indent-backward-token): New functions.
3967         (smie-indent-after-keyword): Use them.
3968         (smie-indent-fixindent): Only applies to the indentation of the BOL.
3969         (smie-indent-keyword): Tweak the black magic.
3970         (smie-indent-comment-continue): Strip comment-continue before use.
3971         (smie-indent-functions): Indent comments before keywords.
3973 2010-06-06  Juri Linkov  <juri@jurta.org>
3975         * isearch.el (isearch-lazy-highlight-search): Fix looping
3976         by checking for empty match.  This syncs this loop with the
3977         similar loop in `isearch-search'.  (Bug#6362)
3979 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
3981         * net/dbus.el (dbus-register-method): Declare function.
3982         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3983         (dbus-introspect): Doc fix.
3984         (dbus-event-bus-name, dbus-introspect-get-interface)
3985         (dbus-introspect-get-argument): Reflow docstrings.
3987 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
3989         vc-log-incoming/vc-log-outgoing fixes for Git.
3990         * vc-git.el (vc-git-log-view-mode): Fix font lock for
3991         incoming/outgoing logs.
3992         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3993         instead of vc-git-compute-remote.
3994         (vc-git-compute-remote): Remove.
3996 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
3998         * term/common-win.el (x-colors): Add "dark green" and "dark
3999         turquoise" (Bug#6332).
4001 2010-06-04  Juri Linkov  <juri@jurta.org>
4003         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4004         Instead of setting `replace' to t and replacing the same string
4005         with itself, don't do certain actions when
4006         kill-do-not-save-duplicates is non-nil and string is equal to car
4007         of kill-ring: don't call menu-bar-update-yank-menu, don't push
4008         interprogram-paste strings to kill-ring, and don't push the input
4009         argument `string' to kill-ring.
4010         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4012 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4014         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4016 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
4018         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4019         (tramp-gvfs-handler-mounted-unmounted)
4020         (tramp-gvfs-connection-mounted-p): Handle default-location.
4022         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4023         move files to trash.
4025 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
4027         * international/mule-cmds.el (nonascii-insert-offset)
4028         (nonascii-translation-table): Add obsolescence information.
4030         * international/mule.el (make-translation-table-from-vector): Doc fix.
4032 2010-06-03  Glenn Morris  <rgm@gnu.org>
4034         * desktop.el (desktop-clear-preserve-buffers):
4035         Add "*Warnings*" buffer.  (Bug#6336)
4037 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
4039         vc-log-incoming/vc-log-outgoing improvements for Git.
4040         * vc-git.el (vc-git-log-outgoing): Use the same format as the
4041         short log.
4042         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
4044         Add bindings for vc-log-incoming and vc-log-outgoing.
4045         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4046         and vc-log-outgoing.
4047         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4048         and vc-log-outgoing.
4050 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4052         * net/rcirc.el (rcirc-sort-nicknames): Remove.
4053         (rcirc-handler-366): Always sort nicknames.
4055 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
4057         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4059 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
4061         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4063 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4065         * net/rcirc.el (rcirc-sort-nicknames): Change default.
4066         (rcirc-sort-nicknames-join): Avoid setq.
4068 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4070         * net/rcirc.el (rcirc-sort-nicknames): New custom.
4071         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4072         (rcirc-handler-366): Use them.
4074 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4076         Split smie-indent-calculate into more manageable chunks.
4077         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4078         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4079         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4080         (smie-indent-exps): Extract from smie-indent-calculate.
4081         (smie-indent-functions): New var.
4082         (smie-indent-functions): Use them.
4084 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4086         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4087         (smie-indent-calculate): Simplify and cleanup.
4089 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
4091         * net/tramp-gvfs.el (top): Require url-util.
4092         (tramp-gvfs-mount-point): Remove.
4093         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4094         New defuns.
4095         (with-tramp-dbus-call-method): Format trace message.
4096         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4097         Implement backup call, when operation on local files fails.
4098         Use progress reporter.  Flush properties of changed files.
4099         (tramp-gvfs-handle-make-directory): Make more traces.
4100         (tramp-gvfs-url-file-name): Hexify file name in url.
4101         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4102         into account for the resulting file name.
4103         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4104         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
4105         (tramp-gvfs-handler-mounted-unmounted)
4106         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4107         attribute "default_location".  Set "prefix" property.
4108         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4109         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4110         exists.  Raise an error, if not (due to a corresponding answer
4111         "no" in interactive questions, for example).
4113 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
4115         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4117 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
4119         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4120         right-*.  (Bug#6265)
4122 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
4124         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4125         * vc-git.el (vc-git-compute-remote): New function.
4126         (vc-git-log-outgoing): Use it instead of hard coding a value.
4127         (vc-git-log-incoming): New function.
4129         Improve state updating for VC tag commands.
4130         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4131         to update the state of all buffers in the directory.
4133         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4135 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4137         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4138         `file-directory-p' to the filename part rather than to the whole text.
4140 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4142         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4144 2010-05-31  Drew Adams  <drew.adams@oracle.com>
4146         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4148 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
4150         * subr.el (momentary-string-display): Just use read-event to read
4151         the exit event (Bug#6238).
4153 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
4155         * international/mule.el (define-coding-system): Doc fix (bug#6313).
4157 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4159         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4160         Suggested by Eli Zaretskii <eliz@gnu.org>.
4162 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4164         * minibuffer.el (completion-file-name-table): Don't return a boundary
4165         past the end of `string' (bug#6299).
4166         (completion--file-name-table): Delegate to completion-file-name-table
4167         for the `boundaries' case.
4169 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
4171         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4172         movement commands.
4174         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4175         `path-separator', but maintain compatibility with Emacs 20.2.
4177 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4179         * server.el (server-process-filter): Receive parent-id argument
4180         from emacsclient.
4181         (server-create-window-system-frame): New arg.  Pass parent-id as
4182         frame parameter.
4184 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
4186         Bidi-sensitive word movement with arrow keys.
4187         * subr.el (right-arrow-command, left-arrow-command): Move to
4188         bindings.el.
4190         * bindings.el (right-char, left-char): Move from subr.el and
4191         rename from right-arrow-command and left-arrow-command.
4192         (right-word, left-word): New functions.
4193         (global-map) <right>: Bind to right-char.
4194         (global-map) <left>: Bind to left-char.
4195         (global-map) <C-right>: Bind to right-word.
4196         (global-map) <C-left>: Bind to left-word.
4198         * ls-lisp.el (ls-lisp-classify-file): New function.
4199         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4200         (ls-lisp-classify): Call ls-lisp-classify-file.
4201         (insert-directory): Remove blanks from switches.
4203 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
4205         * ansi-color.el: Delete unused escape sequences (Bug#6085).
4206         (ansi-color-drop-regexp): New constant.
4207         (ansi-color-apply, ansi-color-filter-region)
4208         (ansi-color-apply-on-region): Delete unrecognized control sequences.
4209         (ansi-color-apply): Build string list before calling concat.
4211 2010-05-28  Juri Linkov  <juri@jurta.org>
4213         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4214         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4215         (Bug#5270)
4217 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4219         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4220         to ignored backtrace functions.
4221         (with-progress-reporter): Expand docstring.
4222         (tramp-handle-delete-file): Implement TRASH argument.
4223         (tramp-get-remote-trash): New defun.
4225 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
4227         * net/tramp-compat.el (tramp-compat-delete-file): Use
4228         `symbol-value' for backward compatibility.
4230         * net/tramp.el (tramp-handle-make-symbolic-link)
4231         (tramp-handle-load)
4232         (tramp-do-copy-or-rename-file-via-buffer)
4233         (tramp-do-copy-or-rename-file-directly)
4234         (tramp-do-copy-or-rename-file-out-of-band)
4235         (tramp-handle-process-file, tramp-handle-call-process-region)
4236         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4237         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4238         (tramp-delete-temp-file-function): Use `delete-file' instead
4239         of `tramp-compat-delete-file'.
4241         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4242         (tramp-fish-handle-make-symbolic-link)
4243         (tramp-fish-handle-process-file): Use `delete-file' instead
4244         of `tramp-compat-delete-file'.
4246         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4247         `delete-file' instead of `tramp-compat-delete-file'.
4249         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4250         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4251         `tramp-compat-delete-file'.
4253         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4254         `delete-file' instead of `tramp-compat-delete-file'.
4256         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4257         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4258         (tramp-smb-handle-write-region): Use `delete-file' instead of
4259         `tramp-compat-delete-file'.
4260         (tramp-smb-handle-delete-directory): Use 'trash as arg.
4262 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4264         * dired.el (dired-delete-file): New arg TRASH.
4265         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
4266         (dired-do-flagged-delete, dired-do-delete): Use trash.
4268         * speedbar.el (speedbar-item-delete): Allow trashing.
4270         * files.el (delete-directory): New arg TRASH.
4272         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4273         (ange-ftp-rename-remote-to-remote)
4274         (ange-ftp-rename-local-to-remote)
4275         (ange-ftp-rename-remote-to-local, ange-ftp-load)
4276         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4277         `delete-file'.
4278         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4279         allow trashing.
4281         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4282         handle new TRASH arg of `delete-file'.
4284         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4285         (tramp-handle-make-symbolic-link, tramp-handle-load)
4286         (tramp-do-copy-or-rename-file-via-buffer)
4287         (tramp-do-copy-or-rename-file-directly)
4288         (tramp-do-copy-or-rename-file-out-of-band)
4289         (tramp-handle-process-file, tramp-handle-call-process-region)
4290         (tramp-handle-shell-command, tramp-handle-file-local-copy)
4291         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4292         (tramp-delete-temp-file-function): Use null TRASH arg in
4293         tramp-compat-delete-file call.
4295         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4296         (tramp-fish-handle-delete-file)
4297         (tramp-fish-handle-make-symbolic-link)
4298         (tramp-fish-handle-process-file): Use null TRASH arg in
4299         `tramp-compat-delete-file' call.
4301         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4302         arg in `tramp-compat-delete-file' call.
4304         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4305         (tramp-gvfs-handle-write-region): Use null TRASH arg in
4306         `tramp-compat-delete-file' call.
4308         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4309         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4310         `tramp-compat-delete-file' call.
4312         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4313         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4314         (tramp-smb-handle-write-region): Use null TRASH arg in
4315         tramp-compat-delete-file call.
4316         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4317         (tramp-smb-handle-delete-file): Rename arg.
4319         * diff.el (diff-sentinel):
4320         * epg.el (epg--make-temp-file, epg-decrypt-string)
4321         (epg-verify-string, epg-sign-string, epg-encrypt-string):
4322         * jka-compr.el (jka-compr-partial-uncompress)
4323         (jka-compr-call-process, jka-compr-write-region):
4324         * server.el (server-sentinel): Remove optional arg from
4325         delete-file, reverting 2010-05-03 change.
4327 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4329         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4330         font-lock-constant-face, not obsolete font-lock-reference-face.
4332 2010-05-27  Kenichi Handa  <handa@m17n.org>
4334         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4335         element of GSTRING is nil.
4337 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4339         * emacs-lisp/smie.el (smie-forward-token-function)
4340         (smie-backward-token-function): New vars.
4341         (smie-backward-sexp, smie-forward-sexp)
4342         (smie-indent-hanging-p, smie-indent-calculate): Use them.
4343         (smie-default-backward-token): Rename from smie-backward-token and
4344         skip comments.
4345         (smie-default-forward-token): Rename from smie-forward-token and
4346         skip comments.
4347         (smie-next-sexp): Handle nil results from next-token.
4348         (smie-indent-calculate): Add a new case for special `fixindent' comments.
4350 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
4352         * progmodes/verilog-mode.el (verilog-type-font-keywords):
4353         Use font-lock-constant-face, not obsolete font-lock-reference-face.
4355 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
4357         * htmlfontify.el (hfy-face-resolve-face): New function.
4358         (hfy-face-to-style): Use it (Bug#6279).
4360 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4362         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4363         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4365 2010-05-26  Glenn Morris  <rgm@gnu.org>
4367         * emulation/edt.el (edt-load-keys): Use locate-library.
4369 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
4371         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4372         (log-edit-changelog-entries): Doc fix.
4373         (log-edit-changelog-insert-entries): Args changed.
4374         Rename relative filenames in ChangeLog entries.  Delete tabs.
4375         (log-edit-insert-changelog-entries): Reorganize return value of
4376         `log-edit-changelog-entries' to pass filenames to
4377         log-edit-changelog-insert-entries.
4379 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4381         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4382         `image-dired-dired-insert-marked-thumbs' to
4383         `image-dired-dired-toggle-marked-thumbs'.
4385         * image-dired.el: Require cl when compiling.
4386         (image-dired-dired-toggle-marked-thumbs): Rename from
4387         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
4388         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
4389         to 'no-dir.  Skip files whose names don't match
4390         `image-file-name-regexp'.  When file has a thumbnail overlay,
4391         delete it.  (Bug#5270)
4393 2010-05-25  Juri Linkov  <juri@jurta.org>
4395         * image-mode.el (image-mode): Add image-after-revert-hook to
4396         after-revert-hook.
4397         (image-after-revert-hook): New function.  (Bug#5669)
4399 2010-05-25  Juri Linkov  <juri@jurta.org>
4401         * image.el (image-animated-p): When delay between animated images
4402         is 0, set it to 10 (0.1 sec).  (Bug#6258)
4404 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4406         * net/tramp.el (tramp-handle-insert-directory): Don't use
4407         `forward-word', its default syntax could be changed.
4409 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
4411         * net/tramp.el (tramp-progress-reporter-update): New defun.
4412         (with-progress-reporter): Use it.
4413         (tramp-process-actions):
4414         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4415         current message, in order to let progress reporter continue
4416         afterwards.  (Bug#6257)
4418 2010-05-25  Glenn Morris  <rgm@gnu.org>
4420         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4421         Add :version.
4423 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4425         * net/rcirc.el (rcirc-default-user-name): Change to "user".
4426         (rcirc-default-full-name): Change to "unknown".
4427         (rcirc-user-name-history): Add variable.
4429 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
4430             Jonathan Rockway  <jon@jrock.us>
4432         * net/rcirc.el (rcirc-server-alist): Add :pass.
4433         (rcirc): When prompting for connection parameters, also prompt for
4434         username and password.
4435         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
4436         value to server when connecting.
4438 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4440         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4441         (smie-merge-prec2s): Pass the tables as separate args.
4442         (smie-bnf-precedence-table): Adjust call accordingly.
4443         (smie-prec2-levels): Set levels at the end.
4445         Replace Lisp calls to delete-backward-char by delete-char.
4446         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4447         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4448         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4449         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4450         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4451         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4452         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4453         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4454         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4455         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4456         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4457         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4458         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4459         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4460         delete-backward-char by calls to delete-char.
4462 2010-05-25  Kenichi Handa  <handa@m17n.org>
4464         * language/hebrew.el (hebrew-shape-gstring): New function.
4465         Register it in composition-function-table for all Hebrew combining
4466         characters.
4468 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4470         * epa.el (epa--select-keys): Don't explicitly delete the window since
4471         that can fail (e.g. sole window in frame).  Use dedication instead.
4473 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
4475         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4477 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
4479         * image.el (image-refresh): Define as an alias for image-flush.
4481         * image-mode.el (image-toggle-display-image): Caller changed.
4483 2010-05-21  Juri Linkov  <juri@jurta.org>
4485         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4486         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
4487         whitespace, call wildcard-to-regexp on substrings and concat them
4488         with "\\|".  (Bug#6114)
4490 2010-05-21  Alan Mackenzie  <acm@muc.de>
4492         * progmodes/cc-engine.el (c-parse-state-get-strategy):
4493         Replace parameter `here' with `here-' and `here-plus', which sandwich
4494         any pertinent CPP construct.
4495         (c-remove-stale-state-cache-backwards): Fix a bug which happens
4496         when doing (c-parse-state) in a CPP construct: Exclude any "new"
4497         CPP construct from taking part in the scanning.
4499 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
4501         * net/tramp.el (tramp-do-copy-or-rename-file)
4502         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4503         Tune `with-progress-reporter' messages.
4504         (tramp-handle-vc-registered):
4505         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4506         (tramp-fish-handle-insert-file-contents)
4507         (tramp-fish-maybe-open-connection):
4508         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4509         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4510         (tramp-imap-handle-insert-file-contents)
4511         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4513 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
4515         * add-log.el (change-log-font-lock-keywords):
4516         Highlight all authors in multi-author entries.
4518         * smerge-mode.el (smerge-refine-ignore-whitespace)
4519         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4520         Fix typos in docstrings.
4521         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4523 2010-05-21  Glenn Morris  <rgm@gnu.org>
4525         * progmodes/fortran.el (fortran-mode):
4526         * progmodes/f90.el (f90-mode): Derive from prog-mode.
4528         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4529         having a relative path in src/Makefile.in.
4531 2010-05-20  Kevin Ryde  <user42@zip.com.au>
4533         * help-mode.el (help-make-xrefs): For Info node links turn
4534         newlines into spaces.  Link node names with newlines are matched
4535         by help-xref-info-regexp and buttonized, this change ensures they
4536         can be followed successfully with RET.  (Bug#6206)
4538 2010-05-20  Juri Linkov  <juri@jurta.org>
4540         * locate.el (locate): Use pop-to-buffer instead of
4541         switch-to-buffer-other-window.  (Bug#6204)
4543 2010-05-20  Juri Linkov  <juri@jurta.org>
4545         * replace.el (replace-highlight): Fix lazy-highlighting
4546         for `M-s w str M-% str RET'.
4548 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
4550         * isearch.el (isearch-yank-word-or-char): Pull next subword
4551         when `subword-mode' is activated.  (Bug#6220)
4553 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
4555         * isearch.el (isearch-update-post-hook): New hook.
4556         (isearch-update): Use the new hook.  (Bug#6225)
4558 2010-05-20  Juri Linkov  <juri@jurta.org>
4560         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4561         [f1], [help], and (char-to-string help-char) instead of "\C-h".
4562         (Bug#6222)
4564 2010-05-20  Juri Linkov  <juri@jurta.org>
4566         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4567         (Bug#6223)
4569 2010-05-20  Juri Linkov  <juri@jurta.org>
4571         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4572         FILE-NAME to read from the minibuffer when called interactively
4573         with prefix argument instead of using buffer-file-name.
4574         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4576         * dired.el: Update autoloads.
4578 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
4580         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4581         nxml-finish-element, for consistency with SGML mode.
4583         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4584         octave-close-block.
4586 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
4588         * composite.el: Require cl when compiling.
4589         (reference-point-alist, compose-gstring-for-graphic)
4590         (compose-gstring-for-terminal): Fix typos in docstrings.
4592 2010-05-19  Juri Linkov  <juri@jurta.org>
4594         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4595         set-window-parameter.
4597 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4599         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4600         where appropriate.
4601         (tramp-maybe-open-connection): Use it.
4603 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
4605         * simple.el (move-end-of-line): Make sure we are at line beginning
4606         before backing up to end of previous line.
4608 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
4610         * password-cache.el (password-cache-remove): Fix docstring.
4612         * net/secrets.el: Autoload the widget functions.
4613         (secrets-search-items, secrets-create-item)
4614         (secrets-get-attributes, secrets-expand-item): Attributes will be
4615         stored on the password database without leading ":", as all other
4616         clients do as well.
4617         (secrets-mode): Fix docstring.
4618         (secrets-show-secrets): Provide it as autoloaded command only when
4619         D-Bus support is available.  Check existence of Secret Service API.
4621 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4623         * indent.el (indent-region): Deactivate region (bug#6200).
4625 2010-05-19  Glenn Morris  <rgm@gnu.org>
4627         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
4629 2010-05-19  Kenichi Handa  <handa@m17n.org>
4631         * composite.el: Register compose-gstring-for-graphic in
4632         composition-function-table only for combining characters (Mn, Mc, Me).
4634 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
4636         * calc/calc-trail.el (calc-trail-isearch-forward)
4637         (calc-trail-isearch-backward): Ensure that the new window
4638         point is set correctly.
4640 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4642         * subr.el (read-quoted-char): Resolve modifiers after key
4643         remapping (bug#6212).
4645 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
4647         Add visualization code for secrets.
4648         * net/secrets.el (secrets-mode): New major mode.
4649         (secrets-show-secrets, secrets-show-collections)
4650         (secrets-expand-collection, secrets-expand-item)
4651         (secrets-tree-widget-after-toggle-function)
4652         (secrets-tree-widget-show-password): New defuns.
4654 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4656         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4657         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4658         handled in smie-next-sexp.
4659         (smie-indent-calculate): Provide a starting indentation (so the
4660         recursion is well-founded ;-).
4662         Fix handling of non-associative equal levels.
4663         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4664         when it's not needed.
4665         (smie-op-left, smie-op-right): New functions.
4666         (smie-next-sexp): New function, extracted from smie-backward-sexp.
4667         Better handle equal levels to distinguish the associative case from
4668         the "multi-keyword construct" case.
4669         (smie-backward-sexp, smie-forward-sexp): Use it.
4671 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
4673         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4675         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4676         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4678 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4680         Provide a simple generic indentation engine and use it for Prolog.
4681         * emacs-lisp/smie.el: New file.
4682         * progmodes/prolog.el (prolog-smie-op-levels)
4683         (prolog-smie-indent-rules): New var.
4684         (prolog-mode-variables): Use them to configure SMIE.
4685         (prolog-indent-line, prolog-indent-level): Remove.
4687 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
4689         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4690         order before computing the averages.
4692 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
4694         * calc/calc-vec.el (calc-histogram):
4695         (calcFunc-histogram): Allow vectors as inputs.
4696         (math-vector-avg): New function.
4698         * calc/calc-ext.el (math-group-float): Have the number of digits
4699         being grouped depend on the radix (Bug#6189).
4701 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
4703         * version.el (emacs-copyright, emacs-version): Don't define here,
4704         now that emacs.c defines it.
4706 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
4708         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4709         "Describe Language Environment" menu item.
4711         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4713         Bidi-sensitive movement with arrow keys.
4714         * subr.el (right-arrow-command, left-arrow-command): New functions.
4716         * bindings.el (global-map): Bind them to right and left arrow keys.
4718         Don't override standard definition of convert-standard-filename.
4719         * files.el (convert-standard-filename): Call
4720         w32-convert-standard-filename and dos-convert-standard-filename on
4721         the corresponding systems.
4723         * w32-fns.el (w32-convert-standard-filename): Rename from
4724         convert-standard-filename.  Doc fix.
4726         * dos-fns.el (dos-convert-standard-filename): Doc fix.
4727         (convert-standard-filename): Don't defalias.
4728         (register-name-alist, make-register, register-value)
4729         (set-register-value, intdos): Obsolete aliases for the
4730         corresponding dos-* functions and variables.
4731         (dos-intdos): Add a doc string.
4733 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
4735         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4736         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4737         (math-compose-tex-func):
4738         * calc/calccomp.el (math-compose-expr):
4739         * calc/calc-ext.el (math-format-flat-expr-fancy):
4740         * calc/calc-store.el (calc-read-var-name):
4741         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4743         * calc/calc.el (var-π, var-φ, var-γ): New variables.
4744         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4745         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4746         (math-standard-units): Add units.
4748 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4750         * progmodes/asm-mode.el (asm-mode):
4751         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4753         * pcomplete.el (pcomplete-completions-at-point): New function,
4754         extracted from pcomplete-std-complete.
4755         (pcomplete-std-complete): Use it.
4757 2010-05-15  Glenn Morris  <rgm@gnu.org>
4759         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4760         Remove references to CVS, RCS and Old directories.
4762 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
4764         * calc/calc-bin.el (math-format-twos-complement): Group digits when
4765         appropriate.
4767 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4769         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4770         (sh-mode-syntax-table): Give it a default value instead.
4771         (sh-header-marker): Make buffer-local.
4772         (sh-mode): Move make-local-variable to the corresponding setq.
4773         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4774         Use complete-with-action.
4776         * simple.el (prog-mode): New (abstract) major mode.
4777         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4778         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4780 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
4782         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4783         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4784         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4785         (sql-make-alternate-buffer-name, sql-placeholders-filter)
4786         (sql-escape-newlines-filter, sql-input-sender)
4787         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4789 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
4791         Add TeX open-block and close-block keybindings to SGML, and vice versa.
4793         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4794         latex-open-block and C-c / to latex-close-block.
4796         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4797         and C-c C-e to sgml-close-tag.
4799 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
4801         * net/tramp.el (with-progress-reporter): Create reporter object
4802         only when the message would be displayed.  Handle nested calls.
4803         (tramp-handle-load, tramp-handle-file-local-copy)
4804         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4805         (tramp-maybe-send-script, tramp-find-shell):
4806         Use `with-progress-reporter'.
4807         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4808         Fix message text.
4810         * net/tramp-smb.el (tramp-smb-handle-copy-file)
4811         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4812         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4813         Use `with-progress-reporter'.
4815 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
4817         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4818         process everytime when spellchecking from the minibuffer (bug#6143).
4820 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4822         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4824         * dos-fns.el: Add "dos-" prefix for namespace control.
4825         (convert-standard-filename): Define as alias for
4826         dos-convert-standard-filename but only if applicable.
4828 2010-05-12  Alan Mackenzie  <acm@muc.de>
4830         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4831         Push the mark at the start of these functions when appropriate.
4833 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4835         * minibuffer.el (completion-cycle-threshold): New custom var.
4836         (completion--do-completion): Use it.
4837         (minibuffer-complete): Use cycling if appropriate.
4839 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
4841         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4842         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4844 2010-05-11  Juri Linkov  <juri@jurta.org>
4846         * scroll-all.el (scroll-all-check-to-scroll):
4847         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4849 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4851         * iimage.el (iimage-mode-map): Move initialization into declaration.
4852         (iimage-mode-buffer): Use with-silent-modifications.
4853         Simplify calling convention.  Adjust callers.
4854         (iimage-mode): Don't run hook redundantly.
4856         * minibuffer.el (completion-pcm--pattern->regex):
4857         Fix last change (bug#6160).
4859 2010-05-10  Juri Linkov  <juri@jurta.org>
4861         Remove nodes visited during Isearch from the Info history.
4862         * info.el (Info-isearch-initial-history)
4863         (Info-isearch-initial-history-list): New variables.
4864         (Info-isearch-start): Record initial values of
4865         Info-isearch-initial-history and Info-isearch-initial-history-list.
4866         Add Info-isearch-end to isearch-mode-end-hook.
4867         (Info-isearch-end): New function.
4869 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
4871         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4872         format string, in order to work around a bug in pdksh.
4873         Reported by Gilles Pion <gpion@lfdj.com>.
4874         (tramp-handle-verify-visited-file-modtime): Do not send a command
4875         when the connection is not established.
4876         (tramp-handle-set-file-times): Simplify the check for utc.
4878 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
4880         Fix use of `filter-buffer-substring' (rework previous change).
4881         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4882         (cua-repeat-replace-region):
4883         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4884         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4885         (cua-cut-region-to-global-mark): Use it.
4887 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
4889         * progmodes/sql.el: Version 2.1.
4890         (sql-product-alist): Redesign structure of product info.
4891         (sql-product, sql-user, sql-server, sql-database): Safe variables.
4892         (sql-port, sql-port-history): New variables.
4893         (sql-interactive-product): New variable.
4894         (sql-send-terminator): New variable.
4895         (sql-imenu-generic-expression): Add "Types" imenu entry.
4896         (sql-oracle-login-params, sql-sqlite-login-params)
4897         (sql-mysql-login-params, sql-solid-login-params)
4898         (sql-sybase-login-params, sql-informix-login-params)
4899         (sql-ingres-login-params, sql-ms-login-params)
4900         (sql-postgres-login-params, sql-interbase-login-params)
4901         (sql-db2-login-params, sql-linter-login-params)
4902         (sql-oracle-scan-on): New variables.
4903         (sql-mode-map): Add C-c C-i to start interactive mode.
4904         (sql-mode-menu): Update existing menu entries.
4905         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4906         (sql-mode-oracle-font-lock-keywords)
4907         (sql-mode-postgres-font-lock-keywords)
4908         (sql-mode-ms-font-lock-keywords)
4909         (sql-mode-sybase-font-lock-keywords)
4910         (sql-mode-informix-font-lock-keywords)
4911         (sql-mode-interbase-font-lock-keywords)
4912         (sql-mode-ingres-font-lock-keywords)
4913         (sql-mode-solid-font-lock-keywords)
4914         (sql-mode-mysql-font-lock-keywords)
4915         (sql-mode-sqlite-font-lock-keywords)
4916         (sql-mode-db2-font-lock-keywords)
4917         (sql-mode-linter-font-lock-keywords): Update initialization to
4918         reduce run-time complexity.
4919         (sql-add-product, sql-del-product): New functions.
4920         (sql-set-product-feature, sql-get-product-feature): New functions.
4921         (sql-product-font-lock): Update product API.
4922         (sql-add-product-keywords): New function.
4923         (sql-highlight-product): Update product API.
4924         (sql-help-list-products): New function.
4925         (sql-help): Dynamically lists free and non-free products.
4926         (sql-get-login): Correct bug in handling history and added
4927         prompt for port.
4928         (sql-copy-column): Copy without properties.
4929         (sqli-input-sender): Apply filters to SQLi input.
4930         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4931         Implement as a filter.
4932         (sql-escape-newlines-filter): Implement as a filter.
4933         (sql-remove-tabs-filter): New function.
4934         (sql-send-magic-terminator): New function.
4935         (sql-send-string): Implement magic terminator.
4936         (sql-send-region): Use `sql-send-string'.
4937         (sql-interactive-mode): Use product API.
4938         (sql-product-interactive): Use product API.
4939         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4940         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4941         (sql-db2, sql-linter): Use `sql-product-interactive'.
4942         (sql-connect): New function.
4943         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4944         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4945         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4946         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4947         Use `sql-connect'.
4949 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4951         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4952         New custom variable.
4953         (completion-pcm--string->pattern): Use it.
4954         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4955         Make it handle any symbol as `any'.
4956         (completion-pcm--merge-completions): Extract common suffix for the new
4957         `prefix' symbol as well.
4958         (completion-substring--all-completions): Use the new `prefix' symbol.
4960 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
4962         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4963         not bound.
4964         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4965         (tramp-compat-funcall): New defmacro.
4966         (tramp-compat-line-beginning-position)
4967         (tramp-compat-line-end-position)
4968         (tramp-compat-temporary-file-directory)
4969         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4970         (tramp-compat-copy-file, tramp-compat-copy-directory)
4971         (tramp-compat-delete-file, tramp-compat-delete-directory)
4972         (tramp-compat-number-sequence, tramp-compat-process-running-p)
4973         * net/tramp.el (top, with-progress-reporter)
4974         (tramp-rfn-eshadow-setup-minibuffer)
4975         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4976         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4977         (tramp-completion-mode-p, tramp-check-for-regexp)
4978         (tramp-open-connection-setup-interactive-shell)
4979         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4980         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4981         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4982         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4983         (tramp-reporter-dump-variable, tramp-load-report-modules)
4984         (tramp-append-tramp-buffers)
4985         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4987         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4989 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4991         * progmodes/compile.el (compilation-buffer-modtime): Rename from
4992         buffer-modtime.  Adjust users.
4994 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
4996         * international/mule.el (auto-coding-alist): Only purecopy
4997         car of each item, not the whole list (Bug#6083).
4999 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5001         * progmodes/js.el (js-mode): Make paragraph variables local before
5002         calling c-setup-paragraph-variables (Bug#6071).
5004 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
5006         * composite.el (compose-region, reference-point-alist): Fix typos
5007         in the doc strings.
5009 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5011         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5012         gnuplot's "set" command.
5014 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5016         * abbrev.el (last-abbrev-text): Doc fix.
5017         (abbrev-prefix-mark): Don't escape parenthesis.
5019 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
5021         * composite.el (find-composition): Doc fix.
5023 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5025         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5026         (sql-oracle-program, sql-sqlite-options)
5027         (sql-query-placeholders-and-send): Doc fixes.
5028         (sql-set-product, sql-interactive-mode): Reflow docstrings.
5029         (sql-imenu-generic-expression, sql-buffer)
5030         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5031         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5032         (sql-mode-sybase-font-lock-keywords)
5033         (sql-mode-informix-font-lock-keywords)
5034         (sql-mode-interbase-font-lock-keywords)
5035         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5036         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5037         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5038         (sql-product-feature, sql-highlight-product)
5039         (comint-line-beginning-position, sql-rename-buffer)
5040         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5041         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5042         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5043         Fix typos in docstrings.
5045 2010-05-08  Juri Linkov  <juri@jurta.org>
5047         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5048         property instead of `invisible' and `after-string' (bug#5998).
5050 2010-05-08  Juri Linkov  <juri@jurta.org>
5052         * image-mode.el (image-mode-as-text): Fix typo in docstring.
5054 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
5056         * filecache.el (file-cache-add-directory-list)
5057         (file-cache-add-directory-recursively): Fix typos in docstrings.
5059 2010-05-08  Kenichi Handa  <handa@m17n.org>
5061         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5062         (gujarati-composable-pattern): Fix typo.
5064 2010-05-08  Kenichi Handa  <handa@m17n.org>
5066         * language/indian.el (oriya-composable-pattern)
5067         (tamil-composable-pattern, malayalam-composable-pattern):
5068         Add two-part vowels to "v" (vowel sign).
5070 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
5072         * files.el (copy-directory): Handle symlinks (Bug#5982).
5074 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
5076         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5077         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
5078         (Bug#5846).
5080 2010-05-08  Glenn Morris  <rgm@gnu.org>
5082         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5084         * minibuffer.el (completion-at-point): Doc fix.
5086 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5088         * electric.el (Electric-command-loop): Minor tweak.
5090         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5091         better with dedicated windows.
5093 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
5095         * Version 23.2 released.
5097 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
5098             Stefan Monnier  <monnier@iro.umontreal.ca>
5100         Highlight vendor specific properties.
5101         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5102         (css-proprietary-property): New face.
5103         (css-font-lock-keywords): Use them.
5105 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
5107         * cus-start.el (all): Add native condition for tool-bar-* symbols.
5109 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5111         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5112         * files.el (auto-mode-alist): Remove redundant entries.
5114         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5115         * simple.el (auto-save-mode): Move from files.el.
5116         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5118 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
5120         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5122 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
5124         * mail/binhex.el (binhex-decode-region-internal)
5125         * mail/uudecode.el (uudecode-decode-region-internal)
5126         * net/dns.el (dns-read-string-name, dns-write, dns-read)
5127         (dns-read-type, dns-query)
5128         * pgg-parse.el (pgg-parse-armor)
5129         * pgg.el (pgg-verify-region)
5130         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5131         XEmacs.
5133         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5135 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
5137         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5139         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5140         * emulation/cua-base.el (cua-repeat-replace-region):
5141         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5142         (cua-cut-region-to-global-mark):
5143         Remove text properties with `set-text-properties'.
5145 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
5147         * net/tramp.el (top, with-progress-reporter):
5148         Use `symbol-function' inside `funcall'.
5150         * net/tramp-compat.el (tramp-compat-file-attributes)
5151         (tramp-compat-delete-file, tramp-compat-delete-directory):
5152         Handle only `wrong-number-of-arguments' error.
5154         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5155         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5156         inside `funcall'.
5158 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5160         * minibuffer.el (completion--sreverse, completion--common-suffix):
5161         New functions.
5162         (completion-pcm--merge-completions): Extract common suffix when safe.
5164         * emacs-lisp/easy-mmode.el (define-minor-mode):
5165         Make :variable more flexible.
5166         * files.el (auto-save-mode): Use it to define using define-minor-mode.
5168 2010-05-05  Juri Linkov  <juri@jurta.org>
5170         Add `slow' and `history' tags to the desktop data.
5172         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5173         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5174         (Info-finder-find-node): Require `finder.el' to be able
5175         to restore node from the desktop.
5176         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
5177         data `Info-history' and `slow' tag in the assoc list.
5178         (Info-restore-desktop-buffer): Don't restore nodes with the
5179         `slow' tag.  Restore `Info-history'.
5181 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
5183         Add FORCE argument to `delete-file'.
5185         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5186         forcing to delete the temporary file.
5187         (ange-ftp-delete-file): Add FORCE arg.
5188         (ange-ftp-rename-remote-to-remote)
5189         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5190         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5191         Force file deletion.
5193         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5195         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5196         (tramp-handle-make-symbolic-link, tramp-handle-load)
5197         (tramp-do-copy-or-rename-file-via-buffer)
5198         (tramp-do-copy-or-rename-file-directly)
5199         (tramp-do-copy-or-rename-file-out-of-band)
5200         (tramp-handle-process-file, tramp-handle-call-process-region)
5201         (tramp-handle-shell-command, tramp-handle-file-local-copy)
5202         (tramp-handle-insert-file-contents, tramp-handle-write-region)
5203         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5205         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5206         (tramp-fish-handle-make-symbolic-link)
5207         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5209         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5210         Use `tramp-compat-delete-file'.
5212         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5213         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5215         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5216         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5218         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5219         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5220         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5221         `tramp-compat-delete-file'.
5223 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5225         Minor cleanups.
5226         * subr.el (add-minor-mode): Use push.
5227         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5228         * emulation/edt.el (edt-select-mode): Simplify.
5230         Use define-minor-mode in more cases.
5231         * term/tvi970.el (tvi970-set-keypad-mode):
5232         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5233         (normal-erase-is-backspace-mode):
5234         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5235         (set-scroll-bar-mode-1): (Re)move to its sole caller.
5236         (get-scroll-bar-mode): New function.
5237         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5239         Use define-minor-mode for less obvious cases.
5240         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5241         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5242         * international/iso-ascii.el (iso-ascii-mode):
5243         * frame.el (auto-raise-mode, auto-lower-mode):
5244         * composite.el (global-auto-composition-mode): Use define-minor-mode.
5246 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
5248         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5249         in order to see error messages for failed logins.
5251 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
5253         * diff.el (diff-sentinel):
5255         * epg.el (epg--make-temp-file, epg-decrypt-string)
5256         (epg-verify-string, epg-sign-string, epg-encrypt-string):
5258         * jka-compr.el (jka-compr-partial-uncompress)
5259         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5261         * server.el (server-sentinel): Use delete-file's new FORCE arg
5262         (Bug#6070).
5264 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5266         Use define-minor-mode where applicable.
5267         * view.el (view-mode):
5268         * type-break.el (type-break-query-mode)
5269         (type-break-mode-line-message-mode):
5270         * textmodes/reftex.el (reftex-mode):
5271         * term/vt100.el (vt100-wide-mode):
5272         * tar-mode.el (tar-subfile-mode):
5273         * savehist.el (savehist-mode):
5274         * ibuf-ext.el (ibuffer-auto-mode):
5275         * composite.el (auto-composition-mode):
5276         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5277         Use define-minor-mode.
5278         (vhdl-mode): Use static mode-line format.
5279         (vhdl-mode-line-update): Delete.
5280         (vhdl-create-mode-menu, vhdl-activate-customizations)
5281         (vhdl-hs-minor-mode): Don't bother calling it.
5283 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5285         * simple.el (with-wrapper-hook): Move.
5286         (buffer-substring-filters): Mark obsolete.
5287         (filter-buffer-substring-functions): New variable.
5288         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
5290 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
5291             Michael Albinus  <michael.albinus@gmx.de>
5293         Implement compression for inline methods.
5295         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5296         (tramp-copy-size-limit): Allow also nil.
5297         (tramp-inline-compress-commands): New defconst.
5298         (tramp-find-inline-compress, tramp-get-inline-compress)
5299         (tramp-get-inline-coding): New defuns.
5300         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5301         replaced by `tramp-get-inline-coding'.
5302         (tramp-handle-file-local-copy, tramp-handle-write-region)
5303         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5305 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5307         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5308         Remove unused functions.
5310         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5311         Set find-tag-default-function as a variable rather than a property.
5313         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5314         * progmodes/etags.el (tags-completion-at-point-function):
5315         Remove left over interactive spec.  Add autoloading stub.
5316         (complete-tag): Use tags-completion-at-point-function.
5318 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
5320         * minibuffer.el (tags-completion-at-point-function): Fix return value.
5322 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5324         * ido.el (ido-init-completion-maps): Remove C-v binding.
5325         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5327 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
5329         * minibuffer.el (tags-completion-at-point-function): New function.
5330         (completion-at-point-functions): Use it.
5332         * progmodes/etags.el (complete-tag): Revert last change.
5334 2010-04-29  Alan Mackenzie  <acm@muc.de>
5336         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5337         off-by-one error (in end of macro position).
5339 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5341         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5342         firefox is absent.  Don't autoload.
5343         (browse-url-galeon-program): Don't autoload.
5345 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5347         * bindings.el (complete-symbol): Move into minibuffer.el.
5349         * minibuffer.el (complete-tag): Move from etags.el.  If tags
5350         completion cannot be performed, return nil instead of signalling
5351         an error.
5352         (completion-at-point): Make it an alias for complete-symbol.
5353         (complete-symbol): Move from bindings.el, and replace with the
5354         body of completion-at-point.
5356         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5358 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
5360         * net/tramp.el (tramp-remote-selinux-p): New defun.
5361         (tramp-handle-file-selinux-context)
5362         (tramp-handle-set-file-selinux-context): Use it.
5364 2010-04-28  Sam Steingold  <sds@gnu.org>
5366         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5367         `safe-local-variable' if the value is a string or a symbol with
5368         the property `bug-reference-url-format'.
5370 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
5372         * progmodes/bug-reference.el (bug-reference-url-format):
5373         Revert 2010-04-27 change due to security risk.
5375 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5377         Make it possible to locally disable a globally enabled mode.
5378         * simple.el (fundamental-mode): Run fundamental-mode-hook.
5379         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5380         rather than kill-all-local-variables so it runs fundamental-mode-hook.
5381         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5382         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5383         that subsequent hooks get a chance to disable it.
5385 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5387         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5388         Avoid re-enabling a minor mode after the user turned the minor mode
5389         off if MODE-enable-in-buffers is run twice (typically once from
5390         fundamental-mode's after-change-major-mode-hook and a second time from
5391         run-mode-hook's own after-change-major-mode-hook).
5393         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5395 2010-04-27  Sam Steingold  <sds@gnu.org>
5397         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5398         `safe-local-variable' if the value is a string or a function, as
5399         documented and implemented on 2010-04-02.
5401 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
5403         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5404         when method is 'kill.
5406 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
5408         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5409         condition in default directory check.
5410         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5411         Kill ispell process when killing its associated buffer.
5413 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
5415         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5416         but we aren't using it.
5418 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
5420         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5421         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5423 2010-04-24  Glenn Morris  <rgm@gnu.org>
5425         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5426         Ignore VCS-ignore files, and deleted nextstep preferences files.
5427         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5428         (authors-ambiguous-files): New list.
5429         (authors-valid-file-names): Add some deleted files.
5430         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5431         (authors-disambiguate-file-name): New function.  (Bug#5501)
5432         (authors-canonical-file-name): Doc fix.
5433         Don't warn about obsolete files.
5434         (authors-canonical-file-name, authors-scan-el):
5435         Use authors-disambiguate-file-name.
5437         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5438         Add autoload cookies.
5439         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5440         (generated-autoload-file): Set file-local value to "htmlfontify.el".
5441         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5442         They have definitions / compiler macros in cl.el.
5443         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5444         Replace manual autoloads with generated ones.
5445         (htmlfontify-unload-rgb-file): Remove autoload.
5446         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5448 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5450         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5451         (byte-compile-setq-default): Optimize for the
5452         single-var case and don't call byte-compile-form in this case to avoid
5453         inf-loop with byte-compile-set-default.
5455         * progmodes/compile.el (compilation-start): Abbreviate default directory.
5457 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
5459         Implement SELINUX backends.
5461         * net/tramp.el (tramp-file-name-handler-alist):
5462         Add `file-selinux-context' and `set-file-selinux-context'.
5463         (tramp-handle-file-selinux-context)
5464         (tramp-handle-set-file-selinux-context): New defuns.
5465         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5466         Handle PRESERVE-SELINUX-CONTEXT.
5468         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5469         Add `file-selinux-context' and `set-file-selinux-context'.
5470         (tramp-gvfs-handle-file-selinux-context)
5471         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5472         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5474         * net/ange-ftp.el (ange-ftp-copy-file):
5475         * net/tramp-fish.el (tramp-fish-handle-copy-file):
5476         * net/tramp-imap.el (tramp-imap-handle-copy-file):
5477         * net/tramp-smb.el (tramp-smb-handle-copy-file):
5478         Add PRESERVE-SELINUX-CONTEXT.
5480 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5482         Synchronize with Tramp repository.
5484         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5485         (tramp-action-process-alive, tramp-action-out-of-band)
5486         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5487         (tramp-exists-file-name-handler): Fix docstring.
5488         (with-progress-reporter): New defmacro.
5489         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5490         (tramp-maybe-open-connection): Use it.
5492 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
5494         Detect ssh 'ControlMaster' argument automatically in some cases.
5496         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5497         (tramp-default-method): Use it.
5499 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5501         * net/tramp.el (tramp-handle-copy-file): Add new optional
5502         parameter `preserve-selinux-context'.
5503         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5505 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
5507         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5508         Ensure, that non remote files are still checked.  Oops.
5510 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
5512         Fix Bug#5840.
5514         * icomplete.el (icomplete-completions): Use `non-essential'.
5516         * net/tramp.el (tramp-connectable-p): New defun.
5517         (tramp-handle-expand-file-name)
5518         (tramp-completion-handle-file-name-all-completions)
5519         (tramp-completion-handle-file-name-completion): Use it.
5521 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5523         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5525 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
5527         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5529         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5531         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5532         is present.
5534         * info.el (info-tool-bar-map): Add labels.
5536         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5538         * cus-edit.el (custom-commands): Add labels for tool bar.
5539         (custom-buffer-create-internal, Custom-mode): Adjust for
5540         labels in custom-commands.
5542         * dynamic-setting.el: Renamed from font-setting.el.
5544 2010-04-21  John Wiegley  <jwiegley@gmail.com>
5546         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5547         toggles the use of virtual buffers.
5548         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5549         (ido-toggle-virtual-buffers): New function.
5551 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
5553         Use `define-derived-mode'; fix window selection; doc fixes.
5554         * play/tetris.el (tetris, tetris-update-speed-function)
5555         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5556         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5557         (tetris-rotate-next, tetris-end-game, tetris-start-game)
5558         (tetris-pause-game): Fix typos in docstrings.
5559         (tetris-mode-map, tetris-null-map):
5560         Move initialization into declaration.
5561         (tetris-mode): Define with `define-derived-mode';
5562         set show-trailing-whitespace to nil.
5563         (tetris): Prefer window already displaying the "*Tetris*" buffer.
5565 2010-04-21  Karel Klíč  <kklic@redhat.com>
5567         * files.el (backup-buffer): Handle SELinux context, and return it
5568         if a backup was made by renaming.
5569         (backup-buffer-copy): Set SELinux context to the target file.
5570         (basic-save-buffer): Set SELinux context of the newly written file.
5571         (basic-save-buffer-1): Now it also returns any SELinux context.
5572         (basic-save-buffer-2): Set SELinux context of the newly created file,
5573         and return it.
5574         * net/tramp.el (tramp-file-name-for-operation):
5575         Add file-selinux-context.
5577 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5579         Make the log-edit comments use RFC822 format throughout.
5581         * vc.el (vc-checkin, vc-modify-change-comment):
5582         Adjust to new vc-start/finish-logentry.
5583         (vc-find-conflicted-file): New command.
5584         (vc-transfer-file): Adjust to new vc-checkin.
5585         (vc-next-action): Improve scoping.
5587         * vc-hg.el (vc-hg-log-edit-mode): Remove.
5588         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
5590         * vc-git.el (vc-git-log-edit-mode): Remove.
5591         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
5592         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5594         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5595         (vc-start-logentry): Remove argument `extra'.
5596         (vc-finish-logentry): Remove extra args.
5598         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5599         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
5600         (vc-bzr-conflicted-files): New function.
5602         * log-edit.el (log-edit-extra-flags)
5603         (log-edit-before-checkin-process): Remove.
5604         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5605         (log-edit-headers-alist): New var.
5606         (log-edit-header-contents-regexp): New const.
5607         (log-edit-match-to-eoh): New function.
5608         (log-edit-font-lock-keywords): Use them.
5609         (log-edit): Insert a "Summary:" header as default.
5610         (log-edit-mode): Mark font-lock rules as case-insensitive.
5611         (log-edit-done): Cleanup headers.
5612         (log-view-process-buffer): Remove.
5613         (log-edit-extract-headers): New function to replace it.
5615 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
5617         * subr.el (default-direction-reversed): Remove obsolescence info.
5619 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5621         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5622         windows/frames.
5624         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5625         I.e. include text after point in the completion region.
5626         Also, return nil when we're not after/in a symbol.
5628         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5629         default enable-multibyte-characters.
5631 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5633         * international/mule.el: Help the user choose a valid coding-system.
5634         (read-buffer-file-coding-system): New function.
5635         (set-buffer-file-coding-system): Use it.  Prompt the user if the
5636         coding-system cannot encode all the chars.
5638         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5639         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5640         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5641         Don't use *vc-bzr-shelve*.
5643 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
5645         Fix the version number for added files.
5646         * vc-hg.el (vc-hg-working-revision): Check if the file is
5647         registered after hg parent fails (Bug#5961).
5649 2010-04-19  Glenn Morris  <rgm@gnu.org>
5651         * htmlfontify.el (htmlfontify-buffer)
5652         (htmlfontify-copy-and-link-dir): Autoload entry points.
5654 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
5656         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5657         name relative to the project root (Bug#5960).
5659 2010-04-19  Glenn Morris  <rgm@gnu.org>
5661         * vc-git.el (vc-git-print-log): Doc fix.
5663 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
5665         * ido.el (ido-file-internal): Fix 2009-12-02 change.
5667 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
5669         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5670         default settings (Bug#5928).
5672 2010-04-19  Glenn Morris  <rgm@gnu.org>
5674         * progmodes/fortran.el (fortran-match-and-skip-declaration):
5675         New function.
5676         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
5678 2010-04-19  Kenichi Handa  <handa@m17n.org>
5680         * language/indian.el (malayalam-composable-pattern): Fix previous
5681         change (add U+0D4D "SIGN VIRAMA").
5682         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5683         (tamil-composable-pattern): Fix typo in the regexp.
5684         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5685         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5686         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5688 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5690         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5691         paragraph-separate (Bug#5821).
5693 2010-04-19  Juri Linkov  <juri@jurta.org>
5695         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5697         * info.el (Info-find-node-2): Comment out code that skips
5698         breadcrumbs line.
5699         (Info-mouse-follow-link): New command.
5700         (Info-link-keymap): New keymap.
5701         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5702         Return a string with links instead of inserting breadcrumbs
5703         to the Info buffer.
5704         (Info-fontify-node): Comment out code that inserts breadcrumbs.
5705         Instead of putting the `invisible' text property over the Info
5706         header, make an overlay over the Info header with the `invisible'
5707         property and `after-string' set to the string returned by
5708         `Info-breadcrumbs'.
5710 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
5712         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5713         Reported by monkey@sandpframing.com.
5715 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5717         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5718         (tmm-get-keymap): Add key-binding shortcuts now that they're not
5719         available in the "keyseq cache" any more.
5721         * custom.el (defcustom): Add edebug spec.
5723 2010-04-18  Juri Linkov  <juri@jurta.org>
5725         Test for special mode-class in view-buffer instead of view-file (bug#5513).
5727         * view.el (view-file, view-buffer): Move test for special mode-class
5728         from view-file to view-buffer.
5730         * tar-mode.el (tar-extract): Turn if's into one cond
5731         like in arc-mode.el.
5733 2010-04-18  Juri Linkov  <juri@jurta.org>
5735         Add 7z archive format support (bug#5475).
5737         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5738         (archive-7z-extract): New defcustom.
5739         (archive-find-type): Add magic string for 7z.
5740         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5741         If `stderr-file' is non-nil, use `(t stderr-file)' for the
5742         `buffer' arg of `call-process'.
5743         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5744         call the function `archive-7z-extract' with the variable
5745         `archive-7z-extract' let-bound to `archive-zip-extract'.
5746         (archive-7z-summarize, archive-7z-extract): New functions.
5748         * international/mule.el (auto-coding-alist):
5749         * files.el (auto-mode-alist): Add 7z file extension.
5751 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5753         * loadup.el: Setup hash-cons for pure data.
5755         Fix duplicate entries in cedet's loaddefs.el files.
5756         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5757         Should make most file-local generated-autoload-file unnecessary.
5758         (print-readably): Silence warnings.
5759         (autoload-find-destination): Take load-name as an arg to make sure
5760         it's the same as the one that will be in the file.
5761         (autoload-generate-file-autoloads): Adjust to above changes.
5762         Try to make the dataflow a bit simpler.
5764         * cvs-status.el (cvs-refontify): Remove unused.
5766 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
5768         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5770         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
5771         twos-complement mode.
5773 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
5775         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
5776         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
5777         (calc-inverse): Add "Option" to message, as appropriate.
5778         (calc-hyperbolic): Add "Option" to message, as appropriate.
5779         (calc-option, calc-is-option): New functions.
5781         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
5782         (calc-option-prefix-help): New function.
5784         * calc/calc-misc.el (calc-help): Add "Option" entry.
5786         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
5787         (calc-option-flag): New variable.
5788         (calc-do): Set `calc-option-flag to nil.
5789         (calc-set-mode-line): Add "Opt " as appropriate.
5791 2010-04-16  Juri Linkov  <juri@jurta.org>
5793         Move scrolling commands from simple.el to window.el
5794         because their primitives are implemented in window.c.
5796         * simple.el (scroll-error-top-bottom)
5797         (scroll-up-command, scroll-down-command, scroll-up-line)
5798         (scroll-down-line, scroll-other-window-down)
5799         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5800         * window.el (scroll-error-top-bottom)
5801         (scroll-up-command, scroll-down-command, scroll-up-line)
5802         (scroll-down-line, scroll-other-window-down)
5803         (beginning-of-buffer-other-window, end-of-buffer-other-window):
5804         Move from simple.el to window.el because their primitives are
5805         implemented in window.c.
5807 2010-04-16  Juri Linkov  <juri@jurta.org>
5809         * isearch.el (isearch-lookup-scroll-key): Check both
5810         `isearch-scroll' and `scroll-command' properties.
5811         (scroll-up, scroll-down): Remove `isearch-scroll' property.
5813         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5815         * simple.el (scroll-up-command, scroll-down-command)
5816         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5818 2010-04-15  Juri Linkov  <juri@jurta.org>
5820         * simple.el (scroll-up-command, scroll-down-command)
5821         (scroll-up-line, scroll-down-line): Put `scroll-command'
5822         property on the these symbols.  Remove them from
5823         `scroll-preserve-screen-position-commands'.
5825         * mwheel.el (mwheel-scroll): Put `scroll-command' and
5826         `isearch-scroll' properties on the `mwheel-scroll' symbol.
5827         Remove it from `scroll-preserve-screen-position-commands'.
5829         * isearch.el (isearch-allow-scroll): Doc fix.
5831 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
5833         * net/tramp.el (tramp-error-with-buffer): Don't show the
5834         connection buffer when we are in completion mode.
5835         (tramp-file-name-handler): Catch the error for some operations
5836         when we are in completion mode.  This gives the user the chance to
5837         correct the file name in the minibuffer.
5839 2010-04-15  Glenn Morris  <rgm@gnu.org>
5841         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5843 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
5845         Simplify by using `define-derived-mode'.
5846         * info.el (Info-mode):
5847         * calendar/todo-mode.el (todo-mode):
5848         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5849         (gomoku-mode-map): Move initialization into declaration.
5851 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
5853         Fix Bug#5840.
5854         * ido.el (ido-file-name-all-completions-1):
5855         * minibuffer.el (minibuffer-completion-help):
5856         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5858 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5860         * simple.el (non-essential): New var.
5862         Add a new field `location' to bookmarks for non-file bookmarks.
5863         * bookmark.el (bookmark-location): Use the new field, if present.
5864         (bookmark-insert-location): Undo last change, not needed any more.
5865         * man.el (Man-bookmark-make-record):
5866         * woman.el (woman-bookmark-make-record): Add `location' field.
5868 2010-04-14  Juri Linkov  <juri@jurta.org>
5870         * simple.el (scroll-error-top-bottom): New defcustom.
5871         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
5873         * emulation/pc-select.el (pc-select-override-scroll-error):
5874         Obsolete in favor of `scroll-error-top-bottom'.
5876 2010-04-14  Juri Linkov  <juri@jurta.org>
5878         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5879         `scroll-up-command' and `M-v' to `scroll-down-command'.
5881         * emulation/cua-rect.el (cua--init-rectangles):
5882         * forms.el (forms--change-commands):
5883         * image-mode.el (image-mode-map):
5884         Remap scroll-down-command and scroll-up-command
5885         in addition to scroll-down and scroll-up.
5887 2010-04-14  Juri Linkov  <juri@jurta.org>
5889         * mwheel.el (scroll-preserve-screen-position-commands):
5890         Add mwheel-scroll to this list of commands.
5892         * simple.el (scroll-preserve-screen-position-commands):
5893         Add scroll-up-command, scroll-down-command, scroll-up-line,
5894         scroll-down-line to this list of commands.
5896 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5898         * obsolete/complete.el: Move from lisp/complete.el.
5900         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5902         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5903         to the minor mode function now turns the mode ON unconditionally.
5905 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5907         * vc-dir.el (vc-dir-kill-line): New command.
5908         (vc-dir-mode-map): Bind it to C-k.
5910         * bookmark.el (bookmark-insert-location): Handle a nil filename.
5912         * woman.el: Add bookmark declarations to silence the compiler.
5913         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5914         step to compatibility between man and woman bookmarks.
5915         Adjust for Man-default-bookmark-title renaming.
5916         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
5918         * man.el: Add bookmark declarations to silence the compiler.
5919         (Man-name-local-regexp): Make it match NAME as well.
5920         (Man-getpage-in-background): Return the buffer.
5921         (Man-notify-when-ready): Use `case'.
5922         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5923         Don't hardcode "NAME".  Simplify.
5924         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5925         Rename from Man-bookmark-make-record.
5926         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
5927         we have the actual man-args.  Use Man-getpage-in-background rather
5928         than `man' since the arg is already processed.  Let bookmark.el do the
5929         window handling.  Only wait for the relevant process.
5930         Don't forget to autoload.
5932         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5934 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5936         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5937         New functions.
5938         (woman-mode): Setup bookmark support.
5940         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5941         (man-bookmark-jump): New functions.
5942         (Man-mode): Setup bookmark support.
5944 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
5946         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5947         recognize ssh-keygen prompt (Bug#2817).
5949 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5951         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5953 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
5955         Synchronize with Tramp repository.
5957         * net/tramp.el (tramp-completion-function-alist)
5958         (tramp-file-name-regexp, tramp-chunksize)
5959         (tramp-local-coding-commands, tramp-remote-coding-commands):
5960         Fix docstring.
5961         (tramp-remote-process-environment): Use `format' instead of `concat'.
5962         (tramp-handle-directory-files-and-attributes)
5963         (tramp-get-remote-path): Use `copy-tree'.
5964         (tramp-handle-file-name-all-completions): Backward/ XEmacs
5965         compatibility: Use `completion-ignore-case' if
5966         `read-file-name-completion-ignore-case' does not exist.
5967         (tramp-do-copy-or-rename-file-directly): Do not use
5968         `tramp-handle-file-remote-p'.
5969         (tramp-do-copy-or-rename-file-out-of-band):
5970         Use `tramp-compat-delete-directory'.
5971         (tramp-do-copy-or-rename-file-out-of-band)
5972         (tramp-compute-multi-hops, tramp-maybe-open-connection):
5973         Use `format-spec-make'.
5974         (tramp-find-foreign-file-name-handler)
5975         (tramp-advice-make-auto-save-file-name)
5976         (tramp-set-auto-save-file-modes): Remove superfluous check for
5977         `stringp'.  This is done inside `tramp-tramp-file-p'.
5978         (tramp-debug-outline-regexp): New defconst.
5979         (tramp-get-debug-buffer): Use it.
5980         (tramp-check-for-regexp): Use (forward-line 1).
5981         (tramp-set-auto-save-file-modes): Adapt version check.
5983         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5984         Wrap call of `featurep' for 2nd argument.
5985         (tramp-compat-make-temp-file): Simplify fallback implementation.
5986         (tramp-compat-copy-tree): Remove function.
5987         (tramp-compat-delete-directory): Provide implementation for older
5988         Emacsen.
5990         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5991         Do not use `tramp-fish-handle-file-attributes.
5993         * net/trampver.el: Update release number.
5995 2010-04-10  Glenn Morris  <rgm@gnu.org>
5997         * progmodes/compile.el (compilation-save-buffers-predicate):
5998         Add missing :version tag.
6000 2010-04-09  Sam Steingold  <sds@gnu.org>
6002         * progmodes/compile.el (compilation-save-buffers-predicate):
6003         Remove the "autoload" cookie.
6005         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6006         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6007         and `bug-reference-prog-mode' can be used in hooks directly.
6009 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
6011         Add --author support to git commit.
6012         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6013         (vc-git-log-edit-mode): New minor mode.
6014         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6015         New declarations.
6017 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
6019         * vc-hooks.el, vc-git.el: Improve documentation comments.
6021 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6023         Fix some of the problems in defsubst* (bug#5728).
6024         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6025         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6027 2010-04-07  Sam Steingold  <sds@gnu.org>
6029         * progmodes/compile.el (compilation-save-buffers-predicate):
6030         New custom variable.
6031         (compile, recompile): Pass it to `save-some-buffers'.
6033 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
6035         * wid-edit.el (widget-choose): Move cursor to the second line of
6036         the buffer (Bug#5695).
6038 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6040         Add new VC methods: vc-log-incoming and vc-log-outgoing.
6041         * vc.el (vc-print-log-setup-buttons): New function split out from
6042         vc-print-log-internal.
6043         (vc-log-internal-common): New function, a parametrized version of
6044         vc-print-log-internal.
6045         (vc-print-log-internal): Just call vc-log-internal-common with the
6046         right arguments.
6047         (vc-incoming-outgoing-internal):
6048         (vc-log-incoming, vc-log-outgoing): New functions.
6049         (vc-log-view-type): New permanent local variable.
6051         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6053         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6054         of the dynamic bound vc-short-log.
6055         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6057         * vc-git.el (vc-git-log-outgoing): New function.
6058         (vc-git-log-view-mode): Use vc-log-view-type instead
6059         of the dynamic bound vc-short-log.
6061         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6062         of the dynamic bound vc-short-log.  Highlight the tag.
6063         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6064         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6065         (vc-hg-incoming-mode): Remove.
6066         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6068 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
6070         Fix default-directory for vc-root-diff.
6071         * vc.el (vc-root-diff): Bind default-directory to the root
6072         directory for the diff command.
6074 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
6076         * progmodes/verilog-mode.el (verilog-forward-sexp):
6077         (verilog-calc-1): Support "disable fork" and "fork wait" multi
6078         word keywords, suggested by Steve Pearlmutter.
6079         (verilog-pretty-declarations): Support lineup of declarations in
6080         port lists.
6081         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6082         fix bug for /* / comments.
6083         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6084         Speed up and simplfy as this is never called with a bound.
6085         (verilog-pretty-declarations): Enhance to line up declarations
6086         inside a parameter list, suggested by Alan Morgan.
6087         (verilog-pretty-expr): Tune assignment regular expression match
6088         string for corner cases; also use markers instead of character
6089         number as indent changes the later.
6091 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
6093         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6094         as missing keyword.
6095         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6096         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
6097         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6098         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
6099         Tennant.
6100         (verilog-keywords):
6101         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6102         1800-2009 keywords, including "global.".
6104 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6106         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6107         appearing in buffer list (if a live buffer name matched a recentf
6108         file basename).  Should use uniquify to offer a real solution.
6110 2010-04-06  John Wiegley  <jwiegley@gmail.com>
6112         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6113         comment to code, and add a :version tag.
6114         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6116 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
6118         Enable recentf-mode if using virtual buffers.
6119         * ido.el (recentf-list): Declare for byte-compiler.
6120         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
6121         (ido-make-buffer-list): Simplify.
6122         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
6124 2010-04-05  Juri Linkov  <juri@jurta.org>
6126         Scrolling commands which scroll a line instead of full screen.
6127         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6129         * simple.el (scroll-up-line, scroll-down-line): New commands.
6130         Put property isearch-scroll=t on them.
6132         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6133         Remove commands.
6135 2010-04-05  Juri Linkov  <juri@jurta.org>
6137         Scrolling commands which do not signal errors at top/bottom.
6138         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6140         * simple.el (scroll-up-command, scroll-down-command): New commands.
6141         Put property isearch-scroll=t on them.
6143         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6144         `scroll-down-command' and [next] from `scroll-up' to
6145         `scroll-up-command'.
6147         * emulation/cua-base.el: Put property CUA=move on
6148         `scroll-up-command' and `scroll-down-command'.
6149         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6150         and `scroll-down-command' to `cua-scroll-down'.
6152 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
6154         * help.el (describe-mode): Return nil.
6156 2010-04-04  John Wiegley  <jwiegley@gmail.com>
6158         * ido.el (ido-use-virtual-buffers): New variable to indicate
6159         whether "virtual buffer" support is enabled for IDO.
6160         (ido-virtual): Face used to indicate virtual buffers in the list.
6161         (ido-buffer-internal): If a buffer is chosen, and no such buffer
6162         exists, but a virtual buffer of that name does (which would be why
6163         it was in the list), recreate the buffer by reopening the file.
6164         (ido-make-buffer-list): If virtual buffers are being used, call
6165         `ido-add-virtual-buffers-to-list' before the make list hook.
6166         (ido-virtual-buffers): New variable which contains a copy of the
6167         current contents of the `recentf-list', albeit pared down for the
6168         sake of speed, and with proper faces applied.
6169         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6170         create a list of "virtual buffers" to present to the user in
6171         addition to the currently open set.  Note that this logic could
6172         get rather slow if that list is too large.  With the default
6173         `recentf-max-saved-items' of 200, there is little speed penalty.
6175 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6177         * font-lock.el: Require CL when compiling.
6178         (font-lock-turn-on-thing-lock): Use `case'.
6180 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
6182         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6183         Zaretskii.
6185 2010-04-02  Juri Linkov  <juri@jurta.org>
6187         * ehelp.el (electric-help-orig-major-mode):
6188         New buffer-local variable.
6189         (electric-help-mode): Set it to original major-mode.  Doc fix.
6190         (with-electric-help): Use `electric-help-orig-major-mode' instead
6191         of (default-value 'major-mode).  Doc fix.
6192         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6194 2010-04-02  Sam Steingold  <sds@gnu.org>
6196         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6197         `vc-hg-command' with a list of flags.
6199         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6200         Also accept "patch" and "RFE".
6201         (bug-reference-fontify): `bug-reference-url-format' can also be a
6202         function to be able to handle the bug kind.
6203         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6205 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
6207         * tmm.el (tmm-get-keymap): Check with symbolp before passing
6208         value to fboundp, it may not be a symbol.
6210 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6212         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6214 2010-03-31  Juri Linkov  <juri@jurta.org>
6216         * simple.el (next-line, previous-line): Re-throw a signal
6217         with `signal' instead of using `ding'.
6218         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6220 2010-03-31  Juri Linkov  <juri@jurta.org>
6222         * simple.el (keyboard-escape-quit): Raise deselecting the active
6223         region higher than exiting the minibuffer.
6224         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6226 2010-03-31  Juri Linkov  <juri@jurta.org>
6228         * image.el (image-animated-p): Use `image-metadata' instead of
6229         `image-extension-data'.  Get GIF extenstion data from metadata
6230         property `extension-data'.
6232 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         * simple.el (append-to-buffer): Simplify.
6236 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
6238         * textmodes/artist.el (artist-mode): Fix typo in docstring.
6239         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
6241 2010-03-31  Kenichi Handa  <handa@m17n.org>
6243         * language/sinhala.el (composition-function-table): Fix regexp for
6244         the new Unicode specification.
6246         * language/indian.el (devanagari-composable-pattern)
6247         (tamil-composable-pattern, kannada-composable-pattern)
6248         (malayalam-composable-pattern): Adjust for the new Unicode
6249         specification.
6250         (bengali-composable-pattern, gurmukhi-composable-pattern)
6251         (gujarati-composable-pattern, oriya-composable-pattern)
6252         (telugu-composable-pattern): New variables to cope with the new
6253         Unicode specification.  Use them in composition-function-table.
6255 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6257         Make tmm-menubar work for the Buffers menu again (bug#5726).
6258         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6259         vectors rather than cons cells, as used in menu-bar-update-buffers.
6261 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6263         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6264         (js-insert-and-indent): Revert 2009-08-15 change, restoring
6265         electric punctuation for "{}();,:" (Bug#5586).
6267         * mail/sendmail.el (mail-default-directory): Doc fix.
6269 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6271         * mail/sendmail.el (mail-default-directory): Doc fix.
6273 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
6275         * subr.el (version-regexp-alist, version-to-list)
6276         (version-list-<, version-list-=, version-list-<=)
6277         (version-list-not-zero, version<, version<=, version=): Doc fix.
6278         (Bug#5744).
6280 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
6282         * vc.el (vc-root-diff): Doc fix.
6284 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6286         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6288         * simple.el (append-to-buffer): Fix last change.
6290 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
6292         * simple.el (append-to-buffer): Ensure that point is preserved if
6293         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
6294         (Bug#5749)
6296 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6298         * files.el (auto-mode-case-fold): Change default to t.
6300 2010-03-30  Juri Linkov  <juri@jurta.org>
6302         * dired-x.el (dired-omit-mode): Doc fix.
6304 2010-03-30  Juri Linkov  <juri@jurta.org>
6306         * replace.el (occur-accumulate-lines): Move occur-engine related
6307         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6308         to be located after `occur-engine'.
6310 2010-03-30  Juri Linkov  <juri@jurta.org>
6312         Make occur handle multi-line matches cleanly with context.
6313         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6315         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6316         (occur-engine): Add local variables `ret', `prev-after-lines',
6317         `prev-lines'.  Use more arguments for `occur-context-lines'.
6318         Set first elem of its returned list to `data', and the second elem
6319         to `prev-after-lines'.  Don't print the separator line.
6320         In the end, print remaining context after-lines.
6321         (occur-context-lines): Add new arguments `begpt', `endpt',
6322         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
6323         after-lines of the previous match with before-lines of the
6324         current match and not overlap them.  Return a list with two
6325         values: the output line and the list of context after-lines.
6327 2010-03-30  Juri Linkov  <juri@jurta.org>
6329         * replace.el (occur-accumulate-lines): Fix a bug where the first
6330         context line at the beginning of the buffer was missing.
6332 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
6334         * files.el: Make bidi-display-reordering safe variable for boolean
6335         values.
6337 2010-03-29  Phil Hagelberg  <phil@evri.com>
6338             Chong Yidong  <cyd@stupidchicken.com>
6340         * subr.el: Extend progress reporters to perform "spinning".
6341         (progress-reporter-update, progress-reporter-do-update):
6342         Handle non-numeric value arguments.
6343         (progress-reporter--pulse-characters): New var.
6345 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
6347         * progmodes/compile.el (compilation-start): Fix regexp detection
6348         of initial cd command (Bug#5771).
6350 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
6352         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6354 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
6356         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6357         * progmodes/gdb-mi.el: Restore.
6358         * progmodes/gdb-ui.el: Remove.
6359         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6361 2010-03-25  Glenn Morris  <rgm@gnu.org>
6363         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6364         all dired buffers, even tramp ones.  (Bug#5755)
6366 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6368         Add "union tags" in mpc.el.
6369         * mpc.el: Remove backward compatibility code.
6370         (mpc-browser-tags): Change default.
6371         (mpc--find-memoize-union-tags): New var.
6372         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6373         (mpc-cmd-find): Handle the case where the playlist does not exist.
6374         Handle union-tags.
6375         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
6376         (mpc-cmd-add): Use mpc-cmd-flush.
6377         (mpc-tagbrowser-tag-name): New fun.
6378         (mpc-tagbrowser-buf): Use it.
6379         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
6381 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6383         Misc cleanup.
6384         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6385         Use replace-regexp-in-string.
6386         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6387         (makefile-imake-mode-syntax-table): Move init into defvar.
6388         (makefile-mode): Use define-derived-mode.
6390         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6391         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6392         not be present any more.
6394 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6396         * faces.el (set-face-attribute): Fix typo in docstring.
6397         (face-valid-attribute-values): Reflow docstring.
6399 2010-03-24  Glenn Morris  <rgm@gnu.org>
6401         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6403 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6405         * indent.el (indent-for-tab-command): Doc fix.
6407 2010-03-24  Alan Mackenzie  <acm@muc.de>
6409         * progmodes/cc-engine.el (c-remove-stale-state-cache):
6410         Fix off-by-one error.  Fixes bug #5747.
6412 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6414         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6415         (image-dired-read-comment): Doc fix.
6417         * json.el (json-object-type, json-array-type, json-key-type)
6418         (json-false, json-null, json-read-number):
6419         * minibuffer.el (completion-in-region-functions):
6420         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6421         (cal-tex-cursor-week):
6422         * emacs-lisp/trace.el (trace-function):
6423         * eshell/em-basic.el (eshell/printnl):
6424         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6425         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6426         * obsolete/levents.el (allocate-event, event-key, event-object)
6427         (event-point, event-process, event-timestamp, event-to-character)
6428         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6429         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6430         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6431         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6432         (reftex-highlight-selection): Fix typos in docstrings.
6434 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
6436         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6438 2010-03-24  Glenn Morris  <rgm@gnu.org>
6440         * mail/rmail.el (rmail-highlight-face): Restore option deleted
6441         2008-02-13 without comment; mark it obsolete.
6442         (rmail-highlight-headers): Use rmail-highlight-face once more.
6444 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
6446         * woman.el (woman2-process-escapes): Only consume the newline if
6447         the filler character is on a line by itself (Bug#5729).
6449 2010-03-24  Kenichi Handa  <handa@m17n.org>
6451         * language/indian.el (devanagari-composable-pattern): Add more
6452         consonants.
6454 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6456         * net/trampver.el: Update release number.
6458 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
6460         * net/tramp.el (tramp-find-executable):
6461         Use `tramp-get-connection-buffer'.  Make the regexp for checking
6462         output of "wc -l" more robust.
6463         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6464         (tramp-open-connection-setup-interactive-shell): Remove workaround
6465         for OpenSolaris bug, it is not needed anymore.
6467 2010-03-24  Glenn Morris  <rgm@gnu.org>
6469         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
6471 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
6473         * files.el (auto-mode-alist): Accept more verilog file patterns.
6475 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6477         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6479 2010-03-24  Glenn Morris  <rgm@gnu.org>
6481         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6482         log-edit-before-checkin-process.
6484         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6486         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6488         * vc-dispatcher.el (vc-start-logentry): Doc fix.
6489         (log-view-process-buffer, log-edit-extra-flags): Declare.
6491         * log-edit.el (log-edit-before-checkin-process): Doc fix.
6493 2010-03-23  Sam Steingold  <sds@gnu.org>
6495         Fix bug#5620: recalculate all markers on compilation buffer
6496         modifications, not on file modifications.
6497         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6498         the buffer modification time, for buffers not associated with files.
6499         (compilation-mode): Create it.
6500         (compilation-filter): Update it.
6501         (compilation-next-error-function): Use it instead of
6502         `visited-file-modtime' for timestamp.
6504 2010-03-23  Juri Linkov  <juri@jurta.org>
6506         Implement Occur multi-line matches.
6507         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6509         * replace.el (occur): Doc fix.
6510         (occur-engine): Set `begpt' to the beginning of the first line.
6511         Set `endpt' to the end of the last match line.  At first, count
6512         line numbers between `origpt' and `begpt'.  Split out code from
6513         `out-line' variable to new let-bindings `match-prefix' and
6514         `match-str'.  In `out-line' add non-numeric prefix to all
6515         non-first lines of multi-line matches.  Finally, count lines
6516         between `begpt' and `endpt' and add to `lines'.
6518 2010-03-23  Juri Linkov  <juri@jurta.org>
6520         * replace.el (occur-accumulate-lines, occur-engine):
6521         Use `occur-engine-line' instead of duplicate code.
6522         (occur-engine-line): New function created from duplicate code
6523         in `occur-accumulate-lines' and `occur-engine'.
6525         * replace.el (occur-engine-line): Add optional arg `keep-props'.
6526         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6528 2010-03-23  Juri Linkov  <juri@jurta.org>
6530         * finder.el: Remove TODO tasks.
6532         * info.el (Info-finder-find-node): Add node "all"
6533         with all package info.  Handle a list of multiple keywords
6534         separated by comma.
6535         (info-finder): In interactive use with a prefix argument,
6536         use `completing-read-multiple' to read a list of keywords
6537         separated by comma.
6539 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6541         Add a new completion style `substring'.
6542         * minibuffer.el (completion-basic--pattern): New function.
6543         (completion-basic-try-completion, completion-basic-all-completions):
6544         Use it.
6545         (completion-substring--all-completions)
6546         (completion-substring-try-completion)
6547         (completion-substring-all-completions): New functions.
6548         (completion-styles-alist): New style `substring'.
6550 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6552         Get rid of .elc files after removal of the corresponding .el.
6553         * Makefile.in (compile-clean): New target.
6554         (compile-main): Use it.
6556 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
6558         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6559         don't do make there.  When compiling with separate object dir, there
6560         is no Makefile there.
6562 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6564         Get rid of the ELCFILES abomination, again.
6565         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6566         (all, compile): Don't call compile-last.
6567         (compile-main): Build the "elcfiles" list dynamically.
6568         (compile-targets): New (internal) target.
6570 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
6572         * Makefile.in (top_srcdir): Define.
6573         (abs_top_builddir): Define.
6574         (srcdir): Don't append `/..'.
6575         (EMACS): Use ${abs_top_builddir}.
6576         (all, compile, compile-always, compile-last): Don't set emacswd.
6577         (update-subdirs, update-authors): Use $(top_srcdir) instead of
6578         $(srcdir).
6579         (lisp): Use $(srcdir) instead of @srcdir@.
6581 2010-03-21  Juri Linkov  <juri@jurta.org>
6583         Fix message of multi-line occur regexps and multi-buffer header lines.
6584         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6586         * replace.el (occur-1): Don't display regexp if it is longer
6587         than window-width.  Use `query-replace-descr' to display regexp.
6588         (occur-engine): Don't display regexp in the buffer header for
6589         multi-buffer occur.  Display a separate header line with total
6590         match count and regexp for multi-buffer occur.
6591         Use `query-replace-descr' to display regexp.
6593 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
6595         * net/secrets.el: Fix parenthesis.
6596         (secrets-enabled): Fix parenthesis.
6598 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6600         Use more relative file and directory names.
6601         * Makefile.in (EMACS): Arrange for it to work when we chdir.
6602         (setwins, setwins_almost, setwins_for_subdirs):
6603         Don't `cd'; output relative names.
6604         (all, compile, compile-always, compile-last): Set emacswd.
6605         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6606         Just cd to the lisp source dir so we can use relative file names.
6608         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6610 2010-03-20  Glenn Morris  <rgm@gnu.org>
6612         * textmodes/rst.el: Use faces for font-lock customization, and make the
6613         old -face variables obsolete.
6614         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6615         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6616         (rst-block-face, rst-external-face, rst-definition-face)
6617         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6618         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6619         Make obsolete.
6620         (rst-font-lock-keywords-function): Update for above changes.
6622 2010-03-20  Juri Linkov  <juri@jurta.org>
6624         * s-region.el:
6625         * obsolete/s-region.el: Move to obsolete.
6627 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
6629         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6631 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6633         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6635 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
6637         Add special markup processing for commit logs.
6638         * log-edit.el (log-edit-extra-flags): New variable.
6639         (log-edit): Add new argument MODE.  Use that mode when non-nil
6640         instead of the log-view-mode.
6641         (log-view-process-buffer): New function.
6643         * vc.el: Document that the checkin method takes optional
6644         arguments.  Document new backend specific method: log-view-mode.
6645         (vc-default-log-edit-mode): New function.
6646         (vc-checkin): Use a backend specific log-view-mode.
6647         Pass extra arguments to the checkin method.
6648         (vc-modify-change-comment): Pass a dummy extra argument.
6650         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6651         log-edit.
6652         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6653         (vc-finish-logentry): Process the log buffer before passing it
6654         down.  Pass log-edit-extra-flags.
6656         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6657         command.
6658         (log-edit-extra-flags, log-edit-before-checkin-process):
6659         New declarations.
6661         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6662         command.
6663         (log-edit-extra-flags, log-edit-before-checkin-process):
6664         New declarations.
6665         (vc-hg-log-edit-mode): New derived mode.
6667         * vc-arch.el (vc-arch-checkin):
6668         * vc-cvs.el (vc-cvs-checkin):
6669         * vc-git.el (vc-git-checkin):
6670         * vc-mtn.el (vc-mtn-checkin):
6671         * vc-rcs.el (vc-rcs-checkin):
6672         * vc-sccs.el (vc-sccs-checkin):
6673         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6675 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6677         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6678         parent typo).
6680 2010-03-19  Glenn Morris  <rgm@gnu.org>
6682         * password-cache.el (password-cache, password-cache-expiry): Autoload.
6684 2010-03-18  Glenn Morris  <rgm@gnu.org>
6686         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6688         * replace.el (query-replace-history): Give it a doc string.
6689         (map-query-replace-regexp): Use query-replace-from-history-variable
6690         and query-replace-to-history-variable.
6692         * mail/hashcash.el (declare-function): Remove duplicate definition.
6694         * mail/emacsbug.el (report-emacs-bug-pretest-address):
6695         Make it an obsolete alias for report-emacs-bug-address.
6696         (message-strip-special-text-properties): Declare.
6697         (report-emacs-bug): Remove test for a pretest bug address.
6698         Combine message-mode-specific code.
6700         * mail/supercite.el: Don't require sendmail.
6701         (mh-in-header-p): Declare rather than using with-no-warnings.
6702         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6703         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
6705         * calendar/cal-french.el: Convert to utf-8.
6707         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6708         Emacs scripts.
6710 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
6712         * net/secrets.el (secrets-enabled): New variable.  Use it instead
6713         of a subfeature.
6715 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
6717         * net/secrets.el (top): Register the D-Bus signals only when the
6718         service "org.freedesktop.secrets" can be pinged.
6719         Provide subfeature `enabled'.
6721 2010-03-14  Juri Linkov  <juri@jurta.org>
6723         Add finder unknown keywords.
6725         * finder.el (finder-unknown-keywords): New function.
6727         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6728         to create a Finder node with unknown keywords.
6730 2010-03-14  Juri Linkov  <juri@jurta.org>
6732         * finder.el (finder-compile-keywords): Replace `princ' with
6733         `prin1' on a list of symbols interned from keyword strings.
6735         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6736         a comma, then split keywords using a comma and optional whitespace.
6737         Otherwise, split by whitespace.
6739         * complete.el:
6740         * face-remap.el:
6741         * log-view.el:
6742         * net/hmac-def.el:
6743         * net/hmac-md5.el:
6744         * net/netrc.el:
6745         * progmodes/mixal-mode.el: Fix keywords.
6747 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
6749         * Makefile.in (ELCFILES): Add net/secrets.elc.
6751         * net/secrets.el: New file.
6753 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6755         * facemenu.el (list-colors-display, list-colors-print): New arg
6756         callback.  Use it to allow selecting colors.
6758         * wid-edit.el (widget-image-insert): Insert image prop even if the
6759         current display is non-graphic.
6760         (widget-field-value-set): New fun.
6761         (editable-field): Use it.
6762         (widget-field-value-get): Clean up unused var.
6763         (widget-color-value-create, widget-color--choose-action):
6764         New funs.  Allow using list-colors-display to choose color.
6766 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6768         * cus-edit.el: Resort topmost custom groups.
6769         (custom-buffer-sort-alphabetically): Default to t.
6770         (customize-apropos): Use apropos-parse-pattern.
6771         (custom-search-field): New var.
6772         (custom-buffer-create-internal): Add custom-apropos search field.
6773         (custom-add-parent-links): Don't display parent doc.
6774         (custom-group-value-create): Don't sort top-level custom group.
6775         (custom-magic-value-create): Show visibility button before option name.
6777         (custom-variable-state): New fun, from custom-variable-state-set.
6778         (custom-variable-state-set): Use it.
6779         (custom-group-value-create): Hide options with standard values
6780         using the :hidden-states property.  Use progress reporter.
6782         (custom-show): Simplify.
6783         (custom-visibility): Disable images by default.
6784         (custom-variable): New property :hidden-states.
6785         (custom-variable-value-create): Enable images for
6786         custom-visibility widgets.  Use :hidden-states property to
6787         determine initial visibility.
6789         * wid-edit.el (widget-image-find): Give images center ascent.
6790         (visibility): Add :on-image and :off-image properties.
6791         (widget-visibility-value-create): Use them.
6793 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
6795         * cus-edit.el (processes): Remove from development group.
6796         (oop, hypermedia): Delete group.
6797         (comm): Promote to top-level group.
6799         * net/browse-url.el (browse-url):
6800         * net/xesam.el (xesam):
6801         * net/tramp.el (tramp):
6802         * net/goto-addr.el (goto-address):
6803         * net/ange-ftp.el (ange-ftp): Put in comm group.
6805         * view.el (view): Remove from editing group.
6807         * uniquify.el (uniquify): Put in files group.
6809         * net/browse-url.el (browse-url):
6810         * ps-print.el (postscript): Put in external group.
6812         * cus-edit.el (outlines):
6813         * textmodes/text-mode.el (text-mode-hook):
6814         * textmodes/table.el (table):
6815         * textmodes/picture.el (picture):
6816         * outline.el (outlines): Put in wp group.
6818         * nxml/nxml-mode.el (nxml): Remove from wp group.
6820         * net/tramp-imap.el (tramp-imap): Put in tramp group.
6822         * mail/metamail.el (metamail): Remove from hypermedia group.
6824         * cus-edit.el (abbrev):
6825         * whitespace.el (whitespace):
6826         * vcursor.el (vcursor):
6827         * reveal.el (reveal):
6828         * hl-line.el (hl-line): Put in convenience group.
6830         * epg-config.el (epg): Put in data group.
6832         * emulation/pc-select.el (pc-select): Put in emulations group.
6834         * calculator.el (calculator): Put in applications group.
6836 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6838         Add .dir-locals.el support for file-less buffers.
6839         * files.el (hack-local-variables): Split out code to apply local
6840         variable settings ...
6841         (hack-local-variables-apply): ... here.  New function.
6842         (hack-dir-local-variables): Use the default directory for when the
6843         buffer does not have an associated file.
6844         (hack-dir-local-variables-non-file-buffer): New function.
6845         * diff-mode.el (diff-mode):
6846         * vc-annotate.el (vc-annotate-mode):
6847         * vc-dir.el (vc-dir-mode):
6848         * log-edit.el (log-edit-mode):
6849         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6851 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
6853         Add support for shelving snapshots and for showing shelves.
6854         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6855         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6856         New functions.
6857         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6858         (vc-bzr-extra-menu-map): Map them.
6860 2010-03-11  Glenn Morris  <rgm@gnu.org>
6862         * cus-edit.el (customize-changed-options-previous-release):
6863         Bump to 23.1.
6865         * image.el (image-animate-max-time): Fix :version tag.
6867 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
6869         * Branch for 23.2.
6871 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6873         * vc-git.el (vc-git-revision-table): Include remote branches.
6875 2010-03-10  Kim F. Storm  <storm@cua.dk>
6877         Animated image API.
6878         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6880         * image.el (image-animate-max-time): New defcustom.
6881         (image-animated-types): New defconst.
6882         (create-animated-image, image-animate-timer)
6883         (image-animate-start, image-animate-stop, image-animate-timeout)
6884         (image-animated-p): New functions.
6886         * image-mode.el (image-toggle-display-image):
6887         Replace `create-image' with `create-animated-image'.
6889 2010-03-09  Miles Bader  <miles@gnu.org>
6891         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6892         instead of "format:"; this ensures that the output is
6893         newline-terminated.
6895 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
6897         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6898         that all errors are caught, and that the return value is always a
6899         list (Bug#5692).
6901 2010-03-08  Kenichi Handa  <handa@m17n.org>
6903         * language/misc-lang.el (windows-1256): New coding system.
6904         (cp1256): New alias of windows-1256 (bug#5690).
6906 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
6908         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6909         call to rfc822-bad-address.  (Bug#5692)
6911 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6913         * vc-git.el (vc-git-annotate-extract-revision-at-line):
6914         Use vc-git-root as default directory for revision path (Bug#5657).
6916 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
6918         * calculator.el (calculator): Don't bind split-window-keep-point
6919         (Bug#5674).
6921 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6923         * vc-git.el: Re-flow to fit into 80 columns.
6924         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6925         Remove spurious `quote' element in each case alternative.
6926         (vc-git-show-log-entry): Use prog1.
6927         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6929 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6931         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6933 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
6935         * macros.el (insert-kbd-macro): Look up keyboard macro using the
6936         definition, not the name (Bug#5481).
6938 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6940         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6941         argument with a local variable.  (Bug#5670)
6943 2010-03-02  Juri Linkov  <juri@jurta.org>
6945         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
6947 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
6949         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6950         error when FILENAME and NEWNAME are existing remote directories.
6952         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6953         parameter DIR-FLAG.
6955 2010-03-02  Glenn Morris  <rgm@gnu.org>
6957         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6958         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6960 2010-03-01  Kenichi Handa  <handa@m17n.org>
6962         * language/burmese.el (burmese-composable-pattern): Rename from
6963         myanmar-composable-pattern.
6965         * international/characters.el (script-list):
6966         * international/fontset.el (script-representative-chars):
6967         Change myanmar to burmese.
6968         (otf-script-alist): Likewise.
6969         (setup-default-fontset): Likewise.  Re-fix :otf spec.
6971 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
6973         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6975 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
6977         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6979 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6981         * net/tramp.el (tramp-handle-write-region): START can be a string.
6982         Take care in the checks.  Reported by Dan Davison
6983         <davison@stats.ox.ac.uk>.
6985 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
6987         * net/dbus.el (dbus-introspect, dbus-get-property)
6988         (dbus-set-property, dbus-get-all-properties):
6989         Use `dbus-call-method' when noninteractive.  (Bug#5645)
6991 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
6993         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6994         * emacs-lisp/elint.el (elint-add-required-env):
6995         * calendar/icalendar.el (icalendar--add-diary-entry):
6996         * calc/calcalg2.el (math-tracing-integral):
6997         * files.el (recover-session-finish): Use with-current-buffer
6998         instead of save-excursion.
7000 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7002         Fix in-buffer completion when after-change-functions modify the buffer.
7003         * minibuffer.el (completion--replace): New function.
7004         (completion--do-completion): Use it and use relative movement.
7006 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
7008         * international/fontset.el (setup-default-fontset): Fix :otf spec.
7010 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
7012         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7013         Allow the characters _<> in the stack entry (Bug#5653).
7015 2010-02-26  Kenichi Handa  <handa@m17n.org>
7017         * language/burmese.el: Fix entries in composition-function-table.
7018         (myanmar-composable-pattern): New variable.
7020         * international/fontset.el (setup-default-fontset): Add an entry
7021         for myanmar.
7023         * international/characters.el (script-list): Add Myanmar
7024         Extended-A.
7026 2010-02-26  Glenn Morris  <rgm@gnu.org>
7028         * custom.el (custom-initialize-delay): Doc fix.
7030         * mail/sendmail.el (send-mail-function): Autoload the call
7031         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7033 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
7035         * files.el (hack-local-variables-filter): For eval forms, also
7036         check safe-local-variable-p (Bug#5636).
7038 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
7040         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7041         setting the modes by `ignore-errors'.  It might fail, for example
7042         if the file is not owned by the user but the group.
7043         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7045 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
7047         * files.el (directory-listing-before-filename-regexp): Use
7048         stricter matching for iso-style dates, to avoid false matches with
7049         date-like filenames (Bug#5597).
7051         * htmlfontify.el (htmlfontify): Doc fix.
7053         * eshell/eshell.el (eshell): Doc fix.
7055         * startup.el (fancy-about-screen): In mode-line, apply
7056         mode-line-buffer-id face only to the buffer name (Bug#5613).
7058 2010-02-20  Kevin Ryde  <user42@zip.com.au>
7060         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7061         In `watcom' anchor regexp to start of line, to avoid slowness
7062         (Bug#5599).
7064 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
7066         * subr.el (remove-yank-excluded-properties): Explain in a comment
7067         why `category' property is removed.
7069 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
7071         * isearch.el (isearch-update-post-hook, isearch-update): Revert
7072         2010-02-17 change.
7074 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
7076         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7077         (icalendar--convert-weekly-to-ical)
7078         (icalendar--convert-yearly-to-ical)
7079         (icalendar--convert-block-to-ical)
7080         (icalendar--convert-cyclic-to-ical)
7081         (icalendar--convert-anniversary-to-ical): Take care of time
7082         specifications where hour has 1-digit only (Bug#5549).
7084 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
7086         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7087         of disassemble output in GDB 7.1.
7089 2010-02-19  Glenn Morris  <rgm@gnu.org>
7091         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7092         property.  (Bug#5593)
7094 2010-02-18  Sam Steingold  <sds@gnu.org>
7096         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7098 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7100         Use abbreviated file names in bookmarks (bug#5591).
7101         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7102         calls to expand-file-name.
7103         (bookmark-relocate): Use abbreviated file names in bookmarks.
7104         (bookmark-load): Use abbreviated file names in messages.
7106 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7108         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7109         expand "." and "..".  Reported by Thierry Volpiatto
7110         <thierry.volpiatto@gmail.com>.
7112 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
7114         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7115         permissions of the temporary file to "0600".  In case the remote
7116         file has no read permissions for the owner, there might be
7117         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
7119 22010-02-18  Glenn Morris  <rgm@gnu.org>
7121         * emacs-lisp/authors.el (authors-renamed-files-alist):
7122         Add entries for INSTALL.CVS.
7124 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
7126         * vc-bzr.el: Fix typo in Known Bugs section.
7128         * isearch.el (isearch-update-post-hook): New hook.
7129         (isearch-update): Use the new hook.
7131 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
7133         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7134         Fix errors in copying directories.
7135         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7136         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7137         (tramp-handle-delete-file)
7138         (tramp-handle-dired-recursive-delete-directory)
7139         (tramp-handle-write-region): Flush also the cache for the upper
7140         directory.
7142 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
7144         * simple.el (save-interprogram-paste-before-kill): Doc fix.
7146         * cus-edit.el (hardware): Doc fix.
7148         * man.el (man): Add to external custom group.
7150         * delim-col.el (columns): Move to wp custom group.
7152         * doc-view.el (doc-view): Add to data custom group.
7154         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7156         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7157         by ispell-parse-output (Bug#5575).
7159 2010-02-16  Kenichi Handa  <handa@m17n.org>
7161         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7162         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7163         (skkdic-convert): Use `euc-japan' coding system for writing.
7165 2010-02-16  Glenn Morris  <rgm@gnu.org>
7167         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7168         tex-main-file before using it.  (Bug#5562)
7170 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7172         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7173         warnings, since it is annoying for the user to see them each time he
7174         runs the code.
7176 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
7178         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7179         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7180         instead of PROC for caching "first-password-request".  Otherwise,
7181         new processes would not profit from passwords already entered.
7183         * net/tramp-cache.el (tramp-dump-connection-properties):
7184         Don't save "first-password-request" property.
7186 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
7188         * outline.el (outline-head-from-level):
7189         * simple.el (with-wrapper-hook):
7190         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7191         (elint-defun, elint-buffer-env, elint-top-form-logged)
7192         (elint-unbound-variable):
7193         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7194         Fix typos in docstrings.
7196 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
7198         * files.el (insert-directory): When WILDCARD-REGEXP and
7199         FULL-DIRECTORY-P are nil, insert the file entry instead of the
7200         whole directory.  (Bug#5551)
7202         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
7203         dired's alignment sanity.  (Bug#5516)
7205 2010-02-14  Juri Linkov  <juri@jurta.org>
7207         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7208         Remove remaining ^H with their preceding chars.  (Bug#5566)
7210 2010-02-13  Glenn Morris  <rgm@gnu.org>
7212         * simple.el (transpose-subr): Give it a doc-string.
7214         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7215         Doc fixes.
7217 2010-02-12  Juri Linkov  <juri@jurta.org>
7219         * arc-mode.el (archive-unique-fname): Make directories for nested
7220         archives.  (Bug#5540)
7222 2010-02-12  Juri Linkov  <juri@jurta.org>
7224         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
7226 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7228         * subr.el (copy-overlay): Handle deleted overlays.
7230         * man.el (Man-completion-table): Don't signal an error if we can't run
7231         manual-program (bug#4056).
7233 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
7235         * textmodes/artist.el (artist-mt): Fix typos in docstring.
7237 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7239         * info.el (Info-bookmark-jump): Simplify.
7241         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7242         (bookmark-default-handler): Accept new bookmark field `buffer'.
7244 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
7246         * iswitchb.el (iswitchb-completions): Revert last change.
7248 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
7250         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7251         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7252         This prevents file names like "~/" being listed literally.
7254 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
7256         * term/xterm.el (xterm-maybe-set-dark-background-mode):
7257         Remove dead code.  (Bug#5546)
7259 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
7261         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7262         correctly (Bug#5548).
7264 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
7266         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7267         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7269 2010-02-08  Kenichi Handa  <handa@m17n.org>
7271         * international/mule-util.el (with-coding-priority): Add autoload
7272         cookie for putting `lisp-indent-function'.
7274 2010-02-07  Glenn Morris  <rgm@gnu.org>
7276         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7277         Move F2003 named interfaces from keywords-2 to keywords-1, and
7278         use function-name-face rather than constant-face.
7279         Simplify "abstract interface" regexp.
7281 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
7283         * eshell/esh-util.el (eshell-file-attributes): New optional arg
7284         ID-FORMAT.  Pass it to `file-attributes'.
7286         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7288 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
7290         * faces.el (set-face-attribute): Allow calling
7291         internal-set-lisp-face-attribute with 'unspecified family and
7292         foundry argument (Bug#5536).
7294 2010-02-07  Glenn Morris  <rgm@gnu.org>
7296         * progmodes/f90.el (f90-font-lock-keywords-2)
7297         (f90-looking-at-type-like, f90-looking-at-program-block-end):
7298         Handle F2003 named interfaces.
7300 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
7302         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7303         beg and end before calling c-get-state-before-change-functions.
7305 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
7307         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7309 2010-02-05  Juri Linkov  <juri@jurta.org>
7311         * doc-view.el (doc-view-mode):
7312         * image-mode.el (image-mode): Put property mode-class=special.
7313         (Bug#4896)
7315 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
7317         * vc-svn.el (vc-svn-revision-table): New function.
7319 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
7321         * net/ange-ftp.el (ange-ftp-insert-directory):
7322         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7323         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7324         Handle also directories.  (Bug#5478)
7326 2010-02-05  Glenn Morris  <rgm@gnu.org>
7328         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7330 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
7332         * startup.el (command-line-1): Convert options beginning with a
7333         single dash as well (Bug#5519).
7335 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7337         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7338         * minibuffer.el (completion-initials-expand): Only check the presence
7339         of delims *within* the boundaries, since otherwise the / delim is
7340         always found for files.
7342         Fix up various corner case problems.
7343         * doc-view.el (doc-view-last-page-number): New function.
7344         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7345         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7346         (doc-view-kill-proc): Avoid inf-loop in freak cases.
7347         (doc-view-reconvert-doc): Use the new recursive delete-directory.
7348         (doc-view-convert-current-doc): Don't create the resolution.el file
7349         here any more.
7350         (doc-view-pdf/ps->png): Do it here instead.
7351         (doc-view-already-converted-p): Check that resolution.el is present.
7352         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7353         windows that are not yet showing images.
7355 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
7357         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7358         `dired-uncache' for every elemnt which is an absolute file name.
7360         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7361         directory, handle its directory component.
7362         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7363         function is called permanently and creates noise, otherwise.
7365         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7366         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7367         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
7369 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
7371         * macros.el (apply-macro-to-region-lines):
7372         Minor simplification.  (Bug#5485)
7374 2010-02-04  Glenn Morris  <rgm@gnu.org>
7376         * mail/rmail.el (rmail-show-message-1): Handle malformed
7377         quoted-printable text.  (Bug#5441)
7379         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7381         * simple.el (visual-line-mode): Capitalize lighter.
7383 2010-02-03  John Wiegley  <jwiegley@gmail.com>
7385         * iswitchb.el (iswitchb-completions): Add bookmark files to the
7386         list of files considered for "virtual buffer" completions.
7388 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
7390         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7391         also in case of (and (not full) (not wildcard)).  This is needed
7392         when dired is called with a list of files, which are not in
7393         `default-directory'.  (Bug#5478)
7395 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7397         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7399 2010-02-02  Juri Linkov  <juri@jurta.org>
7401         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7402         from unidiff to allow function-line after @@.
7404 2010-02-02  Juri Linkov  <juri@jurta.org>
7406         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7407         '(RCS SCCS) with inverted condition.
7409 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
7411         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7412         messages.
7414 2010-02-01  Juri Linkov  <juri@jurta.org>
7416         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7417         compare with "pkunzip" and "pkzip" instead of only "pkzip".
7418         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7419         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
7421 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7423         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7424         (doc-view-revert-buffer): New command.
7425         (doc-view-mode-map): Use it.
7427 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
7429         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7430         pending merge is detected.
7432 2010-01-31  Juri Linkov  <juri@jurta.org>
7434         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7435         beginning of interactive spec like all other grep commands do.
7436         Put "all" in front of "gz".  (Bug#5260)
7438 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
7440         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7442 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
7444         * dirtrack.el (dirtrack): Warn instead of signalling error if the
7445         regexp is incorrect (Bug#5476).
7447 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
7449         * net/tramp.el (tramp-handle-insert-directory): Handle also
7450         symlinks, when FILENAME is not in `default-directory'.
7452 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7454         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7455         FILE is not in `default-directory'.  (Bug#5478)
7457         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7458         of SWITCHES.  Handle the case, FILENAME is not in
7459         `default-directory'.  (Bug#5478)
7460         (tramp-register-file-name-handlers): Add safe-magic property.
7462 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
7464         * arc-mode.el (archive-zip-extract): Quote the argument passed to
7465         unzip (Bug#5475).
7467 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
7469         * progmodes/flymake.el (flymake-allowed-file-name-masks)
7470         (flymake-master-make-header-init): Add other C++ filename masks.
7471         (flymake-find-possible-master-files)
7472         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7474 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
7476         Fix some busybox annoyances.
7478         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7479         not responding." string.
7480         (tramp-open-connection-setup-interactive-shell): Dump stty
7481         settings.  Enable "neveropen" arg for all `tramp-send-command'
7482         calls.  Handle "=" in variable values properly.
7483         (tramp-find-inline-encoding): Raise an error, when no encoding is
7484         found.
7485         (tramp-wait-for-output): Check, whether PROC buffer is available.
7486         Remove spurious " ^H" sequences, sent by busybox.
7487         (tramp-get-ls-command): Suppress coloring, if possible.
7489 2010-01-28  Glenn Morris  <rgm@gnu.org>
7491         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
7493         * log-edit.el (log-edit-strip-single-file-name): Add missing
7494         :safe, :group, and :version tags.
7496 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
7498         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7499         buffers.  (Bug#5477)
7501 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
7503         * files.el (delete-directory): Handle moving to trash without
7504         first doing recursion (Bug#5436).
7506 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
7508         * vc-hooks.el (vc-path): Mark as obsolete.
7510 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
7512         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7513         names too.
7515         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7516         for the short log.
7517         (vc-bzr-log-view-mode): Adjust regexp for the above change.
7519 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
7521         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7523         * vc-bzr.el (vc-bzr-revision-table): New function.
7525 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
7527         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7528         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
7530 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
7532         Remove support for adding --signoff on commit.
7533         Future support will use an incompatible generic mechanism.
7534         * vc-git.el (vc-git-add-signoff): Remove variable.
7535         (vc-git-toggle-signoff): Remove function.
7536         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7538         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7539         from xterm-set-background-mode.  Return t if the background mode
7540         was set.
7541         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7542         earlier, call it again in case the background mode has changed.
7544 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
7546         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7547         (Bug#3541).
7549 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
7551         * emacs-lisp/assoc.el (aelement): Doc fix.
7552         (aput, adelete, amake): Use lexical-let (Bug#5450).
7554 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
7556         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7557         is the same as subprogram call, not declaration.  (Bug#5435).
7559 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
7561         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7562         (tramp-smb-maybe-open-connection): Use it.
7564 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
7566         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
7568 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7570         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7571         just because we see "encoding: 8bit".
7572         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7574 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
7576         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7578 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
7580         * jka-compr.el (jka-compr-load): If load-file is not in
7581         load-history, try its file-truename version.  (bug#5447)
7583 2010-01-21  Alan Mackenzie  <acm@muc.de>
7585         Fix a situation where deletion of a cpp construct throws an error.
7586         * progmodes/cc-engine.el (c-invalidate-state-cache):
7587         Before invoking c-with-all-but-one-cpps-commented-out, check that the
7588         special cpp construct is still in the buffer.
7589         (c-parse-state): Record the special cpp with markers, not numbers.
7591 2010-01-21  Kenichi Handa  <handa@m17n.org>
7593         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7594         process last-command-event, as it is now decoded first (Bug#5380).
7596 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
7598         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7600 2010-01-20  Glenn Morris  <rgm@gnu.org>
7602         * indent.el (tab-always-indent): Fix custom-type.
7604 2010-01-19  Alan Mackenzie  <acm@muc.de>
7606         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7607         buffer throws "args out of range".
7608         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7609         playing the role of delimiter.
7611 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
7613         * progmodes/ada-mode.el: Fix bug#5400.
7614         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7615         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7616         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
7617         Improve comments in "is" portion.  Handle null procedure declaration.
7618         (ada-move-to-end): Improve doc string.
7620 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
7622         * ido.el (ido-cur-list): Initialize to nil.
7623         Remove obsolete information from commentary.
7624         (ido-choice-list): Initialize to nil.
7625         (ido-get-bufname): Reject minibuffers.
7626         (ido-make-buffer-list): If "default" is a nonexistent
7627         buffer, ignore it, as per the function's comment.
7628         (ido-kill-buffer-internal): New function.
7629         (ido-kill-buffer-at-head): Use it.
7630         (ido-visit-buffer): Likewise.
7632 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
7634         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7636 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
7638         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7639         Fix typos in chart titles.
7641         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7642         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7643         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7644         (describe-class, eieio-describe-generic, describe-generic):
7645         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7646         (eieio-speedbar-expand):
7647         * emulation/viper-cmd.el (viper-exec-form-in-vi)
7648         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7649         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7650         (viper-del-backward-char-in-replace, viper-backward-indent)
7651         (viper-brac-function, viper-register-to-point, viper-submit-report):
7652         * net/tramp.el (tramp-remote-coding-commands):
7653         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7654         Fix typos in docstrings.
7656 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
7658         * mail/sendmail.el (mail-yank-original): Set the mark if the
7659         specified function for yanking does not do it.
7661 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
7663         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
7665         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7666         resyncing a directory.
7668 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
7670         * progmodes/ada-mode.el: Fix bug#1920.
7671         (ada-ident-re): Delete ., allow multibyte characters.
7672         (ada-goto-label-re): New; matches goto labels.
7673         (ada-block-label-re): New; matches block labels.
7674         (ada-label-re): New; matches both.
7675         (ada-named-block-re): Deleted; callers changed to use
7676         `ada-block-label-re' instead.
7677         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7678         Use `ada-block-label-re'.
7679         (ada-indent-on-previous-lines): Improve handling of goto labels.
7680         (ada-get-indent-block-start): Special-case block label.
7681         (ada-get-indent-label): Split into `ada-indent-block-label' and
7682         `ada-indent-goto-label'.
7683         (ada-goto-stmt-start, ada-goto-next-non-ws):
7684         Optionally ignore goto labels.
7685         (ada-goto-next-word): Simplify.
7686         (ada-indent-newline-indent-conditional): Insert newline before
7687         trying to fix indentation; doc fix.
7689 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
7691         * calc/calc.el (calc-command-flags): Give it an initial value.
7693 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
7695         * files.el (minibuffer-with-setup-hook):
7696         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7697         (artist-key-draw-continously, artist-key-do-continously-continously)
7698         (artist-key-set-point-continously, artist-mouse-draw-continously):
7699         Fix typos in docstrings.
7701 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
7703         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7704         return t (Bug#3898).
7706 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
7708         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7709         can parse the output of the external commands (Bug#5279).
7711 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
7713         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7715 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
7717         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7719         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7721         * startup.el (command-line): Remove unused --icon-type arg.
7722         Handle --display arg, passing it to command-line-1 (Bug#5392).
7724 2010-01-16  Mario Lang  <mlang@delysid.org>
7726         * emacs-lisp/chart.el (chart-translate-namezone):
7727         * textmodes/artist.el (artist-compute-popup-menu-table):
7728         Remove duplicated words in doc-strings.
7730 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
7732         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7733         to mairix-search to suppress threading (Bug#5342).
7735 2010-01-15  Kenichi Handa  <handa@m17n.org>
7737         * international/mule-cmds.el (canonicalize-coding-system-name):
7738         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7740 2010-01-15  Glenn Morris  <rgm@gnu.org>
7742         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
7744         * wid-edit.el (widget-keymap): Doc fix.
7746         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7747         former seems to be more widely accepted by various svn versions.
7749 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7751         * find-cmd.el (find-constituents):
7752         * vc-arch.el (vc-arch-root):
7753         * window.el (window-body-height, pop-up-frames):
7754         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7755         * progmodes/ada-stmt.el (ada-if):
7756         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7757         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7758         (ispell-encoding8-command, ispell-aspell-supports-utf8)
7759         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7761         * progmodes/flymake.el (flymake-post-syntax-check):
7762         Fix typo in error message.
7764 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7766         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7767         which is always a string.  (Bug#5313)
7769 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
7771         * progmodes/ada-xref.el (ada-default-prj-properties):
7772         Simplify previous change.
7774 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7776         * progmodes/ada-xref.el (ada-default-prj-properties):
7777         Default ada_project_path to $ADA_PROJECT_PATH.
7779 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7781         * progmodes/ada-mode.el (ada-create-keymap):
7782         Override `narrow-to-defun' with `ada-narrow-to-defun'.
7784 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7786         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7787         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7788         (ada-get-current-indent, ada-imenu-generic-expression)
7789         (ada-which-function): Check for it.
7791 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
7793         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7794         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7796 2010-01-14  Glenn Morris  <rgm@gnu.org>
7798         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
7800 2010-01-14  Kenichi Handa  <handa@m17n.org>
7802         * composite.el (auto-composition-mode): Make it a buffer local
7803         variable (permanent-local).
7804         (auto-composition-function): Set the default value to
7805         auto-compose-chars.
7806         (auto-composition-mode): Make it a simple function, not a minor mode.
7807         (global-auto-composition-mode): Likewise.
7808         (turn-on-auto-composition-if-enabled): Delete it.
7810 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
7812         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7814 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
7816         * files.el (copy-directory): Compute target for recursive
7817         directories with identical names.  (Bug#5343)
7819 2010-01-12  Glenn Morris  <rgm@gnu.org>
7821         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7822         it to bug-gnu-emacs rather than emacs-pretest-bug.
7824 2010-01-11  Sam Steingold  <sds@gnu.org>
7826         * imenu.el (imenu-default-create-index-function): Detect infinite
7827         loops caused by imenu-prev-index-position-function.
7829 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7831         * htmlfontify.el (htmlfontify-load-rgb-file)
7832         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7833         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7834         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7835         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7836         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7837         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7838         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7839         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7840         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7841         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7842         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7843         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7844         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7845         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7846         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7847         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7848         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7849         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7850         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7851         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7852         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7853         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7854         backslash-quoting from parentheses, etc.
7856 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
7858         * progmodes/js.el: Autoload javascript-mode alias.
7860 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
7862         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7863         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7864         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7865         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7866         Fix typos in docstrings.
7867         (ffap-url-regexp): Doc fix.
7868         (ffap-at-mouse): Fix typo in message.
7870 2010-01-11  Glenn Morris  <rgm@gnu.org>
7872         * version.el (emacs-copyright): Set copyright year to 2010.
7874 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7876         * format.el (format-annotate-function): Only set
7877         write-region-post-annotation-function after running to-fn so as not to
7878         affect nested write-region calls (bug#5273).
7880 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
7882         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7883         wisent/python.el.
7885 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7887         * man.el (Man-goto-section): Signal error if the section is not
7888         found (Bug#5317).
7890 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
7892         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7893         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
7895 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
7897         * progmodes/compile.el: Don't treat compile-command as safe if
7898         compilation-read-command might be nil (Bug#4218).
7900 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
7902         * startup.el (command-line-1): Use orig-argi to check for ignored X and
7903         NS options.
7905 2010-01-08  Kenichi Handa  <handa@m17n.org>
7907         * international/fontset.el (build-default-fontset-data):
7908         Exclude characters in scripts kana, hangul, han, or cjk-misc.
7910 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
7912         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7913         to `create-file-buffer' as it expects, not just a buffer name.
7914         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7915         to help uniquify.  (Bug#3224)
7917 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
7919         * font-setting.el (font-setting-change-default-font): Use user-spec
7920         instead of name.
7922 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
7924         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7926 2010-01-05  Tom Tromey  <tromey@redhat.com>
7928         * progmodes/python.el (python-font-lock-keywords):
7929         Handle qualified decorators (Bug#881).
7931 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7933         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7934         in a lightweight checkout.
7936 2010-01-05  Kenichi Handa  <handa@m17n.org>
7938         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7940 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
7942         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7944 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
7946         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7947         checkouts.  (Bug#618)
7948         (vc-bzr-log-view-mode): Also highlight the author.
7949         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7950         (vc-bzr-shelve-menu-map):
7951         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7952         (vc-bzr-shelve-apply): Make prompt more explicit.
7954 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
7956         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7957         They are valid characters in URL paths (rfc3986), and at least
7958         Firefox does not understand the encoded version (Bug#3166).
7960 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
7962         * progmodes/octave-mod.el (octave-end-keywords)
7963         (octave-block-begin-or-end-regexp, octave-block-match-alist):
7964         Add "end" keyword (Bug#3061).
7965         (octave-end-as-array-index-p): New function.
7966         (calculate-octave-indent): Use it.
7968 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7970         * bookmark.el: Consistently put the text property on the bookmark name.
7971         (bookmark-bmenu-marks-width): Bump back to 2, to include
7972         annotation marks.
7973         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7974         property on the bookmark name, instead of not putting it at all.
7975         (bookmark-bmenu-list): Fix where we put the text property.
7977 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7979         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7980         for showing buffer modified state (as added in the previous change).
7982 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7984         * bookmark.el: Show modified state of bookmark buffer more accurately.
7985         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7986         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7987         (with-buffer-modified-unmodified): New macro.
7988         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7989         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7990         Use new macro to preserve the buffer modified state.
7992 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
7994         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7995         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7996         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7997         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7998         (bookmark-bmenu-rename, bookmark-bmenu-locate)
7999         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8000         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8002 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
8004         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8005         Make the lines in the generated doc string shorter.  (Bug#4668)
8007 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
8009         * net/rcirc.el: Add follow-link binding (Bug#4738).
8011 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
8013         * Makefile.in (bzr-update): Rename from cvs-update.
8014         (cvs-update): New target for backward compatibility.
8016         * makefile.w32-in (bzr-update): Rename from cvs-update.
8017         (cvs-update): New target for backward compatibility.
8019 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8021         * bookmark.el: Remove gratuitous gratitude.
8023 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8025         * bookmark.el (bookmark-bmenu-any-marks): New function.
8026         (bookmark-bmenu-save): Clear buffer modification if no marks.
8028 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8030         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8031         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8032         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8033         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8035         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8036         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8037         To: emacs-devel {_AT_} gnu.org
8038         Subject: bookmark.el bug report
8039         Date: Mon, 28 Dec 2009 14:19:16 +0800
8040         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8042 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
8044         * bookmark.el: Improvements suggested by Drew Adams:
8045         (bookmark-bmenu-ensure-position): New name for
8046         `bookmark-bmenu-check-position'.  Just ensure the position,
8047         don't return any meaningful value.
8048         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8049         New constants.
8051 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
8053         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8054         (bookmark-yank-point, bookmark-bmenu-check-position):
8055         Fix typos in docstrings.
8056         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8057         (bookmark-name-from-full-record, bookmark-get-position)
8058         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8059         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8060         Remove useless quoting of parenthesis, etc. in docstrings.
8062         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8063         (ediff-append-custom-diff): Fix typo in error message.
8064         (ediff-meta-mark-equal-files): Fix typos in messages.
8066         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8068         * net/imap-hash.el (imap-hash-make): Doc fix.
8069         (imap-hash-test): Fix typo in error message; reflow docstring.
8070         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8071         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8072         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8073         Fix typos in docstrings.
8074         (imap-hash-open-connection): Fix typo in error message.
8076         * play/gomoku.el (gomoku): Fix typos in docstring.
8078         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8079         (gdb-jsonify-buffer): Fix typos in docstring.
8080         (gdb-goto-breakpoint): Fix typo in error message.
8081         ("Display Other Windows"): Fix typo in help message.
8082         (gdb-speedbar-expand-node): Fix typo in question.
8084         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8085         (idlwave-html-system-help-location, idlwave-html-help-location)
8086         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8087         (idlwave-help-browser-generic-args, idlwave-help-directory)
8088         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8089         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8090         (idlwave-online-help, idlwave-help-html-link)
8091         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8092         Fix typos in docstrings.
8093         (idlwave-help-with-source, idlwave-help-find-routine-definition):
8094         Reflow docstrings.
8095         (idlwave-help-assistant-start): Fix typo in error message.
8097         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8098         (octave-electric-space): Fix typos in docstrings.
8100 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
8102         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8104 2010-01-01  Juri Linkov  <juri@jurta.org>
8106         * comint.el (comint-input-ring-size): Make it a defcustom and
8107         increase the default to 500 (Bug#5148).
8109 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
8111         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8112         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8113         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8115 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
8117         Show working revision correctly for mercurial.
8118         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8119         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8121 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
8123         Declare some functions for the byte-compiler.
8124         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8125         (speedbar-timer-fn, speedbar-change-expand-button-char)
8126         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8128 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
8130         This changeset reverts GDB Graphical Interface to use annotations.
8131         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8133 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
8135         Make vc-dir work on subdirectories of the bzr root.
8136         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
8137         file names relative to it.
8138         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8139         relative directory to vc-bzr-after-dir-status.
8141 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
8143         * font-lock.el (font-lock-refresh-defaults): New function, which
8144         can be used to let font-lock react to external changes in
8145         variables like font-lock-defaults and keywords.
8146         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8148 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
8150         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8152         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8154 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
8156         Supersede color.diff settings in git log (bug#5211).
8158         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8159         escape chars in its output when the user has color.diff set to `always'.
8160         This fix works on git 1.4.2 and newer (released on 2006-08-13).
8162 2009-12-26  Kevin Ryde  <user42@zip.com.au>
8164         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8165         node.  Keep previous "Index" name to work with past coreutils too.
8167         * man.el (man): Revise docstring a bit to show -a and -l as
8168         examples.  Add -k description since support for it has otherwise
8169         been a secret.  (Further to bug#3717.)
8170         (Man-bgproc-sentinel): When "-k foo" produces no output show error
8171         "no matches" rather than "Can't find manpage", as the latter reads
8172         like -k was interpreted as a page name, which is not so.  (Bug#5431)
8174 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
8176         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8177         switches.  Check also for //SUBDIRED// line.
8179 2009-12-25  Kenichi Handa  <handa@m17n.org>
8181         * language/indian.el (devanagari-composable-pattern): Fixed to
8182         handle ZWNJ and ZWJ.  Use it in composition-function-table for
8183         Devanagari.
8184         (malayalam-composable-pattern): Fix previous change.
8186 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8188         * ps-print.el (ps-face-attributes): It was not returning the
8189         attribute face for faces specified as string.  Reported by harven
8190         <harven@free.fr>.  (Bug#5254)
8191         (ps-print-version): New version 7.3.5.
8193 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
8195         * calendar/icalendar.el (icalendar--convert-tz-offset):
8196         Fix timezone names.
8197         (icalendar--convert-tz-offset): Fix the "last-day-problem".
8198         (icalendar--add-diary-entry): Remove the trailing blank that
8199         diary-make-entry inserts.
8201 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
8203         Make `file-expand-wildcards' work for remote files.
8205         * files.el (file-expand-wildcards): In case of remote files, check
8206         only local file name part for wildcards.  Provide feature 'files
8207         and subfeature 'remote-wildcards.  (Bug#5198)
8209         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8210         if there is already an established connection.
8211         (tramp-advice-file-expand-wildcards): Remove it.
8213         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8214         (tramp-advice-file-expand-wildcards): Move from tramp.el.
8215         Activate advice for older GNU Emacs versions.  (Bug#5237)
8217 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
8219         Some doc fixes (more needed).
8221         * find-cmd.el (find-constituents): Reflow docstring.
8222         (find-cmd, find-prune, find-command): Fix typos in docstrings.
8223         (find-generic): Doc fix.
8225 2009-12-17  Juri Linkov  <juri@jurta.org>
8227         Fix regression from 23.1 to allow multiple modes in Local Variables.
8229         * files.el (hack-local-variables-filter): While ignoring duplicates,
8230         don't take `mode' into account.
8231         (hack-local-variables-filter, hack-dir-local-variables):
8232         Don't remove duplicate `mode' from local-variables-alist (like `eval').
8234 2009-12-17  Juri Linkov  <juri@jurta.org>
8236         Make `dired-diff' safer.  (Bug#5225)
8238         * dired-aux.el (dired-diff): Signal an error when `file' equals to
8239         `current' or when `file' is a directory of the `current' file.
8241 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
8243         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8244         unconditionally preloaded files.
8246 2009-12-16  Juri Linkov  <juri@jurta.org>
8248         Revert to old 23.1 logic of using the file at the mark as default.
8249         * dired-aux.el (dired-diff): Use the file at the mark as default
8250         if it's not the same as the current file, and the target dir is
8251         the current dir or the mark is active.  Add the current file
8252         as the arg of `dired-dwim-target-defaults'.  Use the default file
8253         in the prompt.  (Bug#5225)
8255 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
8257         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8258         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8259         (tramp-check-for-regexp): Check also, when an echoing shell stops
8260         to echo sent commands.
8262 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8264         * Makefile.in: Revert last change (Bug#5191).
8266 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
8268         * vc-hg.el (vc-hg-print-log): Fix argument order.
8269         (vc-hg-working-revision): Make sure the command is executed in a
8270         known environment so that we can parse the output.  (Bug#4417)
8272 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
8274         * progmodes/python.el (python-symbol-completions): Remove text
8275         properties from symbol string before calling python-send-receive.
8277 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
8279         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8280         when there are values for both file and line.  (Bug#5060)
8282 2009-12-14  Juri Linkov  <juri@jurta.org>
8284         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8285         whitespace after the file name of the first line of unified format,
8286         because git-diff doesn't output whitespace and file modification time
8287         after the file name.
8289 2009-12-14  David Kastrup  <dak@gnu.org>
8291         * info.el (Info-hide-cookies-node): Before hiding a cookie,
8292         check if it already has the `display' property added by
8293         `Info-display-images-node', and not put the `invisible' property
8294         in this case.
8296 2009-12-13  Glenn Morris  <rgm@gnu.org>
8298         * mail/emacsbug.el (message-sort-headers): Define for compiler.
8299         (report-emacs-bug): In message-mode, sort manually before storing
8300         original report text.  (Bug#5178)
8301         Remove superfluous save-excursion.
8303 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
8305         * net/dbus.el (dbus-property-handler): Filter lambda forms out
8306         when responding to "GetAll" properties.
8308 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
8310         * simple.el (compose-mail): Remove mail-setup-with-from from
8311         customization checks.
8313 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
8315         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8316         RAR archives created on Unix systems.
8318 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8320         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8321         the varalias that was accidentally removed by the 2009-11-19 change
8322         (bug#5186).
8324 2009-12-12  Kenichi Handa  <handa@m17n.org>
8326         * language/indian.el (indian-compose-regexp): New function.
8327         (malayalam-composable-pattern): Fix the pattern.
8328         (composition-function-table): Set malayalam-composable-pattern for
8329         Malayalam characters.
8331 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
8333         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8334         rather than down-mouse-1, based on follow-link conventions.
8336         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8337         are compiled.
8339 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
8341         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8342         (verilog-vmm-statement-re, verilog-ovm-statement-re)
8343         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8344         (verilog-leap-to-head, verilog-backward-token):
8345         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
8347 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
8349         * progmodes/verilog-mode.el (verilog-auto-lineup)
8350         (verilog-nameable-item-re): Cleanup user-visible spelling and
8351         documentation errors.  One reported by Gary Delp.
8352         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8353         (verilog-read-decls): Fix AUTOWIRE with types declared in a
8354         package, bug195.  Reported by Pierre-David Pfister.
8356 2009-12-11  Glenn Morris  <rgm@gnu.org>
8358         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8360         * mail/emacsbug.el: No longer require sendmail.
8361         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
8362         (report-emacs-bug-orig-text): Doc fix.
8363         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8364         New local variables, to adapt to different mail-user-agents.
8365         (report-emacs-bug): Fix test for a gnu.org address.
8366         Use overlays for emphasis, since font-lock defeats 'face property.
8367         Pretest bugs also end up at the newsgroup these days.
8368         Stop message-mode stripping text properties.
8369         Set and use the new buffer-local variables.
8370         (report-emacs-bug-hook): Add doc-string.
8371         Remove some unnecessary save-excursions and simplify.
8372         Use the appropriate hook and send-command.
8374         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8375         capitalization of some menu entries.
8377 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
8379         * whitespace.el (whitespace-display-char-on):
8380         Ensure `buffer-display-table' is unique when two or more windows are
8381         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8382         New version 12.1.
8384 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
8386         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8387         characters in the Attribute field.
8389 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
8391         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
8393 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8395         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8396         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8397         Disregard autoload-excludes.
8398         (update-directory-autoloads): Obey autoload-excludes here instead.
8399         But don't store its contents in no-autoloads and remove entries that
8400         refer to excludes files.
8402 2009-12-10  Glenn Morris  <rgm@gnu.org>
8404         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8405         (expand-mail-aliases): Define for compiler.
8407         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8408         Define for compiler.
8410         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8411         appropriate for the mail-user-agent in use.
8413 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
8415         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8417 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
8419         Fix short log parsing and fontification.
8420         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8421         Fix fontification for the [merge] label.
8423 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
8425         Drop some properties to avoid surprises (bug#5002).
8426         * htmlfontify.el (hfy-ignored-properties): New defcustom.
8427         (hfy-fontify-buffer): Use it.
8429 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8431         Minor cleanup.
8432         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8433         Adjust all callers.
8434         (ffap-locate-file): Remove unused arg `dir-ok' and make other
8435         args compulsory.  Adjust callers.
8436         (ffap-gopher-at-point): Remove unused var `name'.
8438         Get rid of the ELCFILES abomination.
8439         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8440         (compile-elcfiles): New phony target.
8441         (compile-main): Compute ELCFILES dynamically.
8442         (compile-clean): New target to remove left-over elc files.
8443         (compile, all): Use it.
8445 2009-12-09  Kenichi Handa  <handa@etlken>
8447         * international/mule-diag.el: Require help-mode instead of help-fns.
8449 2009-12-09  Kenichi Handa  <handa@m17n.org>
8451         * international/mule-cmds.el (ucs-names): Supply sufficiently
8452         fine ranges instead of pre-calculating accurate ranges.
8453         Iterate with bigger gc-cons-threshold.
8455 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
8457         Add support for stashing a snapshot of the current tree.
8458         * vc-git.el (vc-git-stash-snapshot): New function.
8459         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8461 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
8463         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8464         instead of `(beginning|end)-of-line'.
8466 2009-12-08  Glenn Morris  <rgm@gnu.org>
8468         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8470         * Makefile.in (ELCFILES): Regenerate.
8472 2009-12-07  Juri Linkov  <juri@jurta.org>
8474         Don't lazy-highlight the comint output in history Isearch mode.
8476         * comint.el (comint-history-isearch-search): Instead of
8477         `comint-line-beginning-position', use `comint-after-pmark-p'
8478         to check if point if before the process mark, and go to
8479         `process-mark' in this case.
8481 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8483         * textmodes/tex-mode.el (latex-complete)
8484         (latex-indent-or-complete): Remove.
8485         (latex-mode): Set completion-at-point-functions instead.
8487         Provide a standard completion command and hook it into TAB.
8488         * minibuffer.el (completion-at-point-functions): New var.
8489         (completion-at-point): New command.
8490         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8491         * progmodes/python.el (python-mode-map): Use completion-at-point.
8492         (python-completion-at-point): Rename from python-partial-symbol and
8493         adjust for use in completion-at-point-functions.
8494         (python-mode): Setup completion-at-point for Python completion.
8495         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8496         extracted from lisp-complete-symbol.
8497         (lisp-complete-symbol): Use it.
8498         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8499         setup completion-at-point for Elisp completion.
8500         (emacs-lisp-mode-map, lisp-interaction-mode-map):
8501         Use completion-at-point.
8502         * ielm.el (ielm-map): Use completion-at-point.
8503         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8504         * progmodes/sym-comp.el: Move to...
8505         * obsolete/sym-comp.el: Move from progmodes.
8507 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
8509         Prevent save-buffer in Rmail buffers from using the coding-system
8510         of the current message, and from clobbering the encoding mnemonics
8511         in the mode line (Bug#4623).
8513         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8514         flag, too.
8515         (rmail-message-encoding): New variable.
8516         (rmail-write-region-annotate): Record the encoding of the current
8517         message in rmail-message-encoding.
8518         (rmail-after-save-hook): New function, restores the encoding of
8519         the current message after the message collection is saved.
8521 2009-12-07  Juri Linkov  <juri@jurta.org>
8523         * progmodes/grep.el (grep-read-files): Use `completing-read'
8524         instead of `read-string'.  Set its `collection' arg to
8525         `read-file-name-internal'.  (Bug#4301)
8527 2009-12-07  Juri Linkov  <juri@jurta.org>
8529         Correctly restore original Isearch point.  (Bug#4994)
8531         * isearch.el (isearch-mode): Move `isearch-push-state' after
8532         `(run-hooks 'isearch-mode-hook)'.
8533         (isearch-cancel): When `isearch-push-state-function' is defined,
8534         let-bind `isearch-cmds' to the first state (the last element of
8535         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8536         function and restores the original point).  Otherwise, move point
8537         to `isearch-opoint'.
8539 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8541         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8542         chars that don't have names, so the table can be built much faster at
8543         run-time.
8545 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
8547         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8548         change.  Suggested by David Kastrup.
8550         * simple.el (compose-mail): Check for incompatibilities and warn.
8551         (compose-mail-user-agent-warnings): New option.
8553 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8555         Support showing a single log entry from vc-annotate.
8556         * vc.el (print-log): Add a new argument: START-REVISION.
8557         (vc-print-log-internal): Add a new optional argument and
8558         pass it to the backend.
8559         (vc-print-log, vc-print-root-log): Adjust callers.
8560         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8561         buffer already displays the requested log entry, use it.
8562         Otherwise display only the log entry in question.
8563         * vc-svn.el (vc-svn-print-log):
8564         * vc-mtn.el (vc-mtn-print-log):
8565         * vc-hg.el (vc-hg-state):
8566         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8567         (vc-git-show-log-entry): Return t on success.
8568         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8569         (vc-bzr-show-log-entry): Return t on success.
8570         * vc-rcs.el (vc-rcs-print-log):
8571         * vc-sccs.el (vc-sccs-print-log):
8572         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8574 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8576         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8577         Add menus to the meta mode.  (Bug#5043)
8579 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
8581         * ediff-init.el (ediff-event-key): Use event-to-character instead of
8582         event-key.
8584         * ediff.el (ediff-buffers-internal): Add unwind-protect.
8586 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
8588         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
8589         Berbain <raphael.berbain@gmail.com>.
8591         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
8592         characters.
8593         (tramp-initial-end-of-output): New defconst.
8594         (tramp-methods, tramp-find-shell)
8595         (tramp-open-connection-setup-interactive-shell)
8596         (tramp-maybe-open-connection): Use it.
8597         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8598         existence of `#' and `$'.
8600         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8601         `tramp-initial-end-of-output'.
8603 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
8605         Get the background mode from the terminal for xterm, and set
8606         faces accordingly.
8607         * term/xterm.el (xterm-set-background-mode): New function.
8608         (terminal-init-xterm): Use it in case xterm supports background
8609         color queries.  Recompute faces after getting the background
8610         color.
8612 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
8614         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8615         number comment back on its own line, for easier parsing.
8617 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8619         Make it work for non-file buffers (bug#5102).
8620         * doc-view.el (doc-view-current-cache-dir):
8621         Use doc-view-buffer-file-name rather than buffer-file-name.
8622         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8624 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
8626         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8627         author field is too short.
8629 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
8631         * vc-git.el (vc-git-print-log): Handle a limit argument.
8632         Display the short log in graph form and with labels.
8633         (vc-git-log-view-mode): Handle labels.
8635         Make vc-revert change VC state from 'added to 'unregistered.
8636         * vc-git.el (vc-git-revert): Call git reset first.
8638 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8640         * net/newst-backend.el, net/newst-plainview.el:
8641         * net/newst-reader.el, net/newst-ticker.el:
8642         * net/newst-treeview.el, net/newsticker.el:
8643         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
8645 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8647         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8649         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8650         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
8651         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8652         Update annotation regexp.
8654         * simple.el (beginning-of-visual-line): Constrain to field
8655         boundaries (Bug#5106).
8657 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
8659         * xml.el (xml-substitute-numeric-entities): Move
8660         newsticker--decode-numeric-entities in newst-backend.el to
8661         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8662         * net/newst-backend.el (newsticker--parse-generic-feed)
8663         (newsticker--parse-generic-items)
8664         (newsticker--decode-numeric-entities): Move
8665         newsticker--decode-numeric-entities in newst-backend.el to
8666         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
8668 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
8670         * progmodes/js.el (js--js-not): Add null to the list of values.
8672 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
8674         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8676 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8678         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8679         delimiter if it is at the end of the current line.
8680         (bibtex-generate-url-list): Fix docstring.
8682 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8684         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8685         minibuffer's content with itself.
8686         Fold the confirm-after-completion case into the `confirm' case.
8687         (completion-pcm-word-delimiters): Add : and / to the delimiters.
8689 2009-12-06  Kevin Ryde  <user42@zip.com.au>
8691         * ffap.el (ffap-rfc-path): Make this a defcustom since
8692         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
8694         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8695         manuals, similar to existing setup for help-mode.  (Bug#3913.)
8697 2009-12-05  Juri Linkov  <juri@jurta.org>
8699         Save and restore dired buffer's point positions too.  (Bug#4880)
8701         * dired.el (dired-save-positions): Return in the first element
8702         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8703         Doc fix.
8704         (dired-restore-positions): First restore buffer's position.
8705         While restoring window's positions, check if window still displays
8706         the original buffer.
8708 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
8710         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8711         if possible.
8713         * shell.el (shell): Require ansi-color (Bug#5113).
8715         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8717         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8719 2009-12-05  Alan Mackenzie  <acm@muc.de>
8721         * progmodes/cc-mode.el (c-before-hack-hook)
8722         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8723         `c-file-style' to work again.  This reversion restores the current
8724         software to its state in Emacs 23.1.  (Bug#4146)
8726 2009-12-05  Kevin Ryde  <user42@zip.com.au>
8728         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8729         comment-start-skip to comment-end-skip as comment (Bug#4781).
8731 2009-12-05  Juri Linkov  <juri@jurta.org>
8733         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8734         for virtual nodes.  (Bug#4147)
8735         (Info-find-node-2): Set `Info-current-node-virtual' to nil
8736         when moving from a virtual node.
8737         (Info-mode-menu): Add `Info-virtual-index' to the menu.
8738         (Info-mode): Add `Info-virtual-index' to the docstring.
8740 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8742         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8743         track of the buffer position of the end of a BibTeX entry as this
8744         position may change during reformatting.
8745         (bibtex-format-entry): Remove whitespace before processing
8746         numerical fields so that we recognize the latter properly.
8747         (bibtex-reformat): Do not use push which changes the global value
8748         of bibtex-entry-format.
8749         (bibtex-field-braces-alist, bibtex-field-strings-alist)
8750         (bibtex-field-re-init): Replace only space characters by regexp
8751         for whitespace.
8752         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8753         (bibtex-initialize): Also update bibtex-strings.
8754         (bibtex-kill-field): Preserve white space at end of entry.
8755         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8756         Update bibtex-reference-keys.
8758 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8760         * minibuffer.el (completion-pcm--merge-try): Also consider placing
8761         point after a star, if that's the only place where modifications can
8762         make progress.
8764 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
8766         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8767         in docstrings.
8769 2009-12-04  Juri Linkov  <juri@jurta.org>
8771         * proced.el (proced): Call `(proced-update t)' to update process
8772         information instead of only running proced-post-display-hook.
8773         (proced-send-signal): Add a leading space to the buffer name
8774         " *Marked Processes*" to make this buffer ephemeral.
8776 2009-12-04  Juri Linkov  <juri@jurta.org>
8778         * dired.el (dired-auto-revert-buffer): New defcustom.
8779         (dired-internal-noselect): Use it.
8781 2009-12-04  Juri Linkov  <juri@jurta.org>
8783         Change roles of modes and functions in image-mode.el (Bug#5062).
8785         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8786         in `auto-mode-alist'.
8787         (image-mode-previous-major-mode): New variable.
8788         (image-minor-mode-map): Rename from `image-mode-text-map'.
8789         (image-mode): Move graceful error-handling code from
8790         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
8791         (image-minor-mode): Remove all image-handling code.
8792         Replace `image-mode-text-map' with `image-minor-mode-map'.
8793         Check for `image-type' in mode-line format string.
8794         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8795         (image-mode-as-text): New function with most code from
8796         `image-mode-maybe'.
8797         (image-toggle-display-text): Move code that removes image
8798         properties from `image-toggle-display' to here.
8799         (image-toggle-display-image): New function with code that adds
8800         image properties copied from `image-toggle-display'.
8801         (image-toggle-display): Remove most code with leaving only code
8802         that toggles between `image-mode-as-text' and `image-mode'.
8804 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
8806         * net/newst-treeview.el
8807         (newsticker--treeview-list-highlight-start): Restored call to
8808         save-excursion: Selected item was stuck.
8809         (newsticker--treeview-list-select): New.
8810         (newsticker--treeview-item-show-text)
8811         (newsticker--treeview-item-show)
8812         (newsticker--treeview-item-update): Use new
8813         newsticker-treeview-item-mode.
8814         (newsticker-treeview-update): Keep current item.
8815         (newsticker-treeview-next-new-or-immortal-item): Doc change.
8816         (newsticker--treeview-first-feed): Doc change.
8817         (newsticker-treeview-list-menu)
8818         (newsticker-treeview-item-menu): Added menu entries.
8819         (newsticker-treeview-item-mode): New.
8821         * net/newst-backend.el (newsticker-customize): Delete other
8822         windows.
8824 2009-12-04  Sam Steingold  <sds@gnu.org>
8826         * log-view.el (log-view-mode-map): "q" calls quit-window,
8827         like in all the other non-self-insert buffers.
8829 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8831         Minor cleanup.
8832         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8833         key decoding rather than do it manually via last-input-event +
8834         ascii-character.
8835         (term-exec): Use delete-and-extract-region.
8836         (term-handle-ansi-terminal-messages): Remove unused var `end'.
8837         (term-process-pager): Remove unused var `i'.
8838         (term-dynamic-simple-complete): Make obsolete.
8839         (serial-update-config-menu): Remove unused vars `y' and `str'.
8840         (term-update-mode-line): Remove unused var `temp'.
8842 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8844         Limit the number of log entries displayed by default.
8845         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8846         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8847         using a prefix argument.
8849 2009-12-03  Glenn Morris  <rgm@gnu.org>
8851         * progmodes/idlwave.el (class): Restore still useful declaration.
8853 2009-12-03  Alan Mackenzie  <acm@muc.de>
8855         Enhance `c-parse-state' to run efficiently in "brace deserts".
8857         * progmodes/cc-mode.el (c-basic-common-init):
8858         Call c-state-cache-init.
8859         (c-neutralize-syntax-in-and-mark-CPP): Rename from
8860         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
8861         placing `category' properties value 'c-cpp-delimiter at its boundaries.
8863         * progmodes/cc-langs.el (c-before-font-lock-function):
8864         c-extend-and-neutralize-syntax-in-CPP has been renamed
8865         c-neutralize-syntax-in-and-mark-CPP.
8867         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8868         with `category' properties now, not `syntax-table' ones.
8870         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8871         enhanced (but slower) version of c-end-of-macro that won't land
8872         inside a literal or on another awkward character.
8873         (c-state-cache-too-far, c-state-cache-start)
8874         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8875         (c-state-nonlit-pos-cache-limit, c-state-point-min)
8876         (c-state-point-min-lit-type, c-state-point-min-lit-start)
8877         (c-state-min-scan-pos, c-state-brace-pair-desert)
8878         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8879         buffer local variables.
8880         (c-state-literal-at, c-state-lit-beg)
8881         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8882         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8883         (c-state-cache-top-paren, c-state-cache-after-top-paren)
8884         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8885         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8886         (c-renarrow-state-cache)
8887         (c-append-lower-brace-pair-to-state-cache)
8888         (c-state-push-any-brace-pair, c-append-to-state-cache)
8889         (c-remove-stale-state-cache)
8890         (c-remove-stale-state-cache-backwards, c-state-cache-init)
8891         (c-invalidate-state-cache-1, c-parse-state-1)
8892         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8893         (c-parse-state): Enhance and refactor.
8894         (c-debug-parse-state): Amend to deal with all the new variables.
8896         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8897         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8898         modify to use category text properties rather than syntax-table ones.
8899         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8900         to switch off/on the syntactic paren property of C++ template
8901         delimiters using the category property.
8902         (c-with-<->-as-parens-suppressed): Macro to invoke code with
8903         template delims suppressed.
8904         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8905         New constant/macros which apply category properties to the start
8906         and end of preprocessor constructs.
8907         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8908         "comment out" the syntactic value of characters in preprocessor
8909         constructs.
8910         (c-with-cpps-commented-out)
8911         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8912         with characters in all or all but one preprocessor constructs
8913         "commented out".
8915 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
8917         * proced.el (proced-filter-alist): Use regexp-quote.
8919 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
8921         Cleanup.
8922         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8923         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
8924         arguments.  Expand `default-directory'.
8926         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8927         the benefit of returning an expanded localname.
8928         (tramp-tramp-file-p): Handle the case NAME is not a string.
8930 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8932         Add support for bzr shelve/unshelve.
8933         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8934         (vc-bzr-extra-menu-map): New variables.
8935         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8936         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8937         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8938         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8939         (vc-bzr-dir-extra-headers): Display shelves.
8941         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8943 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8945         * textmodes/bibtex.el (bibtex-complete-internal):
8946         Use completion-in-region.
8947         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8949 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
8951         Support applying stashes.  Improve UI.
8952         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8953         (vc-git-stash-apply, vc-git-stash-pop)
8954         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8955         (vc-git-stash-menu): New functions.
8956         (vc-git-stash-menu-map): New variable.
8957         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8959 2009-12-03  Glenn Morris  <rgm@gnu.org>
8961         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8962         (vc-print-log-internal): Fix previous change.
8963         (vc-revert): Correct pluralization.
8965 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8967         * progmodes/make-mode.el (makefile-special-targets-list): No need for
8968         it to be an alist any more.
8969         (makefile-complete): Use completion-in-region.
8971         * progmodes/octave-mod.el (octave-complete-symbol):
8972         Use completion-in-region.
8974         Misc cleanup.
8975         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8976         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8977         (idlwave-complete-class): Don't quote lambda.
8978         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8979         (idlwave-mode-map): Move initialization into declaration.
8980         (idlwave-action-and-binding): Use backquotes.
8981         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8982         Simplify.
8983         (idlwave-is-pointer-dereference): Remove unused var `pos'.
8984         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8985         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8986         `parts', and `all-parts'.
8987         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8988         (idlwave-convert-xml-system-routine-info): Remove unused string
8989         `version-string'.
8990         (idlwave-display-user-catalog-widget): Use dolist.
8991         (idlwave-scanning-lib): Declare dynamically-scoped var.
8992         (idlwave-scan-library-catalogs): Remove unused var `flags'.
8993         (completion-highlight-first-word-only): Declare to silence bytecomp.
8994         (idlwave-popup-select): Tighten scope of `resp'.
8995         (idlwave-find-struct-tag): Remove unused var `beg'.
8996         (idlwave-after-load-rinfo-hook): Declare.
8997         (idlwave-sintern-class-info): Remove unused var `taglist'.
8998         (idlwave-find-class-definition): Remove unused var `list'.
8999         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9000         (idlwave-what-module-find-class): Remove unused var `classes'.
9002 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
9004         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9006 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9008         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9009         buffers visited.  Remove redundant current-buffer-saving.
9011 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9013         Use completion-in-buffer and remove uses of dynamic scoping.
9014         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9015         (pascal-buffer-to-use, pascal-flag): Don't declare.
9016         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9017         (pascal-get-completion-decl, pascal-keyword-completion):
9018         Add `pascal-str' argument, save-excursion,
9019         return the found completions, and don't filter with pascal-pred.
9020         (pascal-completion-cache): New var.
9021         (pascal-completion): Don't switch buffer any more (it was never
9022         necessary).  Don't save-excursion any more (it's done by the called
9023         subroutines).  Use a cache to avoid redundant computations.
9024         Use complete-with-action rather than pascal-completion-response and
9025         let it apply the predicate as well.
9026         (pascal-complete-word): Use completion-in-buffer when
9027         pascal-toggle-completions is nil.
9028         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9029         not used any more.
9030         (pascal-comp-defun): Don't change buffer any more.
9031         Use complete-with-action rather than pascal-completion-response and
9032         let it apply the predicate as well.
9033         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9034         when neded.
9036 2009-12-02  Kenichi Handa  <handa@m17n.org>
9038         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9039         shape for all Indic scripts.
9041 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9043         Use completion-in-buffer.
9044         * wid-edit.el (widget-field-text-end): New function.
9045         (widget-field-value-get): Use it.
9046         (widget-string-complete, widget-file-complete)
9047         (widget-color-complete): Use it and completion-in-region.
9048         (widget-complete): Don't narrow the buffer.
9050 2009-12-02  Glenn Morris  <rgm@gnu.org>
9052         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
9053         (rmail-select-summary): Use rmail-pop-to-buffer.
9054         * mail/rmailsum.el: Replace all pop-to-buffer calls with
9055         rmail-pop-to-buffer, to prevent horizontal splits.
9057         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9058         save-excursion with save-current-buffer.
9059         Widen before searching.  (Bug#5093)
9060         (diary-list-sexp-entries): Remove superfluous save-excursion.
9062 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
9064         * woman.el (woman-make-bufname): Handle man-pages with "." in the
9065         name.  (Bug#5038)
9067 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
9069         * ido.el (ido-file-internal): Handle filenames at point that do
9070         not have a directory part.  (Bug#5049)
9072 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
9074         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9075         (mpc-songs-jump-to, mpc-resume): Doc fixes.
9077 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
9079         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9080         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9081         any more.
9083 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9085         * comint.el (comint-insert-input): Ignore clicks to the right of
9086         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9088         * vc.el (vc-print-log-internal): Don't wait for the process to
9089         terminate before setting up the major mode.
9091         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9092         in case.
9094         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9095         the last element.
9097         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9099 2009-12-01  Glenn Morris  <rgm@gnu.org>
9101         * window.el (window--display-buffer-2): Fix previous changes.
9103 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
9105         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9107 2009-12-01  Glenn Morris  <rgm@gnu.org>
9109         * Makefile.in (ELCFILES): Add mpc.elc.
9111 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9113         * mpc.el: New file.
9115 2009-12-01  Glenn Morris  <rgm@gnu.org>
9117         * window.el (window-to-use): Define for compiler.
9119         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9120         consistent with others (no final period).
9122         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9123         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
9125 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
9127         Make vc-print-log buttons work.
9128         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9130 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
9132         * savehist.el (savehist-autosave-interval): Allow setting to nil
9133         through customize.  (Bug#5056)
9135 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
9137         Fix references to jit-lock properties.
9138         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9139         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9140         (perl-font-lock-special-syntactic-constructs):
9141         Quote jit-lock-defer-multiline property.
9143 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
9145         * vc-git.el (vc-git-registered): Call vc-git-root only once.
9147 2009-11-30  Juri Linkov  <juri@jurta.org>
9149         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9150         value `buffer' of `multi-isearch-next-buffer-current-function'.
9151         Use `(current-buffer)' when `buffer' is nil.
9152         (multi-isearch-next-buffer-from-list): Don't fallback to
9153         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
9155 2009-11-30  Juri Linkov  <juri@jurta.org>
9157         * misearch.el (multi-isearch-read-buffers): Move canonicalization
9158         of buffers with `get-buffer' to `multi-isearch-buffers'.
9159         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9160         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
9161         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9162         FILES with `expand-file-name' converting relative file names
9163         to absolute.  Doc fix.  (Bug#4727)
9165 2009-11-30  Juri Linkov  <juri@jurta.org>
9167         * misearch.el (multi-isearch-read-buffers)
9168         (multi-isearch-read-matching-buffers): New functions.
9169         (multi-isearch-buffers, multi-isearch-buffers-regexp):
9170         Use them in the `interactive' spec.  Doc fix.
9171         (multi-isearch-read-files, multi-isearch-read-matching-files):
9172         New functions.
9173         (multi-isearch-files, multi-isearch-files-regexp):
9174         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
9176 2009-11-30  Juri Linkov  <juri@jurta.org>
9178         * doc-view.el (doc-view-continuous):
9179         Rename from `doc-view-continuous-mode'.
9180         (doc-view-menu): Move "Toggle display" to the top.
9181         Add submenu "Continuous" with radio buttons "Off"/"On"
9182         and "Save as Default".
9183         (doc-view-scroll-up-or-next-page)
9184         (doc-view-scroll-down-or-previous-page)
9185         (doc-view-next-line-or-next-page)
9186         (doc-view-previous-line-or-previous-page): Rename
9187         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
9189 2009-11-30  Juri Linkov  <juri@jurta.org>
9191         * comint.el (comint-mode-map): Rebind `M-r' from
9192         `comint-previous-matching-input' to
9193         `comint-history-isearch-backward-regexp'.
9194         Unbind `M-s' to allow global key binding `M-s'.
9195         Add menu items for `comint-history-isearch-backward' and
9196         `comint-history-isearch-backward-regexp'.  (Bug#3746)
9198 2009-11-30  Juri Linkov  <juri@jurta.org>
9200         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9201         For def=recenter, replace `recenter' with `recenter-top-bottom'
9202         that is called with `this-command' and `last-command' let-bound
9203         to `recenter-top-bottom'.  When the last `def' was not `recenter',
9204         set `recenter-last-op' to nil.  (Bug#4981)
9206 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9208         Minor cleanup and simplification.
9209         * filecache.el (file-cache-add-directory)
9210         (file-cache-add-directory-recursively)
9211         (file-cache-add-from-file-cache-buffer)
9212         (file-cache-delete-file-regexp, file-cache-delete-directory)
9213         (file-cache-files-matching-internal, file-cache-display): Use dolist.
9214         (file-cache-temp-minibuffer-message): Delete function.
9215         (file-cache-minibuffer-complete): Use minibuffer-message instead.
9217         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9218         Don't signal an error when bumping into EOB in tr, s, or y.
9220 2009-11-29  Juri Linkov  <juri@jurta.org>
9222         * startup.el (fancy-about-text): Fix wording of Guided Tour.
9223         (Bug#4960)
9225         * descr-text.el (describe-char-unidata-list): Use lowercase name
9226         for "Unicode name" like in other tags.
9228 2009-11-29  Juri Linkov  <juri@jurta.org>
9230         * ediff-util.el (ediff-minibuffer-with-setup-hook):
9231         New compatibility macro.
9232         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9234 2009-11-29  Juri Linkov  <juri@jurta.org>
9236         Add defcustom to define the cycling order of `recenter-top-bottom'.
9237         (Bug#4981)
9239         * window.el (recenter-last-op): Doc fix.
9240         (recenter-positions): New defcustom.
9241         (recenter-top-bottom): Rewrite to use `recenter-positions'.
9242         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9244 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
9246         Improve integration of Tramp and ange-ftp in eshell.
9248         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9249         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
9250         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
9252         * eshell/esh-util.el (top): Require also Tramp when compiling.
9253         (eshell-directory-files-and-attributes): Check for FTP remote
9254         connection.
9255         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9256         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9257         (eshell-file-attributes): Handle ".".  Return `entry'.
9259         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9260         (ange-ftp-directory-files-and-attributes)
9261         (ange-ftp-real-directory-files-and-attributes): New defuns.
9263         * net/tramp.el (tramp-maybe-open-connection): Open the remote
9264         shell with "exec" when possible.  This prevents trailing prompts
9265         in `start-file-process'.
9267 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9269         Try and remove assumptions about point-min==1.
9270         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9271         (rng-compute-mode-line-string): Show the validation percentage in
9272         terms of the narrowed text, not the widened text.
9273         (rng-do-some-validation): Don't catch internal errors when debugging.
9274         (rng-first-error): Simplify.
9275         (rng-after-change-function): Remove work around.  AFAIK the bug has
9276         been fixed a while ago.
9278         * image-mode.el (image-minor-mode): Exit more gracefully when the image
9279         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9281         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9283         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9284         `cd' doesn't always do it for us (bug#5067).
9286         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9287         on 2009-10-25 as part of some other change (bug#5067).
9289 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9291         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9292         `suspicious'.
9293         (byte-compile-warnings): Use byte-compile-warning-types.
9294         (byte-compile-save-excursion): Warn about use of set-buffer right
9295         after save-excursion.
9297         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9298         the excursion as well.
9300 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
9302         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9303         providing a Tramp related implementation of "su" and "sudo".
9304         (eshell-unix-initialize): Add "su" and "sudo".
9306 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
9308         * net/socks.el (socks-send-command): Convert binary request to
9309         unibyte before sending.  This fixes mishandling of some port
9310         numbers such as 129.
9312 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9314         * help.el (describe-bindings-internal): Remove `interactive'.
9316         * man.el (Man-completion-table): Trim a terminating "(".
9317         Remove the space between name page a section.
9318         Add the command's description on the `help-echo' property.
9319         Remove `process-connection-type' binding since it's unused by
9320         call-process.
9321         Provide completion for the "<section> <name>" format as well.
9322         (Man-default-man-entry): Remove spurious var shadowing the argument.
9324 2009-11-26  Kevin Ryde  <user42@zip.com.au>
9326         * log-view.el: Add "Keywords: tools", since its other keywords
9327         aren't in finder-known-keywords, and following vc.el.
9329         * sha1.el (sha1-string-external): default-directory "/" in case
9330         otherwise non-existent.  process-connection-type pipe for touch of
9331         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
9333 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9335         Misc coding convention cleanups.
9336         * htmlfontify.el (hfy-init-kludge-hook): Rename from
9337         hfy-init-kludge-hooks.
9338         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9339         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9340         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9341         and push.
9342         (hfy-slant, hfy-weight): Use tables rather than code.
9343         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9344         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9345         (hfy-face-attr-for-class): Initialize `face-spec' directly.
9346         (hfy-face-to-css): Remove `nconc' with single arg.
9347         (hfy-p-to-face-lennart): Use `or'.
9348         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
9349         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9350         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9351         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9352         (hfy-force-fontification): Use run-hooks.
9354 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
9356         Various minor fixes.
9357         * htmlfontify.el (hfy-default-header): Add toggle_invis since
9358         Javascript belongs in the header, not the body.
9359         (hfy-javascript): Remove.
9360         (hfy-fontify-buffer): Don't insert it any more.
9361         (hfy-face-at): Handle (face0 face1 face2) style face properties.
9362         Fix bug in invis handling when there were no invis props in a chunk.
9364 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9366         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9368 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
9370         * finder.el (finder-mode-map): Add a menu.
9372 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
9374         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9375         "unsigned" structs.
9377         (verilog-leap-to-head, verilog-backward-token): Handle "disable
9378         fork" statement better.
9380 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
9382         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9383         (verilog-delete-auto, verilog-delete-empty-auto-pair)
9384         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9385         Reported by Clay Douglass.
9387         (verilog-auto-inst, verilog-auto-star-safe)
9388         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9389         Fix removing "// Interfaces" when saving .* expansions.  Reported by
9390         Pierre-David Pfister.
9392 2009-11-26  Glenn Morris  <rgm@gnu.org>
9394         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9395         the scope.
9397 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
9399         * vc-annotate.el (vc-annotate-revision-previous-to-line):
9400         Really use previous revision.
9402 2009-11-25  Kevin Ryde  <user42@zip.com.au>
9404         * man.el (Man-completion-table): default-directory "/" in case
9405         doesn't otherwise exist.  process-environment COLUMNS=999 so as
9406         not to truncate long names.  process-connection-type pipe to avoid
9407         any chance of hitting the pseudo-tty TIOCGWINSZ.
9408         (man): completion-ignore-case t for friendliness and since man
9409         itself is case-insensitive on the command line.
9410         Further to Bug#3717.
9412         * arc-mode.el: Add "Keywords: files", so the details in its
9413         commentary can be reached from finder-by-keyword.
9414         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
9415         editing mode, but it's comms related and sgml-mode.el has "comm"
9416         on that basis too.
9417         * textmodes/bibtex-style.el: Add "Keywords: tex".
9418         * international/isearch-x.el, international/ja-dic-cnv.el:
9419         * international/ja-dic-utl.el, international/kkc.el:
9420         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9422 2009-11-25  Juri Linkov  <juri@jurta.org>
9424         * man.el (Man-completion-table): Modify regexp to include
9425         section names to completion strings.  (Bug#3717)
9427 2009-11-25  Juri Linkov  <juri@jurta.org>
9429         Search recursively in gzipped files.  (Bug#4982)
9431         * progmodes/grep.el (grep-highlight-matches): Add new options
9432         `always' and `auto'.  Doc fix.
9433         (grep-process-setup): Check `grep-highlight-matches' for
9434         `auto-detect' to determine the need to compute grep defaults.
9435         Move Windows/DOS specific --colors settings handling
9436         to `grep-compute-defaults'.  Check `grep-highlight-matches'
9437         to get the value of "--color=".
9438         (grep-compute-defaults): Compute `grep-highlight-matches' when it
9439         has the value `auto-detect'.  Move Windows/DOS specific settings
9440         from `grep-process-setup'.
9441         (zrgrep): New command with alias `rzgrep'.
9443 2009-11-25  Juri Linkov  <juri@jurta.org>
9445         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9446         to nil instead of switching off view-mode.  (Bug#4896)
9448 2009-11-25  Juri Linkov  <juri@jurta.org>
9450         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
9452         * mwheel.el (mwheel-scroll-up-function)
9453         (mwheel-scroll-down-function): New defvars.
9454         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9455         `scroll-up', and `mwheel-scroll-down-function' instead of
9456         `scroll-down'.
9458         * doc-view.el (doc-view-scroll-up-or-next-page)
9459         (doc-view-scroll-down-or-previous-page): Add optional ARG.
9460         Use this ARG in the call to image-scroll-up/image-scroll-down.
9461         Change `interactive' spec to "P".  Goto next/previous page only
9462         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9463         SPC/DEL case).  Doc fix.
9464         (doc-view-next-line-or-next-page)
9465         (doc-view-previous-line-or-previous-page): Rename arg to ARG
9466         for consistency.
9467         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9468         `doc-view-scroll-up-or-next-page', and buffer-local
9469         `mwheel-scroll-down-function' to
9470         `doc-view-scroll-down-or-previous-page'.
9472 2009-11-25  Juri Linkov  <juri@jurta.org>
9474         Provide additional default values (directories at other Dired
9475         windows) via M-n in the minibuffer of some Dired commands.
9477         * dired-aux.el (dired-diff, dired-compare-directories)
9478         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9479         `minibuffer-default' in `minibuffer-with-setup-hook'.
9480         (dired-dwim-target-directory): Find a window that displays Dired
9481         buffer instead of failing when the next window is not Dired.
9482         Use `get-window-with-predicate' to find for the next Dired window.
9483         (dired-dwim-target-defaults): New function.
9485         * ediff-util.el (ediff-read-file-name):
9486         Use `dired-dwim-target-defaults' to set `minibuffer-default'
9487         in `minibuffer-with-setup-hook'.
9489 2009-11-25  Juri Linkov  <juri@jurta.org>
9491         Provide additional default values (file name at point or at the
9492         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
9494         * minibuffer.el (read-file-name-defaults): New function.
9495         (read-file-name): Reset `minibuffer-default' to nil when
9496         it duplicates initial input `insdef'.
9497         Bind `minibuffer-default-add-function' to lambda that
9498         calls `read-file-name-defaults' in `minibuffer-selected-window'.
9499         (minibuffer-insert-file-name-at-point): New command.
9501         * files.el (file-name-at-point-functions): New defcustom.
9502         (find-file-default): Remove defvar.
9503         (find-file-read-args): Don't use `find-file-default'.
9504         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9505         to `read-file-name'.
9506         (find-file-literally): Use `read-file-name' with
9507         `confirm-nonexistent-file-or-buffer'.
9509         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9511         * dired.el (dired-read-dir-and-switches):
9512         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9513         to `read-file-name'.
9514         (dired-file-name-at-point): New function.
9515         (dired-mode): Add hook `dired-file-name-at-point' to
9516         `file-name-at-point-functions'.
9518 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9520         Really make the *Completions* window soft-dedicated (bug#5030).
9521         * window.el (window--display-buffer-2): Add `dedicated' argument.
9522         (display-buffer): Pass it when needed so the dedicated flag is set
9523         after calling set-window-buffer, which would otherwise reset it.
9525 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9527         * progmodes/meta-mode.el (meta-complete-symbol):
9528         * progmodes/etags.el (complete-tag):
9529         * mail/mailabbrev.el (mail-abbrev-complete-alias):
9530         Use completion-in-region.
9532         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9533         (dabbrev-completion): Use completion-in-region.
9534         (dabbrev--abbrev-at-point): Simplify regexp.
9536         * abbrev.el (abbrev--before-point): Use word-motion functions
9537         if :regexp is not specified (bug#5031).
9539         * subr.el (string-prefix-p): New function.
9541         * man.el (Man-completion-cache): New var.
9542         (Man-completion-table): Use it.
9544         * vc.el (vc-print-log-internal): Make `limit' optional for better
9545         compatibility (e.g. with vc-annotate.el).
9547 2009-11-24  Kevin Ryde  <user42@zip.com.au>
9549         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9550         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
9552         * emacs-lisp/elint.el (elint-add-required-env): Better error message
9553         when .el source file not found or other error.
9555 2009-11-24  Markus Triska  <markus.triska@gmx.at>
9557         * linum.el (linum-update-window): Ignore intangible (bug#4996).
9559 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9561         Handle the [back] button properly (bug#4979).
9562         * descr-text.el (describe-text-properties): Add a `buffer' argument.
9563         Use help-setup-xref, help-buffer, and with-help-window.
9564         (describe-char): Add `buffer' argument.
9565         Pass proper command to help-setup-xref.  Don't meddle with
9566         help-xref-stack-item directly.
9567         (describe-text-category): Use with-help-window and help-buffer.
9569         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9570         for the displayed buffer (bug#4887).
9572         * man.el (Man-completion-table): New function.
9573         (man): Use it.
9575 2009-11-24  David Reitter  <david.reitter@gmail.com>
9577         * vc-git.el (vc-git-registered): Use checkout directory (where
9578         .git is) rather than the file's directory and a relative path spec
9579         to work around a bug in git.
9581 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
9583         Improve handling of processes on remote hosts.
9585         * eshell/esh-util.el (eshell-path-env): New defvar.
9586         (eshell-parse-colon-path): New defun.
9587         (eshell-file-attributes): Use `eshell-parse-colon-path'.
9589         * eshell/esh-ext.el (eshell-search-path):
9590         Use `eshell-parse-colon-path'.
9591         (eshell-remote-command): Remove argument HANDLER.
9592         (eshell-external-command): Check for FTP remote connection.
9594         * eshell/esh-proc.el (eshell-gather-process-output):
9595         Use `file-truename', in order to start also symlinked files.
9596         Apply `start-file-process' instead of `start-process'.
9597         Shorten `command' to the local file name part.
9599         * eshell/em-cmpl.el (eshell-complete-commands-list):
9600         Use `eshell-parse-colon-path'.
9602         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9604         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
9605         to `eshell-directory-change-hook'.
9607 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
9609         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9610         because it could be enabled automatically if view-read-only is non-nil.
9612 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
9614         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9615         made on 2009-11-22.
9617 2009-11-24  Glenn Morris  <rgm@gnu.org>
9619         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9620         deleted variable bookmark-bmenu-bookmark-column.
9622 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9624         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9626 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9628         * net/browse-url.el (browse-url-filename-alist): On Windows, add
9629         two slashes to the "file:" prefix.
9630         (browse-url-file-url): De-munge Cygwin filenames before passing
9631         them to Windows browser.
9632         (browse-url-default-windows-browser): Use call-process.
9634 2009-11-23  Juri Linkov  <juri@jurta.org>
9636         Implement DocView Continuous mode.  (Bug#4896)
9637         * doc-view.el (doc-view-continuous-mode): New defcustom.
9638         (doc-view-mode-map): Bind C-n/<down> to
9639         `doc-view-next-line-or-next-page', C-p/<up> to
9640         `doc-view-previous-line-or-previous-page'.
9641         (doc-view-next-line-or-next-page)
9642         (doc-view-previous-line-or-previous-page): New commands.
9644 2009-11-23  Juri Linkov  <juri@jurta.org>
9646         Implement Isearch in comint input history.  (Bug#3746)
9647         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9648         `isearch-mode-hook'.
9649         (comint-history-isearch): New defcustom.
9650         (comint-history-isearch-backward)
9651         (comint-history-isearch-backward-regexp): New commands.
9652         (comint-history-isearch-message-overlay): New buffer-local variable.
9653         (comint-history-isearch-setup, comint-history-isearch-end)
9654         (comint-goto-input, comint-history-isearch-search)
9655         (comint-history-isearch-message, comint-history-isearch-wrap)
9656         (comint-history-isearch-push-state)
9657         (comint-history-isearch-pop-state): New functions.
9659 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
9661         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9662         return.
9663         (tramp-handle-make-symbolic-link)
9664         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9665         Quote file names.
9666         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9667         (tramp-handle-process-file): Use it.
9669 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9671         * window.el (move-to-window-line-last-op): Remove.
9672         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9674 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9676         Make M-r mirror the new cycling behavior of C-l.
9677         * window.el (move-to-window-line-last-op): New var.
9678         (move-to-window-line-top-bottom): New command.
9679         (global-map): Bind M-r move-to-window-line-top-bottom.
9681 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
9683         * dired-x.el (dired-guess-shell-alist-default):
9684         Support xz format.  (Bug#4953)
9686 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
9688         * emulation/viper-cmd.el: Use viper-last-command-char instead of
9689         last-command-char/last-command-event.
9690         (viper-prefix-arg-value): Do correct conversion of event-char for
9691         XEmacs.
9693         * emulation/viper-util.el, emulation/viper.el:
9694         Use viper-last-command-char instead of
9695         last-command-char/last-command-event.
9697         * ediff-init.el, ediff-mult.el, ediff-util.el:
9698         Replace last-command-char and last-command-event
9699         with (ediff-last-command-char) everywhere.
9701         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9702         created in fundamental mode.
9704         * ediff.el (ediff-version): Revert the change of interactive-p to
9705         called-interactively-p.
9707 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
9709         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9710         generation from word-movement command names.
9712 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
9714         * cus-start.el (all): Add native condition for font-use-system-font.
9716 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
9718         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9719         Correct the patch from 2009-11-18.  (Bug#3910)
9721 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
9723         * progmodes/subword.el: Rename from lisp/subword.el.
9725         * subword.el: Rename to progmodes/subword.el.
9727         * Makefile.in (ELCFILES): Adapt to subword.el move.
9729 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9730             Stefan Monnier  <monnier@iro.umontreal.ca>
9732         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9733         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9734         (bookmark-bmenu-show-filenames): Use push.
9735         (bookmark-bmenu-hide-filenames): Use local var instead of
9736         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
9737         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9738         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9739         filenames now that the bookmark names are always available.
9741 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9743         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9744         (bookmark-search-pattern): Move and leave unbound.
9745         (bookmark-bmenu-mode-map): Change binding.
9746         (bookmark-read-search-input): Simplify.
9747         Don't use text-char-description.  Don't error on non-char events.
9748         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9749         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9750         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9751         Use a local var for the timer.
9752         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9753         (i.e. bookmark-bmenu-search).
9755 2009-11-21  Glenn Morris  <rgm@gnu.org>
9757         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
9759 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
9761         * net/browse-url.el (browse-url-default-windows-browser):
9762         Use cygstart for cygwin.
9764 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
9766         * bookmark.el: Formatting and doc fixes only:
9767         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9768         (bookmark-bmenu-search): Wrap to fit within 80 columns.
9769         Minor grammar and punctuation fixes in doc string.
9770         (bookmark-read-search-input): Adjust to fit within 80 columns.
9772 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9774         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9775         (c-backward-into-nomenclature): Adapt to subword renaming.
9777         * subword.el (subword-forward, subword-backward, subword-mark)
9778         (subword-kill, subword-backward-kill, subword-transpose)
9779         (subword-downcase, subword-upcase, subword-capitalize)
9780         (subword-forward-internal, subword-backward-internal):
9781         Rename from forward-subword, backward-subword, mark-subword,
9782         kill-subword, backward-kill-subword, transpose-subwords,
9783         downcase-subword, upcase-subword, capitalize-subword,
9784         forward-subword-internal, backward-subword-internal.
9786 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9788         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9789         New options.
9790         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9791         New vars.
9792         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9793         (bookmark-bmenu-filter-alist-by-regexp)
9794         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9795         (bookmark-bmenu-search): New command.
9796         (bookmark-bmenu-mode-map): Bind it.
9798 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
9800         * progmodes/cc-cmds.el: declare-functioned forward-subword and
9801         backward-subword to quit the byte-compiler.
9803         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9805         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9807         * progmodes/cc-cmds.el (c-update-modeline)
9808         (c-forward-into-nomenclature, c-backward-into-nomenclature):
9809         Refer to subword.el functions instead of cc-subword.el.
9811         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9812         subword.el functions instead of cc-subword.el.
9814         * progmodes/cc-subword.el: Rename to subword.el.
9815         * subword.el: Rename from progmodes/cc-subword.el.
9816         (subword-mode-map): Rename from c-subword-mode-map.
9817         (subword-mode): Rename from c-subword-mode.
9818         (global-subword-mode): New global minor mode.
9819         (forward-subword): Rename from c-forward-subword.
9820         (backward-subword): Rename from c-backward-subword.
9821         (mark-subword): Rename from c-mark-subword.
9822         (kill-subword): Rename from c-kill-subword.
9823         (backward-kill-subword): Rename from c-backward-kill-subword.
9824         (transpose-subwords): Rename from c-tranpose-subword.
9825         (downcase-subword): Rename from c-downcase-subword.
9826         (capitalize-subword): Rename from c-capitalize-subword.
9827         (forward-subword-internal): Rename from c-forward-subword-internal.
9828         (backward-subword-internal): Rename from c-backward-subword-internal.
9830 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
9832         * vc.el (vc-deduce-fileset): Allow non-state changing operations
9833         from a dired buffer.
9834         (vc-dired-deduce-fileset): New function.
9835         (vc-root-diff, vc-print-root-log): Use it.
9837         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9838         nil LIMIT argument to vc-print-log-internal.
9840 2009-11-20  Glenn Morris  <rgm@gnu.org>
9842         * Makefile.in (ELCFILES): Regenerate.
9844 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
9846         * calc/calc.el (calc-set-mode-line):
9847         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9848         (math-format-number): Rename `math-format-complement-signed' to
9849         `math-format-twos-complement'.
9851         * calc/calc-bin.el (math-format-twos-complement): Rename from
9852         math-format-complement-signed.
9853         (calc-radix): Rename `calc-complement-signed-mode' to
9854         `calc-twos-complement-mode'.
9855         (calc-octal-radix, calc-hex-radix): Add an argument for
9856         two's complement.
9858         * calc/calc-embed.el (calc-embedded-mode-vars):
9859         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9861         * calc/calc-ext.el (calc-init-extensions):
9862         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9863         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9865         * calc/calc-units.el (math-build-units-table-buffer):
9866         Let `calc-twos-complement-mode' be nil.
9868         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9869         entries.
9871         * calc/calc-vec.el (calcFunc-vunpack):
9872         * calc/calc-aent.el (calc-do-calc-eval):
9873         * calc/calc-forms.el (math-format-date):
9874         * calc/calc-graph.el (calc-graph-plot):
9875         * calc/calc-math.el (math-use-emacs-fn):
9876         * calc/calccomp.el (math-compose-expr):
9877         Let `calc-twos-complement-mode' be nil.
9879 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9881         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9882         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
9883         * minibuffer.el (completion-in-region-functions): New hook.
9884         (completion-in-region): New function.
9885         * emacs-lisp/lisp.el (lisp-complete-symbol):
9886         * pcomplete.el (pcomplete-std-complete): Use it.
9888 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9890         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9891         (latex-complete-alist): New vars.
9892         (latex-string-prefix-p, latex-complete-bibtex-keys)
9893         (latex-complete-envnames, latex-complete-refkeys)
9894         (latex-complete-data): New functions.
9895         (latex-complete, latex-indent-or-complete): New commands.
9897         * window.el (display-buffer-mark-dedicated): New var.
9898         (display-buffer): Obey it.
9899         * minibuffer.el (minibuffer-completion-help): Use it.
9901         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9903         * filecache.el (file-cache-add-file): Use push and cons.
9904         (file-cache-delete-file-regexp): Use push.
9905         (file-cache-complete): Use completion-in-region.
9907         * simple.el (with-wrapper-hook): Fix thinko.
9909         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9910         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9911         Use with-current-buffer and string-to-number.
9912         (hfy-fallback-colour-values): Use assoc-string.
9913         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9914         (hfy-face-at): Remove unused var `found-face'.
9915         (hfy-compile-stylesheet): Remove unused var `css'.
9916         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9917         and `orig-buffer'.
9918         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9919         Use with-current-buffer.
9920         (hfy-text-p): Use expand-file-name and fewer setq.
9922 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
9924         * htmlfontify.el, hfy-cmap.el: New files.
9926 2009-11-19  Juri Linkov  <juri@jurta.org>
9928         * minibuffer.el (completions-format): New defcustom.
9929         (completion--insert-strings): Implement vertical format.
9931         * simple.el (switch-to-completions): Move point to the first
9932         completion when point was at the beginning of the buffer.
9934 2009-11-19  Juri Linkov  <juri@jurta.org>
9936         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
9938         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9940 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
9942         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9943         (mail-signature): Change default to t.
9944         (mail-from-style): Deprecate `system-default' value.
9945         (mail-insert-from-field): For default value of mail-from-style,
9946         default to `angles' unless `angles' needs quoting and `parens'
9947         does not.
9948         (mail-citation-prefix-regexp): Use citation regexp from
9949         message-mode.
9951 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
9953         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9954         Set variables for computing the prompt for reading password.
9956 2009-11-19  Glenn Morris  <rgm@gnu.org>
9958         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
9960         * textmodes/flyspell.el (sgml-lexical-context): Declare.
9962         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9963         (newsticker-treeview-listwindow-height): Fix custom type.
9965 2009-11-19  Kenichi Handa  <handa@m17n.org>
9967         * descr-text.el (describe-char-padded-string): Compose with TAB
9968         only if there's a font for CH.
9969         (describe-char): Fix the condition for detecting a trivial composition.
9971 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
9973         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9974         more accurate version of the regexp.  (Bug#3910)
9976 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
9978         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9980 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
9982         * font-setting.el (font-use-system-font): Declare for byte-compiler.
9983         (font-setting-change-default-font): Fix typo in docstring.
9985 2009-11-18  Alan Mackenzie  <acm@muc.de>
9987         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9989 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
9991         * font-setting.el (font-use-system-font): Move ...
9993         * cus-start.el (all): ... to here.
9995 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
9997         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9998         Don't set `ad-return-value' if `ad-do-it' doesn't.
10000         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10001         modification time.
10003 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
10005         * menu-bar.el: Put "Use system font" in Option-menu.
10006         (menu-bar-options-save): Add font-use-system-font.
10008         * loadup.el: If feature system-font-setting or font-render-setting is
10009         there, load font-setting.
10011         * Makefile.in (ELCFILES): Add font-settings.el.
10012         * font-setting.el: New file.
10014 2009-11-17  Glenn Morris  <rgm@gnu.org>
10016         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10018         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10019         Preserve point in the list buffer.  (Bug#4939)
10020         Use point-at-eol.
10021         (newsticker--treeview-list-update-highlight)
10022         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10024 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10026         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10027         Remove.
10029         * calc/calc-ext.el (calc-init-extensions): Remove references to
10030         symclip.
10032         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10034         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10035         * calc/calc-help.el (calc-b-prefix-help): Remove references to
10036         `calc-symclip'.
10038 2009-11-16  Kevin Ryde  <user42@zip.com.au>
10040         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10041         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10043         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10044         (lm-keywords-list): Allow comma-only separator like "foo,bar".
10045         Ignore trailing spaces by omit-nulls to split-string (fixing
10046         regression from Emacs 21 due to the incompatible split-string
10047         change).  (Bug #4928.)
10049 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
10051         * vc.el (vc-log-show-limit): Default to 2000.
10052         (vc-print-log-internal): Insert buttons to request more entries
10053         when limiting the output.
10055         * vc-sccs.el (vc-sccs-print-log):
10056         * vc-rcs.el (vc-rcs-print-log):
10057         * vc-cvs.el (vc-cvs-print-log):
10058         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10059         LIMIT is non-nil.
10061 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10063         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10064         error when `tramp-gvfs-dbus-event-vector' is set.
10065         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10067 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10069         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10071 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
10073         * net/dbus.el (dbus-unregister-service): New defun.
10074         (dbus-register-property): Register the handlers of
10075         "org.freedesktop.DBus.Properties" for SERVICE.
10076         (dbus-property-handler): Fix docstring.
10078 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10080         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10081         Quote doc string reference in defvaralias as it is not in special form.
10082         (byte-compile-output-docform): Doc fix.
10084 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
10086         * calc/calc.el (math-2-word-size, math-half-2-word-size)
10087         (calc-complement-signed-mode): New variables.
10088         (calc-set-mode-line): Add indicator for twos-complements.
10089         (math-format-number): Format twos-complement notation.
10091         * calc/calc-bin.el (calc-word-size): Reset the variables
10092         `math-2-word-size' and `math-half-2-word-size'.
10093         (math-format-complement-signed, math-symclip, calcFunc-symclip)
10094         (calc-symclip): New functions.
10096         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10098         * calc/calc-embed.el (calc-embedded-mode-vars):
10099         Add `calc-complement-signed-mode' to the list of modes.
10101         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10102         (calc-b-oper-keys): Add `calc-symclip' to list.
10104         * calc/calc-ext.el (math-read-number-fancy): Read complement
10105         signed numbers.
10106         (calc-init-extensions): Add binding for `calc-symclip'.
10107         Add autoload for `calcFunc-symclip' and `calc-symclip'.
10109         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10110         `calc-symclip'.
10111         (calc-modes-menu): Add item for twos complement mode.
10113         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10115 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10117         * register.el (jump-to-register, insert-register): Handle Semantic
10118         tags.  From commented-out advice in semantic/senator.el.
10120 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
10122         * vc.el (vc-log-show-limit): New variable.
10123         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
10124         when using a prefix argument.
10125         (vc-print-log-internal): Add new argument LIMIT.
10127         * vc-svn.el (vc-svn-print-log):
10128         * vc-mtn.el (vc-mtn-print-log):
10129         * vc-hg.el (vc-hg-print-log):
10130         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10131         pass it to the log command when set.  Make the BUFFER argument
10132         non-optional.
10134         * vc-sccs.el (vc-sccs-print-log):
10135         * vc-rcs.el (vc-rcs-print-log):
10136         * vc-git.el (vc-git-print-log):
10137         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10138         ignore it.  Make the BUFFER argument non-optional
10140         * bindings.el (mode-line-buffer-identification): Do not purecopy.
10142 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
10144         * dired.el (dired-mode-map): Move encryption items to "Operate"
10145         menu (Bug#4703).
10147         * strokes.el (strokes-update-window-configuration): Make strokes
10148         buffer current before erasing (Bug#4906).
10150 2009-11-15  Juri Linkov  <juri@jurta.org>
10152         * simple.el (set-mark-default-inactive): Add :type, :group
10153         and :version.  (Bug#4876)
10155 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
10157         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10158         (archive-unique-fname): ... here.  (Bug#4929)
10160 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10162         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10163         with a real fix.
10165         * novice.el (disabled-command-function): Add useful args.
10166         Setup the help buffer so that [back] works.
10167         Remove redundant call to help-mode.
10168         (disabled-command-function): Use `case'.
10169         (en/disable-command): New function extracted from enable-command.
10170         (enable-command, disable-command): Use it.
10172 2009-11-14  Glenn Morris  <rgm@gnu.org>
10174         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10175         constants.  (Bug#4913)
10177         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10179 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
10181         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10182         defined in C that have no doc-strings.  (Bug#1063)
10184 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
10186         * cus-edit.el (data, files):
10187         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
10189 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
10191         * simple.el (shell-command): Doc fix (Bug#4891).
10193         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10195 2009-11-14  Glenn Morris  <rgm@gnu.org>
10197         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10198         statements for vc-diff, emerge-quit, and rmail-cease-edit.
10199         If they are already loaded, eval-after-load will do the right thing.
10201         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10202         compiling.
10204         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10206         * simple.el (x-selection-owner-p): Declare.
10207         (read-mail-command): Use custom radio type rather than choice.
10208         (completion-no-auto-exit): Doc fix.
10210         * custom.el (defgroup):
10211         * epg-config.el (epg): Doc fixes.
10213 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
10215         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10216         * international/ccl.el (define-ccl-program): Do not purecopy the
10217         docstring, defconst does it anyway.
10219 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10221         * add-log.el (add-change-log-entry): Avoid displaying the changelog
10222         a second time.
10224         * x-dnd.el (x-dnd-maybe-call-test-function):
10225         * window.el (split-window-vertically):
10226         * whitespace.el (whitespace-help-on):
10227         * vc-rcs.el (vc-rcs-consult-headers):
10228         * userlock.el (ask-user-about-lock-help)
10229         (ask-user-about-supersession-help):
10230         * type-break.el (type-break-force-mode-line-update):
10231         * time-stamp.el (time-stamp-conv-warn):
10232         * terminal.el (te-set-output-log, te-more-break, te-filter)
10233         (te-sentinel, terminal-emulator):
10234         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10235         (term-write-input-ring, term-check-source, term-start-output-log):
10236         (term-display-buffer-line, term-dynamic-list-completions):
10237         (term-ansi-make-term, serial-term):
10238         * subr.el (selective-display):
10239         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10240         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10241         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10242         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10243         (speedbar-remove-localized-speedbar-support)
10244         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10245         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10246         (speedbar-buffers-line-directory):
10247         * simple.el (shell-command-on-region, append-to-buffer)
10248         (prepend-to-buffer):
10249         * shadowfile.el (shadow-save-todo-file):
10250         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10251         (scroll-bar-maybe-set-window-start):
10252         * sb-image.el (speedbar-image-dump):
10253         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10254         (load-save-place-alist-from-file):
10255         * ps-samp.el (ps-print-message-from-summary):
10256         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10257         (ps-background-image, ps-begin-job, ps-do-despool):
10258         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10259         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10260         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10261         (pr-call-process, pr-file-list, pr-interface-save):
10262         * novice.el (disabled-command-function)
10263         (enable-command, disable-command):
10264         * mouse.el (mouse-buffer-menu-alist):
10265         * mouse-copy.el (mouse-kill-preserving-secondary):
10266         * macros.el (kbd-macro-query):
10267         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10268         * informat.el (batch-info-validate):
10269         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10270         * hippie-exp.el (try-expand-dabbrev-visible):
10271         * help-mode.el (help-make-xrefs):
10272         * help-fns.el (describe-variable):
10273         * generic-x.el (bat-generic-mode-run-as-comint):
10274         * finder.el (finder-mouse-select):
10275         * find-dired.el (find-dired-sentinel):
10276         * filesets.el (filesets-file-close):
10277         * files.el (list-directory):
10278         * faces.el (list-faces-display, describe-face):
10279         * facemenu.el (list-colors-display):
10280         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10281         * epg.el (epg--process-filter, epg-cancel):
10282         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10283         (epa--read-signature-type):
10284         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10285         (emerge-file-names):
10286         * ehelp.el (electric-helpify):
10287         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10288         * ediff-vers.el (rcs-ediff-view-revision):
10289         * ediff-util.el (ediff-setup):
10290         * ediff-mult.el (ediff-append-custom-diff):
10291         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10292         (ediff-wordify):
10293         * echistory.el (Electric-command-history-redo-expression):
10294         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10295         * disp-table.el (describe-display-table):
10296         * dired.el (dired-find-buffer-nocreate):
10297         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10298         * dabbrev.el (dabbrev--same-major-mode-p):
10299         * chistory.el (list-command-history):
10300         * apropos.el (apropos-documentation):
10301         * allout.el (allout-obtain-passphrase):
10302         (allout-copy-exposed-to-buffer):
10303         (allout-verify-passphrase): Use with-current-buffer.
10305 2009-11-13  Glenn Morris  <rgm@gnu.org>
10307         * Makefile.in (ELCFILES): Regenerate.
10309 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
10311         * net/dbus.el (dbus-registered-objects-table): Rename from
10312         `dbus-registered-functions-table', because it contains also properties.
10313         (dbus-unregister-object): Unregister also properties.
10314         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10315         Use a timeout of 500 msec, in order to not block.
10316         (dbus-register-property, dbus-property-handler): New defuns.
10318 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10320         * simple.el (minibuffer-default-add-completions): Drop deprecated
10321         4th arg.
10323 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
10325         * textmodes/artist.el (artist-mouse-choose-operation):
10326         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10327         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10328         (artist-compute-up-event-key): New function.
10329         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10331 2009-11-13  Kenichi Handa  <handa@m17n.org>
10333         * language/japan-util.el: Make sure that the value of jisx0208
10334         property is jisx0208 character.
10336 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
10338         * international/mule.el (auto-coding-regexp-alist): Only purecopy
10339         car or each item, not the whole list.
10341 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10343         * minibuffer.el (minibuffer-completion-help):
10344         Use minibuffer-hide-completions.
10346 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
10348         * dired.el (dired-save-positions, dired-restore-positions): New funs.
10349         (dired-revert): Use them (bug#4880).
10351 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10353         * tooltip.el (tooltip-frame-parameters): Undo previous change.
10355 2009-11-12  Juri Linkov  <juri@jurta.org>
10357         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10358         New functions.
10359         (find-file-literally-at-point): Alias of `ffap-literally'.
10361 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
10363         * textmodes/ispell.el (ispell-skip-region-alist):
10364         * textmodes/css-mode.el (auto-mode-alist):
10365         * progmodes/compile.el (auto-mode-alist):
10366         * international/mule.el (ctext-non-standard-encodings-alist)
10367         (ctext-non-standard-encodings-regexp):
10368         * simple.el (shell-command-switch, text-read-only):
10369         * replace.el (occur-mode-map):
10370         * paths.el (rmail-file-name):
10371         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10372         * find-file.el (ff-special-constructs):
10373         * files.el (file-name-handler-alist):
10374         * composite.el: Purecopy strings.
10376         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10378 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10380         * widget.el (define-widget): Purecopy the docstring.
10381         * international/mule-cmds.el (charset): Do not purecopy the
10382         docstring here, define-widget does it.
10384         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10385         * textmodes/bibtex-style.el (auto-mode-alist):
10386         * progmodes/inf-lisp.el (inferior-lisp-prompt):
10387         * progmodes/compile.el (compile-command):
10388         * language/korea-util.el (default-korean-keyboard):
10389         * international/mule-conf.el (file-coding-system-alist):
10390         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10391         * tooltip.el (tooltip-frame-parameters):
10392         * newcomment.el (comment-end, comment-padding):
10393         * dired.el (dired-trivial-filenames):
10394         * comint.el (comint-file-name-prefix): Purecopy initial values.
10396 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
10398         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10399         (tramp-advice-minibuffer-electric-tilde): Unload advices via
10400         `tramp-unload'.
10401         (tramp-advice-make-auto-save-file-name)
10402         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10403         after removing the advice.
10405 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
10407         * progmodes/grep.el (grep-regexp-alist):
10408         * international/mule-cmds.el (iso-2022-control-alist):
10409         * emacs-lisp/timer.el (timer-duration-words):
10410         * subr.el (version-separator, version-regexp-alist):
10411         * minibuffer.el (completion-styles-alist):
10412         * faces.el (face-attribute-name-alist, list-faces-sample-text):
10413         Change defvars to defconsts.
10415         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10416         * loadup.el ("international/mule-conf"): Load the byte compiled version.
10417         * international/mule-conf.el: Allow to be byte compiled.
10419         * international/mule.el (define-charset): Purecopy props.
10420         (load-with-code-conversion): Purecopy doc string and file name.
10421         (put-charset-property): Purecopy strings.
10422         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10424         * international/mule-cmds.el (register-input-method): Purecopy arguments.
10425         (define-char-code-property): Correctly purecopy the table.
10427         * international/ccl.el (define-ccl-program): Purecopy the docstring.
10429         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10431         * subr.el (add-hook): Purecopy strings.
10432         (eval-after-load): Purecopy load-history-regexp and the form.
10434         * custom.el (custom-declare-group): Purecopy load-file-name.
10436         * subr.el (menu-bar-separator): New defconst.
10437         * net/eudc.el (eudc-tools-menu):
10438         * international/mule-cmds.el (set-coding-system-map)
10439         (mule-menu-keymap):
10440         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10441         * vc-hooks.el (vc-menu-map):
10442         * replace.el (occur-mode-map):
10443         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10444         (menu-bar-edit-menu, menu-bar-goto-menu)
10445         (menu-bar-custom-menu, menu-bar-showhide-menu)
10446         (menu-bar-options-menu, menu-bar-tools-menu)
10447         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10448         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10449         (menu-bar-help-menu):
10450         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10451         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10453         * term/x-win.el (x-gtk-stock-map):
10454         * progmodes/vera-mode.el (auto-mode-alist):
10455         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10456         (inferior-lisp-program, inferior-lisp-load-command):
10457         * progmodes/hideshow.el (hs-special-modes-alist):
10458         * progmodes/gud.el (same-window-regexps):
10459         * progmodes/grep.el (grep-program, find-program, xargs-program):
10460         * net/telnet.el (same-window-regexps):
10461         * net/rlogin.el (same-window-regexps):
10462         * language/ethiopic.el (font-ccl-encoder-alist):
10463         * vc-sccs.el (vc-sccs-master-templates):
10464         * vc-rcs.el (vc-rcs-master-templates):
10465         * subr.el (cl-assertion-failed):
10466         * simple.el (next-error-overlay-arrow-position):
10467         * lpr.el (lpr-command):
10468         * locate.el (locate-ls-subdir-switches):
10469         * info.el (same-window-regexps, info)
10470         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10471         * image-mode.el (image-mode, auto-mode-alist):
10472         * hippie-exp.el (hippie-expand-ignore-buffers):
10473         * format.el (format-alist):
10474         * find-dired.el (find-ls-subdir-switches, find-grep-options)
10475         (find-name-arg):
10476         * facemenu.el (facemenu-keybindings):
10477         * dired.el (dired-listing-switches, dired-chown-program):
10478         * diff.el (diff-switches, diff-command):
10479         * cus-edit.el (same-window-regexps):
10480         * bindings.el (mode-line-mule-info)
10481         (mode-line-buffer-identification): Purecopy strings.
10483 2009-11-11  Juri Linkov  <juri@jurta.org>
10485         * simple.el (dired-get-filename) <declare-function>:
10486         Tell the byte-compiler about dired-get-filename.
10487         (shell-command): In Dired mode, get filename from the current line
10488         as the default value.
10490 2009-11-10  Glenn Morris  <rgm@gnu.org>
10492         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10493         * calendar/holidays.el, progmodes/cperl-mode.el:
10494         Update x-popup-menu declarations.
10496         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10497         (list-load-path-shadows): Use dolist.
10498         (list-load-path-shadows): Use with-current-buffer.
10500 2009-11-10  Juri Linkov  <juri@jurta.org>
10502         * minibuffer.el (read-file-name): Support a list of default values
10503         in `default-filename'.  Use the first file name where only one
10504         element is required.  Doc fix.
10506 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
10508         * net/dbus.el (dbus-unregister-object): Release service, if no
10509         other method is registered for it.
10511 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
10513         * bookmark.el (bookmark-completing-read): Sort bookmark names if
10514         bookmark-sort-flag is non-nil (Bug#4653).
10516 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10518         * emulation/cua-base.el: Add CUA property to some CC mode commands
10519         (Bug#4100).
10521 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10523         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10524         at end of sentence (Bug#4818).
10526 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
10528         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10529         Handle "see declaration of" MSFT statements (Bug#4100).
10531 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
10533         * net/tramp.el (tramp-advice-make-auto-save-file-name)
10534         (tramp-advice-file-expand-wildcards): Unload via
10535         `ad-remove-advice'.
10537         * net/trampver.el: Update release number.
10539 2009-11-08  Kevin Ryde  <user42@zip.com.au>
10541         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10542         `ad-do-it'.
10544 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
10546         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10547         in order to keep context in SELinux.
10549 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
10551         * dired-aux.el (dired-query): Place cursor in echo area and allow
10552         C-g.
10554         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10555         menu item if not on a directory (Bug#4701).
10557 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
10559         Sync with Tramp 2.1.17.
10561         * net/tramp.el (tramp-handle-copy-directory): Don't use
10562         `file-remote-p' (due to compatibility).
10564         * net/tramp-compat.el (tramp-compat-copy-directory)
10565         (tramp-compat-delete-directory): New defuns.
10567         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10568         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10569         `tramp-compat-delete-directory'.
10571         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10572         (tramp-smb-handle-delete-directory): Use
10573         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10575         * net/trampver.el: Update release number.
10577 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
10579         * tar-mode.el (tar-copy): Call write-region on the right buffer
10580         (Bug#4857).
10582         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10583         by hand, if necessary (Bug#4878).
10585 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
10587         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10588         align size column (Bug#4839).
10590         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10591         statement.
10593 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10595         * progmodes/ld-script.el (auto-mode-alist):
10596         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10598         * cus-face.el (custom-declare-face): Purecopy face spec.
10600 2009-11-06  Kenichi Handa  <handa@m17n.org>
10602         * international/uni-bidi.el: Re-generated.
10603         * international/uni-category.el: Re-generated.
10604         * international/uni-combining.el: Re-generated.
10605         * international/uni-mirrored.el: Re-generated.
10607 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
10609         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10610         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10611         (tex-start-options, slitex-run-command, latex-run-command)
10612         (tex-run-command, tex-directory):
10613         * textmodes/ispell.el (ispell-html-skip-alists)
10614         (ispell-tex-skip-alists, ispell-tex-skip-alists):
10615         * textmodes/fill.el (adaptive-fill-first-line-regexp):
10616         (adaptive-fill-regexp):
10617         * textmodes/dns-mode.el (auto-mode-alist):
10618         * progmodes/python.el (interpreter-mode-alist):
10619         * progmodes/etags.el (tags-compression-info-list):
10620         * progmodes/etags.el (tags-file-name):
10621         * net/browse-url.el (browse-url-galeon-program)
10622         (browse-url-firefox-program):
10623         * mail/sendmail.el (mail-signature-file)
10624         (mail-citation-prefix-regexp):
10625         * international/mule-conf.el (eight-bit):
10626         * international/latexenc.el (latex-inputenc-coding-alist):
10627         * international/fontset.el (x-pixel-size-width-font-regexp):
10628         * emacs-lisp/warnings.el (warning-type-format):
10629         * emacs-lisp/trace.el (trace-buffer):
10630         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10631         (emacs-lisp-mode-map):
10632         * calendar/holidays.el (holiday-solar-holidays)
10633         (holiday-bahai-holidays, holiday-islamic-holidays)
10634         (holiday-christian-holidays, holiday-hebrew-holidays)
10635         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10636         (hebrew-holidays-1, holiday-oriental-holidays)
10637         (holiday-general-holidays):
10638         * x-dnd.el (x-dnd-known-types):
10639         * tool-bar.el (tool-bar):
10640         * startup.el (site-run-file):
10641         * shell.el (shell-dumb-shell-regexp):
10642         * rfn-eshadow.el (file-name-shadow-tty-properties)
10643         (file-name-shadow-properties):
10644         * paths.el (remote-shell-program, news-directory):
10645         * mouse.el ([C-down-mouse-3]):
10646         * menu-bar.el (menu-bar-tools-menu):
10647         * jka-cmpr-hook.el (jka-compr-load-suffixes)
10648         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10649         (jka-compr-compression-info-list):
10650         * isearch.el (search-whitespace-regexp):
10651         * image-file.el (image-file-name-extensions):
10652         * find-dired.el (find-ls-option):
10653         * files.el (directory-listing-before-filename-regexp)
10654         (directory-free-space-args, insert-directory-program)
10655         (list-directory-brief-switches, magic-fallback-mode-alist)
10656         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10657         (automount-dir-prefix):
10658         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10659         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10660         (face-font-registry-alternatives, face-font-registry-alternatives)
10661         (face-font-family-alternatives):
10662         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10663         (facemenu-foreground-menu, facemenu-face-menu):
10664         * epa-hook.el (epa-file-name-regexp):
10665         * dnd.el (dnd-protocol-alist):
10666         * textmodes/rst.el (auto-mode-alist):
10667         * button.el (default-button): Purecopy strings.
10669 2009-11-06  Glenn Morris  <rgm@gnu.org>
10671         * Makefile.in (ELCFILES): Update.
10673 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10675         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10676         * emacs-lisp/levents.el: Move to obsolete/levents.el.
10678         * nxml/xsd-regexp.el (xsdre-gen-categories):
10679         * nxml/xmltok.el (xmltok-parse-entity):
10680         * nxml/rng-parse.el (rng-parse-validate-file):
10681         * nxml/rng-maint.el (rng-format-manual)
10682         (rng-manual-output-force-new-line):
10683         * nxml/rng-loc.el (rng-save-schema-location-1):
10684         * nxml/rng-cmpct.el (rng-c-parse-file):
10685         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10686         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10688 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
10690         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10691         Remove extra save-excursions and make-variable-buffer-local's.
10692         Suggested by Stefan Monnier.
10694         (verilog-getopt-file, verilog-module-inside-filename-p)
10695         (verilog-set-define): Merge GNU 1.35 and repair changes from
10696         switching to using with-current-buffer.
10698         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10699         being treated as a number and confusing AUTORESET.
10700         Reported by Dan Dever.
10702         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10703         Add verilog-auto-ignore-concat to fix backward compatibility with
10704         older verilog-modes.  Reported by Dan Katz.
10706         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10707         containing closing anchors "...$".
10709         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10710         Reported by Wade Smith.
10712         (verilog-batch-execute-func): Comment on function usage.
10714 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
10716         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10717         for labels.
10719         (verilog-label-re, verilog-calc-1): Support proper indent of named
10720         asserts.
10722         (verilog-backward-token, verilog-basic-complete-re)
10723         (verilog-beg-of-statement, verilog-indent-re): Support proper
10724         indent of the assert statement at the beginning of a block of text.
10726         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10727         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10728         tokens as begins.
10730 2009-11-05  Glenn Morris  <rgm@gnu.org>
10732         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10733         Emacs 19.  (Bug#1531)
10734         (byte-compile-fix-header): Update for the above change.
10735         Drop test for epoch::version.
10737         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10738         * cus-dep.el (custom-make-dependencies):
10739         * finder.el (finder-compile-keywords):
10740         Use autoload-rubric's feature argument.
10742         * calendar/diary-lib.el (top-level): Make load behave more like require.
10744         * vc-git.el (vc-git-stash-map): Move definition before use.
10746 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
10748         * custom.el (custom-declare-group): Purecopy standard-value.
10749         (custom-declare-group): Purecopy custom-prefix.
10751         * international/mule.el (load-with-code-conversion):
10752         Call do-after-load-evaluation unconditionally.
10754         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10756 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10758         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10760 2009-11-04  Glenn Morris  <rgm@gnu.org>
10762         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10763         (byte-compile-compatibility): Remove option.
10764         (byte-compile-close-variables, byte-compile-fix-header)
10765         (byte-compile-insert-header, byte-compile-output-docform)
10766         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10767         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10768         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10769         (byte-compile-insert, byte-compile-defun):
10770         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
10771         (byte-defop-compiler19): Remove.
10772         Without byte-compile-compatibility, the 'emacs19-opcode property is not
10773         used by anything.  Replace all calls with byte-defop-compiler.
10775 2009-11-04  Juri Linkov  <juri@jurta.org>
10777         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10778         (menu-bar-options-menu): Don't quote the `prop' arg of
10779         `menu-bar-make-mm-toggle'.
10781 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
10783         * calendar/calendar.el (cal-loaddefs):
10784         * calendar/diary-lib.el (diary-loaddefs):
10785         * calendar/holidays.el (hol-loaddefs):
10786         * eshell/esh-module.el (esh-groups): Load rather than require.
10788 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10790         * calendar/todo-mode.el (todo-add-category): Don't hardcode
10791         point-min==1.
10792         (todo-top-priorities): Only display-buffer when called interactively.
10793         (todo-item-start): Don't save excursion point.
10794         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
10795         (todo-insert-item-here, todo-file-item, todo-remove-item):
10796         Adjust uses of todo-item-start and todo-item-end.
10798         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10799         (autoload-rubric): Don't use any more.
10801         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10802         and only put a prop if it is non-nil.
10804 2009-11-03  Juri Linkov  <juri@jurta.org>
10806         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10807         (menu-bar-options-menu): Fix list quoting (Bug#4429).
10809         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10810         and "Menu" to make top-level menu item visually one unit (like
10811         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10812         multi-word menu items).  Fix :help string for quit-window.
10814 2009-11-03  Glenn Morris  <rgm@gnu.org>
10816         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10817         (byte-compile-file-form-define-abbrev-table)
10818         (byte-compile-file-form-custom-declare-variable)
10819         (byte-compile-variable-ref, byte-compile-defvar):
10820         Whether or not a warning is enabled should only affect whether we issue
10821         the warning, not whether or not we collect the relevant data.
10822         Eg warnings can be turned on and off throughout the course of a file.
10824         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10825         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10827 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10829         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10830         * play/mpuz.el (mpuz-create-buffer):
10831         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10832         (lm-print-y,s,noise, lm-print-w0, lm-init):
10833         * play/gomoku.el (gomoku-prompt-for-move):
10834         * play/fortune.el (fortune-in-buffer):
10835         * play/dissociate.el (dissociated-press):
10836         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10837         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10838         * mail/supercite.el (sc-eref-show):
10839         * mail/smtpmail.el (smtpmail-send-it):
10840         * mail/rmailsum.el (rmail-summary-next-labeled-message)
10841         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10842         (rmail-summary-undelete-many, rmail-summary-rmail-update)
10843         (rmail-summary-goto-msg, rmail-summary-expunge)
10844         (rmail-summary-get-new-mail, rmail-summary-search-backward)
10845         (rmail-summary-add-label, rmail-summary-output-menu)
10846         (rmail-summary-output-body):
10847         * mail/rfc822.el (rfc822-addresses):
10848         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10849         * mail/mailpost.el (post-mail-send-it):
10850         * mail/hashcash.el (hashcash-generate-payment):
10851         * mail/feedmail.el (feedmail-run-the-queue)
10852         (feedmail-queue-send-edit-prompt-help-first)
10853         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10854         (feedmail-deduce-address-list):
10855         * eshell/esh-ext.el (eshell-remote-command):
10856         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10857         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10858         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10859         (viper-save-string-in-file, viper-valid-marker):
10860         * emulation/viper-keym.el (viper-toggle-key):
10861         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10862         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10863         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10864         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10865         (viper-exec-form-in-emacs, viper-brac-function):
10866         * emulation/viper.el (viper-delocalize-var):
10867         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10868         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10869         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10870         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10871         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10872         * emulation/edt.el (edt-electric-helpify):
10873         * emulation/cua-rect.el (cua--rectangle-aux-replace):
10874         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10875         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10876         (cua-indent-to-global-mark-column):
10877         * calendar/diary-lib.el (calendar-mark-1):
10878         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10879         Use with-current-buffer.
10880         * emulation/viper.el (viper-delocalize-var): Use dolist.
10882 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
10884         * comint.el (comint-replace-by-expanded-history-before-point):
10885         Replace !! with the previous input string literally (Bug#1795).
10887 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
10889         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10890         to be made up of whitespace.
10892 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
10894         * minibuffer.el (read-file-name): Don't use file dialogs for
10895         remote directories (Bug#99).
10897 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
10899         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10901 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10903         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10904         instead of deleting the window or frame.
10906 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10908         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10909         Support face colors.
10911         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10912         New function.  Support face colors (Bug#1168).
10913         (tex-common-initialization): Use it.
10915         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10916         mode allows it (Bug#1168).
10918 2009-10-31  Juri Linkov  <juri@jurta.org>
10920         * facemenu.el (list-colors-display): Don't mark buffer as
10921         modified (Bug#3948).
10923 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
10925         * international/mule-diag.el (list-character-sets-1): Minor
10926         message fix (Bug#3526).
10928         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10929         face property (Bug#4834).
10930         (etags-list-tags, etags-tags-apropos-additional)
10931         (etags-tags-apropos, tags-select-tags-table): Add follow-link
10932         property.
10934         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10935         items.
10937 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10939         * textmodes/two-column.el (2C-split):
10940         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10941         * textmodes/tex-mode.el (tex-set-buffer-directory):
10942         * textmodes/spell.el (spell-region, spell-string):
10943         * textmodes/reftex.el (reftex-erase-buffer):
10944         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10945         * textmodes/reftex-toc.el (reftex-toc-promote-action):
10946         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10947         (reftex-select-item):
10948         * textmodes/reftex-ref.el (reftex-label-info-update)
10949         (reftex-offer-label-menu):
10950         * textmodes/reftex-index.el (reftex-index-change-entry)
10951         (reftex-index-phrases-info):
10952         * textmodes/reftex-global.el (reftex-create-tags-file)
10953         (reftex-save-all-document-buffers, reftex-ensure-write-access):
10954         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10955         (reftex-view-crossref-from-bibtex):
10956         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10957         (reftex-extract-bib-entries-from-thebibliography)
10958         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10959         * textmodes/refbib.el (r2b-capitalize-title):
10960         (r2b-convert-buffer, r2b-help):
10961         * textmodes/page-ext.el (pages-directory)
10962         (pages-directory-goto-with-mouse):
10963         * textmodes/bibtex.el (bibtex-validate-globally):
10964         * textmodes/bib-mode.el (bib-capitalize-title):
10965         * textmodes/artist.el (artist-clear-buffer, artist-system):
10966         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10967         (local-set-scheme-interaction-buffer, xscheme-process-filter)
10968         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10969         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10970         (xscheme-send-control-g-interrupt, xscheme-start-process)
10971         (xscheme-process-sentinel, xscheme-cd):
10972         * progmodes/verilog-mode.el (verilog-read-always-signals)
10973         (verilog-set-define, verilog-getopt-file)
10974         (verilog-module-inside-filename-p):
10975         * progmodes/sh-script.el:
10976         * progmodes/python.el (python-pdbtrack-get-source-buffer)
10977         (python-pdbtrack-grub-for-buffer, python-execute-file):
10978         * progmodes/octave-inf.el (inferior-octave):
10979         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10980         (idlwave-shell-compile-helper-routines, idlwave-set-local)
10981         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10982         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10983         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10984         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10985         (idlwave-shell-filter, idlwave-shell-examine-highlight)
10986         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10987         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10988         (idlwave-shell-examine-display, idlwave-shell-run-region)
10989         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10990         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10991         * progmodes/idlw-help.el (idlwave-help-get-special-help)
10992         (idlwave-help-get-help-buffer):
10993         * progmodes/gud.el (gud-basic-call, gud-find-class)
10994         (gud-tooltip-activate-mouse-motions-if-enabled):
10995         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10996         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10997         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10998         (ebrowse-tags-next-file):
10999         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11000         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11001         (ebnf-eps-finish-and-write):
11002         * progmodes/cpp.el (cpp-edit-save):
11003         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11004         * progmodes/cc-defs.el (c-emacs-features):
11005         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11006         (antlr-directory-dependencies):
11007         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11008         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11009         (ada-find-any-references, ada-make-filename-from-adaname)
11010         (ada-make-body-gnatstub):
11011         * obsolete/rnews.el (news-list-news-groups):
11012         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11013         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11014         * net/rcirc.el (rcirc-debug):
11015         * net/newst-treeview.el (newsticker--treeview-list-add-item)
11016         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11017         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11018         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11019         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11020         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11021         (newsticker--treeview-list-clear-highlight)
11022         (newsticker--treeview-list-update-highlight)
11023         (newsticker--treeview-list-highlight-start)
11024         (newsticker--treeview-tree-update-highlight)
11025         (newsticker--treeview-get-selected-item)
11026         (newsticker-treeview-mark-list-items-old)
11027         (newsticker--treeview-set-current-node):
11028         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11029         * net/newst-backend.el (newsticker--get-news-by-funcall)
11030         (newsticker--get-news-by-wget, newsticker--image-get)
11031         (newsticker--image-sentinel):
11032         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11033         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11034         (eudc-ph-close-session):
11035         * net/eudc.el (eudc-save-options):
11036         * language/thai-word.el (thai-update-word-table):
11037         * language/japan-util.el (japanese-string-conversion):
11038         * international/titdic-cnv.el (tsang-quick-converter)
11039         (ziranma-converter, ctlau-converter):
11040         * international/mule-cmds.el (describe-language-environment):
11041         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11042         (skkdic-convert-postfix, skkdic-convert-prefix):
11043         (skkdic-convert-okuri-nasi, skkdic-convert):
11044         * emacs-lisp/re-builder.el (reb-update-overlays):
11045         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11046         * emacs-lisp/gulp.el (gulp-send-requests):
11047         * emacs-lisp/find-gc.el (trace-call-tree):
11048         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11049         (eieio-describe-generic):
11050         * emacs-lisp/eieio-base.el (eieio-persistent-read):
11051         * emacs-lisp/edebug.el (edebug-outside-excursion):
11052         * emacs-lisp/debug.el (debugger-make-xrefs):
11053         * emacs-lisp/cust-print.el (custom-prin1-to-string):
11054         * emacs-lisp/chart.el (chart-new-buffer):
11055         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11056         Use with-current-buffer.
11057         * textmodes/artist.el (artist-system): Don't call
11058         copy-sequence on a fresh string.
11059         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11061 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
11063         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11064         is no item to edit.  (Bug#4820)
11065         (todo-top-priorities): Restore point and restore narrowing in Todo
11066         buffer.  (Bug#4820)
11068 2009-10-31  Glenn Morris  <rgm@gnu.org>
11070         * net/ange-ftp.el (top-level): Don't require dired when compiling.
11071         (comint-last-output-start, comint-last-input-start)
11072         (comint-last-input-end): Don't defvar when compiling.
11073         (ange-ftp-process-file): Use bound-and-true-p.
11075         * pcmpl-rpm.el (top-level): Move provide statement to end.
11076         (pcmpl-rpm): Remove unused custom group.
11078         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11080         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11082         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11083         (byte-compile-warnings): Add `constants' as an option.
11084         (byte-compile-callargs-warn, byte-compile-arglist-warn)
11085         (display-call-tree): Update for byte-compile-fdefinition possibly
11086         returning `(macro lambda ...)'.  (Bug#4778)
11087         (byte-compile-variable-ref, byte-compile-setq-default):
11088         Respect `constants' member of byte-compile-warnings.
11090 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11092         * vc-bzr.el (vc-bzr-revision-keywords): New var.
11093         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11094         to "submit:".
11096 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
11098         * textmodes/ispell.el (ispell-skip-region-alist):
11099         * international/mule-conf.el (eight-bit):
11100         * international/fontset.el (font-encoding-alist):
11101         * startup.el (pure-space-overflow-message):
11102         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11103         * paths.el (gnus-nntp-service, rmail-spool-directory)
11104         (term-file-prefix):
11105         * files.el (save-some-buffers-action-alist):
11106         * cmuscheme.el (same-window-buffer-names):
11107         * ielm.el (same-window-buffer-names):
11108         * shell.el (same-window-buffer-names):
11109         * mail/sendmail.el (same-window-buffer-names):
11110         * progmodes/inf-lisp.el (same-window-buffer-names):
11111         * bindings.el (mode-line-client)
11112         (mode-line-column-line-number-mode-map):
11113         * language/tibetan.el (tibetan-precomposition-rule-regexp)
11114         (tibetan-precomposed-regexp): Purecopy string arguments.
11116 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11118         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11119         (calcDigit-nondigit):
11120         * calc/calc-yank.el (calc-copy-to-buffer):
11121         * calc/calc-units.el (calc-invalidate-units-table):
11122         * calc/calc-trail.el (calc-trail-yank):
11123         * calc/calc-store.el (calc-insert-variables):
11124         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11125         * calc/calc-prog.el (calc-read-parse-table):
11126         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11127         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11128         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11129         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11130         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11131         (calc-graph-name, calc-graph-find-command, calc-graph-view)
11132         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11133         * calc/calc-ext.el (calc-realign):
11134         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11135         (calc-embedded-finish-edit, calc-embedded-make-info)
11136         (calc-embedded-finish-command, calc-embedded-stack-change):
11137         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11139         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11140         shell-dynamic-complete-filename in preference to
11141         comint-dynamic-complete-filename.
11143         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11144         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11145         Don't consider whether the display supports colors.
11146         (bookmark-import-new-list): Use dolist.
11147         (bookmark-bmenu-mode-map): Move initialization into declaration.
11148         (bookmark-bmenu-list): Use dolist, simplify.
11149         (bookmark-show-all-annotations): Use save-selected-window and dolist.
11150         (menu-bar-final-items): Use push.
11152 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11154         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11155         it works on remote files.
11156         (vc-hg-diff): Don't pass any `--cwd' argument.
11158 2009-10-27  Kevin Ryde  <user42@zip.com.au>
11160         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11161         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11162         (Further to Bug#3921).
11164 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
11166         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11167         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11168         calling `tramp-imap-put-file'.  Add file size to the call.
11169         (tramp-imap-get-file-entries): Compute also user name, file size,
11170         and date.
11171         (tramp-imap-handle-insert-directory): Insert uid and gid.
11172         (tramp-imap-handle-file-attributes): Transform uid and gid
11173         according to `id-format'.
11174         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
11175         size in header X-Size.
11177 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
11179         * simple.el (transpose-subr): Give clearer error when the mark
11180         is not set.  (Bug#4807)
11182 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
11184         * net/tramp.el (tramp-perl-file-truename): New defconst.
11185         Perl code contributed by yary <not.com@gmail.com> (tiny change).
11186         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11187         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11188         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11190         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11191         Ignore `dired-call-process'.
11192         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11194 2009-10-26  Julian Scheid  <julians37@gmail.com>
11196         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11197         (tramp-get-remote-readlink): New defun.
11198         (tramp-handle-file-truename): Use it.
11199         (tramp-handle-file-exists-p): Check file-attributes cache, assume
11200         file exists if cache value present.
11201         (tramp-check-cached-permissions): New defun.
11202         (tramp-handle-file-readable-p): Use it.
11203         (tramp-handle-file-writable-p): Likewise.
11204         (tramp-handle-file-executable-p): Likewise.
11205         (tramp-handle-file-name-all-completions): Try using Perl to get
11206         partial completions.  When perl not available, combine `cd' and
11207         `ls' into single remote operation and use shell expansion to get
11208         partial remote directory contents.  Set `file-exists-p' cache for
11209         directory and any files returned by ls.  Change cache handling to
11210         support partial directory contents.  Use error message emitted by
11211         remote `cd' or Perl code for local tramp-error.
11212         (tramp-do-copy-or-rename-file-directly): Avoid separate
11213         tramp-send-command-and-check call.
11214         (tramp-handle-process-file): Merge three remote ops into one.
11215         Do not flush all caches when `process-file-side-effects' is set.
11216         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11217         file-attributes shows uid/gid to be set already.
11219 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
11221         * textmodes/tex-mode.el (tex-dvi-view-command)
11222         (tex-show-queue-command, tex-open-quote):
11223         * progmodes/ruby-mode.el (auto-mode-alist)
11224         (interpreter-mode-alist): Purecopy strings.
11226         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11228         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11229         string for the hook, keymap and abbrev table.
11231         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11233         * x-dnd.el (x-dnd-xdnd-to-action):
11234         * startup.el (fancy-startup-text, fancy-about-text): Change to
11235         defconst from defvar.
11237         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11239         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11240         Purecopy initialization strings.
11242         * mail/sendmail.el (mail-header-separator)
11243         (mail-personal-alias-file):
11244         * mail/rmail.el (rmail-default-dont-reply-to-names)
11245         (rmail-ignored-headers, rmail-retry-ignored-headers)
11246         (rmail-highlighted-headers, rmail-secondary-file-directory)
11247         (rmail-secondary-file-regexp):
11248         * files.el (null-device, file-name-invalid-regexp)
11249         (locate-dominating-stop-dir-regexp)
11250         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11251         (interpreter-mode-alist): Use mapcar instead of mapc.
11253         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11255         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11256         (completion-ignored-extensions):
11257         (debug-ignored-errors): Purecopy strings.
11259 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11261         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11262         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11263         (pcomplete--here): Use push.
11265         * subr.el (all-completions): Declare the 4th arg obsolete.
11267 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11269         * pcomplete.el (pcomplete-unquote-argument-function): New var.
11270         (pcomplete-unquote-argument): New function.
11271         (pcomplete--common-suffix): Always pay attention to case.
11272         (pcomplete--table-subvert): Quote and unquote the text.
11273         (pcomplete--common-quoted-suffix): New function.
11274         (pcomplete-std-complete): Use it and pcomplete-begin.
11276         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11277         we're inside a dedicated or minibuffer window.
11279 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
11281         * bookmark.el: Update documentation, especially documentation
11282         of `bookmark-alist' and of the bookmark file format.
11283         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
11285 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
11287         * mail/emacsbug.el (report-emacs-bug): Clarify that the
11288         keybindings apply to the mail buffer (Bug#4003).  Shrink help
11289         window to buffer.
11291         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11292         (global-whitespace-mode, global-whitespace-newline-mode)
11293         (whitespace-toggle-options, global-whitespace-toggle-options):
11294         Doc fix (Bug#3660).
11296         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11297         of xmltok-start before the end tag was inserted (Bug#2840).
11299         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11300         patterns that are preceded by an open-paren (Bug#1320).
11302 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
11304         * files.el (delete-directory): Delete symlinks to directories with
11305         delete-file (Bug#4739).
11307 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
11309         * vc.el (vc-backend-for-registration): Rename from
11310         vc-get-backend-for-registration.  Update callers.
11312         * international/mule-cmds.el (set-language-info-alist):
11313         Purecopy lang-env.
11314         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11315         (charset): Purecopy the name.
11316         (define-char-code-property): Purecopy string arguments.
11318         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11319         Purecopy string arguments.
11321         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11322         * ediff-hook.el (menu-bar-ediff-menu):
11323         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11324         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11326 2009-10-24  Glenn Morris  <rgm@gnu.org>
11328         * comint.el (comint-dynamic-list-completions):
11329         * term.el (term-dynamic-list-completions): Use choose-completion rather
11330         than obsolete alias mouse-choose-completion.
11332         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11333         file-cache-choose-completion.
11334         (file-cache-choose-completion): Handle an optional event argument.
11335         (file-cache-mouse-choose-completion): Make it an obsolete alias.
11337         * progmodes/octave-mod.el (octave-complete-symbol):
11338         Use choose-completion if mouse-choose-completion is ever removed.
11340         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11341         use.
11343         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11344         compiler.
11346         * vc-hooks.el (vc-responsible-backend): Fix declaration.
11348 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11350         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11351         Ignore `pred' now that we receive one.
11352         Handle test-completion specially.
11354 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11356         * vc.el (vc-responsible-backend): Throw an error if not backend is
11357         found.  Remove the REGISTER argument.  Move the code dealing with
11358         REGISTER ...
11359         (vc-get-backend-for-registration): ... here.  New function.
11360         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11361         of vc-responsible-backend, pass the file name instead of the
11362         directory name.
11364 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11366         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11367         New funs.
11368         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
11369         (pcomplete-comint-setup): Don't modify a global var via
11370         accidental side-effects.
11371         (pcomplete-shell-setup): Adjust call accordingly.
11372         (pcomplete-parse-comint-arguments): Use push.
11374 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
11376         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11377         Allow uncapitalized info node names (Bug#3921).
11379         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11380         to the DEBUG file (Bug#3781).
11382 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
11384         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11385         dictionary entry (Bug#4579).
11387 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
11389         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11390         from `rfn-eshadow-update-overlay-hook' when unloading.
11391         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11392         "rsyncc".  Adjust doc string.
11393         (tramp-temp-buffer-file-name): New buffer-local defvar.
11394         (tramp-handle-insert-file-contents, tramp-handle-write-region):
11395         Keep temporary file when indicated by method ("rsync" and
11396         "rsyncc").
11397         (tramp-handle-write-region): Handle APPEND.
11398         (tramp-delete-temp-file-function): New defun.  Added to
11399         `kill-buffer-hook'.
11401 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
11403         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11405 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
11407         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11408         (color-name-rgb-alist, tty-standard-colors)
11409         (tty-color-mode-alist): Change to defconst.
11411         * simple.el (mark-inactive): Purecopy message.
11413         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11414         (global-map, yank-menu):
11415         * textmodes/ispell.el (ispell-menu-map):
11416         * net/eudc.el (eudc-tools-menu):
11417         * international/mule-cmds.el (describe-language-environment-map)
11418         (setup-language-environment-map, set-coding-system-map)
11419         (mule-menu-keymap):
11420         * vc-hooks.el (vc-menu-entry, vc-menu-map):
11421         * replace.el (occur-mode-map):
11422         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11424 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
11426         * calc/calc.el (math-read-number, math-read-number-simple): Use
11427         `save-match-data'.
11429 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11431         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11432         rather than fiddling with global-map bindings, since it should only
11433         affect per-terminal settings.
11434         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11436         * minibuffer.el (completion-table-with-terminator): Allow to specify
11437         the terminator-regexp.
11439         * simple.el (switch-to-completions): Look for *Completions* in other
11440         frames as well.
11442         * pcomplete.el: Allow the use of completion-tables.
11443         (pcomplete-std-complete): New command.
11444         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11445         (pcomplete--here): Use a function for `form' rather than an expression,
11446         so it can be byte-compiled.
11447         (pcomplete-here, pcomplete-here*): Adjust accordingly.
11448         Add edebug declaration.
11449         (pcomplete-show-completions): Remove unused var `curbuf'.
11450         (pcomplete-do-complete, pcomplete-stub):
11451         Don't assume `completions' is a list of strings any more.
11453 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
11455         * find-dired.el (find-name-arg): Fix typo in docstring.
11457 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11459         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11460         (pcmpl-linux-fs-types): Same, and update to new modules layout.
11462         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11463         pcomplete-entries.
11465         * comint.el (comint-read-input-ring, comint-write-input-ring)
11466         (comint-substitute-in-file-name)
11467         (comint-dynamic-complete-as-filename)
11468         (comint-dynamic-simple-complete)
11469         (comint-dynamic-list-filename-completions)
11470         (comint-dynamic-list-completions)
11471         (comint-redirect-results-list-from-process): Minor simplifications.
11473 2009-10-21  Kevin Ryde  <user42@zip.com.au>
11475         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11476         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11477         the first form.  And insert a blank line after ";;; Code" since
11478         that's usual style.  (Bug#4612)
11480         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11482 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11484         * minibuffer.el (completion-table-with-terminator): Properly implement
11485         boundaries, in case `terminator' appears in the suffix.
11486         (completion--embedded-envvar-table): Don't return boundaries if
11487         there's no valid completion.  Simplify.
11488         (completion-file-name-table): New completion table extracted from
11489         completion--file-name-table.
11490         (completion--file-name-table): Use it.
11491         (read-file-name-predicate): Declare obsolete.
11492         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11493         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11494         completion-file-name-table, and use the `pred' argument.
11495         * files.el (locate-file-completion-table): Use the `pred' arg rather
11496         than read-file-name-predicate.
11497         (abbreviate-file-name): Use \` rather than ^ for BOS.
11499 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
11501         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11502         vc-responsible-backend to register, it causes problems.
11504 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11506         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11508 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
11510         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11511         (tramp-smb-handle-file-attributes): Use it.
11512         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11513         (tramp-smb-handle-insert-directory): Use `mapc' rather than
11514         `mapcar'.  Use `tramp-smb-get-stat-capability'.
11515         Add `dired-filename' text properties.
11516         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11517         (tramp-smb-maybe-open-connection): Simplify check for smbclient
11518         version.
11520 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11522         * subr.el (read-key-delay): Reduce to 0.01.
11523         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11524         (bug#4751).
11526 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11528         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11530         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11531         (Info-menu): Remove unused vars `last' and `completions'.
11532         (Info-index-nodes): Remove unused var `node'.
11534         * info.el (Info-complete-menu-item): Use complete-with-action.
11536 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
11538         Make vc-annotate work through copies and renames.
11539         * vc-annotate.el (vc-annotate-extract-revision-at-line):
11540         Return the file name too.
11541         (vc-annotate-revision-at-line)
11542         (vc-annotate-find-revision-at-line)
11543         (vc-annotate-revision-previous-to-line)
11544         (vc-annotate-show-log-revision-at-line): Update to get the file
11545         name from vc-annotate-extract-revision-at-line.
11546         (vc-annotate-show-diff-revision-at-line-internal): Change the
11547         argument to mean whether to show a file diff or not.  Get the file
11548         name from vc-annotate-extract-revision-at-line.
11549         (vc-annotate-show-diff-revision-at-line):
11550         Update vc-annotate-show-diff-revision-at-line call.
11551         (vc-annotate-warp-revision): Add an optional file argument.
11553         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11554         (vc-git-annotate-extract-revision-at-line): Also return the file
11555         name if found.
11557         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11558         command.  Remove unused code.
11559         (vc-hg-annotate-re): Update to match --follow output.
11560         (vc-hg-annotate-extract-revision-at-line): Also return the file
11561         name if found.
11563         * vc.el: Update annotate-extract-revision-at-line documentation.
11565 2009-10-18  Kevin Ryde  <user42@zip.com.au>
11567         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11568         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11570         * net/browse-url.el (browse-url): Identify alist with "consp and
11571         not functionp" and let all other things go down the `apply' leg,
11572         as suggested by Stefan.  (Further to bug#4531.)
11574 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
11576         * minibuffer.el (read-file-name): Check for repeat before putting
11577         a default argument in file-name-history (Bug#4657).
11579         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11580         read syntax (Bug#4737).
11582         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11584 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
11586         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11587         (html-tag-alist, html-tag-help): Add descriptions for undocumented
11588         entries and make note of obsolete tags.
11590 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11592         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11594 2009-10-18  Glenn Morris  <rgm@gnu.org>
11596         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11597         grep, so that binary files (eg international/uni-bidi.el) can match.
11598         Remove test for "UnicodeData" files, since it is hopefully unnecessary
11599         now, and in any case the file header format has changed.
11601 2009-10-17  Glenn Morris  <rgm@gnu.org>
11603         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11604         (flyspell-get-word, flyspell-large-region)
11605         (flyspell-auto-correct-previous-word): Doc/error message fixes.
11607 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
11609         * Makefile.in (ELCFILES): Add ede/shell.
11611 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
11613         * term/common-win.el (x-colors): Purecopy it.
11615 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11617         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11618         permissive for when the buffer is empty.
11619         (tar-header-block-tokenize): Decode the username and groupname.
11620         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11622 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11624         * international/mule-cmds.el (select-safe-coding-system): If the file
11625         has a coding cookie, use it regardless of any other setting (bug#4712).
11627 2009-10-17  Glenn Morris  <rgm@gnu.org>
11629         * foldout.el (foldout-mouse-swallow-events):
11630         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11632         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11633         (dired-keep-marker-copy, dired-keep-marker-hardlink)
11634         (dired-keep-marker-symlink, dired-dwim-target)
11635         (dired-copy-preserve-time): Do not autoload these defcustoms.
11637         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11638         messages from messing up the file coding.  (Bug#4623)
11640 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
11642         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11643         if no match is found for the current dictionary.  (Bug#4578)
11645         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11646         optional, since that is how it is documented, and this is often called
11647         with a nil argument.  (Bug#4577)
11648         (flyspell-external-point-words, flyspell-auto-correct-word)
11649         (flyspell-correct-word-before-point, flyspell-word-search-forward)
11650         (flyspell-word-search-backward): Remove nil argument in calls to
11651         flyspell-get-word, since it is not needed now.
11653 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
11655         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
11657 2009-10-16  Glenn Morris  <rgm@gnu.org>
11659         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11661 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
11663         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11664         (ange-ftp-file-size): New function.
11665         (ange-ftp-file-attributes): Use it.
11667 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
11669         * net/tramp-smb.el (tramp-smb-version): New defvar.
11670         (tramp-smb-maybe-open-connection): Use it, in order to avoid
11671         repeated checks.
11673 2009-10-16  Glenn Morris  <rgm@gnu.org>
11675         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11676         Maybe copy some custom properties from old to new name.  (Bug#4706)
11678 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
11680         * subr.el (error, sit-for, start-process-shell-command)
11681         (start-file-process-shell-command): Set the calling convention
11682         after the function definition.
11684 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11686         * subr.el (error, sit-for, start-process-shell-command)
11687         (start-file-process-shell-command): Use the new
11688         set-advertised-calling-convention feature.
11690 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
11692         * international/ucs-normalize.el (ucs-normalize-version):
11693         Change to 1.2.
11694         (check-range): Adjust for Unicode 5.2.
11696 2009-10-15  Juri Linkov  <juri@jurta.org>
11698         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11699         to the `menu-item' format.
11701 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
11703         * net/tramp.el (tramp-replace-environment-variables): Do not fail
11704         if the environment variable does not exist.
11706         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11707         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11708         parameter.
11709         (tramp-smb-handle-add-name-to-file)
11710         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11711         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11712         (tramp-smb-handle-file-attributes)
11713         (tramp-smb-do-file-attributes-with-stat)
11714         (tramp-smb-handle-file-local-copy)
11715         (tramp-smb-handle-insert-directory)
11716         (tramp-smb-handle-make-directory)
11717         (tramp-smb-handle-make-directory-internal)
11718         (tramp-smb-handle-make-symbolic-link)
11719         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11720         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11721         (tramp-smb-maybe-open-connection): Apply the changed parameters.
11722         (tramp-smb-read-file-entry): Read Disk names in compressed format.
11723         Handle long file names.
11724         (tramp-smb-get-cifs-capabilities): Check, whether the connection
11725         process is running.
11726         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11727         Read share names with "-g" option.
11729 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
11731         * net/rcirc.el (rcirc-view-log-file): New command.
11732         (rcirc-track-minor-mode-map): Remove C-c ` binding.
11733         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11734         specified.
11736 2009-10-15  Glenn Morris  <rgm@gnu.org>
11738         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11739         from the second command-line argument.
11740         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11741         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11742         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11743         w32-batch-update-autoloads.
11744         * emacs-lisp/autoload.el (autoload-make-program): New variable.
11745         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11747         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11748         the headers cannot be located.  Simplify, subtracting superflous
11749         save-excursions.
11751 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11753         Replace completion-base-size by completion-base-position to fix bugs
11754         such as (bug#4699).
11755         * simple.el (completion-base-position): New var.
11756         (completion-base-size): Mark as obsolete.
11757         (choose-completion): Make it work for mouse events as well.
11758         Pass the new base-position to choose-completion-string.
11759         (choose-completion-guess-base-position): New function, extracted from
11760         choose-completion-delete-max-match.
11761         (choose-completion-delete-max-match): Use it.  Make obsolete.
11762         (choose-completion-string): Use the new base-position info.
11763         (completion-root-regexp): Delete.
11764         (completion-setup-function): Preserve completion-base-position.
11765         Eliminate obsolete base-size manipulation.
11766         * minibuffer.el (display-completion-list): Don't mess with base-size.
11767         (minibuffer-completion-help): Set completion-base-position instead.
11768         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11769         choose-completion.
11770         * textmodes/bibtex.el (bibtex-complete):
11771         * emacs-lisp/crm.el (crm--choose-completion-string):
11772         Adjust to new calling convention.
11773         * complete.el (partial-completion-mode): Use minibufferp to avoid
11774         bumping into incompatible change to choose-completion-string-functions.
11775         * ido.el (ido-choose-completion-string): Make its calling convention
11776         more permissive.
11777         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11778         base-size manipulation.
11779         (comint-dynamic-list-input-ring): Use dotimes and push.
11780         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11781         fundamental-mode.  Use `or'.
11783 2009-10-14  Juri Linkov  <juri@jurta.org>
11785         * misearch.el (multi-isearch-next-buffer-from-list)
11786         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
11788 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11790         * Makefile.in (compile-onefile): Load `bytecomp' rather than
11791         `bytecomp.el'.
11793         * minibuffer.el (completion-pcm--merge-completions): Make sure the
11794         string we return is all made up of text from the completions rather
11795         than part from the completions and part from the input (bug#4219).
11797         * ido.el (ido-everywhere): Use define-minor-mode.
11799         * buff-menu.el (list-buffers, ctl-x-map):
11800         Mark the entry points with ;;;###autoload cookies.
11802 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
11804         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11805         correctly in the detached head case.
11806         (vc-git-print-log): Remove unused binding.
11808         * vc.el (vc-responsible-backend): When a directory is passed for
11809         for registration create a VC repository if no backend is
11810         responsible for the directory argument.
11811         (vc-deduce-fileset): Tell vc-responsible-backend to register.
11813         * vc.el: Move comments about RCS and SCCS ...
11814         * vc-rcs.el:
11815         * vc-sccs.el: ... here, respectively.
11817 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11819         * minibuffer.el (completion--file-name-table): Return nil if there's
11820         no file completion, even if substitute-in-file-name changed
11821         the string (bug#4708).
11823 2009-10-13  Juri Linkov  <juri@jurta.org>
11825         * files-x.el (read-file-local-variable-value): Don't filter out
11826         minor modes from mode name completion (bug#4664).
11828 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11830         * international/mule-cmds.el (ucs-names): Remove exclusion of
11831         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11833 2009-10-13  Kenichi Handa  <handa@m17n.org>
11835         * international/uni-name.el: Regenerated.
11837 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
11839         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
11840         should be automatically buffer-local, but isn't.)
11842 2009-10-12  Sam Steingold  <sds@gnu.org>
11844         * progmodes/compile.el (compilation-next-error-function): Fix the
11845         timestamps if the buffer has been visited before.
11846         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11847         non-anchored patterns, like the perl one (bug#3928).
11849 2009-10-12  Glenn Morris  <rgm@gnu.org>
11851         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11852         Let-bind `size'.
11854 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
11856         * proced.el (proced-unload-function): New function.
11858         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11859         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11860         Doc fix.
11862         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11864 2009-10-11  Juri Linkov  <juri@jurta.org>
11866         * files-x.el (read-file-local-variable-value):
11867         Provide default value only for bound variables (bug#4664).
11869 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
11871         * net/tramp.el (tramp-local-host-p): Function shall return nil for
11872         connection methods like smb.
11874         * net/tramp-cache.el (tramp-flush-connection-property): The hash
11875         can be empty.
11877         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11878         (tramp-smb-file-name-handler-alist): Add handlers for
11879         `add-name-to-file', `make-symbolic-link'.
11880         (tramp-smb-handle-add-name-to-file)
11881         (tramp-smb-do-file-attributes-with-stat)
11882         (tramp-smb-handle-make-symbolic-link)
11883         (tramp-smb-get-cifs-capabilities): New defuns.
11884         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11885         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11886         (tramp-smb-handle-file-local-copy)
11887         (tramp-smb-handle-make-directory-internal)
11888         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11889         The file name syntax depends on cifs capabilities.
11890         (tramp-smb-handle-file-attributes):
11891         Call `tramp-smb-do-file-attributes-with-stat' if possible.
11892         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11893         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11895 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
11897         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11898         (eieio-defclass): Apply deftype handler and setf-method properties
11899         directly.
11900         (eieio-add-new-slot): Avoid union function from cl library.
11901         (eieio--typep): New function.
11902         (eieio-perform-slot-validation): Use it.
11904 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11906         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11907         Update documentation to refer to the variables documented in r1.135.
11908         (Bug#4188)
11910 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
11912         * bookmark.el (Info-suffix-list): Remove this unused variable.
11913         (bookmark-current-point): Remove this obsolete variable.
11914         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11915         Adjust for removal of bookmark-current-point.
11917         (bookmarks-already-loaded, bookmark-current-buffer)
11918         (bookmark-yank-point): Document.  (Bug#4188)
11920 2009-10-10  Glenn Morris  <rgm@gnu.org>
11922         * frame.el (frame-height): Doc fix.
11924         * calendar/calendar.el (calendar-split-width-threshold): New option.
11925         (calendar-basic-setup): Use calendar-split-width-threshold.
11927 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
11929         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11930         Ideographic Supplement" range (U+1F200..U+1F2FF).
11932 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11934         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11935         since the list will have been rebuilt anyway.  (Bug#4349)
11937 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11939         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11940         (bookmark-bmenu-execute-deletions): Don't save here, as
11941         bookmark-delete will now do so if necessary.
11942         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11943         (Bug#4348)
11945 2009-10-09  Glenn Morris  <rgm@gnu.org>
11947         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11949 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
11951         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11952         (bookmark-jump-other-window): Just invoke bookmark-jump with new
11953         argument now, so the two function's behaviors will match.  (Bug#3645)
11955 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
11957         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11958         (tramp-file-name-real-host, tramp-file-name-port):
11959         Apply `save-match-data'.
11961         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11962         case both directories are remote.
11963         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11964         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11966 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
11968         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11970 2009-10-07  Glenn Morris  <rgm@gnu.org>
11972         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11973         of concat.
11975 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11977         * files-x.el (read-file-local-variable): Include some
11978         non-user-variables in the completion table (bug#4664).
11980 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
11982         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11983         message.
11985         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11986         (tramp-smb-file-name-handler-alist): Add handler for
11987         `copy-directory', `expand-file-name', `set-file-modes'.
11988         (tramp-smb-handle-copy-directory)
11989         (tramp-smb-handle-expand-file-name)
11990         (tramp-smb-handle-set-file-modes): New defuns.
11991         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11992         (tramp-smb-handle-file-attributes): Simplify check for retrieving
11993         entry.
11994         (tramp-smb-handle-insert-directory): Don't flush the cache.
11995         (tramp-smb-maybe-open-connection): Check for samba client and
11996         server versions.
11998 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
12000         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12001         to not error out of search for "^lisp=" fails.
12003 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
12005         * makefile.w32-in (WINS_UPDATES): New macro.
12006         (custom-deps, finder-data, autoloads): Use it.
12008 2009-10-07  Glenn Morris  <rgm@gnu.org>
12010         * Makefile.in (autoloads): Revert previous change.
12011         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12012         the list of preloaded files passed on the command-line, get
12013         it from src/Makefile.
12015         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12016         show the original buffer rather than a random one.
12018 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
12020         * help.el (describe-no-warranty): Place point in a slightly better
12021         position in the GPLv3 text.
12023 2009-10-06  Sam Steingold  <sds@gnu.org>
12025         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12026         the comm attribute is present before calling regexp-quote.
12028 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
12030         * play/animate.el (animate-string): For good effect, make sure
12031         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12033         * play/animate.el (animate-sequence, animate-birthday-present):
12034         * misc.el (butterfly): Don't set `indent-tabs-mode'.
12036 2009-10-06  Glenn Morris  <rgm@gnu.org>
12038         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12040         * emacs-lisp/autoload.el (autoload-excludes): New variable.
12041         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12042         (batch-update-autoloads): Process a string value of autoload-excludes,
12043         set during the build process.
12044         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
12046         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12047         inside with-parsed...  macro so that `v' is defined.
12049         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12050         * progmodes/fortran.el (fortran-end-of-block)
12051         (fortran-beginning-of-block):
12052         Also push mark in the macro case.
12054         * emerge.el (emerge-show-file-name):
12055         * calc/calc.el (calc-quit):
12056         * calc/calc-misc.el (calc-big-or-small):
12057         * calc/calc-graph.el (calc-graph-view):
12058         * calc/calc-ext.el (calc-reset):
12059         * calendar/calendar.el (calendar-basic-setup):
12060         Use window-full-height-p.
12062         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12063         header we don't understand, don't insert another.  (Bug#4624)
12064         If changing mime charset, insert the new one in the right place.
12066 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
12068         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12069         (cal-tex-cursor-month): Correctly increment the end date for diary and
12070         holiday listing.  (Bug#4626)
12072 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12074         * help-fns.el (describe-function-1): Don't burp if the function is not
12075         a symbol.
12077 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
12079         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12080         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12081         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12082         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12084         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12085         (eieio-default-superclass): Reflow docstrings.
12086         (this, class-option-assoc, defclass, eieio-class-un-autoload)
12087         (eieio-unbind-method-implementations, defmethod)
12088         (eieio-validate-slot-value, eieio-validate-class-slot-value)
12089         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12090         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12091         (eieio-slot-originating-class-p, eieio-slot-name-index)
12092         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12093         (constructor, initialize-instance, no-next-method, object-print)
12094         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12095         Fix typos in docstrings.
12096         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12097         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12098         (next-method-p): Doc fixes.
12099         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12100         Fix typos in error messages.
12101         (eieio-defmethod): Fix typo in description of generic method.
12103         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12104         (eieio-persistent-save-interactive, slot-missing):
12105         Fix typos in docstrings.
12106         (eieio-instance-inheritor-slot-boundp): Doc fix.
12108         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12109         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12111         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12112         (eieio-custom-object-apply-reset):
12113         Fix typos in docstrings and error messages.
12115         * emacs-lisp/eieio-datadebug.el (data-debug-show):
12116         Fix typo in docstring.
12118         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12119         (eieio-browse-tree): Doc fix.
12120         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12121         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12122         Fix typos in docstrings.
12124         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12125         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12126         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12127         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12128         Reflow docstrings.
12130 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
12132         * vc-hg.el (log-view-vc-backend): Declare for compiler.
12133         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12134         Set log-view-vc-backend so that diff can work.
12136         * log-view.el (log-view-diff): Use vc-diff-internal instead of
12137         vc-version-diff.
12138         (vc-diff-internal): Autoload this instead of vc-version-diff.
12140 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
12142         * simple.el (eval-expression): Doc fix.
12144         * progmodes/cwarn.el (cwarn-mode): Doc fix.
12146 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
12148         * files.el (directory-files-no-dot-files-regexp): New defconst.
12149         (delete-directory): Use it.
12150         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
12152         * net/tramp.el (tramp-verbose): Fix docstring.
12153         (tramp-methods): Add recursive option to `tramp-copy-args'.
12154         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
12155         "scp1_old", "scp2_old", "rsync", "rsyncc".
12156         (tramp-default-method): Check also for `auth-source-user-or-password'.
12157         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12158         Add handler for `copy-directory'.
12159         (tramp-handle-copy-directory): New defun.
12160         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12161         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12162         Optimize sent command.
12164 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12166         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12167         window if necessary.
12169         * calendar/calendar.el (calendar-basic-setup): Don't call
12170         switch-to-buffer in a dedicated window.
12172 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
12174         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12175         don't do anything related to relocating, just return nil.
12176         (bookmark-error-no-filename): New error.
12177         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12178         bookmark has no file.  Don't even attempt to handle things that
12179         are not files; the whole point of custom handlers is to keep that
12180         knowledge elsewhere anyway.  Tighten some comments.
12181         (bookmark-file-or-variation-thereof): Remove now-unused function.
12182         (bookmark-location): Doc string fix.
12183         (Bug#4250)
12185 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12187         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12188         don't use a file dialog, because they usually don't know how to read
12189         a directory target from the user.  (Bug#4230)
12190         Also, make sure the prompt can display directories as well as files.
12192 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12194         * bookmark.el (bookmark-set, bookmark-buffer-name):
12195         Improve doc strings.  (Bug#1193)
12197 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12199         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12200         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12201         (bookmark-get-annotation, bookmark-set-annotation)
12202         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12203         (bookmark-set-position, bookmark-get-front-context-string)
12204         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12205         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12206         (bookmark-jump-other-window, bookmark-handle-bookmark)
12207         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12208         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12209         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12210         Improve doc strings to say whether bookmark can be a string or
12211         a record or both, and make other consistency and clarity fixes.
12212         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12213         (bookmark-default-annotation-text, bookmark-yank-word)
12214         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12215         (bookmark-import-new-list, bookmark-maybe-rename)
12216         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12217         (bookmark-bmenu-bookmark): Give these doc strings.
12218         (bookmark-bmenu-check-position): Give this a doc string, but also
12219         add a FIXME comment about how the function may be pointless.
12220         (bookmark-default-handler): Rework doc string and change a
12221         parameter name, to clarify that this takes a bookmark record
12222         not a bookmark name.
12223         (bookmark-set): Change a parameter name to indicate its meaning,
12224         and improve the doc string a bit.
12225         (Bug#4188)
12227 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12229         * bookmark.el (bookmark-alist): Document the new `handler' element
12230         in the param alist.
12231         (bookmark-make-record-function): Adjust documentation for above.
12232         (Bug#4193)
12234 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
12236         * info.el (Info-bookmark-make-record): Document this function.
12237         (Info-bookmark-jump): Document with a doc string, not just a comment.
12238         (Bug#4203)
12240 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
12242         * files.el (copy-directory): New defun.
12244         * dired-aux.el (dired-copy-file-recursive): Use it.
12246 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
12248         * files-x.el (modify-dir-local-variable)
12249         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12250         docstrings.
12252         * recentf.el (recentf-unload-function): New function.
12254 2009-10-04  Glenn Morris  <rgm@gnu.org>
12256         * window.el (window-full-height-p): Add doc string.
12258 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
12260         * window.el (window-full-height-p): New function.  (Bug#4543)
12262 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
12264         * vc.el: Remove commented out code.
12265         (vc-derived-from-dir-mode): Remove, unused.
12266         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12268 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
12270         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12271         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
12272         there could be recursive loading when `default-directory' is a
12273         remote file name.  (Bug#4614)
12275 2009-10-03  Glenn Morris  <rgm@gnu.org>
12277         * calendar/calendar.el (calendar-basic-setup): Handle the case where
12278         the frame is wide.
12279         (calendar-generate-window): Test for shrinkability rather than width.
12281         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12282         reusing existing buffers, in case we happen to visit two files with the
12283         same basename.  (Bug#4593)
12285 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12287         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12288         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12289         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12290         subdirs of cedet as well.
12291         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12293 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12295         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12296         Obey advertised-signature-table.
12298         * help-fns.el (help-function-arglist): Don't check
12299         advertised-signature-table.
12300         (describe-function-1): Do it here instead so it also applies to subrs.
12302 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
12304         * simple.el (start-file-process): Say in the doc-string, that file
12305         handlers might not support pty association, if PROGRAM is nil.
12307         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12308         HOST and USER are strings.  They are nil, when there are
12309         incomplete entries in ~/.netrc, for example.
12310         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
12311         root directory ("device busy" error otherwise).
12313         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12314         Flush file properties of created directory.
12316 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
12318         * makefile.w32-in (WINS_BASIC): Remove cedet.
12319         (WINS_CEDET): Add cedet.
12320         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12322 2009-10-02  Kevin Ryde  <user42@zip.com.au>
12324         * net/browse-url.el (browse-url): Pass any symbol in
12325         browse-url-browser-function to `apply', since if you've mistakenly put
12326         an unbound symbol then the error is clearer.  (Bug#4531)
12328 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12330         * allout.el (allout-init, allout-back-to-current-heading)
12331         (allout-beginning-of-current-entry, allout-ascend-to-depth)
12332         (allout-ascend, allout-up-current-level, allout-end-of-level)
12333         (allout-previous-visible-heading, allout-forward-current-level)
12334         (allout-backward-current-level, allout-show-children):
12335         * apropos.el (apropos-describe-plist):
12336         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12337         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12338         * completion.el (add-completion, add-permanent-completion):
12339         * descr-text.el (describe-text-category, describe-char):
12340         * desktop.el (desktop-lazy-abort):
12341         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12342         * dired.el (dired-build-subdir-alist):
12343         * ediff.el (ediff-version):
12344         * elide-head.el (elide-head, elide-head-show):
12345         * emerge.el (emerge-version):
12346         * env.el (getenv):
12347         * face-remap.el (variable-pitch-mode):
12348         * faces.el (describe-face):
12349         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12350         (dired-at-point):
12351         * files.el (find-file-existing, auto-save-mode):
12352         * font-lock.el (font-lock-fontify-buffer):
12353         * help-fns.el (describe-function, describe-variable)
12354         (describe-syntax, describe-categories):
12355         * help.el (view-lossage, describe-bindings, describe-key)
12356         (describe-mode):
12357         * hexl.el (hexl-current-address):
12358         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12359         * info.el (Info-goto-emacs-key-command-node):
12360         * log-edit.el (log-edit-insert-cvs-template)
12361         (log-edit-insert-cvs-rcstemplate):
12362         * menu-bar.el (menu-bar-mode):
12363         * mouse.el (mouse-appearance-menu):
12364         * newcomment.el (comment-indent-new-line):
12365         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12366         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12367         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12368         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12369         * recentf.el (recentf-mode):
12370         * savehist.el (savehist-mode, savehist-save):
12371         * shadowfile.el (shadow-copy-files):
12372         * simple.el (kill-ring-save, next-line, previous-line)
12373         (normal-erase-is-backspace-mode):
12374         * strokes.el (strokes-update-window-configuration)
12375         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12376         (strokes-xpm-for-stroke):
12377         * time.el (emacs-uptime, emacs-init-time):
12378         * tutorial.el (tutorial--describe-nonstandard-key)
12379         (tutorial--detailed-help):
12380         * type-break.el (type-break-mode)
12381         (type-break-mode-line-message-mode, type-break-query-mode)
12382         (type-break-guesstimate-keystroke-threshold):
12383         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12384         * version.el (emacs-version):
12385         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12386         * winner.el (winner-mode):
12387         * calendar/timeclock.el (timeclock-in, timeclock-out)
12388         (timeclock-status-string, timeclock-change)
12389         (timeclock-workday-remaining-string)
12390         (timeclock-workday-elapsed-string)
12391         (timeclock-when-to-leave-string):
12392         * calendar/todo-mode.el (todo-add-category):
12393         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12394         * emacs-lisp/autoload.el (update-file-autoloads):
12395         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12396         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12397         (checkdoc-message-text, checkdoc-defun):
12398         * emacs-lisp/debug.el (debugger-list-functions):
12399         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12400         * emacs-lisp/eieio-opt.el (eieio-describe-class)
12401         (eieio-describe-generic):
12402         * emacs-lisp/lisp-mnt.el (lm-synopsis):
12403         * emacs-lisp/shadow.el (list-load-path-shadows):
12404         * emulation/cua-base.el (cua-mode):
12405         * emulation/edt.el (edt-set-scroll-margins):
12406         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12407         (tpu-toggle-regexp, tpu-toggle-search-direction)
12408         (tpu-toggle-rectangle, tpu-toggle-control-keys):
12409         * emulation/tpu-extras.el (tpu-set-scroll-margins):
12410         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12411         (viper-set-parsing-style-toggling-macro)
12412         (viper-set-emacs-state-searchstyle-macros):
12413         * emulation/viper.el (viper-set-hooks):
12414         * eshell/esh-mode.el (eshell-truncate-buffer):
12415         * international/mule-cmds.el (prefer-coding-system)
12416         (describe-input-method, describe-language-environment):
12417         * international/mule-diag.el (list-character-sets)
12418         (describe-character-set, describe-coding-system)
12419         (describe-fontset, list-fontsets, list-input-methods):
12420         * mail/sendmail.el (mail-signature):
12421         * net/ange-ftp.el (ange-ftp-copy-file):
12422         * net/browse-url.el (browse-url):
12423         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12424         * net/quickurl.el (quickurl-add-url):
12425         * net/rcirc.el (names, topic):
12426         * net/xesam.el (xesam-mode):
12427         * play/5x5.el (5x5-new-game):
12428         * play/yow.el (apropos-zippy):
12429         * progmodes/ada-mode.el (ada-mode-version):
12430         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12431         (f90-end-of-block)
12432         (f90-beginning-of-block):
12433         * progmodes/fortran.el (fortran-end-of-block)
12434         (fortran-beginning-of-block):
12435         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12436         * progmodes/python.el (python-describe-symbol, python-shell):
12437         * term/ns-win.el (ns-print-buffer):
12438         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12439         * textmodes/flyspell.el (flyspell-mode-on):
12440         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12441         (pages-directory-for-addresses):
12442         * textmodes/table.el (table-recognize-cell)
12443         (table-query-dimension, table-generate-source)
12444         (table-insert-sequence, table--warn-incompatibility):
12445         * textmodes/tex-mode.el (tex-validate-buffer):
12446         * textmodes/texinfmt.el (texinfmt-version)
12447         (texinfo-format-buffer):
12448         Use `called-interactively-p' instead of `interactive-p'.
12450 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
12452         * image-mode.el (image-toggle-display):
12453         * emacs-lisp/elp.el (elp-instrument-function):
12454         * emacs-lisp/advice.el (ad-make-advised-definition):
12455         * emacs-lisp/easy-mmode.el (define-minor-mode):
12456         * net/browse-url.el (browse-url-maybe-new-window):
12457         * progmodes/sh-script.el (sh-learn-buffer-indent):
12458         Pass new argument 'any to `called-interactively-p'.
12460 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
12462         * international/uni-bidi.el:
12463         * international/uni-category.el:
12464         * international/uni-combining.el:
12465         * international/uni-comment.el:
12466         * international/uni-decimal.el:
12467         * international/uni-decomposition.el:
12468         * international/uni-digit.el:
12469         * international/uni-lowercase.el:
12470         * international/uni-mirrored.el:
12471         * international/uni-name.el:
12472         * international/uni-numeric.el:
12473         * international/uni-old-name.el:
12474         * international/uni-titlecase.el:
12475         * international/uni-uppercase.el:
12476         Regenerate from Unicode 5.2.0 data.
12478 2009-10-01  Glenn Morris  <rgm@gnu.org>
12480         * Makefile.in (ELCFILES): Regenerate.
12482 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12484         * subr.el (interactive-p): Mark obsolete.
12485         (called-interactively-p): Make the optional-ness of `kind' obsolete.
12486         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12487         advertised-signature-table for subroutines as well.
12489         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12490         (set-advertised-calling-convention): New function.
12491         (make-obsolete, define-obsolete-function-alias)
12492         (make-obsolete-variable, define-obsolete-variable-alias):
12493         Make the optional-ness of `when' obsolete.
12494         (define-obsolete-face-alias): Make `when' non-optional.
12495         * help-fns.el (help-function-arglist):
12496         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12497         Use advertised-signature-table.
12499 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
12501         * files.el (delete-directory): New defun.  The original function
12502         in fileio.c has been renamed to `delete-directory-internal'.
12504         * dired.el (dired-delete-file): Call `delete-directory' with
12505         RECURSIVE parameter.
12507         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12508         parameter RECURSIVE.  Implementation is missing.
12510         * net/tramp.el (tramp-handle-make-directory): Flush upper
12511         directory's file properties.
12512         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12513         (tramp-handle-dired-recursive-delete-directory): Flush directory
12514         properties after the remove command only.
12516         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12517         Handle optional parameter RECURSIVE.
12519         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12520         Handle optional parameter RECURSIVE.
12522         * net/tramp-smb.el (tramp-smb-errors): Add error message for
12523         connection timeout.
12524         (tramp-smb-handle-delete-directory): Handle optional parameter
12525         RECURSIVE.
12527 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12529         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12530         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12531         (byte-compile-defmacro): Use backquotes.
12533         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12535         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12536         has no associated file.
12537         (vc-resynch-buffer): Use vc-dir-buffers.
12539 2009-10-01  Glenn Morris  <rgm@gnu.org>
12541         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12542         (chart-file-count):
12543         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12544         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12545         * emacs-lisp/eieio-opt.el (eieio-describe-class):
12546         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12547         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12548         (eieio-copy-parents-into-subclass, make-instance, class-children)
12549         (eieio-generic-form):
12551         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12552         match-data.  (Bug#4555).
12554         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12555         rather than parsing it as a regexp.  This relaxes the layout
12556         requirements and makes errors easier to detect.
12557         (check-declare-verify): Check file is regular.
12558         (check-declare-directory): Doc fix.
12559         * subr.el (declare-function): Doc fix.
12561         * ibuffer.el (ibuffer-format-qualifier):
12562         * isearch.el (hi-lock-regexp-okay):
12563         * calc/calc.el (math-zerop):
12564         * mail/uce.el (rmail-msgbeg, rmail-msgend):
12565         * term/w32-win.el (setup-default-fontset, set-fontset-font):
12566         Remove unused declarations.
12568 2009-09-30  Glenn Morris  <rgm@gnu.org>
12570         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12572         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12573         filename is not a string.
12575 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
12577         * files.el (safe-local-eval-forms): Fix typo.
12579 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12581         * vc-hooks.el (vc-dir-buffers): New var.
12582         (vc-state-refresh): New function.
12583         (vc-state): Use it.
12584         (vc-after-save): Always ask the backend to recompute the new state.
12585         Always call vc-dir if necessary, using vc-dir-buffers.
12586         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12587         Use vc-dir-buffers.
12588         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12589         (vc-dir-prepare-status-buffer, vc-dir-update)
12590         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12591         Don't call expand-file-name on default-directory.
12593 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12595         * speedbar.el (speedbar-item-delete):
12596         * calc/calc-prog.el (calc-kbd-if):
12597         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12599         * epa.el (epa-key-list-mode-map):
12600         * hi-lock.el (hi-lock-menu): Fix typos in menus.
12602         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12603         (hs-show-hook): Fix typo in docstring.
12605 2009-09-29  Glenn Morris  <rgm@gnu.org>
12607         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12608         file-name-nondirectory call preventing location of cedet files.
12609         (check-declare-verify): Use literal search rather than re-search.
12610         Add basic defmethod and defclass, and define-overloadable-function.
12612         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12613         Use tramp-compat-file-attributes rather than nonexistent
12614         tramp-compat-handle-file-attributes.
12616         * Makefile.in (lisptagsfiles4): New.
12617         (AUTOGENEL): Add cedet loaddefs files.
12618         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12619         (update-elclist, compile-always, backup-compiled-files)
12620         (bootstrap-clean): Add yet another directory level.
12621         (update-elclist): Use LC_COLLATE rather than COLLATE.
12622         (ELCFILES): Update, via `make update-elclist'.
12624 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
12626         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12627         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12628         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12630 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12632         * Makefile.in (lisptagsfiles3): Define.
12633         (TAGS, TAGS-LISP): Use it.
12634         (update-elclist): Add third directory level to look for elc files.
12635         (compile-always): Likewise.
12636         (backup-compiled-files): Likewise.
12637         (bootstrap-clean): Likewise.
12638         (ELCFILES): Update.
12640 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
12642         * Makefile.in (ELCFILES): Add CEDET files.
12644 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
12646         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12648         * net/tramp.el (top): Require tramp-imap.
12650         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12651         Use `tramp-compat-handle-file-attributes'.
12653 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
12655         * net/tramp-imap.el: New package.
12657 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12659         * whitespace.el (whitespace-trailing-regexp)
12660         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12661         Fix doc string.
12663 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
12665         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12666         menu.
12668         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12669         menu-bar-ediff-menu.
12671         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12672         define-overloadable-function.
12674         * progmodes/autoconf.el: Provide autoconf as well, so that this
12675         file can be `require'd.
12677         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12679         * emacs-lisp/autoload.el (generated-autoload-feature)
12680         (generated-autoload-load-name): New vars.
12681         (autoload-rubric, autoload-generate-file-autoloads): Use them.
12682         (make-autoload): Recognize define-overloadable-function and
12683         defclass forms (for EIEIO).
12685         * Makefile.in (update-subdirs): Exclude cedet directory.
12687 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
12689         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
12691         * faces.el: Default light-background background for region face to
12692         ns_selection_color under NS.
12694 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
12696         * net/imap-hash.el: New library, see NEWS.
12698         * Makefile.in (ELCFILES): Add imap-hash.el.
12700 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12702         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12703         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12704         * help-macro.el (make-help-screen): Avoid using an ambiguous function
12705         definition where the docstring could be taken for the return value.
12707 2009-09-26  Glenn Morris  <rgm@gnu.org>
12709         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12710         Add option to only show images below a certain size.
12711         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12712         save-excursion calls.
12714 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
12716         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12717         subdirectories) and eieio.
12719 2009-09-26  Alan Mackenzie  <acm@muc.de>
12721         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12722         buggy bracketing.  (Bug#4289)
12724         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12725         character constants (as case labels).  (Bug#4289)
12727 2009-09-25  Juri Linkov  <juri@jurta.org>
12729         * files.el (safe-local-eval-forms): Allow time-stamp in
12730         before-save-hook (Bug#4554).
12732 2009-09-25  Drew Adams  <drew.adams@oracle.com>
12734         * menu-bar.el (list-buffers-directory): Doc fix.
12736 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12738         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12739         Try and avoid copying twice the same paragraph.
12740         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12741         Remove save-excursion.
12742         (log-edit-changelog-entry): Do it here instead.
12744 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
12746         * bs.el (bs--get-file-name): Use `list-buffers-directory'
12747         when available, instead of hardcoding mode names.  Doc fix.
12749         * menu-bar.el (list-buffers-directory): Add docstring.
12750         Make automatically buffer-local.
12752         * dired.el (dired-mode):
12753         * files.el (cd-absolute):
12754         * pcvs.el (cvs-temp-buffer):
12755         * pcvs-util.el (cvs-get-buffer-create):
12756         * shell.el (shell-mode):
12757         * vc-dir.el (vc-dir-mode):
12758         Don't make `list-buffers-directory' buffer local.
12760 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
12762         * comint.el (comint-exec, comint-run, make-comint):
12763         Doc fixes (Bug#4542).
12765 2009-09-25  Glenn Morris  <rgm@gnu.org>
12767         * mail/rmailmm.el (rmail-mime): New custom group.
12768         Move all defcustoms in this file into this group.
12769         (rmail-mime-media-type-handlers-alist): Revert previous change.
12770         (rmail-mime-show-images): New option.
12771         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12772         references to it, since it wasn't actually used for anything.
12773         (rmail-mime-insert-image): New function.
12774         (rmail-mime-image): Use rmail-mime-insert-image.
12775         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12776         obey the value of `rmail-mime-show-images' option.  Print the size of
12777         attachments.
12779 2009-09-25  David Engster  <deng@randomsample.de>
12781         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
12783 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12785         * whitespace.el: Does not highlight trailing spaces While point is
12786         at end of line.  Does not highligt spaces at beginning of buffer
12787         while point is at beginning of buffer.  Does not highlight spaces
12788         at end of buffer while point is at end of buffer.  (Bug#4177)
12789         New version 12.0.
12790         (whitespace-display-mappings): Adjust initialization.
12791         (whitespace-point, whitespace-font-lock-refontify): New vars.
12792         (whitespace-color-on, whitespace-color-off): Adjust code.
12793         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12794         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12795         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12797 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
12799         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12801         * textmodes/sgml-mode.el: Remove xml-mode alias.
12803         * files.el (auto-mode-alist, conf-mode-maybe)
12804         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12806 2009-09-24  Alan Mackenzie  <acm@muc.de>
12808         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12809         c-forward-conditionals, but it doesn't move point and doesn't set
12810         the mark.
12811         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12812         (c-down-conditional-with-else, c-backward-conditional)
12813         (c-forward-conditional): Refactor to use c-scan-conditionals.
12815 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12817         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12818         (help-default-arg-highlight): Remove.
12819         (help-highlight-arg): New function.
12820         (help-do-arg-highlight): Use it.
12821         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
12823 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12825         * term.el (term-set-scroll-region, term-handle-ansi-escape):
12826         Undo last change, which didn't fix the problem and introduced others.
12828 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
12830         * progmodes/gdb-mi.el: Don't require speedbar.
12831         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12833 2009-09-24  Glenn Morris  <rgm@gnu.org>
12835         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12837         * term/ns-win.el (ns-reg-to-script): Define for compiler.
12839         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12840         there is no newline after the final mime boundary.  (Bug#4539)
12841         Move markers on insertion so that any buttons inserted don't end up in
12842         the next part of a multipart message.
12843         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
12844         (rmail-mime-bulk-handler): Optionally handle images.
12845         (rmail-mime-image): New button action.
12846         (rmail-mime-image-handler): New function.
12847         (rmail-mime-mode): New mode.
12848         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
12850 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12852         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12853         than just dropping elements from it (bug#4504).
12855         * term.el (term-set-scroll-region): Don't move cursor any more.
12856         (term-handle-ansi-escape): Call term-goto here instead.
12857         Suggested by Ivan Kanis <apple@kanis.eu>.
12859         * term.el: Require CL.
12860         (term-ansi-reset): New function.
12861         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12862         (term-handle-colors-array): Simplify.
12864 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
12866         * allout.el (allout-overlay-interior-modification-handler)
12867         (allout-obtain-passphrase):
12868         * epa-file.el (epa-file-write-region):
12869         * ps-print.el (ps-begin-job):
12870         * vc-hooks.el (vc-toggle-read-only):
12871         * vc-rcs.el (vc-rcs-rollback):
12872         * vc-sccs.el (vc-sccs-rollback):
12873         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12874         (vc-version-diff, vc-revert, vc-rollback):
12875         * wdired.el (wdired-check-kill-buffer):
12876         * emacs-lisp/authors.el (authors):
12877         * net/socks.el (socks-open-connection):
12878         * net/zeroconf.el (zeroconf-service-add-hook):
12879         * obsolete/vc-mcvs.el (vc-mcvs-register):
12880         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12881         (gdb-select-frame):
12882         * progmodes/grep.el (lgrep, rgrep):
12883         * progmodes/idlw-help.el (idlwave-help-check-locations)
12884         (idlwave-help-html-link, idlwave-help-assistant-open-link):
12885         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12886         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12887         (reftex-toc-rename-label): Fix typos in error messages.
12889         * dired-aux.el (dired-do-shell-command): Reflow docstring.
12890         (dired-copy-how-to-fn): Doc fix.
12891         (dired-files-attributes, dired-read-shell-command):
12892         Fix typos in docstrings.
12894         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12895         (dired-x-find-file-other-window): Reflow docstrings.
12896         (dired-omit-marker-char, dired-read-shell-command)
12897         (dired-x-submit-report): Fix typos in docstrings.
12899         * shell.el (shell-mode-hook):
12900         * view.el (View-scroll-line-forward):
12901         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12902         Fix typos in docstrings.
12904         * net/dig.el (dig-invoke): Fix typo in docstring.
12905         (query-dig): Reflow docstring.
12907         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12908         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12909         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12910         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12911         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12912         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12913         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12914         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12915         (idlwave-completion-map, idlwave-current-indent)
12916         (idlwave-custom-ampersand-surround, idlwave-customize)
12917         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12918         (idlwave-define-abbrev, idlwave-determine-class-special)
12919         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12920         (idlwave-end-block-reg, idlwave-end-of-statement)
12921         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12922         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12923         (idlwave-explicit-class-listed, idlwave-file-header)
12924         (idlwave-fill-paragraph, idlwave-find-class-definition)
12925         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12926         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12927         (idlwave-in-quote, idlwave-indent-action-table)
12928         (idlwave-indent-expand-table, idlwave-indent-line)
12929         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12930         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12931         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12932         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12933         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12934         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12935         (idlwave-outlawed-buffers, idlwave-popup-select)
12936         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12937         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12938         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12939         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12940         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12941         (idlwave-statement-type, idlwave-struct-skip)
12942         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12943         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12944         (idlwave-what-module-find-class): Fix typos in docstrings.
12945         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12946         (idlwave-calculate-cont-indent, idlwave-expand-equal)
12947         (idlwave-find-module, idlwave-find-structure-definition)
12948         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12949         (idlwave-list-load-path-shadows, idlwave-next-statement)
12950         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12951         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12952         (idlwave-template): Reflow docstrings.
12954         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12955         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12956         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12957         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12958         (idlwave-shell-display-line, idlwave-shell-display-wframe)
12959         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12960         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12961         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12962         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12963         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12964         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12965         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12966         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12967         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12968         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12969         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12970         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12971         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12972         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12973         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12974         Fix typos in docstrings.
12975         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12976         (idlwave-shell-hide-output, idlwave-shell-mode)
12977         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12978         Reflow docstrings.
12980         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12982 2009-09-24  Ivan Kanis  <apple@kanis.eu>
12984         * term.el (term-bold-attribute): New var.
12985         (term-handle-colors-array): Use it.
12987 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
12989         * progmodes/gdb-mi.el (gdb-version): New variable.
12990         (gdb-non-stop-handler): Set gdb-version.
12991         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12992         Condition "--thread" option on gdb-version.
12993         (gdb-invalidate-threads): Remove unused argument.
12995 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12997         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12998         to looking-back to avoid ridiculous slow down in large files (bug#4511).
13000 2009-09-23  Glenn Morris  <rgm@gnu.org>
13002         * mail/rmail.el (rmail-reply): Don't try to add a References header when
13003         replying to mail without References or Message-Id.  (Bug#4525)
13005 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
13007         * term/ns-win.el (ns-reg-to-script): New variable.
13009 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
13011         * epg.el (epg-wait-for-status): Preserve existing 'error results.
13013 2009-09-22  Sam Steingold  <sds@gnu.org>
13015         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13016         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13017         to 1 because hg returns status 1 when nothing is found.
13018         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13020 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13022         * textmodes/fill.el: Convert to utf-8 encoding.
13023         (fill-french-nobreak-p): Remove redundant » and « inherited from our
13024         pre-Unicode days.
13026         * add-log.el (change-log-fill-forward-paragraph): New function.
13027         (change-log-mode): Use it so fill-region DTRT.
13028         Set fill-indent-according-to-mode here rather than in
13029         change-log-fill-paragraph.
13030         (change-log-fill-paragraph): Remove.
13032 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
13034         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13035         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
13037 2009-09-22  Glenn Morris  <rgm@gnu.org>
13039         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13040         the scroll-bar scroll the calendar window rather than the buffer.
13042         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13043         commands that move point (as opposed to scrolling).
13045         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13047         * emacs-lisp/elint.el (elint): New custom group.
13048         (elint-log-buffer): Make it a defcustom.
13049         (elint-scan-preloaded, elint-ignored-warnings)
13050         (elint-directory-skip-re): New options.
13051         (elint-builtin-variables): Doc fix.
13052         (elint-preloaded-env): New variable.
13053         (elint-unknown-builtin-args): Add an entry for encode-time.
13054         (elint-extra-errors): Make it a variable rather than a constant.
13055         (elint-preloaded-skip-re): New constant.
13056         (elint-directory): Skip files matching elint-directory-skip-re.
13057         (elint-features): New variable, local to linted buffers.
13058         (elint-update-env): Initialize elint-features.  Possibly add
13059         elint-preloaded-env to the buffer's environment.
13060         (elint-get-top-forms): Bind elint-current-pos, for log messages.
13061         Skip quoted forms.
13062         (elint-init-form): New function, extracted from elint-init-env.
13063         Make non-list forms a warning rather than an error.
13064         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
13065         easy-menu-define, put that adds an error-condition, and provide.
13066         When requiring cl, also require cl-macs.  Really require cl, to handle
13067         some cl macros.  Store required libraries in the list elint-features,
13068         so as not to re-load them.  Treat cc-require like require.
13069         (elint-init-env): Call elint-init-form to do the work.
13070         Handle eval-and-compile and such like.
13071         (elint-add-required-env): Do not clear messages.
13072         (elint-special-forms): Add handlers for function, defalias, if, when,
13073         unless, and, or.
13074         (elint-form): Add optional argument to ignore elint-special-forms,
13075         useful to prevent recursive calls from handlers.  Doc fix.
13076         Respect elint-ignored-warnings.
13077         (elint-form): Respect elint-ignored-warnings.
13078         (elint-bound-variable, elint-bound-function): New variables.
13079         (elint-unbound-variable): Respect elint-bound-variable.
13080         (elint-get-args): Respect elint-bound-function.
13081         (elint-check-cond-form): Add some simple handling for (f)boundp and
13082         featurep tests.
13083         (elint-check-defalias-form): New handler.
13084         (elint-check-let-form): Make an empty let a warning rather than an
13085         error.
13086         (elint-check-setq-form): Make an empty setq a warning rather than an
13087         error.  Respect elint-ignored-warnings.
13088         (elint-check-defvar-form): Accept null doc-strings.
13089         (elint-check-conditional-form): New handler.  Does some simple-minded
13090         checking of featurep and (f)boundp tests.
13091         (elint-put-function-args): New function.
13092         (elint-initialize): Use elint-scan-doc-file rather than
13093         elint-find-builtin-variables.  Use elint-put-function-args.
13094         Possibly scan preloaded-file-list.
13095         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13096         extend to handle functions as well.
13098 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
13100         * linum.el (linum-delete-overlays, linum-update-window):
13101         Do not modify the right margin.  (Bug#3971)
13103 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
13105         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13106         nxml-mode instead of xml-mode.
13108 2009-09-21  Kevin Ryde  <user42@zip.com.au>
13110         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
13112 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13114         * net/dig.el (dig-mode): Use define-derived-mode.
13116 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
13118         * vc-dispatcher.el (vc-do-command): Return the process object in
13119         the asynchronous case.  Use when instead of if.  Do not run
13120         vc-exec-after to display a message if not enabled.  (Bug#4463)
13122         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13123         properties to the stash strings.
13124         (vc-git-stash-list): Return a list of strings.
13125         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13126         (vc-git-stash-show-at-point): New functions.
13127         (vc-git-stash-map): New keymap.
13129         * register.el (ctl-x-r-map): Define the keys here instead of
13130         using autoload.
13132 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
13134         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13135         list, to workaround performance problem (bug#4485).
13137 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
13139         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13141 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
13143         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13144         Document that this option is not recommended to use.
13146 2009-09-19  Glenn Morris  <rgm@gnu.org>
13148         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13149         variable `var'.
13151         * calc/calc-alg.el (var):
13152         * calc/calcalg2.el (var): Define for compiler.
13154 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
13156         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13157         Doc fix (Bug#3932).
13159         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13161         * time-stamp.el (time-stamp-month-dd-yyyy)
13162         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13163         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13164         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13165         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13166         Remove functions that have been obsolete since 1995 (Bug#4436).
13168         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13169         indent buffer only if called interactively (Bug#4452).
13171 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
13172             Eli Zaretskii  <eliz@gnu.org>
13174         This fixes bug#4197 (merged to bug#865, though not identical).
13175         * server.el (server-auth-dir): Add docstring note about FAT32.
13176         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13177         but warn against using them.
13179 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
13181         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13182         older GDB where there is no has_more field.
13184 2009-09-19  Glenn Morris  <rgm@gnu.org>
13186         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13188 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
13190         * files.el (auto-mode-alist): Change default for XML files to nXML
13191         mode (Bug#4169).
13193 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
13195         * server.el (server-ensure-safe-dir): Pass 'integer
13196         to `file-attributes', as suggested.
13198 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13200         * dired-aux.el (dired-query-alist): Remove spurious backslash.
13201         (dired-query): Use read-key.
13203 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
13205         * cus-start.el (ns-use-qd-smoothing): Remove.
13207 2009-09-18  Glenn Morris  <rgm@gnu.org>
13209         * allout.el (top-level): Remove unnecessary progn.
13211         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13213         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13214         definition of abbrev table.
13216         * speedbar.el (speedbar-track-mouse):
13217         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13218         * net/eudc.el (eudc-expand-inline):
13219         * net/newst-backend.el (newsticker--cache-read-feed):
13220         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13221         condition-case handlers.
13223 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
13225         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13226         (gdb-var-list): Add an element for has_more field.
13227         (gdb-non-stop-handler): Enable pretty printing for STL containers.
13228         (gdb-var-create-handler, gdb-var-list-children-handler-1)
13229         (gdb-var-update-handler-1): Parse output of dynamic variable
13230         objects (STL containers).
13231         (gdb-var-delete-1): Pass var1 as an explicit second argument.
13232         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
13234         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13235         gdb-var-list.
13236         (gud-speedbar-buttons): Make node expandable if expression "has more"
13237         children.
13239 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
13241         * startup.el (emacs-quick-startup): Remove variable and all uses.
13242         (command-line): Set `inhibit-x-resources' instead.
13243         (command-line-1): Use `inhibit-x-resources' instead.
13245 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
13247         * subr.el: Fix last change to avoid using the `unless' macro,
13248         which breaks bootstrapping.
13250 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13252         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13253         extended definitions, in case we reload subr.el after having
13254         loaded CL.
13255         (eval-next-after-load): Mark as obsolete.
13257 2009-09-17  Juri Linkov  <juri@jurta.org>
13259         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13260         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13261         (menu-bar-showhide-menu, menu-bar-tools-menu)
13262         (menu-bar-describe-menu, menu-bar-help-menu)
13263         (minibuffer-local-completion-map, minibuffer-local-map):
13264         Fix list quoting.
13266 2009-09-17  Glenn Morris  <rgm@gnu.org>
13268         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13269         arguments, whether or not it has a handler.
13271         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13273         * simple.el (hard-newline): Give it a doc-string.
13275         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13276         (lisp-mode-syntax-table): Give them doc-strings.
13278 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
13280         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13281         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13282         (menu-bar-options-menu, menu-bar-showhide-menu)
13283         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13284         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13285         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13286         (menu-bar-options-menu, menu-bar-tools-menu)
13287         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13288         (menu-bar-help-menu):
13289         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13290         string arguments.
13292         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13293         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13294         calls for the menu names and :help.
13296 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13298         * mouse.el (minor-mode-menu-from-indicator): Pay attention
13299         to :minor-mode-function (bug#4455).
13301 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13303         * startup.el (command-line): Initialize the window-system after
13304         processing the command-line.
13306         * textmodes/page.el (what-page): Make sure we don't inf-loop if
13307         page-delimiter matches the empty string.
13309 2009-09-16  Glenn Morris  <rgm@gnu.org>
13311         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13312         byte-compile-not-obsolete-var.  It's a list now.
13313         (byte-compile-not-obsolete-funcs): New variable.
13314         (byte-compile-warn-obsolete): Don't warn about functions if they are in
13315         byte-compile-not-obsolete-funcs.
13316         (byte-compile-variable-ref, byte-compile-defvar): Update for
13317         byte-compile-not-obsolete-vars name-change and list nature.
13318         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13319         and variables behind (f)boundp tests.
13320         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13322 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13324         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13326 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13328         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13329         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13330         Don't autoload.
13332 2009-09-15  Stephen Eglen  <stephen@gnu.org>
13334         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13335         the virtual-buffers, use the name of the buffer specified by
13336         find-file-noselect, as the match may be a symlink.  (This was a
13337         problem if the target and the symlink had different names.)
13339 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13341         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13343         * desktop.el (desktop-path): Check user-emacs-directory.
13345         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13347         * loadup.el: Use after-load-functions to GC after loading each file.
13348         Remove the explicit GC calls that used to be sprinkled around.
13350         * subr.el (after-load-functions): New hook.
13351         (do-after-load-evaluation): Run it.  Use string-match-p to detect
13352         `obsolete' packages, rather than painfully extracting the relevant
13353         directory name.
13355 2009-09-15  Glenn Morris  <rgm@gnu.org>
13357         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13358         free variable `doc'.
13360         * dired.el (dired-mode-map): Add menu entry for async shell command.
13362         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13363         variables, also consider the .elc files, since the .el files are
13364         normally gzipped (subsequent code locates the .el.gz from the .elc).
13366         * calc/calc-prog.el (arglist): Define for compiler.
13368         * calendar/diary-lib.el (diary-display-function): Change the default to
13369         fancy display.
13370         (body): Define for compiler.
13372         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13373         (byte-compile-file-form, byte-compile-lambda)
13374         (byte-compile-top-level-body, byte-compile-form)
13375         (byte-compile-variable-ref, byte-compile-setq)
13376         (byte-compile-setq-default, byte-compile-body)
13377         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13378         (batch-byte-compile): Give some more local variables with common names
13379         a "bytecomp-" prefix to avoid masking warnings about free variables.
13381         * startup.el (command-line-1): Give local variables with common names a
13382         distinguishing prefix, so as not to hide free variable warnings during
13383         bootstrap.
13385         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13386         clever and add a suffix to make a unique name, just let the user decide
13387         whether or not to overwrite it.  If the input is a directory, write the
13388         default filename to that directory.  (Bug#4388)
13389         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13390         is a filename-as-a-directory.
13392 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13394         * textmodes/page.el (what-page): Don't move to beginning of line.
13395         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13397 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
13399         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13401 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
13403         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13404         * help.el (help-for-help-internal): Add purecopy calls for text.
13406         * vc.el (top): print-log method now takes an optional SHORTLOG
13407         argument.  Add a new method: root.
13408         (vc-root-diff, vc-print-root-log): New functions.
13409         (vc-log-short-style): New variable.
13410         (vc-print-log-internal): Add support for showing short logs.
13412         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13413         vc-print-root-log and vc-print-root-diff.
13415         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13416         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13417         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13418         short logs.
13420         * vc-cvs.el (vc-cvs-print-log):
13421         * vc-mtn.el (vc-mtn-print-log):
13422         * vc-rcs.el (vc-rcs-print-log):
13423         * vc-sccs.el (vc-sccs-print-log):
13424         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13425         that is ignored for now.
13427         * vc-mtn.el (vc-mtn-annotate-command):
13428         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13430 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13432         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13433         to function-key-map, and give them ascii-character property.
13434         * term/x-win.el (x-alternatives-map):
13435         * term/ns-win.el (ns-alternatives-map):
13436         * term/internal.el (msdos-key-remapping-map):
13437         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13439 2009-09-14  Glenn Morris  <rgm@gnu.org>
13441         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13442         temp-buffers (2009-09-12).
13444 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13446         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13447         the new read-key function.
13449 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13451         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13452         is defined (Bug#4405).
13454 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
13456         * recentf.el (recentf-cleanup): Use a hash table to find
13457         duplicates (Bug#4407).
13459 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
13461         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13462         kp-0 to ascii equivalents (Bug#4325).
13464 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
13466         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13468         * eshell/em-hist.el:
13469         * eshell/em-dirs.el (eshell-complete-user-reference):
13470         Declare pcomplete functions and variables to avoid compiler warnings.
13472 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
13474         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13475         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13476         * eshell/em-alias.el (eshell-aliases-file):
13477         * eshell/em-hist.el (eshell-history-file-name):
13478         Use expand-file-name instead of concat to make file names (Bug#4308).
13480 2009-09-13  Glenn Morris  <rgm@gnu.org>
13482         * ediff-merg.el (ediff-do-merge):
13483         * filesets.el (filesets-run-cmd):
13484         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13485         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13486         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13487         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13488         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13489         Replace empty `let's with `progn'.
13491 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13493         * mail/sendmail.el (send-mail-function):
13494         * tooltip.el (tooltip-mode):
13495         * simple.el (transient-mark-mode):
13496         * rfn-eshadow.el (file-name-shadow-mode):
13497         * frame.el (blink-cursor-mode):
13498         * font-core.el (global-font-lock-mode):
13499         * files.el (temporary-file-directory)
13500         (small-temporary-file-directory, auto-save-file-name-transforms):
13501         * epa-hook.el (auto-encryption-mode):
13502         * composite.el (global-auto-composition-mode):
13503         Use custom-initialize-delay.
13504         * startup.el (command-line): Don't explicitly call
13505         custom-reevaluate-setting for all the above vars.
13506         * custom.el (custom-initialize-safe-set)
13507         (custom-initialize-safe-default): Delete.
13509 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13511         * term/x-win.el (x-initialize-window-system):
13512         * term/w32-win.el (w32-initialize-window-system):
13513         * term/ns-win.el (ns-initialize-window-system): Don't call
13514         mouse-wheel-mode since it's enabled globally by default already.
13516         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13517         actually define the variable, but only silences the byte-compiler.
13518         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13519         before looking it up.
13520         (mouse-wheel-scroll-amount): Also reset the bindings if this value
13521         is changed.
13523 2009-09-12  Glenn Morris  <rgm@gnu.org>
13525         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13526         1000.
13527         (elint-add-required-env): Don't beep on error.
13528         (elint-forms): In case of error, return ENV unchanged.
13529         (elint-init-env): Skip non-list forms.
13530         (elint-log): Handle unknown file positions.
13532 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
13534         * epg.el (epg-make-context): Add autoload cookie.
13535         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13536         (epg-decrypt-string, epg-start-verify, epg-verify-file)
13537         (epg-verify-string, epg-start-sign, epg-sign-file)
13538         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13539         (epg-encrypt-string, epg-start-export-keys)
13540         (epg-export-keys-to-file, epg-export-keys-to-string)
13541         (epg-start-import-keys, epg-import-keys-from-file)
13542         (epg-import-keys-from-string, epg-start-receive-keys)
13543         (epg-receive-keys, epg-import-keys-from-server)
13544         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13545         (epg-sign-keys, epg-start-generate-key)
13546         (epg-generate-key-from-file, epg-generate-key-from-string):
13547         Remove autoload cookie.
13549 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
13551         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13552         reevaluation of trash-directory.
13554         * mwheel.el: Fix last change.
13555         (mouse-wheel-mode): New defvar.
13556         (mouse-wheel-mode): Remove autoload cookie.
13558 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13560         * mwheel.el (mwheel-installed-bindings): New var.
13561         (mouse-wheel-mode): Use it, so as to make sure we really remove all
13562         the bindings we set last time.  Use custom-initialize-delay.
13563         * loadup.el: Load mwheel after term/*-win.el.
13564         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13565         and mouse-wheel-up-event now that their first evaluation is done
13566         sufficiently late to be correct.
13568         * startup.el (tutorial-directory): Make it a defcustom.
13569         Use custom-initialize-delay rather than eval-at-startup to set it.
13570         * image.el (image-load-path): Make it a defcustom.
13571         Use custom-initialize-delay rather than eval-at-startup to set it.
13572         * subr.el (eval-at-startup): Remove.
13573         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13575         * subr.el (do-after-load-evaluation): Warn the user after loading an
13576         obsolete package.
13578 2009-09-12  Glenn Morris  <rgm@gnu.org>
13580         * proced.el (proced-mark-alt): Remove alias.
13581         (proced-mode-map): Remove proced-mark-alt.
13583         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13584         Elint file and directory.  Remove initialization entry.
13586         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13587         commands.
13588         (elint-current-buffer): Set mode-line-process.
13589         (elint-init-env): Handle define-derived-mode.
13590         Fix declare-function with unspecified arglist.  Guard against odd
13591         defalias statements (eg iso-insert's 8859-1-map).
13592         (elint-add-required-env): Use a temp buffer.
13593         (elint-form): Just print the function/macro name, not the whole form.
13594         Return env unchanged if we fail to parse a macro.
13595         (elint-forms): Guard against parse errors.
13596         (elint-output): New function, to handle batch mode.
13597         (elint-log-message): Add optional argument.  Use elint-output.
13598         (elint-set-mode-line): New function.
13600 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13602         * emacs-lisp/elp.el (elp-not-profilable): Add more
13603         functions (Bug#4233).
13605 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
13607         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13608         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13610 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13612         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13613         (gdb-var-list-children): Use json parsing.
13615 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
13617         * progmodes/js.el (js--proper-indentation): Handle the case where
13618         char-before is null.  Reported by Deniz Dogan.
13620 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13622         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13624 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
13626         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13627         (epg-digest-algorithm-alist): Add SHA224.
13628         (epg-context-set-passphrase-callback)
13629         (epg-context-set-progress-callback): Add description about
13630         callback function.
13632 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13634         * custom.el (custom-delayed-init-variables): New var.
13635         (custom-initialize-delay): New function.
13636         * startup.el (command-line): "Re"evaluate all vars in
13637         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
13638         explicitly any more.
13639         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13640         to avoid creating a ~/.emacs.d at build-time (bug#4347).
13642         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13644 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
13646         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13647         (gdb-var-update-handler): Use json parsing.
13649 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
13651         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13652         decode annotated text, regardless of language environment.  (Bug#2741)
13654 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13656         * Makefile.in (autoloads): Make rmail.el writable as well.
13658 2009-09-11  Glenn Morris  <rgm@gnu.org>
13660         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13661         loaddefs.el.
13662         * dired.el: Regenerate with extracted autoloads.
13663         * Makefile.in (autoloads): Make dired.el writable.
13665         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13666         * ibuffer.el: Regenerate with extracted autoloads.
13667         * Makefile.in (autoloads): Make ibuffer.el writable.
13669         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13670         * version.el (emacs-copyright, emacs-major-version)
13671         (emacs-minor-version): Reformat doc-strings for make-docfile.
13673         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13674         functions and variables, since they must be stuff specific to some other
13675         platform.
13676         (apropos-print): Make mouse-click message less specific about button.
13678         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13679         that records where a macro was defined.
13680         * help-fns.el (describe-function-1): Mention if a function has a
13681         compiler-macro.
13682         * help-mode.el (help-function-cmacro): New button.
13684         * locate.el (top-level): Always require dired.
13685         (locate-mode-map): Initialize inside the defvar.
13687         * net/ange-ftp.el (dired-compress-file): Declare.
13688         (ange-ftp-dired-compress-file): Add doc string.
13690         * term/ns-win.el (x-display-name, x-setup-function-keys):
13691         Unify doc-strings with X versions.
13693 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13695         * emulation/crisp.el (crisp-mode-map): Move initialization
13696         into declaration.
13697         (crisp-mode): Use define-minor-mode.
13699         * progmodes/xscheme.el (xscheme-evaluation-commands):
13700         Put a :advertised-binding property rather than using
13701         advertised-xscheme-send-previous-expression.
13702         (advertised-xscheme-send-previous-expression): Declare obsolete.
13703         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13704         `advertised-undo'.
13705         (crisp-mode): Add corresponding bindings to
13706         undo's :advertised-binding instead.
13707         * dired.el (dired-mode-map): Put a :advertised-binding property rather
13708         than using dired-advertised-find-file.
13709         (dired-advertised-find-file):
13710         * simple.el (advertised-undo):
13711         * wid-edit.el (advertised-widget-backward): Declare obsolete.
13712         (widget-keymap): Put a :advertised-binding property rather
13713         than using advertised-widget-backward.
13714         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13715         than using advertised-undo.
13716         * tutorial.el (tutorial--default-keys): Adjust accordingly.
13718 2009-09-10  Simon South  <ssouth@slowcomputing.org>
13720         * progmodes/delphi.el (delphi-tab): Indent region when Transient
13721         Mark mode is enabled and region is active; otherwise indent or
13722         insert TAB as usual.
13723         (delphi-mode): Update description of TAB-key binding.
13725 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13727         * subr.el (define-key-rebound-commands): Mark obsolete.
13728         * startup.el (precompute-menubar-bindings): Remove.
13729         (normal-top-level): Remove obsolete code that tried to precompute
13730         menubar bindings.
13731         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13732         define-key-rebound-commands and precompute-menubar-bindings.
13734 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
13736         * net/imap.el (imap-interactive-login): Better messages.
13737         (imap-open): Fix bug with renamed buffer on reconnect.
13738         (imap-authenticate): Add buffer-local imap-last-authenticator variable
13739         for easier debugging and cleaner code.  On successful (guessed based on
13740         server capabilities) secondary authentication, set imap-state
13741         correctly.
13742         (imap-last-authenticator): Define imap-last-authenticator as a variable
13743         to avoid warnings.
13745 2009-09-10  Glenn Morris  <rgm@gnu.org>
13747         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13749         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13750         (byte-compile-file-form-autoload): Don't warn about unknown functions
13751         where the autoload statement comes after the use.
13752         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13753         that any handlers inside the body (eg require) are in turn respected.
13755         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13756         effects.
13758         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13759         and syntax and abbrev tables basic docs, if they don't have any.
13761         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13763         * international/mule-cmds.el (top-level): Require cl when compiling.
13764         (view-hello-file): Use default-value rather than
13765         default-enable-multibyte-characters.
13767         * progmodes/fortran.el: Move all safe and risky properties into the
13768         defcustoms.
13770         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13771         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13772         * mail/undigest.el:
13773         Put autoloads in rmail.el rather than loaddefs.el.
13774         * mail/rmail.el: Regenerate with extracted autoloads.
13776         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13777         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13779 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
13781         Reported in thread for Bug#4375.
13782         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13783         "-data-evaluate-expression" instead of print.
13784         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13785         (gdb-tooltip-print): Parse output from above MI command.
13786         (gdb): Revert 2009-08-11 change.  User should detach inferior
13787         manually.
13789         Remove the word "separate" from IO functions as inferior
13790         output is now never displayed in the GUD buffer.
13792 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
13794         * startup.el (command-line-normalize-file-name): On Windows and
13795         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13797 2009-09-10  Juri Linkov  <juri@jurta.org>
13799         * isearch.el (isearch-text-char-description): Propertize escape
13800         character sequences with the `escape-glyph' face.  (Bug#4344)
13802         * simple.el (shell-command): Set asynchronous process filter to
13803         `comint-output-filter'.  (Bug#4343)
13805         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13806         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
13807         the list.  Move "asm" to the bottom.
13808         (grep-find-ignored-directories): Add `choice' with nil value
13809         to empty the list easily.
13810         (grep-find-ignored-files): New option.
13811         (grep-files-history): Set to nil by default instead of '("ch" "el").
13812         (grep-compute-defaults): Add "<X>" to `grep-template'.
13813         (grep-read-files): Bind new local variables `default-alias' and
13814         `default-extension'.  Use a list of default values for the file prompt.
13815         (lgrep): Add `--exclude=' command line options composed from
13816         `grep-find-ignored-files'.
13817         (rgrep): Add `-name' command line options composed from
13818         `grep-find-ignored-files'.  (Bug#4301)
13820 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13822         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13823         (bug#4368).
13825 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
13827         * calendar/time-date.el (autoload):
13828         Expand define-obsolete-function-alias into defalias and make-obsolete
13829         for old Emacsen that Gnus supports.
13830         (with-no-warnings): Define it for old Emacsen.
13831         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13832         is available.
13833         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13834         float-time is available; suppress compile warning for time-to-seconds.
13836 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
13838         * net/imap.el (imap-message-map): Docstring fix.
13840 2009-09-09  Glenn Morris  <rgm@gnu.org>
13842         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13843         line numbers too.  (Bug#4374)
13845 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13847         * smerge-mode.el (smerge-remove-props, smerge-refine):
13848         Use with-silent-modifications (bug#4342).
13850         * subr.el (with-silent-modifications): New macro.
13852 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
13854         * files.el (top-level): Require `cl' when compiling.
13856 2009-09-07  Glenn Morris  <rgm@gnu.org>
13858         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13860         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13861         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
13863 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
13865         * vc-git.el (vc-git-annotate-command): Use separator to parse
13866         arguments correctly.
13868 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
13870         * proced.el (proced-mode): Doc fix.
13872 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
13874         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13875         lstat fails.
13876         (tramp-do-file-attributes-with-ls): Check for file existence at
13877         remote end.
13878         (tramp-do-file-attributes-with-stat): Likewise.
13879         (tramp-convert-file-attributes): Return nil when attr is nil.
13881 2009-09-05  Glenn Morris  <rgm@gnu.org>
13883         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13884         properties to this button.
13885         (diary-fancy-display): Don't extend the button to the final newline.
13886         (diary-fancy-display-mode): Continue to define "q" as a local key.
13888         * calendar/cal-china.el (holiday-chinese): Make it slightly more
13889         efficient.
13891         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13893         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13894         (byte-compile-dest-file-function): New option.
13895         (byte-compile-dest-file): Doc fix.
13896         Obey byte-compile-dest-file-function.
13897         (byte-compile-cl-file-p): New function.
13898         (byte-compile-eval): Only suppress noruntime warnings about cl functions
13899         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
13900         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13901         than for file being previously loaded.
13902         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13903         (byte-compile-file-form-require): Handle the case where requiring a file
13904         indirectly causes CL to be loaded.
13906 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13908         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13909         before killing the old buffer, since by the time `kill-buffer' is
13910         run so many buffer variables have been set to nil that it may not
13911         behave as expected.  (Bug#4061)
13913 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
13915         * files.el (find-alternate-file): If the old buffer is modified
13916         and visiting a file, behave similarly to `kill-buffer' when
13917         killing it, thus reverting to the pre-1.878 behavior; see
13918         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13919         for discussion.  Also, consult `buffer-file-name' as a variable
13920         not as a function, for consistency with the rest of the code.
13922 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
13924         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13925         also when adding a new directory.
13927         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13928         defun.
13930 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13932         * files.el (locate-file-completion-table): Make it provide boundary
13933         information, so partial-completion works better.
13935 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
13937         * mail/footnote.el (Footnote-text-under-cursor):
13938         Check footnote-text-marker-alist before using it (bug#4324).
13940 2009-09-04  Glenn Morris  <rgm@gnu.org>
13942         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13943         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13944         * play/solitaire.el, play/tetris.el:
13945         Remove leading * from defcustom and defface docs.
13947         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13948         necessary.
13949         (diary-fancy-overriding-map): New variable.
13950         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13951         Use view-mode.
13953         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13954         goto-line.
13956 2009-09-03  Glenn Morris  <rgm@gnu.org>
13958         * arc-mode.el (archive-mode):
13959         * dos-fns.el (set-default-process-coding-system):
13960         * man.el (Man-getpage-in-background):
13961         * menu-bar.el (menu-bar-describe-menu):
13962         * server.el (server-process-filter):
13963         * startup.el (command-line):
13964         * tar-mode.el (tar-header-block-tokenize, tar-extract):
13965         * w32-fns.el (set-default-process-coding-system):
13966         * x-dnd.el (x-dnd-handle-file-name):
13967         * international/mule-cmds.el (mule-menu-keymap)
13968         (set-default-coding-systems, language-info-alist, set-language-info)
13969         (set-language-environment, standard-display-european-internal)
13970         (set-locale-environment):
13971         * international/mule-diag.el (mule-diag):
13972         * mail/emacsbug.el (report-emacs-bug):
13973         * mail/rmail.el (rmail-mode):
13974         * mail/sendmail.el (mail-setup):
13975         Use default-value rather than default-enable-multibyte-characters.
13977         * progmodes/f90.el: Move all safe properties into the defcustoms.
13978         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13980         * calendar/appt.el (appt-check):
13981         * calendar/diary-lib.el (diary-set-header, diary-live-p)
13982         (diary-check-diary-file, diary-list-entries)
13983         (diary-include-other-diary-files, diary-simple-display)
13984         (diary-fancy-display, diary-print-entries)
13985         (diary-mark-included-diary-files, diary-make-entry):
13986         Don't call substitute-in-file-name on diary-file.
13988 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
13989             Stefan Monnier  <monnier@iro.umontreal.ca>
13991         * mail/footnote.el (footnote-prefix): Make it a defcustom.
13992         (footnote-mode-map): Move initialization into the declaration.
13993         (footnote-minor-mode-map): Define it rather than changing global-map.
13994         (footnote-mode): Use define-minor-mode.
13996 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
13998         * net/tramp.el (tramp-handle-file-attributes-with-ls)
13999         (tramp-do-file-attributes-with-perl)
14000         (tramp-do-file-attributes-with-stat): Rename from
14001         `tramp-handle-file-attributes-with-*'.
14002         (tramp-handle-file-attributes): Use them.
14003         (tramp-do-directory-files-and-attributes-with-perl)
14004         (tramp-do-directory-files-and-attributes-with-stat): Rename from
14005         `tramp-handle-directory-files-and-attributes-with-*'.
14006         (tramp-handle-directory-files-and-attributes): Use them.
14007         (tramp-method-out-of-band-p): Additional parameter SIZE.
14008         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14009         (tramp-handle-write-region): Use it.
14010         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14011         (tramp-handle-vc-registered): Check, whether the first run did
14012         return files to be tested.
14013         (tramp-advice-make-auto-save-file-name): Do not call directly
14014         `tramp-handle-make-auto-save-file-name', because this would bypass
14015         the locking mechanism.
14017         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14018         (file-remote-p, process-file, start-file-process, set-file-times)
14019         (tramp-compat-file-attributes): Compatibility functions shall not
14020         call directly `tramp-handle-*', because this would bypass the
14021         locking mechanism.
14022         (tramp-compat-number-sequence): New defun.
14024 2009-09-02  Glenn Morris  <rgm@gnu.org>
14026         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14027         alias for float-time.
14028         (time-to-number-of-days): In Emacs, use float-time.
14029         * net/newst-backend.el (time-add): Suppress warnings from compat
14030         function.
14031         * time.el (emacs-uptime, emacs-init-time):
14032         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14033         Use float-time rather than time-to-seconds.
14035         * minibuffer.el (completion-initials-expand): Fix typo.
14037         * faces.el (modeline, modeline-inactive, modeline-highlight)
14038         (modeline-buffer-id):
14039         * info.el (info-menu-5): Mark these face aliases as obsolete.
14041 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14043         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14044         space ...
14045         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14046         no "--thread" option.
14047         (gdb-stopped): Don't print "Switched to thread" message when it is
14048         unchanged.
14050 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14052         * minibuffer.el (completion-try-completion)
14053         (completion-all-completions): Remove ill-defined (and
14054         mistakenly installed and luckily never used nor documented)
14055         `completion-styles' property.
14056         (completion-initials-expand, completion-initials-all-completions)
14057         (completion-initials-try-completion): New functions.
14058         (completion-styles-alist): Add doc to each entry.
14059         Add new `initials' entry.
14061 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
14063         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14064         MI command -var-evaluate-expression.
14065         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14066         and tweak for case of string child.
14067         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14069 2009-09-01  Glenn Morris  <rgm@gnu.org>
14071         * add-log.el (change-log-date-face, change-log-name-face)
14072         (change-log-email-face, change-log-file-face, change-log-list-face)
14073         (change-log-conditionals-face, change-log-function-face)
14074         (change-log-acknowledgement-face):
14075         * cus-edit.el (custom-invalid-face, custom-rogue-face)
14076         (custom-modified-face, custom-set-face, custom-changed-face)
14077         (custom-saved-face, custom-button-face, custom-button-pressed-face)
14078         (custom-documentation-face, custom-state-face, custom-comment-face)
14079         (custom-comment-tag-face, custom-variable-tag-face)
14080         (custom-variable-button-face, custom-face-tag-face)
14081         (custom-group-tag-face-1, custom-group-tag-face):
14082         * diff-mode.el (diff-header-face, diff-file-header-face)
14083         (diff-index-face, diff-hunk-header-face, diff-removed-face)
14084         (diff-added-face, diff-changed-face, diff-function-face)
14085         (diff-context-face, diff-nonexistent-face):
14086         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14087         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14088         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14089         (Info-title-4-face):
14090         * isearch.el (isearch-lazy-highlight-face):
14091         * log-view.el (log-view-file-face, log-view-message-face):
14092         * paren.el (show-paren-match-face, show-paren-mismatch-face):
14093         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14094         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14095         (cvs-msg-face):
14096         * smerge-mode.el (smerge-mine-face, smerge-other-face)
14097         (smerge-base-face, smerge-markers-face):
14098         * wid-edit.el (widget-documentation-face, widget-button-face)
14099         (widget-field-face, widget-single-line-field-face)
14100         (widget-inactive-face, widget-button-pressed-face):
14101         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14102         (woman-addition-face):
14103         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14104         (eshell-ls-executable-face, eshell-ls-readonly-face)
14105         (eshell-ls-unreadable-face, eshell-ls-special-face)
14106         (eshell-ls-missing-face, eshell-ls-archive-face)
14107         (eshell-ls-backup-face, eshell-ls-product-face)
14108         (eshell-ls-clutter-face):
14109         * eshell/em-prompt.el (eshell-prompt-face):
14110         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14111         * obsolete/old-whitespace.el (whitespace-highlight-face):
14112         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14113         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14114         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14115         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14116         (antlr-font-lock-literal-face):
14117         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14118         (ebrowse-root-class-face, ebrowse-file-name-face)
14119         (ebrowse-default-face, ebrowse-member-attribute-face)
14120         (ebrowse-member-class-face, ebrowse-progress-face):
14121         * progmodes/make-mode.el (makefile-space-face):
14122         * progmodes/sh-script.el (sh-heredoc-face):
14123         * textmodes/flyspell.el (flyspell-incorrect-face)
14124         (flyspell-duplicate-face):
14125         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14126         * textmodes/texinfo.el (texinfo-heading-face):
14127         Mark face aliases with "-face" suffix as obsolete.
14129         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14130         compiler.
14132         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14133         (eudc-bob-sound-menu): Use defvar rather than defconst, since
14134         easy-menu-define wants to modify these.
14136         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14138         * net/browse-url.el (browse-url-file-url):
14139         * term/internal.el (dos-codepage-setup):
14140         Use default-value rather than default-enable-multibyte-characters.
14142         * progmodes/etags.el (etags-goto-tag-location):
14143         * progmodes/flymake.el (flymake-highlight-line)
14144         (flymake-goto-file-and-line, flymake-goto-line):
14145         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14146         (gdb-goto-breakpoint):
14147         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14148         * progmodes/python.el (python-find-function)
14149         (python-pdbtrack-track-stack-file):
14150         * progmodes/verilog-mode.el (verilog-surelint-off):
14151         * term/ns-win.el (ns-open-file-select-line):
14152         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14153         Use forward-line rather than goto-line.
14155         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14156         * textmodes/reftex-index.el (reftex-display-index):
14157         * textmodes/reftex-ref.el (reftex-offer-label-menu):
14158         * textmodes/reftex-toc.el (reftex-toc):
14159         Remove unnecessary bindings of default-major-mode (all are followed by
14160         major-mode check and possible mode switch).
14162 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14164         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14165         Handle watchpoints (bug#4282).
14166         (def-gdb-thread-buffer-command): Enable thread to be selected by
14167         clicking without selecting threads buffer first.
14168         (gdb-current-context-command): Use selected frame so that "up",
14169         "down" etc work in the GUD buffer.
14170         (gdb-update): Find selected frame before rendering stack buffer.
14171         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14173 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
14175         * progmodes/sym-comp.el (displayed-completions): Remove.
14176         (symbol-complete): Use minibuffer-complete.
14178 2009-08-31  Glenn Morris  <rgm@gnu.org>
14180         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14182         * apropos.el (apropos-symbols-internal):
14183         Handle (obsolete) face aliases.
14185         * faces.el (describe-face): Adjust the output format to be more like
14186         describe-variable, and to mention (obsolete) face aliases.
14187         Adjust the whitespace so that help-setup-xref works.
14189         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14190         * calendar/diary-lib.el (diary-button-face):
14191         Mark these face aliases as obsolete.
14193         * calendar/calendar.el (calendar-today): Doc fix.
14195 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
14197         * progmodes/gdb-mi.el (gdb-control-all-threads)
14198         (gdb-control-current-thread): Force tool bar update.
14199         (gdb-non-stop-handler): New function.
14200         (gdb-init-1): Use it to test if non-stop mode is supported.
14201         Remove unused gdbmi buffer type.
14203 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
14205         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14206         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
14208 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
14210         * comint.el (comint-exec-1): Check command is non-null first.
14211         Part of gdb-mi.el change (2009-08-28).
14213 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14215         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14217 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
14219         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14220         instead of `dolist' to avoid a recursive require when bootstrapping.
14222 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14224         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14226         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14228         * net/imap.el (imap-send-command): Simplify.
14229         (imap-wait-for-tag): point-max -> buffer-size.
14231         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14233         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14234         with constant argument.
14236         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14238         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14240         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14241         Change default, since most of our files don't have a history.
14242         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14243         the user.
14245         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14246         Add comint-run.
14248         * calc/calc.el: Improve commenting convention.
14249         (calc-digit-map, toplevel): Simplify.
14251         * comint.el (comint-insert-input): Be careful to only set point if we
14252         don't delegate to some other command.
14254         * proced.el (proced-signal-list): Make it an alist.
14255         (proced-grammar-alist): Capitalize names.
14256         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14257         Disable undo manually and make it read-only.
14258         Use completion-annotate-function.
14260         * minibuffer.el (minibuffer-message): If the current buffer is not
14261         a minibuffer, insert the message in the echo area rather than at the
14262         end of the buffer.
14263         (completion-annotate-function): New variable.
14264         (minibuffer-completion-help): Use it.
14265         (completion--embedded-envvar-table): Environment vars are
14266         always case-sensitive.
14268 2009-08-30  Glenn Morris  <rgm@gnu.org>
14270         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14271         from fortran-current-defun.
14272         (fortran-beginning-of-subprogram): Be more precise about finding the
14273         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
14274         (fortran-end-of-subprogram): Simplify.
14275         (fortran-current-defun): Use fortran-start-prog-re.
14277 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
14279         * subr.el (do-after-load-evaluation): Simplify.
14281 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
14283         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14285         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
14286         (vc-rcs-print-log): Use it.
14288         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14290 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14292         * paths.el (abbrev-file-name): Move to abbrev.el.
14293         * abbrev.el (abbrev-file-name): Move from paths.el.
14294         Obey user-emacs-directory.
14295         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14296         user-emacs-directory.
14297         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14298         abbrev-file-name and calc-settings-file any more.
14299         * startup.el (command-line): Recompute abbrev-file-name and
14300         abbreviated-home-dir.
14301         (normal-no-mouse-startup-screen): Improve the generic code and get rid
14302         of the special code for when C-h bindings haven't been changed.
14303         (display-startup-echo-area-message): Use with-current-buffer.
14304         (command-line-1): Use a list of strings, rather than a list of lists
14305         of strings for longopts.
14307         * files.el (get-free-disk-space): Use / for default-directory.
14309         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14310         Use with-current-buffer.
14312         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14313         Recognize immutable variables like most-positive-fixnum.
14314         (byte-compile-setq-default): Check and warn if trying to assign
14315         to an immutable variable, or a non-variable.
14317         * progmodes/cc-vars.el (c-comment-continuation-stars):
14318         * progmodes/cc-engine.el (c-looking-at-bos):
14319         * progmodes/cc-cmds.el (c-toggle-auto-state)
14320         (c-forward-into-nomenclature, c-backward-into-nomenclature)
14321         (c-comment-line-break-function): Add version of obsolescence.
14323 2009-08-28  Juri Linkov  <juri@jurta.org>
14325         * files.el (magic-fallback-mode-alist): Add ZIP magic number
14326         associated with `archive-mode'.
14328         * image.el (image-type-header-regexps): Use only JPEG magic number
14329         to determine JPEG images, and don't use `image-jpeg-p' because
14330         Emacs can display non-JFIF non-Exif JPEG images.
14332 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14334         * arc-mode.el (archive-mode):
14335         * emacs-lisp/re-builder.el (re-builder-unload-function):
14336         Protect against the default value of `major-mode' being nil.
14338 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
14340         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14341         Fix typos in docstrings.
14343         * progmodes/js.el (js--macro-decl-re): Doc fix.
14344         (js--plain-method-re, js--split-name): Refloc docstring.
14345         (js--class-styles, js--make-merged-item, js--splice-into-items):
14346         Fix typos in docstrings; reflow docstrings.
14347         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14348         (js--variable-decl-matcher, js--inside-pitem-p)
14349         (js--parse-state-at-point, js--get-all-known-symbols)
14350         (js--symbol-history, js-find-symbol, js--js-references)
14351         (js--moz-interactor, js--js-encode-value, js--read-tab):
14352         Fix typos in docstrings.
14354 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14356         * textmodes/reftex.el (reftex-get-file-buffer-force):
14357         * progmodes/verilog-mode.el (verilog-batch-execute-func):
14358         * emulation/viper.el (viper-go-away, viper-set-hooks):
14359         * emacs-lisp/re-builder.el (re-builder-unload-function):
14360         * emacs-lisp/bytecomp.el (byte-compile-file):
14361         * ses.el (ses-unload-function):
14362         * hexl.el (hexl-find-file):
14363         * files.el (normal-mode):
14364         * ehelp.el (with-electric-help):
14365         * autoinsert.el (auto-insert-alist):
14366         * arc-mode.el (archive-mode):
14367         Use (default-value 'major-mode) instead of default-major-mode.
14369         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14370         * international/mule.el (load-with-code-conversion):
14371         * emacs-lisp/debug.el (debug):
14372         * ediff-vers.el (ediff-rcs-get-output-buffer):
14373         * dired.el (dired-internal-noselect): Don't let-bind
14374         default-major-mode around code that doesn't use it.
14375         E.g. buffer creation via get-buffer-create doesn't use it.
14377 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
14379         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14380         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14381         when writing the temp file.  Otherwise, epa-file gets confused.
14382         (tramp-register-file-name-handlers): Make it a defun.  Move also
14383         `epa-file-handler' to the front of `file-name-handler-alist'.
14385 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14387         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14388         start right after a ^M.
14389         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14390         (tramp-completion-file-name-regexp-separate)
14391         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14392         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14393         Don't modify last-coding-system-used by accident.
14394         (tramp-completion-file-name-handler): Apply the checks here,
14395         instead during registration.
14396         (tramp-register-file-name-handlers): Renamed from
14397         `tramp-register-file-name-handler'.  Register both
14398         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14399         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
14401 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
14403         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14404         Remove variable ...
14405         (gdb-init-1, gdb-display-separate-io-buffer)
14406         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14407         references to it.
14408         (gdb-inferior-io-mode): Use make-comint-in-buffer.
14409         (gdb-inferior-filter): Use comint-output-filter to stop
14410         echoing and remove ^M characters.
14412 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14414         * emulation/viper-init.el (viper-restore-cursor-type):
14415         * emulation/cua-base.el (cua--update-indications):
14416         Replace default-cursor-type with (default-value 'cursor-type).
14418         * mail/sendmail.el (mail-recover-1):
14419         * international/mule-diag.el (describe-current-coding-system-briefly)
14420         (describe-current-coding-system):
14421         * international/mule-cmds.el (select-safe-coding-system)
14422         (select-message-coding-system)
14423         (set-language-environment-coding-systems, set-locale-environment):
14424         * hexl.el (hexl-insert-multibyte-char):
14425         * dos-w32.el (find-buffer-file-type-coding-system):
14426         * simple.el (what-cursor-position):
14427         Replace uses of default-buffer-file-coding-system
14428         with (default-value 'buffer-file-coding-system).
14430         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14431         Replace uses of default-cursor-in-non-selected-windows
14432         with (default-value 'cursor-in-non-selected-windows).
14433         Use with-current-buffer.
14435         * mail/feedmail.el: Use CL macros.
14436         (feedmail-run-the-queue, feedmail-send-it-immediately):
14437         * dos-w32.el (find-buffer-file-type): Replace uses of
14438         default-buffer-file-type with (default-value 'buffer-file-type).
14440 2009-08-28  Glenn Morris  <rgm@gnu.org>
14442         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14443         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14444         Use default-value of major-mode rather than default-major-mode.
14446 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14448         * Makefile.in (update-elcfiles): Report left over elc files.
14450         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14451         expand-file-name and with-current-buffer.
14452         (mail-get-names, mail-directory): Use with-current-buffer.
14454         * vc.el (vc-read-revision): New function.
14455         (vc-version-diff, vc-merge): Use it.
14457 2009-08-27  Sam Steingold  <sds@gnu.org>
14459         * simple.el (kill-do-not-save-duplicates): New user option.
14460         (kill-new): When it is non-nil, and the new string is the same as
14461         the latest kill, set replace to t to avoid duplicates in kill-ring.
14463 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
14465         * net/tramp.el (tramp-handle-process-file): Do not flush all
14466         caches when `process-file-side-effects' is set.
14467         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14468         instead of `tramp-find-file-exists-command'.
14469         Unset `process-file-side-effects'.
14471 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
14473         * net/tramp.el (tramp-methods): New method "rsyncc".
14474         (top): Add completion function for "rsyncc".
14475         (tramp-message-show-message): New defvar.
14476         (tramp-message, tramp-error): Use it.
14477         (tramp-do-copy-or-rename-file-directly): Extend check for direct
14478         remote copying.
14479         (tramp-do-copy-or-rename-file-out-of-band): Handle new
14480         `tramp-methods' entry `copy-env' of "rsyncc".
14481         (tramp-vc-registered-read-file-names): New defconst.
14482         (tramp-vc-registered-file-names): New defvar.
14483         (tramp-handle-vc-registered): Implement optimization strategy.
14484         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14485         (tramp-vc-file-name-handler): New defun.
14486         (tramp-get-ls-command, tramp-get-test-command)
14487         (tramp-get-file-exists-command, tramp-get-remote-ln)
14488         (tramp-get-remote-perl, tramp-get-remote-stat)
14489         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14491         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14492         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
14493         timestamps.
14494         (tramp-get-file-property): Check for timestamps in
14495         `tramp-cache-inhibit-cache'.
14496         (tramp-set-file-property): Write timestamp.
14498 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14500         * language/japan-util.el (japanese-symbol-table): Add entries for
14501         cp932-2-byte.
14503         * international/characters.el: Add category `j' to cp932-2-byte.
14505 2009-08-27  Kenichi Handa  <handa@m17n.org>
14507         * international/fontset.el (build-default-fontset-data): New macro.
14508         (setup-default-fontset): Use build-default-fontset-data for CJK,
14509         tibetan, ethiopic, and ipa.
14511 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14513         * cus-start.el (default-major-mode): Customize `major-mode' instead.
14514         (enable-multibyte-characters): Not customizable any more.
14516         * subr.el (default-mode-line-format, default-header-line-format)
14517         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14518         (default-direction-reversed, default-truncate-lines)
14519         (default-left-margin, default-tab-width, default-case-fold-search)
14520         (default-left-margin-width, default-right-margin-width)
14521         (default-left-fringe-width, default-right-fringe-width)
14522         (default-fringes-outside-margins, default-scroll-bar-width)
14523         (default-vertical-scroll-bar, default-indicate-empty-lines)
14524         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14525         (default-fringe-cursor-alist, default-scroll-up-aggressively)
14526         (default-scroll-down-aggressively, default-fill-column)
14527         (default-cursor-type, default-buffer-file-type)
14528         (default-cursor-in-non-selected-windows)
14529         (default-buffer-file-coding-system, default-major-mode)
14530         (default-enable-multibyte-characters): Mark as obsolete.
14532 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
14534         * vc-dir.el (vc-dir-update): Remove debug helper.
14536         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14538 2009-08-26  Sam Steingold  <sds@gnu.org>
14540         * simple.el (save-interprogram-paste-before-kill): New user option.
14541         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14542         save the interprogram-paste into kill-ring before overriding it
14543         with the Emacs kill.
14545 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14547         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14548         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14549         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14550         and move to vc-rcs.el.
14551         (vc-default-next-revision): Rename to vc-rcs-next-revision and
14552         move to vc-rcs.el.
14553         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14554         (vc-rcs-update-changelog): Remove.
14555         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14556         and move to vc-rcs.el.
14558         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14559         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14560         renaming.
14561         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14562         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14563         vc.el, renamed to be RCS specific.
14565         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14566         New functions.
14567         (vc-cvs-update-changelog): Move here from vc.el.
14569         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14570         New functions.
14572 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14574         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14576 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
14578         * vc-git.el (vc-git-register): Use "git add" for directories.
14579         (vc-git-stash, vc-git-stash-show): New functions.
14580         (vc-git-extra-menu-map): Bind them.
14582         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14583         directory correctly in case the item is a directory itself.
14585         * vc.el: Document the desired behavior for reverted files in the
14586         `added' state.
14587         (vc-default-prettify-state-info): Remove function, unused.
14589         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14591 2009-08-26  Glenn Morris  <rgm@gnu.org>
14593         * bindings.el (standard-mode-line-format): Reposition dashes in
14594         which-func entry.  (Bug#4217)
14596         * files.el (enable-local-variables, enable-local-eval)
14597         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14598         the defcustoms.
14599         (auto-mode-alist, ignored-local-variables)
14600         (save-some-buffers-action-alist): Move risky declarations to the
14601         definitions.
14602         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14603         (font-lock-defaults, format-alist, imenu--index-alist)
14604         (imenu-generic-expression, input-method-alist, minor-mode-alist)
14605         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14606         (mode-line-modified, mode-line-mule-info, mode-line-position)
14607         (mode-line-process, mode-line-remote, outline-level)
14608         (parse-time-rules, rmail-output-file-alist)
14609         (special-display-buffer-names, vc-mode):
14610         Move risky declarations to the relevant files.
14611         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14612         (mode-line-modified, mode-line-process, mode-line-position)
14613         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14614         * font-core.el (font-lock-defaults):
14615         * format.el (format-alist):
14616         * vc-hooks.el (vc-mode):
14617         * window.el (special-display-buffer-names):
14618         * international/mule-cmds.el (input-method-alist):
14619         Define riskiness here (dumped file) rather than in files.el.
14620         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14621         * imenu.el (imenu-generic-expression, imenu--index-alist):
14622         * outline.el (outline-level):
14623         * time.el (display-time-string):
14624         * calendar/parse-time.el (parse-time-rules):
14625         * mail/rmailout.el (rmail-output-file-alist):
14626         Autoload riskiness here, rather than placing in files.el.
14628 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
14630         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14632 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
14634         * simple.el (process-file-side-effects): New defvar.
14636         * dired-aux.el (dired-show-file-type):
14637         * vc.el (vc-diff-internal):
14638         * vc-arch.el (vc-arch-diff):
14639         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14640         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14641         * vc-git.el (vc-git-registered, vc-git-working-revision)
14642         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14643         (vc-git--empty-db-p):
14644         * vc-hooks.el (vc-user-login-name):
14645         * vc-svn.el (vc-svn-registered, vc-svn-state)
14646         (vc-svn-dir-extra-headers, vc-svn-find-revision):
14647         * progmodes/grep.el (grep-probe): Let-bind
14648         `process-file-side-effects' with nil.
14650         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14652         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14653         daemon.  Replace ping by checking for running service for bluez
14654         and zeroconf.  (Bug#4239)
14656 2009-08-25  Kevin Ryde  <user42@zip.com.au>
14658         * net/dig.el (dig): Add autoload cookie.
14660 2009-08-25  Glenn Morris  <rgm@gnu.org>
14662         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14663         load-history for absolute file-names.
14664         (byte-compile-file-form-require): Warn about use of the cl package.
14666         * format.el (format-alist): Doc fix.
14668         * play/bubbles.el (top-level): Don't require cl at run-time.
14670         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14671         run-time cl).
14673 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
14675         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14676         from cl package.
14677         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14679 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
14681         * calc/calc-alg.el (math-trig-rewrite)
14682         (math-hyperbolic-trig-rewrite): New functions.
14683         (calc-simplify): Simplify trig functions when asked.
14685 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14687         * diff-mode.el (diff-find-source-location): Avoid goto-line.
14689 2009-08-24  Kenichi Handa  <handa@m17n.org>
14691         * language/ind-util.el (mapthread): Delete it.
14692         (combinatorial): New function.
14693         (indian--puthash-cv): Use combinatorial instead of mapthread.
14695 2009-08-22  Kevin Ryde  <user42@zip.com.au>
14697         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14698         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14699         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14700         Clarify docstring that the value is strings not symbols.
14701         (checkdoc-list-of-strings-p): New function.
14703 2009-08-22  Glenn Morris  <rgm@gnu.org>
14705         * files.el (auto-mode-alist):
14706         * hippie-exp.el (he-concat-directory-file-name):
14707         * lpr.el (lpr-windows-system, printer-name):
14708         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14709         * ps-print.el (ps-windows-system):
14710         * startup.el (command-line):
14711         * emulation/viper-ex.el (viper-glob-function):
14712         * international/mule-cmds.el (set-language-environment-coding-systems):
14713         * net/ange-ftp.el (ange-ftp-write-region):
14714         * obsolete/fast-lock.el (fast-lock-cache-name):
14715         Remove code for defunct system-types emx, macos, mswindows, next-mach,
14716         unisoft-unix, vax-vms, win32, w32.
14718         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14719         given name if the pattern is not more specific.
14721         * calendar/lunar.el (lunar-phase-names): New option.
14722         (lunar-phase): Doc fix.
14723         (lunar-cycles-per-year): New constant.
14724         (lunar-index): New function.
14725         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14726         (lunar-phase-name): Use lunar-phase-names.
14727         (calendar-lunar-phases): Use format.
14728         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14730         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14731         Copy imenu-example--name-and-position function here for own use.
14732         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14734         * bs.el (bs--redisplay):
14735         * cus-edit.el (custom-redraw):
14736         * ibuffer.el (ibuffer-bury-buffer):
14737         * server.el (server-goto-line-column):
14738         * startup.el (command-line-1):
14739         * strokes.el (strokes-xpm-for-stroke):
14740         * term.el (term-display-buffer-line):
14741         * view.el (View-goto-line):
14742         * calc/calc.el (calc-do, calc-trail-buffer):
14743         * play/gamegrid.el (gamegrid-add-score-insecure):
14744         * progmodes/ada-mode.el (ada-compile-goto-error):
14745         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14746         (ebrowse-select-1st-to-9nth):
14747         * progmodes/cperl-mode.el (cperl-time-fontification):
14748         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14749         * progmodes/gud.el (gud-display-line):
14750         (idlwave-shell-display-line):
14751         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14752         * progmodes/make-mode.el (makefile-browser-toggle):
14753         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14754         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14755         * textmodes/picture.el (picture-draw-rectangle):
14756         * textmodes/reftex-index.el (reftex-index-goto-letter):
14757         (reftex-select-jump-to-previous):
14758         * textmodes/reftex-sel.el (reftex-find-start-point)
14759         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14760         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14761         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14762         * textmodes/tex-mode.el (tex-compilation-parse-errors):
14763         * textmodes/two-column.el (2C-associated-buffer):
14764         Use forward-line rather than goto-line.
14766         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14767         goto-line.
14769         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14770         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14771         (quick-check-list-to-regexp): Declare.
14773         * progmodes/make-mode.el (makefile-browser-insert-selection):
14774         Use goto-char rather than goto-line.
14776         * progmodes/prolog.el (compilation-error-regexp-alist)
14777         (compilation-forget-errors): Declare.
14779 2009-08-22  Juri Linkov  <juri@jurta.org>
14781         * progmodes/grep.el (lgrep, rgrep): At the beginning
14782         set `dir' to `default-directory' unless `dir' is a non-nil
14783         readable directory.  (Bug#4052)
14784         (lgrep, rgrep): Change a weird way to report an error
14785         from using `read-string' to using `error'.
14786         Instead of using interactive arguments in the function body,
14787         add new argument `confirm'.
14789 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14791         * textmodes/remember.el (remember-buffer):
14792         * progmodes/cperl-mode.el (cperl-vc-header-alist):
14793         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14794         (icalendar-extract-ical-from-buffer):
14795         * net/newst-treeview.el (newsticker-groups-filename):
14796         * net/newst-backend.el (newsticker-cache-filename):
14797         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14798         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14799         (speedbar-add-ignored-path-regexp, speedbar-line-path)
14800         (speedbar-buffers-line-path, speedbar-path-line)
14801         (speedbar-buffers-line-path):
14802         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14803         (epg-sign-keys):
14804         * epa.el (epa-display-verify-result):
14805         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14807 2009-08-21  Glenn Morris  <rgm@gnu.org>
14809         * progmodes/js.el (inferior-moz-process): Fix declaration.
14811         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14813         * obsolete/rnewspost.el (news-mail-reply):
14814         Use goto-char rather than goto-line.
14816         * term/ns-win.el (ns-open-file-select-line):
14817         Use line-beginning-position rather than goto-line.
14819         * apropos.el (apropos-command):
14820         * ehelp.el (electric-helpify):
14821         * printing.el (pr-show-setup):
14822         * strokes.el (strokes-help):
14823         * tutorial.el (tutorial--describe-nonstandard-key)
14824         (tutorial--detailed-help):
14825         * woman.el (woman-mini-help, woman-display-extended-fonts):
14826         * calc/calc-help.el (calc-describe-key):
14827         * emulation/edt.el (edt-electric-helpify):
14828         * international/mule-diag.el (mule-diag):
14829         * play/yow.el (apropos-zippy):
14830         * progmodes/python.el (python-describe-symbol):
14831         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14832         * textmodes/table.el (*table--cell-describe-mode)
14833         (*table--cell-describe-bindings):
14834         Use help-print-return-message rather than the now obsolete alias.
14836         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14837         (calendar-cursor-to-visible-date):
14838         * play/5x5.el (5x5-position-cursor):
14839         * play/decipher.el (decipher):
14840         * play/gomoku.el (gomoku-goto-xy):
14841         * play/landmark.el (lm-goto-xy):
14842         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14843         (mpuz-paint-digit):
14844         Use forward-line, not goto-line.
14846         * mail/rmail.el (rmail-obsolete): Delete custom group.
14847         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14848         (rmail-remote-password, rmail-remote-password-required):
14849         Remove unneeded :set-after and :set properties.
14851 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
14853         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14855 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
14857         * loadup.el: Remove leftover macos code.
14859         * vc-git.el (vc-git-annotate-command): Run asynchronously.
14860         Explicitly pass the date format to git blame so that user local
14861         so that the output format can be parsed.
14863 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
14865         * net/dbus.el (top): Don't check for (getenv
14866         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
14868 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
14870         * log-edit.el (log-edit-strip-single-file-name): New var.
14871         (log-edit-insert-changelog): Use it.  Bug#3571
14873 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14875         * subr.el (read-passwd): Use read-key so keypad keys work as well.
14876         Bug#3287
14878         * help.el (help-print-return-message): Rename from
14879         print-help-return-message.
14881         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14882         cvs-mode-map parent hack.
14883         (log-view-mode): Derive from special-mode.
14885         * linum.el (linum-mode): window-size-change-functions is redundant.
14886         Adapt to new window-configuration-change-hook behavior.
14887         (linum-after-size, linum-after-config): Remove.
14889         * imenu.el (imenu-example--name-and-position)
14890         (imenu-example--lisp-extract-index-name)
14891         (imenu-example--create-lisp-index, imenu-example--create-c-index):
14892         Mark as obsolete.
14894         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14895         (inferior-prolog-mode): Use it.
14896         (inferior-prolog-load-file): Reset list of errors.
14898 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
14900         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14902         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14904 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
14906         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14907         is running already.
14909 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14911         * subr.el (listify-key-sequence-1): Use normal syntax since those
14912         integers are nowadays always represented by the same (positive) number
14913         on all platforms.
14914         (read-key-empty-map): New const.
14915         (read-key-delay): New var.
14916         (read-key): New function.
14917         (force-mode-line-update): Use with-current-buffer.
14918         (locate-user-emacs-file): Don't forget to abbreviate the file name.
14919         (start-process-shell-command, start-file-process-shell-command):
14920         Discourage the use of command-args.
14922 2009-08-19  Glenn Morris  <rgm@gnu.org>
14924         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14926 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14928         * simple.el (choose-completion-string): Don't rely on
14929         minibuffer-completing-file-name and ad-hoc checks to decide whether
14930         to continue completion or not.
14932         * minibuffer.el (minibuffer-hide-completions): New function.
14933         (completion--do-completion): Use it.
14934         (completions-annotations): New face.
14935         (completion--insert-strings): Use it.
14936         (completion-pcm--delim-wild-regex): Add docstring.
14937         (completion-pcm--string->pattern): Add support for 0-width delimiters
14938         in completion-pcm--delim-wild-regex.
14940 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14942         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14943         Remove unused var `buffer-modified-p'.
14945         * minibuffer.el (completion--do-completion): Move point for the #b001
14946         case as well (bug#4176).
14947         (minibuffer-complete, minibuffer-complete-word): Don't move point.
14949 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
14951         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
14952         and :session buses.
14954 2009-08-18  Kenichi Handa  <handa@m17n.org>
14956         * international/ucs-normalize.el (ucs-normalize-version):
14957         Change to 1.1.
14958         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14959         (utf-8-hfs): Make it perform normalization on encoding too.
14961         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
14962         (sentence-end-without-space): Delete duplicated chars.
14963         (sentence-end-base): Likewise.
14965         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
14966         (html-mode): Delete duplicated chars from sentence-end-base.
14968         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
14969         (texinfo-mode): Delete duplicated chars from sentence-end-base.
14971 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
14973         * files.el (hack-one-local-variable): If the mode function is for
14974         a minor mode, pass it an argument (Bug#4148).
14976 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
14978         * net/tramp.el (tramp-register-completion-file-name-handler):
14979         Check also for (member 'partial-completion completion-styles).
14981 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
14983         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14984         abbrev (Bug#3943).
14986 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
14988         * progmodes/cperl-mode.el: Merge upstream 6.2.
14989         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14990         (cperl-forward-re): Check cperl-brace-recursing.
14991         (cperl-highlight-charclass): New function.
14992         (cperl-find-pods-heres): Use it.
14993         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14994         (cperl-beautify-regexp-piece): Fix column calculation.
14995         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14996         (cperl-beautify-level): Don't process entire regexp.
14997         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14998         calling man.
14999         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15000         (cperl-init-faces): Build a list in the normal way.
15002 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15004         * calendar/parse-time.el (parse-time-string-chars): Save match
15005         data.
15007 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15009         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15010         (sql-product): Use it.
15011         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15012         (sql-set-product): Add completion.
15013         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15014         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15015         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15016         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15017         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15018         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15019         (sql-highlight-db2-keywords): Remove.
15020         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15021         (sql-highlight-product): Use derived-mode-p.
15022         (sql-set-sqli-buffer): Use with-current-buffer.
15023         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15024         Simplify.
15026         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15028         * term.el: Fix commenting convention, turn comments into docstrings.
15030 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
15032         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15034 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
15036         * calendar/parse-time.el (parse-time-string-chars): Compute using
15037         character classes, to handle non-ascii characters (Bug#3190).
15039 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
15041         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15042         another heredoc if the user adds another < (Bug#3226).
15044         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15045         Don't initialize based on window-system (Bug#4124).
15047         * facemenu.el (facemenu-read-color): Use a completion function
15048         that accepts any defined color, such as RGB triplets (Bug#3677).
15050         * files.el (get-free-disk-space): Change fallback default
15051         directory to /.  Expand DIR argument before switching to fallback.
15052         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15054 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15056         * files.el (load-library): Doc fix.
15058 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
15060         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15061         (viper-if-string): Redefine C-s in the minibuffer to insert the last
15062         incremental search string.
15064         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15065         XEmacs.
15067         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15068         (ediff-merge-region-is-non-clash)
15069         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15070         Also check if the job is really a merge job.
15072         * ediff.el (ediff-current-file): New function.
15074 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
15076         * progmodes/js.el: Edit docstrings throughout to follow Emacs
15077         conventions.
15078         (js-insert-and-indent): Delete function.
15079         (js-mode-map): Don't bind keys to js-insert-and-indent.
15080         (js-beginning-of-defun): Rename from js--beginning-of-defun.
15081         (js-end-of-defun): Rename from js--end-of-defun.
15082         (js-auto-indent-flag): Delete variable.
15084 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
15086         * progmodes/js.el: Remove proclaim statement.
15087         Defvar which-func-imenu-joiner-function to silence compiler.
15089         * files.el (auto-mode-alist): Use js-mode for .js files.
15091         * progmodes/js2-mode.el: Remove file.
15093         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15095         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15097         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15099 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
15100             Karl Landstrom  <karl.landstrom@brgeight.se>
15102         * progmodes/js.el: New file.
15104 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
15106         * timezone.el (timezone-parse-date): Add ability to understand ISO
15107         basic format (minimal separators) dates in addition to the
15108         already-supported extended format dates.
15110 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
15112         * international/ucs-normalize.el: Add a `coding' file variable.
15114         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15116 2009-08-14  Sam Steingold  <sds@gnu.org>
15118         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15120 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
15122         * faces.el (help-argument-name): Define it here instead of
15123         help-fns.el, because in daemon mode help-fns.el may be loaded when
15124         faces are still uninitialized (Bug#1078).
15126         * help-fns.el (help-argument-name): Move defface to faces.el.
15128 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
15130         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15131         create buffer with a pty but no process so that GDB can make the
15132         inferior the controlling process.
15134 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
15136         * international/ucs-normalize.el: New file.
15138 2009-08-13  Richard Stallman  <rms@gnu.org>
15140         * mail/rmail.el (rmail-get-attr-names):
15141         Accept an attribute header that is too short.
15143         * mail/rmail.el (rmail-forget-messages):
15144         Ignore nil elt in rmail-message-vector.  Use dotimes.
15146         * progmodes/compile.el (compilation-goto-locus):
15147         Use next-error-move-function.
15149         * simple.el (next-error-move-function): New variable.
15151 2009-08-12  Juri Linkov  <juri@jurta.org>
15153         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15154         always non-nil.  (Bug#4052)
15156         * replace.el (read-regexp): Return empty string when
15157         `default-value' is nil.
15158         (keep-lines-read-args): Don't use empty string as the
15159         default value for `read-regexp'.  (Bug#2495)
15161 2009-08-12  Juri Linkov  <juri@jurta.org>
15163         * international/mule-cmds.el (ucs-insert): Change arguments
15164         from `arg' to `character', `count', `inherit' to be the same
15165         as in `insert-char'.  Doc fix.  (Bug#4039)
15167         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15169 2009-08-12  Juri Linkov  <juri@jurta.org>
15171         * files-x.el: New file.
15173         * files.el: Move code that deals with adding/deleting
15174         file/directory-local variables to files-x.el.
15176         * Makefile.in (ELCFILES): Add files-x.elc.
15178 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
15180         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15181         to use `goto-line'.
15182         (gdb-place-breakpoints, gdb-get-location): Rewritten without
15183         `goto-line'.
15184         (gdb-invalidate-disassembly): Do not refresh upon receiving
15185         'update signal.  Instead, update all disassembly buffers only after
15186         threads list.
15187         (gdb): Send -target-detach when buffer is killed (Bug#3794).
15188         (gdb-starting): Moved -data-list-register-names...
15189         (gdb-stopped): ...here so it's sent when first thread stops.
15190         (gdb-registers-handler-custom): Do nothing if register names are
15191         unknown yet.
15193         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15194         from `gdb-mi.el' to avoid extra tangling.
15196         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15197         change which breaks `gud-def' definitions used in `gdb'.
15198         (gdb-update-gud-running): No extra fuss for updating frame number.
15200 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15202         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15203         (describe-language-environment-map, setup-language-environment-map)
15204         (set-coding-system-map): Move initialization into declaration.
15205         (set-language-info-alist): Last arg to define-key-after can be skipped.
15207         * international/quail.el (quail-completion-1): Simplify.
15208         (quail-define-rules): Use slightly more compact code.
15209         (quail-insert-decode-map): Propertize keys, compact columns.
15211         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15212         Add goto-line.
15214 2009-08-10  Miles Bader  <miles@gnu.org>
15216         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15217         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15218         (js2-instance-member, js2-private-member, js2-private-function-call)
15219         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15220         (js2-magic-paren, js2-external-variable):
15221         Remove "-face" suffix from face names.
15222         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15223         (js2-highlight-undeclared-vars, js2-peek-token)
15224         (js2-parse-function-params, js2-mode-show-errors)
15225         (js2-mode-show-warnings, js2-make-magic-delimiter)
15226         (js2-mode-highlight-magic-parens): Update to use new face names.
15228 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
15230         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15231         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
15233 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
15235         * subr.el: Provide hashtable-print-readable.
15237         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15238         hs-c-like-adjust-block-beginning.
15239         (hs-hide-block-at-point): Stop hiding at the beginning of
15240         hs-block-end-regexp (Bug#700).
15242 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
15244         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15245         a macro.
15246         (gdb-registers-handler-custom): Do not fail when register names
15247         are unavailable.
15249 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15251         * progmodes/gdb-mi.el (gdb-control-all-threads)
15252         (gdb-control-current-thread): Interactive setters for
15253         `gdb-gud-control-all-threads' to use in menu.
15254         (gdb-show-run-p): Show «Go» when process is not active.
15255         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
15256         gud/thread.xpm and gud/all.xpm.
15258 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
15260         * net/net-utils.el (net-utils-font-lock-keywords): New var.
15261         (nslookup-font-lock-keywords): Make it a variable.
15262         (net-utils-mode): New mode for viewing diagnostic network output.
15263         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15264         (net-utils-run-simple): New function.
15265         (ifconfig, iwconfig, netstat, arp, route): Use it.
15267 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
15269         * progmodes/gdb-mi.el (gdb-read-memory-custom)
15270         (gdb-memory-set-address, def-gdb-set-positive-number)
15271         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15272         after changing settings.
15273         (gdb-invalidate-disassembly): Update when first shown.
15274         (gdb-edit-locals-value): Fixed.
15275         (gdb-registers-handler-custom): Print registers in right order and
15276         allow changing register values (only for current thread yet).
15277         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15278         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15279         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15280         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15281         info in mode name.
15282         (gdb-registers-mode-map): TAB to switch to locals.
15284 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
15286         * mail/rmail.el (rmail-add-mbox-headers)
15287         (rmail-set-message-counters-counter): Search for
15288         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
15290 2009-08-08  Glenn Morris  <rgm@gnu.org>
15292         * Makefile.in (ELCFILES): Update.
15294 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15296         * mail/sendmail.el (mail-yank-original): Set
15297         buffer-file-coding-system from the one used by the message whose
15298         text is yanked.
15300         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15301         to "windows" when "pgnuplot" is used.
15302         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15303         call accept-process-output if "pgnuplot" is used.
15304         (calc-graph-init): Don't send -display and -geometry to
15305         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
15306         running "pgnuplot -V" with shell-command-to-string.
15308         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15309         the default.
15311 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
15313         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15314         org/org-latex.elc.
15316 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
15318         * vc-dispatcher.el (vc-resynch-window): Update comment.
15320         * term.el (term-handle-ansi-escape): Add comments with the
15321         terminfo capabilities implemented.
15323 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
15325         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15326         (gdb-var-create-handler): Rewritten using JSON parser.
15327         (gdb-propertize-header): Moved earlier.
15328         (gdb-set-header): Removed to avoid duplication.
15329         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15330         Refresh disassembly buffers only after threads list have been
15331         update.
15332         (gdb-threads-header, gdb-registers-header): Per-buffer header line
15333         variables.
15335 2009-08-04  Juri Linkov  <juri@jurta.org>
15337         * files.el: Commands to add/delete file/directory-local variables.
15338         (read-file-local-variable, read-file-local-variable-value)
15339         (read-file-local-variable-mode, modify-file-local-variable)
15340         (modify-file-local-variable-prop-line)
15341         (modify-dir-local-variable): New functions.
15342         (add-file-local-variable, delete-file-local-variable)
15343         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15344         (add-dir-local-variable, delete-dir-local-variable)
15345         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15346         (copy-dir-locals-to-file-locals-prop-line): New commands.
15348 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
15350         * abbrev.el (insert-abbrev-table-description): Prettify output.
15351         Suggested by Karl Chen.
15353 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
15355         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15356         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15357         (gdb-overlay-arrow-position, gdb-thread-position)
15358         (gdb-disassembly-position): Declare variables.
15359         (gdb-wait-for-pending): Function now.
15360         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15361         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15362         compilation goes smoothly.
15363         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15364         (gdb-non-stop-setting): New customization setting which replaces
15365         `gdb-non-stop' so changing it doesn't break active GDB session.
15366         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15367         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15368         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15369         (gdb-show-threads-by-default): New customization options.
15370         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15371         routines.
15372         (gdb-get-buffer-create): Send buffers update signal when they are
15373         created.
15374         (gdb-invalidate-locals, gdb-invalidate-registers)
15375         (gdb-invalidate-breakpoints)
15376         (gdb-invalidate-threads, gdb-invalidate-disassembly)
15377         (gdb-invalidate-memory): Accept update signal.
15378         (gdb-current-context-command): Use --frame option.
15379         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15380         Implement `gdb-frame-number' selection logic.
15381         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15382         whether to show GUD toolbar buttons.
15383         (gdb-thread-exited): Unselect current thread when it exits.
15384         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15385         (gdb-mark-line): Routine which sets overlay arrow or inverses
15386         video on fringeless displays.
15387         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15388         to build aligned columns of data in GDB buffers and set text
15389         properties line-by-line.
15390         (gdb-invalidate-breakpoints)
15391         (gdb-breakpoints-list-handler-custom)
15392         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15393         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15394         (gdb-registers-handler-custom): Align data columns.
15395         (gdb-locals-handler-custom): Now prints data like in variable
15396         declarations.
15397         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15398         Removed confusing buttons.
15399         (gdb-invalidate-threads): Append --frame.
15400         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15401         between breakpoints/threads buffers.
15402         (gdb-set-window-buffer): Now can ignore dedicated windows.
15403         (gdb-propertize-header): Use `gdb-set-window-buffer'.
15404         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15405         (def-gdb-thread-buffer-gud-command): Replaces
15406         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15407         for fine thread control.
15408         (gdb-preempt-existing-or-display-buffer): New function used to
15409         display bound buffers without breaking window layout.
15410         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15411         (gdb-select-frame): New version of `gdb-frames-select' which now
15412         sets `gdb-frame-number' so commands may use --frame option instead
15413         of inner debugger state.
15414         (gdb-frame-handler): Do not set `gdb-frame-number'.
15415         (gdb-threads-mode-map): Select threads with mouse.
15417         * progmodes/gud.el (gdb-gud-context-call): Declare function to
15418         avoid compilation warning.
15419         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15420         `gdb-show-stop-p`.
15422         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15423         Argument `key' renamed to `buffer-type'.
15424         (gdb-current-context-buffer-name): Do not add thread info to
15425         buffer name when no thread is selected.
15426         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15427         command (bug 3794).
15428         (gdb-thread-selected): Handle `=thread-selected' notification.
15429         (gdb-wait-for-pending): New macro to deal with congestion problems.
15430         (gdb-breakpoints-list-handler-custom): Don't fail on pending
15431         breakpoints.
15432         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15433         This fixes problem similar to one described in bug 3947.
15434         (gud-menu-map): More menu items.
15435         (gdb-init-1): Reset `gdb-thread-number' to nil.
15437         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15438         non-stop settings.
15440         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15441         (gdb-current-context-command): Do not append --thread if
15442         `gdb-thread-number' is nil.
15443         (gdb-running-threads-count, gdb-stopped-threads-count): New
15444         variables.
15445         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15446         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15447         customization options.
15448         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15449         GUD commands.
15450         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15451         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15452         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15453         set `gdb-thread-number' and update `gud-running' properly.
15454         (gdb-running): Update threads list when new threads appear.
15455         (gdb-stopped): Support non-stop operation and new thread switching
15456         logic.
15457         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15458         (gdb-json-partial-output): New set of JSON routines.
15459         (def-gdb-auto-update-trigger): New `signal-list' optional
15460         argument.
15461         (gdb-thread-list-handler-custom): Update `gud-running',
15462         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15463         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15464         (gdb-continue-thread, gdb-step-thread): New commands for fine
15465         thread execution control.
15466         (gud-menu-map): New menu items to switch non-stop options.
15467         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15468         (gdb-send): Mimic RET properly (bug 3794).
15470         * progmodes/gdb-mi.el (gdb-rules-name-maker)
15471         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15472         gdb-buffer-rules.
15473         (def-gdb-auto-update-handler): New nopreserve optional argument.
15474         (gdb-stack-list-frames-custom): Print stack from top to bottom.
15476         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15477         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15478         (gdb-parent-mode): New mode to derive other GDB modes from.
15479         (gdb-display-disassembly-for-thread)
15480         (gdb-frame-disassembly-for-thread): New commands for threads
15481         buffer.
15483         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15484         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15485         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15486         (gdb-update): We now store all GDB buffers in a list so that they
15487         can be updated by traversing a list instead of calling invalidate
15488         triggers explicitly.
15489         (def-gdb-trigger-and-handler): New macro to define trigger-handler
15490         pair for GDB buffer.
15491         (gdb-stack-buffer-name): Add thread information.
15492         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15493         handle pending triggers.
15494         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15495         (def-gdb-thread-buffer-simple-command)
15496         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15497         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15498         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15499         New commands which show buffers bound to thread.
15500         (gdb-stack-list-locals-regexp): Removed unused regexp.
15502         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15503         (gdb-locals-buffer-name, gdb-registers-buffer-name)
15504         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15505         to (gud-comint-buffer) in *-buffer-name functions
15506         because (gdb-get-target-string) already does that.
15507         (gdb-locals-handler-custom, gdb-registers-handler-custom)
15508         (gdb-changed-registers-handler): Rewritten without regexps.
15510         * progmodes/gdb-mi.el: Basic thread selection support.
15511         (gdb-thread-number): New variable.
15512         (gdb-current-context-command): New macro which adds --thread
15513         option to command.
15514         (gdb-threads-mode-map): Select thread with SPC.
15515         (gdb-thread-list-handler-custom): Mark current thread with overlay
15516         arrow.  Synchronize GDB thread and Emacs thread.
15517         (gdb-select-thread): New command which selects current thread.
15518         (gdb-invalidate-frames, gdb-invalidate-locals)
15519         (gdb-invalidate-registers): Use --thread option.
15521 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
15523         * net/tramp.el (top): Make check for tramp-gvfs loading more
15524         robust.  (Bug#3977)
15525         (tramp-handle-insert-file-contents): `unwind-protect' must be
15526         inside `with-parsed-tramp-file-name'.
15528         * net/tramp-gvfs.el (top): Remove superfluous message when loading
15529         fails.
15531 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
15533         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15534         directory if CLASSPATH is not set.
15536 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
15538         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15539         New defconst.
15540         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
15542 2009-08-02  Kevin Ryde  <user42@zip.com.au>
15544         * net/newst-backend.el (newsticker--raw-url-list-defaults):
15545         Update freshmeat link.  Delete newsforge.com as it seems gone.
15547 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15549         * select.el (x-set-selection): Doc fix (Bug#4021).
15551         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15553         * help-fns.el (describe-variable): Treat list return values from
15554         dir-locals-find-file properly (Bug#4005).
15556 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
15558         * net/tramp.el (tramp-debug-message): Print also microseconds.
15560 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
15562         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15563         or END is non-nil.
15564         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15565         (tramp-get-debug-buffer): Change `outline-regexp' according to new
15566         format.
15568         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15569         (tramp-get-file-property): Use it.
15571         * autorevert.el (auto-revert-handler): Allow
15572         `auto-revert-tail-mode' for remote files.
15574 2009-08-02  Jason Rumney  <jasonr@gnu.org>
15576         * minibuffer.el (read-file-name): Treat confirm options to
15577         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
15579 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
15581         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15582         (font-lock-variable-name-face, font-lock-constant-face): Darken
15583         the colors for light backgrounds.
15585 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
15587         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15588         month names.  (Bug#3987)
15590 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
15592         * simple.el (line-move-finish): Pass whole number to
15593         line-move-to-column.
15594         (line-move-visual): Perform hscroll to the recorded position.
15596 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
15598         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15600 2009-07-29  Alan Mackenzie  <acm@muc.de>
15602         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15604 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
15606         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15607         (gdb-place-breakpoints): Use full path when setting breakpoints.
15609 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
15611         * calc/calc.el (calc-mode-map): Add keybinding for
15612         `calc-transpose-lines'.
15614 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
15616         * calc/calc-misc.el (calc-transpose-lines): New function.
15618 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
15620         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15621         Simplify check for out-of-band methods.
15622         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15623         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
15625 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
15627         * vc-git.el (vc-git-checkin): Fix typo.
15629 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
15631         * progmodes/js2-mode.el: New file.
15633 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
15635         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15636         (gud-menu-map): Adjust tooltip accordingly.
15638 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
15640         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15641         (vc-bzr-log-view-mode): Adjust log-view-file-re.
15643         * add-log.el (change-log-mode-map): Add a menu.
15645 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
15647         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15648         function returns nil.
15649         (dbus-handle-event): Handle special return value :ignore.
15650         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15652 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
15654         * view.el (view-mode-enable): Don't define Helper-return-blurb if
15655         it's not needed.
15657 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
15659         Fix Bug#3888:
15661         * w32-vars.el (x-select-enable-clipboard): Doc fix.
15663         * term/pc-win.el (x-display-name, x-colors)
15664         (x-select-enable-clipboard, x-select-text): Doc fix.
15666         * term/common-win.el (x-display-name, x-colors): Doc fix.
15668         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15669         (xw-defined-colors): Doc fix.
15671         * w32-fns.el (x-select-text, x-setup-function-keys)
15672         (x-get-selection, x-set-selection): Doc fix.
15674         * term/x-win.el (x-select-text, x-setup-function-keys)
15675         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15677         * select.el (x-set-selection): Doc fix.
15679 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
15681         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15682         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
15683         "IsNSSSupportAvailable" method is not available.  Reported by
15684         Steve Youngs <steve@sxemacs.org>.
15686 2009-07-24  Kenichi Handa  <handa@m17n.org>
15688         * international/characters.el: Fix setting of category ?C, ?|, ?K,
15689         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
15690         (build-unicode-category-table): Fix range checks.
15692 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
15694         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15695         the buffer we try to sync is current when calling
15696         vc-resynch-buffer.
15698         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15699         not show up to date files.
15701 2009-07-24  Glenn Morris  <rgm@gnu.org>
15703         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15704         Add autoload cookies.  If necessary, initialize.
15705         (elint-log): Handle non-file buffers.
15706         (elint-initialize): Add optional argument to reinitialize.
15707         (elint-find-builtin-variables): Save excursion.
15709 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
15711         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15712         for Lint.
15714 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
15716         * vc.el (vc-print-log-internal): New function, split out from ...
15717         (vc-print-log): ... here.
15718         (vc-dir-move-to-goal-column): Declare.
15720         * vc-git.el (vc-git-add-signoff): New variable.
15721         (vc-git-checkin): Use it.
15722         (vc-git-toggle-signoff): New function.
15723         (vc-git-extra-menu-map): Bind it to menu.
15724         (vc-git--run-command-string): Accept a nil FILE argument.
15725         (vc-git-stash-list): New function.
15726         (vc-git-dir-extra-headers): Use it.
15728 2009-07-23  Glenn Morris  <rgm@gnu.org>
15730         * help-fns.el (describe-variable): Describe ignored and risky local
15731         variables in a similar way to that in which we describe safe ones.
15733         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15734         (byte-compile-output-file-form, byte-compile-output-docform)
15735         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15736         Give some more local variables with common names a "bytecomp-" prefix,
15737         so as not to shadow things during compilation.
15738         * emacs-lisp/cl-macs.el (load-time-value)
15739         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15740         `outbuffer' to `bytecomp-outbuffer'.
15742         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15743         since the next two variables cover them automatically now.
15744         (elint-builtin-variables, elint-autoloaded-variables): New.
15745         (elint-unknown-builtin-args): Remove all members, since they can be
15746         parsed automatically now.
15747         (elint-extra-errors): New.
15748         (elint-env-add-env, elint-env-add-macro): Use cadr.
15749         (elint-current-buffer): Use or.  Change final message.
15750         (elint-get-top-forms): Use line-end-position.
15751         (elint-init-env): Use cadr.  Handle autoload, declare-function,
15752         and defalias.
15753         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
15754         (regexp-assoc): Remove unused function.
15755         (elint-top-form): Set elint-current-pos, to record the start of the
15756         top-level form, for compilation-mode.
15757         (elint-form): Trap errors in macro expansion.  Use dolist.
15758         (elint-unbound-variable): Use elint-builtin-variables and
15759         elint-autoloaded-variables.
15760         (elint-get-args): Use cadr, or.
15761         (elint-check-cond-form): Use dolist, cadr.
15762         (elint-check-condition-case-form): Doc fix.  Use cadr.
15763         Use elint-extra-errors.
15764         (elint-log): New function.
15765         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15766         Distinguish errors and warnings.
15767         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
15768         Use a bytecomp-style format.
15769         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
15770         (elint-get-log-buffer): Use compilation mode.  Disable undo.
15771         Don't truncate lines.
15772         (elint-initialize): Set builtin and autoloaded variable lists.
15773         Only process elint-unknown-builtin-args if non-nil.
15774         (elint-find-builtin-variables, elint-find-autoloaded-variables):
15775         New functions.
15776         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
15778 2009-07-22  Kevin Ryde  <user42@zip.com.au>
15780         * net/newst-backend.el (newsticker--parse-atom-1.0)
15781         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15782         (newsticker--parse-rss-1.0):
15783         * progmodes/idlwave.el (idlwave-mode):
15784         * progmodes/idlw-shell.el (idlwave-shell-mode):
15785         * progmodes/vera-mode.el (vera-mode):
15786         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15787         * progmodes/vhdl-mode.el (vhdl-mode):
15788         * textmodes/table.el (table-generate-source)
15789         (table--warn-incompatibility):
15790         Hyperlink urls in docstrings with URL `...'.
15792 2009-07-22  Glenn Morris  <rgm@gnu.org>
15794         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15795         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15796         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15797         Remove leading * from defcustom docs.
15799         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
15801         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15802         defcustom doc.
15803         (list-load-path-shadows): Optionally, just return shadows as a string.
15805         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15807 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
15809         * mail/rmailedit.el (rmail-edit-mode): Use
15810         auto-save-include-big-deletions.
15812         * mail/rmail.el (rmail-variables): Use
15813         auto-save-include-big-deletions.
15815         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15816         changes.
15818 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
15820         * calc/calc.el (calc-undo-length): New variable.
15821         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15823 2009-07-21  Richard Stallman  <rms@gnu.org>
15825         * files.el (auto-save-mode): Handle buffer-save-size = -2
15826         for toggling mode.
15828 2009-07-21  Glenn Morris  <rgm@gnu.org>
15830         * textmodes/ispell.el (ispell-looking-back): Update declaration.
15832         * calendar/todo-mode.el (calendar-current-date): Update declaration.
15834         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15835         silence compiler.  Instead...
15836         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15837         (ps-print-ensure-fontified): Update for above function name changes.
15839         * printing.el (pr-mh-get-msg-num, pr-mh-show)
15840         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15841         silence compiler.  Instead...
15842         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15843         (mh-show-buffer): Only define for compiler.
15844         (pr-mh-current-message): Update for above function name changes.
15846         * files.el (abort-if-file-too-large): Explicitly pass `filename'
15847         as an argument.
15848         (find-file-noselect, insert-file-1): Update for above change.
15850         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15852         * mail/mailclient.el (mailclient-send-it): Fix message.
15854         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15855         (edebug-eval): Check cl-debug-env is bound.
15856         (print-level, print-circle): Don't redefine built-in variables.
15858         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15859         (custom-print-vectors): Remove old comments from doc.
15861         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15862         (emerge-version): Make the variable an obsolete alias for the
15863         emacs-version variable.  Make the function obsolete.
15864         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15865         Emerge options, rather than merging in into the main Options menu.
15866         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
15867         and auto advance modes.  Disable edit/fast items when not relevant.
15869 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
15871         * term/vt420.el (terminal-init-vt420): Fix typo.
15873 2009-07-20  Sam Steingold  <sds@gnu.org>
15875         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15876         variable (removed from compile.el on 2004-03-11).
15878 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
15880         * files.el (hack-local-variables-filter): Fix last change.
15882 2009-07-19  Juri Linkov  <juri@jurta.org>
15884         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15885         (dir-local-variables-alist): New buffer-local variable.
15886         (hack-local-variables-filter): If variable is not dir-local,
15887         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15888         because file-local overrides dir-local.
15889         (c-postprocess-file-styles) <declare-function>:
15890         Remove obsolete declaration.
15891         (hack-dir-local-variables): Add dir-local variable/value pair to
15892         `dir-local-variables-alist' and remove duplicates.  Doc fix.
15894         * help-fns.el (describe-variable): Add information about
15895         file-local and dir-local variables.
15897 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
15899         * files.el (hack-local-variables-filter): Rewrite.
15901 2009-07-19  Glenn Morris  <rgm@gnu.org>
15903         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15904         Silence compiler by only defining on XEmacs.
15906         * international/mule.el (auto-coding-regexp-alist): Only match
15907         BABYL... at the start of buffer, not of lines.  (Bug#3790)
15909         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15910         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
15911         (cal-menu-context-mouse-menu): Doc fix.
15913         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15915         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
15917 2009-07-18  Juri Linkov  <juri@jurta.org>
15919         * info.el: Virtual Info keyword finder.
15920         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15921         (Info-finder-file): New variable.
15922         (Info-finder-find-file): New function.
15923         (finder-known-keywords, finder-package-info)
15924         (find-library-name, lm-commentary): Use defvar and
15925         declare-function to silence compiler warnings.
15926         (Info-finder-find-node): New function.
15927         (info-finder): New command.
15929         * subr.el (process-kill-buffer-query-function): New function.
15930         (add-hook)<kill-buffer-query-functions>: Add hook
15931         `process-kill-buffer-query-function'.
15933 2009-07-18  Alan Mackenzie  <acm@muc.de>
15935         * progmodes/cc-mode.el (c-before-hack-hook)
15936         (c-postprocess-file-styles): Give invocation of `c-set-style'
15937         DONT-OVERRIDE parameter of t.  Already set style variables will
15938         thus not be overridden by style settings given by `c-file-syle'.
15940         * files.el (hack-local-variables-filter): Remove entries with
15941         duplicate keys from `file-local-variables-alist'.
15943 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15945         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15946         x-set-selection if display-selections-p returns nil for the
15947         current frame.
15949 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
15951         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15953 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
15955         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15956         Accept nil in addition to a regexp.
15957         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15958         Accept nil in addition to a regexp.
15959         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15960         buffers that have an associated file.  Handle nil values of
15961         desktop-buffers-not-to-save and desktop-files-not-to-save.
15962         (Bug#3833)
15964         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15965         (x-disown-selection-internal): New functions.
15967 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
15969         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15970         warning.
15971         (gdb-breakpoints-header): Move forward to avoid compiler warning.
15972         (gdb-make-header-line-mouse-map): Remove duplicate definition.
15974 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
15976         * simple.el (set-mark): Revert last change.
15978 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
15980         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15981         rendering of pngs is not possible instead of messaging a long
15982         description.
15984 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
15986         * w32-fns.el (x-selection-owner-p): New function.
15988         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15989         (mouse-yank-at-click, mouse-yank-primary): If
15990         select-active-regions is non-nil, deactivate the mark before
15991         insertion.
15993         * simple.el (deactivate-mark, set-mark): Only save selection if we
15994         own it.
15996 2009-07-17  Kenichi Handa  <handa@m17n.org>
15998         * case-table.el (describe-buffer-case-table): Fix for the case
15999         that KEY is a cons.
16001 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
16003         * vc-rcs.el (vc-rcs-find-file-hook):
16004         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16006 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
16008         * net/tramp.el (tramp-wait-for-output): Handle the case when
16009         commands do not return a newline but a null byte before the shell
16010         prompt.  (Bug#3858)
16012 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
16014         * term/ns-win.el (ns-set-alpha): Don't declare.
16015         (ns-set-background-alpha): Remove function.
16017 2009-07-16  Kevin Ryde  <user42@zip.com.au>
16019         * emacs-lisp/copyright.el (copyright-update): Save match-data across
16020         y-or-n-p, for safety.
16022 2009-07-16  Richard Stallman  <rms@gnu.org>
16024         * files.el (auto-save-mode): If buffer-saved-size is -2,
16025         don't clobber it.
16027         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16028         (rmail-retry-ignored-headers): Add more uninteresting fields.
16030 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
16032         * net/rcirc.el (rcirc): Use history variables.
16033         (rcirc-server-name-history, rcirc-nick-name-history)
16034         (rcirc-server-port-history): New variables.
16036 2009-07-15  Kenichi Handa  <handa@m17n.org>
16038         * international/mule-cmds.el (set-language-environment-charset):
16039         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16040         ignore them.
16042         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16043         Delete unibyte-display.
16045 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16047         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16049 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
16051         * simple.el (deactivate-mark): Optional argument FORCE.
16052         (set-mark): Use deactivate-mark.
16054         * info.el (Info-search): No need to check transient-mark-mode
16055         before calling deactivate-mark.
16057         * select.el (x-set-selection): Doc fix.
16058         (x-valid-simple-selection-p): Allow buffer values.
16059         (xselect--selection-bounds): Handle buffer values.  Suggested by
16060         David De La Harpe Golden.
16062         * mouse.el (mouse-set-region, mouse-drag-track): Call
16063         copy-region-as-kill before setting the mark, to let
16064         select-active-regions work.
16066 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
16068         * simple.el (deactivate-mark): If select-active-regions is
16069         non-nil, copy the selection data into a string.
16070         (activate-mark): If select-active-regions is non-nil, set the
16071         selection to the current buffer.
16072         (set-mark): Update selection if select-active-regions is non-nil.
16074         * select.el (x-valid-simple-selection-p): Allow buffer values.
16076 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16078         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16079         and more featureful message-mode.
16081 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
16083         * select.el (x-set-selection): Doc fix.
16084         (x-valid-simple-selection-p): Disallow selection data consisting
16085         of a list or cons of integers, since that is not used.
16086         (xselect--selection-bounds, xselect--int-to-cons): New functions.
16087         (xselect-convert-to-string, xselect-convert-to-length)
16088         (xselect-convert-to-filename, xselect-convert-to-charpos)
16089         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16091 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
16093         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16094         output in -break-info command (Emacs bug #3794).
16096 2009-07-14  Glenn Morris  <rgm@gnu.org>
16098         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16099         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16100         (edebug-print-length, edebug-print-level, edebug-print-circle)
16101         (edebug-sit-for-seconds, edebug-view-outside)
16102         (edebug-bounce-point, edebug-set-global-break-condition)
16103         (edebug-Go-nonstop-mode, edebug-trace-mode)
16104         (edebug-Trace-fast-mode, edebug-continue-mode)
16105         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16106         (edebug-visit-eval-list): Doc fixes.
16108         * subr.el (def-edebug-spec): Doc fix.
16110 2009-07-14  Kenichi Handa  <handa@m17n.org>
16112         * international/characters.el: Fix setting of category ?C.
16114 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
16116         * term/ns-win.el (x-select-font): defalias x-select-font to
16117         ns-popup-font-panel instead of generate-fontset-menu.
16119 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
16121         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
16123 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
16125         * arc-mode.el (archive-find-type): Allow for a PK00 string before
16126         the PK\003\004 header (Bug#3770).
16128 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
16130         * pcomplete.el (pcomplete-comint-setup): Check for
16131         shell-dynamic-complete-filename too.
16133 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
16135         * simple.el (temporary-goal-column): Change the value for
16136         line-move-visual to a cons cell.
16137         (line-move-visual): Record or set the window hscroll, if
16138         necessary (Bug#3494).
16139         (line-move-1): Handle cons value of temporary-goal-column.
16141 2009-07-11  Kenichi Handa  <handa@m17n.org>
16143         * international/mule-diag.el (describe-character-set): Don't show
16144         width.
16146 2009-07-10  Sam Steingold  <sds@gnu.org>
16148         * progmodes/compile.el (compilation-mode-font-lock-keywords):
16149         Omake sometimes indents the errors it prints, so allow all
16150         regexps to start with spaces.
16152 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
16154         * cus-edit.el (customize-changed-options-previous-release):
16155         Bump value to 22.1.  (Bug#3804)
16157 2009-07-08  Sam Steingold  <sds@gnu.org>
16159         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16160         to be a cons cell (test . ignored-directory) to selectively ignore
16161         some directories depending on the location of the search.
16163 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
16165         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16166         remote user is root, on the local host.
16167         (tramp-local-host-p): Either the local user or the remote user
16168         must be root.  (Bug#3771)
16170 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16172         * progmodes/gdb-mi.el (gdb): Remove description of
16173         gdb-use-separate-io-buffer.
16174         (menu): Don't allow toggling of or enable
16175         gdb-use-separate-io-buffer from menubar.
16177 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16179         * mail/unrmail.el (unrmail): Make sure the message ends with two
16180         newlines (Bug#3769).
16182 2009-07-08  Glenn Morris  <rgm@gnu.org>
16184         * calendar/calendar.el (calendar-current-date): Rework previous change.
16186 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
16188         * calendar/calendar.el (calendar-current-date):
16189         Add an optional argument giving an offset from today.
16191 2009-07-08  Glenn Morris  <rgm@gnu.org>
16193         * tutorial.el (tutorial--describe-nonstandard-key):
16194         Adjust the message for when a key has been unbound.
16195         (help-with-tutorial): Hide the arch-tag.
16197 2009-07-08  Kenichi Handa  <handa@m17n.org>
16199         * international/fontset.el (setup-default-fontset): For each
16200         script, append (not set) font-specs.
16202         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16203         docstring.
16205 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
16207         * progmodes/gdb-mi.el (gdb-init-1): Move sending
16208         -data-list-register-names to ...
16209         (gdb-starting): ... here because GDB 7.0 requires execution to
16210         have started when using this MI command.
16211         (gdb-set-header): New function to distinguish select and
16212         unselected tabs in gdb buffers.
16213         (gdb-propertize-header): New macro that uses gdb-set-header.
16214         (gdb-breakpoints-header, gdb-locals-header): Use it.
16215         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16217 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
16219         * Makefile.in (ELCFILES): Remove fadr.elc.
16221 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
16223         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16224         may contain frame information, so `string-match' should be used.
16225         (gdb-update): Disassembly is invalidated through
16226         `gdb-get-selected-frame'.
16227         (gdb-pad-string): New function to pad string with spaces.
16228         (gdb-invalidate-disassembly): Invalidate only if the buffer
16229         exists.
16230         (gdb-disassembly-handler-custom): Column alignment.
16231         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16232         placing new ones.
16233         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16234         end of line, too.
16235         (gdb-frame-handler): Match convention to for disassembly buffer
16236         mode name.
16237         (gdb-stack-list-frames-handler): Rewritten without regexps.
16238         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16239         not highlight breakpoints without line information.
16240         (gdb-input): Add trailing newline to command.
16242         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16243         buffer properly.
16244         (gdb-breakpoints-list-handler-custom): Replacement for
16245         `gdb-break-list-handler'.  Using real parser instead of regexps
16246         now.
16247         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16248         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16249         to place breakpoints.
16250         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16251         functions.
16252         (gdb-disassembly-handler-custom): Show overlay arrow.
16253         (gdb-disassembly-place-breakpoints): Show breakpoints in
16254         disassembly buffer.
16255         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16256         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16257         instead of parsing breakpoints buffer.  Fixed old menu references
16258         in `gud-menu-map'.
16260         * fadr.el: Remove.
16262         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16263         (gdb-memory-address): New variable which holds top address of
16264         memory page shown in memory buffer.
16265         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16266         customization variables.
16267         New functions:
16268         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16269         display the memory buffer.
16270         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16271         buffer display parameters.
16272         (def-gdb-memory-format, gdb-memory-format-binary)
16273         (gdb-memory-format-octal, gdb-memory-format-unsigned)
16274         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16275         Functions for setting memory buffer format.
16276         (gdb-memory-unit-word, gdb-memory-unit-halfword)
16277         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16278         unit size used in memory buffer.
16279         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16280         to next/previous page of memory buffer.
16281         Now using (bindat-get-field) instead of fadr functions.
16283 2009-07-07  Sam Steingold  <sds@gnu.org>
16285         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16286         non-top-level files.
16288 2009-07-07  Kenichi Handa  <handa@m17n.org>
16290         * international/mule-cmds.el (reset-language-environment): Put
16291         the highset priority to the charset iso-8859-1.
16293 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16295         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16296         to the end of the line when locating the block (Bug#700).
16298 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
16300         * net/tramp.el (tramp-handle-write-region): Flush file properties
16301         in case of short track.
16303 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
16305         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16306         Coded custom representation of verilog error regular expressions
16307         to work with Emacs-22's new format.
16308         (verilog-error-regexp-xemacs-alist): Coded custom representation
16309         of verilog error regular expressions to work with XEmacs format.
16310         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16311         error recognition into XEmacs.
16312         (verilog-error-regexp-add-emacs): Hook routine to install verilog
16313         error recognition into Emacs-22.
16315 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
16317         * woman.el: Remove stand-alone closing parentheses.
16318         (woman-file-name, woman2-format-paragraphs)
16319         (woman-leave-blank-lines): Code cleanup.
16320         (woman-use-own-frame): Change default to nil.
16321         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16322         defaults to inherit from default faces.
16323         (woman2-process-escapes): Consume the newline after a stand-alone
16324         filler character (Bug#3651).
16326 2009-07-06  Glenn Morris  <rgm@gnu.org>
16328         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16329         (top-level): Move provide to the end.
16330         (ffap): Remove defunct URL from custom group.
16332         * subr.el (eval-after-load): Doc fix.
16334 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
16336         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16337         `calc-embedded-word' is called twice.
16339 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16341         * files.el (find-alternate-file-other-window, find-alternate-file):
16342         Obey confirm-nonexistent-file-or-buffer.
16344 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
16346         * dired-aux.el (dired-show-file-type): Handle remote files.
16348 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
16350         * desktop.el (desktop-globals-to-save):
16351         Add file-name-history (Bug#2750).
16353 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
16355         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16357 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
16359         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16360         property on entire argument since this is what eshell-lisp-command
16361         expects.
16363 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
16365         * net/tramp-gvfs.el (tramp-gvfs-methods)
16366         (tramp-gvfs-zeroconf-domain)
16367         (tramp-bluez-discover-devices-timeout): Add version flag.
16368         (tramp-gvfs-handler-mounted-unmounted)
16369         (tramp-gvfs-connection-mounted-p): Polish handling of
16370         incompatibilities between GVFS 0.2 and 1.0.
16372 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
16374         * cus-start.el (all): Add make-pointer-invisible.
16376 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
16378         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16379         formatted correctly.
16381 2009-07-02  Juri Linkov  <juri@jurta.org>
16383         * info.el: Virtual Info files and nodes.
16384         (Info-virtual-files, Info-virtual-nodes): New variables.
16385         (Info-current-node-virtual): New variable.
16386         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16387         New functions.
16388         (Info-file-supports-index-cookies): Use Info-virtual-file-p
16389         to check for a virtual file instead of checking a fixed list
16390         of node names.
16391         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16392         instead of ad-hoc processing of "dir" and (apropos history toc).
16393         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16394         instead of ad-hoc processing of "dir" and (apropos history toc).
16395         Reread a file when moving from a virtual node.
16396         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16397         (Info-directory-toc-nodes, Info-directory-find-file)
16398         (Info-directory-find-node): New functions.
16399         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16400         (Info-history): Move part of code to
16401         `Info-history-find-node'.
16402         (Info-history-toc-nodes, Info-history-find-file)
16403         (Info-history-find-node): New functions.
16404         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16405         (Info-toc): Move part of code to `Info-toc-find-node'.
16406         (Info-toc-find-node): New function.
16407         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
16408         the current Info file name to references because now the node
16409         "*TOC*" belongs to the same Info manual.
16410         (Info-toc-build): Rename from `Info-build-toc'.
16411         (Info-toc-nodes): Rename input argument `file' to `filename'.
16412         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16413         instead of ad-hoc processing of ("dir" apropos history toc).
16414         (Info-index-nodes): Use Info-virtual-file-p
16415         to check for a virtual file instead of checking a fixed list
16416         of node names.
16417         (Info-index-node): Add check for `Info-current-node-virtual'.
16418         Raise `save-match-data' higher up the tree to contain
16419         `search-forward' too (bug fix).
16420         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16421         (Info-virtual-index-nodes): New variable.
16422         (Info-virtual-index-find-node, Info-virtual-index): New functions.
16423         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16424         (Info-apropos-file, Info-apropos-nodes): New variables.
16425         (Info-apropos-toc-nodes, Info-apropos-find-file)
16426         (Info-apropos-find-node, Info-apropos-matches): New functions.
16427         (info-apropos): Move part of code to `Info-apropos-find-node' and
16428         `Info-apropos-matches'.
16429         (Info-mode-map): Bind "I" to `Info-virtual-index'.
16430         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16431         for a virtual file instead of checking a fixed list of node names.
16433         * simple.el (async-shell-command): New command.
16435         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16437         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16438         instead of `mount-info'.
16440 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
16442         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16443         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16445 2009-07-02  Kenichi Handa  <handa@m17n.org>
16447         * international/mule.el (set-keyboard-coding-system): Force *-unix
16448         coding-system to avoid eol conversion.
16450 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
16452         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16453         Add handler for `process-file', `shell-command' and
16454         `start-file-process'.
16455         (tramp-gvfs-handle-shell-command)
16456         (tramp-gvfs-handle-start-file-process)
16457         (tramp-gvfs-handle-process-file): New defuns.
16458         (tramp-synce-list-devices): Simplify check for existence of property.
16460 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
16462         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16464 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
16466         * language/korean.el (set-language-info-alist): Add korean-cp949,
16467         cp949 to spec.
16469 2009-07-01  Kenichi Handa  <handa@m17n.org>
16471         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16473         * international/encoded-kb.el: Deleted.
16475         * international/mule.el (set-keyboard-coding-system): Perform the
16476         necessary setup here instead of calling encoded-kbd-setup-display.
16478 2009-07-01  Glenn Morris  <rgm@gnu.org>
16480         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16482 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
16484         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
16486 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
16488         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16489         Handle also the 'rename case, when setting file modes.  (Bug#3712)
16490         (tramp-default-file-modes): Remove execute permissions.
16492         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16493         (top): Add a default for "synce" in `tramp-default-user-alist'.
16494         Add completion function for "synce" method.
16495         (tramp-hal-service, tramp-hal-path-manager)
16496         (tramp-hal-interface-manager, tramp-hal-interface-device):
16497         New defconst.
16498         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16499         (tramp-synce-list-devices, tramp-synce-parse-device-names):
16500         New defuns.
16502         * net/trampver.el: Update release number.
16504 2009-06-30  Kenichi Handa  <handa@m17n.org>
16506         * international/fontset.el (setup-default-fontset): Add CJK fonts
16507         for symbols and the other miscellaneous characters.
16509         * language/korea-util.el (setup-korean-environment-internal):
16510         Make char-width-table suitable for Korean environments.
16511         (exit-korean-environment): Cancel above.
16513         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16514         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16515         setup-function to make char-width-table suitable for respective
16516         environments, and an exit-function to cancel that.
16518         * language/japan-util.el (setup-japanese-environment-internal):
16519         Call use-cjk-char-width-table with arg `ja_JP'.
16521         * international/characters.el (cjk-char-width-table): Delete it.
16522         (cjk-char-width-table-list): New variable.
16523         (use-cjk-char-width-table): New arg local-name.
16524         (use-default-char-width-table): Fix for the case that Emacs is
16525         already using the default char-width-table.
16527 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
16529         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16530         modes mandatory.  (Bug#3712)
16532 2009-06-29  Alan Mackenzie  <acm@muc.de>
16534         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16535         correction between the visible width of TABs and their number of bytes.
16537 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
16539         * server.el (server-buffer-done): Prevent kill-buffer from
16540         prompting by clearing the buffer modification flag (Bug#3696).
16542 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
16544         * progmodes/verilog-mode.el (verilog-beg-of-statement)
16545         (verilog-endcomment-reason-re): Support unique case and priority case.
16546         (verilog-basic-complete-re): Support localparam lineup.
16547         (verilog-beg-of-statement-1): Fix for robustness, unique case.
16548         (verilog-set-auto-endcomments): Fix for unique case, always_comb
16549         commenting.
16550         (verilog-leap-to-case-head): Now support *nested* unique &
16551         priority case statements.
16552         (verilog-auto-lineup): Make just declarations the default (as it
16553         had been).
16554         (verilog-leap-to-case-head): Support priority/unique case statements.
16555         (verilog-auto-lineup): Rework to give users radio buttons to
16556         select the various styles of automatic lineup.
16557         (verilog-error-regexp-alist): Rework to support the XEmacs style
16558         of error regular expressions from compilers, lint tools &
16559         simulators.  Note that GNU Emacs has made it impossible for a mode
16560         to load such things.
16561         (electric-verilog-terminate-line, verilog-indent-declaration)
16562         (verilog-auto-wiure): Rework for radio button selection of
16563         auto-lineup selection of specification of auto lineup.
16564         (verilog-beg-of-statement-1): Redesign to support proper operation
16565         in additional code, based on testing with auto-lineup.
16566         (verilog-calculate-indent, assignments & declarations)
16567         (verilog-backward-token): Enhance to support auto-lineup of
16568         assignments & declarations.
16569         (verilog-in-directive-p, verilog-at-struct-p): New function for
16570         easy test of whether we are.
16571         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16572         to support safe execution at almost anyline.
16573         (verilog-calc-1): Properly support indenting deep inside generate
16574         blocks.
16575         (verilog-init-font): Remove definition & use of verilog-init-font,
16576         as it is redundant with font-lock-defaults.
16577         (verilog-mode): Alter the definition of verilog-font-lock-defaults
16578         to avoid circular calls if syntax-ppss is a function (as is the
16579         case now in 22.x GNU Emacs) as that function would sometimes call
16580         itself, leading to (nearly) infinite recursion.
16581         (verilog-ovm-begin-re, verilog-ovm-end-re)
16582         (verilog-ovm-statement-re, verilog-leap-to-head)
16583         (verilog-backward-token): Add support for OVM macros.  Some are
16584         complete statements, and others open and close scopes like begin
16585         and end.
16586         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16587         (verilog-defun-level-generate-only-re): Really fix the defun-list
16588         compilation issue.
16589         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16590         coverpoint, constraint and cross statements.
16591         (verilog-defun-level-list, verilog-generate-defun-level-list)
16592         (verilog-all-defun-level-list): Redo these specifications - it is
16593         too hard to support eval-when compile aggregation of lists also
16594         built at when-compile time.
16595         (verilog-defun-level-list): Place defconsts of variables used in
16596         building regular expressions which are built in eval-when-compile
16597         bodies in the same eval-when-compile body to facilitate compile
16598         without load.
16599         (verilog-beg-block-re-ordered): Support indenting
16600         virtual/protected tasks and functions.
16601         (verilog-defun-level-list, verilog-in-generate-region-p)
16602         (verilog-backward-ws&directives, verilog-calc-1): Speed up
16603         indentation of some module items (generate items).
16604         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16605         across virtual/protected tasks and functions.
16607 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
16609         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16610         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
16611         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16612         in concatenations.  Reported by Yishay Belkind.
16613         (verilog-auto-ascii-enum): Support one-hot state machines in
16614         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
16615         (verilog-auto-inst, verilog-auto-inst-port): Include interface
16616         modport in AUTOINST and add vl-modport for users.  Reported by
16617         David Rogoff.
16618         (verilog-auto-inout-module, verilog-auto-inst)
16619         (verilog-decls-get-interfaces, verilog-insert-definition)
16620         (verilog-insert-one-definition, verilog-read-decls)
16621         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16622         (verilog-sig-modport, verilog-signals-combine-bus)
16623         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16624         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16625         Suggested by David Rogoff.
16626         (verilog-repair-open-comma): Fix non-insertion of comma when
16627         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
16628         (verilog-make-width-expression): Simplify [A-1:0] expression
16629         widths to just {A{1'b0}}.
16630         (verilog-mode): Cleanup checkdoc warnings.
16631         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16632         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16633         inputs/outputs or data type.  Suggested by Vasu Kandadi.
16634         (next-error-last-buffer): Fix byte-compiler warning.
16635         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16636         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16637         or shell command text during AUTO expansion.  Suggested by Tad Truex.
16638         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16639         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16640         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16641         in AUTOINOUT.  Reported by Matthew Lovell.
16642         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16643         causing use of <= assignments.  Reported by Alex Reed.
16644         (verilog-read-decls): Fix triand, trior, wand, wor to be
16645         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
16646         (verilog-extended-complete-re): Support import "DPI-C" functions.
16647         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16648         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
16649         (verilog-insert-date, verilog-insert-year)
16650         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16651         Windows systems.  Reported by Michael Potts.
16652         (verilog-read-module-name): Fix AUTOINST when the child module
16653         declaration's name is a tick define.  Reported by Elliot Mednick.
16654         (verilog-read-decls): Fix V2K parameter bit subscripts getting
16655         passed to next parameter's definition.  Reported by Bruce T.
16656         (verilog-read-decls): Fix detecting "parameter int" when using
16657         AUTOINSTPARAM.  Reported by Bruce T.
16658         (verilog-goto-defun): Fix goto not finding modules unless first
16659         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
16660         (verilog-mode): Expand -f flag arguments on entry to mode so
16661         verilog-goto-defun will work.  Reported by Lawrence Butcher.
16662         (verilog-getopt): Expand environment variables in -f file
16663         arguments.  Suggested by Lawrence Butcher.
16664         (verilog-set-define): Fix "Symbol's value as variable is void"
16665         when reading enumerations.
16666         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16667         Suggested by Stephen Peltan.
16668         (verilog-read-defines): Fix reading of enumerations in include
16669         files.  Reported by Steve Peltan.
16671 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16673         * files.el (trash-directory): Fix defcustom type.
16675 2009-06-28  Juri Linkov  <juri@jurta.org>
16677         * help-fns.el (describe-function-1): Correctly locate adviced
16678         functions in hyperlink (Bug#2438).
16680 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
16682         * files.el (trash-directory): Change default to nil.
16683         (move-file-to-trash): If trash-directory is nil and
16684         system-move-file-to-trash is unbound, perform freedesktop-style
16685         trashing.
16687 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
16689         * files.el (move-file-to-trash): Add freedesktop trash
16690         support (Bug#973).
16692 2009-06-28  Glenn Morris  <rgm@gnu.org>
16694         * autorevert.el (global-auto-revert-non-file-buffers)
16695         (global-auto-revert-mode): Doc fixes.
16697 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
16699         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16701 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
16703         * faces.el (x-handle-named-frame-geometry): Ensure that we have
16704         opened an X connection before calling x-get-resource (Bug#3194).
16706         * play/doctor.el: Remove reference to obsolete website.
16707         (make-doctor-variables): Correct grammar mistake (Bug#2633).
16709 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
16711         Remove find-file-not-found-hook VC method.  (Bug#2757)
16712         * vc-hooks.el (vc-file-not-found-hook)
16713         (vc-default-find-file-not-found-hook): Remove functions.
16714         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16715         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16716         * vc.el:
16717         * vc-hg.el:
16718         * vc-git.el: Do not mention find-file-not-found-hook VC method.
16720 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
16722         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16723         compatibility function for `looking-back'.
16725         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16726         Use `ispell-looking-back'.
16728 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
16730         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16731         rather than `filename'.
16733 2009-06-23  Miles Bader  <miles@gnu.org>
16735         * face-remap.el (text-scale-set): New function.
16737 2009-06-23  Glenn Morris  <rgm@gnu.org>
16739         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16741         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16743         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16745         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16747         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16748         Simplify Persian conditionals.
16750         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16751         variable `filename'.
16753         * comint.el (comint-insert-input): Doc fix.
16755         * Makefile.in (ELCFILES): Fix typo in previous change.
16757 2009-06-23  Miles Bader  <miles@gnu.org>
16759         * cus-start.el: Add entry for `recenter-redisplay'.
16761 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16763         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16764         Add an optional argument for the backend, use it instead of
16765         calling vc-backend.
16766         (vc-mode-line): Add an optional argument for the backend.
16767         Pass the backend to vc-state and vc-working-revision.  Move code for
16768         special handling for vc-state being a buffer to ...
16770         * vc-rcs.el (vc-rcs-find-file-hook):
16771         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
16773         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16774         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16775         vc-stay-local-p and vc-mode-line calls.
16777         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16778         (vc-cvs-diff, vc-cvs-annotate-command)
16779         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16780         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16781         vc-mode-line calls.
16783         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16784         direct comparison.
16785         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16786         backend when calling vc-mode-line.
16787         (vc-register): Do not create a closure for calling the vc register
16788         function, call it directly.
16790 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
16792         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16793         to make it obvious item can be clicked.
16795         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16797 2009-06-23  Kenichi Handa  <handa@m17n.org>
16799         * language/korea-util.el (korean-key-bindings): Change the binding
16800         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
16801         same command.
16803 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
16805         Sync with Tramp 2.1.16.
16807         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16809         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
16810         when a loading of a package fails.  Completion function for rsync
16811         is `tramp-completion-function-alist-ssh'.
16812         (all): Replace all calls of `split-string' and
16813         `tramp-split-string' by `tramp-compat-split-string'.
16814         (tramp-default-method): Use `tramp-compat-process-running-p'.
16815         (tramp-default-proxies-alist): Allow also Lisp forms.
16816         (tramp-remote-path): Add choice "Private Directories".
16817         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16818         (tramp-domain-regexp): Allow also "-", "_" and ".".
16819         (tramp-end-of-output): Remove newlines, and add "$" at the end.
16820         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16821         (tramp-debug-message): Insert header line in debug buffer.
16822         (tramp-handle-directory-files-and-attributes-with-stat):
16823         Care about filenames with spaces, or starting with "-".
16824         (tramp-handle-dired-uncache): New defun.
16825         (tramp-handle-insert-directory): Don't flush the directory from
16826         cache, this is handled by `dired-uncache' now.
16827         (tramp-handle-insert-file-contents): Improve error handling.
16828         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16829         Quote `tramp-end-of-output'.
16830         (tramp-action-password): Improve trace message.
16831         (tramp-check-for-regexp): Both echoes must be present, before removing.
16832         (tramp-open-connection-setup-interactive-shell): Trace coding system.
16833         (tramp-compute-multi-hops): Eval cons cells of
16834         `tramp-default-proxies-alist'.
16835         (tramp-maybe-open-connection): Use the same command pattern for
16836         first hop and further hops.
16837         (tramp-wait-for-output): Remove handling of newlines.
16838         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16839         (tramp-split-string): Remove function.  It is handled in
16840         tramp-compat now.
16842         * net/tramp-cmds.el (tramp-bug):
16843         Recommend `tramp-cleanup-all-connections' in the bug mail.
16845         * net/tramp-compat.el (tramp-compat-split-string)
16846         (tramp-compat-process-running-p): New defuns.
16848         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16849         for `dired-uncache'.
16851         * net/tramp-gvfs.el: New package.
16853         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16854         Add handler for `dired-uncache'.
16855         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16857         * net/trampver.el: Update release number.  Make version check fit
16858         for SXEmacs 22.
16860 2009-06-22  Jim Meyering  <meyering@redhat.com>
16862         Automatically handle .xz suffix (XZ-compressed files), too.
16863         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16864         XZ is the successor to LZMA: <http://tukaani.org/xz/>
16866 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
16867             Nick Roberts  <nickrob@snap.net.nz>
16869         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16870         repository (http://sphinx.net.ru/hg/gdb-mi/).
16872 2009-06-22  Glenn Morris  <rgm@gnu.org>
16874         * files.el (dir-locals-collect-mode-variables): Allow for any number of
16875         `mode' and `eval' entries.  (Bug#3430)
16877         * Makefile.in (ELCFILES): Add fadr.elc.
16879         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16880         differing behavior of \n and ^ in strings.  (Bug#3385)
16882         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16884         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16885         property.
16886         (lisp-indent-function): Make it a defcustom.
16888 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
16890         * progmodes/gdb-ui.el: Replace with ...
16891         * progmodes/gdb-mi.el: ... this file.
16892         * progmodes/gud.el: Modify for gdb-mi.el.
16894 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
16896         * fadr.el: New file.
16898 See ChangeLog.14 for earlier changes.
16900 ;; Local Variables:
16901 ;; coding: utf-8
16902 ;; End:
16904     Copyright (C) 2009, 2010  Free Software Foundation, Inc.
16906   This file is part of GNU Emacs.
16908   GNU Emacs is free software: you can redistribute it and/or modify
16909   it under the terms of the GNU General Public License as published by
16910   the Free Software Foundation, either version 3 of the License, or
16911   (at your option) any later version.
16913   GNU Emacs is distributed in the hope that it will be useful,
16914   but WITHOUT ANY WARRANTY; without even the implied warranty of
16915   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16916   GNU General Public License for more details.
16918   You should have received a copy of the GNU General Public License
16919   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
16921 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1