1 2010-10-07 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
5 load-path-shadows-mode, update references.
6 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
7 Rename variable and button.
8 (list-load-path-shadows): Update button caller.
10 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12 * emacs-lisp/smie.el (smie-bnf-classify): New function.
13 (smie-bnf-precedence-table): Use it to remember the closers/openers.
14 (smie-merge-prec2s): Handle those new entries.
15 (smie-prec2-levels): Only set precedence to nil for actual
17 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
18 that is now unnecessary.
20 2010-10-07 Miles Bader <Miles Bader <miles@gnu.org>>
22 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
24 2010-10-07 Glenn Morris <rgm@gnu.org>
26 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
27 (mail-position-on-field): Remove declarations.
28 (mail-position-on-field): Autoload it.
29 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
30 and mail-header-end. Don't require sendmail.
32 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
33 (shadow-mode): New mode.
34 (shadow-find-file): New button.
35 (list-load-path-shadows): Use shadow-mode and buttons.
37 * iimage.el (iimage-version): Remove.
38 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
40 (iimage-mode-map): Give it a doc string.
42 * calendar/appt.el (appt-activate): Give a warning rather than an error
43 if there is no diary-file.
45 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
47 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
48 Use `tramp-handle-find-backup-file-name'.
50 2010-10-06 Glenn Morris <rgm@gnu.org>
52 * font-core.el (font-lock-defaults-alist): Remove variable.
53 (font-lock-mode): Doc fix.
54 (font-lock-default-function): Do not consult font-lock-defaults-alist.
55 * font-lock.el (font-lock-refresh-defaults): Doc fix.
56 (font-lock-set-defaults): Doc fix.
57 Do not consult font-lock-defaults-alist.
59 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
61 * emacs-lisp/cl.el: No longer provide cl-19.
63 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
65 * net/tramp.el (tramp-handle-directory-files-and-attributes)
66 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
67 New defuns, taken from tramp-smb.el.
68 (tramp-coding-system-change-eol-conversion)
69 (tramp-set-process-query-on-exit-flag): Removed.
71 * net/tramp-compat.el (top): Do not check for byte-compiler
73 (tramp-compat-coding-system-change-eol-conversion)
74 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
78 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
79 by `tramp-compat-set-process-query-on-exit-flag'.
81 * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use
82 `tramp-handle-directory-files-and-attributes',
83 `tramp-handle-file-exists-p' and
84 `tramp-handle-file-newer-than-file-p'.
85 (tramp-imap-handle-file-exists-p)
86 (tramp-imap-handle-file-executable-p)
87 (tramp-imap-handle-file-readable-p)
88 (tramp-imap-handle-directory-files-and-attributes)
89 (tramp-imap-handle-file-newer-than-file-p): Removed.
91 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
92 by `tramp-compat-set-process-query-on-exit-flag' and
93 `tramp-coding-system-change-eol-conversion' by
94 `tramp-compat-coding-system-change-eol-conversion'.
96 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use
97 `tramp-handle-directory-files-and-attributes',
98 `tramp-handle-file-exists-p' and
99 `tramp-handle-file-newer-than-file-p'.
100 (tramp-smb-handle-directory-files-and-attributes)
101 (tramp-smb-handle-file-exists-p)
102 (tramp-smb-handle-file-newer-than-file-p): Removed.
103 (tramp-smb-maybe-open-connection): Replace
104 `tramp-set-process-query-on-exit-flag' by
105 `tramp-compat-set-process-query-on-exit-flag'.
107 2010-10-05 Glenn Morris <rgm@gnu.org>
109 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
111 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
113 Continue reorganization of load dependencies. (Bug#7156)
115 * net/tramp.el (tramp-handle-file-local-copy-hook)
116 (tramp-delete-temp-file-function): Move down.
117 (tramp-exists-file-name-handler): Move up.
118 (tramp-register-file-name-handlers): Simplify autoload.
119 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
120 (tramp-handle-directory-files, tramp-handle-dired-uncache)
121 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
122 (tramp-handle-file-name-completion)
123 (tramp-handle-file-name-directory)
124 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
125 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
126 (tramp-handle-find-backup-file-name)
127 (tramp-handle-insert-file-contents, tramp-handle-load)
128 (tramp-handle-substitute-in-file-name)
129 (tramp-handle-unhandled-file-name-directory)
130 (tramp-mode-string-to-int, tramp-local-host-p)
131 (tramp-make-tramp-temp-file): Moved from tramp-sh.el.
133 * net/tramp-gvfs.el (top):
134 * net/tramp-smb.el (top): Do not require 'tramp-sh.
136 * net/tramp-sh.el (all): Move several objects to tramp.el, see
137 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
139 2010-10-04 Glenn Morris <rgm@gnu.org>
141 * calendar/appt.el (appt-add): Ensure reminders are enabled.
142 (appt-activate): Give status messages.
144 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
146 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
147 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
148 `gnutls-negotiate' (formerly `starttls-negotiate'). Remove
149 trivial wrapper `starttls-open-stream'.
151 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
153 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
154 log-outgoing commands.
155 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
156 to create a buffer local revert-buffer-function variable.
157 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
158 revert-buffer-function lambda.
160 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
162 * net/gnutls.el (starttls-negotiate): Use the plist interface to
163 `gnutls-boot'. Make TYPE the only required parameter. Allow
164 TRUSTFILES and KEYFILES to be lists.
165 (open-ssl-stream): Use it.
167 2010-10-03 Glenn Morris <rgm@gnu.org>
169 * subr.el (directory-sep-char): Remove obsolete variable.
170 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
173 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
174 * vc/vc.el (vc-static-header-alist): Doc fix.
175 * vc/vc-cvs.el (vc-cvs-header):
176 * vc/vc-rcs.el (vc-rcs-header):
177 * vc/vc-sccs.el (vc-sccs-header):
178 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
179 * obsolete/vc-mcvs.el (vc-mcvs-header):
180 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
183 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
185 * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
186 obsolete use of binary-overwrite-mode (Bug#7001).
188 2010-10-03 Glenn Morris <rgm@gnu.org>
190 * obsolete/x-menu.el: Remove file, obsolete since 21.1
192 * textmodes/rst.el (rst-font-lock-keywords-function):
195 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
197 * printing.el: Drop Emacs 20 code.
199 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
200 without having used appt.el already).
202 * subr.el (make-local-hook): Remove function obsolete since 21.1.
203 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
204 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
206 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
207 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
209 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
210 (charset-width, find-charset-region, chars-in-region, forward-point)
211 (encode-coding-string, coding-system-p, ccl-execute-on-string)
212 (define-ccl-program, multibyte-string-p, string-make-multibyte):
213 Remove compatibility cruft (none of these are used by ps*.el).
215 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
217 * subr.el (booleanp): Return t instead of a list (Bug#7086).
219 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
221 * server.el (server-process-filter, server-return-error): Give
222 emacsclient time to shut down after receiving an error string.
224 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
226 * files.el (remote-file-name-inhibit-cache): New defcustom.
228 * time.el (display-time-file-nonempty-p): Use
229 `remote-file-name-inhibit-cache'.
231 * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
234 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
235 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
236 `remote-file-name-inhibit-cache'. Check also for an integer
237 value. Add/increase counter when `tramp-verbose' >= 10.
238 (tramp-set-file-property): Add/increase counter when
239 `tramp-verbose' >= 10.
241 * net/tramp-cmds.el (tramp-cleanup-all-connections)
242 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
243 (tramp-bug): Set tramp-autoload cookie. Report all interned
244 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
245 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
246 characters only in strings.
248 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
249 to backward compatibility.
251 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
252 (tramp-handle-file-name-all-completions)
253 (tramp-handle-vc-registered): Use
254 `remote-file-name-inhibit-cache'.
255 (tramp-open-connection-setup-interactive-shell): Call
256 `tramp-cleanup-connection' directly.
258 2010-10-02 Glenn Morris <rgm@gnu.org>
260 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
262 * subr.el (char-bytes): Remove obsolete function.
264 * isearch.el (isearch-return-char): Remove obsolete function.
266 * mouse.el: No longer provide mldrag.
267 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
268 Remove obsolete aliases.
270 * comint.el (comint-kill-output): Remove obsolete alias.
272 * composite.el (decompose-composite-char): Remove obsolete function.
273 * ps-def.el (decompose-composite-char): Remove unused function.
275 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
277 * outline.el (outline-visible): Remove obsolete function.
279 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
280 * faces.el (internal-find-face, internal-get-face)
281 (frame-update-faces, frame-update-face-colors)
282 (x-frob-font-weight, x-frob-font-slant)
283 (internal-frob-font-weight, internal-frob-font-slant)
284 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
285 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
286 (x-make-font-bold-italic): Remove functions and aliases, obsolete
288 * emulation/viper-util.el (viper-get-face):
289 * obsolete/lucid.el (find-face, get-face): Use facep.
290 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
291 Remove unused functions.
292 * vc/ediff-util.el (ediff-submit-report): Doc fix.
294 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
295 delete tempfile if interrupted during compilation.
297 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
299 * net/tls.el (tls-starttls-switches): Give up on using starttls with
301 (tls-program): Add --insecure to be consistent with the defaults from
302 openssl s_client. Now all three commands are insecure.
304 2010-10-01 Eli Zaretskii <eliz@gnu.org>
306 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
307 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
308 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
310 2010-10-01 Glenn Morris <rgm@gnu.org>
312 * obsolete/sc.el: Remove file.
314 * files.el (temporary-file-directory): On darwin, also try
315 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
317 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
319 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
320 Let's not break compatibility gratuitously, shall we?
322 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
324 * net/tls.el (tls-starttls-switches): New variable.
325 (tls-find-starttls-argument): Use it.
326 (open-tls-stream): Ditto.
328 * net/netrc.el (netrc-credentials): Return the value of the "default"
330 (netrc-machine): Ditto.
332 2010-09-30 Eli Zaretskii <eliz@gnu.org>
334 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
336 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
338 * server.el (server-start): Don't write pid to the authentication file.
339 (server-create-tty-frame): Don't send pid.
340 (server-process-filter): Send pid at the start of every connection.
342 2010-09-30 Glenn Morris <rgm@gnu.org>
344 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
345 (show-all-diary-entries): Remove obsolete function aliases.
347 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
348 Remove options, obsolete since 22.1.
349 (appt-display-format, appt-display-message): Remove
350 backwards-compatibility code.
351 (appt-check): No longer check appt-issue-message.
352 (appt-make-list): No longer autoload it. Doc fix. No longer
353 activate the package.
355 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
357 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
358 (starttls-negotiate): Just call boot, and let the handshake be
359 triggered from the read loop.
361 2010-09-29 Glenn Morris <rgm@gnu.org>
363 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
364 not displaying the diary.
365 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
366 * calendar/appt.el (appt-check): No longer need to kill diary.
368 * calendar/diary-lib.el (diary-list-entries): Move the
369 "Preparing..." message entirely here.
370 (diary-simple-display, diary-fancy-display): Move "Preparing..."
371 messages to diary-list-entries.
372 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
373 diary-display-function.
375 * calendar/diary-lib.el (diary-include-other-diary-files):
376 Trap some recursive includes.
378 * calendar/appt.el (appt-activate): Check diary file.
380 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
382 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
385 * calendar/time-date.el: No need to require cl for Emacs 21.
387 2010-09-28 Glenn Morris <rgm@gnu.org>
389 * calendar/appt.el (appt-check): Minor simplification.
391 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
393 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
396 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
398 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
399 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
401 2010-09-27 Kenichi Handa <handa@m17n.org>
403 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
406 2010-09-27 Kenichi Handa <handa@m17n.org>
408 * international/mule.el (define-coding-system): Docstring fixed.
410 * international/mule-diag.el (describe-character-set): Use princ
411 with proper print-length and print-level instead of insert.
413 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
415 * window.el (walk-windows): Doc fix (bug#7105).
417 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
419 * emacs-lisp/float-sup.el (e): Remove.
421 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
423 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
425 (starttls-negotiate): Use it.
427 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
429 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
432 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
434 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
436 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
438 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
440 * net/netrc.el (netrc-store-data): New function.
442 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
444 * net/gnutls.el: GnuTLS glue code to set up a connection.
446 2010-09-25 Julien Danjou <julien@danjou.info>
448 * notifications.el: Call dbus-register-signal only if it is bound.
450 2010-09-25 Glenn Morris <rgm@gnu.org>
452 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
453 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
454 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
455 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
456 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
457 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
458 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
459 * eshell/esh-util.el, eshell/esh-var.el:
460 Remove leading `*' from docs of faces and defcustoms.
462 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
464 * eshell/em-ls.el (eshell-ls-archive-regexp):
465 * eshell/esh-util.el (eshell-tar-regexp):
466 * ibuffer.el (ibuffer-compressed-file-name-regexp):
467 * info.el (Info-suffix-list):
468 * international/mule.el (auto-coding-alist):
469 * woman.el (woman-file-regexp, woman-file-compression-regexp):
470 * progmodes/etags.el (tags-compression-info-list):
471 Support xz compression.
473 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
475 * files.el (get-free-disk-space): Don't assume the "df" output
476 columns line up (Bug#6995).
478 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
480 * finder.el (finder-unknown-keywords):
481 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
482 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
484 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
486 * server.el (server-start): Revert part of 2010-08-08 change. Using
487 address 127.0.0.1 for local host is now done in Fmake_network_process.
489 2010-09-24 Glenn Morris <rgm@gnu.org>
491 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
492 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
493 * textmodes/css-mode.el, textmodes/dns-mode.el:
494 Move autoloaded auto-mode-alist entries to files.el.
495 * files.el (auto-mode-alist): Move entries here.
497 2010-09-23 Glenn Morris <rgm@gnu.org>
499 * isearch.el (isearch-lazy-highlight-cleanup)
500 (isearch-lazy-highlight-initial-delay)
501 (isearch-lazy-highlight-interval)
502 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
503 * net/net-utils.el (ipconfig-program-options):
504 Move aliases to options before the associated definitions.
506 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
508 * newcomment.el (comment-normalize-vars): Better test validity of
511 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
513 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
514 (float-e): New name for `e'.
515 (degrees-to-radians, radians-to-degrees):
516 * calendar/solar.el (solar-longitude):
517 * calculator.el (calculator-registers, calculator-funcall):
518 * textmodes/artist.el (artist-spray-random-points):
519 * play/bubbles.el (bubbles--initialize-images): Use new names.
521 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
523 Update to CEDET 1.0's version of EIEIO.
525 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
527 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
528 (eieio-default-eval-maybe): Eval val instead of unquoting only.
529 (class-precedence-list): If class is nil, return nil.
530 (eieio-generic-call): If class of first input arg is nil, don't
531 look up static methods, and do check for primary methods.
532 (initialize-instance): See if the default needs to be evaluated
533 during the constructor.
534 (eieio-perform-slot-validation-for-default): Don't do the check
535 for values that will eventually be evaluated.
536 (eieio-eval-default-p): New function.
537 (eieio-default-eval-maybe): Use it.
539 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
541 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
542 method-invocation-order.
543 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
544 (eieio-class-precedence-dfs): Compute class precedence list using
546 (eieio-class-precedence-bfs): Compute class precedence list using
548 (eieio-class-precedence-c3): Compute class precedence list using
550 (class-precedence-list): New function.
551 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
552 (inconsistent-class-hierarchy): New error symbol.
553 (call-next-method): Stow the replacement argument list for future
554 call-next-method invocations.
556 2010-09-23 Glenn Morris <rgm@gnu.org>
558 * calendar/appt.el (appt-check): If not displaying the diary,
559 use (diary 1) to only get the entries we need.
560 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
561 that it is in day order. (Bug#7019)
563 * calendar/appt.el (appt-check): Rather than showing the diary,
564 just turn off invisible display, and only if needed.
566 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
568 2010-09-23 Glenn Morris <rgm@gnu.org>
570 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
571 (byte-compile-defvar, byte-compile-cl-warn):
572 Start warnings with lower-case, like the majority.
574 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
576 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
578 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
579 * files.el (auto-mode-alist): Move ld-script entries here, further down
582 * vc/add-log.el: Don't require timezone when compiling.
583 (timezone-make-date-sortable): Autoload it.
584 (change-log-sortable-date-at): Don't require timezone.
587 * comint.el (comint-use-prompt-regexp-instead-of-fields):
588 Move alias before definition, so it does not need autoloading.
590 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
591 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
592 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
593 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
594 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
595 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
596 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
597 * textmodes/tex-mode.el, textmodes/two-column.el:
598 Remove leading `*' from docs of defcustoms etc.
600 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
602 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
604 2010-09-22 Dan Christensen <jdc@uwo.ca>
606 * calendar/time-date.el (date-to-time): Try using parse-time-string
607 first before using the slower timezone-make-date-arpa-standard.
609 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
611 * calendar/time-date.el (format-seconds): Comment fix.
613 2010-09-22 Glenn Morris <rgm@gnu.org>
615 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
616 is not automatically buffer-local.
618 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
620 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
621 (smie-indent-comment): Be more careful with comment-start-skip.
622 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
623 (smie-indent-functions): Use them.
625 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
627 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
629 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
631 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
632 tool-bar-position. Don't modify frame parameters here.
633 (menu-bar-options-save): Add tool-bar-position.
635 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
637 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
639 * textmodes/reftex-parse.el (reftex-what-macro)
640 (reftex-context-substring): Let-bind forward-sexp-function to nil
641 since we don't need/want to treat \begin...\end as a block (bug#7053).
643 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
645 * simple.el (blink-matching-open): Use syntax-class.
647 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
648 Set invisibility spec for pascal's outline mode.
649 (pascal-outline-change): Clean up calling convention.
650 (pascal-show-all, pascal-hide-other-defuns): Update callers.
652 * progmodes/prolog.el (prolog-smie-forward-token)
653 (prolog-smie-backward-token): New functions.
654 (prolog-mode-variables): Use them to parse "!," correctly.
655 Set up smie-blink-matching for ".".
657 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
659 (ispell-region, ispell-process-line): Update users.
661 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
664 * textmodes/ispell.el: Fix commenting convention.
665 (ispell-parse-output): Simplify, use push.
666 (ispell-region): Use match-string-no-properties.
667 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
668 (ispell-minor-mode): Use define-minor-mode.
669 (ispell-message): Remove unused var `skip-regexp'.
670 (ispell-add-per-file-word-list): Use dynamic let-binding.
671 Try and use the proper comment marker.
673 * mail/sendmail.el: Fix commenting convention.
674 (sendmail-send-it): Use line-beginning-position.
676 * help-fns.el (describe-variable): Add original value, if applicable.
678 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
680 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
682 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
684 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
686 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
687 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
688 (smie-prec2-levels): Use them to better diagnose precedence cycles.
689 (smie-blink-matching-check): Don't signal a mismatch if car is t.
690 (smie-blink-matching-open): Rewrite to remove assumptions, so that
691 something like "." can also be a closer.
692 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
693 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
694 Rename internal functions to use "--". Update callers.
696 * frame.el (make-frame-names-alist): Don't list frames on other displays.
698 * fringe.el (fringe-styles): New var.
699 (fringe-mode, fringe-query-style): Use it.
701 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
703 * progmodes/sql.el: Version 2.8
704 (sql-login-params): Update widget structure; changes still needed.
705 (sql-product-alist): Add :list-all and :list-table features for
706 SQLite, Postgres and MySQL products.
707 (sql-redirect): Handle default value.
708 (sql-execute, sql-execute-feature): New functions.
709 (sql-read-table-name): New function.
710 (sql-list-all, sql-list-table): New functions. User API.
711 (sql-mode-map, sql-interactive-mode-map): Add key definitions
713 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
715 (sql-postgres-login-params): Add user and database defaults.
716 (sql-buffer-live-p): Bug fix.
717 (sql-product-history): New variable.
718 (sql-read-product): New function. Use it.
719 (sql-set-product, sql-product-interactive): Use it.
720 (sql-connection-history): New variable.
721 (sql-read-connection): New function. Use it.
722 (sql-connect): New function.
723 (sql-for-each-login): Redesign function interface.
724 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
725 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
726 (sql-comint): Check for program. Existing live buffer.
727 (sql-comint-postgres): Add port parameter.
729 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
731 * emacs-lisp/warnings.el: Fix commenting convention.
732 (display-warning): Use special mode and make the buffer read-only.
734 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
736 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
737 empty string when it follows a repeated or optional pattern.
739 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
741 * indent.el (indent-according-to-mode): Apply syntax-propertize.
742 (indent-region): Use indent-according-to-mode.
744 2010-09-18 Eli Zaretskii <eliz@gnu.org>
746 * fringe.el (fringe-mode): Doc fix.
748 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
750 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
751 refreshing the preview buffer.
753 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
755 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
756 (latex-syntax-propertize-rules): New consts; replace
757 tex-font-lock-syntactic-keywords.
758 (tex-env-mark, latex-env-before-change): New functions.
759 (latex-electric-env-pair-mode): New minor mode.
760 (tex-font-lock-verb): Change arguments; do move point.
761 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
762 representation as a form of comment.
763 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
764 (doctex-syntax-propertize-rules): New const; replaces
765 doctex-font-lock-syntactic-keywords.
766 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
768 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
769 (fortran-make-syntax-propertize-function): New function; replaces
770 fortran-font-lock-syntactic-keywords.
771 (fortran-mode): Use it.
772 (fortran-line-length): Use it. Improve interactive spec.
774 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
775 (syntax-propertize-rules): Add var-ref case. Fix offset computation
776 when adding surrounding \(..\).
778 * progmodes/js.el (js-mode): Fix last change (bug#7054).
780 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
782 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
783 Use with-current-buffer.
785 * isearch.el (isearch-face): Rename from `isearch'.
786 (isearch-highlight): Use new name.
788 2010-09-17 Eli Zaretskii <eliz@gnu.org>
790 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
791 5, for `half' width fringes. (Bug#6933)
793 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
795 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
796 (byte-compile-defvar): "foo/bar" does not lack a prefix.
798 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
800 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
802 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
803 in calculating new frame position. Add more space between new and
804 parent on the left (Bug#7048).
806 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
808 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
811 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
813 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
815 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
816 obsolete alias for x-selection-value.
818 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
820 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
822 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
825 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
827 * net/tramp-compat.el (tramp-compat-with-temp-message)
828 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
829 (tramp-compat-process-put): New defuns.
831 * net/tramp.el (top):
832 * net/tramp-gvfs.el (top):
833 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
835 * net/tramp.el (tramp-progress-reporter-update):
836 Use `tramp-compat-funcall'.
838 * net/tramp.el (tramp-process-actions):
839 * net/tramp-gvfs.el (tramp-handle-vc-registered):
840 * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
841 (tramp-get-remote-stat, tramp-get-remote-readlink):
842 Use `tramp-compat-with-temp-message'.
844 * net/tramp-sh.el (top): Require 'cl.
845 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
846 (tramp-open-connection-setup-interactive-shell):
847 Use `tramp-compat-process-put'.
849 2010-09-15 Alan Mackenzie <acm@muc.de>
851 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
853 (c-forward-<>-arglist-recur): Fix an infinite recursion.
855 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
857 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
858 `lexical' for warnings related to lexical scoping.
859 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
860 global vars which don't have a prefix and could hence affect lexical
861 scoping in unrelated files.
863 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
865 * net/imap.el: Revert back to version
866 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
869 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
871 * obsolete/old-whitespace.el (whitespace-unload-function):
872 Explicitly pass `obarray' to `unintern' to avoid a warning.
874 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
876 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
877 Add `when' argument. Update callers.
879 * subr.el (unintern): Declare the obarray arg mandatory.
881 2010-09-14 Glenn Morris <rgm@gnu.org>
883 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
886 * calendar/diary-lib.el (diary-included-files): New variable.
887 (diary-list-entries): Maybe initialize diary-included-files.
888 (diary-include-other-diary-files): Append to diary-included-files.
889 * calendar/appt.el (appt-update-list): Also check the members of
890 diary-included-files. (Bug#6999)
891 (appt-check): Doc fix.
893 2010-09-14 David Reitter <david.reitter@gmail.com>
895 * simple.el (line-move-visual): Do not truncate goal column to
896 integer size. (Bug#7020)
898 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
900 * repeat.el (repeat): Allow repeating when the last event is a click.
901 Suggested by Drew Adams (bug#6256).
903 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
905 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
906 Replace setting HGRCPATH to "" by some less invasive --config options.
908 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
910 * font-lock.el (font-lock-beginning-of-syntax-function):
913 2010-09-14 Glenn Morris <rgm@gnu.org>
915 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
916 and tool-bar modes. (Bug#6211)
917 (menu-bar-mode): Move setting of standard-value after the
918 minor-mode definition, otherwise it seems to have no effect.
920 2010-09-14 Masatake YAMATO <yamato@redhat.com>
922 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
925 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
927 * whitespace.el: Allow cleaning up blanks without blank
928 visualization (Bug#6651). Adjust help window for
929 whitespace-toggle-options (Bug#6479). Allow to use fill-column
930 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
931 (whitespace-style): Add new value 'face. Adjust docstring.
932 (whitespace-space, whitespace-hspace, whitespace-tab):
933 Adjust foreground property face.
934 (whitespace-line-column): Adjust docstring and type declaration.
935 (whitespace-style-value-list, whitespace-toggle-option-alist)
936 (whitespace-help-text): Adjust const initialization.
937 (whitespace-toggle-options, global-whitespace-toggle-options):
939 (whitespace-display-window, whitespace-interactive-char)
940 (whitespace-style-face-p, whitespace-color-on): Adjust code.
941 (whitespace-help-scroll): New fun.
943 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
945 * calendar/time-date.el (format-seconds): Comment fix.
947 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
949 * progmodes/sql.el: Version 2.7.
950 (sql-buffer-live-p): Improve detection.
951 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
952 (sql-set-sqli-buffer): Use it.
953 (sql-product-interactive): Run `sql-set-sqli-hook'.
954 (sql-rename-buffer): Code cleanup.
955 (sql-redirect, sql-redirect-value): New functions. More to come.
957 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
959 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.
960 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
961 (TRAMP_SRC): New macro.
962 ($(lisp)/net/tramp-loaddefs.el): New target.
964 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
966 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
968 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
970 * net/tramp.el (top): Don't show loading message. Require just
971 'tramp-compat, everything else is required there.
972 Use `ignore-errors' where appropriate.
973 (tramp-inline-compress-start-size, tramp-copy-size-limit)
974 (tramp-terminal-type, tramp-end-of-output)
975 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
976 (tramp-completion-function-alist-ssh)
977 (tramp-completion-function-alist-telnet)
978 (tramp-completion-function-alist-su)
979 (tramp-completion-function-alist-putty, tramp-remote-path)
980 (tramp-remote-process-environment, tramp-sh-extra-args)
981 (tramp-actions-before-shell, tramp-uudecode)
982 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
983 (tramp-perl-file-attributes)
984 (tramp-perl-directory-files-and-attributes)
985 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
986 (tramp-perl-encode, tramp-perl-decode)
987 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
988 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
989 (tramp-handle-make-symbolic-link, tramp-handle-load)
990 (tramp-handle-file-name-as-directory)
991 (tramp-handle-file-name-directory)
992 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
993 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
994 (tramp-do-file-attributes-with-ls)
995 (tramp-do-file-attributes-with-perl)
996 (tramp-do-file-attributes-with-stat)
997 (tramp-handle-set-visited-file-modtime)
998 (tramp-handle-verify-visited-file-modtime)
999 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
1000 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
1001 (tramp-handle-file-selinux-context)
1002 (tramp-handle-set-file-selinux-context)
1003 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
1004 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
1005 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
1006 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
1007 (tramp-handle-file-ownership-preserved-p)
1008 (tramp-handle-directory-file-name, tramp-handle-directory-files)
1009 (tramp-handle-directory-files-and-attributes)
1010 (tramp-do-directory-files-and-attributes-with-perl)
1011 (tramp-do-directory-files-and-attributes-with-stat)
1012 (tramp-handle-file-name-all-completions)
1013 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
1014 (tramp-handle-copy-file, tramp-handle-copy-directory)
1015 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
1016 (tramp-do-copy-or-rename-file-via-buffer)
1017 (tramp-do-copy-or-rename-file-directly)
1018 (tramp-do-copy-or-rename-file-out-of-band)
1019 (tramp-handle-make-directory, tramp-handle-delete-directory)
1020 (tramp-handle-delete-file)
1021 (tramp-handle-dired-recursive-delete-directory)
1022 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
1023 (tramp-handle-insert-directory)
1024 (tramp-handle-unhandled-file-name-directory)
1025 (tramp-handle-expand-file-name)
1026 (tramp-handle-substitute-in-file-name)
1027 (tramp-handle-executable-find, tramp-process-sentinel)
1028 (tramp-handle-start-file-process, tramp-handle-process-file)
1029 (tramp-handle-call-process-region, tramp-handle-shell-command)
1030 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
1031 (tramp-handle-insert-file-contents)
1032 (tramp-handle-insert-file-contents-literally)
1033 (tramp-handle-find-backup-file-name)
1034 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
1035 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
1036 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
1037 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
1038 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
1039 (tramp-find-file-exists-command, tramp-open-shell)
1040 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
1041 (tramp-open-connection-setup-interactive-shell)
1042 (tramp-local-coding-commands, tramp-remote-coding-commands)
1043 (tramp-find-inline-encoding, tramp-call-local-coding-command)
1044 (tramp-inline-compress-commands, tramp-find-inline-compress)
1045 (tramp-compute-multi-hops, tramp-maybe-open-connection)
1046 (tramp-send-command, tramp-wait-for-output)
1047 (tramp-send-command-and-check, tramp-barf-unless-okay)
1048 (tramp-send-command-and-read, tramp-mode-string-to-int)
1049 (tramp-convert-file-attributes, tramp-check-cached-permissions)
1050 (tramp-file-mode-from-int, tramp-file-mode-permissions)
1051 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
1052 (tramp-method-out-of-band-p, tramp-local-host-p)
1053 (tramp-get-remote-path, tramp-get-remote-tmpdir)
1054 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
1055 (tramp-get-test-command, tramp-get-test-nt-command)
1056 (tramp-get-file-exists-command, tramp-get-remote-ln)
1057 (tramp-get-remote-perl, tramp-get-remote-stat)
1058 (tramp-get-remote-readlink, tramp-get-remote-trash)
1059 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
1060 (tramp-get-local-uid, tramp-get-local-gid)
1061 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
1063 (tramp-methods, tramp-default-method-alist)
1064 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
1065 Move initialization to tramp-sh.el.
1066 (tramp-temp-name-prefix): Make it a defconst.
1067 (tramp-dissect-file-name): Don't check anymore for multi-hop
1069 (tramp-debug-outline-regexp): Add a docstring.
1070 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
1071 (tramp-get-debug-buffer): Use it.
1073 * net/tramp-cache.el (top): Set tramp-autoload cookie for
1074 initialization forms.
1075 (tramp-set-connection-property): Don't protect `tramp-message'
1076 call, it isn't necessary any longer.
1077 (tramp-dump-connection-properties): Use `ignore-errors'.
1079 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
1080 'password-cache and 'auth-source.
1082 * net/tramp-gvfs.el (top):
1083 * net/tramp-smb.el (top): Require 'tramp-sh.
1085 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
1087 * net/tramp-sh.el: New file, derived from tramp.el.
1088 (top): Initialize `tramp-methods', `tramp-default-method-alist',
1089 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
1090 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
1091 Use `ignore-errors' where appropriate.
1092 (tramp-sh-file-name-handler-alist): Rename from
1093 `tramp-file-name-handler-alist'.
1094 (tramp-send-command-and-check): Return t or nil. Remove all
1095 `zerop' checks, where called.
1096 (tramp-handle-set-file-modes)
1097 (tramp-do-copy-or-rename-file-directly)
1098 (tramp-handle-delete-directory, tramp-handle-delete-file)
1099 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
1100 (tramp-sh-file-name-handler, tramp-send-command-and-check)
1101 (tramp-get-remote-ln): Set tramp-autoload cookie.
1103 * net/tramp-fish.el: Remove file.
1105 2010-09-13 Daiki Ueno <ueno@unixuser.org>
1107 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
1108 buffer-file-name to avoid file-locking. (Bug#7026)
1110 2010-09-13 Julien Danjou <julien@danjou.info>
1112 * notifications.el (notifications-notify): Add support for
1113 image-path and sound-name.
1114 (notifications-specification-version): Add this variable.
1116 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1118 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
1120 2010-09-12 Leo <sdl.web@gmail.com>
1122 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
1123 (rcirc-completion-start): New variables.
1124 (rcirc-nick-completions): Rename to rcirc-completions.
1125 (rcirc-nick-completion-start-offset): Delete.
1126 (rcirc-completion-at-point): New function for constructing
1127 completion data for both nicks and irc commands. Add to
1128 completion-at-point-functions in rcirc mode.
1129 (rcirc-complete): Rename from rcirc-nick-complete; use
1130 rcirc-completion-at-point.
1131 (defun-rcirc-command): Update rcirc-client-commands.
1133 2010-09-11 Glenn Morris <rgm@gnu.org>
1135 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
1136 atomically, to avoid parallel build errors. (Bug#4196)
1138 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
1140 * progmodes/sql.el: Version 2.6
1141 (sql-dialect): Synonym for "sql-product".
1142 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1143 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
1144 Set "sql-buffer" to buffer name not buffer object so multiple sql
1145 interactive buffers work properly. Reverts misguided changes in
1147 (sql-comint): Make sure different buffer name is used if "*SQL*"
1148 buffer is for a different product.
1149 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
1151 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
1152 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
1153 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
1154 Accept new buffer name or prompt for one.
1155 (sql-port): Default to zero.
1156 (sql-comint-mysql): Handle "sql-port" as a numeric.
1157 (sql-port-history): Delete unused variable.
1158 (sql-get-login): Default "sql-port" to a number.
1159 (sql-product-alist): Correct Postgres prompt and terminator regexp.
1160 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
1161 "sqlite3" executables.
1162 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
1163 (sql-buffer-live-p): New function.
1164 (sql-mode-menu, sql-send-string): Use it.
1165 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
1167 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
1168 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
1170 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1172 * net/netrc.el (netrc-credentials): New convenience function.
1174 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1176 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
1177 to replace texinfo-font-lock-syntactic-keywords.
1178 (texinfo-mode): Use it.
1180 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
1181 Use syntax-propertize-function.
1183 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
1184 replace sgml-font-lock-syntactic-keywords.
1185 (sgml-mode): Use it.
1187 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
1188 since we don't use it.
1190 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
1192 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
1194 (vhdl-fontify-buffer): Adjust.
1196 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
1197 replace tcl-font-lock-syntactic-keywords.
1200 * progmodes/simula.el (simula-syntax-propertize-function): New var to
1201 replace simula-font-lock-syntactic-keywords.
1202 (simula-mode): Use it.
1204 * progmodes/sh-script.el (sh-st-symbol): Remove.
1205 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
1206 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
1207 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
1208 (sh-font-lock-paren): Set syntax-multiline.
1209 (sh-font-lock-syntactic-keywords): Remove.
1210 (sh-syntax-propertize-function): New function to replace it.
1213 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1214 Define while compiling.
1215 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1216 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
1217 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
1218 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1219 (ruby-here-doc-end-syntax): Only define when
1220 syntax-propertize is not available.
1221 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
1223 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
1224 (electric-indent-chars): Silence bytecompiler.
1225 (ruby-mode): Use prog-mode, syntax-propertize-function, and
1226 electric-indent-chars.
1228 * progmodes/python.el (python-syntax-propertize-function): New var to
1229 replace python-font-lock-syntactic-keywords.
1230 (python-mode): Use it.
1231 (python-quote-syntax): Simplify and adjust to new use.
1233 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
1234 replace perl-font-lock-syntactic-keywords.
1235 (perl-syntax-propertize-special-constructs): New fun to replace
1236 perl-font-lock-special-syntactic-constructs.
1237 (perl-font-lock-syntactic-face-function): New fun.
1238 (perl-mode): Use it.
1240 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
1241 to replace octave-font-lock-close-quotes.
1242 (octave-syntax-propertize-function): New function to replace
1243 octave-font-lock-syntactic-keywords.
1244 (octave-mode): Use it.
1246 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
1247 replaces mixal-font-lock-syntactic-keywords.
1248 (mixal-mode): Use it.
1250 * progmodes/make-mode.el (makefile-syntax-propertize-function):
1251 New var; replaces makefile-font-lock-syntactic-keywords.
1252 (makefile-mode): Use it.
1253 (makefile-imake-mode): Adjust.
1255 * progmodes/js.el (js--regexp-literal): Define while compiling.
1256 (js-syntax-propertize-function): New var; replaces
1257 js-font-lock-syntactic-keywords.
1260 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
1261 replaces gdb-script-font-lock-syntactic-keywords.
1262 (gdb-script-mode): Use it.
1264 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
1265 (fortran--font-lock-syntactic-keywords): New var.
1266 (fortran-line-length): Update syntax-propertize-function and
1267 fortran--font-lock-syntactic-keywords.
1269 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
1271 * progmodes/cfengine.el (cfengine-mode):
1272 Use syntax-propertize-function.
1273 (cfengine-font-lock-syntactic-keywords): Remove.
1275 * progmodes/autoconf.el (autoconf-mode):
1276 Use syntax-propertize-function.
1277 (autoconf-font-lock-syntactic-keywords): Remove.
1279 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
1280 (ada-after-change-function, ada-initialize-syntax-table-properties)
1281 (ada-handle-syntax-table-properties): Only define when
1282 syntax-propertize is not available.
1283 (ada-mode): Use syntax-propertize-function.
1285 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
1286 (font-lock-fontify-syntactic-keywords-region): Move handling of
1287 font-lock-syntactically-fontified to...
1288 (font-lock-default-fontify-region): ...here.
1289 Let syntax-propertize-function take precedence.
1290 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
1292 * emacs-lisp/syntax.el (syntax-propertize-function)
1293 (syntax-propertize-chunk-size, syntax-propertize--done)
1294 (syntax-propertize-extend-region-functions): New vars.
1295 (syntax-propertize-wholelines, syntax-propertize-multiline)
1296 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
1297 (syntax-propertize): New functions.
1298 (syntax-propertize-rules): New macro.
1299 (syntax-ppss-flush-cache): Set syntax-propertize--done.
1300 (syntax-ppss): Call syntax-propertize.
1302 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
1304 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
1306 * textmodes/ispell.el (ispell-init-process): Improve comments.
1307 XEmacs compatibility changes regarding (add-hook) 'local option
1308 and (set-process-query-on-exit-flag).
1310 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
1312 * net/tramp-cache.el (tramp-parse-connection-properties):
1313 Set tramp-autoload cookie.
1315 2010-09-09 Glenn Morris <rgm@gnu.org>
1317 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
1318 (imagemagick-register-types): Doc fix.
1320 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1322 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
1324 * progmodes/js.el (require): Require is already "eval-and-compile".
1325 (js--re-search-forward): Avoid `eval'. Preserve the error data.
1326 (js--re-search-backward): Use js--re-search-forward.
1328 * progmodes/fortran.el (fortran-line-length): Don't recompute
1329 syntactic keywords redundantly a second time.
1331 * progmodes/ada-mode.el: Replace "(set '" with setq.
1332 (ada-mode): Simplify.
1333 (ada-create-case-exception, ada-adjust-case-interactive)
1334 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
1335 (ada-search-ignore-string-comment, ada-move-to-start)
1336 (ada-move-to-end): Use with-syntax-table.
1338 * font-lock.el (save-buffer-state): Remove `varlist' arg.
1339 (font-lock-unfontify-region, font-lock-default-fontify-region):
1340 Update usage correspondingly.
1341 (font-lock-fontify-syntactic-keywords-region):
1342 Set parse-sexp-lookup-properties buffer-locally here.
1343 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
1345 * simple.el (blink-matching-open): Don't burp if we can't find a match.
1347 2010-09-08 Glenn Morris <rgm@gnu.org>
1349 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
1350 Error if not compiled with -DBYTE_CODE_METER.
1352 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1353 Ignore dir-locals-file.
1355 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1359 (compilation-error-regexp-alist-alist): Rule out ": " in file names
1360 for the `gnu' messages.
1361 (compilation-set-skip-threshold): New command.
1362 (compilation-start): Use \' rather than $.
1363 (compilation-forget-errors): Use clrhash.
1365 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
1367 * textmodes/ispell.el (ispell-valid-dictionary-list):
1370 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
1372 Migrate to Tramp 2.2. Rearrange load dependencies.
1373 (Bug#1529, Bug#5448, Bug#5705)
1375 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
1376 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
1377 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
1379 * net/tramp.el (top): Remove all other tramp-* loads except
1380 tramp-compat.el. Remove all changes to tramp-unload-hook for
1381 other tramp-* packages. Rearrange defun order. Change calls of
1382 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
1383 `tramp-compat-octal-to-decimal' to new function names.
1384 (tramp-terminal-type, tramp-initial-end-of-output)
1385 (tramp-methods, tramp-foreign-file-name-handler-alist)
1386 (tramp-tramp-file-p, tramp-completion-mode-p)
1387 (tramp-send-command-and-check, tramp-get-remote-path)
1388 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
1389 (tramp-shell-quote-argument): Set tramp-autoload cookie.
1390 (with-file-property, with-connection-property): Move to
1392 (tramp-local-call-process, tramp-decimal-to-octal)
1393 (tramp-octal-to-decimal): Move to tramp-compat.el.
1394 (tramp-handle-shell-command): Do not require 'shell.
1395 (tramp-compute-multi-hops): No special handling for tramp-gw-*
1397 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
1399 * net/tramp-cache.el (top): Require 'tramp. Add to
1400 `tramp-unload-hook'.
1401 (tramp-cache-data, tramp-get-file-property)
1402 (tramp-set-file-property, tramp-flush-file-property)
1403 (tramp-flush-directory-property, tramp-get-connection-property)
1404 (tramp-set-connection-property, tramp-flush-connection-property)
1405 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
1407 (with-file-property, with-connection-property): New defuns, moved
1409 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
1412 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
1413 (tramp-version): Set tramp-autoload cookie.
1415 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
1416 changes to tramp-unload-hook for other tramp-* packages. Add to
1417 `tramp-unload-hook'.
1418 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
1419 (tramp-compat-call-process): New defuns, moved from tramp.el.
1421 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
1422 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1423 to `tramp-unload-hook'. Change call of
1424 `tramp-compat-decimal-to-octal' to new function name.
1425 (tramp-fish-method): Make it a defconst.
1426 (tramp-fish-file-name-p): Make it a defsubst.
1427 (tramp-fish-method, tramp-fish-file-name-handler)
1428 (tramp-fish-file-name-p): Set tramp-autoload cookie.
1430 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
1431 `tramp-foreign-file-name-handler-alist'. Add to
1432 `tramp-unload-hook'.
1433 (tramp-ftp-method): Make it a defconst.
1434 (tramp-ftp-file-name-p): Make it a defsubst.
1435 (tramp-ftp-method, tramp-ftp-file-name-handler)
1436 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
1438 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
1439 `tramp-foreign-file-name-handler-alist'. Add to
1440 `tramp-unload-hook'. Change checks, whether package can be
1442 (tramp-gvfs-file-name-p): Make it a defsubst.
1443 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
1444 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
1445 (tramp-gvfs-handle-file-directory-p): New defun.
1446 (tramp-gvfs-file-name-handler-alist): Use it.
1448 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
1449 `tramp-foreign-file-name-handler-alist'. Add to
1450 `tramp-unload-hook'.
1451 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
1452 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
1454 (tramp-gw-tunnel-method, tramp-gw-socks-method)
1455 (tramp-gw-open-connection): Set tramp-autoload cookie.
1457 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
1458 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1459 to `tramp-unload-hook'. Change checks, whether package can be
1461 (tramp-imap-file-name-p): Make it a defsubst.
1462 (tramp-imap-method, tramp-imaps-method)
1463 (tramp-imap-file-name-handler)
1464 (tramp-imap-file-name-p): Set tramp-autoload cookie.
1466 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
1467 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
1468 to `tramp-unload-hook'. Change checks, whether package can be
1469 loaded. Change call of `tramp-compat-decimal-to-octal' to new
1471 (tramp-smb-tunnel-method): Make it a defconst.
1472 (tramp-smb-file-name-p): Make it a defsubst.
1473 (tramp-smb-method, tramp-smb-file-name-handler)
1474 (tramp-smb-file-name-p): Set tramp-autoload cookie.
1476 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
1477 (tramp-uuencode-region): Set tramp-autoload cookie.
1479 * net/trampver.el (top) Add to `tramp-unload-hook'.
1480 (tramp-version, tramp-bug-report-address): Set tramp-autoload
1481 cookie. Update release number.
1483 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
1485 * textmodes/ispell.el (ispell-start-process): Make sure original
1486 arg list is properly initialized (Bug#6993, Bug#6994).
1488 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1490 * files.el (directory-abbrev-alist): Use \` as default regexp.
1492 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
1493 chars like - or ] (bug#6984).
1494 (rx-any-condense-range): Explode 2-char ranges.
1496 2010-09-06 Glenn Morris <rgm@gnu.org>
1498 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
1500 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1502 * textmodes/bibtex.el:
1503 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
1505 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1507 * net/imap.el (imap-message-map): Remove optional buffer parameter,
1508 since no callers use it.
1509 (imap-message-get): Ditto.
1510 (imap-message-put): Ditto.
1511 (imap-mailbox-map): Ditto.
1512 (imap-mailbox-put): Ditto.
1513 (imap-mailbox-get): Ditto.
1514 (imap-mailbox-get): Revert last change for this function.
1516 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1518 * net/imap.el (imap-fetch-safe): Remove function, and alter all
1519 callers to use `imap-fetch' instead. According to the comments, this
1520 should be safe, since all other IMAP clients use the 1:* syntax.
1521 (imap-enable-exchange-bug-workaround): Remove.
1522 (imap-debug): Remove -- doesn't seem very useful.
1524 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1526 * net/imap.el (imap-log): New convenience function used throughout
1527 instead of repeating the same code all over the place.
1529 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
1531 * mouse.el (mouse-save-then-kill): Save region to kill-ring
1532 when mouse-drag-copy-region is non-nil (Bug#6956).
1534 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
1536 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
1537 Improve regexps (Bug#6987).
1538 (dired-sort-toggle): Search more robustly for -t flag.
1540 * files.el (get-free-disk-space): Search more robustly for
1541 "available" column. Suggested by Ehud Karni
1542 <ehud@unix.mvs.co.il>.
1544 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
1546 * international/uni-bidi.el:
1547 * international/uni-category.el:
1548 * international/uni-combining.el:
1549 * international/uni-decimal.el:
1550 * international/uni-mirrored.el:
1551 * international/uni-name.el: Regenerate.
1553 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * electric.el (electric-indent-post-self-insert-function):
1556 Don't reindent with a sloppy indentation function.
1558 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
1559 border case in change-log-mode.
1561 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
1563 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1564 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
1565 Recognize leading tab in gcc-include regexp. Ignore names with
1566 leading "from" or "in" in gnu regexp (Bug#6937).
1568 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1570 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
1571 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
1572 (ispell-start-process): Avoid setq and simplify logic.
1573 (ispell-init-process): Setup kill-buffer-hook locally when needed.
1574 (kill-buffer-hook): Don't use it globally with code that uses
1575 expand-file-name since that may call kill-buffer via
1576 code_conversion_restore.
1578 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
1580 * emacs-lisp/package.el (package-directory-list): Only call
1581 file-name-nondirectory on a string.
1583 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1585 * emacs-lisp/package.el (package--download-one-archive):
1586 Ensure that archive-contents is valid before saving it.
1587 (package-activate-1, package-mark-obsolete, define-package)
1588 (package-compute-transaction, package-list-maybe-add): Use push.
1590 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1592 Use SMIE's blink-paren for octave-mode.
1593 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
1594 Backslashes do not escape single-quotes, single-quotes do.
1595 (octave-block-else-regexp, octave-block-end-regexp)
1596 (octave-block-match-alist): Remove.
1597 (octave-smie-bnf-table): New var, with old content.
1598 (octave-smie-op-levels): Use it.
1599 (octave-smie-closer-alist): New var.
1600 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
1601 (octave-blink-matching-block-open): Remove.
1602 (octave-reindent-then-newline-and-indent, octave-electric-semi)
1603 (octave-electric-space): Let self-insert-command run expand-abbrev and
1606 * electric.el (electricity): New group.
1607 (electric-indent-chars): New var.
1608 (electric-indent-post-self-insert-function): New fun.
1609 (electric-indent-mode): New minor mode.
1610 (electric-pair-skip-self): New custom.
1611 (electric-pair-post-self-insert-function): New function.
1612 (electric-pair-mode): New minor mode.
1614 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
1615 calcAlg-blink-matching-open.
1616 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
1617 (calc-do-alg-entry): Only touch the part of the keymap that varies.
1618 Use the new blink-matching-check-function.
1620 Provide blink-matching support to SMIE.
1621 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
1622 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
1623 (smie-blink-matching-check, smie-blink-matching-open): New functions.
1625 * simple.el (newline): Fix last change to properly remove itself from
1628 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * simple.el (newline): Eliminate optimization.
1631 Use post-self-insert-hook to set hard-newline and things before
1632 running post-self-insert-hook.
1633 (blink-matching-check-mismatch): New function.
1634 (blink-matching-check-function): New variable.
1635 (blink-matching-open): Use them.
1636 Skip back forward over prefix chars skipped by forward-sexp.
1637 Don't check if the parens are backslash escaped.
1638 (blink-paren-post-self-insert-function): Check backslash escaping here.
1640 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
1642 * emacs-lisp/package.el (package-menu-mode-map):
1643 Change package-menu-revert bindings to revert-buffer.
1644 (package-menu-mode): Set revert-buffer-function.
1645 (package-menu-revert): Doc fix.
1647 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
1649 * textmodes/ispell.el (ispell-init-process): Use "~/" as
1650 `default-directory' unless using Ispell per-directory personal
1651 dictionaries and not in a mini-buffer under XEmacs.
1652 (kill-buffer-hook): Do not kill ispell process on exit when
1653 `ispell-process-directory' is "~/". (Bug#6143)
1655 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
1657 * simple.el (kill-new): Call interprogram-cut-function with only
1660 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
1661 Remove cut buffer from error message.
1663 * term/x-win.el (x-select-text):
1664 * term/pc-win.el (x-selection-value):
1665 * term/ns-win.el (x-selection-value):
1666 * eshell/em-term.el:
1667 * w32-fns.el (x-get-selection-value):
1668 * mouse-sel.el (mouse-sel-set-selection-function):
1669 * frame.el (display-selections-p): Remove cut-buffer in documentation.
1671 * term/x-win.el: Update documentation for x-last-selected-text-*.
1672 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
1673 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
1674 (x-select-text): Remove argument PUSH, update documentation. Remove
1676 (x-selection-value-internal): Was previously x-selection-value.
1677 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
1678 Update documentation, remove cut-buffer code. Call
1679 x-selection-value-internal.
1680 (x-clipboard-yank): Call x-selection-value-internal.
1681 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
1683 * term/pc-win.el (x-last-selected-text):
1684 x-cut-buffer-or-selection-value renamed to x-selection-value
1685 (x-select-text): Remove argument PUSH, update documentation.
1687 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
1688 x-cut-buffer-or-selection-value renamed to x-selection-value
1689 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
1690 (x-select-text): Remove argument PUSH, update documentation.
1692 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
1694 * w32-fns.el (x-last-selected-text):
1695 x-cut-buffer-or-selection-value renamed to x-selection-value.
1696 (x-cut-buffer-max): Remove.
1697 (x-select-text): Remove argument PUSH, update documentation.
1699 * simple.el (interprogram-cut-function): Remove mention of PUSH.
1701 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
1703 * mouse-sel.el (mouse-sel-get-selection-function):
1704 x-cut-buffer-or-selection-value renamed to x-selection-value.
1705 (x-select-text): Remove optional push.
1707 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * simple.el (blink-paren-function): Move from C to here.
1710 (blink-paren-post-self-insert-function): New function.
1711 (post-self-insert-hook): Use it.
1713 * emacs-lisp/pcase.el (pcase-split-memq):
1714 Fix overenthusiastic optimisation.
1715 (pcase-u1): Handle the case of a lambda pred.
1717 2010-08-31 Kenichi Handa <handa@m17n.org>
1719 * international/mule-cmds.el (standard-display-european-internal):
1720 Setup standard-display-table for 8-bit characters by storing 8-bit
1721 characters in the element vector.
1723 * disp-table.el (standard-display-8bit):
1724 Setup standard-display-table for 8-bit characters by storing 8-bit
1725 characters in the element vector.
1726 (standard-display-european): Likewise.
1728 2010-08-31 Masatake YAMATO <yamato@redhat.com>
1730 * textmodes/nroff-mode.el (nroff-view): New command.
1731 (nroff-mode-map): Bind it to C-c C-c.
1733 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1735 * emacs-lisp/smie.el (smie-down-list): New command.
1737 Remove old indentation and navigation code on octave-mode.
1738 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
1739 smie-down-list rather than add a binding for octave-down-block.
1740 (octave-mark-block, octave-blink-matching-block-open):
1741 Rely on forward-sexp-function.
1742 (octave-fill-paragraph): Don't narrow, so you can use
1743 indent-according-to-mode.
1744 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
1745 (octave-in-block-p, octave-re-search-forward-kw)
1746 (octave-re-search-backward-kw, octave-indent-calculate)
1747 (octave-end-as-array-index-p, octave-block-end-offset)
1748 (octave-scan-blocks, octave-forward-block, octave-backward-block)
1749 (octave-down-block, octave-backward-up-block, octave-up-block)
1750 (octave-before-magic-comment-p, octave-indent-line): Remove.
1752 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
1754 * emacs-lisp/package.el (package--read-archive-file): Just use
1755 `read', to avoid copying an additional string.
1756 (package-menu-mode): Set header-line-format here.
1757 (package-menu-refresh, package-menu-revert): Signal an error if
1758 not in the Package Menu.
1759 (package-menu-package-list): New var.
1760 (package--generate-package-list): Operate on the current buffer;
1761 don't assume that it is *Packages*, since the user may rename it.
1762 Allow persistent package listings and sort keys using
1763 package-menu-package-list and package-menu-package-sort-key.
1764 (package-menu--version-predicate): Fix version calculation.
1765 (package-menu-sort-by-column): Don't select the window.
1766 (package--list-packages): Create the *Packages* buffer.
1767 Set package-menu-package-list-key.
1768 (list-packages): Sorting by status is now the default.
1769 (package-buffer-info): Use match-string-no-properties.
1770 (define-package): Add a &rest argument for future proofing, but
1772 (package-install-from-buffer, package-install-buffer-internal):
1773 Merge into a single function, package-install-from-buffer.
1774 (package-install-file): Change caller.
1776 * finder.el: Load finder-inf using `require'.
1777 (finder-list-matches): Sorting by status is now the default.
1778 (finder-compile-keywords): Simpify printing.
1780 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1783 (octave-mode-map): Remove special bindings for forward/backward-block
1784 and octave-backward-up-block. Use smie-close-block.
1785 (octave-continuation-marker-regexp): New var.
1786 (octave-continuation-regexp): Use it.
1787 (octave-operator-table, octave-smie-op-levels)
1788 (octave-operator-regexp, octave-smie-indent-rules): New vars.
1789 (octave-smie-backward-token, octave-smie-forward-token): New funs.
1790 (octave-mode): Use SMIE.
1791 (octave-close-block): Delete.
1793 2010-08-30 Eli Zaretskii <eliz@gnu.org>
1795 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
1796 CLIPBOARD, not in PRIMARY. (Bug#6944)
1798 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1800 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
1802 (smie-indent-column): Allow indirection through variables.
1804 * composite.el (save-buffer-state): Delete, unused.
1805 * font-lock.el (save-buffer-state): Use with-silent-modifications.
1806 (font-lock-default-fontify-region): Use with-syntax-table.
1807 * jit-lock.el (with-buffer-unmodified): Remove.
1808 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
1810 Use `declare' in defmacros.
1811 * window.el (save-selected-window):
1812 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
1813 * progmodes/python.el (def-python-skeleton):
1814 * net/dbus.el (dbus-ignore-errors):
1815 * jka-cmpr-hook.el (with-auto-compression-mode):
1816 * international/mule.el (with-category-table):
1817 * emacs-lisp/timer.el (with-timeout):
1818 * emacs-lisp/lisp-mnt.el (lm-with-file):
1819 * emacs-lisp/eieio.el (with-slots):
1820 * emacs-lisp/easymenu.el (easy-menu-define):
1821 * emacs-lisp/debug.el (debugger-env-macro):
1822 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
1823 (Multiple-value-call, Multiple-value-prog1):
1824 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
1825 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
1826 edebug rule to definition.
1827 * emacs-lisp/lisp-mode.el (save-selected-window)
1828 (with-current-buffer, combine-after-change-calls)
1829 (with-output-to-string, with-temp-file, with-temp-buffer)
1830 (with-temp-message, with-syntax-table, read-if, eval-after-load)
1831 (dolist, dotimes, when, unless):
1832 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
1834 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1836 * finder.el: Require `package'.
1837 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
1838 (finder-package-info): Var deleted.
1839 (finder-keywords-hash, finder--builtins-alist): New vars.
1840 (finder-compile-keywords): Compute package--builtins and
1841 finder-keywords-hash instead of finder-keywords-hash, respecting
1842 the "Package" header.
1843 (finder-unknown-keywords, finder-list-matches):
1844 Use finder-keywords-hash and package--list-packages.
1845 (finder-mode): Don't set font-lock-defaults.
1846 (finder-exit): We don't use "*Finder-package*" and "*Finder
1847 Category*" buffers anymore.
1849 * emacs-lisp/package.el (package--builtins-base): Var deleted.
1850 (package--builtins): Set default value to nil.
1851 (package-initialize): Load precomputed value of package--builtins
1853 (package-alist, package-compute-transaction)
1854 (package-download-transaction): Improve docstring.
1855 (package-read-all-archive-contents): Do not change
1856 package--builtins here.
1857 (list-packages): Make package-list-packages an alias for this.
1858 Sort by status by default.
1859 (package--list-packages): Add optional PACKAGES arg.
1860 (describe-package-1): Use font-lock-face property. For built-in
1861 packages, insert file commentary.
1862 (package--generate-package-list): Rename from
1863 package-list-packages-internal; all callers changed. Add optional
1864 PACKAGES arg. Add alphabetical sort fallbacks.
1865 (package-menu--version-predicate, package-menu--status-predicate)
1866 (package-menu--description-predicate)
1867 (package-menu--name-predicate): New functions.
1869 * info.el (Info-finder-find-node): Search package-alist instead of
1870 finder-package-info.
1872 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1874 * subr.el (version-regexp-alist): Don't use "a" and "b" for
1876 (version-to-list): Handle versions like "10.3d".
1878 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1880 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1881 (macroexp-accumulate): Use `declare'.
1883 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1885 * whitespace.el (whitespace-style): Adjust type declaration.
1887 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
1889 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1890 empty argument to gvfs-copy.
1892 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1894 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1895 handle new TRASH arg of `delete-file'.
1897 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
1899 * net/tramp.el (tramp-handle-insert-directory): Don't use
1900 `forward-word', its default syntax could be changed.
1902 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1903 Michael Albinus <michael.albinus@gmx.de>
1905 Implement compression for inline methods.
1907 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1908 (tramp-copy-size-limit): Allow also nil.
1909 (tramp-inline-compress-commands): New defconst.
1910 (tramp-find-inline-compress, tramp-get-inline-compress)
1911 (tramp-get-inline-coding): New defuns.
1912 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1913 replaced by `tramp-get-inline-coding'.
1914 (tramp-handle-file-local-copy, tramp-handle-write-region)
1915 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1917 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
1919 Detect ssh 'ControlMaster' argument automatically in some cases.
1921 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1922 (tramp-default-method): Use it.
1924 2010-08-26 Karel Klíč <kklic@redhat.com>
1926 * net/tramp.el (tramp-file-name-for-operation):
1927 Add file-selinux-context.
1929 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
1931 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1933 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1935 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1938 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
1940 * progmodes/js.el: Make indentation more customizable (Bug#6914).
1941 (js-paren-indent-offset, js-square-indent-offset)
1942 (js-curly-indent-offset): New options.
1943 (js--proper-indentation): Use them.
1945 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
1947 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1948 instead of inspecting font-lock properties (Bug#6916).
1950 2010-08-26 David Reitter <david.reitter@gmail.com>
1952 * server.el (server-visit-files): Run pre-command-hook and
1953 post-command-hook for each buffer while it is current (Bug#6910).
1954 (server-execute): Do not run hooks here.
1956 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
1958 Sync with Tramp 2.1.19.
1960 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1961 (tramp-reporter-dump-variable, tramp-load-report-modules)
1962 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1963 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1965 * net/tramp-compat.el (top): Do not autoload
1966 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
1967 only when `start-file-process' is not bound.
1968 (byte-compile-not-obsolete-vars): Define if not bound.
1969 (tramp-compat-funcall): New defmacro.
1970 (tramp-compat-line-beginning-position)
1971 (tramp-compat-line-end-position)
1972 (tramp-compat-temporary-file-directory)
1973 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1974 (tramp-compat-copy-file, tramp-compat-copy-directory)
1975 (tramp-compat-delete-file, tramp-compat-delete-directory)
1976 (tramp-compat-number-sequence, tramp-compat-process-running-p):
1978 (tramp-advice-file-expand-wildcards): Do not use
1979 `tramp-handle-file-remote-p'.
1980 (tramp-compat-make-temp-file): Simplify fallback implementation.
1981 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1982 (tramp-compat-copy-tree): Remove function.
1983 (tramp-compat-delete-file): New defun.
1984 (tramp-compat-delete-directory): Provide implementation for older
1986 (tramp-compat-file-attributes): Handle only
1987 `wrong-number-of-arguments' error.
1989 * net/tramp-fish.el (tramp-fish-handle-copy-file):
1990 Add PRESERVE_SELINUX_CONTEXT.
1991 (tramp-fish-handle-delete-file): Add TRASH arg.
1992 (tramp-fish-handle-directory-files-and-attributes):
1993 Do not use `tramp-fish-handle-file-attributes.
1994 (tramp-fish-handle-file-local-copy)
1995 (tramp-fish-handle-insert-file-contents)
1996 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1998 * net/tramp-gvfs.el (top): Require url-util.
1999 (tramp-gvfs-mount-point): Remove.
2000 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
2001 and `set-file-selinux-context'.
2002 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
2003 (tramp-gvfs-handle-file-selinux-context)
2004 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
2005 (with-tramp-dbus-call-method): Format trace message.
2006 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
2007 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2008 Implement backup call, when operation on local files fails.
2009 Use progress reporter. Flush properties of changed files.
2010 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
2011 `tramp-compat-delete-file'.
2012 (tramp-gvfs-handle-expand-file-name): Expand "~/".
2013 (tramp-gvfs-handle-make-directory): Make more traces.
2014 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
2015 (tramp-gvfs-url-file-name): Hexify file name in url.
2016 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2017 into account for the resulting file name.
2018 (tramp-gvfs-handler-askquestion): Preserve current message, in
2019 order to let progress reporter continue afterwards. (Bug#6257)
2020 Return dummy mountpoint, when the answer is "no".
2021 See `tramp-gvfs-maybe-open-connection'.
2022 (tramp-gvfs-handler-mounted-unmounted)
2023 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2024 attribute "default_location". Set "prefix" property.
2025 Handle default-location.
2026 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2027 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2028 exists. Raise an error, if not (due to a corresponding answer
2029 "no" in interactive questions, for example).
2030 Use `tramp-compat-funcall'.
2032 * net/tramp-imap.el (top): Autoload `epg-make-context'.
2033 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
2034 (tramp-imap-do-copy-or-rename-file)
2035 (tramp-imap-handle-insert-file-contents)
2036 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
2037 (tramp-imap-handle-delete-file): Add TRASH arg.
2039 * net/tramp-smb.el (tramp-smb-handle-copy-file):
2040 Add PRESERVE-SELINUX-CONTEXT.
2041 (tramp-smb-handle-copy-file)
2042 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
2043 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
2044 Use `with-progress-reporter'.
2045 (tramp-smb-handle-delete-file): Add TRASH arg.
2047 * net/tramp.el (tramp-methods): Move hostname to the end in all
2048 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
2050 (tramp-verbose): Describe verbose level 9.
2051 (tramp-completion-function-alist)
2052 (tramp-file-name-regexp, tramp-chunksize)
2053 (tramp-local-coding-commands, tramp-remote-coding-commands)
2054 (with-connection-property, tramp-completion-mode-p)
2055 (tramp-action-process-alive, tramp-action-out-of-band)
2056 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
2057 (tramp-exists-file-name-handler): Fix docstring.
2058 (tramp-remote-process-environment): Use `format' instead of
2059 `concat'. Protect version string by apostroph.
2060 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2062 (tramp-file-name-regexp-unified)
2063 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2064 not regard the volume letter as remote filename. (Bug#5447)
2065 (tramp-perl-file-attributes)
2066 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2067 (tramp-vc-registered-read-file-names): Read input as
2068 here-document, otherwise the command could exceed maximum length
2070 (tramp-file-name-handler-alist): Add `file-selinux-context' and
2071 `set-file-selinux-context'.
2072 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
2073 backtrace functions.
2074 (tramp-error-with-buffer): Don't show the connection buffer when
2075 we are in completion mode.
2076 (tramp-progress-reporter-update, tramp-remote-selinux-p)
2077 (tramp-handle-file-selinux-context)
2078 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
2079 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
2081 (with-progress-reporter): New defmacro.
2082 (tramp-debug-outline-regexp): New defconst.
2083 (top, tramp-rfn-eshadow-setup-minibuffer)
2084 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
2085 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
2086 (tramp-completion-mode-p, tramp-check-for-regexp)
2087 (tramp-open-connection-setup-interactive-shell)
2088 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
2089 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
2090 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
2091 Use `tramp-compat-funcall'.
2092 (tramp-handle-make-symbolic-link): Flush file properties.
2093 (tramp-handle-load, tramp-handle-file-local-copy)
2094 (tramp-handle-insert-file-contents, tramp-handle-write-region)
2095 (tramp-handle-vc-registered, tramp-maybe-send-script)
2096 (tramp-find-shell): Use `with-progress-reporter'.
2097 (tramp-do-file-attributes-with-stat): Add space in format string,
2098 in order to work around a bug in pdksh. Reported by Gilles Pion
2100 (tramp-handle-verify-visited-file-modtime): Do not send a command
2101 when the connection is not established.
2102 (tramp-handle-set-file-times): Simplify the check for utc.
2103 (tramp-handle-directory-files-and-attributes)
2104 (tramp-get-remote-path): Use `copy-tree'.
2105 (tramp-completion-handle-file-name-all-completions): Ensure, that
2106 non remote files are still checked. Oops.
2107 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
2108 Handle PRESERVE-SELINUX-CONTEXT.
2109 (tramp-do-copy-or-rename-file): Add progress reporter.
2110 (tramp-do-copy-or-rename-file-directly): Do not use
2111 `tramp-handle-file-remote-p'.
2112 (tramp-do-copy-or-rename-file-out-of-band):
2113 Use `tramp-compat-delete-directory'.
2114 (tramp-do-copy-or-rename-file-out-of-band)
2115 (tramp-compute-multi-hops, tramp-maybe-open-connection):
2116 Use `format-spec-make'.
2117 (tramp-handle-delete-file): Add TRASH arg.
2118 (tramp-handle-dired-uncache): Flush directory cache, not only file
2120 (tramp-handle-expand-file-name)
2121 (tramp-completion-handle-file-name-all-completions)
2122 (tramp-completion-handle-file-name-completion):
2123 Use `tramp-connectable-p'.
2124 (tramp-handle-start-file-process): Set connection property "vec".
2125 Use it, in order to invalidate file caches. Check only for
2126 `remote-tty' process property.
2127 Implement tty setting. (Bug#4604, Bug#6360)
2128 (tramp-file-name-for-operation): Add `call-process-region' and
2129 `set-file-selinux-context'.
2130 (tramp-find-foreign-file-name-handler)
2131 (tramp-advice-make-auto-save-file-name)
2132 (tramp-set-auto-save-file-modes): Remove superfluous check for
2133 `stringp'. This is done inside `tramp-tramp-file-p'.
2134 (tramp-file-name-handler): Trace 'quit. Catch the error for some
2135 operations when we are in completion mode. This gives the user
2136 the chance to correct the file name in the minibuffer.
2137 (tramp-completion-mode-p): Use `non-essential'.
2138 (tramp-handle-file-name-all-completions): Backward/ XEmacs
2139 compatibility: Use `completion-ignore-case' if
2140 `read-file-name-completion-ignore-case' does not exist.
2141 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
2142 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2144 (tramp-action-password): Hide password prompt before next run.
2145 (tramp-process-actions): Widen connection buffer for the trace.
2146 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2147 process property. Trace stty settings if `tramp-verbose' >= 9.
2148 Apply workaround for IRIX64 bug. Move argument of last
2149 `tramp-send-command' where it belongs to.
2150 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2151 front of `login-args'.
2152 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
2153 on "/dev/null" instead of "/".
2154 (tramp-get-ls-command-with-dired): Make test for "--dired"
2156 (tramp-set-auto-save-file-modes): Adapt version check.
2157 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2158 (tramp-handle-process-file): Call the program in a subshell, in
2159 order to preserve working directory.
2160 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
2161 `tramp-remote-sh' from `tramp-methods'.
2162 (tramp-get-ls-command): Make test for "--color=never" stronger.
2163 (tramp-check-for-regexp): Use (forward-line 1).
2165 * net/trampver.el: Update release number.
2167 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
2169 * help.el (help-map): Bind `C-h P' to describe-package.
2171 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
2173 * emacs-lisp/package.el (package-refresh-contents): Catch errors
2174 when downloading archives.
2175 (describe-package-1): Add package commentary.
2176 (package-install-button-action): New function.
2177 (package-menu-mode-map): Bind ? to package-menu-describe-package.
2178 (package-menu-view-commentary): Function removed.
2179 (package-list-packages-internal): Hide the `package' package too.
2181 2010-08-25 Kenichi Handa <handa@m17n.org>
2183 * language/misc-lang.el ("Arabic"): New language environment.
2184 Setup composition-function-table for Arabic characters.
2186 * international/fontset.el (setup-default-fontset): Fix typo for
2187 arabic OTF spec (fini->fina).
2189 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
2191 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
2194 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2196 * whitespace.el: Allow cleaning up blanks without blank
2197 visualization (Bug#6651). Adjust help window for
2198 whitespace-toggle-options (Bug#6479). Allow to use fill-column
2199 instead of whitespace-line-column (from EmacsWiki). New version
2201 (whitespace-style): Added new value 'face. Adjust docstring.
2202 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
2203 foreground property face.
2204 (whitespace-line-column): Adjust docstring and type declaration.
2205 (whitespace-style-value-list, whitespace-toggle-option-alist)
2206 (whitespace-help-text): Adjust const initialization.
2207 (whitespace-toggle-options, global-whitespace-toggle-options):
2209 (whitespace-display-window, whitespace-interactive-char)
2210 (whitespace-style-face-p, whitespace-color-on): Adjust code.
2211 (whitespace-help-scroll): New fun.
2213 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2215 * emacs-lisp/package.el (list-packages): Alias for
2216 package-list-packages.
2218 2010-08-24 Kevin Ryde <user42@zip.com.au>
2220 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
2223 * progmodes/ruby-mode.el (ruby): Add defgroup.
2225 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2227 * progmodes/python.el: Add Ipython support (Bug#5390).
2228 (python-shell-prompt-alist)
2229 (python-shell-continuation-prompt-alist): New options.
2230 (python--set-prompt-regexp): New function.
2231 (inferior-python-mode, run-python, python-shell): Require
2232 ansi-color. Use python--set-prompt-regexp to set the comint
2233 prompt based on the Python interpreter.
2234 (python--prompt-regexp): New var.
2235 (python-check-comint-prompt)
2236 (python-comint-output-filter-function): Use it.
2237 (run-python): Use a pipe (Bug#5694).
2239 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
2241 * progmodes/python.el (python-send-region): Send a different
2242 Python command if Ipython is in use.
2243 (python-check-version): Use a Python command to find the version.
2245 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
2247 * mouse.el (mouse-yank-primary): Avoid setting primary when
2248 deactivating the mark (Bug#6872).
2250 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
2252 * progmodes/python.el (python-block-pairs): Allow use of "finally"
2253 with "else" (Bug#3991).
2255 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
2257 * net/dbus.el: Accept UNIX domain sockets as bus address.
2258 (top): Don't initialize `dbus-registered-objects-table' anymore,
2259 this is done in dbusbind,c.
2260 (dbus-check-event): Adapt test for bus.
2261 (dbus-return-values-table, dbus-unregister-service)
2262 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
2265 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
2267 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
2269 2010-08-22 Juri Linkov <juri@jurta.org>
2271 * simple.el (read-extended-command): New function with the logic
2272 for `completing-read' moved to Elisp from `execute-extended-command'.
2273 Use `function-called-at-point' in `minibuffer-default-add-function'
2274 to get a command name for M-n (bug#5364, bug#5214).
2276 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2278 * startup.el (command-line-1): Issue warning for ignored arguments
2279 --unibyte, etc (Bug#6886).
2281 2010-08-22 Leo <sdl.web@gmail.com>
2283 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
2284 (ignore, bright, dim, keyword): Split list of nicknames before
2285 passing to rcirc-add-or-remove (Bug#6894).
2287 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2289 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2291 2010-08-22 Leo <sdl.web@gmail.com>
2293 Fix buffer-list rename&refresh after killing a buffer in ido.
2294 * ido.el: Revert Óscar's.
2295 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
2296 Remember the buffers at head, rather than their name.
2297 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
2299 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
2300 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
2303 extra backslash added to each line (bug#6890).
2305 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * subr.el (read-key): Don't echo keystrokes (bug#6883).
2309 2010-08-22 Glenn Morris <rgm@gnu.org>
2311 * menu-bar.el (menu-bar-games-menu): Add landmark.
2313 2010-08-22 Glenn Morris <rgm@gnu.org>
2315 * align.el (align-regexp): Make group and spacing arguments
2316 use the interactive defaults when non-interactive. (Bug#6698)
2318 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
2319 expansion, so as not to need sendmail.
2320 (mail-text-start): Remove declaration.
2321 (rmail-retry-failure): Require sendmail.
2323 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2325 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
2327 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
2329 * progmodes/flymake.el (flymake-start-syntax-check-process):
2330 Use `start-file-process' in order to let it run also on remote hosts.
2332 2010-08-22 Kenichi Handa <handa@m17n.org>
2334 * files.el: Add `word-wrap' as safe local variable.
2336 2010-08-22 Glenn Morris <rgm@gnu.org>
2338 * woman.el (woman-translate): Case matters. (Bug#6849)
2340 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
2342 * simple.el (kill-region): Doc fix (Bug#6787).
2344 2010-08-22 Glenn Morris <rgm@gnu.org>
2346 * calendar/diary-lib.el (diary-header-line-format):
2347 Fit it to the window, not the frame.
2349 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
2351 * subr.el (ignore-errors): Add debug declaration.
2353 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
2355 * whitespace.el (whitespace-color-off): Remove post-command-hook
2358 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2360 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
2362 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2364 * cus-edit.el (custom-group-value-create): Add extra newline
2365 before end line (Bug#6876).
2367 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
2369 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
2370 when extending it. Before killing on the second click, check if
2371 the buffer is the correct one. Doc fix.
2372 (mouse-secondary-save-then-kill): Allow usage without first
2373 calling mouse-start-secondary, by defaulting to point. Don't save
2374 an empty secondary selection. Doc fix.
2376 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2378 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
2379 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
2381 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
2382 Adjust initialization.
2383 (whitespace-bob-marker, whitespace-eob-marker)
2384 (whitespace-buffer-changed): New vars.
2385 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
2386 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
2387 (whitespace-post-command-hook, whitespace-display-char-on):
2389 (whitespace-looking-back, whitespace-buffer-changed): New funs.
2390 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
2392 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2394 * files.el (locate-file-completion-table): Only list the .el and .elc
2395 extensions if there's no other choice (bug#5955).
2397 * facemenu.el (facemenu-self-insert-data): New var.
2398 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
2400 (facemenu-add-face): Use them.
2402 * simple.el (blink-matching-open): Obey forward-sexp-function.
2404 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * simple.el (prog-mode-map): New var.
2407 (prog-indent-sexp): New command.
2409 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
2411 * progmodes/prolog.el (smie): Require.
2413 * emacs-lisp/smie.el (smie-default-backward-token)
2414 (smie-default-forward-token): Strip properties.
2415 (smie-next-sexp): Be more careful with associative operators.
2416 (smie-forward-sexp-command): Generalize.
2417 (smie-backward-sexp-command): Simplify.
2418 (smie-closer-alist): New var.
2419 (smie-close-block): New command.
2420 (smie-indent-debug-log): New var.
2421 (smie-indent-offset-rule): Add a few more cases.
2422 (smie-indent-column): New function.
2423 (smie-indent-after-keyword): Use it.
2424 (smie-indent-keyword): Use it.
2425 Fix up the opener code's point position.
2426 (smie-indent-comment): Only applies at BOL.
2427 (smie-indent-debug): New command.
2429 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
2430 declarations that are useful before running the macro.
2432 2010-08-18 Joakim Verona <joakim@verona.se>
2434 * image.el (imagemagick-types-inhibit): New variable.
2435 (imagemagick-register-types): New function.
2436 * image-mode.el (image-transform-properties): New function.
2437 (image-transform-set-scale, image-transform-fit-to-height)
2438 (image-transform-set-rotation, image-transform-set-resize)
2439 (image-transform-fit-to-width, image-transform-fit-to-height):
2441 (image-toggle-display-image): Support image transforms.
2443 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
2445 * image.el (create-animated-image): Don't add heuristic mask to image
2448 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
2450 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
2451 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
2453 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
2455 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
2457 Font-lock '...' strings, plus various simplifications and fixes.
2458 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
2459 (octave-font-lock-close-quotes): New function.
2460 (octave-font-lock-syntactic-keywords): New var.
2461 (octave-mode): Use it. Set beginning-of-defun-function.
2462 (octave-mode-map): Don't override the <foo>-defun commands.
2463 (octave-mode-menu): Pass it directly to easy-menu-define;
2464 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
2465 (octave-block-match-alist): Fix up last change so that
2466 octave-close-block uses the more specific keyword.
2467 (info-lookup-mode): Silence byte-compiler.
2468 (octave-beginning-of-defun): Not interactive any more.
2470 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
2471 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
2472 (octave-completion-at-point-function): Make sure point is within
2474 (octave-reindent-then-newline-and-indent):
2475 Use reindent-then-newline-and-indent.
2476 (octave-add-octave-menu): Remove.
2478 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
2480 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
2481 (report-emacs-bug-can-use-xdg-email): New functions.
2482 (report-emacs-bug): Set can-xdg-email to result of
2483 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
2484 \C-cm to report-emacs-bug-insert-to-mailer and add help text
2487 * net/browse-url.el (browse-url-default-browser): Add cond
2488 for browse-url-xdg-open.
2489 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
2491 2010-08-17 Glenn Morris <rgm@gnu.org>
2493 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
2494 (c-fontify-recorded-types-and-refs): Define for compiler.
2495 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
2498 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
2501 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
2503 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
2505 (tramp-handle-process-file): Call the program in a subshell, in
2506 order to preserve working directory.
2507 (tramp-action-password): Hide password prompt before next run.
2508 (tramp-process-actions): Widen connection buffer for the trace.
2510 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2512 * net/rcirc.el (rcirc-log-process-buffers): New option.
2513 (rcirc-print): Use it.
2514 (rcirc-generate-log-filename): New function.
2515 (rcirc-log-filename-function): Change default to
2516 rcirc-generate-log-filename (Bug#6828).
2518 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
2520 * simple.el (deactivate-mark): If select-active-regions is `only',
2521 only set selection for temporarily active regions.
2523 * cus-start.el: Change defcustom for select-active-regions.
2525 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2527 * mouse.el (mouse--drag-set-mark-and-point): New function.
2528 (mouse-drag-track): Use LOCATION arg to push-mark.
2529 Use mouse--drag-set-mark-and-point to take click-count into
2530 consideration when updating point and mark (Bug#6840).
2532 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
2534 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2535 Give the Ruby rule a lower priority than Gnu (Bug#6778).
2537 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
2539 * font-lock.el (lisp-font-lock-keywords-2):
2540 Add combine-after-change-calls, condition-case-no-debug,
2541 with-demoted-errors, and with-silent-modifications (Bug#6025).
2543 2010-08-14 Kevin Ryde <user42@zip.com.au>
2545 * emacs-lisp/copyright.el (copyright-update-year)
2546 (copyright-update): Temporary switch-to-buffer to ensure the
2547 buffer change being queried is visible (Bug#5394).
2549 2010-08-14 Tom Tromey <tromey@redhat.com>
2551 * progmodes/etags.el (tags-file-name): Mark safe if stringp
2554 2010-08-14 Eli Zaretskii <eliz@gnu.org>
2556 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
2559 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
2561 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
2562 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2563 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2564 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
2565 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
2566 Call menu-bar-set-tool-bar-position.
2568 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2570 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
2571 comment style (bug#6834).
2572 * progmodes/scheme.el (scheme-mode-syntax-table):
2573 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
2574 "b" flag in "' 14b" syntax.
2576 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
2577 for (un)commenting the region and performing completion.
2578 (octave-mode-menu): Use standard commands for help and completion.
2579 (octave-mode-syntax-table): Support %{..%} comments (sort of).
2580 (octave-mode): Use define-derived-mode.
2581 Set completion-at-point-functions and don't set columns.
2582 Don't disable adaptive-fill-regexp.
2583 (octave-describe-major-mode, octave-comment-region)
2584 (octave-uncomment-region, octave-comment-indent)
2585 (octave-indent-for-comment): Remove.
2586 (octave-indent-calculate): Rename from calculate-octave-indent.
2587 (octave-indent-line, octave-fill-paragraph): Update caller.
2588 (octave-initialize-completions): No need to make an alist.
2589 (octave-completion-at-point-function): New function.
2590 (octave-complete-symbol): Use it.
2591 (octave-insert-defun): Use define-skeleton.
2593 * progmodes/octave-mod.el (octave-mode): Set comment-add.
2594 (octave-mode-map): Use comment-dwim (bug#6829).
2596 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
2598 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
2599 indentation of inserted comment.
2601 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
2603 * faces.el (region): Add type gtk that uses gtk colors.
2605 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2606 Handle theme-name change.
2608 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
2610 * progmodes/sql.el: Version 2.5
2611 (sql-product-alist): Add :prompt-cont-regexp property for several
2613 (sql-prompt-cont-regexp): New variable.
2614 (sql-output-newline-count, sql-output-by-send):
2615 New variables. Record number of newlines in input text.
2616 (sql-send-string): Handle multiple filters and count newlines.
2617 (sql-send-magic-terminator): Count terminator newline.
2618 (sql-interactive-remove-continuation-prompt): Filters output to
2619 remove continuation prompts; one for each newline.
2620 (sql-interactive-mode): Set up new variables, prompt regexp and
2622 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
2623 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
2625 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2627 * emacs-lisp/pcase.el: New file.
2629 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
2631 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
2632 as here-document, otherwise the command could exceed maximum
2633 length of command line.
2634 (tramp-handle-vc-registered): Call script accordingly.
2635 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
2637 2010-08-10 Kenichi Handa <handa@m17n.org>
2639 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
2642 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
2644 * emacs-lisp/package.el (package-version-split)
2645 (package--version-first-nonzero, package-version-compare):
2647 (package-directory-list, package-load-all-descriptors)
2648 (package--built-in, package-activate, define-package)
2649 (package-installed-p, package-compute-transaction)
2650 (package-read-all-archive-contents)
2651 (package--add-to-archive-contents, package-buffer-info)
2652 (package-tar-file-info, package-list-packages-internal):
2653 Use version-to-list and version-list-*.
2655 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2656 Use version-to-list.
2657 (package-upload-buffer-internal): Use version-list-<=.
2659 2010-08-09 Kenichi Handa <handa@m17n.org>
2661 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
2664 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
2666 * tutorial.el (tutorial--default-keys): C-d is now bound to
2667 delete-forward-char (Bug#6826).
2669 * mouse.el (mouse-drag-track): Remove accidentally-removed check
2670 for `double' value of mouse-1-click-follows-link (Bug#6807).
2672 2010-08-08 Johan Bockgård <bojohan@gnu.org>
2674 * replace.el (replace-highlight): Bind isearch-forward and
2675 isearch-error, ensuring that highlighting is updated if the user
2676 switches the search direction (Bug#6808).
2678 * isearch.el (isearch-lazy-highlight-forward): New var.
2679 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
2680 (isearch-lazy-highlight-update): Use it.
2682 2010-08-08 Kenichi Handa <handa@m17n.org>
2684 * international/mule.el (define-charset): Store NAME as :base property.
2685 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
2686 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
2687 current priority. Force using the designation of the specific
2688 charset by adding `charset' text property. Improve the whole algorithm.
2690 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2692 * emulation/pc-select.el (pc-selection-mode-hook)
2693 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
2694 (pc-selection-mode): Fix typos in docstrings.
2696 2010-08-08 Kenichi Handa <handa@m17n.org>
2698 * language/cyrillic.el: Don't add "microsoft-cp1251" to
2699 ctext-non-standard-encodings-alist here.
2701 * international/mule.el (ctext-non-standard-encodings-alist):
2702 Add "koi8-r" and "microsoft-cp1251".
2703 (ctext-standard-encodings): New variable.
2704 (ctext-non-standard-encodings-table): List only elements for
2705 non-standard encodings.
2706 (ctext-pre-write-conversion): Adjust for the above change.
2707 Check ctext-standard-encodings.
2709 * international/mule-conf.el (compound-text): Doc fix.
2710 (ctext-no-compositions): Doc fix.
2711 (compound-text-with-extensions): Doc fix.
2713 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
2717 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2719 * progmodes/which-func.el (which-func-format): Split help-echo text
2720 into lines, like other mode-line tooltips.
2722 * server.el (server-start): When using TCP sockets, force IPv4
2723 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
2725 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
2729 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2731 * term.el (term-delimiter-argument-list): Reflow docstring.
2732 (term-read-input-ring, term-write-input-ring, term-send-input)
2733 (term-bol, term-erase-in-display, serial-supported-or-barf):
2734 Fix typos in docstrings.
2736 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2738 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
2740 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2742 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
2744 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
2746 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
2747 Fix typo in docstring (bug#6747).
2749 2010-08-08 Leo <sdl.web@gmail.com>
2751 * eshell/esh-io.el (eshell-get-target): Better detection of
2752 read-only file (Bug#6762).
2754 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
2756 * align.el (align-default-spacing): Doc fix.
2757 (align-region-heuristic, align-regexp): Fix typos in docstrings.
2759 2010-08-08 Stephen Peters <speters@itasoftware.com>
2761 * calendar/icalendar.el
2762 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
2763 (icalendar--get-weekday-numbers): New.
2764 (icalendar--convert-recurring-to-diary): Handle multiple byday
2765 values in weekly rules. (Bug#6766)
2767 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
2769 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
2770 (icalendar--create-uid, icalendar-export-region)
2771 (icalendar--parse-summary-and-rest): Code formatting.
2773 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2775 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
2776 to italicize headers.
2777 (calc-highlight-selections-with-faces): New variable.
2778 (calc-selected-face, calc-nonselected-face): New faces.
2780 * calc/calccomp.el (math-comp-highlight-string): Use
2781 `calc-highlight-selections-with-faces' to determine how to highlight
2784 * calc/calc-sel.el (calc-show-selections): Change message to when
2785 using faces to highlight selections.
2787 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
2789 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
2790 Add SQLite 3 keywords, functions and datatypes.
2791 (sql-interactive-mode): Remove `comint-process-echoes' set to t
2794 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
2796 * simple.el (select-active-regions): Move to keyboard.c.
2797 (deactivate-mark): Used saved-region-selection.
2798 (select-active-region): Function removed.
2799 (activate-mark, set-mark, push-mark-command)
2800 (handle-shift-selection): Don't call it.
2801 (keyboard-quit): Avoid adding the region to the window selection.
2803 * mouse.el (mouse-drag-track): Remove hacks to deal with old
2804 select-active-regions implementation.
2805 (mouse-yank-at-click): Doc fix.
2807 * cus-start.el: Add custom declaration for select-active-regions.
2809 2010-08-07 Eli Zaretskii <eliz@gnu.org>
2811 * simple.el (delete-forward-char): Doc fix.
2813 * tutorial.el (help-with-tutorial): Hack safe file-local variables
2814 after reading the tutorial.
2816 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
2818 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
2819 for the case that a C style comment has its delimiters alone on
2820 their respective lines.
2822 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
2824 * net/tramp.el (tramp-handle-start-file-process): Set connection
2826 (tramp-process-sentinel): Use it for flushing the cache. We
2827 cannot do it via the process buffer, the buffer could be deleted
2828 already when running the sentinel.
2830 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
2832 * comint.el (comint-mode): Make directory tracking functions
2833 functional on remote files. (Bug#6764)
2835 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
2837 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2839 2010-08-05 Eli Zaretskii <eliz@gnu.org>
2841 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
2842 unexec.c => unexcoff.c.
2844 * emacs-lisp/authors.el (authors-fixed-entries): Rename
2845 unexec.c => unexcoff.c.
2847 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
2849 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
2850 cache, not only file cache.
2851 (tramp-process-sentinel): New defun.
2852 (tramp-handle-start-file-process): Use it, in order to invalidate
2855 2010-08-03 Leo <sdl.web@gmail.com>
2857 * server.el (server-start): Simplify loop.
2859 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * frame.el (screen-height, screen-width, set-screen-width)
2862 (set-screen-height): Remove ancient compatibility aliases.
2864 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
2865 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
2867 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
2868 that change current buffer.
2870 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2872 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2873 beginning of the string. Use `string-match-p'. (Bug#6765)
2875 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
2877 * cus-start.el (x-gtk-use-system-tooltips): New variable.
2879 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
2881 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2882 (package--builtins): Tweak descriptions.
2883 (package-print-package): Upcase descriptions if necessary.
2884 Show all built-in packages in font-lock-builtin-face.
2885 (package-list-packages-internal): Omit "emacs" package.
2886 Show status of built-in packages as "built-in".
2888 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
2890 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
2891 before killing to preserve the primary selection (Bug#6701).
2893 * term/x-win.el (x-select-text): Doc fix.
2895 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
2897 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2898 The following functions were modified or created:
2900 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2901 (objc-font-lock-extra-types):
2902 * progmodes/cc-mode.el (c-basic-common-init):
2903 * progmodes/cc-langs.el (c-make-mode-syntax-table)
2904 (c++-make-template-syntax-table)
2905 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2906 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2907 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2908 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2909 * progmodes/cc-fonts.el (c-make-inverse-face)
2910 (c-basic-matchers-after):
2911 * progmodes/cc-engine.el (c-forward-keyword-clause)
2912 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2913 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2914 (c-guess-continued-construct, c-guess-basic-syntax):
2916 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
2918 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2920 2010-07-31 Eli Zaretskii <eliz@gnu.org>
2922 * files.el (bidi-paragraph-direction): Define safe local values.
2924 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2925 language-info-alist. Remove outdated FIXME in a comment.
2927 2010-07-31 Alan Mackenzie <acm@muc.de>
2929 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2930 Auto-fill broken in C/C++ modes.
2932 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
2934 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2935 (menu-bar-showhide-tool-bar-menu-customize-disable)
2936 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2937 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2938 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2939 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2940 make a menu for Options => toolbar that can move it.
2942 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
2944 * emacs-lisp/package-x.el (package--make-rss-entry):
2945 (package-maint-add-news-item, package--update-news)
2946 (package-upload-buffer-internal): New arg ARCHIVE-URL.
2948 * emacs-lisp/package.el (package-archive-url): Rename from
2950 (package-install): Doc fix.
2951 (package-download-single, package-download-tar, package-install)
2952 (package-menu-view-commentary): Callers changed.
2954 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
2956 * net/tramp.el (tramp-handle-start-file-process): Check only for
2957 `remote-tty' process property.
2958 (tramp-open-shell): Don't check for tty.
2959 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2962 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2965 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
2967 * emacs-lisp/package.el (package-load-list, package-archives)
2968 (package-archive-contents, package-user-dir)
2969 (package-directory-list, package--builtins, package-alist)
2970 (package-activated-list, package-obsolete-alist): Mark as risky.
2972 2010-07-28 Phil Hagelberg <phil@evri.com>
2974 Add support for non-default package repositories.
2975 * emacs-lisp/package.el (package-archive-base): Var deleted.
2976 (package-archives): New variable.
2977 (package-archive-contents): Doc fix.
2978 (package-load-descriptor): Do nothing if descriptor file is missing.
2979 (package--write-file-no-coding): New function.
2980 (package-unpack-single): Use it.
2981 (package-archive-id): New function.
2982 (package-download-single, package-download-tar)
2983 (package-menu-view-commentary): Use it.
2984 (package-installed-p): Make second argument optional.
2985 (package-read-all-archive-contents): New function.
2986 (package-initialize): Use it.
2987 (package-read-archive-contents): Add ARCHIVE argument.
2988 (package--add-to-archive-contents): New function.
2989 (package-install): Don't call package-read-archive-contents.
2990 (package--download-one-archive): Store archive file in a
2991 subdirectory of package-user-dir.
2992 (package-menu-execute): Remove spurious line movement.
2994 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
2996 * cus-start.el (tool-bar-style): Add text-image-horiz.
2998 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3000 * progmodes/gud.el (gud-common-init): Check for remoteness of
3001 `file', and not of `default-directory'.
3003 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
3005 * net/tramp.el (tramp-methods): Move hostname to the end in all
3006 ssh `tramp-login-args'.
3007 (tramp-verbose): Describe verbose level 9.
3008 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
3009 (tramp-open-connection-setup-interactive-shell): Trace stty
3010 settings if `tramp-verbose' >= 9.
3011 (tramp-handle-start-file-process): Implement tty setting.
3012 (Bug#4604, Bug#6360)
3014 * net/tramp-cmds.el (tramp-bug): Recommend setting of
3015 `tramp-verbose' to 9.
3017 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
3019 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
3020 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
3021 Remove references to package `lisp-re' (bug#4369).
3023 2010-07-27 Tom Tromey <tromey@redhat.com>
3025 * progmodes/js.el (js-mode):
3026 * progmodes/make-mode.el (makefile-mode):
3027 * progmodes/simula.el (simula-mode):
3028 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
3030 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
3032 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
3034 * time.el (display-time-day-and-date): Remove spurious * in docstring.
3035 (display-time-world-buffer-name, display-time-world-mode-map):
3036 Fix typos in docstrings.
3038 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
3040 * image-mode.el (image-display-size): New function.
3041 (image-forward-hscroll, image-next-line, image-eol, image-eob)
3042 (image-mode-fit-frame): Use it (Bug#6639).
3044 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
3046 * dired.el (dired-buffers-for-dir): Handle list values of
3047 dired-directory (Bug#6636).
3049 2010-07-26 Sam Steingold <sds@gnu.org>
3051 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
3052 Do not call `x-get-selection' the second time, reuse the value.
3054 2010-07-26 Daiki Ueno <ueno@unixuser.org>
3056 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
3057 which consist of control chars only. Suggested by Richard Stallman.
3059 2010-07-25 Daiki Ueno <ueno@unixuser.org>
3061 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
3062 exists before passing an error to find-file-not-found-functions
3065 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
3067 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
3068 Remove leading nil element, adjust values.
3069 (tetris-shapes, tetris-shape-scores):
3070 Change representation of shapes and remove some redundancy.
3071 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
3072 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
3073 Adjust for working with new representation of shapes.
3074 (tetris-shape-rotations): New function.
3075 (tetris-move-bottom, tetris-move-left, tetris-move-right)
3076 (tetris-rotate-prev, tetris-rotate-next):
3077 Adjust for working with the new version of tetris-test-shape.
3079 2010-07-23 Markus Triska <markus.triska@gmx.at>
3081 * progmodes/ps-mode.el: Use comint (bug#5954).
3082 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
3083 (ps-mode-other-newline): Simplify.
3084 (ps-run-mode): Derive from comint-mode instead of
3085 fundamental-mode, yielding input history etc.
3086 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
3087 (ps-run-send-string): Adapt for comint-mode.
3088 (ps-run-newline): Remove now unneeded function.
3090 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3092 * net/tramp.el (tramp-methods): Move hostname to the end in all
3093 plink `tramp-login-args'.
3095 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3097 * net/tramp.el (tramp-open-shell): New defun.
3098 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3101 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
3103 * net/tramp.el (tramp-file-name-regexp-unified)
3104 (tramp-completion-file-name-regexp-unified): On W32 systems, do
3105 not regard the volume letter as remote filename. (Bug#5447)
3107 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
3109 * custom.el (custom-declare-variable): Give a clearer error message
3110 when the docstring is missing (bug#6476).
3112 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
3114 * progmodes/sql.el: Version 2.4. Improved Login prompting.
3115 (sql-login-params): New widget definition.
3116 (sql-oracle-login-params, sql-mysql-login-params)
3117 (sql-solid-login-params, sql-sybase-login-params)
3118 (sql-informix-login-params, sql-ingres-login-params)
3119 (sql-ms-login-params, sql-postgres-login-params)
3120 (sql-interbase-login-params, sql-db2-login-params)
3121 (sql-linter-login-params): Use it.
3122 (sql-sqlite-login-params): Use it; Define "database" parameter as
3124 (sql-sqlite-program): Change to "sqlite3".
3125 (sql-comint-sqlite): Make sure database name is complete.
3126 (sql-for-each-login): New function.
3127 (sql-connect, sql-save-connection): Use it.
3128 (sql-get-login-ext): New function.
3129 (sql-get-login): Use it.
3130 (sql-make-alternate-buffer-name): Handle :file parameters.
3132 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
3134 * dired.el (dired-no-confirm): Document value t and fix defcustom to
3135 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
3137 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
3139 * dired.el (dired-mode-map): Use command remapping (bug#6632).
3141 2010-07-22 Lawrence Mitchell <wence@gmx.li>
3143 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
3145 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
3147 * net/tramp.el (tramp-get-ls-command)
3148 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
3151 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
3153 * progmodes/sql.el: Version 2.3.
3154 (sql-connection-alist): Changed keys from symbols to strings;
3155 enhanced the widget definition.
3156 (sql-mode-menu): Added submenu to select connections.
3157 (sql-interactive-mode-menu): Added "Save Connection" item.
3158 (sql-add-product): Fixed menu item.
3159 (sql-get-product-feature): Improved error handling.
3160 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
3161 (sql-make-alternate-buffer-name): Simplified.
3162 (sql-product-interactive): Handle missing product.
3163 (sql-connect): Support string keys, minor improvements.
3164 (sql-save-connection): New function.
3165 (sql-connection-menu-filter): New function.
3167 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3169 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
3170 (tramp-open-connection-setup-interactive-shell): Apply
3171 workaround for IRIX64 bug. Move argument of last
3172 `tramp-send-command' where it belongs to.
3174 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
3176 * net/tramp.el (tramp-perl-file-attributes)
3177 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3178 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3179 front of `login-args'.
3181 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
3183 * time.el (display-time-world-mode): Define with `define-derived-mode'.
3184 Set `show-trailing-whitespace' to nil.
3185 (display-time-world-display): Simplify.
3187 2010-07-18 Alan Mackenzie <acm@muc.de>
3189 Enhance `c-file-style' in file/directory local variables.
3190 * progmodes/cc-mode.el (c-count-cfss): New function.
3191 (c-before-hack-hook): Call `c-set-style' differently according to
3192 whether c-file-style was set in file or directory local
3195 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
3197 * progmodes/sql.el: Version 2.2.
3198 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
3199 defcustom :safe keyword rather than putting safe-local-variable
3201 (sql-password): Use defcustom :risky keyword rather than putting
3202 risky-local-variable property.
3203 (sql-oracle-login-params, sql-sqlite-login-params)
3204 (sql-solid-login-params, sql-sybase-login-params)
3205 (sql-informix-login-params, sql-ingres-login-params)
3206 (sql-ms-login-params, sql-postgres-login-params)
3207 (sql-interbase-login-params, sql-db2-login-params)
3208 (sql-linter-login-params): Add `port' option.
3209 (sql-get-product-feature): Added NO-INDIRECT parameter.
3210 (sql-comint-oracle, sql-comint-sybase)
3211 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
3212 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
3213 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
3214 (sql-comint-linter): Renamed sql-connect-* functions to
3216 (sql-product-alist, sql-mode-menu): Renamed as above and
3217 :sqli-connect-func to :sqli-comint-func.
3218 (sql-connection): New variable.
3219 (sql-interactive-mode): Set it.
3220 (sql-connection-alist): New variable.
3221 (sql-connect): New function.
3222 (sql--alt-buffer-part, sql--alt-if-not-empty)
3223 (sql-make-alternate-buffer-name): Improved alternative buffer name.
3225 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3227 * image-mode.el (image-bookmark-make-record): Do not set context
3228 in an image (Bug#6650).
3230 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3232 * simple.el (select-active-region): New function.
3233 (push-mark-command, set-mark, activate-mark)
3234 (handle-shift-selection): Use it.
3235 (deactivate-mark): Don't check for size of region.
3237 * mouse.el (mouse-drag-track): Use select-active-region.
3239 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
3241 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
3244 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
3246 * term/x-win.el (x-select-enable-primary): Change default to nil.
3247 (x-select-enable-clipboard): Add :version keyword.
3249 * mouse.el (mouse-drag-copy-region):
3250 * simple.el (select-active-regions): Likewise.
3252 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
3254 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
3255 (vc-coding-system-for-diff): Use it to decide whether to inherit
3256 from the file the EOL format for reading the diffs of that file.
3259 2010-07-16 Eli Zaretskii <eliz@gnu.org>
3261 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
3262 unibyte, so compressed attachments are not compressed again.
3264 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
3266 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
3267 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
3268 (tramp-find-shell): Simplify setting connection property.
3269 (tramp-get-ls-command): Make test for "--color=never" stronger.
3271 2010-07-15 Simon South <ssouth@member.fsf.org>
3273 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
3274 blocks within record declarations (i.e. variant parts) correctly.
3276 2010-07-15 Simon South <ssouth@member.fsf.org>
3278 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
3279 over literal tokens when parsing so newlines aren't "absorbed" by
3280 single-line comments. Corrects the indentation of case blocks
3281 that have a comment on the first line.
3283 2010-07-14 Karl Fogel <kfogel@red-bean.com>
3285 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
3286 by Drew Adams (Bug#5504).
3288 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
3290 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
3291 now that Unicode is used (Bug#6594).
3293 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
3295 * term/x-win.el (x-select-enable-clipboard): Default to t.
3296 (x-initialize-window-system): Don't overwrite Paste menu item.
3298 * simple.el (select-active-regions): Default to t.
3299 (push-mark-command): Don't overwrite primary with empty string.
3301 * mouse.el: Bind mouse-2 to mouse-yank-primary.
3302 (mouse-drag-copy-region): Default to nil.
3304 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
3305 Cut/Copy/Paste menu bar items.
3307 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3309 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
3310 Patch applied by Karl Fogel.
3312 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
3313 and `bookmark-current-buffer' if they have been already set in
3314 another buffer (e.g gnus-art).
3316 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3317 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3319 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
3321 * bookmark.el (bookmark-make-record-default): Allow unneeded
3322 information to be omitted from the record.
3324 Adjust declarations and calls:
3326 * info.el (bookmark-make-record-default): Adjust declaration.
3327 (Info-bookmark-make-record): Adjust call.
3329 * woman.el (bookmark-make-record-default): Adjust declaration.
3330 (woman-bookmark-make-record): Adjust call.
3332 * man.el (bookmark-make-record-default): Adjust declaration.
3333 (Man-bookmark-make-record): Adjust call.
3335 * image-mode.el (bookmark-make-record-default): Adjust declaration.
3337 * doc-view.el (bookmark-make-record-default): Adjust declaration.
3339 2010-07-13 Karl Fogel <kfogel@red-bean.com>
3341 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
3342 This is also from Thierry Volpiatto's patch in bug #6444. However,
3343 because it was extraneous to the functional change in that patch,
3344 and causes a re-indendation, I am committing it separately.
3346 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3348 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
3349 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
3350 Patch applied by Karl Fogel (Bug#6444).
3352 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
3354 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
3356 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
3358 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
3359 Dempsky; bug#5084). Remove incorrect binding for S-tab.
3360 (ns-alternatives-map): Change S-tab binding to backtab
3363 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
3366 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
3368 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
3371 * language/tv-util.el (tai-viet-re): Remove format.
3373 2010-07-12 Kenichi Handa <handa@m17n.org>
3375 * language/hebrew.el: Remove no-byte-compile declaration.
3376 Change coding: tag to utf-8. Register hebrew-shape-gstring in
3377 composition-function-table for 3-character looking back.
3378 (hebrew-font-get-precomposed): New function.
3379 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
3381 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
3383 * mouse.el (mouse-drag-track): Handle select-active-regions
3386 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
3388 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3389 empty argument to gvfs-copy.
3391 2010-07-10 Glenn Morris <rgm@gnu.org>
3393 * calendar/calendar.el (calendar-week-end-day): New function.
3394 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
3395 Respect calendar-week-start-day. (Bug#6606)
3396 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
3397 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
3398 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
3399 respect calendar-week-start-day.
3401 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
3403 * simple.el (use-region-p): Doc fix (Bug#6607).
3405 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
3407 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
3408 regexps for cucumber and ruby.
3410 2010-07-08 Daiki Ueno <ueno@unixuser.org>
3412 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
3413 (epa-file-insert-file-contents): Hack to prevent
3414 find-file from opening empty buffer when decryption failed
3417 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
3419 * textmodes/ispell.el (ispell-alternate-dictionary):
3420 Use file-readable-p.
3421 Return nil if no word-list is found at default locations.
3422 (ispell-complete-word-dict): Default to nil.
3423 (ispell-command-loop): Use 'word-list' when using lookup-words.
3424 (lookup-words): Use ispell-complete-word-dict or
3425 ispell-alternate-dictionary. Check for word-list availability
3426 and handle errors if needed with better messages (Bug#6539).
3427 (ispell-complete-word): Use ispell-complete-word-dict or
3428 ispell-alternate-dictionary.
3430 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
3432 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
3433 builtins (BufferError, BytesWarning, WindowsError; callables
3434 bin, bytearray, bytes, format, memoryview, next, print; __package__).
3436 2010-07-07 Glenn Morris <rgm@gnu.org>
3438 * play/zone.el (top-level): Do not require timer, tabify, or cl.
3439 (zone-shift-left): Ignore intangibility, and any errors from
3441 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
3442 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
3443 deleting, and copying text properties.
3444 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
3445 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
3446 to point-max is hard.
3447 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
3448 (zone-fill-out-screen): Ignore intangibility.
3450 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
3452 * menu-bar.el (menu-bar-mode):
3453 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
3456 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
3457 word/line selection (Bug#6565).
3459 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
3461 * net/dbus.el (dbus-send-signal): Declare function.
3463 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
3465 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
3466 (dbus-register-property): New optional argument EMITS-SIGNAL.
3467 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
3469 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
3471 * mouse.el (mouse-drag-overlay): Variable deleted.
3472 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
3473 (mouse--remap-link-click-p): New function.
3474 (mouse-drag-track): Handle dragging by using temporary Transient
3475 Mark mode, instead of a special overlay.
3476 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
3479 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
3482 2010-07-02 Juri Linkov <juri@jurta.org>
3484 * autoinsert.el (auto-insert-alist): Fix readability
3485 by using dotted pair notation for lambda.
3487 2010-07-02 Juri Linkov <juri@jurta.org>
3489 * faces.el (read-face-name): Rename arg `string-describing-default'
3490 to `default'. Doc fix. Display the default value in quotes
3491 in the prompt. With empty input, return the `default' arg,
3492 unless the default value is a string (in which case return nil).
3493 (describe-face): Replace the string `default' arg of `read-face-name'
3494 with the symbol `default'.
3496 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
3498 * emulation/viper-cmd.el (viper-delete-backward-char)
3499 (viper-del-backward-char-in-insert)
3500 (viper-del-backward-char-in-replace, viper-change)
3501 (viper-backward-indent): Replace delete-backward-char with
3502 delete-char (Bug#6552).
3504 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
3506 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
3508 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3510 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
3511 argument passed to frame-creation-function (Bug#5378).
3513 * faces.el (x-handle-named-frame-geometry)
3514 (x-handle-reverse-video, x-create-frame-with-faces)
3515 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
3516 separately consult default-frame-alist. It is now passed as the
3519 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
3521 * startup.el (command-line): Don't call tool-bar-setup in a
3524 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3526 * ruler-mode.el (ruler--save-header-line-format): New fun.
3527 (ruler-mode): Use it as a setter function, so as not to overwrite
3528 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
3530 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
3532 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
3533 (vc-root-diff, vc-print-root-log, vc-log-incoming)
3534 (vc-log-outgoing): Use it.
3535 (vc-diff-internal): Set diff-vc-backend.
3537 * vc/diff-mode.el (diff-vc-backend): New var.
3539 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
3541 * dynamic-setting.el (font-setting-change-default-font): Remove
3544 2010-06-28 Kenichi Handa <handa@m17n.org>
3546 * international/quail.el (quail-insert-kbd-layout): Fix the
3547 showing of untranslated characters.
3549 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
3551 * simple.el (delete-active-region): New option.
3552 (delete-backward-char): Implement in Lisp.
3553 (delete-forward-char): New command.
3555 * mouse.el (mouse-region-delete-keys): Deleted.
3556 (mouse-show-mark): Simplify.
3558 * bindings.el (global-map): Bind delete and DEL, the former to
3559 delete-forward-char.
3561 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
3563 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
3564 (ruby-mode): Bind indent-line-function (Bug#5119).
3566 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3568 * startup.el (command-line): Recognize "0" X resource value.
3570 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
3572 * startup.el (command-line): Use X resources to set the value of
3573 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
3575 * menu-bar.el (menu-bar-mode):
3576 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
3577 Set init-value to t.
3579 * frame.el (frame-notice-user-settings): Don't change
3580 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
3581 vice versa (Bug#2249).
3583 2010-06-26 Eli Zaretskii <eliz@gnu.org>
3585 * w32-fns.el (w32-convert-standard-filename): Doc fix.
3587 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
3589 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
3590 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
3592 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
3593 default directories are expanded (Bug#6143).
3595 2010-06-24 Juri Linkov <juri@jurta.org>
3597 * minibuffer.el (completions-format): Change default from nil to
3598 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
3600 2010-06-24 Juri Linkov <juri@jurta.org>
3602 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
3603 buffer-locally to lambda that re-runs the vc diff command.
3606 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
3608 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
3609 echo area is in use (Bug#3412).
3611 2010-06-22 Glenn Morris <rgm@gnu.org>
3613 * textmodes/texinfmt.el (texinfo-format-region)
3614 (texinfo-raise-lower-sections, texinfo-format-separate-node)
3615 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
3616 (texinfo-format-option, texinfo-noindent):
3617 Use line-beginning-position and line-end-position.
3619 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
3620 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
3621 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
3624 2010-06-21 Karl Fogel <kfogel@red-bean.com>
3626 * play/zone.el (zone-fall-through-ws): Fix next-line ->
3627 forward-line fallout.
3629 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
3631 * mouse.el (mouse-appearance-menu): Add docstring.
3633 * help.el (describe-key): Print up-event using key-description.
3635 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
3637 * net/zeroconf.el (zeroconf-resolve-service)
3638 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
3639 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
3641 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
3643 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
3645 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
3647 Avoid displaying files with a nil state in vc-dir.
3648 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
3649 cases that cause insertion.
3650 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
3653 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
3655 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
3657 2010-06-29 Leo <sdl.web@gmail.com>
3659 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
3661 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
3663 * generic-x.el (bat-generic-mode): Fix regexp for command line
3664 switches (Bug#5719).
3666 2010-06-27 Masatake YAMATO <yamato@redhat.com>
3668 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
3669 of nconc to avoid pure storage error (Bug#6239).
3671 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
3673 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
3674 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
3675 bindings of bookmark-automatically-show-annotations (Bug#6515).
3677 2010-06-25 Eli Zaretskii <eliz@gnu.org>
3679 * arc-mode.el (archive-zip-extract): Don't quote the file name on
3680 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
3682 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
3684 * comint.el (make-comint, make-comint-in-buffer): Mention return
3685 value in the docstrings. (Bug#6498)
3687 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
3689 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
3690 since it is not present when using some non-default switches.
3692 2010-06-23 Karl Fogel <kfogel@red-bean.com>
3694 * simple.el (compose-mail): Fix doc string to refer to
3695 `compose-mail-user-agent-warnings', instead of to the
3696 nonexistent `compose-mail-check-user-agent'.
3698 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
3700 Fix an indentation bug:
3702 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
3703 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
3706 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
3707 (c-clear->-pair-props-if-match-before): now return t when they've
3708 cleared properties, nil otherwise.
3709 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
3710 by taking account of the existing value.
3712 * progmodes/cc-defs.el
3713 (c-clear-char-property-with-value-function): Fix this to clear the
3714 property rather than overwriting it with nil.
3716 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
3718 * emacs-lisp/package.el (package-print-package): Add link to
3719 package description via describe-package.
3720 (describe-package-1): List package requirements. Add button to
3721 perform installation.
3722 (package-menu-describe-package): New command.
3724 * help-mode.el (help-package): New button type.
3726 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
3728 * emacs-lisp/package.el: Move package-list-packages binding to
3730 (describe-package, describe-package-1, package--dir): New funs.
3731 (package-activate-1): Use package--dir.
3733 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
3735 * help-mode.el (help-package-def): New button type.
3737 * menu-bar.el: Move package-list-packages binding here from
3740 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
3742 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
3744 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * emacs-lisp/edebug.el (edebug-read-list):
3747 Phase out old-style backquotes.
3749 2010-06-17 Juri Linkov <juri@jurta.org>
3751 * help-mode.el (help-mode): Set buffer-local variable
3752 revert-buffer-function to help-mode-revert-buffer.
3753 (help-mode-revert-buffer): New function.
3755 * info.el (Info-revert-find-node): Check for major-mode Info-mode
3756 before popping to "*info*" (like in other Info functions).
3757 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
3758 old-history-forward. Pop to old-buffer-name or "*info*" to
3759 recreate the killed buffer. Set Info-history-forward from
3760 old-history-forward.
3761 (Info-breadcrumbs-depth): Add :group and :version.
3763 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
3765 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
3767 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
3769 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
3770 for languages like Portuguese with pt_{BR,PT} and no plain pt.
3772 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
3774 * emacs-lisp/package.el (package-menu-mode-map):
3775 Move initialization into declaration.
3777 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
3779 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
3781 * emacs-lisp/package.el (package-archive-base): Point to
3783 (package-enable, package-load-list): New defcustoms.
3784 (package-user-dir, package-directory-list): Turn into defcustoms.
3785 Don't include package-user-dir in package-directory-list.
3786 (package--builtins-base): Don't include Emacs as a "package".
3787 (package-subdirectory-regexp): New var.
3788 (package-load-all-descriptors, package-compute-transaction)
3789 (package-download-transaction): Obey package-load-list.
3790 (package-activate-1): Rename from package-do-activate.
3791 (package-list-packages-internal): Check package-load-list.
3792 (package-load-descriptor, package-generate-autoloads)
3793 (package-unpack, package-unpack-single)
3794 (package--read-archive-file, package-delete): Use
3797 * emacs-lisp/package-x.el: New file. Package uploading
3798 functionality split out from package.el.
3800 * startup.el (command-line): Load packages after reading init file.
3802 2010-06-17 Tom Tromey <tromey@redhat.com>
3804 * emacs-lisp/package.el: New file.
3806 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3808 Fix vc-annotate for renamed files when using Git.
3809 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
3810 ls-files. Doe not pass the object as a file name to cat-file, it
3812 (vc-git-annotate-command): Pass the file name using -- to avoid
3813 ambiguity with the revision.
3814 (vc-git-previous-revision): Pass a relative file name.
3816 2010-06-22 Glenn Morris <rgm@gnu.org>
3818 * progmodes/js.el (js-mode-map): Use standard capitalization and
3819 ellipses for menu entries.
3821 * wid-edit.el (widget-complete): Doc fix.
3823 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
3825 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
3827 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
3829 Fix annotating other revisions for renamed files in vc-annotate.
3830 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
3831 VC backend. Use it when non-nil.
3832 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
3835 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
3836 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3837 Do not pass the file name to the 'previous-revision call when we
3838 don't want a file diff. (Bug#6489)
3840 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3842 Fix finding revisions for renamed files in vc-annotate.
3843 * vc/vc.el (vc-find-revision): Add an optional argument for
3844 the VC backend. Use it when non-nil.
3845 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
3846 backend to vc-find-revision. (Bug#6487)
3848 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
3850 Fix reading file names in Git annotate buffers.
3851 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
3852 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
3854 2010-06-20 Alan Mackenzie <acm@muc.de>
3856 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
3857 in file local variables, set it first.
3859 2010-06-19 Glenn Morris <rgm@gnu.org>
3861 * descr-text.el (describe-char-unicode-data): Insert separating
3862 space when needed. (Bug#6422)
3864 * progmodes/idlwave.el (idlwave-action-and-binding):
3865 Fix typo in 2009-12-03 change. (Bug#6450)
3867 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3869 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3870 handling for `lambda' (misunderstanding).
3872 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
3874 * calc/calc-poly.el (math-accum-factors): Make sure that
3875 constants aren't distributed after they are factored out.
3877 2010-06-16 Juri Linkov <juri@jurta.org>
3879 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3880 `list-colors-print'. (Bug#6332)
3882 * subr.el (read-quoted-char): Fix up last change (bug#6290).
3884 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3887 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
3889 * font-lock.el (font-lock-major-mode): Rename from
3890 font-lock-mode-major-mode to distinguish it from
3891 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3892 (font-lock-set-defaults):
3893 * font-core.el (font-lock-default-function): Adjust users.
3894 (font-lock-mode): Don't set it at all.
3896 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
3900 2010-06-16 Glenn Morris <rgm@gnu.org>
3902 * calendar/appt.el (appt-time-msg-list): Doc fix.
3903 (appt-check): Let-bind appt-warn-time.
3904 (appt-add): Make the 3rd argument optional.
3905 Simplify argument names. Doc fix. Check for integer WARNTIME.
3906 Only add WARNTIME to the output list if non-nil.
3908 2010-06-16 Ivan Kanis <apple@kanis.eu>
3910 * calendar/appt.el (appt-check): Let the 3rd element of
3911 appt-time-msg-list specify the warning time.
3912 (appt-add): Add new argument with the warning time. (Bug#5176)
3914 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3916 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3917 older than version 1.6. (Bug#6361)
3919 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
3921 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3922 used by cl-do-arglist. (Bug#6408)
3924 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
3926 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3927 portuguese casechars/not-casechars for missing 'çÇ'.
3928 Suggested by Rolando Pereira (bug#6434).
3930 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
3932 * facemenu.el (list-colors-sort): Doc fix.
3934 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3936 * progmodes/sql.el (sql-connect-mysql): Fix typo.
3938 2010-06-14 Juri Linkov <juri@jurta.org>
3940 Add sort option `list-colors-sort'. (Bug#6332)
3941 * facemenu.el (color-rgb-to-hsv): New function.
3942 (list-colors-sort): New defcustom.
3943 (list-colors-sort-key): New function.
3944 (list-colors-display): Doc fix. Sort list according to the option
3946 (list-colors-print): Add HSV values to `help-echo' property of
3949 2010-06-14 Juri Linkov <juri@jurta.org>
3951 * compare-w.el: Move to the "vc" subdirectory.
3953 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3955 * image-mode.el (image-mode-map): Remap left-char and right-char.
3957 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3959 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
3961 * term/common-win.el (x-colors): Add all the color names defined
3962 in rgb.txt (Bug#6332).
3964 * facemenu.el (list-colors-print): Don't print extra names if it
3965 will overflow the window width.
3967 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3970 2010-06-12 Eli Zaretskii <eliz@gnu.org>
3972 * files.el (make-directory): Doc fix (bug#6396).
3974 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
3976 * net/tramp.el (tramp-remote-process-environment): Protect version
3977 string by apostroph.
3978 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3980 (tramp-file-name-for-operation): Add `call-process-region'.
3981 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3983 * net/tramp-compat.el (top): Do not autoload
3984 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3985 only when `start-file-process' is not bound.
3986 (tramp-advice-file-expand-wildcards): Do not use
3987 `tramp-handle-file-remote-p'.
3988 (tramp-compat-make-temp-file): Handle the case, that
3989 `make-temp-file' has no third argument EXTENSION.
3991 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
3993 * makefile.w32-in (WINS_BASIC): Include new directory vc.
3995 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3997 2010-06-11 Juri Linkov <juri@jurta.org>
3999 * finder.el (finder-known-keywords): Add keyword "vc"
4000 for version control.
4002 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
4003 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
4004 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
4005 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
4007 2010-06-11 Juri Linkov <juri@jurta.org>
4009 Move version control related files to the "vc" subdirectory.
4010 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
4011 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
4012 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
4013 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
4014 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
4015 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
4016 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
4017 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
4018 Move files to the "vc" subdirectory.
4020 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
4022 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
4025 2010-06-11 Stephen Eglen <stephen@gnu.org>
4027 * shell.el: Bind `shell-resync-dirs' to M-RET.
4029 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
4031 * notifications.el: Move file from lisp/net, because it is
4032 supposed to talk locally to the user.
4034 2010-06-10 Julien Danjou <julien@danjou.info>
4036 * net/notifications.el (notifications-on-action-signal)
4037 (notifications-on-closed-signal): Pass notification id as first
4038 argument to the callback functions. Add docstrings.
4039 (notifications-notify): Fix docstring.
4041 2010-06-10 Glenn Morris <rgm@gnu.org>
4043 * emacs-lisp/authors.el (authors-ignored-files)
4044 (authors-valid-file-names): Add some files.
4046 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
4049 merge conflict, giving preference to the emacs-23 version of the code.
4051 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * emacs-lisp/advice.el (ad-compile-function):
4054 Define warning-suppress-types before we let-bind it (bug#6275).
4056 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
4057 declare it, make it buffer-local and permanent-local (bug#6324).
4058 (vc-resynch-window): Adjust name.
4059 * vc-hooks.el (vc-find-file-hook): Adjust name.
4061 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
4063 * net/notifications.el (notifications-notify): Fix docstring.
4065 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4067 Update to Unicode 6.0.0 beta.
4068 * international/charprop.el: Update copyright.
4069 * international/mule-cmds.el (ucs-names): Update character ranges.
4070 * international/uni-bidi.el:
4071 * international/uni-category.el:
4072 * international/uni-combining.el:
4073 * international/uni-comment.el:
4074 * international/uni-decimal.el:
4075 * international/uni-decomposition.el:
4076 * international/uni-digit.el:
4077 * international/uni-lowercase.el:
4078 * international/uni-mirrored.el:
4079 * international/uni-name.el:
4080 * international/uni-numeric.el:
4081 * international/uni-old-name.el:
4082 * international/uni-titlecase.el:
4083 * international/uni-uppercase.el: Regenerate.
4085 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
4087 * emacs-lisp/smie.el (comment-string-strip): Declare function.
4088 (smie-precs-precedence-table): Fix typo in docstring.
4090 * vc-mtn.el (log-edit-extract-headers): Declare function.
4092 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
4094 * net/notifications.el (dbus-register-signal): Declare function.
4095 (notifications-notify): Fix typos and reflow docstring.
4097 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4099 Improve VC create/retrieve tag/branch.
4100 * vc.el (vc-create-tag): Do not read the directory name for VCs
4101 with repository revision granularity. Adjust the tag/branch
4102 prompt. Reset VC properties.
4103 (vc-retrieve-tag): Do not read the directory name for VCs
4104 with repository revision granularity. Reset VC properties.
4106 2010-06-09 Julien Danjou <julien@danjou.info>
4108 * net/notifications.el: New file.
4110 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
4112 Add optional support for resetting VC properties.
4113 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
4114 call vc-file-clearprops when true.
4115 (vc-resynch-buffer): Add new optional argument, pass it down.
4116 (vc-resynch-buffers-in-directory): Likewise.
4118 Improve support for special markup in the VC commit message.
4119 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
4120 * vc-hg.el (vc-hg-checkin): Add support for Date:.
4121 * vc-git.el (vc-git-checkin):
4122 * vc-bzr.el (vc-bzr-checkin): Likewise.
4124 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4126 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
4127 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
4129 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
4131 * iimage.el: Remove images as soon as the underlying text is modified.
4132 (iimage-modification-hook): New function.
4133 (iimage-mode-buffer): Use it.
4135 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
4138 smie-indent-offset-after. Add :prev case. Make a bit more generic.
4139 (smie-indent-virtual): Remove `virtual' arg. Update callers.
4140 (smie-indent-keyword): Add handling of open-paren keywords.
4141 (smie-indent-comment-continue): Don't assume comment-continue.
4143 2010-06-07 Martin Rudalics <rudalics@gmx.at>
4145 * window.el (pop-to-buffer): Remove the conditional that
4146 compares new-window and old-window, so it will reselect
4147 the selected window unconditionally.
4148 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
4150 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/smie.el (smie-indent-offset-after)
4153 (smie-indent-forward-token, smie-indent-backward-token): New functions.
4154 (smie-indent-after-keyword): Use them.
4155 (smie-indent-fixindent): Only applies to the indentation of the BOL.
4156 (smie-indent-keyword): Tweak the black magic.
4157 (smie-indent-comment-continue): Strip comment-continue before use.
4158 (smie-indent-functions): Indent comments before keywords.
4160 2010-06-06 Juri Linkov <juri@jurta.org>
4162 * isearch.el (isearch-lazy-highlight-search): Fix looping
4163 by checking for empty match. This syncs this loop with the
4164 similar loop in `isearch-search'. (Bug#6362)
4166 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
4168 * net/dbus.el (dbus-register-method): Declare function.
4169 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
4170 (dbus-introspect): Doc fix.
4171 (dbus-event-bus-name, dbus-introspect-get-interface)
4172 (dbus-introspect-get-argument): Reflow docstrings.
4174 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
4176 vc-log-incoming/vc-log-outgoing fixes for Git.
4177 * vc-git.el (vc-git-log-view-mode): Fix font lock for
4178 incoming/outgoing logs.
4179 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
4180 instead of vc-git-compute-remote.
4181 (vc-git-compute-remote): Remove.
4183 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
4185 * term/common-win.el (x-colors): Add "dark green" and "dark
4186 turquoise" (Bug#6332).
4188 2010-06-04 Juri Linkov <juri@jurta.org>
4190 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
4191 Instead of setting `replace' to t and replacing the same string
4192 with itself, don't do certain actions when
4193 kill-do-not-save-duplicates is non-nil and string is equal to car
4194 of kill-ring: don't call menu-bar-update-yank-menu, don't push
4195 interprogram-paste strings to kill-ring, and don't push the input
4196 argument `string' to kill-ring.
4197 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
4199 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4201 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
4203 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
4205 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
4206 (tramp-gvfs-handler-mounted-unmounted)
4207 (tramp-gvfs-connection-mounted-p): Handle default-location.
4209 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
4210 move files to trash.
4212 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
4214 * international/mule-cmds.el (nonascii-insert-offset)
4215 (nonascii-translation-table): Add obsolescence information.
4217 * international/mule.el (make-translation-table-from-vector): Doc fix.
4219 2010-06-03 Glenn Morris <rgm@gnu.org>
4221 * desktop.el (desktop-clear-preserve-buffers):
4222 Add "*Warnings*" buffer. (Bug#6336)
4224 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
4226 vc-log-incoming/vc-log-outgoing improvements for Git.
4227 * vc-git.el (vc-git-log-outgoing): Use the same format as the
4229 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
4231 Add bindings for vc-log-incoming and vc-log-outgoing.
4232 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
4233 and vc-log-outgoing.
4234 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
4235 and vc-log-outgoing.
4237 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4239 * net/rcirc.el (rcirc-sort-nicknames): Remove.
4240 (rcirc-handler-366): Always sort nicknames.
4242 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
4244 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
4246 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
4248 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
4250 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4252 * net/rcirc.el (rcirc-sort-nicknames): Change default.
4253 (rcirc-sort-nicknames-join): Avoid setq.
4255 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4257 * net/rcirc.el (rcirc-sort-nicknames): New custom.
4258 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
4259 (rcirc-handler-366): Use them.
4261 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4263 Split smie-indent-calculate into more manageable chunks.
4264 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
4265 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
4266 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
4267 (smie-indent-exps): Extract from smie-indent-calculate.
4268 (smie-indent-functions): New var.
4269 (smie-indent-functions): Use them.
4271 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4273 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
4274 (smie-indent-calculate): Simplify and cleanup.
4276 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
4278 * net/tramp-gvfs.el (top): Require url-util.
4279 (tramp-gvfs-mount-point): Remove.
4280 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
4282 (with-tramp-dbus-call-method): Format trace message.
4283 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4284 Implement backup call, when operation on local files fails.
4285 Use progress reporter. Flush properties of changed files.
4286 (tramp-gvfs-handle-make-directory): Make more traces.
4287 (tramp-gvfs-url-file-name): Hexify file name in url.
4288 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4289 into account for the resulting file name.
4290 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
4291 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
4292 (tramp-gvfs-handler-mounted-unmounted)
4293 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4294 attribute "default_location". Set "prefix" property.
4295 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4296 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4297 exists. Raise an error, if not (due to a corresponding answer
4298 "no" in interactive questions, for example).
4300 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
4302 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
4304 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
4306 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
4309 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
4311 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
4312 * vc-git.el (vc-git-compute-remote): New function.
4313 (vc-git-log-outgoing): Use it instead of hard coding a value.
4314 (vc-git-log-incoming): New function.
4316 Improve state updating for VC tag commands.
4317 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
4318 to update the state of all buffers in the directory.
4320 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
4322 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
4325 `file-directory-p' to the filename part rather than to the whole text.
4327 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4329 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
4331 2010-05-31 Drew Adams <drew.adams@oracle.com>
4333 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
4335 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
4337 * subr.el (momentary-string-display): Just use read-event to read
4338 the exit event (Bug#6238).
4340 2010-05-30 Eli Zaretskii <eliz@gnu.org>
4342 * international/mule.el (define-coding-system): Doc fix (bug#6313).
4344 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4346 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
4347 Suggested by Eli Zaretskii <eliz@gnu.org>.
4349 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * minibuffer.el (completion-file-name-table): Don't return a boundary
4352 past the end of `string' (bug#6299).
4353 (completion--file-name-table): Delegate to completion-file-name-table
4354 for the `boundaries' case.
4356 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
4358 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
4361 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
4362 `path-separator', but maintain compatibility with Emacs 20.2.
4364 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4366 * server.el (server-process-filter): Receive parent-id argument
4368 (server-create-window-system-frame): New arg. Pass parent-id as
4371 2010-05-29 Eli Zaretskii <eliz@gnu.org>
4373 Bidi-sensitive word movement with arrow keys.
4374 * subr.el (right-arrow-command, left-arrow-command): Move to
4377 * bindings.el (right-char, left-char): Move from subr.el and
4378 rename from right-arrow-command and left-arrow-command.
4379 (right-word, left-word): New functions.
4380 (global-map) <right>: Bind to right-char.
4381 (global-map) <left>: Bind to left-char.
4382 (global-map) <C-right>: Bind to right-word.
4383 (global-map) <C-left>: Bind to left-word.
4385 * ls-lisp.el (ls-lisp-classify-file): New function.
4386 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
4387 (ls-lisp-classify): Call ls-lisp-classify-file.
4388 (insert-directory): Remove blanks from switches.
4390 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
4392 * ansi-color.el: Delete unused escape sequences (Bug#6085).
4393 (ansi-color-drop-regexp): New constant.
4394 (ansi-color-apply, ansi-color-filter-region)
4395 (ansi-color-apply-on-region): Delete unrecognized control sequences.
4396 (ansi-color-apply): Build string list before calling concat.
4398 2010-05-28 Juri Linkov <juri@jurta.org>
4400 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4401 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
4404 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4406 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
4407 to ignored backtrace functions.
4408 (with-progress-reporter): Expand docstring.
4409 (tramp-handle-delete-file): Implement TRASH argument.
4410 (tramp-get-remote-trash): New defun.
4412 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
4414 * net/tramp-compat.el (tramp-compat-delete-file): Use
4415 `symbol-value' for backward compatibility.
4417 * net/tramp.el (tramp-handle-make-symbolic-link)
4419 (tramp-do-copy-or-rename-file-via-buffer)
4420 (tramp-do-copy-or-rename-file-directly)
4421 (tramp-do-copy-or-rename-file-out-of-band)
4422 (tramp-handle-process-file, tramp-handle-call-process-region)
4423 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4424 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4425 (tramp-delete-temp-file-function): Use `delete-file' instead
4426 of `tramp-compat-delete-file'.
4428 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4429 (tramp-fish-handle-make-symbolic-link)
4430 (tramp-fish-handle-process-file): Use `delete-file' instead
4431 of `tramp-compat-delete-file'.
4433 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
4434 `delete-file' instead of `tramp-compat-delete-file'.
4436 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4437 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
4438 `tramp-compat-delete-file'.
4440 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
4441 `delete-file' instead of `tramp-compat-delete-file'.
4443 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4444 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4445 (tramp-smb-handle-write-region): Use `delete-file' instead of
4446 `tramp-compat-delete-file'.
4447 (tramp-smb-handle-delete-directory): Use 'trash as arg.
4449 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4451 * dired.el (dired-delete-file): New arg TRASH.
4452 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
4453 (dired-do-flagged-delete, dired-do-delete): Use trash.
4455 * speedbar.el (speedbar-item-delete): Allow trashing.
4457 * files.el (delete-directory): New arg TRASH.
4459 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
4460 (ange-ftp-rename-remote-to-remote)
4461 (ange-ftp-rename-local-to-remote)
4462 (ange-ftp-rename-remote-to-local, ange-ftp-load)
4463 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
4465 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
4468 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4469 handle new TRASH arg of `delete-file'.
4471 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
4472 (tramp-handle-make-symbolic-link, tramp-handle-load)
4473 (tramp-do-copy-or-rename-file-via-buffer)
4474 (tramp-do-copy-or-rename-file-directly)
4475 (tramp-do-copy-or-rename-file-out-of-band)
4476 (tramp-handle-process-file, tramp-handle-call-process-region)
4477 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4478 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4479 (tramp-delete-temp-file-function): Use null TRASH arg in
4480 tramp-compat-delete-file call.
4482 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
4483 (tramp-fish-handle-delete-file)
4484 (tramp-fish-handle-make-symbolic-link)
4485 (tramp-fish-handle-process-file): Use null TRASH arg in
4486 `tramp-compat-delete-file' call.
4488 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
4489 arg in `tramp-compat-delete-file' call.
4491 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
4492 (tramp-gvfs-handle-write-region): Use null TRASH arg in
4493 `tramp-compat-delete-file' call.
4495 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
4496 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
4497 `tramp-compat-delete-file' call.
4499 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4500 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4501 (tramp-smb-handle-write-region): Use null TRASH arg in
4502 tramp-compat-delete-file call.
4503 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
4504 (tramp-smb-handle-delete-file): Rename arg.
4506 * diff.el (diff-sentinel):
4507 * epg.el (epg--make-temp-file, epg-decrypt-string)
4508 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4509 * jka-compr.el (jka-compr-partial-uncompress)
4510 (jka-compr-call-process, jka-compr-write-region):
4511 * server.el (server-sentinel): Remove optional arg from
4512 delete-file, reverting 2010-05-03 change.
4514 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4516 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
4517 font-lock-constant-face, not obsolete font-lock-reference-face.
4519 2010-05-27 Kenichi Handa <handa@m17n.org>
4521 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
4522 element of GSTRING is nil.
4524 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * emacs-lisp/smie.el (smie-forward-token-function)
4527 (smie-backward-token-function): New vars.
4528 (smie-backward-sexp, smie-forward-sexp)
4529 (smie-indent-hanging-p, smie-indent-calculate): Use them.
4530 (smie-default-backward-token): Rename from smie-backward-token and
4532 (smie-default-forward-token): Rename from smie-forward-token and
4534 (smie-next-sexp): Handle nil results from next-token.
4535 (smie-indent-calculate): Add a new case for special `fixindent' comments.
4537 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
4539 * progmodes/verilog-mode.el (verilog-type-font-keywords):
4540 Use font-lock-constant-face, not obsolete font-lock-reference-face.
4542 2010-05-27 Masatake YAMATO <yamato@redhat.com>
4544 * htmlfontify.el (hfy-face-resolve-face): New function.
4545 (hfy-face-to-style): Use it (Bug#6279).
4547 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
4550 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
4552 2010-05-26 Glenn Morris <rgm@gnu.org>
4554 * emulation/edt.el (edt-load-keys): Use locate-library.
4556 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
4558 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
4559 (log-edit-changelog-entries): Doc fix.
4560 (log-edit-changelog-insert-entries): Args changed.
4561 Rename relative filenames in ChangeLog entries. Delete tabs.
4562 (log-edit-insert-changelog-entries): Reorganize return value of
4563 `log-edit-changelog-entries' to pass filenames to
4564 log-edit-changelog-insert-entries.
4566 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4568 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4569 `image-dired-dired-insert-marked-thumbs' to
4570 `image-dired-dired-toggle-marked-thumbs'.
4572 * image-dired.el: Require cl when compiling.
4573 (image-dired-dired-toggle-marked-thumbs): Rename from
4574 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
4575 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
4576 to 'no-dir. Skip files whose names don't match
4577 `image-file-name-regexp'. When file has a thumbnail overlay,
4578 delete it. (Bug#5270)
4580 2010-05-25 Juri Linkov <juri@jurta.org>
4582 * image-mode.el (image-mode): Add image-after-revert-hook to
4584 (image-after-revert-hook): New function. (Bug#5669)
4586 2010-05-25 Juri Linkov <juri@jurta.org>
4588 * image.el (image-animated-p): When delay between animated images
4589 is 0, set it to 10 (0.1 sec). (Bug#6258)
4591 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
4593 * net/tramp.el (tramp-handle-insert-directory): Don't use
4594 `forward-word', its default syntax could be changed.
4596 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
4598 * net/tramp.el (tramp-progress-reporter-update): New defun.
4599 (with-progress-reporter): Use it.
4600 (tramp-process-actions):
4601 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
4602 current message, in order to let progress reporter continue
4603 afterwards. (Bug#6257)
4605 2010-05-25 Glenn Morris <rgm@gnu.org>
4607 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
4610 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4612 * net/rcirc.el (rcirc-default-user-name): Change to "user".
4613 (rcirc-default-full-name): Change to "unknown".
4614 (rcirc-user-name-history): Add variable.
4616 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
4617 Jonathan Rockway <jon@jrock.us>
4619 * net/rcirc.el (rcirc-server-alist): Add :pass.
4620 (rcirc): When prompting for connection parameters, also prompt for
4621 username and password.
4622 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
4623 value to server when connecting.
4625 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4627 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
4628 (smie-merge-prec2s): Pass the tables as separate args.
4629 (smie-bnf-precedence-table): Adjust call accordingly.
4630 (smie-prec2-levels): Set levels at the end.
4632 Replace Lisp calls to delete-backward-char by delete-char.
4633 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
4634 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
4635 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
4636 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
4637 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
4638 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
4639 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
4640 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
4641 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
4642 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
4643 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
4644 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
4645 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
4646 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
4647 delete-backward-char by calls to delete-char.
4649 2010-05-25 Kenichi Handa <handa@m17n.org>
4651 * language/hebrew.el (hebrew-shape-gstring): New function.
4652 Register it in composition-function-table for all Hebrew combining
4655 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4657 * epa.el (epa--select-keys): Don't explicitly delete the window since
4658 that can fail (e.g. sole window in frame). Use dedication instead.
4660 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4662 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
4664 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
4666 * image.el (image-refresh): Define as an alias for image-flush.
4668 * image-mode.el (image-toggle-display-image): Caller changed.
4670 2010-05-21 Juri Linkov <juri@jurta.org>
4672 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
4673 Remove "all" from grep-files-aliases. Split grep-files-aliases by
4674 whitespace, call wildcard-to-regexp on substrings and concat them
4675 with "\\|". (Bug#6114)
4677 2010-05-21 Alan Mackenzie <acm@muc.de>
4679 * progmodes/cc-engine.el (c-parse-state-get-strategy):
4680 Replace parameter `here' with `here-' and `here-plus', which sandwich
4681 any pertinent CPP construct.
4682 (c-remove-stale-state-cache-backwards): Fix a bug which happens
4683 when doing (c-parse-state) in a CPP construct: Exclude any "new"
4684 CPP construct from taking part in the scanning.
4686 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
4688 * net/tramp.el (tramp-do-copy-or-rename-file)
4689 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
4690 Tune `with-progress-reporter' messages.
4691 (tramp-handle-vc-registered):
4692 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
4693 (tramp-fish-handle-insert-file-contents)
4694 (tramp-fish-maybe-open-connection):
4695 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4696 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
4697 (tramp-imap-handle-insert-file-contents)
4698 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4700 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
4702 * add-log.el (change-log-font-lock-keywords):
4703 Highlight all authors in multi-author entries.
4705 * smerge-mode.el (smerge-refine-ignore-whitespace)
4706 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
4707 Fix typos in docstrings.
4708 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
4710 2010-05-21 Glenn Morris <rgm@gnu.org>
4712 * progmodes/fortran.el (fortran-mode):
4713 * progmodes/f90.el (f90-mode): Derive from prog-mode.
4715 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
4716 having a relative path in src/Makefile.in.
4718 2010-05-20 Kevin Ryde <user42@zip.com.au>
4720 * help-mode.el (help-make-xrefs): For Info node links turn
4721 newlines into spaces. Link node names with newlines are matched
4722 by help-xref-info-regexp and buttonized, this change ensures they
4723 can be followed successfully with RET. (Bug#6206)
4725 2010-05-20 Juri Linkov <juri@jurta.org>
4727 * locate.el (locate): Use pop-to-buffer instead of
4728 switch-to-buffer-other-window. (Bug#6204)
4730 2010-05-20 Juri Linkov <juri@jurta.org>
4732 * replace.el (replace-highlight): Fix lazy-highlighting
4733 for `M-s w str M-% str RET'.
4735 2009-12-15 Masatake YAMATO <yamato@redhat.com>
4737 * isearch.el (isearch-yank-word-or-char): Pull next subword
4738 when `subword-mode' is activated. (Bug#6220)
4740 2010-05-20 Mark A. Hershberger <mah@everybody.org>
4742 * isearch.el (isearch-update-post-hook): New hook.
4743 (isearch-update): Use the new hook. (Bug#6225)
4745 2010-05-20 Juri Linkov <juri@jurta.org>
4747 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
4748 [f1], [help], and (char-to-string help-char) instead of "\C-h".
4751 2010-05-20 Juri Linkov <juri@jurta.org>
4753 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
4756 2010-05-20 Juri Linkov <juri@jurta.org>
4758 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
4759 FILE-NAME to read from the minibuffer when called interactively
4760 with prefix argument instead of using buffer-file-name.
4761 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
4763 * dired.el: Update autoloads.
4765 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
4767 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
4768 nxml-finish-element, for consistency with SGML mode.
4770 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
4773 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
4775 * composite.el: Require cl when compiling.
4776 (reference-point-alist, compose-gstring-for-graphic)
4777 (compose-gstring-for-terminal): Fix typos in docstrings.
4779 2010-05-19 Juri Linkov <juri@jurta.org>
4781 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
4782 set-window-parameter.
4784 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
4786 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
4788 (tramp-maybe-open-connection): Use it.
4790 2010-05-19 Eli Zaretskii <eliz@gnu.org>
4792 * simple.el (move-end-of-line): Make sure we are at line beginning
4793 before backing up to end of previous line.
4795 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
4797 * password-cache.el (password-cache-remove): Fix docstring.
4799 * net/secrets.el: Autoload the widget functions.
4800 (secrets-search-items, secrets-create-item)
4801 (secrets-get-attributes, secrets-expand-item): Attributes will be
4802 stored on the password database without leading ":", as all other
4804 (secrets-mode): Fix docstring.
4805 (secrets-show-secrets): Provide it as autoloaded command only when
4806 D-Bus support is available. Check existence of Secret Service API.
4808 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4810 * indent.el (indent-region): Deactivate region (bug#6200).
4812 2010-05-19 Glenn Morris <rgm@gnu.org>
4814 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
4816 2010-05-19 Kenichi Handa <handa@m17n.org>
4818 * composite.el: Register compose-gstring-for-graphic in
4819 composition-function-table only for combining characters (Mn, Mc, Me).
4821 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
4823 * calc/calc-trail.el (calc-trail-isearch-forward)
4824 (calc-trail-isearch-backward): Ensure that the new window
4825 point is set correctly.
4827 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * subr.el (read-quoted-char): Resolve modifiers after key
4830 remapping (bug#6212).
4832 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
4834 Add visualization code for secrets.
4835 * net/secrets.el (secrets-mode): New major mode.
4836 (secrets-show-secrets, secrets-show-collections)
4837 (secrets-expand-collection, secrets-expand-item)
4838 (secrets-tree-widget-after-toggle-function)
4839 (secrets-tree-widget-show-password): New defuns.
4841 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4843 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
4844 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
4845 handled in smie-next-sexp.
4846 (smie-indent-calculate): Provide a starting indentation (so the
4847 recursion is well-founded ;-).
4849 Fix handling of non-associative equal levels.
4850 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
4851 when it's not needed.
4852 (smie-op-left, smie-op-right): New functions.
4853 (smie-next-sexp): New function, extracted from smie-backward-sexp.
4854 Better handle equal levels to distinguish the associative case from
4855 the "multi-keyword construct" case.
4856 (smie-backward-sexp, smie-forward-sexp): Use it.
4858 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
4860 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4862 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4863 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4865 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4867 Provide a simple generic indentation engine and use it for Prolog.
4868 * emacs-lisp/smie.el: New file.
4869 * progmodes/prolog.el (prolog-smie-op-levels)
4870 (prolog-smie-indent-rules): New var.
4871 (prolog-mode-variables): Use them to configure SMIE.
4872 (prolog-indent-line, prolog-indent-level): Remove.
4874 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4876 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4877 order before computing the averages.
4879 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
4881 * calc/calc-vec.el (calc-histogram):
4882 (calcFunc-histogram): Allow vectors as inputs.
4883 (math-vector-avg): New function.
4885 * calc/calc-ext.el (math-group-float): Have the number of digits
4886 being grouped depend on the radix (Bug#6189).
4888 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
4890 * version.el (emacs-copyright, emacs-version): Don't define here,
4891 now that emacs.c defines it.
4893 2010-05-15 Eli Zaretskii <eliz@gnu.org>
4895 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4896 "Describe Language Environment" menu item.
4898 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4900 Bidi-sensitive movement with arrow keys.
4901 * subr.el (right-arrow-command, left-arrow-command): New functions.
4903 * bindings.el (global-map): Bind them to right and left arrow keys.
4905 Don't override standard definition of convert-standard-filename.
4906 * files.el (convert-standard-filename): Call
4907 w32-convert-standard-filename and dos-convert-standard-filename on
4908 the corresponding systems.
4910 * w32-fns.el (w32-convert-standard-filename): Rename from
4911 convert-standard-filename. Doc fix.
4913 * dos-fns.el (dos-convert-standard-filename): Doc fix.
4914 (convert-standard-filename): Don't defalias.
4915 (register-name-alist, make-register, register-value)
4916 (set-register-value, intdos): Obsolete aliases for the
4917 corresponding dos-* functions and variables.
4918 (dos-intdos): Add a doc string.
4920 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
4922 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4923 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4924 (math-compose-tex-func):
4925 * calc/calccomp.el (math-compose-expr):
4926 * calc/calc-ext.el (math-format-flat-expr-fancy):
4927 * calc/calc-store.el (calc-read-var-name):
4928 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4930 * calc/calc.el (var-π, var-φ, var-γ): New variables.
4931 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4932 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4933 (math-standard-units): Add units.
4935 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4937 * progmodes/asm-mode.el (asm-mode):
4938 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4940 * pcomplete.el (pcomplete-completions-at-point): New function,
4941 extracted from pcomplete-std-complete.
4942 (pcomplete-std-complete): Use it.
4944 2010-05-15 Glenn Morris <rgm@gnu.org>
4946 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4947 Remove references to CVS, RCS and Old directories.
4949 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
4951 * calc/calc-bin.el (math-format-twos-complement): Group digits when
4954 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4956 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4957 (sh-mode-syntax-table): Give it a default value instead.
4958 (sh-header-marker): Make buffer-local.
4959 (sh-mode): Move make-local-variable to the corresponding setq.
4960 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4961 Use complete-with-action.
4963 * simple.el (prog-mode): New (abstract) major mode.
4964 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4965 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4967 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
4969 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4970 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4971 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4972 (sql-make-alternate-buffer-name, sql-placeholders-filter)
4973 (sql-escape-newlines-filter, sql-input-sender)
4974 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4976 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
4978 Add TeX open-block and close-block keybindings to SGML, and vice versa.
4980 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4981 latex-open-block and C-c / to latex-close-block.
4983 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4984 and C-c C-e to sgml-close-tag.
4986 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
4988 * net/tramp.el (with-progress-reporter): Create reporter object
4989 only when the message would be displayed. Handle nested calls.
4990 (tramp-handle-load, tramp-handle-file-local-copy)
4991 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4992 (tramp-maybe-send-script, tramp-find-shell):
4993 Use `with-progress-reporter'.
4994 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4997 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4998 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4999 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
5000 Use `with-progress-reporter'.
5002 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
5004 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
5005 process everytime when spellchecking from the minibuffer (bug#6143).
5007 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5009 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
5011 * dos-fns.el: Add "dos-" prefix for namespace control.
5012 (convert-standard-filename): Define as alias for
5013 dos-convert-standard-filename but only if applicable.
5015 2010-05-12 Alan Mackenzie <acm@muc.de>
5017 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
5018 Push the mark at the start of these functions when appropriate.
5020 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5022 * minibuffer.el (completion-cycle-threshold): New custom var.
5023 (completion--do-completion): Use it.
5024 (minibuffer-complete): Use cycling if appropriate.
5026 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
5028 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
5029 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
5031 2010-05-11 Juri Linkov <juri@jurta.org>
5033 * scroll-all.el (scroll-all-check-to-scroll):
5034 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
5036 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5038 * iimage.el (iimage-mode-map): Move initialization into declaration.
5039 (iimage-mode-buffer): Use with-silent-modifications.
5040 Simplify calling convention. Adjust callers.
5041 (iimage-mode): Don't run hook redundantly.
5043 * minibuffer.el (completion-pcm--pattern->regex):
5044 Fix last change (bug#6160).
5046 2010-05-10 Juri Linkov <juri@jurta.org>
5048 Remove nodes visited during Isearch from the Info history.
5049 * info.el (Info-isearch-initial-history)
5050 (Info-isearch-initial-history-list): New variables.
5051 (Info-isearch-start): Record initial values of
5052 Info-isearch-initial-history and Info-isearch-initial-history-list.
5053 Add Info-isearch-end to isearch-mode-end-hook.
5054 (Info-isearch-end): New function.
5056 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
5058 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
5059 format string, in order to work around a bug in pdksh.
5060 Reported by Gilles Pion <gpion@lfdj.com>.
5061 (tramp-handle-verify-visited-file-modtime): Do not send a command
5062 when the connection is not established.
5063 (tramp-handle-set-file-times): Simplify the check for utc.
5065 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
5067 Fix use of `filter-buffer-substring' (rework previous change).
5068 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5069 (cua-repeat-replace-region):
5070 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
5071 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5072 (cua-cut-region-to-global-mark): Use it.
5074 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
5076 * progmodes/sql.el: Version 2.1.
5077 (sql-product-alist): Redesign structure of product info.
5078 (sql-product, sql-user, sql-server, sql-database): Safe variables.
5079 (sql-port, sql-port-history): New variables.
5080 (sql-interactive-product): New variable.
5081 (sql-send-terminator): New variable.
5082 (sql-imenu-generic-expression): Add "Types" imenu entry.
5083 (sql-oracle-login-params, sql-sqlite-login-params)
5084 (sql-mysql-login-params, sql-solid-login-params)
5085 (sql-sybase-login-params, sql-informix-login-params)
5086 (sql-ingres-login-params, sql-ms-login-params)
5087 (sql-postgres-login-params, sql-interbase-login-params)
5088 (sql-db2-login-params, sql-linter-login-params)
5089 (sql-oracle-scan-on): New variables.
5090 (sql-mode-map): Add C-c C-i to start interactive mode.
5091 (sql-mode-menu): Update existing menu entries.
5092 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
5093 (sql-mode-oracle-font-lock-keywords)
5094 (sql-mode-postgres-font-lock-keywords)
5095 (sql-mode-ms-font-lock-keywords)
5096 (sql-mode-sybase-font-lock-keywords)
5097 (sql-mode-informix-font-lock-keywords)
5098 (sql-mode-interbase-font-lock-keywords)
5099 (sql-mode-ingres-font-lock-keywords)
5100 (sql-mode-solid-font-lock-keywords)
5101 (sql-mode-mysql-font-lock-keywords)
5102 (sql-mode-sqlite-font-lock-keywords)
5103 (sql-mode-db2-font-lock-keywords)
5104 (sql-mode-linter-font-lock-keywords): Update initialization to
5105 reduce run-time complexity.
5106 (sql-add-product, sql-del-product): New functions.
5107 (sql-set-product-feature, sql-get-product-feature): New functions.
5108 (sql-product-font-lock): Update product API.
5109 (sql-add-product-keywords): New function.
5110 (sql-highlight-product): Update product API.
5111 (sql-help-list-products): New function.
5112 (sql-help): Dynamically lists free and non-free products.
5113 (sql-get-login): Correct bug in handling history and added
5115 (sql-copy-column): Copy without properties.
5116 (sqli-input-sender): Apply filters to SQLi input.
5117 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
5118 Implement as a filter.
5119 (sql-escape-newlines-filter): Implement as a filter.
5120 (sql-remove-tabs-filter): New function.
5121 (sql-send-magic-terminator): New function.
5122 (sql-send-string): Implement magic terminator.
5123 (sql-send-region): Use `sql-send-string'.
5124 (sql-interactive-mode): Use product API.
5125 (sql-product-interactive): Use product API.
5126 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5127 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5128 (sql-db2, sql-linter): Use `sql-product-interactive'.
5129 (sql-connect): New function.
5130 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
5131 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
5132 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
5133 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
5136 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
5139 New custom variable.
5140 (completion-pcm--string->pattern): Use it.
5141 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
5142 Make it handle any symbol as `any'.
5143 (completion-pcm--merge-completions): Extract common suffix for the new
5144 `prefix' symbol as well.
5145 (completion-substring--all-completions): Use the new `prefix' symbol.
5147 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
5149 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
5151 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
5152 (tramp-compat-funcall): New defmacro.
5153 (tramp-compat-line-beginning-position)
5154 (tramp-compat-line-end-position)
5155 (tramp-compat-temporary-file-directory)
5156 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
5157 (tramp-compat-copy-file, tramp-compat-copy-directory)
5158 (tramp-compat-delete-file, tramp-compat-delete-directory)
5159 (tramp-compat-number-sequence, tramp-compat-process-running-p)
5160 * net/tramp.el (top, with-progress-reporter)
5161 (tramp-rfn-eshadow-setup-minibuffer)
5162 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
5163 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
5164 (tramp-completion-mode-p, tramp-check-for-regexp)
5165 (tramp-open-connection-setup-interactive-shell)
5166 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
5167 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
5168 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
5169 * net/tramp-cmds.el (tramp-cleanup-all-connections)
5170 (tramp-reporter-dump-variable, tramp-load-report-modules)
5171 (tramp-append-tramp-buffers)
5172 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
5174 * net/tramp-imap.el (top): Autoload `epg-make-context'.
5176 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5178 * progmodes/compile.el (compilation-buffer-modtime): Rename from
5179 buffer-modtime. Adjust users.
5181 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5183 * international/mule.el (auto-coding-alist): Only purecopy
5184 car of each item, not the whole list (Bug#6083).
5186 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5188 * progmodes/js.el (js-mode): Make paragraph variables local before
5189 calling c-setup-paragraph-variables (Bug#6071).
5191 2010-05-08 Eli Zaretskii <eliz@gnu.org>
5193 * composite.el (compose-region, reference-point-alist): Fix typos
5196 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
5198 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
5199 gnuplot's "set" command.
5201 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5203 * abbrev.el (last-abbrev-text): Doc fix.
5204 (abbrev-prefix-mark): Don't escape parenthesis.
5206 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
5208 * composite.el (find-composition): Doc fix.
5210 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5212 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
5213 (sql-oracle-program, sql-sqlite-options)
5214 (sql-query-placeholders-and-send): Doc fixes.
5215 (sql-set-product, sql-interactive-mode): Reflow docstrings.
5216 (sql-imenu-generic-expression, sql-buffer)
5217 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
5218 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
5219 (sql-mode-sybase-font-lock-keywords)
5220 (sql-mode-informix-font-lock-keywords)
5221 (sql-mode-interbase-font-lock-keywords)
5222 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
5223 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
5224 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
5225 (sql-product-feature, sql-highlight-product)
5226 (comint-line-beginning-position, sql-rename-buffer)
5227 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
5228 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
5229 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
5230 Fix typos in docstrings.
5232 2010-05-08 Juri Linkov <juri@jurta.org>
5234 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
5235 property instead of `invisible' and `after-string' (bug#5998).
5237 2010-05-08 Juri Linkov <juri@jurta.org>
5239 * image-mode.el (image-mode-as-text): Fix typo in docstring.
5241 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
5243 * filecache.el (file-cache-add-directory-list)
5244 (file-cache-add-directory-recursively): Fix typos in docstrings.
5246 2010-05-08 Kenichi Handa <handa@m17n.org>
5248 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
5249 (gujarati-composable-pattern): Fix typo.
5251 2010-05-08 Kenichi Handa <handa@m17n.org>
5253 * language/indian.el (oriya-composable-pattern)
5254 (tamil-composable-pattern, malayalam-composable-pattern):
5255 Add two-part vowels to "v" (vowel sign).
5257 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
5259 * files.el (copy-directory): Handle symlinks (Bug#5982).
5261 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
5263 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
5264 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
5267 2010-05-08 Glenn Morris <rgm@gnu.org>
5269 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
5271 * minibuffer.el (completion-at-point): Doc fix.
5273 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * electric.el (Electric-command-loop): Minor tweak.
5277 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
5278 better with dedicated windows.
5280 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
5282 * Version 23.2 released.
5284 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
5285 Stefan Monnier <monnier@iro.umontreal.ca>
5287 Highlight vendor specific properties.
5288 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
5289 (css-proprietary-property): New face.
5290 (css-font-lock-keywords): Use them.
5292 2010-05-07 Eli Zaretskii <eliz@gnu.org>
5294 * cus-start.el (all): Add native condition for tool-bar-* symbols.
5296 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
5299 * files.el (auto-mode-alist): Remove redundant entries.
5301 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
5302 * simple.el (auto-save-mode): Move from files.el.
5303 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
5305 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
5307 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
5309 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
5311 * mail/binhex.el (binhex-decode-region-internal)
5312 * mail/uudecode.el (uudecode-decode-region-internal)
5313 * net/dns.el (dns-read-string-name, dns-write, dns-read)
5314 (dns-read-type, dns-query)
5315 * pgg-parse.el (pgg-parse-armor)
5316 * pgg.el (pgg-verify-region)
5317 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
5320 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
5322 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
5324 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
5326 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
5327 * emulation/cua-base.el (cua-repeat-replace-region):
5328 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
5329 (cua-cut-region-to-global-mark):
5330 Remove text properties with `set-text-properties'.
5332 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
5334 * net/tramp.el (top, with-progress-reporter):
5335 Use `symbol-function' inside `funcall'.
5337 * net/tramp-compat.el (tramp-compat-file-attributes)
5338 (tramp-compat-delete-file, tramp-compat-delete-directory):
5339 Handle only `wrong-number-of-arguments' error.
5341 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
5342 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
5345 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5347 * minibuffer.el (completion--sreverse, completion--common-suffix):
5349 (completion-pcm--merge-completions): Extract common suffix when safe.
5351 * emacs-lisp/easy-mmode.el (define-minor-mode):
5352 Make :variable more flexible.
5353 * files.el (auto-save-mode): Use it to define using define-minor-mode.
5355 2010-05-05 Juri Linkov <juri@jurta.org>
5357 Add `slow' and `history' tags to the desktop data.
5359 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
5360 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
5361 (Info-finder-find-node): Require `finder.el' to be able
5362 to restore node from the desktop.
5363 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
5364 data `Info-history' and `slow' tag in the assoc list.
5365 (Info-restore-desktop-buffer): Don't restore nodes with the
5366 `slow' tag. Restore `Info-history'.
5368 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
5370 Add FORCE argument to `delete-file'.
5372 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
5373 forcing to delete the temporary file.
5374 (ange-ftp-delete-file): Add FORCE arg.
5375 (ange-ftp-rename-remote-to-remote)
5376 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
5377 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
5378 Force file deletion.
5380 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
5382 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
5383 (tramp-handle-make-symbolic-link, tramp-handle-load)
5384 (tramp-do-copy-or-rename-file-via-buffer)
5385 (tramp-do-copy-or-rename-file-directly)
5386 (tramp-do-copy-or-rename-file-out-of-band)
5387 (tramp-handle-process-file, tramp-handle-call-process-region)
5388 (tramp-handle-shell-command, tramp-handle-file-local-copy)
5389 (tramp-handle-insert-file-contents, tramp-handle-write-region)
5390 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
5392 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
5393 (tramp-fish-handle-make-symbolic-link)
5394 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
5396 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5397 Use `tramp-compat-delete-file'.
5399 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
5400 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
5402 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
5403 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
5405 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
5406 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
5407 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
5408 `tramp-compat-delete-file'.
5410 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5413 * subr.el (add-minor-mode): Use push.
5414 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
5415 * emulation/edt.el (edt-select-mode): Simplify.
5417 Use define-minor-mode in more cases.
5418 * term/tvi970.el (tvi970-set-keypad-mode):
5419 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5420 (normal-erase-is-backspace-mode):
5421 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
5422 (set-scroll-bar-mode-1): (Re)move to its sole caller.
5423 (get-scroll-bar-mode): New function.
5424 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
5426 Use define-minor-mode for less obvious cases.
5427 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
5428 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
5429 * international/iso-ascii.el (iso-ascii-mode):
5430 * frame.el (auto-raise-mode, auto-lower-mode):
5431 * composite.el (global-auto-composition-mode): Use define-minor-mode.
5433 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
5435 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
5436 in order to see error messages for failed logins.
5438 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
5440 * diff.el (diff-sentinel):
5442 * epg.el (epg--make-temp-file, epg-decrypt-string)
5443 (epg-verify-string, epg-sign-string, epg-encrypt-string):
5445 * jka-compr.el (jka-compr-partial-uncompress)
5446 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
5448 * server.el (server-sentinel): Use delete-file's new FORCE arg
5451 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5453 Use define-minor-mode where applicable.
5454 * view.el (view-mode):
5455 * type-break.el (type-break-query-mode)
5456 (type-break-mode-line-message-mode):
5457 * textmodes/reftex.el (reftex-mode):
5458 * term/vt100.el (vt100-wide-mode):
5459 * tar-mode.el (tar-subfile-mode):
5460 * savehist.el (savehist-mode):
5461 * ibuf-ext.el (ibuffer-auto-mode):
5462 * composite.el (auto-composition-mode):
5463 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5464 Use define-minor-mode.
5465 (vhdl-mode): Use static mode-line format.
5466 (vhdl-mode-line-update): Delete.
5467 (vhdl-create-mode-menu, vhdl-activate-customizations)
5468 (vhdl-hs-minor-mode): Don't bother calling it.
5470 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5472 * simple.el (with-wrapper-hook): Move.
5473 (buffer-substring-filters): Mark obsolete.
5474 (filter-buffer-substring-functions): New variable.
5475 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
5477 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5478 Michael Albinus <michael.albinus@gmx.de>
5480 Implement compression for inline methods.
5482 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
5483 (tramp-copy-size-limit): Allow also nil.
5484 (tramp-inline-compress-commands): New defconst.
5485 (tramp-find-inline-compress, tramp-get-inline-compress)
5486 (tramp-get-inline-coding): New defuns.
5487 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
5488 replaced by `tramp-get-inline-coding'.
5489 (tramp-handle-file-local-copy, tramp-handle-write-region)
5490 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
5492 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
5495 Remove unused functions.
5497 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
5498 Set find-tag-default-function as a variable rather than a property.
5500 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
5501 * progmodes/etags.el (tags-completion-at-point-function):
5502 Remove left over interactive spec. Add autoloading stub.
5503 (complete-tag): Use tags-completion-at-point-function.
5505 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
5507 * minibuffer.el (tags-completion-at-point-function): Fix return value.
5509 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5511 * ido.el (ido-init-completion-maps): Remove C-v binding.
5512 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
5514 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
5516 * minibuffer.el (tags-completion-at-point-function): New function.
5517 (completion-at-point-functions): Use it.
5519 * progmodes/etags.el (complete-tag): Revert last change.
5521 2010-04-29 Alan Mackenzie <acm@muc.de>
5523 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
5524 off-by-one error (in end of macro position).
5526 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
5529 firefox is absent. Don't autoload.
5530 (browse-url-galeon-program): Don't autoload.
5532 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5534 * bindings.el (complete-symbol): Move into minibuffer.el.
5536 * minibuffer.el (complete-tag): Move from etags.el. If tags
5537 completion cannot be performed, return nil instead of signalling
5539 (completion-at-point): Make it an alias for complete-symbol.
5540 (complete-symbol): Move from bindings.el, and replace with the
5541 body of completion-at-point.
5543 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
5545 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
5547 * net/tramp.el (tramp-remote-selinux-p): New defun.
5548 (tramp-handle-file-selinux-context)
5549 (tramp-handle-set-file-selinux-context): Use it.
5551 2010-04-28 Sam Steingold <sds@gnu.org>
5553 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5554 `safe-local-variable' if the value is a string or a symbol with
5555 the property `bug-reference-url-format'.
5557 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
5559 * progmodes/bug-reference.el (bug-reference-url-format):
5560 Revert 2010-04-27 change due to security risk.
5562 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5564 Make it possible to locally disable a globally enabled mode.
5565 * simple.el (fundamental-mode): Run fundamental-mode-hook.
5566 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
5567 rather than kill-all-local-variables so it runs fundamental-mode-hook.
5568 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5569 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
5570 that subsequent hooks get a chance to disable it.
5572 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5574 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5575 Avoid re-enabling a minor mode after the user turned the minor mode
5576 off if MODE-enable-in-buffers is run twice (typically once from
5577 fundamental-mode's after-change-major-mode-hook and a second time from
5578 run-mode-hook's own after-change-major-mode-hook).
5580 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
5582 2010-04-27 Sam Steingold <sds@gnu.org>
5584 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
5585 `safe-local-variable' if the value is a string or a function, as
5586 documented and implemented on 2010-04-02.
5588 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
5590 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
5591 when method is 'kill.
5593 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
5595 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
5596 condition in default directory check.
5597 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
5598 Kill ispell process when killing its associated buffer.
5600 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
5602 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
5603 but we aren't using it.
5605 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
5607 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
5608 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
5610 2010-04-24 Glenn Morris <rgm@gnu.org>
5612 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
5613 Ignore VCS-ignore files, and deleted nextstep preferences files.
5614 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
5615 (authors-ambiguous-files): New list.
5616 (authors-valid-file-names): Add some deleted files.
5617 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
5618 (authors-disambiguate-file-name): New function. (Bug#5501)
5619 (authors-canonical-file-name): Doc fix.
5620 Don't warn about obsolete files.
5621 (authors-canonical-file-name, authors-scan-el):
5622 Use authors-disambiguate-file-name.
5624 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5625 Add autoload cookies.
5626 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
5627 (generated-autoload-file): Set file-local value to "htmlfontify.el".
5628 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
5629 They have definitions / compiler macros in cl.el.
5630 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
5631 Replace manual autoloads with generated ones.
5632 (htmlfontify-unload-rgb-file): Remove autoload.
5633 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
5635 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
5638 (byte-compile-setq-default): Optimize for the
5639 single-var case and don't call byte-compile-form in this case to avoid
5640 inf-loop with byte-compile-set-default.
5642 * progmodes/compile.el (compilation-start): Abbreviate default directory.
5644 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
5646 Implement SELINUX backends.
5648 * net/tramp.el (tramp-file-name-handler-alist):
5649 Add `file-selinux-context' and `set-file-selinux-context'.
5650 (tramp-handle-file-selinux-context)
5651 (tramp-handle-set-file-selinux-context): New defuns.
5652 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
5653 Handle PRESERVE-SELINUX-CONTEXT.
5655 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5656 Add `file-selinux-context' and `set-file-selinux-context'.
5657 (tramp-gvfs-handle-file-selinux-context)
5658 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
5659 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
5661 * net/ange-ftp.el (ange-ftp-copy-file):
5662 * net/tramp-fish.el (tramp-fish-handle-copy-file):
5663 * net/tramp-imap.el (tramp-imap-handle-copy-file):
5664 * net/tramp-smb.el (tramp-smb-handle-copy-file):
5665 Add PRESERVE-SELINUX-CONTEXT.
5667 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5669 Synchronize with Tramp repository.
5671 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
5672 (tramp-action-process-alive, tramp-action-out-of-band)
5673 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
5674 (tramp-exists-file-name-handler): Fix docstring.
5675 (with-progress-reporter): New defmacro.
5676 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
5677 (tramp-maybe-open-connection): Use it.
5679 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
5681 Detect ssh 'ControlMaster' argument automatically in some cases.
5683 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
5684 (tramp-default-method): Use it.
5686 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5688 * net/tramp.el (tramp-handle-copy-file): Add new optional
5689 parameter `preserve-selinux-context'.
5690 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
5692 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
5694 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
5695 Ensure, that non remote files are still checked. Oops.
5697 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
5701 * icomplete.el (icomplete-completions): Use `non-essential'.
5703 * net/tramp.el (tramp-connectable-p): New defun.
5704 (tramp-handle-expand-file-name)
5705 (tramp-completion-handle-file-name-all-completions)
5706 (tramp-completion-handle-file-name-completion): Use it.
5708 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
5712 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
5714 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
5716 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
5718 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
5721 * info.el (info-tool-bar-map): Add labels.
5723 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
5725 * cus-edit.el (custom-commands): Add labels for tool bar.
5726 (custom-buffer-create-internal, Custom-mode): Adjust for
5727 labels in custom-commands.
5729 * dynamic-setting.el: Renamed from font-setting.el.
5731 2010-04-21 John Wiegley <jwiegley@gmail.com>
5733 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
5734 toggles the use of virtual buffers.
5735 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
5736 (ido-toggle-virtual-buffers): New function.
5738 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
5740 Use `define-derived-mode'; fix window selection; doc fixes.
5741 * play/tetris.el (tetris, tetris-update-speed-function)
5742 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
5743 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
5744 (tetris-rotate-next, tetris-end-game, tetris-start-game)
5745 (tetris-pause-game): Fix typos in docstrings.
5746 (tetris-mode-map, tetris-null-map):
5747 Move initialization into declaration.
5748 (tetris-mode): Define with `define-derived-mode';
5749 set show-trailing-whitespace to nil.
5750 (tetris): Prefer window already displaying the "*Tetris*" buffer.
5752 2010-04-21 Karel Klíč <kklic@redhat.com>
5754 * files.el (backup-buffer): Handle SELinux context, and return it
5755 if a backup was made by renaming.
5756 (backup-buffer-copy): Set SELinux context to the target file.
5757 (basic-save-buffer): Set SELinux context of the newly written file.
5758 (basic-save-buffer-1): Now it also returns any SELinux context.
5759 (basic-save-buffer-2): Set SELinux context of the newly created file,
5761 * net/tramp.el (tramp-file-name-for-operation):
5762 Add file-selinux-context.
5764 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
5766 Make the log-edit comments use RFC822 format throughout.
5768 * vc.el (vc-checkin, vc-modify-change-comment):
5769 Adjust to new vc-start/finish-logentry.
5770 (vc-find-conflicted-file): New command.
5771 (vc-transfer-file): Adjust to new vc-checkin.
5772 (vc-next-action): Improve scoping.
5774 * vc-hg.el (vc-hg-log-edit-mode): Remove.
5775 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
5777 * vc-git.el (vc-git-log-edit-mode): Remove.
5778 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
5779 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
5781 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
5782 (vc-start-logentry): Remove argument `extra'.
5783 (vc-finish-logentry): Remove extra args.
5785 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5786 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
5787 (vc-bzr-conflicted-files): New function.
5789 * log-edit.el (log-edit-extra-flags)
5790 (log-edit-before-checkin-process): Remove.
5791 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5792 (log-edit-headers-alist): New var.
5793 (log-edit-header-contents-regexp): New const.
5794 (log-edit-match-to-eoh): New function.
5795 (log-edit-font-lock-keywords): Use them.
5796 (log-edit): Insert a "Summary:" header as default.
5797 (log-edit-mode): Mark font-lock rules as case-insensitive.
5798 (log-edit-done): Cleanup headers.
5799 (log-view-process-buffer): Remove.
5800 (log-edit-extract-headers): New function to replace it.
5802 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
5804 * subr.el (default-direction-reversed): Remove obsolescence info.
5806 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5808 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5811 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5812 I.e. include text after point in the completion region.
5813 Also, return nil when we're not after/in a symbol.
5815 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5816 default enable-multibyte-characters.
5818 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5820 * international/mule.el: Help the user choose a valid coding-system.
5821 (read-buffer-file-coding-system): New function.
5822 (set-buffer-file-coding-system): Use it. Prompt the user if the
5823 coding-system cannot encode all the chars.
5825 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5826 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5827 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5828 Don't use *vc-bzr-shelve*.
5830 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
5832 Fix the version number for added files.
5833 * vc-hg.el (vc-hg-working-revision): Check if the file is
5834 registered after hg parent fails (Bug#5961).
5836 2010-04-19 Glenn Morris <rgm@gnu.org>
5838 * htmlfontify.el (htmlfontify-buffer)
5839 (htmlfontify-copy-and-link-dir): Autoload entry points.
5841 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
5843 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5844 name relative to the project root (Bug#5960).
5846 2010-04-19 Glenn Morris <rgm@gnu.org>
5848 * vc-git.el (vc-git-print-log): Doc fix.
5850 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
5852 * ido.el (ido-file-internal): Fix 2009-12-02 change.
5854 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
5856 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5857 default settings (Bug#5928).
5859 2010-04-19 Glenn Morris <rgm@gnu.org>
5861 * progmodes/fortran.el (fortran-match-and-skip-declaration):
5863 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
5865 2010-04-19 Kenichi Handa <handa@m17n.org>
5867 * language/indian.el (malayalam-composable-pattern): Fix previous
5868 change (add U+0D4D "SIGN VIRAMA").
5869 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5870 (tamil-composable-pattern): Fix typo in the regexp.
5871 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5872 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5873 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5875 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5877 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5878 paragraph-separate (Bug#5821).
5880 2010-04-19 Juri Linkov <juri@jurta.org>
5882 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5884 * info.el (Info-find-node-2): Comment out code that skips
5886 (Info-mouse-follow-link): New command.
5887 (Info-link-keymap): New keymap.
5888 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5889 Return a string with links instead of inserting breadcrumbs
5891 (Info-fontify-node): Comment out code that inserts breadcrumbs.
5892 Instead of putting the `invisible' text property over the Info
5893 header, make an overlay over the Info header with the `invisible'
5894 property and `after-string' set to the string returned by
5897 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5899 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5900 Reported by monkey@sandpframing.com.
5902 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5904 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5905 (tmm-get-keymap): Add key-binding shortcuts now that they're not
5906 available in the "keyseq cache" any more.
5908 * custom.el (defcustom): Add edebug spec.
5910 2010-04-18 Juri Linkov <juri@jurta.org>
5912 Test for special mode-class in view-buffer instead of view-file (bug#5513).
5914 * view.el (view-file, view-buffer): Move test for special mode-class
5915 from view-file to view-buffer.
5917 * tar-mode.el (tar-extract): Turn if's into one cond
5918 like in arc-mode.el.
5920 2010-04-18 Juri Linkov <juri@jurta.org>
5922 Add 7z archive format support (bug#5475).
5924 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5925 (archive-7z-extract): New defcustom.
5926 (archive-find-type): Add magic string for 7z.
5927 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5928 If `stderr-file' is non-nil, use `(t stderr-file)' for the
5929 `buffer' arg of `call-process'.
5930 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5931 call the function `archive-7z-extract' with the variable
5932 `archive-7z-extract' let-bound to `archive-zip-extract'.
5933 (archive-7z-summarize, archive-7z-extract): New functions.
5935 * international/mule.el (auto-coding-alist):
5936 * files.el (auto-mode-alist): Add 7z file extension.
5938 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5940 * loadup.el: Setup hash-cons for pure data.
5942 Fix duplicate entries in cedet's loaddefs.el files.
5943 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5944 Should make most file-local generated-autoload-file unnecessary.
5945 (print-readably): Silence warnings.
5946 (autoload-find-destination): Take load-name as an arg to make sure
5947 it's the same as the one that will be in the file.
5948 (autoload-generate-file-autoloads): Adjust to above changes.
5949 Try to make the dataflow a bit simpler.
5951 * cvs-status.el (cvs-refontify): Remove unused.
5953 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
5955 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5957 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
5958 twos-complement mode.
5960 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
5962 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
5963 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
5964 (calc-inverse): Add "Option" to message, as appropriate.
5965 (calc-hyperbolic): Add "Option" to message, as appropriate.
5966 (calc-option, calc-is-option): New functions.
5968 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
5969 (calc-option-prefix-help): New function.
5971 * calc/calc-misc.el (calc-help): Add "Option" entry.
5973 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
5974 (calc-option-flag): New variable.
5975 (calc-do): Set `calc-option-flag to nil.
5976 (calc-set-mode-line): Add "Opt " as appropriate.
5978 2010-04-16 Juri Linkov <juri@jurta.org>
5980 Move scrolling commands from simple.el to window.el
5981 because their primitives are implemented in window.c.
5983 * simple.el (scroll-error-top-bottom)
5984 (scroll-up-command, scroll-down-command, scroll-up-line)
5985 (scroll-down-line, scroll-other-window-down)
5986 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5987 * window.el (scroll-error-top-bottom)
5988 (scroll-up-command, scroll-down-command, scroll-up-line)
5989 (scroll-down-line, scroll-other-window-down)
5990 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5991 Move from simple.el to window.el because their primitives are
5992 implemented in window.c.
5994 2010-04-16 Juri Linkov <juri@jurta.org>
5996 * isearch.el (isearch-lookup-scroll-key): Check both
5997 `isearch-scroll' and `scroll-command' properties.
5998 (scroll-up, scroll-down): Remove `isearch-scroll' property.
6000 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
6002 * simple.el (scroll-up-command, scroll-down-command)
6003 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
6005 2010-04-15 Juri Linkov <juri@jurta.org>
6007 * simple.el (scroll-up-command, scroll-down-command)
6008 (scroll-up-line, scroll-down-line): Put `scroll-command'
6009 property on the these symbols. Remove them from
6010 `scroll-preserve-screen-position-commands'.
6012 * mwheel.el (mwheel-scroll): Put `scroll-command' and
6013 `isearch-scroll' properties on the `mwheel-scroll' symbol.
6014 Remove it from `scroll-preserve-screen-position-commands'.
6016 * isearch.el (isearch-allow-scroll): Doc fix.
6018 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
6020 * net/tramp.el (tramp-error-with-buffer): Don't show the
6021 connection buffer when we are in completion mode.
6022 (tramp-file-name-handler): Catch the error for some operations
6023 when we are in completion mode. This gives the user the chance to
6024 correct the file name in the minibuffer.
6026 2010-04-15 Glenn Morris <rgm@gnu.org>
6028 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
6030 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
6032 Simplify by using `define-derived-mode'.
6033 * info.el (Info-mode):
6034 * calendar/todo-mode.el (todo-mode):
6035 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
6036 (gomoku-mode-map): Move initialization into declaration.
6038 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
6041 * ido.el (ido-file-name-all-completions-1):
6042 * minibuffer.el (minibuffer-completion-help):
6043 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
6045 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6047 * simple.el (non-essential): New var.
6049 Add a new field `location' to bookmarks for non-file bookmarks.
6050 * bookmark.el (bookmark-location): Use the new field, if present.
6051 (bookmark-insert-location): Undo last change, not needed any more.
6052 * man.el (Man-bookmark-make-record):
6053 * woman.el (woman-bookmark-make-record): Add `location' field.
6055 2010-04-14 Juri Linkov <juri@jurta.org>
6057 * simple.el (scroll-error-top-bottom): New defcustom.
6058 (scroll-up-command, scroll-down-command): Use it. Doc fix.
6060 * emulation/pc-select.el (pc-select-override-scroll-error):
6061 Obsolete in favor of `scroll-error-top-bottom'.
6063 2010-04-14 Juri Linkov <juri@jurta.org>
6065 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
6066 `scroll-up-command' and `M-v' to `scroll-down-command'.
6068 * emulation/cua-rect.el (cua--init-rectangles):
6069 * forms.el (forms--change-commands):
6070 * image-mode.el (image-mode-map):
6071 Remap scroll-down-command and scroll-up-command
6072 in addition to scroll-down and scroll-up.
6074 2010-04-14 Juri Linkov <juri@jurta.org>
6076 * mwheel.el (scroll-preserve-screen-position-commands):
6077 Add mwheel-scroll to this list of commands.
6079 * simple.el (scroll-preserve-screen-position-commands):
6080 Add scroll-up-command, scroll-down-command, scroll-up-line,
6081 scroll-down-line to this list of commands.
6083 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6085 * obsolete/complete.el: Move from lisp/complete.el.
6087 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
6089 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
6090 to the minor mode function now turns the mode ON unconditionally.
6092 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * vc-dir.el (vc-dir-kill-line): New command.
6095 (vc-dir-mode-map): Bind it to C-k.
6097 * bookmark.el (bookmark-insert-location): Handle a nil filename.
6099 * woman.el: Add bookmark declarations to silence the compiler.
6100 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
6101 step to compatibility between man and woman bookmarks.
6102 Adjust for Man-default-bookmark-title renaming.
6103 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
6105 * man.el: Add bookmark declarations to silence the compiler.
6106 (Man-name-local-regexp): Make it match NAME as well.
6107 (Man-getpage-in-background): Return the buffer.
6108 (Man-notify-when-ready): Use `case'.
6109 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
6110 Don't hardcode "NAME". Simplify.
6111 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
6112 Rename from Man-bookmark-make-record.
6113 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
6114 we have the actual man-args. Use Man-getpage-in-background rather
6115 than `man' since the arg is already processed. Let bookmark.el do the
6116 window handling. Only wait for the relevant process.
6117 Don't forget to autoload.
6119 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
6121 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6123 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
6125 (woman-mode): Setup bookmark support.
6127 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
6128 (man-bookmark-jump): New functions.
6129 (Man-mode): Setup bookmark support.
6131 2010-04-10 Jari Aalto <jari.aalto@cante.net>
6133 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
6134 recognize ssh-keygen prompt (Bug#2817).
6136 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6138 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
6140 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
6142 Synchronize with Tramp repository.
6144 * net/tramp.el (tramp-completion-function-alist)
6145 (tramp-file-name-regexp, tramp-chunksize)
6146 (tramp-local-coding-commands, tramp-remote-coding-commands):
6148 (tramp-remote-process-environment): Use `format' instead of `concat'.
6149 (tramp-handle-directory-files-and-attributes)
6150 (tramp-get-remote-path): Use `copy-tree'.
6151 (tramp-handle-file-name-all-completions): Backward/ XEmacs
6152 compatibility: Use `completion-ignore-case' if
6153 `read-file-name-completion-ignore-case' does not exist.
6154 (tramp-do-copy-or-rename-file-directly): Do not use
6155 `tramp-handle-file-remote-p'.
6156 (tramp-do-copy-or-rename-file-out-of-band):
6157 Use `tramp-compat-delete-directory'.
6158 (tramp-do-copy-or-rename-file-out-of-band)
6159 (tramp-compute-multi-hops, tramp-maybe-open-connection):
6160 Use `format-spec-make'.
6161 (tramp-find-foreign-file-name-handler)
6162 (tramp-advice-make-auto-save-file-name)
6163 (tramp-set-auto-save-file-modes): Remove superfluous check for
6164 `stringp'. This is done inside `tramp-tramp-file-p'.
6165 (tramp-debug-outline-regexp): New defconst.
6166 (tramp-get-debug-buffer): Use it.
6167 (tramp-check-for-regexp): Use (forward-line 1).
6168 (tramp-set-auto-save-file-modes): Adapt version check.
6170 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
6171 Wrap call of `featurep' for 2nd argument.
6172 (tramp-compat-make-temp-file): Simplify fallback implementation.
6173 (tramp-compat-copy-tree): Remove function.
6174 (tramp-compat-delete-directory): Provide implementation for older
6177 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
6178 Do not use `tramp-fish-handle-file-attributes.
6180 * net/trampver.el: Update release number.
6182 2010-04-10 Glenn Morris <rgm@gnu.org>
6184 * progmodes/compile.el (compilation-save-buffers-predicate):
6185 Add missing :version tag.
6187 2010-04-09 Sam Steingold <sds@gnu.org>
6189 * progmodes/compile.el (compilation-save-buffers-predicate):
6190 Remove the "autoload" cookie.
6192 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
6193 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
6194 and `bug-reference-prog-mode' can be used in hooks directly.
6196 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
6198 Add --author support to git commit.
6199 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
6200 (vc-git-log-edit-mode): New minor mode.
6201 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
6204 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
6206 * vc-hooks.el, vc-git.el: Improve documentation comments.
6208 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6210 Fix some of the problems in defsubst* (bug#5728).
6211 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
6212 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
6214 2010-04-07 Sam Steingold <sds@gnu.org>
6216 * progmodes/compile.el (compilation-save-buffers-predicate):
6217 New custom variable.
6218 (compile, recompile): Pass it to `save-some-buffers'.
6220 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
6222 * wid-edit.el (widget-choose): Move cursor to the second line of
6223 the buffer (Bug#5695).
6225 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6227 Add new VC methods: vc-log-incoming and vc-log-outgoing.
6228 * vc.el (vc-print-log-setup-buttons): New function split out from
6229 vc-print-log-internal.
6230 (vc-log-internal-common): New function, a parametrized version of
6231 vc-print-log-internal.
6232 (vc-print-log-internal): Just call vc-log-internal-common with the
6234 (vc-incoming-outgoing-internal):
6235 (vc-log-incoming, vc-log-outgoing): New functions.
6236 (vc-log-view-type): New permanent local variable.
6238 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
6240 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
6241 of the dynamic bound vc-short-log.
6242 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
6244 * vc-git.el (vc-git-log-outgoing): New function.
6245 (vc-git-log-view-mode): Use vc-log-view-type instead
6246 of the dynamic bound vc-short-log.
6248 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
6249 of the dynamic bound vc-short-log. Highlight the tag.
6250 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
6251 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
6252 (vc-hg-incoming-mode): Remove.
6253 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
6255 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
6257 Fix default-directory for vc-root-diff.
6258 * vc.el (vc-root-diff): Bind default-directory to the root
6259 directory for the diff command.
6261 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
6263 * progmodes/verilog-mode.el (verilog-forward-sexp):
6264 (verilog-calc-1): Support "disable fork" and "fork wait" multi
6265 word keywords, suggested by Steve Pearlmutter.
6266 (verilog-pretty-declarations): Support lineup of declarations in
6268 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
6269 fix bug for /* / comments.
6270 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
6271 Speed up and simplfy as this is never called with a bound.
6272 (verilog-pretty-declarations): Enhance to line up declarations
6273 inside a parameter list, suggested by Alan Morgan.
6274 (verilog-pretty-expr): Tune assignment regular expression match
6275 string for corner cases; also use markers instead of character
6276 number as indent changes the later.
6278 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
6280 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
6282 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
6283 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
6284 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
6285 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
6288 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
6289 1800-2009 keywords, including "global.".
6291 2010-04-06 John Wiegley <jwiegley@gmail.com>
6293 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
6294 appearing in buffer list (if a live buffer name matched a recentf
6295 file basename). Should use uniquify to offer a real solution.
6297 2010-04-06 John Wiegley <jwiegley@gmail.com>
6299 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
6300 comment to code, and add a :version tag.
6301 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
6303 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
6305 Enable recentf-mode if using virtual buffers.
6306 * ido.el (recentf-list): Declare for byte-compiler.
6307 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
6308 (ido-make-buffer-list): Simplify.
6309 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
6311 2010-04-05 Juri Linkov <juri@jurta.org>
6313 Scrolling commands which scroll a line instead of full screen.
6314 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6316 * simple.el (scroll-up-line, scroll-down-line): New commands.
6317 Put property isearch-scroll=t on them.
6319 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
6322 2010-04-05 Juri Linkov <juri@jurta.org>
6324 Scrolling commands which do not signal errors at top/bottom.
6325 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
6327 * simple.el (scroll-up-command, scroll-down-command): New commands.
6328 Put property isearch-scroll=t on them.
6330 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
6331 `scroll-down-command' and [next] from `scroll-up' to
6332 `scroll-up-command'.
6334 * emulation/cua-base.el: Put property CUA=move on
6335 `scroll-up-command' and `scroll-down-command'.
6336 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
6337 and `scroll-down-command' to `cua-scroll-down'.
6339 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
6341 * help.el (describe-mode): Return nil.
6343 2010-04-04 John Wiegley <jwiegley@gmail.com>
6345 * ido.el (ido-use-virtual-buffers): New variable to indicate
6346 whether "virtual buffer" support is enabled for IDO.
6347 (ido-virtual): Face used to indicate virtual buffers in the list.
6348 (ido-buffer-internal): If a buffer is chosen, and no such buffer
6349 exists, but a virtual buffer of that name does (which would be why
6350 it was in the list), recreate the buffer by reopening the file.
6351 (ido-make-buffer-list): If virtual buffers are being used, call
6352 `ido-add-virtual-buffers-to-list' before the make list hook.
6353 (ido-virtual-buffers): New variable which contains a copy of the
6354 current contents of the `recentf-list', albeit pared down for the
6355 sake of speed, and with proper faces applied.
6356 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
6357 create a list of "virtual buffers" to present to the user in
6358 addition to the currently open set. Note that this logic could
6359 get rather slow if that list is too large. With the default
6360 `recentf-max-saved-items' of 200, there is little speed penalty.
6362 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
6364 * font-lock.el: Require CL when compiling.
6365 (font-lock-turn-on-thing-lock): Use `case'.
6367 2010-04-03 Eli Zaretskii <eliz@gnu.org>
6369 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
6372 2010-04-02 Juri Linkov <juri@jurta.org>
6374 * ehelp.el (electric-help-orig-major-mode):
6375 New buffer-local variable.
6376 (electric-help-mode): Set it to original major-mode. Doc fix.
6377 (with-electric-help): Use `electric-help-orig-major-mode' instead
6378 of (default-value 'major-mode). Doc fix.
6379 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
6381 2010-04-02 Sam Steingold <sds@gnu.org>
6383 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
6384 `vc-hg-command' with a list of flags.
6386 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6387 Also accept "patch" and "RFE".
6388 (bug-reference-fontify): `bug-reference-url-format' can also be a
6389 function to be able to handle the bug kind.
6390 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
6392 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
6394 * tmm.el (tmm-get-keymap): Check with symbolp before passing
6395 value to fboundp, it may not be a symbol.
6397 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6399 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
6401 2010-03-31 Juri Linkov <juri@jurta.org>
6403 * simple.el (next-line, previous-line): Re-throw a signal
6404 with `signal' instead of using `ding'.
6405 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
6407 2010-03-31 Juri Linkov <juri@jurta.org>
6409 * simple.el (keyboard-escape-quit): Raise deselecting the active
6410 region higher than exiting the minibuffer.
6411 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
6413 2010-03-31 Juri Linkov <juri@jurta.org>
6415 * image.el (image-animated-p): Use `image-metadata' instead of
6416 `image-extension-data'. Get GIF extenstion data from metadata
6417 property `extension-data'.
6419 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6421 * simple.el (append-to-buffer): Simplify.
6423 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
6425 * textmodes/artist.el (artist-mode): Fix typo in docstring.
6426 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
6428 2010-03-31 Kenichi Handa <handa@m17n.org>
6430 * language/sinhala.el (composition-function-table): Fix regexp for
6431 the new Unicode specification.
6433 * language/indian.el (devanagari-composable-pattern)
6434 (tamil-composable-pattern, kannada-composable-pattern)
6435 (malayalam-composable-pattern): Adjust for the new Unicode
6437 (bengali-composable-pattern, gurmukhi-composable-pattern)
6438 (gujarati-composable-pattern, oriya-composable-pattern)
6439 (telugu-composable-pattern): New variables to cope with the new
6440 Unicode specification. Use them in composition-function-table.
6442 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6444 Make tmm-menubar work for the Buffers menu again (bug#5726).
6445 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
6446 vectors rather than cons cells, as used in menu-bar-update-buffers.
6448 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6450 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
6451 (js-insert-and-indent): Revert 2009-08-15 change, restoring
6452 electric punctuation for "{}();,:" (Bug#5586).
6454 * mail/sendmail.el (mail-default-directory): Doc fix.
6456 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6458 * mail/sendmail.el (mail-default-directory): Doc fix.
6460 2010-03-31 Eli Zaretskii <eliz@gnu.org>
6462 * subr.el (version-regexp-alist, version-to-list)
6463 (version-list-<, version-list-=, version-list-<=)
6464 (version-list-not-zero, version<, version<=, version=): Doc fix.
6467 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
6469 * vc.el (vc-root-diff): Doc fix.
6471 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6473 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
6475 * simple.el (append-to-buffer): Fix last change.
6477 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
6479 * simple.el (append-to-buffer): Ensure that point is preserved if
6480 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
6483 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6485 * files.el (auto-mode-case-fold): Change default to t.
6487 2010-03-30 Juri Linkov <juri@jurta.org>
6489 * dired-x.el (dired-omit-mode): Doc fix.
6491 2010-03-30 Juri Linkov <juri@jurta.org>
6493 * replace.el (occur-accumulate-lines): Move occur-engine related
6494 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
6495 to be located after `occur-engine'.
6497 2010-03-30 Juri Linkov <juri@jurta.org>
6499 Make occur handle multi-line matches cleanly with context.
6500 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
6502 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
6503 (occur-engine): Add local variables `ret', `prev-after-lines',
6504 `prev-lines'. Use more arguments for `occur-context-lines'.
6505 Set first elem of its returned list to `data', and the second elem
6506 to `prev-after-lines'. Don't print the separator line.
6507 In the end, print remaining context after-lines.
6508 (occur-context-lines): Add new arguments `begpt', `endpt',
6509 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
6510 after-lines of the previous match with before-lines of the
6511 current match and not overlap them. Return a list with two
6512 values: the output line and the list of context after-lines.
6514 2010-03-30 Juri Linkov <juri@jurta.org>
6516 * replace.el (occur-accumulate-lines): Fix a bug where the first
6517 context line at the beginning of the buffer was missing.
6519 2010-03-30 Eli Zaretskii <eliz@gnu.org>
6521 * files.el: Make bidi-display-reordering safe variable for boolean
6524 2010-03-29 Phil Hagelberg <phil@evri.com>
6525 Chong Yidong <cyd@stupidchicken.com>
6527 * subr.el: Extend progress reporters to perform "spinning".
6528 (progress-reporter-update, progress-reporter-do-update):
6529 Handle non-numeric value arguments.
6530 (progress-reporter--pulse-characters): New var.
6532 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
6534 * progmodes/compile.el (compilation-start): Fix regexp detection
6535 of initial cd command (Bug#5771).
6537 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
6539 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
6541 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
6543 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
6544 * progmodes/gdb-mi.el: Restore.
6545 * progmodes/gdb-ui.el: Remove.
6546 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
6548 2010-03-25 Glenn Morris <rgm@gnu.org>
6550 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
6551 all dired buffers, even tramp ones. (Bug#5755)
6553 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6555 Add "union tags" in mpc.el.
6556 * mpc.el: Remove backward compatibility code.
6557 (mpc-browser-tags): Change default.
6558 (mpc--find-memoize-union-tags): New var.
6559 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
6560 (mpc-cmd-find): Handle the case where the playlist does not exist.
6562 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
6563 (mpc-cmd-add): Use mpc-cmd-flush.
6564 (mpc-tagbrowser-tag-name): New fun.
6565 (mpc-tagbrowser-buf): Use it.
6566 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
6568 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6571 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
6572 Use replace-regexp-in-string.
6573 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
6574 (makefile-imake-mode-syntax-table): Move init into defvar.
6575 (makefile-mode): Use define-derived-mode.
6577 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
6578 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
6579 not be present any more.
6581 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6583 * faces.el (set-face-attribute): Fix typo in docstring.
6584 (face-valid-attribute-values): Reflow docstring.
6586 2010-03-24 Glenn Morris <rgm@gnu.org>
6588 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
6590 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6592 * indent.el (indent-for-tab-command): Doc fix.
6594 2010-03-24 Alan Mackenzie <acm@muc.de>
6596 * progmodes/cc-engine.el (c-remove-stale-state-cache):
6597 Fix off-by-one error. Fixes bug #5747.
6599 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6601 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
6602 (image-dired-read-comment): Doc fix.
6604 * json.el (json-object-type, json-array-type, json-key-type)
6605 (json-false, json-null, json-read-number):
6606 * minibuffer.el (completion-in-region-functions):
6607 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
6608 (cal-tex-cursor-week):
6609 * emacs-lisp/trace.el (trace-function):
6610 * eshell/em-basic.el (eshell/printnl):
6611 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
6612 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
6613 * obsolete/levents.el (allocate-event, event-key, event-object)
6614 (event-point, event-process, event-timestamp, event-to-character)
6615 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
6616 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
6617 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
6618 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
6619 (reftex-highlight-selection): Fix typos in docstrings.
6621 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
6623 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
6625 2010-03-24 Glenn Morris <rgm@gnu.org>
6627 * mail/rmail.el (rmail-highlight-face): Restore option deleted
6628 2008-02-13 without comment; mark it obsolete.
6629 (rmail-highlight-headers): Use rmail-highlight-face once more.
6631 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
6633 * woman.el (woman2-process-escapes): Only consume the newline if
6634 the filler character is on a line by itself (Bug#5729).
6636 2010-03-24 Kenichi Handa <handa@m17n.org>
6638 * language/indian.el (devanagari-composable-pattern): Add more
6641 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6643 * net/trampver.el: Update release number.
6645 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
6647 * net/tramp.el (tramp-find-executable):
6648 Use `tramp-get-connection-buffer'. Make the regexp for checking
6649 output of "wc -l" more robust.
6650 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
6651 (tramp-open-connection-setup-interactive-shell): Remove workaround
6652 for OpenSolaris bug, it is not needed anymore.
6654 2010-03-24 Glenn Morris <rgm@gnu.org>
6656 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
6658 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
6660 * files.el (auto-mode-alist): Accept more verilog file patterns.
6662 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6664 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
6666 2010-03-24 Glenn Morris <rgm@gnu.org>
6668 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
6669 log-edit-before-checkin-process.
6671 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
6673 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
6675 * vc-dispatcher.el (vc-start-logentry): Doc fix.
6676 (log-view-process-buffer, log-edit-extra-flags): Declare.
6678 * log-edit.el (log-edit-before-checkin-process): Doc fix.
6680 2010-03-23 Sam Steingold <sds@gnu.org>
6682 Fix bug#5620: recalculate all markers on compilation buffer
6683 modifications, not on file modifications.
6684 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
6685 the buffer modification time, for buffers not associated with files.
6686 (compilation-mode): Create it.
6687 (compilation-filter): Update it.
6688 (compilation-next-error-function): Use it instead of
6689 `visited-file-modtime' for timestamp.
6691 2010-03-23 Juri Linkov <juri@jurta.org>
6693 Implement Occur multi-line matches.
6694 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
6696 * replace.el (occur): Doc fix.
6697 (occur-engine): Set `begpt' to the beginning of the first line.
6698 Set `endpt' to the end of the last match line. At first, count
6699 line numbers between `origpt' and `begpt'. Split out code from
6700 `out-line' variable to new let-bindings `match-prefix' and
6701 `match-str'. In `out-line' add non-numeric prefix to all
6702 non-first lines of multi-line matches. Finally, count lines
6703 between `begpt' and `endpt' and add to `lines'.
6705 2010-03-23 Juri Linkov <juri@jurta.org>
6707 * replace.el (occur-accumulate-lines, occur-engine):
6708 Use `occur-engine-line' instead of duplicate code.
6709 (occur-engine-line): New function created from duplicate code
6710 in `occur-accumulate-lines' and `occur-engine'.
6712 * replace.el (occur-engine-line): Add optional arg `keep-props'.
6713 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
6715 2010-03-23 Juri Linkov <juri@jurta.org>
6717 * finder.el: Remove TODO tasks.
6719 * info.el (Info-finder-find-node): Add node "all"
6720 with all package info. Handle a list of multiple keywords
6722 (info-finder): In interactive use with a prefix argument,
6723 use `completing-read-multiple' to read a list of keywords
6726 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6728 Add a new completion style `substring'.
6729 * minibuffer.el (completion-basic--pattern): New function.
6730 (completion-basic-try-completion, completion-basic-all-completions):
6732 (completion-substring--all-completions)
6733 (completion-substring-try-completion)
6734 (completion-substring-all-completions): New functions.
6735 (completion-styles-alist): New style `substring'.
6737 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6739 Get rid of .elc files after removal of the corresponding .el.
6740 * Makefile.in (compile-clean): New target.
6741 (compile-main): Use it.
6743 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
6745 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
6746 don't do make there. When compiling with separate object dir, there
6747 is no Makefile there.
6749 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
6751 Get rid of the ELCFILES abomination, again.
6752 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
6753 (all, compile): Don't call compile-last.
6754 (compile-main): Build the "elcfiles" list dynamically.
6755 (compile-targets): New (internal) target.
6757 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
6759 * Makefile.in (top_srcdir): Define.
6760 (abs_top_builddir): Define.
6761 (srcdir): Don't append `/..'.
6762 (EMACS): Use ${abs_top_builddir}.
6763 (all, compile, compile-always, compile-last): Don't set emacswd.
6764 (update-subdirs, update-authors): Use $(top_srcdir) instead of
6766 (lisp): Use $(srcdir) instead of @srcdir@.
6768 2010-03-21 Juri Linkov <juri@jurta.org>
6770 Fix message of multi-line occur regexps and multi-buffer header lines.
6771 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6773 * replace.el (occur-1): Don't display regexp if it is longer
6774 than window-width. Use `query-replace-descr' to display regexp.
6775 (occur-engine): Don't display regexp in the buffer header for
6776 multi-buffer occur. Display a separate header line with total
6777 match count and regexp for multi-buffer occur.
6778 Use `query-replace-descr' to display regexp.
6780 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
6782 * net/secrets.el: Fix parenthesis.
6783 (secrets-enabled): Fix parenthesis.
6785 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6787 Use more relative file and directory names.
6788 * Makefile.in (EMACS): Arrange for it to work when we chdir.
6789 (setwins, setwins_almost, setwins_for_subdirs):
6790 Don't `cd'; output relative names.
6791 (all, compile, compile-always, compile-last): Set emacswd.
6792 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6793 Just cd to the lisp source dir so we can use relative file names.
6795 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6797 2010-03-20 Glenn Morris <rgm@gnu.org>
6799 * textmodes/rst.el: Use faces for font-lock customization, and make the
6800 old -face variables obsolete.
6801 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6802 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6803 (rst-block-face, rst-external-face, rst-definition-face)
6804 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6805 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6807 (rst-font-lock-keywords-function): Update for above changes.
6809 2010-03-20 Juri Linkov <juri@jurta.org>
6812 * obsolete/s-region.el: Move to obsolete.
6814 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
6816 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6818 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6820 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6822 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6824 Add special markup processing for commit logs.
6825 * log-edit.el (log-edit-extra-flags): New variable.
6826 (log-edit): Add new argument MODE. Use that mode when non-nil
6827 instead of the log-view-mode.
6828 (log-view-process-buffer): New function.
6830 * vc.el: Document that the checkin method takes optional
6831 arguments. Document new backend specific method: log-view-mode.
6832 (vc-default-log-edit-mode): New function.
6833 (vc-checkin): Use a backend specific log-view-mode.
6834 Pass extra arguments to the checkin method.
6835 (vc-modify-change-comment): Pass a dummy extra argument.
6837 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6839 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6840 (vc-finish-logentry): Process the log buffer before passing it
6841 down. Pass log-edit-extra-flags.
6843 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6845 (log-edit-extra-flags, log-edit-before-checkin-process):
6848 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6850 (log-edit-extra-flags, log-edit-before-checkin-process):
6852 (vc-hg-log-edit-mode): New derived mode.
6854 * vc-arch.el (vc-arch-checkin):
6855 * vc-cvs.el (vc-cvs-checkin):
6856 * vc-git.el (vc-git-checkin):
6857 * vc-mtn.el (vc-mtn-checkin):
6858 * vc-rcs.el (vc-rcs-checkin):
6859 * vc-sccs.el (vc-sccs-checkin):
6860 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6862 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6864 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6867 2010-03-19 Glenn Morris <rgm@gnu.org>
6869 * password-cache.el (password-cache, password-cache-expiry): Autoload.
6871 2010-03-18 Glenn Morris <rgm@gnu.org>
6873 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6875 * replace.el (query-replace-history): Give it a doc string.
6876 (map-query-replace-regexp): Use query-replace-from-history-variable
6877 and query-replace-to-history-variable.
6879 * mail/hashcash.el (declare-function): Remove duplicate definition.
6881 * mail/emacsbug.el (report-emacs-bug-pretest-address):
6882 Make it an obsolete alias for report-emacs-bug-address.
6883 (message-strip-special-text-properties): Declare.
6884 (report-emacs-bug): Remove test for a pretest bug address.
6885 Combine message-mode-specific code.
6887 * mail/supercite.el: Don't require sendmail.
6888 (mh-in-header-p): Declare rather than using with-no-warnings.
6889 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6890 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
6892 * calendar/cal-french.el: Convert to utf-8.
6894 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6897 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
6899 * net/secrets.el (secrets-enabled): New variable. Use it instead
6902 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
6904 * net/secrets.el (top): Register the D-Bus signals only when the
6905 service "org.freedesktop.secrets" can be pinged.
6906 Provide subfeature `enabled'.
6908 2010-03-14 Juri Linkov <juri@jurta.org>
6910 Add finder unknown keywords.
6912 * finder.el (finder-unknown-keywords): New function.
6914 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6915 to create a Finder node with unknown keywords.
6917 2010-03-14 Juri Linkov <juri@jurta.org>
6919 * finder.el (finder-compile-keywords): Replace `princ' with
6920 `prin1' on a list of symbols interned from keyword strings.
6922 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6923 a comma, then split keywords using a comma and optional whitespace.
6924 Otherwise, split by whitespace.
6932 * progmodes/mixal-mode.el: Fix keywords.
6934 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
6936 * Makefile.in (ELCFILES): Add net/secrets.elc.
6938 * net/secrets.el: New file.
6940 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6942 * facemenu.el (list-colors-display, list-colors-print): New arg
6943 callback. Use it to allow selecting colors.
6945 * wid-edit.el (widget-image-insert): Insert image prop even if the
6946 current display is non-graphic.
6947 (widget-field-value-set): New fun.
6948 (editable-field): Use it.
6949 (widget-field-value-get): Clean up unused var.
6950 (widget-color-value-create, widget-color--choose-action):
6951 New funs. Allow using list-colors-display to choose color.
6953 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6955 * cus-edit.el: Resort topmost custom groups.
6956 (custom-buffer-sort-alphabetically): Default to t.
6957 (customize-apropos): Use apropos-parse-pattern.
6958 (custom-search-field): New var.
6959 (custom-buffer-create-internal): Add custom-apropos search field.
6960 (custom-add-parent-links): Don't display parent doc.
6961 (custom-group-value-create): Don't sort top-level custom group.
6962 (custom-magic-value-create): Show visibility button before option name.
6964 (custom-variable-state): New fun, from custom-variable-state-set.
6965 (custom-variable-state-set): Use it.
6966 (custom-group-value-create): Hide options with standard values
6967 using the :hidden-states property. Use progress reporter.
6969 (custom-show): Simplify.
6970 (custom-visibility): Disable images by default.
6971 (custom-variable): New property :hidden-states.
6972 (custom-variable-value-create): Enable images for
6973 custom-visibility widgets. Use :hidden-states property to
6974 determine initial visibility.
6976 * wid-edit.el (widget-image-find): Give images center ascent.
6977 (visibility): Add :on-image and :off-image properties.
6978 (widget-visibility-value-create): Use them.
6980 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6982 * cus-edit.el (processes): Remove from development group.
6983 (oop, hypermedia): Delete group.
6984 (comm): Promote to top-level group.
6986 * net/browse-url.el (browse-url):
6987 * net/xesam.el (xesam):
6988 * net/tramp.el (tramp):
6989 * net/goto-addr.el (goto-address):
6990 * net/ange-ftp.el (ange-ftp): Put in comm group.
6992 * view.el (view): Remove from editing group.
6994 * uniquify.el (uniquify): Put in files group.
6996 * net/browse-url.el (browse-url):
6997 * ps-print.el (postscript): Put in external group.
6999 * cus-edit.el (outlines):
7000 * textmodes/text-mode.el (text-mode-hook):
7001 * textmodes/table.el (table):
7002 * textmodes/picture.el (picture):
7003 * outline.el (outlines): Put in wp group.
7005 * nxml/nxml-mode.el (nxml): Remove from wp group.
7007 * net/tramp-imap.el (tramp-imap): Put in tramp group.
7009 * mail/metamail.el (metamail): Remove from hypermedia group.
7011 * cus-edit.el (abbrev):
7012 * whitespace.el (whitespace):
7013 * vcursor.el (vcursor):
7014 * reveal.el (reveal):
7015 * hl-line.el (hl-line): Put in convenience group.
7017 * epg-config.el (epg): Put in data group.
7019 * emulation/pc-select.el (pc-select): Put in emulations group.
7021 * calculator.el (calculator): Put in applications group.
7023 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7025 Add .dir-locals.el support for file-less buffers.
7026 * files.el (hack-local-variables): Split out code to apply local
7027 variable settings ...
7028 (hack-local-variables-apply): ... here. New function.
7029 (hack-dir-local-variables): Use the default directory for when the
7030 buffer does not have an associated file.
7031 (hack-dir-local-variables-non-file-buffer): New function.
7032 * diff-mode.el (diff-mode):
7033 * vc-annotate.el (vc-annotate-mode):
7034 * vc-dir.el (vc-dir-mode):
7035 * log-edit.el (log-edit-mode):
7036 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
7038 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
7040 Add support for shelving snapshots and for showing shelves.
7041 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
7042 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
7044 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
7045 (vc-bzr-extra-menu-map): Map them.
7047 2010-03-11 Glenn Morris <rgm@gnu.org>
7049 * cus-edit.el (customize-changed-options-previous-release):
7052 * image.el (image-animate-max-time): Fix :version tag.
7054 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
7058 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
7060 * vc-git.el (vc-git-revision-table): Include remote branches.
7062 2010-03-10 Kim F. Storm <storm@cua.dk>
7065 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
7067 * image.el (image-animate-max-time): New defcustom.
7068 (image-animated-types): New defconst.
7069 (create-animated-image, image-animate-timer)
7070 (image-animate-start, image-animate-stop, image-animate-timeout)
7071 (image-animated-p): New functions.
7073 * image-mode.el (image-toggle-display-image):
7074 Replace `create-image' with `create-animated-image'.
7076 2010-03-09 Miles Bader <miles@gnu.org>
7078 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
7079 instead of "format:"; this ensures that the output is
7082 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
7084 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
7085 that all errors are caught, and that the return value is always a
7088 2010-03-08 Kenichi Handa <handa@m17n.org>
7090 * language/misc-lang.el (windows-1256): New coding system.
7091 (cp1256): New alias of windows-1256 (bug#5690).
7093 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
7095 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
7096 call to rfc822-bad-address. (Bug#5692)
7098 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
7100 * vc-git.el (vc-git-annotate-extract-revision-at-line):
7101 Use vc-git-root as default directory for revision path (Bug#5657).
7103 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
7105 * calculator.el (calculator): Don't bind split-window-keep-point
7108 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
7110 * vc-git.el: Re-flow to fit into 80 columns.
7111 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
7112 Remove spurious `quote' element in each case alternative.
7113 (vc-git-show-log-entry): Use prog1.
7114 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
7116 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
7120 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
7122 * macros.el (insert-kbd-macro): Look up keyboard macro using the
7123 definition, not the name (Bug#5481).
7125 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
7127 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
7128 argument with a local variable. (Bug#5670)
7130 2010-03-02 Juri Linkov <juri@jurta.org>
7132 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
7134 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
7136 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
7137 error when FILENAME and NEWNAME are existing remote directories.
7139 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
7142 2010-03-02 Glenn Morris <rgm@gnu.org>
7144 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
7145 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
7147 2010-03-01 Kenichi Handa <handa@m17n.org>
7149 * language/burmese.el (burmese-composable-pattern): Rename from
7150 myanmar-composable-pattern.
7152 * international/characters.el (script-list):
7153 * international/fontset.el (script-representative-chars):
7154 Change myanmar to burmese.
7155 (otf-script-alist): Likewise.
7156 (setup-default-fontset): Likewise. Re-fix :otf spec.
7158 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
7160 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
7162 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
7164 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
7166 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7168 * net/tramp.el (tramp-handle-write-region): START can be a string.
7169 Take care in the checks. Reported by Dan Davison
7170 <davison@stats.ox.ac.uk>.
7172 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
7174 * net/dbus.el (dbus-introspect, dbus-get-property)
7175 (dbus-set-property, dbus-get-all-properties):
7176 Use `dbus-call-method' when noninteractive. (Bug#5645)
7178 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
7180 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
7181 * emacs-lisp/elint.el (elint-add-required-env):
7182 * calendar/icalendar.el (icalendar--add-diary-entry):
7183 * calc/calcalg2.el (math-tracing-integral):
7184 * files.el (recover-session-finish): Use with-current-buffer
7185 instead of save-excursion.
7187 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
7189 Fix in-buffer completion when after-change-functions modify the buffer.
7190 * minibuffer.el (completion--replace): New function.
7191 (completion--do-completion): Use it and use relative movement.
7193 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
7195 * international/fontset.el (setup-default-fontset): Fix :otf spec.
7197 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
7199 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
7200 Allow the characters _<> in the stack entry (Bug#5653).
7202 2010-02-26 Kenichi Handa <handa@m17n.org>
7204 * language/burmese.el: Fix entries in composition-function-table.
7205 (myanmar-composable-pattern): New variable.
7207 * international/fontset.el (setup-default-fontset): Add an entry
7210 * international/characters.el (script-list): Add Myanmar
7213 2010-02-26 Glenn Morris <rgm@gnu.org>
7215 * custom.el (custom-initialize-delay): Doc fix.
7217 * mail/sendmail.el (send-mail-function): Autoload the call
7218 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
7220 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
7222 * files.el (hack-local-variables-filter): For eval forms, also
7223 check safe-local-variable-p (Bug#5636).
7225 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
7227 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
7228 setting the modes by `ignore-errors'. It might fail, for example
7229 if the file is not owned by the user but the group.
7230 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
7232 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
7234 * files.el (directory-listing-before-filename-regexp): Use
7235 stricter matching for iso-style dates, to avoid false matches with
7236 date-like filenames (Bug#5597).
7238 * htmlfontify.el (htmlfontify): Doc fix.
7240 * eshell/eshell.el (eshell): Doc fix.
7242 * startup.el (fancy-about-screen): In mode-line, apply
7243 mode-line-buffer-id face only to the buffer name (Bug#5613).
7245 2010-02-20 Kevin Ryde <user42@zip.com.au>
7247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7248 In `watcom' anchor regexp to start of line, to avoid slowness
7251 2010-02-20 Eli Zaretskii <eliz@gnu.org>
7253 * subr.el (remove-yank-excluded-properties): Explain in a comment
7254 why `category' property is removed.
7256 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
7258 * isearch.el (isearch-update-post-hook, isearch-update): Revert
7261 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
7263 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
7264 (icalendar--convert-weekly-to-ical)
7265 (icalendar--convert-yearly-to-ical)
7266 (icalendar--convert-block-to-ical)
7267 (icalendar--convert-cyclic-to-ical)
7268 (icalendar--convert-anniversary-to-ical): Take care of time
7269 specifications where hour has 1-digit only (Bug#5549).
7271 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
7273 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
7274 of disassemble output in GDB 7.1.
7276 2010-02-19 Glenn Morris <rgm@gnu.org>
7278 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
7279 property. (Bug#5593)
7281 2010-02-18 Sam Steingold <sds@gnu.org>
7283 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7285 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
7287 Use abbreviated file names in bookmarks (bug#5591).
7288 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
7289 calls to expand-file-name.
7290 (bookmark-relocate): Use abbreviated file names in bookmarks.
7291 (bookmark-load): Use abbreviated file names in messages.
7293 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7295 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
7296 expand "." and "..". Reported by Thierry Volpiatto
7297 <thierry.volpiatto@gmail.com>.
7299 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
7301 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
7302 permissions of the temporary file to "0600". In case the remote
7303 file has no read permissions for the owner, there might be
7304 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
7306 22010-02-18 Glenn Morris <rgm@gnu.org>
7308 * emacs-lisp/authors.el (authors-renamed-files-alist):
7309 Add entries for INSTALL.CVS.
7311 2010-02-17 Mark A. Hershberger <mah@everybody.org>
7313 * vc-bzr.el: Fix typo in Known Bugs section.
7315 * isearch.el (isearch-update-post-hook): New hook.
7316 (isearch-update): Use the new hook.
7318 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
7320 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
7321 Fix errors in copying directories.
7322 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
7323 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
7324 (tramp-handle-delete-file)
7325 (tramp-handle-dired-recursive-delete-directory)
7326 (tramp-handle-write-region): Flush also the cache for the upper
7329 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
7331 * simple.el (save-interprogram-paste-before-kill): Doc fix.
7333 * cus-edit.el (hardware): Doc fix.
7335 * man.el (man): Add to external custom group.
7337 * delim-col.el (columns): Move to wp custom group.
7339 * doc-view.el (doc-view): Add to data custom group.
7341 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
7343 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
7344 by ispell-parse-output (Bug#5575).
7346 2010-02-16 Kenichi Handa <handa@m17n.org>
7348 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
7349 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
7350 (skkdic-convert): Use `euc-japan' coding system for writing.
7352 2010-02-16 Glenn Morris <rgm@gnu.org>
7354 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
7355 tex-main-file before using it. (Bug#5562)
7357 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
7359 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
7360 warnings, since it is annoying for the user to see them each time he
7363 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
7365 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
7366 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
7367 instead of PROC for caching "first-password-request". Otherwise,
7368 new processes would not profit from passwords already entered.
7370 * net/tramp-cache.el (tramp-dump-connection-properties):
7371 Don't save "first-password-request" property.
7373 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
7375 * outline.el (outline-head-from-level):
7376 * simple.el (with-wrapper-hook):
7377 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
7378 (elint-defun, elint-buffer-env, elint-top-form-logged)
7379 (elint-unbound-variable):
7380 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
7381 Fix typos in docstrings.
7383 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
7385 * files.el (insert-directory): When WILDCARD-REGEXP and
7386 FULL-DIRECTORY-P are nil, insert the file entry instead of the
7387 whole directory. (Bug#5551)
7389 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
7390 dired's alignment sanity. (Bug#5516)
7392 2010-02-14 Juri Linkov <juri@jurta.org>
7394 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
7395 Remove remaining ^H with their preceding chars. (Bug#5566)
7397 2010-02-13 Glenn Morris <rgm@gnu.org>
7399 * simple.el (transpose-subr): Give it a doc-string.
7401 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
7404 2010-02-12 Juri Linkov <juri@jurta.org>
7406 * arc-mode.el (archive-unique-fname): Make directories for nested
7407 archives. (Bug#5540)
7409 2010-02-12 Juri Linkov <juri@jurta.org>
7411 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
7413 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
7415 * subr.el (copy-overlay): Handle deleted overlays.
7417 * man.el (Man-completion-table): Don't signal an error if we can't run
7418 manual-program (bug#4056).
7420 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
7422 * textmodes/artist.el (artist-mt): Fix typos in docstring.
7424 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7426 * info.el (Info-bookmark-jump): Simplify.
7428 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
7429 (bookmark-default-handler): Accept new bookmark field `buffer'.
7431 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
7433 * iswitchb.el (iswitchb-completions): Revert last change.
7435 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
7437 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
7438 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
7439 This prevents file names like "~/" being listed literally.
7441 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
7443 * term/xterm.el (xterm-maybe-set-dark-background-mode):
7444 Remove dead code. (Bug#5546)
7446 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
7448 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
7449 correctly (Bug#5548).
7451 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
7453 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
7454 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
7456 2010-02-08 Kenichi Handa <handa@m17n.org>
7458 * international/mule-util.el (with-coding-priority): Add autoload
7459 cookie for putting `lisp-indent-function'.
7461 2010-02-07 Glenn Morris <rgm@gnu.org>
7463 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
7464 Move F2003 named interfaces from keywords-2 to keywords-1, and
7465 use function-name-face rather than constant-face.
7466 Simplify "abstract interface" regexp.
7468 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
7470 * eshell/esh-util.el (eshell-file-attributes): New optional arg
7471 ID-FORMAT. Pass it to `file-attributes'.
7473 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
7475 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
7477 * faces.el (set-face-attribute): Allow calling
7478 internal-set-lisp-face-attribute with 'unspecified family and
7479 foundry argument (Bug#5536).
7481 2010-02-07 Glenn Morris <rgm@gnu.org>
7483 * progmodes/f90.el (f90-font-lock-keywords-2)
7484 (f90-looking-at-type-like, f90-looking-at-program-block-end):
7485 Handle F2003 named interfaces.
7487 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
7489 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
7490 beg and end before calling c-get-state-before-change-functions.
7492 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
7494 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
7496 2010-02-05 Juri Linkov <juri@jurta.org>
7498 * doc-view.el (doc-view-mode):
7499 * image-mode.el (image-mode): Put property mode-class=special.
7502 2010-02-05 Mark A. Hershberger <mah@everybody.org>
7504 * vc-svn.el (vc-svn-revision-table): New function.
7506 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
7508 * net/ange-ftp.el (ange-ftp-insert-directory):
7509 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7510 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7511 Handle also directories. (Bug#5478)
7513 2010-02-05 Glenn Morris <rgm@gnu.org>
7515 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
7517 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
7519 * startup.el (command-line-1): Convert options beginning with a
7520 single dash as well (Bug#5519).
7522 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
7524 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
7525 * minibuffer.el (completion-initials-expand): Only check the presence
7526 of delims *within* the boundaries, since otherwise the / delim is
7527 always found for files.
7529 Fix up various corner case problems.
7530 * doc-view.el (doc-view-last-page-number): New function.
7531 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
7532 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
7533 (doc-view-kill-proc): Avoid inf-loop in freak cases.
7534 (doc-view-reconvert-doc): Use the new recursive delete-directory.
7535 (doc-view-convert-current-doc): Don't create the resolution.el file
7537 (doc-view-pdf/ps->png): Do it here instead.
7538 (doc-view-already-converted-p): Check that resolution.el is present.
7539 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
7540 windows that are not yet showing images.
7542 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
7544 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
7545 `dired-uncache' for every elemnt which is an absolute file name.
7547 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
7548 directory, handle its directory component.
7549 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
7550 function is called permanently and creates noise, otherwise.
7552 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
7553 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
7554 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
7556 2010-02-04 David Burger <dburger@google.com> (tiny change)
7558 * macros.el (apply-macro-to-region-lines):
7559 Minor simplification. (Bug#5485)
7561 2010-02-04 Glenn Morris <rgm@gnu.org>
7563 * mail/rmail.el (rmail-show-message-1): Handle malformed
7564 quoted-printable text. (Bug#5441)
7566 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
7568 * simple.el (visual-line-mode): Capitalize lighter.
7570 2010-02-03 John Wiegley <jwiegley@gmail.com>
7572 * iswitchb.el (iswitchb-completions): Add bookmark files to the
7573 list of files considered for "virtual buffer" completions.
7575 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
7577 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
7578 also in case of (and (not full) (not wildcard)). This is needed
7579 when dired is called with a list of files, which are not in
7580 `default-directory'. (Bug#5478)
7582 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
7586 2010-02-02 Juri Linkov <juri@jurta.org>
7588 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
7589 from unidiff to allow function-line after @@.
7591 2010-02-02 Juri Linkov <juri@jurta.org>
7593 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
7594 '(RCS SCCS) with inverted condition.
7596 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
7598 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
7601 2010-02-01 Juri Linkov <juri@jurta.org>
7603 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
7604 compare with "pkunzip" and "pkzip" instead of only "pkzip".
7605 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
7606 only when (car archive-zip-extract) is "unzip". (Bug#5475)
7608 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
7610 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
7611 (doc-view-revert-buffer): New command.
7612 (doc-view-mode-map): Use it.
7614 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
7616 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
7617 pending merge is detected.
7619 2010-01-31 Juri Linkov <juri@jurta.org>
7621 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
7622 beginning of interactive spec like all other grep commands do.
7623 Put "all" in front of "gz". (Bug#5260)
7625 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
7627 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
7629 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
7631 * dirtrack.el (dirtrack): Warn instead of signalling error if the
7632 regexp is incorrect (Bug#5476).
7634 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
7636 * net/tramp.el (tramp-handle-insert-directory): Handle also
7637 symlinks, when FILENAME is not in `default-directory'.
7639 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7641 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
7642 FILE is not in `default-directory'. (Bug#5478)
7644 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
7645 of SWITCHES. Handle the case, FILENAME is not in
7646 `default-directory'. (Bug#5478)
7647 (tramp-register-file-name-handlers): Add safe-magic property.
7649 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
7651 * arc-mode.el (archive-zip-extract): Quote the argument passed to
7654 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
7656 * progmodes/flymake.el (flymake-allowed-file-name-masks)
7657 (flymake-master-make-header-init): Add other C++ filename masks.
7658 (flymake-find-possible-master-files)
7659 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
7661 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
7663 Fix some busybox annoyances.
7665 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
7666 not responding." string.
7667 (tramp-open-connection-setup-interactive-shell): Dump stty
7668 settings. Enable "neveropen" arg for all `tramp-send-command'
7669 calls. Handle "=" in variable values properly.
7670 (tramp-find-inline-encoding): Raise an error, when no encoding is
7672 (tramp-wait-for-output): Check, whether PROC buffer is available.
7673 Remove spurious " ^H" sequences, sent by busybox.
7674 (tramp-get-ls-command): Suppress coloring, if possible.
7676 2010-01-28 Glenn Morris <rgm@gnu.org>
7678 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
7680 * log-edit.el (log-edit-strip-single-file-name): Add missing
7681 :safe, :group, and :version tags.
7683 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
7685 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
7688 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
7690 * files.el (delete-directory): Handle moving to trash without
7691 first doing recursion (Bug#5436).
7693 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
7695 * vc-hooks.el (vc-path): Mark as obsolete.
7697 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
7699 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
7702 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
7704 (vc-bzr-log-view-mode): Adjust regexp for the above change.
7706 2010-01-25 Mark A. Hershberger <mah@everybody.org>
7708 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
7710 * vc-bzr.el (vc-bzr-revision-table): New function.
7712 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
7714 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
7715 diff-index command. This requires at least git-1.5.5. (Bug#1589).
7717 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
7719 Remove support for adding --signoff on commit.
7720 Future support will use an incompatible generic mechanism.
7721 * vc-git.el (vc-git-add-signoff): Remove variable.
7722 (vc-git-toggle-signoff): Remove function.
7723 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
7725 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
7726 from xterm-set-background-mode. Return t if the background mode
7728 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
7729 earlier, call it again in case the background mode has changed.
7731 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
7733 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7736 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
7738 * emacs-lisp/assoc.el (aelement): Doc fix.
7739 (aput, adelete, amake): Use lexical-let (Bug#5450).
7741 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
7743 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7744 is the same as subprogram call, not declaration. (Bug#5435).
7746 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
7748 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7749 (tramp-smb-maybe-open-connection): Use it.
7751 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
7753 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
7755 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
7757 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7758 just because we see "encoding: 8bit".
7759 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7761 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
7763 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7765 2010-01-22 Eli Zaretskii <eliz@gnu.org>
7767 * jka-compr.el (jka-compr-load): If load-file is not in
7768 load-history, try its file-truename version. (bug#5447)
7770 2010-01-21 Alan Mackenzie <acm@muc.de>
7772 Fix a situation where deletion of a cpp construct throws an error.
7773 * progmodes/cc-engine.el (c-invalidate-state-cache):
7774 Before invoking c-with-all-but-one-cpps-commented-out, check that the
7775 special cpp construct is still in the buffer.
7776 (c-parse-state): Record the special cpp with markers, not numbers.
7778 2010-01-21 Kenichi Handa <handa@m17n.org>
7780 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7781 process last-command-event, as it is now decoded first (Bug#5380).
7783 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
7785 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7787 2010-01-20 Glenn Morris <rgm@gnu.org>
7789 * indent.el (tab-always-indent): Fix custom-type.
7791 2010-01-19 Alan Mackenzie <acm@muc.de>
7793 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7794 buffer throws "args out of range".
7795 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7796 playing the role of delimiter.
7798 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
7800 * progmodes/ada-mode.el: Fix bug#5400.
7801 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7802 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7803 changed. Delete RECURSIVE parameter; never used. Improve doc string.
7804 Improve comments in "is" portion. Handle null procedure declaration.
7805 (ada-move-to-end): Improve doc string.
7807 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
7809 * ido.el (ido-cur-list): Initialize to nil.
7810 Remove obsolete information from commentary.
7811 (ido-choice-list): Initialize to nil.
7812 (ido-get-bufname): Reject minibuffers.
7813 (ido-make-buffer-list): If "default" is a nonexistent
7814 buffer, ignore it, as per the function's comment.
7815 (ido-kill-buffer-internal): New function.
7816 (ido-kill-buffer-at-head): Use it.
7817 (ido-visit-buffer): Likewise.
7819 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
7821 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7823 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
7825 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7826 Fix typos in chart titles.
7828 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7829 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7830 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7831 (describe-class, eieio-describe-generic, describe-generic):
7832 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7833 (eieio-speedbar-expand):
7834 * emulation/viper-cmd.el (viper-exec-form-in-vi)
7835 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7836 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7837 (viper-del-backward-char-in-replace, viper-backward-indent)
7838 (viper-brac-function, viper-register-to-point, viper-submit-report):
7839 * net/tramp.el (tramp-remote-coding-commands):
7840 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7841 Fix typos in docstrings.
7843 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
7845 * mail/sendmail.el (mail-yank-original): Set the mark if the
7846 specified function for yanking does not do it.
7848 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
7850 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
7852 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7853 resyncing a directory.
7855 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
7857 * progmodes/ada-mode.el: Fix bug#1920.
7858 (ada-ident-re): Delete ., allow multibyte characters.
7859 (ada-goto-label-re): New; matches goto labels.
7860 (ada-block-label-re): New; matches block labels.
7861 (ada-label-re): New; matches both.
7862 (ada-named-block-re): Deleted; callers changed to use
7863 `ada-block-label-re' instead.
7864 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7865 Use `ada-block-label-re'.
7866 (ada-indent-on-previous-lines): Improve handling of goto labels.
7867 (ada-get-indent-block-start): Special-case block label.
7868 (ada-get-indent-label): Split into `ada-indent-block-label' and
7869 `ada-indent-goto-label'.
7870 (ada-goto-stmt-start, ada-goto-next-non-ws):
7871 Optionally ignore goto labels.
7872 (ada-goto-next-word): Simplify.
7873 (ada-indent-newline-indent-conditional): Insert newline before
7874 trying to fix indentation; doc fix.
7876 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
7878 * calc/calc.el (calc-command-flags): Give it an initial value.
7880 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
7882 * files.el (minibuffer-with-setup-hook):
7883 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7884 (artist-key-draw-continously, artist-key-do-continously-continously)
7885 (artist-key-set-point-continously, artist-mouse-draw-continously):
7886 Fix typos in docstrings.
7888 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
7890 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7891 return t (Bug#3898).
7893 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
7895 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7896 can parse the output of the external commands (Bug#5279).
7898 2010-01-16 Jari Aalto <jari.aalto@cante.net>
7900 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7902 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
7904 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7906 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7908 * startup.el (command-line): Remove unused --icon-type arg.
7909 Handle --display arg, passing it to command-line-1 (Bug#5392).
7911 2010-01-16 Mario Lang <mlang@delysid.org>
7913 * emacs-lisp/chart.el (chart-translate-namezone):
7914 * textmodes/artist.el (artist-compute-popup-menu-table):
7915 Remove duplicated words in doc-strings.
7917 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
7919 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7920 to mairix-search to suppress threading (Bug#5342).
7922 2010-01-15 Kenichi Handa <handa@m17n.org>
7924 * international/mule-cmds.el (canonicalize-coding-system-name):
7925 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7927 2010-01-15 Glenn Morris <rgm@gnu.org>
7929 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
7931 * wid-edit.el (widget-keymap): Doc fix.
7933 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7934 former seems to be more widely accepted by various svn versions.
7936 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7938 * find-cmd.el (find-constituents):
7939 * vc-arch.el (vc-arch-root):
7940 * window.el (window-body-height, pop-up-frames):
7941 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7942 * progmodes/ada-stmt.el (ada-if):
7943 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7944 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7945 (ispell-encoding8-command, ispell-aspell-supports-utf8)
7946 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7948 * progmodes/flymake.el (flymake-post-syntax-check):
7949 Fix typo in error message.
7951 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7953 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7954 which is always a string. (Bug#5313)
7956 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7958 * progmodes/ada-xref.el (ada-default-prj-properties):
7959 Simplify previous change.
7961 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7963 * progmodes/ada-xref.el (ada-default-prj-properties):
7964 Default ada_project_path to $ADA_PROJECT_PATH.
7966 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7968 * progmodes/ada-mode.el (ada-create-keymap):
7969 Override `narrow-to-defun' with `ada-narrow-to-defun'.
7971 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7973 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7974 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7975 (ada-get-current-indent, ada-imenu-generic-expression)
7976 (ada-which-function): Check for it.
7978 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7980 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7981 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7983 2010-01-14 Glenn Morris <rgm@gnu.org>
7985 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
7987 2010-01-14 Kenichi Handa <handa@m17n.org>
7989 * composite.el (auto-composition-mode): Make it a buffer local
7990 variable (permanent-local).
7991 (auto-composition-function): Set the default value to
7993 (auto-composition-mode): Make it a simple function, not a minor mode.
7994 (global-auto-composition-mode): Likewise.
7995 (turn-on-auto-composition-if-enabled): Delete it.
7997 2010-01-13 Karl Fogel <kfogel@red-bean.com>
7999 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
8001 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
8003 * files.el (copy-directory): Compute target for recursive
8004 directories with identical names. (Bug#5343)
8006 2010-01-12 Glenn Morris <rgm@gnu.org>
8008 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
8009 it to bug-gnu-emacs rather than emacs-pretest-bug.
8011 2010-01-11 Sam Steingold <sds@gnu.org>
8013 * imenu.el (imenu-default-create-index-function): Detect infinite
8014 loops caused by imenu-prev-index-position-function.
8016 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8018 * htmlfontify.el (htmlfontify-load-rgb-file)
8019 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
8020 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
8021 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
8022 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
8023 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
8024 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
8025 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
8026 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
8027 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
8028 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
8029 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
8030 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
8031 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
8032 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
8033 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
8034 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
8035 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
8036 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
8037 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
8038 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
8039 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
8040 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
8041 backslash-quoting from parentheses, etc.
8043 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
8045 * progmodes/js.el: Autoload javascript-mode alias.
8047 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
8049 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
8050 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
8051 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
8052 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
8053 Fix typos in docstrings.
8054 (ffap-url-regexp): Doc fix.
8055 (ffap-at-mouse): Fix typo in message.
8057 2010-01-11 Glenn Morris <rgm@gnu.org>
8059 * version.el (emacs-copyright): Set copyright year to 2010.
8061 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
8063 * format.el (format-annotate-function): Only set
8064 write-region-post-annotation-function after running to-fn so as not to
8065 affect nested write-region calls (bug#5273).
8067 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
8069 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
8072 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8074 * man.el (Man-goto-section): Signal error if the section is not
8077 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
8079 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
8080 URLs with a leading triple slash in the file: scheme. (Bug#5345)
8082 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
8084 * progmodes/compile.el: Don't treat compile-command as safe if
8085 compilation-read-command might be nil (Bug#4218).
8087 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
8089 * startup.el (command-line-1): Use orig-argi to check for ignored X and
8092 2010-01-08 Kenichi Handa <handa@m17n.org>
8094 * international/fontset.el (build-default-fontset-data):
8095 Exclude characters in scripts kana, hangul, han, or cjk-misc.
8097 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
8099 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
8100 to `create-file-buffer' as it expects, not just a buffer name.
8101 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
8102 to help uniquify. (Bug#3224)
8104 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
8106 * font-setting.el (font-setting-change-default-font): Use user-spec
8109 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
8111 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
8113 2010-01-05 Tom Tromey <tromey@redhat.com>
8115 * progmodes/python.el (python-font-lock-keywords):
8116 Handle qualified decorators (Bug#881).
8118 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8120 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
8121 in a lightweight checkout.
8123 2010-01-05 Kenichi Handa <handa@m17n.org>
8125 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
8127 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
8129 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
8131 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
8133 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
8134 checkouts. (Bug#618)
8135 (vc-bzr-log-view-mode): Also highlight the author.
8136 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
8137 (vc-bzr-shelve-menu-map):
8138 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
8139 (vc-bzr-shelve-apply): Make prompt more explicit.
8141 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
8143 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
8144 They are valid characters in URL paths (rfc3986), and at least
8145 Firefox does not understand the encoded version (Bug#3166).
8147 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
8149 * progmodes/octave-mod.el (octave-end-keywords)
8150 (octave-block-begin-or-end-regexp, octave-block-match-alist):
8151 Add "end" keyword (Bug#3061).
8152 (octave-end-as-array-index-p): New function.
8153 (calculate-octave-indent): Use it.
8155 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8157 * bookmark.el: Consistently put the text property on the bookmark name.
8158 (bookmark-bmenu-marks-width): Bump back to 2, to include
8160 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
8161 property on the bookmark name, instead of not putting it at all.
8162 (bookmark-bmenu-list): Fix where we put the text property.
8164 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8166 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
8167 for showing buffer modified state (as added in the previous change).
8169 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8171 * bookmark.el: Show modified state of bookmark buffer more accurately.
8172 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
8173 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
8174 (with-buffer-modified-unmodified): New macro.
8175 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8176 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
8177 Use new macro to preserve the buffer modified state.
8179 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8181 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
8182 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
8183 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
8184 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
8185 (bookmark-bmenu-rename, bookmark-bmenu-locate)
8186 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
8187 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
8189 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8191 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8192 Make the lines in the generated doc string shorter. (Bug#4668)
8194 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
8196 * net/rcirc.el: Add follow-link binding (Bug#4738).
8198 2010-01-02 Eli Zaretskii <eliz@gnu.org>
8200 * Makefile.in (bzr-update): Rename from cvs-update.
8201 (cvs-update): New target for backward compatibility.
8203 * makefile.w32-in (bzr-update): Rename from cvs-update.
8204 (cvs-update): New target for backward compatibility.
8206 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8208 * bookmark.el: Remove gratuitous gratitude.
8210 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8212 * bookmark.el (bookmark-bmenu-any-marks): New function.
8213 (bookmark-bmenu-save): Clear buffer modification if no marks.
8215 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8217 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
8218 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
8219 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
8220 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
8222 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
8223 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
8224 To: emacs-devel {_AT_} gnu.org
8225 Subject: bookmark.el bug report
8226 Date: Mon, 28 Dec 2009 14:19:16 +0800
8227 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
8229 2010-01-02 Karl Fogel <kfogel@red-bean.com>
8231 * bookmark.el: Improvements suggested by Drew Adams:
8232 (bookmark-bmenu-ensure-position): New name for
8233 `bookmark-bmenu-check-position'. Just ensure the position,
8234 don't return any meaningful value.
8235 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
8238 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
8240 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
8241 (bookmark-yank-point, bookmark-bmenu-check-position):
8242 Fix typos in docstrings.
8243 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
8244 (bookmark-name-from-full-record, bookmark-get-position)
8245 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
8246 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
8247 Remove useless quoting of parenthesis, etc. in docstrings.
8249 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
8250 (ediff-append-custom-diff): Fix typo in error message.
8251 (ediff-meta-mark-equal-files): Fix typos in messages.
8253 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
8255 * net/imap-hash.el (imap-hash-make): Doc fix.
8256 (imap-hash-test): Fix typo in error message; reflow docstring.
8257 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
8258 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
8259 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
8260 Fix typos in docstrings.
8261 (imap-hash-open-connection): Fix typo in error message.
8263 * play/gomoku.el (gomoku): Fix typos in docstring.
8265 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
8266 (gdb-jsonify-buffer): Fix typos in docstring.
8267 (gdb-goto-breakpoint): Fix typo in error message.
8268 ("Display Other Windows"): Fix typo in help message.
8269 (gdb-speedbar-expand-node): Fix typo in question.
8271 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
8272 (idlwave-html-system-help-location, idlwave-html-help-location)
8273 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
8274 (idlwave-help-browser-generic-args, idlwave-help-directory)
8275 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
8276 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
8277 (idlwave-online-help, idlwave-help-html-link)
8278 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
8279 Fix typos in docstrings.
8280 (idlwave-help-with-source, idlwave-help-find-routine-definition):
8282 (idlwave-help-assistant-start): Fix typo in error message.
8284 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
8285 (octave-electric-space): Fix typos in docstrings.
8287 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
8289 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
8291 2010-01-01 Juri Linkov <juri@jurta.org>
8293 * comint.el (comint-input-ring-size): Make it a defcustom and
8294 increase the default to 500 (Bug#5148).
8296 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
8298 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
8299 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
8300 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
8302 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
8304 Show working revision correctly for mercurial.
8305 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
8306 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
8308 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
8310 Declare some functions for the byte-compiler.
8311 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
8312 (speedbar-timer-fn, speedbar-change-expand-button-char)
8313 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
8315 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
8317 This changeset reverts GDB Graphical Interface to use annotations.
8318 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
8320 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
8322 Make vc-dir work on subdirectories of the bzr root.
8323 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
8324 file names relative to it.
8325 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
8326 relative directory to vc-bzr-after-dir-status.
8328 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
8330 * font-lock.el (font-lock-refresh-defaults): New function, which
8331 can be used to let font-lock react to external changes in
8332 variables like font-lock-defaults and keywords.
8333 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
8335 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
8337 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
8339 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
8341 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
8343 Supersede color.diff settings in git log (bug#5211).
8345 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
8346 escape chars in its output when the user has color.diff set to `always'.
8347 This fix works on git 1.4.2 and newer (released on 2006-08-13).
8349 2009-12-26 Kevin Ryde <user42@zip.com.au>
8351 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
8352 node. Keep previous "Index" name to work with past coreutils too.
8354 * man.el (man): Revise docstring a bit to show -a and -l as
8355 examples. Add -k description since support for it has otherwise
8356 been a secret. (Further to bug#3717.)
8357 (Man-bgproc-sentinel): When "-k foo" produces no output show error
8358 "no matches" rather than "Can't find manpage", as the latter reads
8359 like -k was interpreted as a page name, which is not so. (Bug#5431)
8361 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
8363 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
8364 switches. Check also for //SUBDIRED// line.
8366 2009-12-25 Kenichi Handa <handa@m17n.org>
8368 * language/indian.el (devanagari-composable-pattern): Fixed to
8369 handle ZWNJ and ZWJ. Use it in composition-function-table for
8371 (malayalam-composable-pattern): Fix previous change.
8373 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8375 * ps-print.el (ps-face-attributes): It was not returning the
8376 attribute face for faces specified as string. Reported by harven
8377 <harven@free.fr>. (Bug#5254)
8378 (ps-print-version): New version 7.3.5.
8380 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
8382 * calendar/icalendar.el (icalendar--convert-tz-offset):
8384 (icalendar--convert-tz-offset): Fix the "last-day-problem".
8385 (icalendar--add-diary-entry): Remove the trailing blank that
8386 diary-make-entry inserts.
8388 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
8390 Make `file-expand-wildcards' work for remote files.
8392 * files.el (file-expand-wildcards): In case of remote files, check
8393 only local file name part for wildcards. Provide feature 'files
8394 and subfeature 'remote-wildcards. (Bug#5198)
8396 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
8397 if there is already an established connection.
8398 (tramp-advice-file-expand-wildcards): Remove it.
8400 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
8401 (tramp-advice-file-expand-wildcards): Move from tramp.el.
8402 Activate advice for older GNU Emacs versions. (Bug#5237)
8404 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
8406 Some doc fixes (more needed).
8408 * find-cmd.el (find-constituents): Reflow docstring.
8409 (find-cmd, find-prune, find-command): Fix typos in docstrings.
8410 (find-generic): Doc fix.
8412 2009-12-17 Juri Linkov <juri@jurta.org>
8414 Fix regression from 23.1 to allow multiple modes in Local Variables.
8416 * files.el (hack-local-variables-filter): While ignoring duplicates,
8417 don't take `mode' into account.
8418 (hack-local-variables-filter, hack-dir-local-variables):
8419 Don't remove duplicate `mode' from local-variables-alist (like `eval').
8421 2009-12-17 Juri Linkov <juri@jurta.org>
8423 Make `dired-diff' safer. (Bug#5225)
8425 * dired-aux.el (dired-diff): Signal an error when `file' equals to
8426 `current' or when `file' is a directory of the `current' file.
8428 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
8430 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
8431 unconditionally preloaded files.
8433 2009-12-16 Juri Linkov <juri@jurta.org>
8435 Revert to old 23.1 logic of using the file at the mark as default.
8436 * dired-aux.el (dired-diff): Use the file at the mark as default
8437 if it's not the same as the current file, and the target dir is
8438 the current dir or the mark is active. Add the current file
8439 as the arg of `dired-dwim-target-defaults'. Use the default file
8440 in the prompt. (Bug#5225)
8442 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
8444 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
8445 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
8446 (tramp-check-for-regexp): Check also, when an echoing shell stops
8447 to echo sent commands.
8449 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8451 * Makefile.in: Revert last change (Bug#5191).
8453 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
8455 * vc-hg.el (vc-hg-print-log): Fix argument order.
8456 (vc-hg-working-revision): Make sure the command is executed in a
8457 known environment so that we can parse the output. (Bug#4417)
8459 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
8461 * progmodes/python.el (python-symbol-completions): Remove text
8462 properties from symbol string before calling python-send-receive.
8464 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
8466 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
8467 when there are values for both file and line. (Bug#5060)
8469 2009-12-14 Juri Linkov <juri@jurta.org>
8471 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
8472 whitespace after the file name of the first line of unified format,
8473 because git-diff doesn't output whitespace and file modification time
8474 after the file name.
8476 2009-12-14 David Kastrup <dak@gnu.org>
8478 * info.el (Info-hide-cookies-node): Before hiding a cookie,
8479 check if it already has the `display' property added by
8480 `Info-display-images-node', and not put the `invisible' property
8483 2009-12-13 Glenn Morris <rgm@gnu.org>
8485 * mail/emacsbug.el (message-sort-headers): Define for compiler.
8486 (report-emacs-bug): In message-mode, sort manually before storing
8487 original report text. (Bug#5178)
8488 Remove superfluous save-excursion.
8490 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
8492 * net/dbus.el (dbus-property-handler): Filter lambda forms out
8493 when responding to "GetAll" properties.
8495 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
8497 * simple.el (compose-mail): Remove mail-setup-with-from from
8498 customization checks.
8500 2009-12-12 Eli Zaretskii <eliz@gnu.org>
8502 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
8503 RAR archives created on Unix systems.
8505 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8507 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
8508 the varalias that was accidentally removed by the 2009-11-19 change
8511 2009-12-12 Kenichi Handa <handa@m17n.org>
8513 * language/indian.el (indian-compose-regexp): New function.
8514 (malayalam-composable-pattern): Fix the pattern.
8515 (composition-function-table): Set malayalam-composable-pattern for
8516 Malayalam characters.
8518 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
8520 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
8521 rather than down-mouse-1, based on follow-link conventions.
8523 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
8526 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
8528 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
8529 (verilog-vmm-statement-re, verilog-ovm-statement-re)
8530 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
8531 (verilog-leap-to-head, verilog-backward-token):
8532 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
8534 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
8536 * progmodes/verilog-mode.el (verilog-auto-lineup)
8537 (verilog-nameable-item-re): Cleanup user-visible spelling and
8538 documentation errors. One reported by Gary Delp.
8539 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
8540 (verilog-read-decls): Fix AUTOWIRE with types declared in a
8541 package, bug195. Reported by Pierre-David Pfister.
8543 2009-12-11 Glenn Morris <rgm@gnu.org>
8545 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
8547 * mail/emacsbug.el: No longer require sendmail.
8548 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
8549 (report-emacs-bug-orig-text): Doc fix.
8550 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
8551 New local variables, to adapt to different mail-user-agents.
8552 (report-emacs-bug): Fix test for a gnu.org address.
8553 Use overlays for emphasis, since font-lock defeats 'face property.
8554 Pretest bugs also end up at the newsgroup these days.
8555 Stop message-mode stripping text properties.
8556 Set and use the new buffer-local variables.
8557 (report-emacs-bug-hook): Add doc-string.
8558 Remove some unnecessary save-excursions and simplify.
8559 Use the appropriate hook and send-command.
8561 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
8562 capitalization of some menu entries.
8564 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8566 * whitespace.el (whitespace-display-char-on):
8567 Ensure `buffer-display-table' is unique when two or more windows are
8568 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
8571 2009-12-10 Eli Zaretskii <eliz@gnu.org>
8573 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
8574 characters in the Attribute field.
8576 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
8578 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
8580 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
8582 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
8583 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8584 Disregard autoload-excludes.
8585 (update-directory-autoloads): Obey autoload-excludes here instead.
8586 But don't store its contents in no-autoloads and remove entries that
8587 refer to excludes files.
8589 2009-12-10 Glenn Morris <rgm@gnu.org>
8591 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
8592 (expand-mail-aliases): Define for compiler.
8594 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
8595 Define for compiler.
8597 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
8598 appropriate for the mail-user-agent in use.
8600 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
8602 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8604 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
8606 Fix short log parsing and fontification.
8607 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8608 Fix fontification for the [merge] label.
8610 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
8612 Drop some properties to avoid surprises (bug#5002).
8613 * htmlfontify.el (hfy-ignored-properties): New defcustom.
8614 (hfy-fontify-buffer): Use it.
8616 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
8619 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8621 (ffap-locate-file): Remove unused arg `dir-ok' and make other
8622 args compulsory. Adjust callers.
8623 (ffap-gopher-at-point): Remove unused var `name'.
8625 Get rid of the ELCFILES abomination.
8626 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8627 (compile-elcfiles): New phony target.
8628 (compile-main): Compute ELCFILES dynamically.
8629 (compile-clean): New target to remove left-over elc files.
8630 (compile, all): Use it.
8632 2009-12-09 Kenichi Handa <handa@etlken>
8634 * international/mule-diag.el: Require help-mode instead of help-fns.
8636 2009-12-09 Kenichi Handa <handa@m17n.org>
8638 * international/mule-cmds.el (ucs-names): Supply sufficiently
8639 fine ranges instead of pre-calculating accurate ranges.
8640 Iterate with bigger gc-cons-threshold.
8642 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
8644 Add support for stashing a snapshot of the current tree.
8645 * vc-git.el (vc-git-stash-snapshot): New function.
8646 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8648 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
8650 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8651 instead of `(beginning|end)-of-line'.
8653 2009-12-08 Glenn Morris <rgm@gnu.org>
8655 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8657 * Makefile.in (ELCFILES): Regenerate.
8659 2009-12-07 Juri Linkov <juri@jurta.org>
8661 Don't lazy-highlight the comint output in history Isearch mode.
8663 * comint.el (comint-history-isearch-search): Instead of
8664 `comint-line-beginning-position', use `comint-after-pmark-p'
8665 to check if point if before the process mark, and go to
8666 `process-mark' in this case.
8668 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8670 * textmodes/tex-mode.el (latex-complete)
8671 (latex-indent-or-complete): Remove.
8672 (latex-mode): Set completion-at-point-functions instead.
8674 Provide a standard completion command and hook it into TAB.
8675 * minibuffer.el (completion-at-point-functions): New var.
8676 (completion-at-point): New command.
8677 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8678 * progmodes/python.el (python-mode-map): Use completion-at-point.
8679 (python-completion-at-point): Rename from python-partial-symbol and
8680 adjust for use in completion-at-point-functions.
8681 (python-mode): Setup completion-at-point for Python completion.
8682 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8683 extracted from lisp-complete-symbol.
8684 (lisp-complete-symbol): Use it.
8685 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8686 setup completion-at-point for Elisp completion.
8687 (emacs-lisp-mode-map, lisp-interaction-mode-map):
8688 Use completion-at-point.
8689 * ielm.el (ielm-map): Use completion-at-point.
8690 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8691 * progmodes/sym-comp.el: Move to...
8692 * obsolete/sym-comp.el: Move from progmodes.
8694 2009-12-07 Eli Zaretskii <eliz@gnu.org>
8696 Prevent save-buffer in Rmail buffers from using the coding-system
8697 of the current message, and from clobbering the encoding mnemonics
8698 in the mode line (Bug#4623).
8700 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8702 (rmail-message-encoding): New variable.
8703 (rmail-write-region-annotate): Record the encoding of the current
8704 message in rmail-message-encoding.
8705 (rmail-after-save-hook): New function, restores the encoding of
8706 the current message after the message collection is saved.
8708 2009-12-07 Juri Linkov <juri@jurta.org>
8710 * progmodes/grep.el (grep-read-files): Use `completing-read'
8711 instead of `read-string'. Set its `collection' arg to
8712 `read-file-name-internal'. (Bug#4301)
8714 2009-12-07 Juri Linkov <juri@jurta.org>
8716 Correctly restore original Isearch point. (Bug#4994)
8718 * isearch.el (isearch-mode): Move `isearch-push-state' after
8719 `(run-hooks 'isearch-mode-hook)'.
8720 (isearch-cancel): When `isearch-push-state-function' is defined,
8721 let-bind `isearch-cmds' to the first state (the last element of
8722 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8723 function and restores the original point). Otherwise, move point
8724 to `isearch-opoint'.
8726 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8729 chars that don't have names, so the table can be built much faster at
8732 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
8734 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8735 change. Suggested by David Kastrup.
8737 * simple.el (compose-mail): Check for incompatibilities and warn.
8738 (compose-mail-user-agent-warnings): New option.
8740 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8742 Support showing a single log entry from vc-annotate.
8743 * vc.el (print-log): Add a new argument: START-REVISION.
8744 (vc-print-log-internal): Add a new optional argument and
8745 pass it to the backend.
8746 (vc-print-log, vc-print-root-log): Adjust callers.
8747 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8748 buffer already displays the requested log entry, use it.
8749 Otherwise display only the log entry in question.
8750 * vc-svn.el (vc-svn-print-log):
8751 * vc-mtn.el (vc-mtn-print-log):
8752 * vc-hg.el (vc-hg-state):
8753 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8754 (vc-git-show-log-entry): Return t on success.
8755 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8756 (vc-bzr-show-log-entry): Return t on success.
8757 * vc-rcs.el (vc-rcs-print-log):
8758 * vc-sccs.el (vc-sccs-print-log):
8759 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8761 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8763 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8764 Add menus to the meta mode. (Bug#5043)
8766 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
8768 * ediff-init.el (ediff-event-key): Use event-to-character instead of
8771 * ediff.el (ediff-buffers-internal): Add unwind-protect.
8773 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
8775 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
8776 Berbain <raphael.berbain@gmail.com>.
8778 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
8780 (tramp-initial-end-of-output): New defconst.
8781 (tramp-methods, tramp-find-shell)
8782 (tramp-open-connection-setup-interactive-shell)
8783 (tramp-maybe-open-connection): Use it.
8784 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8785 existence of `#' and `$'.
8787 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8788 `tramp-initial-end-of-output'.
8790 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8792 Get the background mode from the terminal for xterm, and set
8794 * term/xterm.el (xterm-set-background-mode): New function.
8795 (terminal-init-xterm): Use it in case xterm supports background
8796 color queries. Recompute faces after getting the background
8799 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
8801 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8802 number comment back on its own line, for easier parsing.
8804 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8806 Make it work for non-file buffers (bug#5102).
8807 * doc-view.el (doc-view-current-cache-dir):
8808 Use doc-view-buffer-file-name rather than buffer-file-name.
8809 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8811 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
8813 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8814 author field is too short.
8816 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
8818 * vc-git.el (vc-git-print-log): Handle a limit argument.
8819 Display the short log in graph form and with labels.
8820 (vc-git-log-view-mode): Handle labels.
8822 Make vc-revert change VC state from 'added to 'unregistered.
8823 * vc-git.el (vc-git-revert): Call git reset first.
8825 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8827 * net/newst-backend.el, net/newst-plainview.el:
8828 * net/newst-reader.el, net/newst-ticker.el:
8829 * net/newst-treeview.el, net/newsticker.el:
8830 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
8832 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8834 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8836 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8837 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
8838 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8839 Update annotation regexp.
8841 * simple.el (beginning-of-visual-line): Constrain to field
8842 boundaries (Bug#5106).
8844 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8846 * xml.el (xml-substitute-numeric-entities): Move
8847 newsticker--decode-numeric-entities in newst-backend.el to
8848 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8849 * net/newst-backend.el (newsticker--parse-generic-feed)
8850 (newsticker--parse-generic-items)
8851 (newsticker--decode-numeric-entities): Move
8852 newsticker--decode-numeric-entities in newst-backend.el to
8853 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8855 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
8857 * progmodes/js.el (js--js-not): Add null to the list of values.
8859 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8861 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8863 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8865 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8866 delimiter if it is at the end of the current line.
8867 (bibtex-generate-url-list): Fix docstring.
8869 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8872 minibuffer's content with itself.
8873 Fold the confirm-after-completion case into the `confirm' case.
8874 (completion-pcm-word-delimiters): Add : and / to the delimiters.
8876 2009-12-06 Kevin Ryde <user42@zip.com.au>
8878 * ffap.el (ffap-rfc-path): Make this a defcustom since
8879 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
8881 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8882 manuals, similar to existing setup for help-mode. (Bug#3913.)
8884 2009-12-05 Juri Linkov <juri@jurta.org>
8886 Save and restore dired buffer's point positions too. (Bug#4880)
8888 * dired.el (dired-save-positions): Return in the first element
8889 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8891 (dired-restore-positions): First restore buffer's position.
8892 While restoring window's positions, check if window still displays
8893 the original buffer.
8895 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
8897 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8900 * shell.el (shell): Require ansi-color (Bug#5113).
8902 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8904 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8906 2009-12-05 Alan Mackenzie <acm@muc.de>
8908 * progmodes/cc-mode.el (c-before-hack-hook)
8909 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8910 `c-file-style' to work again. This reversion restores the current
8911 software to its state in Emacs 23.1. (Bug#4146)
8913 2009-12-05 Kevin Ryde <user42@zip.com.au>
8915 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8916 comment-start-skip to comment-end-skip as comment (Bug#4781).
8918 2009-12-05 Juri Linkov <juri@jurta.org>
8920 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8921 for virtual nodes. (Bug#4147)
8922 (Info-find-node-2): Set `Info-current-node-virtual' to nil
8923 when moving from a virtual node.
8924 (Info-mode-menu): Add `Info-virtual-index' to the menu.
8925 (Info-mode): Add `Info-virtual-index' to the docstring.
8927 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8929 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8930 track of the buffer position of the end of a BibTeX entry as this
8931 position may change during reformatting.
8932 (bibtex-format-entry): Remove whitespace before processing
8933 numerical fields so that we recognize the latter properly.
8934 (bibtex-reformat): Do not use push which changes the global value
8935 of bibtex-entry-format.
8936 (bibtex-field-braces-alist, bibtex-field-strings-alist)
8937 (bibtex-field-re-init): Replace only space characters by regexp
8939 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8940 (bibtex-initialize): Also update bibtex-strings.
8941 (bibtex-kill-field): Preserve white space at end of entry.
8942 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8943 Update bibtex-reference-keys.
8945 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
8947 * minibuffer.el (completion-pcm--merge-try): Also consider placing
8948 point after a star, if that's the only place where modifications can
8951 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
8953 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8956 2009-12-04 Juri Linkov <juri@jurta.org>
8958 * proced.el (proced): Call `(proced-update t)' to update process
8959 information instead of only running proced-post-display-hook.
8960 (proced-send-signal): Add a leading space to the buffer name
8961 " *Marked Processes*" to make this buffer ephemeral.
8963 2009-12-04 Juri Linkov <juri@jurta.org>
8965 * dired.el (dired-auto-revert-buffer): New defcustom.
8966 (dired-internal-noselect): Use it.
8968 2009-12-04 Juri Linkov <juri@jurta.org>
8970 Change roles of modes and functions in image-mode.el (Bug#5062).
8972 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8973 in `auto-mode-alist'.
8974 (image-mode-previous-major-mode): New variable.
8975 (image-minor-mode-map): Rename from `image-mode-text-map'.
8976 (image-mode): Move graceful error-handling code from
8977 `image-minor-mode' to here. On errors call `image-mode-as-text'.
8978 (image-minor-mode): Remove all image-handling code.
8979 Replace `image-mode-text-map' with `image-minor-mode-map'.
8980 Check for `image-type' in mode-line format string.
8981 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8982 (image-mode-as-text): New function with most code from
8984 (image-toggle-display-text): Move code that removes image
8985 properties from `image-toggle-display' to here.
8986 (image-toggle-display-image): New function with code that adds
8987 image properties copied from `image-toggle-display'.
8988 (image-toggle-display): Remove most code with leaving only code
8989 that toggles between `image-mode-as-text' and `image-mode'.
8991 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
8993 * net/newst-treeview.el
8994 (newsticker--treeview-list-highlight-start): Restored call to
8995 save-excursion: Selected item was stuck.
8996 (newsticker--treeview-list-select): New.
8997 (newsticker--treeview-item-show-text)
8998 (newsticker--treeview-item-show)
8999 (newsticker--treeview-item-update): Use new
9000 newsticker-treeview-item-mode.
9001 (newsticker-treeview-update): Keep current item.
9002 (newsticker-treeview-next-new-or-immortal-item): Doc change.
9003 (newsticker--treeview-first-feed): Doc change.
9004 (newsticker-treeview-list-menu)
9005 (newsticker-treeview-item-menu): Added menu entries.
9006 (newsticker-treeview-item-mode): New.
9008 * net/newst-backend.el (newsticker-customize): Delete other
9011 2009-12-04 Sam Steingold <sds@gnu.org>
9013 * log-view.el (log-view-mode-map): "q" calls quit-window,
9014 like in all the other non-self-insert buffers.
9016 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
9019 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
9020 key decoding rather than do it manually via last-input-event +
9022 (term-exec): Use delete-and-extract-region.
9023 (term-handle-ansi-terminal-messages): Remove unused var `end'.
9024 (term-process-pager): Remove unused var `i'.
9025 (term-dynamic-simple-complete): Make obsolete.
9026 (serial-update-config-menu): Remove unused vars `y' and `str'.
9027 (term-update-mode-line): Remove unused var `temp'.
9029 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9031 Limit the number of log entries displayed by default.
9032 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
9033 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
9034 using a prefix argument.
9036 2009-12-03 Glenn Morris <rgm@gnu.org>
9038 * progmodes/idlwave.el (class): Restore still useful declaration.
9040 2009-12-03 Alan Mackenzie <acm@muc.de>
9042 Enhance `c-parse-state' to run efficiently in "brace deserts".
9044 * progmodes/cc-mode.el (c-basic-common-init):
9045 Call c-state-cache-init.
9046 (c-neutralize-syntax-in-and-mark-CPP): Rename from
9047 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
9048 placing `category' properties value 'c-cpp-delimiter at its boundaries.
9050 * progmodes/cc-langs.el (c-before-font-lock-function):
9051 c-extend-and-neutralize-syntax-in-CPP has been renamed
9052 c-neutralize-syntax-in-and-mark-CPP.
9054 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
9055 with `category' properties now, not `syntax-table' ones.
9057 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
9058 enhanced (but slower) version of c-end-of-macro that won't land
9059 inside a literal or on another awkward character.
9060 (c-state-cache-too-far, c-state-cache-start)
9061 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
9062 (c-state-nonlit-pos-cache-limit, c-state-point-min)
9063 (c-state-point-min-lit-type, c-state-point-min-lit-start)
9064 (c-state-min-scan-pos, c-state-brace-pair-desert)
9065 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
9066 buffer local variables.
9067 (c-state-literal-at, c-state-lit-beg)
9068 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
9069 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
9070 (c-state-cache-top-paren, c-state-cache-after-top-paren)
9071 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
9072 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
9073 (c-renarrow-state-cache)
9074 (c-append-lower-brace-pair-to-state-cache)
9075 (c-state-push-any-brace-pair, c-append-to-state-cache)
9076 (c-remove-stale-state-cache)
9077 (c-remove-stale-state-cache-backwards, c-state-cache-init)
9078 (c-invalidate-state-cache-1, c-parse-state-1)
9079 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
9080 (c-parse-state): Enhance and refactor.
9081 (c-debug-parse-state): Amend to deal with all the new variables.
9083 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
9084 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
9085 modify to use category text properties rather than syntax-table ones.
9086 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
9087 to switch off/on the syntactic paren property of C++ template
9088 delimiters using the category property.
9089 (c-with-<->-as-parens-suppressed): Macro to invoke code with
9090 template delims suppressed.
9091 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
9092 New constant/macros which apply category properties to the start
9093 and end of preprocessor constructs.
9094 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
9095 "comment out" the syntactic value of characters in preprocessor
9097 (c-with-cpps-commented-out)
9098 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
9099 with characters in all or all but one preprocessor constructs
9102 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
9104 * proced.el (proced-filter-alist): Use regexp-quote.
9106 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
9109 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
9110 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
9111 arguments. Expand `default-directory'.
9113 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
9114 the benefit of returning an expanded localname.
9115 (tramp-tramp-file-p): Handle the case NAME is not a string.
9117 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9119 Add support for bzr shelve/unshelve.
9120 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9121 (vc-bzr-extra-menu-map): New variables.
9122 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
9123 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
9124 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
9125 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
9126 (vc-bzr-dir-extra-headers): Display shelves.
9128 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
9130 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9132 * textmodes/bibtex.el (bibtex-complete-internal):
9133 Use completion-in-region.
9134 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
9136 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
9138 Support applying stashes. Improve UI.
9139 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
9140 (vc-git-stash-apply, vc-git-stash-pop)
9141 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
9142 (vc-git-stash-menu): New functions.
9143 (vc-git-stash-menu-map): New variable.
9144 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
9146 2009-12-03 Glenn Morris <rgm@gnu.org>
9148 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
9149 (vc-print-log-internal): Fix previous change.
9150 (vc-revert): Correct pluralization.
9152 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9154 * progmodes/make-mode.el (makefile-special-targets-list): No need for
9155 it to be an alist any more.
9156 (makefile-complete): Use completion-in-region.
9158 * progmodes/octave-mod.el (octave-complete-symbol):
9159 Use completion-in-region.
9162 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
9163 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
9164 (idlwave-complete-class): Don't quote lambda.
9165 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
9166 (idlwave-mode-map): Move initialization into declaration.
9167 (idlwave-action-and-binding): Use backquotes.
9168 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
9170 (idlwave-is-pointer-dereference): Remove unused var `pos'.
9171 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
9172 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
9173 `parts', and `all-parts'.
9174 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
9175 (idlwave-convert-xml-system-routine-info): Remove unused string
9177 (idlwave-display-user-catalog-widget): Use dolist.
9178 (idlwave-scanning-lib): Declare dynamically-scoped var.
9179 (idlwave-scan-library-catalogs): Remove unused var `flags'.
9180 (completion-highlight-first-word-only): Declare to silence bytecomp.
9181 (idlwave-popup-select): Tighten scope of `resp'.
9182 (idlwave-find-struct-tag): Remove unused var `beg'.
9183 (idlwave-after-load-rinfo-hook): Declare.
9184 (idlwave-sintern-class-info): Remove unused var `taglist'.
9185 (idlwave-find-class-definition): Remove unused var `list'.
9186 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
9187 (idlwave-what-module-find-class): Remove unused var `classes'.
9189 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
9191 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
9193 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9195 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
9196 buffers visited. Remove redundant current-buffer-saving.
9198 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9200 Use completion-in-buffer and remove uses of dynamic scoping.
9201 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
9202 (pascal-buffer-to-use, pascal-flag): Don't declare.
9203 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
9204 (pascal-get-completion-decl, pascal-keyword-completion):
9205 Add `pascal-str' argument, save-excursion,
9206 return the found completions, and don't filter with pascal-pred.
9207 (pascal-completion-cache): New var.
9208 (pascal-completion): Don't switch buffer any more (it was never
9209 necessary). Don't save-excursion any more (it's done by the called
9210 subroutines). Use a cache to avoid redundant computations.
9211 Use complete-with-action rather than pascal-completion-response and
9212 let it apply the predicate as well.
9213 (pascal-complete-word): Use completion-in-buffer when
9214 pascal-toggle-completions is nil.
9215 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
9217 (pascal-comp-defun): Don't change buffer any more.
9218 Use complete-with-action rather than pascal-completion-response and
9219 let it apply the predicate as well.
9220 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
9223 2009-12-02 Kenichi Handa <handa@m17n.org>
9225 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
9226 shape for all Indic scripts.
9228 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9230 Use completion-in-buffer.
9231 * wid-edit.el (widget-field-text-end): New function.
9232 (widget-field-value-get): Use it.
9233 (widget-string-complete, widget-file-complete)
9234 (widget-color-complete): Use it and completion-in-region.
9235 (widget-complete): Don't narrow the buffer.
9237 2009-12-02 Glenn Morris <rgm@gnu.org>
9239 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
9240 (rmail-select-summary): Use rmail-pop-to-buffer.
9241 * mail/rmailsum.el: Replace all pop-to-buffer calls with
9242 rmail-pop-to-buffer, to prevent horizontal splits.
9244 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
9245 save-excursion with save-current-buffer.
9246 Widen before searching. (Bug#5093)
9247 (diary-list-sexp-entries): Remove superfluous save-excursion.
9249 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
9251 * woman.el (woman-make-bufname): Handle man-pages with "." in the
9254 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
9256 * ido.el (ido-file-internal): Handle filenames at point that do
9257 not have a directory part. (Bug#5049)
9259 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
9261 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
9262 (mpc-songs-jump-to, mpc-resume): Doc fixes.
9264 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
9266 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
9267 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
9270 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9272 * comint.el (comint-insert-input): Ignore clicks to the right of
9273 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
9275 * vc.el (vc-print-log-internal): Don't wait for the process to
9276 terminate before setting up the major mode.
9278 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
9281 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
9284 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
9286 2009-12-01 Glenn Morris <rgm@gnu.org>
9288 * window.el (window--display-buffer-2): Fix previous changes.
9290 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
9292 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
9294 2009-12-01 Glenn Morris <rgm@gnu.org>
9296 * Makefile.in (ELCFILES): Add mpc.elc.
9298 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9302 2009-12-01 Glenn Morris <rgm@gnu.org>
9304 * window.el (window-to-use): Define for compiler.
9306 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
9307 consistent with others (no final period).
9309 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
9310 (rmail-mime-show): Downcase the encoding. (Bug#5070)
9312 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
9314 Make vc-print-log buttons work.
9315 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
9317 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
9319 * savehist.el (savehist-autosave-interval): Allow setting to nil
9320 through customize. (Bug#5056)
9322 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
9324 Fix references to jit-lock properties.
9325 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
9326 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
9327 (perl-font-lock-special-syntactic-constructs):
9328 Quote jit-lock-defer-multiline property.
9330 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
9332 * vc-git.el (vc-git-registered): Call vc-git-root only once.
9334 2009-11-30 Juri Linkov <juri@jurta.org>
9336 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
9337 value `buffer' of `multi-isearch-next-buffer-current-function'.
9338 Use `(current-buffer)' when `buffer' is nil.
9339 (multi-isearch-next-buffer-from-list): Don't fallback to
9340 `(current-buffer)' when `buffer' is nil. (Bug#4947)
9342 2009-11-30 Juri Linkov <juri@jurta.org>
9344 * misearch.el (multi-isearch-read-buffers): Move canonicalization
9345 of buffers with `get-buffer' to `multi-isearch-buffers'.
9346 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9347 Canonicalize BUFFERS with `get-buffer'. Doc fix.
9348 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
9349 FILES with `expand-file-name' converting relative file names
9350 to absolute. Doc fix. (Bug#4727)
9352 2009-11-30 Juri Linkov <juri@jurta.org>
9354 * misearch.el (multi-isearch-read-buffers)
9355 (multi-isearch-read-matching-buffers): New functions.
9356 (multi-isearch-buffers, multi-isearch-buffers-regexp):
9357 Use them in the `interactive' spec. Doc fix.
9358 (multi-isearch-read-files, multi-isearch-read-matching-files):
9360 (multi-isearch-files, multi-isearch-files-regexp):
9361 Use them in the `interactive' spec. Doc fix. (Bug#4725)
9363 2009-11-30 Juri Linkov <juri@jurta.org>
9365 * doc-view.el (doc-view-continuous):
9366 Rename from `doc-view-continuous-mode'.
9367 (doc-view-menu): Move "Toggle display" to the top.
9368 Add submenu "Continuous" with radio buttons "Off"/"On"
9369 and "Save as Default".
9370 (doc-view-scroll-up-or-next-page)
9371 (doc-view-scroll-down-or-previous-page)
9372 (doc-view-next-line-or-next-page)
9373 (doc-view-previous-line-or-previous-page): Rename
9374 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
9376 2009-11-30 Juri Linkov <juri@jurta.org>
9378 * comint.el (comint-mode-map): Rebind `M-r' from
9379 `comint-previous-matching-input' to
9380 `comint-history-isearch-backward-regexp'.
9381 Unbind `M-s' to allow global key binding `M-s'.
9382 Add menu items for `comint-history-isearch-backward' and
9383 `comint-history-isearch-backward-regexp'. (Bug#3746)
9385 2009-11-30 Juri Linkov <juri@jurta.org>
9387 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
9388 For def=recenter, replace `recenter' with `recenter-top-bottom'
9389 that is called with `this-command' and `last-command' let-bound
9390 to `recenter-top-bottom'. When the last `def' was not `recenter',
9391 set `recenter-last-op' to nil. (Bug#4981)
9393 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
9395 Minor cleanup and simplification.
9396 * filecache.el (file-cache-add-directory)
9397 (file-cache-add-directory-recursively)
9398 (file-cache-add-from-file-cache-buffer)
9399 (file-cache-delete-file-regexp, file-cache-delete-directory)
9400 (file-cache-files-matching-internal, file-cache-display): Use dolist.
9401 (file-cache-temp-minibuffer-message): Delete function.
9402 (file-cache-minibuffer-complete): Use minibuffer-message instead.
9404 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
9405 Don't signal an error when bumping into EOB in tr, s, or y.
9407 2009-11-29 Juri Linkov <juri@jurta.org>
9409 * startup.el (fancy-about-text): Fix wording of Guided Tour.
9412 * descr-text.el (describe-char-unidata-list): Use lowercase name
9413 for "Unicode name" like in other tags.
9415 2009-11-29 Juri Linkov <juri@jurta.org>
9417 * ediff-util.el (ediff-minibuffer-with-setup-hook):
9418 New compatibility macro.
9419 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
9421 2009-11-29 Juri Linkov <juri@jurta.org>
9423 Add defcustom to define the cycling order of `recenter-top-bottom'.
9426 * window.el (recenter-last-op): Doc fix.
9427 (recenter-positions): New defcustom.
9428 (recenter-top-bottom): Rewrite to use `recenter-positions'.
9429 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
9431 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
9433 Improve integration of Tramp and ange-ftp in eshell.
9435 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
9436 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
9437 (eshell/sudo): Flatten args. Let-bind `default-directory'.
9439 * eshell/esh-util.el (top): Require also Tramp when compiling.
9440 (eshell-directory-files-and-attributes): Check for FTP remote
9442 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
9443 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
9444 (eshell-file-attributes): Handle ".". Return `entry'.
9446 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
9447 (ange-ftp-directory-files-and-attributes)
9448 (ange-ftp-real-directory-files-and-attributes): New defuns.
9450 * net/tramp.el (tramp-maybe-open-connection): Open the remote
9451 shell with "exec" when possible. This prevents trailing prompts
9452 in `start-file-process'.
9454 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9456 Try and remove assumptions about point-min==1.
9457 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
9458 (rng-compute-mode-line-string): Show the validation percentage in
9459 terms of the narrowed text, not the widened text.
9460 (rng-do-some-validation): Don't catch internal errors when debugging.
9461 (rng-first-error): Simplify.
9462 (rng-after-change-function): Remove work around. AFAIK the bug has
9463 been fixed a while ago.
9465 * image-mode.el (image-minor-mode): Exit more gracefully when the image
9466 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
9468 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
9470 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
9471 `cd' doesn't always do it for us (bug#5067).
9473 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
9474 on 2009-10-25 as part of some other change (bug#5067).
9476 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9478 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
9480 (byte-compile-warnings): Use byte-compile-warning-types.
9481 (byte-compile-save-excursion): Warn about use of set-buffer right
9482 after save-excursion.
9484 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
9485 the excursion as well.
9487 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
9489 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
9490 providing a Tramp related implementation of "su" and "sudo".
9491 (eshell-unix-initialize): Add "su" and "sudo".
9493 2009-11-27 Daiki Ueno <ueno@unixuser.org>
9495 * net/socks.el (socks-send-command): Convert binary request to
9496 unibyte before sending. This fixes mishandling of some port
9497 numbers such as 129.
9499 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
9501 * help.el (describe-bindings-internal): Remove `interactive'.
9503 * man.el (Man-completion-table): Trim a terminating "(".
9504 Remove the space between name page a section.
9505 Add the command's description on the `help-echo' property.
9506 Remove `process-connection-type' binding since it's unused by
9508 Provide completion for the "<section> <name>" format as well.
9509 (Man-default-man-entry): Remove spurious var shadowing the argument.
9511 2009-11-26 Kevin Ryde <user42@zip.com.au>
9513 * log-view.el: Add "Keywords: tools", since its other keywords
9514 aren't in finder-known-keywords, and following vc.el.
9516 * sha1.el (sha1-string-external): default-directory "/" in case
9517 otherwise non-existent. process-connection-type pipe for touch of
9518 efficiency recommended by elisp manual. (An aside in Bug#3911.)
9520 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9522 Misc coding convention cleanups.
9523 * htmlfontify.el (hfy-init-kludge-hook): Rename from
9524 hfy-init-kludge-hooks.
9525 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
9526 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
9527 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
9529 (hfy-slant, hfy-weight): Use tables rather than code.
9530 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
9531 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
9532 (hfy-face-attr-for-class): Initialize `face-spec' directly.
9533 (hfy-face-to-css): Remove `nconc' with single arg.
9534 (hfy-p-to-face-lennart): Use `or'.
9535 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
9536 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
9537 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
9538 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
9539 (hfy-force-fontification): Use run-hooks.
9541 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
9543 Various minor fixes.
9544 * htmlfontify.el (hfy-default-header): Add toggle_invis since
9545 Javascript belongs in the header, not the body.
9546 (hfy-javascript): Remove.
9547 (hfy-fontify-buffer): Don't insert it any more.
9548 (hfy-face-at): Handle (face0 face1 face2) style face properties.
9549 Fix bug in invis handling when there were no invis props in a chunk.
9551 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
9553 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
9555 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
9557 * finder.el (finder-mode-map): Add a menu.
9559 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
9561 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
9564 (verilog-leap-to-head, verilog-backward-token): Handle "disable
9565 fork" statement better.
9567 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
9569 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
9570 (verilog-delete-auto, verilog-delete-empty-auto-pair)
9571 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
9572 Reported by Clay Douglass.
9574 (verilog-auto-inst, verilog-auto-star-safe)
9575 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
9576 Fix removing "// Interfaces" when saving .* expansions. Reported by
9577 Pierre-David Pfister.
9579 2009-11-26 Glenn Morris <rgm@gnu.org>
9581 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9584 2009-11-25 Johan Bockgård <bojohan@gnu.org>
9586 * vc-annotate.el (vc-annotate-revision-previous-to-line):
9587 Really use previous revision.
9589 2009-11-25 Kevin Ryde <user42@zip.com.au>
9591 * man.el (Man-completion-table): default-directory "/" in case
9592 doesn't otherwise exist. process-environment COLUMNS=999 so as
9593 not to truncate long names. process-connection-type pipe to avoid
9594 any chance of hitting the pseudo-tty TIOCGWINSZ.
9595 (man): completion-ignore-case t for friendliness and since man
9596 itself is case-insensitive on the command line.
9597 Further to Bug#3717.
9599 * arc-mode.el: Add "Keywords: files", so the details in its
9600 commentary can be reached from finder-by-keyword.
9601 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
9602 editing mode, but it's comms related and sgml-mode.el has "comm"
9604 * textmodes/bibtex-style.el: Add "Keywords: tex".
9605 * international/isearch-x.el, international/ja-dic-cnv.el:
9606 * international/ja-dic-utl.el, international/kkc.el:
9607 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9609 2009-11-25 Juri Linkov <juri@jurta.org>
9611 * man.el (Man-completion-table): Modify regexp to include
9612 section names to completion strings. (Bug#3717)
9614 2009-11-25 Juri Linkov <juri@jurta.org>
9616 Search recursively in gzipped files. (Bug#4982)
9618 * progmodes/grep.el (grep-highlight-matches): Add new options
9619 `always' and `auto'. Doc fix.
9620 (grep-process-setup): Check `grep-highlight-matches' for
9621 `auto-detect' to determine the need to compute grep defaults.
9622 Move Windows/DOS specific --colors settings handling
9623 to `grep-compute-defaults'. Check `grep-highlight-matches'
9624 to get the value of "--color=".
9625 (grep-compute-defaults): Compute `grep-highlight-matches' when it
9626 has the value `auto-detect'. Move Windows/DOS specific settings
9627 from `grep-process-setup'.
9628 (zrgrep): New command with alias `rzgrep'.
9630 2009-11-25 Juri Linkov <juri@jurta.org>
9632 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9633 to nil instead of switching off view-mode. (Bug#4896)
9635 2009-11-25 Juri Linkov <juri@jurta.org>
9637 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
9639 * mwheel.el (mwheel-scroll-up-function)
9640 (mwheel-scroll-down-function): New defvars.
9641 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9642 `scroll-up', and `mwheel-scroll-down-function' instead of
9645 * doc-view.el (doc-view-scroll-up-or-next-page)
9646 (doc-view-scroll-down-or-previous-page): Add optional ARG.
9647 Use this ARG in the call to image-scroll-up/image-scroll-down.
9648 Change `interactive' spec to "P". Goto next/previous page only
9649 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9650 SPC/DEL case). Doc fix.
9651 (doc-view-next-line-or-next-page)
9652 (doc-view-previous-line-or-previous-page): Rename arg to ARG
9654 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9655 `doc-view-scroll-up-or-next-page', and buffer-local
9656 `mwheel-scroll-down-function' to
9657 `doc-view-scroll-down-or-previous-page'.
9659 2009-11-25 Juri Linkov <juri@jurta.org>
9661 Provide additional default values (directories at other Dired
9662 windows) via M-n in the minibuffer of some Dired commands.
9664 * dired-aux.el (dired-diff, dired-compare-directories)
9665 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9666 `minibuffer-default' in `minibuffer-with-setup-hook'.
9667 (dired-dwim-target-directory): Find a window that displays Dired
9668 buffer instead of failing when the next window is not Dired.
9669 Use `get-window-with-predicate' to find for the next Dired window.
9670 (dired-dwim-target-defaults): New function.
9672 * ediff-util.el (ediff-read-file-name):
9673 Use `dired-dwim-target-defaults' to set `minibuffer-default'
9674 in `minibuffer-with-setup-hook'.
9676 2009-11-25 Juri Linkov <juri@jurta.org>
9678 Provide additional default values (file name at point or at the
9679 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
9681 * minibuffer.el (read-file-name-defaults): New function.
9682 (read-file-name): Reset `minibuffer-default' to nil when
9683 it duplicates initial input `insdef'.
9684 Bind `minibuffer-default-add-function' to lambda that
9685 calls `read-file-name-defaults' in `minibuffer-selected-window'.
9686 (minibuffer-insert-file-name-at-point): New command.
9688 * files.el (file-name-at-point-functions): New defcustom.
9689 (find-file-default): Remove defvar.
9690 (find-file-read-args): Don't use `find-file-default'.
9691 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9692 to `read-file-name'.
9693 (find-file-literally): Use `read-file-name' with
9694 `confirm-nonexistent-file-or-buffer'.
9696 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9698 * dired.el (dired-read-dir-and-switches):
9699 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9700 to `read-file-name'.
9701 (dired-file-name-at-point): New function.
9702 (dired-mode): Add hook `dired-file-name-at-point' to
9703 `file-name-at-point-functions'.
9705 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9707 Really make the *Completions* window soft-dedicated (bug#5030).
9708 * window.el (window--display-buffer-2): Add `dedicated' argument.
9709 (display-buffer): Pass it when needed so the dedicated flag is set
9710 after calling set-window-buffer, which would otherwise reset it.
9712 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9714 * progmodes/meta-mode.el (meta-complete-symbol):
9715 * progmodes/etags.el (complete-tag):
9716 * mail/mailabbrev.el (mail-abbrev-complete-alias):
9717 Use completion-in-region.
9719 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9720 (dabbrev-completion): Use completion-in-region.
9721 (dabbrev--abbrev-at-point): Simplify regexp.
9723 * abbrev.el (abbrev--before-point): Use word-motion functions
9724 if :regexp is not specified (bug#5031).
9726 * subr.el (string-prefix-p): New function.
9728 * man.el (Man-completion-cache): New var.
9729 (Man-completion-table): Use it.
9731 * vc.el (vc-print-log-internal): Make `limit' optional for better
9732 compatibility (e.g. with vc-annotate.el).
9734 2009-11-24 Kevin Ryde <user42@zip.com.au>
9736 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9737 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
9739 * emacs-lisp/elint.el (elint-add-required-env): Better error message
9740 when .el source file not found or other error.
9742 2009-11-24 Markus Triska <markus.triska@gmx.at>
9744 * linum.el (linum-update-window): Ignore intangible (bug#4996).
9746 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9748 Handle the [back] button properly (bug#4979).
9749 * descr-text.el (describe-text-properties): Add a `buffer' argument.
9750 Use help-setup-xref, help-buffer, and with-help-window.
9751 (describe-char): Add `buffer' argument.
9752 Pass proper command to help-setup-xref. Don't meddle with
9753 help-xref-stack-item directly.
9754 (describe-text-category): Use with-help-window and help-buffer.
9756 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9757 for the displayed buffer (bug#4887).
9759 * man.el (Man-completion-table): New function.
9762 2009-11-24 David Reitter <david.reitter@gmail.com>
9764 * vc-git.el (vc-git-registered): Use checkout directory (where
9765 .git is) rather than the file's directory and a relative path spec
9766 to work around a bug in git.
9768 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
9770 Improve handling of processes on remote hosts.
9772 * eshell/esh-util.el (eshell-path-env): New defvar.
9773 (eshell-parse-colon-path): New defun.
9774 (eshell-file-attributes): Use `eshell-parse-colon-path'.
9776 * eshell/esh-ext.el (eshell-search-path):
9777 Use `eshell-parse-colon-path'.
9778 (eshell-remote-command): Remove argument HANDLER.
9779 (eshell-external-command): Check for FTP remote connection.
9781 * eshell/esh-proc.el (eshell-gather-process-output):
9782 Use `file-truename', in order to start also symlinked files.
9783 Apply `start-file-process' instead of `start-process'.
9784 Shorten `command' to the local file name part.
9786 * eshell/em-cmpl.el (eshell-complete-commands-list):
9787 Use `eshell-parse-colon-path'.
9789 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9791 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
9792 to `eshell-directory-change-hook'.
9794 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
9796 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9797 because it could be enabled automatically if view-read-only is non-nil.
9799 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
9801 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9804 2009-11-24 Glenn Morris <rgm@gnu.org>
9806 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9807 deleted variable bookmark-bmenu-bookmark-column.
9809 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9813 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
9815 * net/browse-url.el (browse-url-filename-alist): On Windows, add
9816 two slashes to the "file:" prefix.
9817 (browse-url-file-url): De-munge Cygwin filenames before passing
9818 them to Windows browser.
9819 (browse-url-default-windows-browser): Use call-process.
9821 2009-11-23 Juri Linkov <juri@jurta.org>
9823 Implement DocView Continuous mode. (Bug#4896)
9824 * doc-view.el (doc-view-continuous-mode): New defcustom.
9825 (doc-view-mode-map): Bind C-n/<down> to
9826 `doc-view-next-line-or-next-page', C-p/<up> to
9827 `doc-view-previous-line-or-previous-page'.
9828 (doc-view-next-line-or-next-page)
9829 (doc-view-previous-line-or-previous-page): New commands.
9831 2009-11-23 Juri Linkov <juri@jurta.org>
9833 Implement Isearch in comint input history. (Bug#3746)
9834 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9835 `isearch-mode-hook'.
9836 (comint-history-isearch): New defcustom.
9837 (comint-history-isearch-backward)
9838 (comint-history-isearch-backward-regexp): New commands.
9839 (comint-history-isearch-message-overlay): New buffer-local variable.
9840 (comint-history-isearch-setup, comint-history-isearch-end)
9841 (comint-goto-input, comint-history-isearch-search)
9842 (comint-history-isearch-message, comint-history-isearch-wrap)
9843 (comint-history-isearch-push-state)
9844 (comint-history-isearch-pop-state): New functions.
9846 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
9848 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9850 (tramp-handle-make-symbolic-link)
9851 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9853 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9854 (tramp-handle-process-file): Use it.
9856 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * window.el (move-to-window-line-last-op): Remove.
9859 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9861 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9863 Make M-r mirror the new cycling behavior of C-l.
9864 * window.el (move-to-window-line-last-op): New var.
9865 (move-to-window-line-top-bottom): New command.
9866 (global-map): Bind M-r move-to-window-line-top-bottom.
9868 2009-11-23 Sven Joachim <svenjoac@gmx.de>
9870 * dired-x.el (dired-guess-shell-alist-default):
9871 Support xz format. (Bug#4953)
9873 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
9875 * emulation/viper-cmd.el: Use viper-last-command-char instead of
9876 last-command-char/last-command-event.
9877 (viper-prefix-arg-value): Do correct conversion of event-char for
9880 * emulation/viper-util.el, emulation/viper.el:
9881 Use viper-last-command-char instead of
9882 last-command-char/last-command-event.
9884 * ediff-init.el, ediff-mult.el, ediff-util.el:
9885 Replace last-command-char and last-command-event
9886 with (ediff-last-command-char) everywhere.
9888 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9889 created in fundamental mode.
9891 * ediff.el (ediff-version): Revert the change of interactive-p to
9892 called-interactively-p.
9894 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
9896 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9897 generation from word-movement command names.
9899 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
9901 * cus-start.el (all): Add native condition for font-use-system-font.
9903 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
9905 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9906 Correct the patch from 2009-11-18. (Bug#3910)
9908 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
9910 * progmodes/subword.el: Rename from lisp/subword.el.
9912 * subword.el: Rename to progmodes/subword.el.
9914 * Makefile.in (ELCFILES): Adapt to subword.el move.
9916 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9917 Stefan Monnier <monnier@iro.umontreal.ca>
9919 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9920 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9921 (bookmark-bmenu-show-filenames): Use push.
9922 (bookmark-bmenu-hide-filenames): Use local var instead of
9923 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
9924 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9925 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9926 filenames now that the bookmark names are always available.
9928 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9931 (bookmark-search-pattern): Move and leave unbound.
9932 (bookmark-bmenu-mode-map): Change binding.
9933 (bookmark-read-search-input): Simplify.
9934 Don't use text-char-description. Don't error on non-char events.
9935 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9936 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9937 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9938 Use a local var for the timer.
9939 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9940 (i.e. bookmark-bmenu-search).
9942 2009-11-21 Glenn Morris <rgm@gnu.org>
9944 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
9946 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
9948 * net/browse-url.el (browse-url-default-windows-browser):
9949 Use cygstart for cygwin.
9951 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
9953 * bookmark.el: Formatting and doc fixes only:
9954 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9955 (bookmark-bmenu-search): Wrap to fit within 80 columns.
9956 Minor grammar and punctuation fixes in doc string.
9957 (bookmark-read-search-input): Adjust to fit within 80 columns.
9959 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9961 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9962 (c-backward-into-nomenclature): Adapt to subword renaming.
9964 * subword.el (subword-forward, subword-backward, subword-mark)
9965 (subword-kill, subword-backward-kill, subword-transpose)
9966 (subword-downcase, subword-upcase, subword-capitalize)
9967 (subword-forward-internal, subword-backward-internal):
9968 Rename from forward-subword, backward-subword, mark-subword,
9969 kill-subword, backward-kill-subword, transpose-subwords,
9970 downcase-subword, upcase-subword, capitalize-subword,
9971 forward-subword-internal, backward-subword-internal.
9973 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9975 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9977 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9979 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9980 (bookmark-bmenu-filter-alist-by-regexp)
9981 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9982 (bookmark-bmenu-search): New command.
9983 (bookmark-bmenu-mode-map): Bind it.
9985 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9987 * progmodes/cc-cmds.el: declare-functioned forward-subword and
9988 backward-subword to quit the byte-compiler.
9990 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9992 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9994 * progmodes/cc-cmds.el (c-update-modeline)
9995 (c-forward-into-nomenclature, c-backward-into-nomenclature):
9996 Refer to subword.el functions instead of cc-subword.el.
9998 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9999 subword.el functions instead of cc-subword.el.
10001 * progmodes/cc-subword.el: Rename to subword.el.
10002 * subword.el: Rename from progmodes/cc-subword.el.
10003 (subword-mode-map): Rename from c-subword-mode-map.
10004 (subword-mode): Rename from c-subword-mode.
10005 (global-subword-mode): New global minor mode.
10006 (forward-subword): Rename from c-forward-subword.
10007 (backward-subword): Rename from c-backward-subword.
10008 (mark-subword): Rename from c-mark-subword.
10009 (kill-subword): Rename from c-kill-subword.
10010 (backward-kill-subword): Rename from c-backward-kill-subword.
10011 (transpose-subwords): Rename from c-tranpose-subword.
10012 (downcase-subword): Rename from c-downcase-subword.
10013 (capitalize-subword): Rename from c-capitalize-subword.
10014 (forward-subword-internal): Rename from c-forward-subword-internal.
10015 (backward-subword-internal): Rename from c-backward-subword-internal.
10017 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
10019 * vc.el (vc-deduce-fileset): Allow non-state changing operations
10020 from a dired buffer.
10021 (vc-dired-deduce-fileset): New function.
10022 (vc-root-diff, vc-print-root-log): Use it.
10024 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
10025 nil LIMIT argument to vc-print-log-internal.
10027 2009-11-20 Glenn Morris <rgm@gnu.org>
10029 * Makefile.in (ELCFILES): Regenerate.
10031 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
10033 * calc/calc.el (calc-set-mode-line):
10034 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10035 (math-format-number): Rename `math-format-complement-signed' to
10036 `math-format-twos-complement'.
10038 * calc/calc-bin.el (math-format-twos-complement): Rename from
10039 math-format-complement-signed.
10040 (calc-radix): Rename `calc-complement-signed-mode' to
10041 `calc-twos-complement-mode'.
10042 (calc-octal-radix, calc-hex-radix): Add an argument for
10045 * calc/calc-embed.el (calc-embedded-mode-vars):
10046 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10048 * calc/calc-ext.el (calc-init-extensions):
10049 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
10050 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
10052 * calc/calc-units.el (math-build-units-table-buffer):
10053 Let `calc-twos-complement-mode' be nil.
10055 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
10058 * calc/calc-vec.el (calcFunc-vunpack):
10059 * calc/calc-aent.el (calc-do-calc-eval):
10060 * calc/calc-forms.el (math-format-date):
10061 * calc/calc-graph.el (calc-graph-plot):
10062 * calc/calc-math.el (math-use-emacs-fn):
10063 * calc/calccomp.el (math-compose-expr):
10064 Let `calc-twos-complement-mode' be nil.
10066 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10068 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
10069 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
10070 * minibuffer.el (completion-in-region-functions): New hook.
10071 (completion-in-region): New function.
10072 * emacs-lisp/lisp.el (lisp-complete-symbol):
10073 * pcomplete.el (pcomplete-std-complete): Use it.
10075 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
10077 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
10078 (latex-complete-alist): New vars.
10079 (latex-string-prefix-p, latex-complete-bibtex-keys)
10080 (latex-complete-envnames, latex-complete-refkeys)
10081 (latex-complete-data): New functions.
10082 (latex-complete, latex-indent-or-complete): New commands.
10084 * window.el (display-buffer-mark-dedicated): New var.
10085 (display-buffer): Obey it.
10086 * minibuffer.el (minibuffer-completion-help): Use it.
10088 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
10090 * filecache.el (file-cache-add-file): Use push and cons.
10091 (file-cache-delete-file-regexp): Use push.
10092 (file-cache-complete): Use completion-in-region.
10094 * simple.el (with-wrapper-hook): Fix thinko.
10096 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
10097 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
10098 Use with-current-buffer and string-to-number.
10099 (hfy-fallback-colour-values): Use assoc-string.
10100 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
10101 (hfy-face-at): Remove unused var `found-face'.
10102 (hfy-compile-stylesheet): Remove unused var `css'.
10103 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
10105 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
10106 Use with-current-buffer.
10107 (hfy-text-p): Use expand-file-name and fewer setq.
10109 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
10111 * htmlfontify.el, hfy-cmap.el: New files.
10113 2009-11-19 Juri Linkov <juri@jurta.org>
10115 * minibuffer.el (completions-format): New defcustom.
10116 (completion--insert-strings): Implement vertical format.
10118 * simple.el (switch-to-completions): Move point to the first
10119 completion when point was at the beginning of the buffer.
10121 2009-11-19 Juri Linkov <juri@jurta.org>
10123 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
10125 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
10127 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
10129 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
10130 (mail-signature): Change default to t.
10131 (mail-from-style): Deprecate `system-default' value.
10132 (mail-insert-from-field): For default value of mail-from-style,
10133 default to `angles' unless `angles' needs quoting and `parens'
10135 (mail-citation-prefix-regexp): Use citation regexp from
10138 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
10140 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
10141 Set variables for computing the prompt for reading password.
10143 2009-11-19 Glenn Morris <rgm@gnu.org>
10145 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
10147 * textmodes/flyspell.el (sgml-lexical-context): Declare.
10149 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
10150 (newsticker-treeview-listwindow-height): Fix custom type.
10152 2009-11-19 Kenichi Handa <handa@m17n.org>
10154 * descr-text.el (describe-char-padded-string): Compose with TAB
10155 only if there's a font for CH.
10156 (describe-char): Fix the condition for detecting a trivial composition.
10158 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
10160 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
10161 more accurate version of the regexp. (Bug#3910)
10163 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10165 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
10167 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
10169 * font-setting.el (font-use-system-font): Declare for byte-compiler.
10170 (font-setting-change-default-font): Fix typo in docstring.
10172 2009-11-18 Alan Mackenzie <acm@muc.de>
10174 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
10176 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10178 * font-setting.el (font-use-system-font): Move ...
10180 * cus-start.el (all): ... to here.
10182 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
10184 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
10185 Don't set `ad-return-value' if `ad-do-it' doesn't.
10187 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
10190 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
10192 * menu-bar.el: Put "Use system font" in Option-menu.
10193 (menu-bar-options-save): Add font-use-system-font.
10195 * loadup.el: If feature system-font-setting or font-render-setting is
10196 there, load font-setting.
10198 * Makefile.in (ELCFILES): Add font-settings.el.
10199 * font-setting.el: New file.
10201 2009-11-17 Glenn Morris <rgm@gnu.org>
10203 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
10205 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
10206 Preserve point in the list buffer. (Bug#4939)
10208 (newsticker--treeview-list-update-highlight)
10209 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
10211 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10213 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
10216 * calc/calc-ext.el (calc-init-extensions): Remove references to
10219 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
10221 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
10222 * calc/calc-help.el (calc-b-prefix-help): Remove references to
10225 2009-11-16 Kevin Ryde <user42@zip.com.au>
10227 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
10228 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
10230 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
10231 (lm-keywords-list): Allow comma-only separator like "foo,bar".
10232 Ignore trailing spaces by omit-nulls to split-string (fixing
10233 regression from Emacs 21 due to the incompatible split-string
10234 change). (Bug #4928.)
10236 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
10238 * vc.el (vc-log-show-limit): Default to 2000.
10239 (vc-print-log-internal): Insert buttons to request more entries
10240 when limiting the output.
10242 * vc-sccs.el (vc-sccs-print-log):
10243 * vc-rcs.el (vc-rcs-print-log):
10244 * vc-cvs.el (vc-cvs-print-log):
10245 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
10248 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10250 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
10251 error when `tramp-gvfs-dbus-event-vector' is set.
10252 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
10254 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
10258 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
10260 * net/dbus.el (dbus-unregister-service): New defun.
10261 (dbus-register-property): Register the handlers of
10262 "org.freedesktop.DBus.Properties" for SERVICE.
10263 (dbus-property-handler): Fix docstring.
10265 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10267 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
10268 Quote doc string reference in defvaralias as it is not in special form.
10269 (byte-compile-output-docform): Doc fix.
10271 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
10273 * calc/calc.el (math-2-word-size, math-half-2-word-size)
10274 (calc-complement-signed-mode): New variables.
10275 (calc-set-mode-line): Add indicator for twos-complements.
10276 (math-format-number): Format twos-complement notation.
10278 * calc/calc-bin.el (calc-word-size): Reset the variables
10279 `math-2-word-size' and `math-half-2-word-size'.
10280 (math-format-complement-signed, math-symclip, calcFunc-symclip)
10281 (calc-symclip): New functions.
10283 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
10285 * calc/calc-embed.el (calc-embedded-mode-vars):
10286 Add `calc-complement-signed-mode' to the list of modes.
10288 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
10289 (calc-b-oper-keys): Add `calc-symclip' to list.
10291 * calc/calc-ext.el (math-read-number-fancy): Read complement
10293 (calc-init-extensions): Add binding for `calc-symclip'.
10294 Add autoload for `calcFunc-symclip' and `calc-symclip'.
10296 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
10298 (calc-modes-menu): Add item for twos complement mode.
10300 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
10302 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10304 * register.el (jump-to-register, insert-register): Handle Semantic
10305 tags. From commented-out advice in semantic/senator.el.
10307 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
10309 * vc.el (vc-log-show-limit): New variable.
10310 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
10311 when using a prefix argument.
10312 (vc-print-log-internal): Add new argument LIMIT.
10314 * vc-svn.el (vc-svn-print-log):
10315 * vc-mtn.el (vc-mtn-print-log):
10316 * vc-hg.el (vc-hg-print-log):
10317 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
10318 pass it to the log command when set. Make the BUFFER argument
10321 * vc-sccs.el (vc-sccs-print-log):
10322 * vc-rcs.el (vc-rcs-print-log):
10323 * vc-git.el (vc-git-print-log):
10324 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
10325 ignore it. Make the BUFFER argument non-optional
10327 * bindings.el (mode-line-buffer-identification): Do not purecopy.
10329 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
10331 * dired.el (dired-mode-map): Move encryption items to "Operate"
10334 * strokes.el (strokes-update-window-configuration): Make strokes
10335 buffer current before erasing (Bug#4906).
10337 2009-11-15 Juri Linkov <juri@jurta.org>
10339 * simple.el (set-mark-default-inactive): Add :type, :group
10340 and :version. (Bug#4876)
10342 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
10344 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
10345 (archive-unique-fname): ... here. (Bug#4929)
10347 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
10352 * novice.el (disabled-command-function): Add useful args.
10353 Setup the help buffer so that [back] works.
10354 Remove redundant call to help-mode.
10355 (disabled-command-function): Use `case'.
10356 (en/disable-command): New function extracted from enable-command.
10357 (enable-command, disable-command): Use it.
10359 2009-11-14 Glenn Morris <rgm@gnu.org>
10361 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
10362 constants. (Bug#4913)
10364 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
10366 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
10368 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
10369 defined in C that have no doc-strings. (Bug#1063)
10371 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
10373 * cus-edit.el (data, files):
10374 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
10376 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
10378 * simple.el (shell-command): Doc fix (Bug#4891).
10380 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
10382 2009-11-14 Glenn Morris <rgm@gnu.org>
10384 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
10385 statements for vc-diff, emerge-quit, and rmail-cease-edit.
10386 If they are already loaded, eval-after-load will do the right thing.
10388 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
10391 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
10393 * simple.el (x-selection-owner-p): Declare.
10394 (read-mail-command): Use custom radio type rather than choice.
10395 (completion-no-auto-exit): Doc fix.
10397 * custom.el (defgroup):
10398 * epg-config.el (epg): Doc fixes.
10400 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
10402 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
10403 * international/ccl.el (define-ccl-program): Do not purecopy the
10404 docstring, defconst does it anyway.
10406 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10408 * add-log.el (add-change-log-entry): Avoid displaying the changelog
10411 * x-dnd.el (x-dnd-maybe-call-test-function):
10412 * window.el (split-window-vertically):
10413 * whitespace.el (whitespace-help-on):
10414 * vc-rcs.el (vc-rcs-consult-headers):
10415 * userlock.el (ask-user-about-lock-help)
10416 (ask-user-about-supersession-help):
10417 * type-break.el (type-break-force-mode-line-update):
10418 * time-stamp.el (time-stamp-conv-warn):
10419 * terminal.el (te-set-output-log, te-more-break, te-filter)
10420 (te-sentinel, terminal-emulator):
10421 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
10422 (term-write-input-ring, term-check-source, term-start-output-log):
10423 (term-display-buffer-line, term-dynamic-list-completions):
10424 (term-ansi-make-term, serial-term):
10425 * subr.el (selective-display):
10426 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
10427 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
10428 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
10429 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
10430 (speedbar-remove-localized-speedbar-support)
10431 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
10432 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
10433 (speedbar-buffers-line-directory):
10434 * simple.el (shell-command-on-region, append-to-buffer)
10435 (prepend-to-buffer):
10436 * shadowfile.el (shadow-save-todo-file):
10437 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
10438 (scroll-bar-maybe-set-window-start):
10439 * sb-image.el (speedbar-image-dump):
10440 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
10441 (load-save-place-alist-from-file):
10442 * ps-samp.el (ps-print-message-from-summary):
10443 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
10444 (ps-background-image, ps-begin-job, ps-do-despool):
10445 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
10446 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
10447 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
10448 (pr-call-process, pr-file-list, pr-interface-save):
10449 * novice.el (disabled-command-function)
10450 (enable-command, disable-command):
10451 * mouse.el (mouse-buffer-menu-alist):
10452 * mouse-copy.el (mouse-kill-preserving-secondary):
10453 * macros.el (kbd-macro-query):
10454 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
10455 * informat.el (batch-info-validate):
10456 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
10457 * hippie-exp.el (try-expand-dabbrev-visible):
10458 * help-mode.el (help-make-xrefs):
10459 * help-fns.el (describe-variable):
10460 * generic-x.el (bat-generic-mode-run-as-comint):
10461 * finder.el (finder-mouse-select):
10462 * find-dired.el (find-dired-sentinel):
10463 * filesets.el (filesets-file-close):
10464 * files.el (list-directory):
10465 * faces.el (list-faces-display, describe-face):
10466 * facemenu.el (list-colors-display):
10467 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
10468 * epg.el (epg--process-filter, epg-cancel):
10469 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
10470 (epa--read-signature-type):
10471 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
10472 (emerge-file-names):
10473 * ehelp.el (electric-helpify):
10474 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
10475 * ediff-vers.el (rcs-ediff-view-revision):
10476 * ediff-util.el (ediff-setup):
10477 * ediff-mult.el (ediff-append-custom-diff):
10478 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
10480 * echistory.el (Electric-command-history-redo-expression):
10481 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
10482 * disp-table.el (describe-display-table):
10483 * dired.el (dired-find-buffer-nocreate):
10484 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
10485 * dabbrev.el (dabbrev--same-major-mode-p):
10486 * chistory.el (list-command-history):
10487 * apropos.el (apropos-documentation):
10488 * allout.el (allout-obtain-passphrase):
10489 (allout-copy-exposed-to-buffer):
10490 (allout-verify-passphrase): Use with-current-buffer.
10492 2009-11-13 Glenn Morris <rgm@gnu.org>
10494 * Makefile.in (ELCFILES): Regenerate.
10496 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
10498 * net/dbus.el (dbus-registered-objects-table): Rename from
10499 `dbus-registered-functions-table', because it contains also properties.
10500 (dbus-unregister-object): Unregister also properties.
10501 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10502 Use a timeout of 500 msec, in order to not block.
10503 (dbus-register-property, dbus-property-handler): New defuns.
10505 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10507 * simple.el (minibuffer-default-add-completions): Drop deprecated
10510 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
10512 * textmodes/artist.el (artist-mouse-choose-operation):
10513 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10514 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10515 (artist-compute-up-event-key): New function.
10516 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10518 2009-11-13 Kenichi Handa <handa@m17n.org>
10520 * language/japan-util.el: Make sure that the value of jisx0208
10521 property is jisx0208 character.
10523 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
10525 * international/mule.el (auto-coding-regexp-alist): Only purecopy
10526 car or each item, not the whole list.
10528 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
10530 * minibuffer.el (minibuffer-completion-help):
10531 Use minibuffer-hide-completions.
10533 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
10535 * dired.el (dired-save-positions, dired-restore-positions): New funs.
10536 (dired-revert): Use them (bug#4880).
10538 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10540 * tooltip.el (tooltip-frame-parameters): Undo previous change.
10542 2009-11-12 Juri Linkov <juri@jurta.org>
10544 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10546 (find-file-literally-at-point): Alias of `ffap-literally'.
10548 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10550 * textmodes/ispell.el (ispell-skip-region-alist):
10551 * textmodes/css-mode.el (auto-mode-alist):
10552 * progmodes/compile.el (auto-mode-alist):
10553 * international/mule.el (ctext-non-standard-encodings-alist)
10554 (ctext-non-standard-encodings-regexp):
10555 * simple.el (shell-command-switch, text-read-only):
10556 * replace.el (occur-mode-map):
10557 * paths.el (rmail-file-name):
10558 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10559 * find-file.el (ff-special-constructs):
10560 * files.el (file-name-handler-alist):
10561 * composite.el: Purecopy strings.
10563 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10565 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10567 * widget.el (define-widget): Purecopy the docstring.
10568 * international/mule-cmds.el (charset): Do not purecopy the
10569 docstring here, define-widget does it.
10571 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10572 * textmodes/bibtex-style.el (auto-mode-alist):
10573 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10574 * progmodes/compile.el (compile-command):
10575 * language/korea-util.el (default-korean-keyboard):
10576 * international/mule-conf.el (file-coding-system-alist):
10577 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10578 * tooltip.el (tooltip-frame-parameters):
10579 * newcomment.el (comment-end, comment-padding):
10580 * dired.el (dired-trivial-filenames):
10581 * comint.el (comint-file-name-prefix): Purecopy initial values.
10583 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
10585 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10586 (tramp-advice-minibuffer-electric-tilde): Unload advices via
10588 (tramp-advice-make-auto-save-file-name)
10589 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10590 after removing the advice.
10592 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10594 * progmodes/grep.el (grep-regexp-alist):
10595 * international/mule-cmds.el (iso-2022-control-alist):
10596 * emacs-lisp/timer.el (timer-duration-words):
10597 * subr.el (version-separator, version-regexp-alist):
10598 * minibuffer.el (completion-styles-alist):
10599 * faces.el (face-attribute-name-alist, list-faces-sample-text):
10600 Change defvars to defconsts.
10602 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10603 * loadup.el ("international/mule-conf"): Load the byte compiled version.
10604 * international/mule-conf.el: Allow to be byte compiled.
10606 * international/mule.el (define-charset): Purecopy props.
10607 (load-with-code-conversion): Purecopy doc string and file name.
10608 (put-charset-property): Purecopy strings.
10609 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10611 * international/mule-cmds.el (register-input-method): Purecopy arguments.
10612 (define-char-code-property): Correctly purecopy the table.
10614 * international/ccl.el (define-ccl-program): Purecopy the docstring.
10616 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10618 * subr.el (add-hook): Purecopy strings.
10619 (eval-after-load): Purecopy load-history-regexp and the form.
10621 * custom.el (custom-declare-group): Purecopy load-file-name.
10623 * subr.el (menu-bar-separator): New defconst.
10624 * net/eudc.el (eudc-tools-menu):
10625 * international/mule-cmds.el (set-coding-system-map)
10626 (mule-menu-keymap):
10627 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10628 * vc-hooks.el (vc-menu-map):
10629 * replace.el (occur-mode-map):
10630 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10631 (menu-bar-edit-menu, menu-bar-goto-menu)
10632 (menu-bar-custom-menu, menu-bar-showhide-menu)
10633 (menu-bar-options-menu, menu-bar-tools-menu)
10634 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10635 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10636 (menu-bar-help-menu):
10637 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10638 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10640 * term/x-win.el (x-gtk-stock-map):
10641 * progmodes/vera-mode.el (auto-mode-alist):
10642 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10643 (inferior-lisp-program, inferior-lisp-load-command):
10644 * progmodes/hideshow.el (hs-special-modes-alist):
10645 * progmodes/gud.el (same-window-regexps):
10646 * progmodes/grep.el (grep-program, find-program, xargs-program):
10647 * net/telnet.el (same-window-regexps):
10648 * net/rlogin.el (same-window-regexps):
10649 * language/ethiopic.el (font-ccl-encoder-alist):
10650 * vc-sccs.el (vc-sccs-master-templates):
10651 * vc-rcs.el (vc-rcs-master-templates):
10652 * subr.el (cl-assertion-failed):
10653 * simple.el (next-error-overlay-arrow-position):
10654 * lpr.el (lpr-command):
10655 * locate.el (locate-ls-subdir-switches):
10656 * info.el (same-window-regexps, info)
10657 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10658 * image-mode.el (image-mode, auto-mode-alist):
10659 * hippie-exp.el (hippie-expand-ignore-buffers):
10660 * format.el (format-alist):
10661 * find-dired.el (find-ls-subdir-switches, find-grep-options)
10663 * facemenu.el (facemenu-keybindings):
10664 * dired.el (dired-listing-switches, dired-chown-program):
10665 * diff.el (diff-switches, diff-command):
10666 * cus-edit.el (same-window-regexps):
10667 * bindings.el (mode-line-mule-info)
10668 (mode-line-buffer-identification): Purecopy strings.
10670 2009-11-11 Juri Linkov <juri@jurta.org>
10672 * simple.el (dired-get-filename) <declare-function>:
10673 Tell the byte-compiler about dired-get-filename.
10674 (shell-command): In Dired mode, get filename from the current line
10675 as the default value.
10677 2009-11-10 Glenn Morris <rgm@gnu.org>
10679 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10680 * calendar/holidays.el, progmodes/cperl-mode.el:
10681 Update x-popup-menu declarations.
10683 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10684 (list-load-path-shadows): Use dolist.
10685 (list-load-path-shadows): Use with-current-buffer.
10687 2009-11-10 Juri Linkov <juri@jurta.org>
10689 * minibuffer.el (read-file-name): Support a list of default values
10690 in `default-filename'. Use the first file name where only one
10691 element is required. Doc fix.
10693 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
10695 * net/dbus.el (dbus-unregister-object): Release service, if no
10696 other method is registered for it.
10698 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
10700 * bookmark.el (bookmark-completing-read): Sort bookmark names if
10701 bookmark-sort-flag is non-nil (Bug#4653).
10703 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10705 * emulation/cua-base.el: Add CUA property to some CC mode commands
10708 2009-11-08 Kevin Ryde <user42@zip.com.au>
10710 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10711 at end of sentence (Bug#4818).
10713 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
10715 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10716 Handle "see declaration of" MSFT statements (Bug#4100).
10718 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
10720 * net/tramp.el (tramp-advice-make-auto-save-file-name)
10721 (tramp-advice-file-expand-wildcards): Unload via
10722 `ad-remove-advice'.
10724 * net/trampver.el: Update release number.
10726 2009-11-08 Kevin Ryde <user42@zip.com.au>
10728 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10731 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
10733 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10734 in order to keep context in SELinux.
10736 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10738 * dired-aux.el (dired-query): Place cursor in echo area and allow
10741 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10742 menu item if not on a directory (Bug#4701).
10744 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
10746 Sync with Tramp 2.1.17.
10748 * net/tramp.el (tramp-handle-copy-directory): Don't use
10749 `file-remote-p' (due to compatibility).
10751 * net/tramp-compat.el (tramp-compat-copy-directory)
10752 (tramp-compat-delete-directory): New defuns.
10754 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10755 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10756 `tramp-compat-delete-directory'.
10758 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10759 (tramp-smb-handle-delete-directory): Use
10760 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10762 * net/trampver.el: Update release number.
10764 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
10766 * tar-mode.el (tar-copy): Call write-region on the right buffer
10769 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10770 by hand, if necessary (Bug#4878).
10772 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
10774 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10775 align size column (Bug#4839).
10777 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10780 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10782 * progmodes/ld-script.el (auto-mode-alist):
10783 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10785 * cus-face.el (custom-declare-face): Purecopy face spec.
10787 2009-11-06 Kenichi Handa <handa@m17n.org>
10789 * international/uni-bidi.el: Re-generated.
10790 * international/uni-category.el: Re-generated.
10791 * international/uni-combining.el: Re-generated.
10792 * international/uni-mirrored.el: Re-generated.
10794 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10796 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10797 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10798 (tex-start-options, slitex-run-command, latex-run-command)
10799 (tex-run-command, tex-directory):
10800 * textmodes/ispell.el (ispell-html-skip-alists)
10801 (ispell-tex-skip-alists, ispell-tex-skip-alists):
10802 * textmodes/fill.el (adaptive-fill-first-line-regexp):
10803 (adaptive-fill-regexp):
10804 * textmodes/dns-mode.el (auto-mode-alist):
10805 * progmodes/python.el (interpreter-mode-alist):
10806 * progmodes/etags.el (tags-compression-info-list):
10807 * progmodes/etags.el (tags-file-name):
10808 * net/browse-url.el (browse-url-galeon-program)
10809 (browse-url-firefox-program):
10810 * mail/sendmail.el (mail-signature-file)
10811 (mail-citation-prefix-regexp):
10812 * international/mule-conf.el (eight-bit):
10813 * international/latexenc.el (latex-inputenc-coding-alist):
10814 * international/fontset.el (x-pixel-size-width-font-regexp):
10815 * emacs-lisp/warnings.el (warning-type-format):
10816 * emacs-lisp/trace.el (trace-buffer):
10817 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10818 (emacs-lisp-mode-map):
10819 * calendar/holidays.el (holiday-solar-holidays)
10820 (holiday-bahai-holidays, holiday-islamic-holidays)
10821 (holiday-christian-holidays, holiday-hebrew-holidays)
10822 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10823 (hebrew-holidays-1, holiday-oriental-holidays)
10824 (holiday-general-holidays):
10825 * x-dnd.el (x-dnd-known-types):
10826 * tool-bar.el (tool-bar):
10827 * startup.el (site-run-file):
10828 * shell.el (shell-dumb-shell-regexp):
10829 * rfn-eshadow.el (file-name-shadow-tty-properties)
10830 (file-name-shadow-properties):
10831 * paths.el (remote-shell-program, news-directory):
10832 * mouse.el ([C-down-mouse-3]):
10833 * menu-bar.el (menu-bar-tools-menu):
10834 * jka-cmpr-hook.el (jka-compr-load-suffixes)
10835 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10836 (jka-compr-compression-info-list):
10837 * isearch.el (search-whitespace-regexp):
10838 * image-file.el (image-file-name-extensions):
10839 * find-dired.el (find-ls-option):
10840 * files.el (directory-listing-before-filename-regexp)
10841 (directory-free-space-args, insert-directory-program)
10842 (list-directory-brief-switches, magic-fallback-mode-alist)
10843 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10844 (automount-dir-prefix):
10845 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10846 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10847 (face-font-registry-alternatives, face-font-registry-alternatives)
10848 (face-font-family-alternatives):
10849 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10850 (facemenu-foreground-menu, facemenu-face-menu):
10851 * epa-hook.el (epa-file-name-regexp):
10852 * dnd.el (dnd-protocol-alist):
10853 * textmodes/rst.el (auto-mode-alist):
10854 * button.el (default-button): Purecopy strings.
10856 2009-11-06 Glenn Morris <rgm@gnu.org>
10858 * Makefile.in (ELCFILES): Update.
10860 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
10862 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10863 * emacs-lisp/levents.el: Move to obsolete/levents.el.
10865 * nxml/xsd-regexp.el (xsdre-gen-categories):
10866 * nxml/xmltok.el (xmltok-parse-entity):
10867 * nxml/rng-parse.el (rng-parse-validate-file):
10868 * nxml/rng-maint.el (rng-format-manual)
10869 (rng-manual-output-force-new-line):
10870 * nxml/rng-loc.el (rng-save-schema-location-1):
10871 * nxml/rng-cmpct.el (rng-c-parse-file):
10872 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10873 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10875 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
10877 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10878 Remove extra save-excursions and make-variable-buffer-local's.
10879 Suggested by Stefan Monnier.
10881 (verilog-getopt-file, verilog-module-inside-filename-p)
10882 (verilog-set-define): Merge GNU 1.35 and repair changes from
10883 switching to using with-current-buffer.
10885 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10886 being treated as a number and confusing AUTORESET.
10887 Reported by Dan Dever.
10889 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10890 Add verilog-auto-ignore-concat to fix backward compatibility with
10891 older verilog-modes. Reported by Dan Katz.
10893 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10894 containing closing anchors "...$".
10896 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10897 Reported by Wade Smith.
10899 (verilog-batch-execute-func): Comment on function usage.
10901 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
10903 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10906 (verilog-label-re, verilog-calc-1): Support proper indent of named
10909 (verilog-backward-token, verilog-basic-complete-re)
10910 (verilog-beg-of-statement, verilog-indent-re): Support proper
10911 indent of the assert statement at the beginning of a block of text.
10913 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10914 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10917 2009-11-05 Glenn Morris <rgm@gnu.org>
10919 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10920 Emacs 19. (Bug#1531)
10921 (byte-compile-fix-header): Update for the above change.
10922 Drop test for epoch::version.
10924 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10925 * cus-dep.el (custom-make-dependencies):
10926 * finder.el (finder-compile-keywords):
10927 Use autoload-rubric's feature argument.
10929 * calendar/diary-lib.el (top-level): Make load behave more like require.
10931 * vc-git.el (vc-git-stash-map): Move definition before use.
10933 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
10935 * custom.el (custom-declare-group): Purecopy standard-value.
10936 (custom-declare-group): Purecopy custom-prefix.
10938 * international/mule.el (load-with-code-conversion):
10939 Call do-after-load-evaluation unconditionally.
10941 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10943 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10945 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10947 2009-11-04 Glenn Morris <rgm@gnu.org>
10949 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10950 (byte-compile-compatibility): Remove option.
10951 (byte-compile-close-variables, byte-compile-fix-header)
10952 (byte-compile-insert-header, byte-compile-output-docform)
10953 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10954 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10955 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10956 (byte-compile-insert, byte-compile-defun):
10957 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
10958 (byte-defop-compiler19): Remove.
10959 Without byte-compile-compatibility, the 'emacs19-opcode property is not
10960 used by anything. Replace all calls with byte-defop-compiler.
10962 2009-11-04 Juri Linkov <juri@jurta.org>
10964 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10965 (menu-bar-options-menu): Don't quote the `prop' arg of
10966 `menu-bar-make-mm-toggle'.
10968 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
10970 * calendar/calendar.el (cal-loaddefs):
10971 * calendar/diary-lib.el (diary-loaddefs):
10972 * calendar/holidays.el (hol-loaddefs):
10973 * eshell/esh-module.el (esh-groups): Load rather than require.
10975 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10977 * calendar/todo-mode.el (todo-add-category): Don't hardcode
10979 (todo-top-priorities): Only display-buffer when called interactively.
10980 (todo-item-start): Don't save excursion point.
10981 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
10982 (todo-insert-item-here, todo-file-item, todo-remove-item):
10983 Adjust uses of todo-item-start and todo-item-end.
10985 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10986 (autoload-rubric): Don't use any more.
10988 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10989 and only put a prop if it is non-nil.
10991 2009-11-03 Juri Linkov <juri@jurta.org>
10993 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10994 (menu-bar-options-menu): Fix list quoting (Bug#4429).
10996 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10997 and "Menu" to make top-level menu item visually one unit (like
10998 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10999 multi-word menu items). Fix :help string for quit-window.
11001 2009-11-03 Glenn Morris <rgm@gnu.org>
11003 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
11004 (byte-compile-file-form-define-abbrev-table)
11005 (byte-compile-file-form-custom-declare-variable)
11006 (byte-compile-variable-ref, byte-compile-defvar):
11007 Whether or not a warning is enabled should only affect whether we issue
11008 the warning, not whether or not we collect the relevant data.
11009 Eg warnings can be turned on and off throughout the course of a file.
11011 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
11012 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
11014 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
11016 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
11017 * play/mpuz.el (mpuz-create-buffer):
11018 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
11019 (lm-print-y,s,noise, lm-print-w0, lm-init):
11020 * play/gomoku.el (gomoku-prompt-for-move):
11021 * play/fortune.el (fortune-in-buffer):
11022 * play/dissociate.el (dissociated-press):
11023 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
11024 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
11025 * mail/supercite.el (sc-eref-show):
11026 * mail/smtpmail.el (smtpmail-send-it):
11027 * mail/rmailsum.el (rmail-summary-next-labeled-message)
11028 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
11029 (rmail-summary-undelete-many, rmail-summary-rmail-update)
11030 (rmail-summary-goto-msg, rmail-summary-expunge)
11031 (rmail-summary-get-new-mail, rmail-summary-search-backward)
11032 (rmail-summary-add-label, rmail-summary-output-menu)
11033 (rmail-summary-output-body):
11034 * mail/rfc822.el (rfc822-addresses):
11035 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
11036 * mail/mailpost.el (post-mail-send-it):
11037 * mail/hashcash.el (hashcash-generate-payment):
11038 * mail/feedmail.el (feedmail-run-the-queue)
11039 (feedmail-queue-send-edit-prompt-help-first)
11040 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
11041 (feedmail-deduce-address-list):
11042 * eshell/esh-ext.el (eshell-remote-command):
11043 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
11044 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
11045 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
11046 (viper-save-string-in-file, viper-valid-marker):
11047 * emulation/viper-keym.el (viper-toggle-key):
11048 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
11049 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
11050 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
11051 * emulation/viper-cmd.el (viper-exec-form-in-vi)
11052 (viper-exec-form-in-emacs, viper-brac-function):
11053 * emulation/viper.el (viper-delocalize-var):
11054 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
11055 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
11056 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
11057 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
11058 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
11059 * emulation/edt.el (edt-electric-helpify):
11060 * emulation/cua-rect.el (cua--rectangle-aux-replace):
11061 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
11062 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
11063 (cua-indent-to-global-mark-column):
11064 * calendar/diary-lib.el (calendar-mark-1):
11065 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
11066 Use with-current-buffer.
11067 * emulation/viper.el (viper-delocalize-var): Use dolist.
11069 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
11071 * comint.el (comint-replace-by-expanded-history-before-point):
11072 Replace !! with the previous input string literally (Bug#1795).
11074 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
11076 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
11077 to be made up of whitespace.
11079 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
11081 * minibuffer.el (read-file-name): Don't use file dialogs for
11082 remote directories (Bug#99).
11084 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
11086 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
11088 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
11090 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
11091 instead of deleting the window or frame.
11093 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11095 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
11096 Support face colors.
11098 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
11099 New function. Support face colors (Bug#1168).
11100 (tex-common-initialization): Use it.
11102 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
11103 mode allows it (Bug#1168).
11105 2009-10-31 Juri Linkov <juri@jurta.org>
11107 * facemenu.el (list-colors-display): Don't mark buffer as
11108 modified (Bug#3948).
11110 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
11112 * international/mule-diag.el (list-character-sets-1): Minor
11113 message fix (Bug#3526).
11115 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
11116 face property (Bug#4834).
11117 (etags-list-tags, etags-tags-apropos-additional)
11118 (etags-tags-apropos, tags-select-tags-table): Add follow-link
11121 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
11124 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
11126 * textmodes/two-column.el (2C-split):
11127 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
11128 * textmodes/tex-mode.el (tex-set-buffer-directory):
11129 * textmodes/spell.el (spell-region, spell-string):
11130 * textmodes/reftex.el (reftex-erase-buffer):
11131 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
11132 * textmodes/reftex-toc.el (reftex-toc-promote-action):
11133 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
11134 (reftex-select-item):
11135 * textmodes/reftex-ref.el (reftex-label-info-update)
11136 (reftex-offer-label-menu):
11137 * textmodes/reftex-index.el (reftex-index-change-entry)
11138 (reftex-index-phrases-info):
11139 * textmodes/reftex-global.el (reftex-create-tags-file)
11140 (reftex-save-all-document-buffers, reftex-ensure-write-access):
11141 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
11142 (reftex-view-crossref-from-bibtex):
11143 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
11144 (reftex-extract-bib-entries-from-thebibliography)
11145 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
11146 * textmodes/refbib.el (r2b-capitalize-title):
11147 (r2b-convert-buffer, r2b-help):
11148 * textmodes/page-ext.el (pages-directory)
11149 (pages-directory-goto-with-mouse):
11150 * textmodes/bibtex.el (bibtex-validate-globally):
11151 * textmodes/bib-mode.el (bib-capitalize-title):
11152 * textmodes/artist.el (artist-clear-buffer, artist-system):
11153 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
11154 (local-set-scheme-interaction-buffer, xscheme-process-filter)
11155 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
11156 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
11157 (xscheme-send-control-g-interrupt, xscheme-start-process)
11158 (xscheme-process-sentinel, xscheme-cd):
11159 * progmodes/verilog-mode.el (verilog-read-always-signals)
11160 (verilog-set-define, verilog-getopt-file)
11161 (verilog-module-inside-filename-p):
11162 * progmodes/sh-script.el:
11163 * progmodes/python.el (python-pdbtrack-get-source-buffer)
11164 (python-pdbtrack-grub-for-buffer, python-execute-file):
11165 * progmodes/octave-inf.el (inferior-octave):
11166 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11167 (idlwave-shell-compile-helper-routines, idlwave-set-local)
11168 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
11169 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
11170 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
11171 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
11172 (idlwave-shell-filter, idlwave-shell-examine-highlight)
11173 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
11174 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
11175 (idlwave-shell-examine-display, idlwave-shell-run-region)
11176 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
11177 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
11178 * progmodes/idlw-help.el (idlwave-help-get-special-help)
11179 (idlwave-help-get-help-buffer):
11180 * progmodes/gud.el (gud-basic-call, gud-find-class)
11181 (gud-tooltip-activate-mouse-motions-if-enabled):
11182 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11183 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
11184 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
11185 (ebrowse-tags-next-file):
11186 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
11187 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
11188 (ebnf-eps-finish-and-write):
11189 * progmodes/cpp.el (cpp-edit-save):
11190 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
11191 * progmodes/cc-defs.el (c-emacs-features):
11192 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
11193 (antlr-directory-dependencies):
11194 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
11195 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
11196 (ada-find-any-references, ada-make-filename-from-adaname)
11197 (ada-make-body-gnatstub):
11198 * obsolete/rnews.el (news-list-news-groups):
11199 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
11200 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
11201 * net/rcirc.el (rcirc-debug):
11202 * net/newst-treeview.el (newsticker--treeview-list-add-item)
11203 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
11204 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
11205 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
11206 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
11207 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
11208 (newsticker--treeview-list-clear-highlight)
11209 (newsticker--treeview-list-update-highlight)
11210 (newsticker--treeview-list-highlight-start)
11211 (newsticker--treeview-tree-update-highlight)
11212 (newsticker--treeview-get-selected-item)
11213 (newsticker-treeview-mark-list-items-old)
11214 (newsticker--treeview-set-current-node):
11215 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11216 * net/newst-backend.el (newsticker--get-news-by-funcall)
11217 (newsticker--get-news-by-wget, newsticker--image-get)
11218 (newsticker--image-sentinel):
11219 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
11220 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
11221 (eudc-ph-close-session):
11222 * net/eudc.el (eudc-save-options):
11223 * language/thai-word.el (thai-update-word-table):
11224 * language/japan-util.el (japanese-string-conversion):
11225 * international/titdic-cnv.el (tsang-quick-converter)
11226 (ziranma-converter, ctlau-converter):
11227 * international/mule-cmds.el (describe-language-environment):
11228 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
11229 (skkdic-convert-postfix, skkdic-convert-prefix):
11230 (skkdic-convert-okuri-nasi, skkdic-convert):
11231 * emacs-lisp/re-builder.el (reb-update-overlays):
11232 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
11233 * emacs-lisp/gulp.el (gulp-send-requests):
11234 * emacs-lisp/find-gc.el (trace-call-tree):
11235 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
11236 (eieio-describe-generic):
11237 * emacs-lisp/eieio-base.el (eieio-persistent-read):
11238 * emacs-lisp/edebug.el (edebug-outside-excursion):
11239 * emacs-lisp/debug.el (debugger-make-xrefs):
11240 * emacs-lisp/cust-print.el (custom-prin1-to-string):
11241 * emacs-lisp/chart.el (chart-new-buffer):
11242 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
11243 Use with-current-buffer.
11244 * textmodes/artist.el (artist-system): Don't call
11245 copy-sequence on a fresh string.
11246 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
11248 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
11250 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
11251 is no item to edit. (Bug#4820)
11252 (todo-top-priorities): Restore point and restore narrowing in Todo
11255 2009-10-31 Glenn Morris <rgm@gnu.org>
11257 * net/ange-ftp.el (top-level): Don't require dired when compiling.
11258 (comint-last-output-start, comint-last-input-start)
11259 (comint-last-input-end): Don't defvar when compiling.
11260 (ange-ftp-process-file): Use bound-and-true-p.
11262 * pcmpl-rpm.el (top-level): Move provide statement to end.
11263 (pcmpl-rpm): Remove unused custom group.
11265 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
11267 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
11269 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
11270 (byte-compile-warnings): Add `constants' as an option.
11271 (byte-compile-callargs-warn, byte-compile-arglist-warn)
11272 (display-call-tree): Update for byte-compile-fdefinition possibly
11273 returning `(macro lambda ...)'. (Bug#4778)
11274 (byte-compile-variable-ref, byte-compile-setq-default):
11275 Respect `constants' member of byte-compile-warnings.
11277 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11279 * vc-bzr.el (vc-bzr-revision-keywords): New var.
11280 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
11283 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
11285 * textmodes/ispell.el (ispell-skip-region-alist):
11286 * international/mule-conf.el (eight-bit):
11287 * international/fontset.el (font-encoding-alist):
11288 * startup.el (pure-space-overflow-message):
11289 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
11290 * paths.el (gnus-nntp-service, rmail-spool-directory)
11291 (term-file-prefix):
11292 * files.el (save-some-buffers-action-alist):
11293 * cmuscheme.el (same-window-buffer-names):
11294 * ielm.el (same-window-buffer-names):
11295 * shell.el (same-window-buffer-names):
11296 * mail/sendmail.el (same-window-buffer-names):
11297 * progmodes/inf-lisp.el (same-window-buffer-names):
11298 * bindings.el (mode-line-client)
11299 (mode-line-column-line-number-mode-map):
11300 * language/tibetan.el (tibetan-precomposition-rule-regexp)
11301 (tibetan-precomposed-regexp): Purecopy string arguments.
11303 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11305 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
11306 (calcDigit-nondigit):
11307 * calc/calc-yank.el (calc-copy-to-buffer):
11308 * calc/calc-units.el (calc-invalidate-units-table):
11309 * calc/calc-trail.el (calc-trail-yank):
11310 * calc/calc-store.el (calc-insert-variables):
11311 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
11312 * calc/calc-prog.el (calc-read-parse-table):
11313 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
11314 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
11315 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
11316 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
11317 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
11318 (calc-graph-name, calc-graph-find-command, calc-graph-view)
11319 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
11320 * calc/calc-ext.el (calc-realign):
11321 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
11322 (calc-embedded-finish-edit, calc-embedded-make-info)
11323 (calc-embedded-finish-command, calc-embedded-stack-change):
11324 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
11326 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11327 shell-dynamic-complete-filename in preference to
11328 comint-dynamic-complete-filename.
11330 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11331 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11332 Don't consider whether the display supports colors.
11333 (bookmark-import-new-list): Use dolist.
11334 (bookmark-bmenu-mode-map): Move initialization into declaration.
11335 (bookmark-bmenu-list): Use dolist, simplify.
11336 (bookmark-show-all-annotations): Use save-selected-window and dolist.
11337 (menu-bar-final-items): Use push.
11339 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11341 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11342 it works on remote files.
11343 (vc-hg-diff): Don't pass any `--cwd' argument.
11345 2009-10-27 Kevin Ryde <user42@zip.com.au>
11347 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11348 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11349 (Further to Bug#3921).
11351 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
11353 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11354 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11355 calling `tramp-imap-put-file'. Add file size to the call.
11356 (tramp-imap-get-file-entries): Compute also user name, file size,
11358 (tramp-imap-handle-insert-directory): Insert uid and gid.
11359 (tramp-imap-handle-file-attributes): Transform uid and gid
11360 according to `id-format'.
11361 (tramp-imap-put-file): New optional parameter SIZE. Encode file
11362 size in header X-Size.
11364 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
11366 * simple.el (transpose-subr): Give clearer error when the mark
11367 is not set. (Bug#4807)
11369 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
11371 * net/tramp.el (tramp-perl-file-truename): New defconst.
11372 Perl code contributed by yary <not.com@gmail.com> (tiny change).
11373 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11374 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11375 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11377 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11378 Ignore `dired-call-process'.
11379 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11381 2009-10-26 Julian Scheid <julians37@gmail.com>
11383 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11384 (tramp-get-remote-readlink): New defun.
11385 (tramp-handle-file-truename): Use it.
11386 (tramp-handle-file-exists-p): Check file-attributes cache, assume
11387 file exists if cache value present.
11388 (tramp-check-cached-permissions): New defun.
11389 (tramp-handle-file-readable-p): Use it.
11390 (tramp-handle-file-writable-p): Likewise.
11391 (tramp-handle-file-executable-p): Likewise.
11392 (tramp-handle-file-name-all-completions): Try using Perl to get
11393 partial completions. When perl not available, combine `cd' and
11394 `ls' into single remote operation and use shell expansion to get
11395 partial remote directory contents. Set `file-exists-p' cache for
11396 directory and any files returned by ls. Change cache handling to
11397 support partial directory contents. Use error message emitted by
11398 remote `cd' or Perl code for local tramp-error.
11399 (tramp-do-copy-or-rename-file-directly): Avoid separate
11400 tramp-send-command-and-check call.
11401 (tramp-handle-process-file): Merge three remote ops into one.
11402 Do not flush all caches when `process-file-side-effects' is set.
11403 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11404 file-attributes shows uid/gid to be set already.
11406 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
11408 * textmodes/tex-mode.el (tex-dvi-view-command)
11409 (tex-show-queue-command, tex-open-quote):
11410 * progmodes/ruby-mode.el (auto-mode-alist)
11411 (interpreter-mode-alist): Purecopy strings.
11413 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11415 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11416 string for the hook, keymap and abbrev table.
11418 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11420 * x-dnd.el (x-dnd-xdnd-to-action):
11421 * startup.el (fancy-startup-text, fancy-about-text): Change to
11422 defconst from defvar.
11424 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11426 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11427 Purecopy initialization strings.
11429 * mail/sendmail.el (mail-header-separator)
11430 (mail-personal-alias-file):
11431 * mail/rmail.el (rmail-default-dont-reply-to-names)
11432 (rmail-ignored-headers, rmail-retry-ignored-headers)
11433 (rmail-highlighted-headers, rmail-secondary-file-directory)
11434 (rmail-secondary-file-regexp):
11435 * files.el (null-device, file-name-invalid-regexp)
11436 (locate-dominating-stop-dir-regexp)
11437 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11438 (interpreter-mode-alist): Use mapcar instead of mapc.
11440 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11442 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11443 (completion-ignored-extensions):
11444 (debug-ignored-errors): Purecopy strings.
11446 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11448 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11449 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11450 (pcomplete--here): Use push.
11452 * subr.el (all-completions): Declare the 4th arg obsolete.
11454 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11456 * pcomplete.el (pcomplete-unquote-argument-function): New var.
11457 (pcomplete-unquote-argument): New function.
11458 (pcomplete--common-suffix): Always pay attention to case.
11459 (pcomplete--table-subvert): Quote and unquote the text.
11460 (pcomplete--common-quoted-suffix): New function.
11461 (pcomplete-std-complete): Use it and pcomplete-begin.
11463 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11464 we're inside a dedicated or minibuffer window.
11466 2009-10-24 Karl Fogel <kfogel@red-bean.com>
11468 * bookmark.el: Update documentation, especially documentation
11469 of `bookmark-alist' and of the bookmark file format.
11470 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
11472 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
11474 * mail/emacsbug.el (report-emacs-bug): Clarify that the
11475 keybindings apply to the mail buffer (Bug#4003). Shrink help
11478 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11479 (global-whitespace-mode, global-whitespace-newline-mode)
11480 (whitespace-toggle-options, global-whitespace-toggle-options):
11481 Doc fix (Bug#3660).
11483 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11484 of xmltok-start before the end tag was inserted (Bug#2840).
11486 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11487 patterns that are preceded by an open-paren (Bug#1320).
11489 2009-10-24 Sven Joachim <svenjoac@gmx.de>
11491 * files.el (delete-directory): Delete symlinks to directories with
11492 delete-file (Bug#4739).
11494 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
11496 * vc.el (vc-backend-for-registration): Rename from
11497 vc-get-backend-for-registration. Update callers.
11499 * international/mule-cmds.el (set-language-info-alist):
11501 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11502 (charset): Purecopy the name.
11503 (define-char-code-property): Purecopy string arguments.
11505 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11506 Purecopy string arguments.
11508 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11509 * ediff-hook.el (menu-bar-ediff-menu):
11510 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11511 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11513 2009-10-24 Glenn Morris <rgm@gnu.org>
11515 * comint.el (comint-dynamic-list-completions):
11516 * term.el (term-dynamic-list-completions): Use choose-completion rather
11517 than obsolete alias mouse-choose-completion.
11519 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11520 file-cache-choose-completion.
11521 (file-cache-choose-completion): Handle an optional event argument.
11522 (file-cache-mouse-choose-completion): Make it an obsolete alias.
11524 * progmodes/octave-mod.el (octave-complete-symbol):
11525 Use choose-completion if mouse-choose-completion is ever removed.
11527 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11530 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11533 * vc-hooks.el (vc-responsible-backend): Fix declaration.
11535 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11537 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11538 Ignore `pred' now that we receive one.
11539 Handle test-completion specially.
11541 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11543 * vc.el (vc-responsible-backend): Throw an error if not backend is
11544 found. Remove the REGISTER argument. Move the code dealing with
11546 (vc-get-backend-for-registration): ... here. New function.
11547 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11548 of vc-responsible-backend, pass the file name instead of the
11551 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
11553 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11555 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
11556 (pcomplete-comint-setup): Don't modify a global var via
11557 accidental side-effects.
11558 (pcomplete-shell-setup): Adjust call accordingly.
11559 (pcomplete-parse-comint-arguments): Use push.
11561 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
11563 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11564 Allow uncapitalized info node names (Bug#3921).
11566 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11567 to the DEBUG file (Bug#3781).
11569 2009-10-23 Jari Aalto <jari.aalto@cante.net>
11571 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11572 dictionary entry (Bug#4579).
11574 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
11576 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11577 from `rfn-eshadow-update-overlay-hook' when unloading.
11578 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11579 "rsyncc". Adjust doc string.
11580 (tramp-temp-buffer-file-name): New buffer-local defvar.
11581 (tramp-handle-insert-file-contents, tramp-handle-write-region):
11582 Keep temporary file when indicated by method ("rsync" and
11584 (tramp-handle-write-region): Handle APPEND.
11585 (tramp-delete-temp-file-function): New defun. Added to
11586 `kill-buffer-hook'.
11588 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
11590 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11592 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11594 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11595 (color-name-rgb-alist, tty-standard-colors)
11596 (tty-color-mode-alist): Change to defconst.
11598 * simple.el (mark-inactive): Purecopy message.
11600 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11601 (global-map, yank-menu):
11602 * textmodes/ispell.el (ispell-menu-map):
11603 * net/eudc.el (eudc-tools-menu):
11604 * international/mule-cmds.el (describe-language-environment-map)
11605 (setup-language-environment-map, set-coding-system-map)
11606 (mule-menu-keymap):
11607 * vc-hooks.el (vc-menu-entry, vc-menu-map):
11608 * replace.el (occur-mode-map):
11609 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11611 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
11613 * calc/calc.el (math-read-number, math-read-number-simple): Use
11616 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11618 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11619 rather than fiddling with global-map bindings, since it should only
11620 affect per-terminal settings.
11621 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11623 * minibuffer.el (completion-table-with-terminator): Allow to specify
11624 the terminator-regexp.
11626 * simple.el (switch-to-completions): Look for *Completions* in other
11629 * pcomplete.el: Allow the use of completion-tables.
11630 (pcomplete-std-complete): New command.
11631 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11632 (pcomplete--here): Use a function for `form' rather than an expression,
11633 so it can be byte-compiled.
11634 (pcomplete-here, pcomplete-here*): Adjust accordingly.
11635 Add edebug declaration.
11636 (pcomplete-show-completions): Remove unused var `curbuf'.
11637 (pcomplete-do-complete, pcomplete-stub):
11638 Don't assume `completions' is a list of strings any more.
11640 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
11642 * find-dired.el (find-name-arg): Fix typo in docstring.
11644 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11646 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11647 (pcmpl-linux-fs-types): Same, and update to new modules layout.
11649 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11652 * comint.el (comint-read-input-ring, comint-write-input-ring)
11653 (comint-substitute-in-file-name)
11654 (comint-dynamic-complete-as-filename)
11655 (comint-dynamic-simple-complete)
11656 (comint-dynamic-list-filename-completions)
11657 (comint-dynamic-list-completions)
11658 (comint-redirect-results-list-from-process): Minor simplifications.
11660 2009-10-21 Kevin Ryde <user42@zip.com.au>
11662 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11663 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11664 the first form. And insert a blank line after ";;; Code" since
11665 that's usual style. (Bug#4612)
11667 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11669 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11671 * minibuffer.el (completion-table-with-terminator): Properly implement
11672 boundaries, in case `terminator' appears in the suffix.
11673 (completion--embedded-envvar-table): Don't return boundaries if
11674 there's no valid completion. Simplify.
11675 (completion-file-name-table): New completion table extracted from
11676 completion--file-name-table.
11677 (completion--file-name-table): Use it.
11678 (read-file-name-predicate): Declare obsolete.
11679 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11680 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11681 completion-file-name-table, and use the `pred' argument.
11682 * files.el (locate-file-completion-table): Use the `pred' arg rather
11683 than read-file-name-predicate.
11684 (abbreviate-file-name): Use \` rather than ^ for BOS.
11686 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
11688 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11689 vc-responsible-backend to register, it causes problems.
11691 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11693 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11695 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
11697 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11698 (tramp-smb-handle-file-attributes): Use it.
11699 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11700 (tramp-smb-handle-insert-directory): Use `mapc' rather than
11701 `mapcar'. Use `tramp-smb-get-stat-capability'.
11702 Add `dired-filename' text properties.
11703 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11704 (tramp-smb-maybe-open-connection): Simplify check for smbclient
11707 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
11709 * subr.el (read-key-delay): Reduce to 0.01.
11710 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11713 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11715 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11717 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11718 (Info-menu): Remove unused vars `last' and `completions'.
11719 (Info-index-nodes): Remove unused var `node'.
11721 * info.el (Info-complete-menu-item): Use complete-with-action.
11723 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
11725 Make vc-annotate work through copies and renames.
11726 * vc-annotate.el (vc-annotate-extract-revision-at-line):
11727 Return the file name too.
11728 (vc-annotate-revision-at-line)
11729 (vc-annotate-find-revision-at-line)
11730 (vc-annotate-revision-previous-to-line)
11731 (vc-annotate-show-log-revision-at-line): Update to get the file
11732 name from vc-annotate-extract-revision-at-line.
11733 (vc-annotate-show-diff-revision-at-line-internal): Change the
11734 argument to mean whether to show a file diff or not. Get the file
11735 name from vc-annotate-extract-revision-at-line.
11736 (vc-annotate-show-diff-revision-at-line):
11737 Update vc-annotate-show-diff-revision-at-line call.
11738 (vc-annotate-warp-revision): Add an optional file argument.
11740 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11741 (vc-git-annotate-extract-revision-at-line): Also return the file
11744 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11745 command. Remove unused code.
11746 (vc-hg-annotate-re): Update to match --follow output.
11747 (vc-hg-annotate-extract-revision-at-line): Also return the file
11750 * vc.el: Update annotate-extract-revision-at-line documentation.
11752 2009-10-18 Kevin Ryde <user42@zip.com.au>
11754 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11755 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11757 * net/browse-url.el (browse-url): Identify alist with "consp and
11758 not functionp" and let all other things go down the `apply' leg,
11759 as suggested by Stefan. (Further to bug#4531.)
11761 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
11763 * minibuffer.el (read-file-name): Check for repeat before putting
11764 a default argument in file-name-history (Bug#4657).
11766 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11767 read syntax (Bug#4737).
11769 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11771 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11773 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11774 (html-tag-alist, html-tag-help): Add descriptions for undocumented
11775 entries and make note of obsolete tags.
11777 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11781 2009-10-18 Glenn Morris <rgm@gnu.org>
11783 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11784 grep, so that binary files (eg international/uni-bidi.el) can match.
11785 Remove test for "UnicodeData" files, since it is hopefully unnecessary
11786 now, and in any case the file header format has changed.
11788 2009-10-17 Glenn Morris <rgm@gnu.org>
11790 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11791 (flyspell-get-word, flyspell-large-region)
11792 (flyspell-auto-correct-previous-word): Doc/error message fixes.
11794 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11796 * Makefile.in (ELCFILES): Add ede/shell.
11798 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
11800 * term/common-win.el (x-colors): Purecopy it.
11802 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11804 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11805 permissive for when the buffer is empty.
11806 (tar-header-block-tokenize): Decode the username and groupname.
11807 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11809 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * international/mule-cmds.el (select-safe-coding-system): If the file
11812 has a coding cookie, use it regardless of any other setting (bug#4712).
11814 2009-10-17 Glenn Morris <rgm@gnu.org>
11816 * foldout.el (foldout-mouse-swallow-events):
11817 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11819 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11820 (dired-keep-marker-copy, dired-keep-marker-hardlink)
11821 (dired-keep-marker-symlink, dired-dwim-target)
11822 (dired-copy-preserve-time): Do not autoload these defcustoms.
11824 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11825 messages from messing up the file coding. (Bug#4623)
11827 2009-10-17 Jari Aalto <jari.aalto@cante.net>
11829 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11830 if no match is found for the current dictionary. (Bug#4578)
11832 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11833 optional, since that is how it is documented, and this is often called
11834 with a nil argument. (Bug#4577)
11835 (flyspell-external-point-words, flyspell-auto-correct-word)
11836 (flyspell-correct-word-before-point, flyspell-word-search-forward)
11837 (flyspell-word-search-backward): Remove nil argument in calls to
11838 flyspell-get-word, since it is not needed now.
11840 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
11842 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
11844 2009-10-16 Glenn Morris <rgm@gnu.org>
11846 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11848 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11850 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11851 (ange-ftp-file-size): New function.
11852 (ange-ftp-file-attributes): Use it.
11854 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
11856 * net/tramp-smb.el (tramp-smb-version): New defvar.
11857 (tramp-smb-maybe-open-connection): Use it, in order to avoid
11860 2009-10-16 Glenn Morris <rgm@gnu.org>
11862 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11863 Maybe copy some custom properties from old to new name. (Bug#4706)
11865 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
11867 * subr.el (error, sit-for, start-process-shell-command)
11868 (start-file-process-shell-command): Set the calling convention
11869 after the function definition.
11871 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
11873 * subr.el (error, sit-for, start-process-shell-command)
11874 (start-file-process-shell-command): Use the new
11875 set-advertised-calling-convention feature.
11877 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
11879 * international/ucs-normalize.el (ucs-normalize-version):
11881 (check-range): Adjust for Unicode 5.2.
11883 2009-10-15 Juri Linkov <juri@jurta.org>
11885 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11886 to the `menu-item' format.
11888 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
11890 * net/tramp.el (tramp-replace-environment-variables): Do not fail
11891 if the environment variable does not exist.
11893 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11894 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11896 (tramp-smb-handle-add-name-to-file)
11897 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11898 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11899 (tramp-smb-handle-file-attributes)
11900 (tramp-smb-do-file-attributes-with-stat)
11901 (tramp-smb-handle-file-local-copy)
11902 (tramp-smb-handle-insert-directory)
11903 (tramp-smb-handle-make-directory)
11904 (tramp-smb-handle-make-directory-internal)
11905 (tramp-smb-handle-make-symbolic-link)
11906 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11907 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11908 (tramp-smb-maybe-open-connection): Apply the changed parameters.
11909 (tramp-smb-read-file-entry): Read Disk names in compressed format.
11910 Handle long file names.
11911 (tramp-smb-get-cifs-capabilities): Check, whether the connection
11912 process is running.
11913 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11914 Read share names with "-g" option.
11916 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
11918 * net/rcirc.el (rcirc-view-log-file): New command.
11919 (rcirc-track-minor-mode-map): Remove C-c ` binding.
11920 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11923 2009-10-15 Glenn Morris <rgm@gnu.org>
11925 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11926 from the second command-line argument.
11927 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11928 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11929 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11930 w32-batch-update-autoloads.
11931 * emacs-lisp/autoload.el (autoload-make-program): New variable.
11932 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11934 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11935 the headers cannot be located. Simplify, subtracting superflous
11938 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
11940 Replace completion-base-size by completion-base-position to fix bugs
11941 such as (bug#4699).
11942 * simple.el (completion-base-position): New var.
11943 (completion-base-size): Mark as obsolete.
11944 (choose-completion): Make it work for mouse events as well.
11945 Pass the new base-position to choose-completion-string.
11946 (choose-completion-guess-base-position): New function, extracted from
11947 choose-completion-delete-max-match.
11948 (choose-completion-delete-max-match): Use it. Make obsolete.
11949 (choose-completion-string): Use the new base-position info.
11950 (completion-root-regexp): Delete.
11951 (completion-setup-function): Preserve completion-base-position.
11952 Eliminate obsolete base-size manipulation.
11953 * minibuffer.el (display-completion-list): Don't mess with base-size.
11954 (minibuffer-completion-help): Set completion-base-position instead.
11955 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11957 * textmodes/bibtex.el (bibtex-complete):
11958 * emacs-lisp/crm.el (crm--choose-completion-string):
11959 Adjust to new calling convention.
11960 * complete.el (partial-completion-mode): Use minibufferp to avoid
11961 bumping into incompatible change to choose-completion-string-functions.
11962 * ido.el (ido-choose-completion-string): Make its calling convention
11964 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11965 base-size manipulation.
11966 (comint-dynamic-list-input-ring): Use dotimes and push.
11967 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11968 fundamental-mode. Use `or'.
11970 2009-10-14 Juri Linkov <juri@jurta.org>
11972 * misearch.el (multi-isearch-next-buffer-from-list)
11973 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
11975 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11977 * Makefile.in (compile-onefile): Load `bytecomp' rather than
11980 * minibuffer.el (completion-pcm--merge-completions): Make sure the
11981 string we return is all made up of text from the completions rather
11982 than part from the completions and part from the input (bug#4219).
11984 * ido.el (ido-everywhere): Use define-minor-mode.
11986 * buff-menu.el (list-buffers, ctl-x-map):
11987 Mark the entry points with ;;;###autoload cookies.
11989 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
11991 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11992 correctly in the detached head case.
11993 (vc-git-print-log): Remove unused binding.
11995 * vc.el (vc-responsible-backend): When a directory is passed for
11996 for registration create a VC repository if no backend is
11997 responsible for the directory argument.
11998 (vc-deduce-fileset): Tell vc-responsible-backend to register.
12000 * vc.el: Move comments about RCS and SCCS ...
12002 * vc-sccs.el: ... here, respectively.
12004 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12006 * minibuffer.el (completion--file-name-table): Return nil if there's
12007 no file completion, even if substitute-in-file-name changed
12008 the string (bug#4708).
12010 2009-10-13 Juri Linkov <juri@jurta.org>
12012 * files-x.el (read-file-local-variable-value): Don't filter out
12013 minor modes from mode name completion (bug#4664).
12015 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12017 * international/mule-cmds.el (ucs-names): Remove exclusion of
12018 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
12020 2009-10-13 Kenichi Handa <handa@m17n.org>
12022 * international/uni-name.el: Regenerated.
12024 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
12026 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
12027 should be automatically buffer-local, but isn't.)
12029 2009-10-12 Sam Steingold <sds@gnu.org>
12031 * progmodes/compile.el (compilation-next-error-function): Fix the
12032 timestamps if the buffer has been visited before.
12033 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
12034 non-anchored patterns, like the perl one (bug#3928).
12036 2009-10-12 Glenn Morris <rgm@gnu.org>
12038 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
12041 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
12043 * proced.el (proced-unload-function): New function.
12045 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
12046 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
12049 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
12051 2009-10-11 Juri Linkov <juri@jurta.org>
12053 * files-x.el (read-file-local-variable-value):
12054 Provide default value only for bound variables (bug#4664).
12056 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
12058 * net/tramp.el (tramp-local-host-p): Function shall return nil for
12059 connection methods like smb.
12061 * net/tramp-cache.el (tramp-flush-connection-property): The hash
12064 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12065 (tramp-smb-file-name-handler-alist): Add handlers for
12066 `add-name-to-file', `make-symbolic-link'.
12067 (tramp-smb-handle-add-name-to-file)
12068 (tramp-smb-do-file-attributes-with-stat)
12069 (tramp-smb-handle-make-symbolic-link)
12070 (tramp-smb-get-cifs-capabilities): New defuns.
12071 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
12072 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
12073 (tramp-smb-handle-file-local-copy)
12074 (tramp-smb-handle-make-directory-internal)
12075 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
12076 The file name syntax depends on cifs capabilities.
12077 (tramp-smb-handle-file-attributes):
12078 Call `tramp-smb-do-file-attributes-with-stat' if possible.
12079 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
12080 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
12082 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
12084 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
12085 (eieio-defclass): Apply deftype handler and setf-method properties
12087 (eieio-add-new-slot): Avoid union function from cl library.
12088 (eieio--typep): New function.
12089 (eieio-perform-slot-validation): Use it.
12091 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12093 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
12094 Update documentation to refer to the variables documented in r1.135.
12097 2009-10-10 Karl Fogel <kfogel@red-bean.com>
12099 * bookmark.el (Info-suffix-list): Remove this unused variable.
12100 (bookmark-current-point): Remove this obsolete variable.
12101 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
12102 Adjust for removal of bookmark-current-point.
12104 (bookmarks-already-loaded, bookmark-current-buffer)
12105 (bookmark-yank-point): Document. (Bug#4188)
12107 2009-10-10 Glenn Morris <rgm@gnu.org>
12109 * frame.el (frame-height): Doc fix.
12111 * calendar/calendar.el (calendar-split-width-threshold): New option.
12112 (calendar-basic-setup): Use calendar-split-width-threshold.
12114 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
12116 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
12117 Ideographic Supplement" range (U+1F200..U+1F2FF).
12119 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12121 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
12122 since the list will have been rebuilt anyway. (Bug#4349)
12124 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12126 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
12127 (bookmark-bmenu-execute-deletions): Don't save here, as
12128 bookmark-delete will now do so if necessary.
12129 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
12132 2009-10-09 Glenn Morris <rgm@gnu.org>
12134 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
12136 2009-10-09 Karl Fogel <kfogel@red-bean.com>
12138 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
12139 (bookmark-jump-other-window): Just invoke bookmark-jump with new
12140 argument now, so the two function's behaviors will match. (Bug#3645)
12142 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
12144 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
12145 (tramp-file-name-real-host, tramp-file-name-port):
12146 Apply `save-match-data'.
12148 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
12149 case both directories are remote.
12150 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
12151 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
12153 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12155 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
12157 2009-10-07 Glenn Morris <rgm@gnu.org>
12159 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
12162 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
12164 * files-x.el (read-file-local-variable): Include some
12165 non-user-variables in the completion table (bug#4664).
12167 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
12169 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12172 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12173 (tramp-smb-file-name-handler-alist): Add handler for
12174 `copy-directory', `expand-file-name', `set-file-modes'.
12175 (tramp-smb-handle-copy-directory)
12176 (tramp-smb-handle-expand-file-name)
12177 (tramp-smb-handle-set-file-modes): New defuns.
12178 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12179 (tramp-smb-handle-file-attributes): Simplify check for retrieving
12181 (tramp-smb-handle-insert-directory): Don't flush the cache.
12182 (tramp-smb-maybe-open-connection): Check for samba client and
12185 2009-10-07 Eli Zaretskii <eliz@gnu.org>
12187 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12188 to not error out of search for "^lisp=" fails.
12190 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12192 * makefile.w32-in (WINS_UPDATES): New macro.
12193 (custom-deps, finder-data, autoloads): Use it.
12195 2009-10-07 Glenn Morris <rgm@gnu.org>
12197 * Makefile.in (autoloads): Revert previous change.
12198 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12199 the list of preloaded files passed on the command-line, get
12200 it from src/Makefile.
12202 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12203 show the original buffer rather than a random one.
12205 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
12207 * help.el (describe-no-warranty): Place point in a slightly better
12208 position in the GPLv3 text.
12210 2009-10-06 Sam Steingold <sds@gnu.org>
12212 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12213 the comm attribute is present before calling regexp-quote.
12215 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
12217 * play/animate.el (animate-string): For good effect, make sure
12218 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12220 * play/animate.el (animate-sequence, animate-birthday-present):
12221 * misc.el (butterfly): Don't set `indent-tabs-mode'.
12223 2009-10-06 Glenn Morris <rgm@gnu.org>
12225 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12227 * emacs-lisp/autoload.el (autoload-excludes): New variable.
12228 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12229 (batch-update-autoloads): Process a string value of autoload-excludes,
12230 set during the build process.
12231 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
12233 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12234 inside with-parsed... macro so that `v' is defined.
12236 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12237 * progmodes/fortran.el (fortran-end-of-block)
12238 (fortran-beginning-of-block):
12239 Also push mark in the macro case.
12241 * emerge.el (emerge-show-file-name):
12242 * calc/calc.el (calc-quit):
12243 * calc/calc-misc.el (calc-big-or-small):
12244 * calc/calc-graph.el (calc-graph-view):
12245 * calc/calc-ext.el (calc-reset):
12246 * calendar/calendar.el (calendar-basic-setup):
12247 Use window-full-height-p.
12249 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12250 header we don't understand, don't insert another. (Bug#4624)
12251 If changing mime charset, insert the new one in the right place.
12253 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
12255 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12256 (cal-tex-cursor-month): Correctly increment the end date for diary and
12257 holiday listing. (Bug#4626)
12259 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12261 * help-fns.el (describe-function-1): Don't burp if the function is not
12264 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
12266 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12267 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12268 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12269 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12271 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12272 (eieio-default-superclass): Reflow docstrings.
12273 (this, class-option-assoc, defclass, eieio-class-un-autoload)
12274 (eieio-unbind-method-implementations, defmethod)
12275 (eieio-validate-slot-value, eieio-validate-class-slot-value)
12276 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12277 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12278 (eieio-slot-originating-class-p, eieio-slot-name-index)
12279 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12280 (constructor, initialize-instance, no-next-method, object-print)
12281 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12282 Fix typos in docstrings.
12283 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12284 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12285 (next-method-p): Doc fixes.
12286 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12287 Fix typos in error messages.
12288 (eieio-defmethod): Fix typo in description of generic method.
12290 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12291 (eieio-persistent-save-interactive, slot-missing):
12292 Fix typos in docstrings.
12293 (eieio-instance-inheritor-slot-boundp): Doc fix.
12295 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12296 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12298 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12299 (eieio-custom-object-apply-reset):
12300 Fix typos in docstrings and error messages.
12302 * emacs-lisp/eieio-datadebug.el (data-debug-show):
12303 Fix typo in docstring.
12305 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12306 (eieio-browse-tree): Doc fix.
12307 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12308 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12309 Fix typos in docstrings.
12311 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12312 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12313 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12314 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12317 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
12319 * vc-hg.el (log-view-vc-backend): Declare for compiler.
12320 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12321 Set log-view-vc-backend so that diff can work.
12323 * log-view.el (log-view-diff): Use vc-diff-internal instead of
12325 (vc-diff-internal): Autoload this instead of vc-version-diff.
12327 2009-10-05 Eli Zaretskii <eliz@gnu.org>
12329 * simple.el (eval-expression): Doc fix.
12331 * progmodes/cwarn.el (cwarn-mode): Doc fix.
12333 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
12335 * files.el (directory-files-no-dot-files-regexp): New defconst.
12336 (delete-directory): Use it.
12337 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
12339 * net/tramp.el (tramp-verbose): Fix docstring.
12340 (tramp-methods): Add recursive option to `tramp-copy-args'.
12341 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
12342 "scp1_old", "scp2_old", "rsync", "rsyncc".
12343 (tramp-default-method): Check also for `auth-source-user-or-password'.
12344 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12345 Add handler for `copy-directory'.
12346 (tramp-handle-copy-directory): New defun.
12347 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12348 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12349 Optimize sent command.
12351 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12353 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12354 window if necessary.
12356 * calendar/calendar.el (calendar-basic-setup): Don't call
12357 switch-to-buffer in a dedicated window.
12359 2009-10-05 Karl Fogel <kfogel@red-bean.com>
12361 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12362 don't do anything related to relocating, just return nil.
12363 (bookmark-error-no-filename): New error.
12364 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12365 bookmark has no file. Don't even attempt to handle things that
12366 are not files; the whole point of custom handlers is to keep that
12367 knowledge elsewhere anyway. Tighten some comments.
12368 (bookmark-file-or-variation-thereof): Remove now-unused function.
12369 (bookmark-location): Doc string fix.
12372 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12374 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12375 don't use a file dialog, because they usually don't know how to read
12376 a directory target from the user. (Bug#4230)
12377 Also, make sure the prompt can display directories as well as files.
12379 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12381 * bookmark.el (bookmark-set, bookmark-buffer-name):
12382 Improve doc strings. (Bug#1193)
12384 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12386 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12387 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12388 (bookmark-get-annotation, bookmark-set-annotation)
12389 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12390 (bookmark-set-position, bookmark-get-front-context-string)
12391 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12392 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12393 (bookmark-jump-other-window, bookmark-handle-bookmark)
12394 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12395 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12396 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12397 Improve doc strings to say whether bookmark can be a string or
12398 a record or both, and make other consistency and clarity fixes.
12399 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12400 (bookmark-default-annotation-text, bookmark-yank-word)
12401 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12402 (bookmark-import-new-list, bookmark-maybe-rename)
12403 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12404 (bookmark-bmenu-bookmark): Give these doc strings.
12405 (bookmark-bmenu-check-position): Give this a doc string, but also
12406 add a FIXME comment about how the function may be pointless.
12407 (bookmark-default-handler): Rework doc string and change a
12408 parameter name, to clarify that this takes a bookmark record
12409 not a bookmark name.
12410 (bookmark-set): Change a parameter name to indicate its meaning,
12411 and improve the doc string a bit.
12414 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12416 * bookmark.el (bookmark-alist): Document the new `handler' element
12417 in the param alist.
12418 (bookmark-make-record-function): Adjust documentation for above.
12421 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12423 * info.el (Info-bookmark-make-record): Document this function.
12424 (Info-bookmark-jump): Document with a doc string, not just a comment.
12427 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
12429 * files.el (copy-directory): New defun.
12431 * dired-aux.el (dired-copy-file-recursive): Use it.
12433 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
12435 * files-x.el (modify-dir-local-variable)
12436 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
12439 * recentf.el (recentf-unload-function): New function.
12441 2009-10-04 Glenn Morris <rgm@gnu.org>
12443 * window.el (window-full-height-p): Add doc string.
12445 2009-10-04 Martin Rudalics <rudalics@gmx.at>
12447 * window.el (window-full-height-p): New function. (Bug#4543)
12449 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
12451 * vc.el: Remove commented out code.
12452 (vc-derived-from-dir-mode): Remove, unused.
12453 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12455 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
12457 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12458 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
12459 there could be recursive loading when `default-directory' is a
12460 remote file name. (Bug#4614)
12462 2009-10-03 Glenn Morris <rgm@gnu.org>
12464 * calendar/calendar.el (calendar-basic-setup): Handle the case where
12466 (calendar-generate-window): Test for shrinkability rather than width.
12468 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12469 reusing existing buffers, in case we happen to visit two files with the
12470 same basename. (Bug#4593)
12472 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12474 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12475 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12476 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12477 subdirs of cedet as well.
12478 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12480 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12482 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12483 Obey advertised-signature-table.
12485 * help-fns.el (help-function-arglist): Don't check
12486 advertised-signature-table.
12487 (describe-function-1): Do it here instead so it also applies to subrs.
12489 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
12491 * simple.el (start-file-process): Say in the doc-string, that file
12492 handlers might not support pty association, if PROGRAM is nil.
12494 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12495 HOST and USER are strings. They are nil, when there are
12496 incomplete entries in ~/.netrc, for example.
12497 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
12498 root directory ("device busy" error otherwise).
12500 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12501 Flush file properties of created directory.
12503 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12505 * makefile.w32-in (WINS_BASIC): Remove cedet.
12506 (WINS_CEDET): Add cedet.
12507 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12509 2009-10-02 Kevin Ryde <user42@zip.com.au>
12511 * net/browse-url.el (browse-url): Pass any symbol in
12512 browse-url-browser-function to `apply', since if you've mistakenly put
12513 an unbound symbol then the error is clearer. (Bug#4531)
12515 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12517 * allout.el (allout-init, allout-back-to-current-heading)
12518 (allout-beginning-of-current-entry, allout-ascend-to-depth)
12519 (allout-ascend, allout-up-current-level, allout-end-of-level)
12520 (allout-previous-visible-heading, allout-forward-current-level)
12521 (allout-backward-current-level, allout-show-children):
12522 * apropos.el (apropos-describe-plist):
12523 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12524 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12525 * completion.el (add-completion, add-permanent-completion):
12526 * descr-text.el (describe-text-category, describe-char):
12527 * desktop.el (desktop-lazy-abort):
12528 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12529 * dired.el (dired-build-subdir-alist):
12530 * ediff.el (ediff-version):
12531 * elide-head.el (elide-head, elide-head-show):
12532 * emerge.el (emerge-version):
12534 * face-remap.el (variable-pitch-mode):
12535 * faces.el (describe-face):
12536 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12538 * files.el (find-file-existing, auto-save-mode):
12539 * font-lock.el (font-lock-fontify-buffer):
12540 * help-fns.el (describe-function, describe-variable)
12541 (describe-syntax, describe-categories):
12542 * help.el (view-lossage, describe-bindings, describe-key)
12544 * hexl.el (hexl-current-address):
12545 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12546 * info.el (Info-goto-emacs-key-command-node):
12547 * log-edit.el (log-edit-insert-cvs-template)
12548 (log-edit-insert-cvs-rcstemplate):
12549 * menu-bar.el (menu-bar-mode):
12550 * mouse.el (mouse-appearance-menu):
12551 * newcomment.el (comment-indent-new-line):
12552 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12553 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12554 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12555 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12556 * recentf.el (recentf-mode):
12557 * savehist.el (savehist-mode, savehist-save):
12558 * shadowfile.el (shadow-copy-files):
12559 * simple.el (kill-ring-save, next-line, previous-line)
12560 (normal-erase-is-backspace-mode):
12561 * strokes.el (strokes-update-window-configuration)
12562 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12563 (strokes-xpm-for-stroke):
12564 * time.el (emacs-uptime, emacs-init-time):
12565 * tutorial.el (tutorial--describe-nonstandard-key)
12566 (tutorial--detailed-help):
12567 * type-break.el (type-break-mode)
12568 (type-break-mode-line-message-mode, type-break-query-mode)
12569 (type-break-guesstimate-keystroke-threshold):
12570 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12571 * version.el (emacs-version):
12572 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12573 * winner.el (winner-mode):
12574 * calendar/timeclock.el (timeclock-in, timeclock-out)
12575 (timeclock-status-string, timeclock-change)
12576 (timeclock-workday-remaining-string)
12577 (timeclock-workday-elapsed-string)
12578 (timeclock-when-to-leave-string):
12579 * calendar/todo-mode.el (todo-add-category):
12580 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12581 * emacs-lisp/autoload.el (update-file-autoloads):
12582 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12583 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12584 (checkdoc-message-text, checkdoc-defun):
12585 * emacs-lisp/debug.el (debugger-list-functions):
12586 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12587 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12588 (eieio-describe-generic):
12589 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12590 * emacs-lisp/shadow.el (list-load-path-shadows):
12591 * emulation/cua-base.el (cua-mode):
12592 * emulation/edt.el (edt-set-scroll-margins):
12593 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12594 (tpu-toggle-regexp, tpu-toggle-search-direction)
12595 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12596 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12597 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12598 (viper-set-parsing-style-toggling-macro)
12599 (viper-set-emacs-state-searchstyle-macros):
12600 * emulation/viper.el (viper-set-hooks):
12601 * eshell/esh-mode.el (eshell-truncate-buffer):
12602 * international/mule-cmds.el (prefer-coding-system)
12603 (describe-input-method, describe-language-environment):
12604 * international/mule-diag.el (list-character-sets)
12605 (describe-character-set, describe-coding-system)
12606 (describe-fontset, list-fontsets, list-input-methods):
12607 * mail/sendmail.el (mail-signature):
12608 * net/ange-ftp.el (ange-ftp-copy-file):
12609 * net/browse-url.el (browse-url):
12610 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12611 * net/quickurl.el (quickurl-add-url):
12612 * net/rcirc.el (names, topic):
12613 * net/xesam.el (xesam-mode):
12614 * play/5x5.el (5x5-new-game):
12615 * play/yow.el (apropos-zippy):
12616 * progmodes/ada-mode.el (ada-mode-version):
12617 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12619 (f90-beginning-of-block):
12620 * progmodes/fortran.el (fortran-end-of-block)
12621 (fortran-beginning-of-block):
12622 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12623 * progmodes/python.el (python-describe-symbol, python-shell):
12624 * term/ns-win.el (ns-print-buffer):
12625 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12626 * textmodes/flyspell.el (flyspell-mode-on):
12627 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12628 (pages-directory-for-addresses):
12629 * textmodes/table.el (table-recognize-cell)
12630 (table-query-dimension, table-generate-source)
12631 (table-insert-sequence, table--warn-incompatibility):
12632 * textmodes/tex-mode.el (tex-validate-buffer):
12633 * textmodes/texinfmt.el (texinfmt-version)
12634 (texinfo-format-buffer):
12635 Use `called-interactively-p' instead of `interactive-p'.
12637 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12639 * image-mode.el (image-toggle-display):
12640 * emacs-lisp/elp.el (elp-instrument-function):
12641 * emacs-lisp/advice.el (ad-make-advised-definition):
12642 * emacs-lisp/easy-mmode.el (define-minor-mode):
12643 * net/browse-url.el (browse-url-maybe-new-window):
12644 * progmodes/sh-script.el (sh-learn-buffer-indent):
12645 Pass new argument 'any to `called-interactively-p'.
12647 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12649 * international/uni-bidi.el:
12650 * international/uni-category.el:
12651 * international/uni-combining.el:
12652 * international/uni-comment.el:
12653 * international/uni-decimal.el:
12654 * international/uni-decomposition.el:
12655 * international/uni-digit.el:
12656 * international/uni-lowercase.el:
12657 * international/uni-mirrored.el:
12658 * international/uni-name.el:
12659 * international/uni-numeric.el:
12660 * international/uni-old-name.el:
12661 * international/uni-titlecase.el:
12662 * international/uni-uppercase.el:
12663 Regenerate from Unicode 5.2.0 data.
12665 2009-10-01 Glenn Morris <rgm@gnu.org>
12667 * Makefile.in (ELCFILES): Regenerate.
12669 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12671 * subr.el (interactive-p): Mark obsolete.
12672 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12673 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12674 advertised-signature-table for subroutines as well.
12676 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12677 (set-advertised-calling-convention): New function.
12678 (make-obsolete, define-obsolete-function-alias)
12679 (make-obsolete-variable, define-obsolete-variable-alias):
12680 Make the optional-ness of `when' obsolete.
12681 (define-obsolete-face-alias): Make `when' non-optional.
12682 * help-fns.el (help-function-arglist):
12683 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12684 Use advertised-signature-table.
12686 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12688 * files.el (delete-directory): New defun. The original function
12689 in fileio.c has been renamed to `delete-directory-internal'.
12691 * dired.el (dired-delete-file): Call `delete-directory' with
12692 RECURSIVE parameter.
12694 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12695 parameter RECURSIVE. Implementation is missing.
12697 * net/tramp.el (tramp-handle-make-directory): Flush upper
12698 directory's file properties.
12699 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12700 (tramp-handle-dired-recursive-delete-directory): Flush directory
12701 properties after the remove command only.
12703 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12704 Handle optional parameter RECURSIVE.
12706 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12707 Handle optional parameter RECURSIVE.
12709 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12710 connection timeout.
12711 (tramp-smb-handle-delete-directory): Handle optional parameter
12714 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12716 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12717 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12718 (byte-compile-defmacro): Use backquotes.
12720 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12722 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12723 has no associated file.
12724 (vc-resynch-buffer): Use vc-dir-buffers.
12726 2009-10-01 Glenn Morris <rgm@gnu.org>
12728 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12729 (chart-file-count):
12730 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12731 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12732 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12733 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12734 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12735 (eieio-copy-parents-into-subclass, make-instance, class-children)
12736 (eieio-generic-form):
12738 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12739 match-data. (Bug#4555).
12741 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12742 rather than parsing it as a regexp. This relaxes the layout
12743 requirements and makes errors easier to detect.
12744 (check-declare-verify): Check file is regular.
12745 (check-declare-directory): Doc fix.
12746 * subr.el (declare-function): Doc fix.
12748 * ibuffer.el (ibuffer-format-qualifier):
12749 * isearch.el (hi-lock-regexp-okay):
12750 * calc/calc.el (math-zerop):
12751 * mail/uce.el (rmail-msgbeg, rmail-msgend):
12752 * term/w32-win.el (setup-default-fontset, set-fontset-font):
12753 Remove unused declarations.
12755 2009-09-30 Glenn Morris <rgm@gnu.org>
12757 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12759 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12760 filename is not a string.
12762 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
12764 * files.el (safe-local-eval-forms): Fix typo.
12766 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12768 * vc-hooks.el (vc-dir-buffers): New var.
12769 (vc-state-refresh): New function.
12770 (vc-state): Use it.
12771 (vc-after-save): Always ask the backend to recompute the new state.
12772 Always call vc-dir if necessary, using vc-dir-buffers.
12773 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12774 Use vc-dir-buffers.
12775 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12776 (vc-dir-prepare-status-buffer, vc-dir-update)
12777 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12778 Don't call expand-file-name on default-directory.
12780 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12782 * speedbar.el (speedbar-item-delete):
12783 * calc/calc-prog.el (calc-kbd-if):
12784 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12786 * epa.el (epa-key-list-mode-map):
12787 * hi-lock.el (hi-lock-menu): Fix typos in menus.
12789 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12790 (hs-show-hook): Fix typo in docstring.
12792 2009-09-29 Glenn Morris <rgm@gnu.org>
12794 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12795 file-name-nondirectory call preventing location of cedet files.
12796 (check-declare-verify): Use literal search rather than re-search.
12797 Add basic defmethod and defclass, and define-overloadable-function.
12799 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12800 Use tramp-compat-file-attributes rather than nonexistent
12801 tramp-compat-handle-file-attributes.
12803 * Makefile.in (lisptagsfiles4): New.
12804 (AUTOGENEL): Add cedet loaddefs files.
12805 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12806 (update-elclist, compile-always, backup-compiled-files)
12807 (bootstrap-clean): Add yet another directory level.
12808 (update-elclist): Use LC_COLLATE rather than COLLATE.
12809 (ELCFILES): Update, via `make update-elclist'.
12811 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12813 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12814 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12815 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12817 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
12819 * Makefile.in (lisptagsfiles3): Define.
12820 (TAGS, TAGS-LISP): Use it.
12821 (update-elclist): Add third directory level to look for elc files.
12822 (compile-always): Likewise.
12823 (backup-compiled-files): Likewise.
12824 (bootstrap-clean): Likewise.
12825 (ELCFILES): Update.
12827 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
12829 * Makefile.in (ELCFILES): Add CEDET files.
12831 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
12833 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12835 * net/tramp.el (top): Require tramp-imap.
12837 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12838 Use `tramp-compat-handle-file-attributes'.
12840 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
12842 * net/tramp-imap.el: New package.
12844 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12846 * whitespace.el (whitespace-trailing-regexp)
12847 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12850 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
12852 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12855 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12856 menu-bar-ediff-menu.
12858 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12859 define-overloadable-function.
12861 * progmodes/autoconf.el: Provide autoconf as well, so that this
12862 file can be `require'd.
12864 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12866 * emacs-lisp/autoload.el (generated-autoload-feature)
12867 (generated-autoload-load-name): New vars.
12868 (autoload-rubric, autoload-generate-file-autoloads): Use them.
12869 (make-autoload): Recognize define-overloadable-function and
12870 defclass forms (for EIEIO).
12872 * Makefile.in (update-subdirs): Exclude cedet directory.
12874 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
12876 * term/ns-win.el: Don't set the region face background. (Bug#4381)
12878 * faces.el: Default light-background background for region face to
12879 ns_selection_color under NS.
12881 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
12883 * net/imap-hash.el: New library, see NEWS.
12885 * Makefile.in (ELCFILES): Add imap-hash.el.
12887 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
12889 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12890 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12891 * help-macro.el (make-help-screen): Avoid using an ambiguous function
12892 definition where the docstring could be taken for the return value.
12894 2009-09-26 Glenn Morris <rgm@gnu.org>
12896 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12897 Add option to only show images below a certain size.
12898 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12899 save-excursion calls.
12901 2009-09-26 Eli Zaretskii <eliz@gnu.org>
12903 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12904 subdirectories) and eieio.
12906 2009-09-26 Alan Mackenzie <acm@muc.de>
12908 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12909 buggy bracketing. (Bug#4289)
12911 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12912 character constants (as case labels). (Bug#4289)
12914 2009-09-25 Juri Linkov <juri@jurta.org>
12916 * files.el (safe-local-eval-forms): Allow time-stamp in
12917 before-save-hook (Bug#4554).
12919 2009-09-25 Drew Adams <drew.adams@oracle.com>
12921 * menu-bar.el (list-buffers-directory): Doc fix.
12923 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
12925 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12926 Try and avoid copying twice the same paragraph.
12927 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12928 Remove save-excursion.
12929 (log-edit-changelog-entry): Do it here instead.
12931 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
12933 * bs.el (bs--get-file-name): Use `list-buffers-directory'
12934 when available, instead of hardcoding mode names. Doc fix.
12936 * menu-bar.el (list-buffers-directory): Add docstring.
12937 Make automatically buffer-local.
12939 * dired.el (dired-mode):
12940 * files.el (cd-absolute):
12941 * pcvs.el (cvs-temp-buffer):
12942 * pcvs-util.el (cvs-get-buffer-create):
12943 * shell.el (shell-mode):
12944 * vc-dir.el (vc-dir-mode):
12945 Don't make `list-buffers-directory' buffer local.
12947 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
12949 * comint.el (comint-exec, comint-run, make-comint):
12950 Doc fixes (Bug#4542).
12952 2009-09-25 Glenn Morris <rgm@gnu.org>
12954 * mail/rmailmm.el (rmail-mime): New custom group.
12955 Move all defcustoms in this file into this group.
12956 (rmail-mime-media-type-handlers-alist): Revert previous change.
12957 (rmail-mime-show-images): New option.
12958 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12959 references to it, since it wasn't actually used for anything.
12960 (rmail-mime-insert-image): New function.
12961 (rmail-mime-image): Use rmail-mime-insert-image.
12962 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12963 obey the value of `rmail-mime-show-images' option. Print the size of
12966 2009-09-25 David Engster <deng@randomsample.de>
12968 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
12970 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12972 * whitespace.el: Does not highlight trailing spaces While point is
12973 at end of line. Does not highligt spaces at beginning of buffer
12974 while point is at beginning of buffer. Does not highlight spaces
12975 at end of buffer while point is at end of buffer. (Bug#4177)
12977 (whitespace-display-mappings): Adjust initialization.
12978 (whitespace-point, whitespace-font-lock-refontify): New vars.
12979 (whitespace-color-on, whitespace-color-off): Adjust code.
12980 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12981 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12982 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12984 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
12986 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12988 * textmodes/sgml-mode.el: Remove xml-mode alias.
12990 * files.el (auto-mode-alist, conf-mode-maybe)
12991 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12993 2009-09-24 Alan Mackenzie <acm@muc.de>
12995 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12996 c-forward-conditionals, but it doesn't move point and doesn't set
12998 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12999 (c-down-conditional-with-else, c-backward-conditional)
13000 (c-forward-conditional): Refactor to use c-scan-conditionals.
13002 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13004 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13005 (help-default-arg-highlight): Remove.
13006 (help-highlight-arg): New function.
13007 (help-do-arg-highlight): Use it.
13008 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13010 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13012 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13013 Undo last change, which didn't fix the problem and introduced others.
13015 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13017 * progmodes/gdb-mi.el: Don't require speedbar.
13018 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13020 2009-09-24 Glenn Morris <rgm@gnu.org>
13022 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13024 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13026 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13027 there is no newline after the final mime boundary. (Bug#4539)
13028 Move markers on insertion so that any buttons inserted don't end up in
13029 the next part of a multipart message.
13030 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13031 (rmail-mime-bulk-handler): Optionally handle images.
13032 (rmail-mime-image): New button action.
13033 (rmail-mime-image-handler): New function.
13034 (rmail-mime-mode): New mode.
13035 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13037 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13039 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13040 than just dropping elements from it (bug#4504).
13042 * term.el (term-set-scroll-region): Don't move cursor any more.
13043 (term-handle-ansi-escape): Call term-goto here instead.
13044 Suggested by Ivan Kanis <apple@kanis.eu>.
13046 * term.el: Require CL.
13047 (term-ansi-reset): New function.
13048 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13049 (term-handle-colors-array): Simplify.
13051 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13053 * allout.el (allout-overlay-interior-modification-handler)
13054 (allout-obtain-passphrase):
13055 * epa-file.el (epa-file-write-region):
13056 * ps-print.el (ps-begin-job):
13057 * vc-hooks.el (vc-toggle-read-only):
13058 * vc-rcs.el (vc-rcs-rollback):
13059 * vc-sccs.el (vc-sccs-rollback):
13060 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13061 (vc-version-diff, vc-revert, vc-rollback):
13062 * wdired.el (wdired-check-kill-buffer):
13063 * emacs-lisp/authors.el (authors):
13064 * net/socks.el (socks-open-connection):
13065 * net/zeroconf.el (zeroconf-service-add-hook):
13066 * obsolete/vc-mcvs.el (vc-mcvs-register):
13067 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13068 (gdb-select-frame):
13069 * progmodes/grep.el (lgrep, rgrep):
13070 * progmodes/idlw-help.el (idlwave-help-check-locations)
13071 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13072 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13073 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13074 (reftex-toc-rename-label): Fix typos in error messages.
13076 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13077 (dired-copy-how-to-fn): Doc fix.
13078 (dired-files-attributes, dired-read-shell-command):
13079 Fix typos in docstrings.
13081 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13082 (dired-x-find-file-other-window): Reflow docstrings.
13083 (dired-omit-marker-char, dired-read-shell-command)
13084 (dired-x-submit-report): Fix typos in docstrings.
13086 * shell.el (shell-mode-hook):
13087 * view.el (View-scroll-line-forward):
13088 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13089 Fix typos in docstrings.
13091 * net/dig.el (dig-invoke): Fix typo in docstring.
13092 (query-dig): Reflow docstring.
13094 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13095 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13096 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13097 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13098 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13099 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13100 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13101 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13102 (idlwave-completion-map, idlwave-current-indent)
13103 (idlwave-custom-ampersand-surround, idlwave-customize)
13104 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13105 (idlwave-define-abbrev, idlwave-determine-class-special)
13106 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13107 (idlwave-end-block-reg, idlwave-end-of-statement)
13108 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13109 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13110 (idlwave-explicit-class-listed, idlwave-file-header)
13111 (idlwave-fill-paragraph, idlwave-find-class-definition)
13112 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13113 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13114 (idlwave-in-quote, idlwave-indent-action-table)
13115 (idlwave-indent-expand-table, idlwave-indent-line)
13116 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13117 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13118 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13119 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13120 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13121 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13122 (idlwave-outlawed-buffers, idlwave-popup-select)
13123 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13124 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13125 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13126 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13127 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13128 (idlwave-statement-type, idlwave-struct-skip)
13129 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13130 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13131 (idlwave-what-module-find-class): Fix typos in docstrings.
13132 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13133 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13134 (idlwave-find-module, idlwave-find-structure-definition)
13135 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13136 (idlwave-list-load-path-shadows, idlwave-next-statement)
13137 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13138 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13139 (idlwave-template): Reflow docstrings.
13141 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13142 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13143 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13144 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13145 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13146 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13147 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13148 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13149 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13150 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13151 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13152 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13153 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13154 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13155 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13156 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13157 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13158 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13159 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13160 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13161 Fix typos in docstrings.
13162 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13163 (idlwave-shell-hide-output, idlwave-shell-mode)
13164 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13167 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13169 2009-09-24 Ivan Kanis <apple@kanis.eu>
13171 * term.el (term-bold-attribute): New var.
13172 (term-handle-colors-array): Use it.
13174 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
13176 * progmodes/gdb-mi.el (gdb-version): New variable.
13177 (gdb-non-stop-handler): Set gdb-version.
13178 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13179 Condition "--thread" option on gdb-version.
13180 (gdb-invalidate-threads): Remove unused argument.
13182 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13184 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13185 to looking-back to avoid ridiculous slow down in large files (bug#4511).
13187 2009-09-23 Glenn Morris <rgm@gnu.org>
13189 * mail/rmail.el (rmail-reply): Don't try to add a References header when
13190 replying to mail without References or Message-Id. (Bug#4525)
13192 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
13194 * term/ns-win.el (ns-reg-to-script): New variable.
13196 2009-09-23 Daiki Ueno <ueno@unixuser.org>
13198 * epg.el (epg-wait-for-status): Preserve existing 'error results.
13200 2009-09-22 Sam Steingold <sds@gnu.org>
13202 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13203 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13204 to 1 because hg returns status 1 when nothing is found.
13205 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13207 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
13209 * textmodes/fill.el: Convert to utf-8 encoding.
13210 (fill-french-nobreak-p): Remove redundant » and « inherited from our
13213 * add-log.el (change-log-fill-forward-paragraph): New function.
13214 (change-log-mode): Use it so fill-region DTRT.
13215 Set fill-indent-according-to-mode here rather than in
13216 change-log-fill-paragraph.
13217 (change-log-fill-paragraph): Remove.
13219 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
13221 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13222 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
13224 2009-09-22 Glenn Morris <rgm@gnu.org>
13226 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13227 the scroll-bar scroll the calendar window rather than the buffer.
13229 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13230 commands that move point (as opposed to scrolling).
13232 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13234 * emacs-lisp/elint.el (elint): New custom group.
13235 (elint-log-buffer): Make it a defcustom.
13236 (elint-scan-preloaded, elint-ignored-warnings)
13237 (elint-directory-skip-re): New options.
13238 (elint-builtin-variables): Doc fix.
13239 (elint-preloaded-env): New variable.
13240 (elint-unknown-builtin-args): Add an entry for encode-time.
13241 (elint-extra-errors): Make it a variable rather than a constant.
13242 (elint-preloaded-skip-re): New constant.
13243 (elint-directory): Skip files matching elint-directory-skip-re.
13244 (elint-features): New variable, local to linted buffers.
13245 (elint-update-env): Initialize elint-features. Possibly add
13246 elint-preloaded-env to the buffer's environment.
13247 (elint-get-top-forms): Bind elint-current-pos, for log messages.
13249 (elint-init-form): New function, extracted from elint-init-env.
13250 Make non-list forms a warning rather than an error.
13251 Add the mode-map for define-derived-mode. Handle define-minor-mode,
13252 easy-menu-define, put that adds an error-condition, and provide.
13253 When requiring cl, also require cl-macs. Really require cl, to handle
13254 some cl macros. Store required libraries in the list elint-features,
13255 so as not to re-load them. Treat cc-require like require.
13256 (elint-init-env): Call elint-init-form to do the work.
13257 Handle eval-and-compile and such like.
13258 (elint-add-required-env): Do not clear messages.
13259 (elint-special-forms): Add handlers for function, defalias, if, when,
13261 (elint-form): Add optional argument to ignore elint-special-forms,
13262 useful to prevent recursive calls from handlers. Doc fix.
13263 Respect elint-ignored-warnings.
13264 (elint-form): Respect elint-ignored-warnings.
13265 (elint-bound-variable, elint-bound-function): New variables.
13266 (elint-unbound-variable): Respect elint-bound-variable.
13267 (elint-get-args): Respect elint-bound-function.
13268 (elint-check-cond-form): Add some simple handling for (f)boundp and
13270 (elint-check-defalias-form): New handler.
13271 (elint-check-let-form): Make an empty let a warning rather than an
13273 (elint-check-setq-form): Make an empty setq a warning rather than an
13274 error. Respect elint-ignored-warnings.
13275 (elint-check-defvar-form): Accept null doc-strings.
13276 (elint-check-conditional-form): New handler. Does some simple-minded
13277 checking of featurep and (f)boundp tests.
13278 (elint-put-function-args): New function.
13279 (elint-initialize): Use elint-scan-doc-file rather than
13280 elint-find-builtin-variables. Use elint-put-function-args.
13281 Possibly scan preloaded-file-list.
13282 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13283 extend to handle functions as well.
13285 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
13287 * linum.el (linum-delete-overlays, linum-update-window):
13288 Do not modify the right margin. (Bug#3971)
13290 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
13292 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13293 nxml-mode instead of xml-mode.
13295 2009-09-21 Kevin Ryde <user42@zip.com.au>
13297 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
13299 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13301 * net/dig.el (dig-mode): Use define-derived-mode.
13303 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
13305 * vc-dispatcher.el (vc-do-command): Return the process object in
13306 the asynchronous case. Use when instead of if. Do not run
13307 vc-exec-after to display a message if not enabled. (Bug#4463)
13309 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13310 properties to the stash strings.
13311 (vc-git-stash-list): Return a list of strings.
13312 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13313 (vc-git-stash-show-at-point): New functions.
13314 (vc-git-stash-map): New keymap.
13316 * register.el (ctl-x-r-map): Define the keys here instead of
13319 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13321 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13322 list, to workaround performance problem (bug#4485).
13324 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13326 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13328 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13330 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13331 Document that this option is not recommended to use.
13333 2009-09-19 Glenn Morris <rgm@gnu.org>
13335 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13338 * calc/calc-alg.el (var):
13339 * calc/calcalg2.el (var): Define for compiler.
13341 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13343 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13344 Doc fix (Bug#3932).
13346 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13348 * time-stamp.el (time-stamp-month-dd-yyyy)
13349 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13350 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13351 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13352 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13353 Remove functions that have been obsolete since 1995 (Bug#4436).
13355 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13356 indent buffer only if called interactively (Bug#4452).
13358 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13359 Eli Zaretskii <eliz@gnu.org>
13361 This fixes bug#4197 (merged to bug#865, though not identical).
13362 * server.el (server-auth-dir): Add docstring note about FAT32.
13363 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13364 but warn against using them.
13366 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13368 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13369 older GDB where there is no has_more field.
13371 2009-09-19 Glenn Morris <rgm@gnu.org>
13373 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13375 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13377 * files.el (auto-mode-alist): Change default for XML files to nXML
13380 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13382 * server.el (server-ensure-safe-dir): Pass 'integer
13383 to `file-attributes', as suggested.
13385 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13387 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13388 (dired-query): Use read-key.
13390 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13392 * cus-start.el (ns-use-qd-smoothing): Remove.
13394 2009-09-18 Glenn Morris <rgm@gnu.org>
13396 * allout.el (top-level): Remove unnecessary progn.
13398 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13400 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13401 definition of abbrev table.
13403 * speedbar.el (speedbar-track-mouse):
13404 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13405 * net/eudc.el (eudc-expand-inline):
13406 * net/newst-backend.el (newsticker--cache-read-feed):
13407 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13408 condition-case handlers.
13410 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13412 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13413 (gdb-var-list): Add an element for has_more field.
13414 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13415 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13416 (gdb-var-update-handler-1): Parse output of dynamic variable
13417 objects (STL containers).
13418 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13419 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13421 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13423 (gud-speedbar-buttons): Make node expandable if expression "has more"
13426 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13428 * startup.el (emacs-quick-startup): Remove variable and all uses.
13429 (command-line): Set `inhibit-x-resources' instead.
13430 (command-line-1): Use `inhibit-x-resources' instead.
13432 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13434 * subr.el: Fix last change to avoid using the `unless' macro,
13435 which breaks bootstrapping.
13437 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13439 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13440 extended definitions, in case we reload subr.el after having
13442 (eval-next-after-load): Mark as obsolete.
13444 2009-09-17 Juri Linkov <juri@jurta.org>
13446 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13447 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13448 (menu-bar-showhide-menu, menu-bar-tools-menu)
13449 (menu-bar-describe-menu, menu-bar-help-menu)
13450 (minibuffer-local-completion-map, minibuffer-local-map):
13453 2009-09-17 Glenn Morris <rgm@gnu.org>
13455 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13456 arguments, whether or not it has a handler.
13458 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13460 * simple.el (hard-newline): Give it a doc-string.
13462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13463 (lisp-mode-syntax-table): Give them doc-strings.
13465 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13467 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13468 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13469 (menu-bar-options-menu, menu-bar-showhide-menu)
13470 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13471 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13472 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13473 (menu-bar-options-menu, menu-bar-tools-menu)
13474 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13475 (menu-bar-help-menu):
13476 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13479 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13480 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13481 calls for the menu names and :help.
13483 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13485 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13486 to :minor-mode-function (bug#4455).
13488 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13490 * startup.el (command-line): Initialize the window-system after
13491 processing the command-line.
13493 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13494 page-delimiter matches the empty string.
13496 2009-09-16 Glenn Morris <rgm@gnu.org>
13498 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13499 byte-compile-not-obsolete-var. It's a list now.
13500 (byte-compile-not-obsolete-funcs): New variable.
13501 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13502 byte-compile-not-obsolete-funcs.
13503 (byte-compile-variable-ref, byte-compile-defvar): Update for
13504 byte-compile-not-obsolete-vars name-change and list nature.
13505 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13506 and variables behind (f)boundp tests.
13507 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13509 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13511 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13513 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13515 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13516 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13519 2009-09-15 Stephen Eglen <stephen@gnu.org>
13521 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13522 the virtual-buffers, use the name of the buffer specified by
13523 find-file-noselect, as the match may be a symlink. (This was a
13524 problem if the target and the symlink had different names.)
13526 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13528 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13530 * desktop.el (desktop-path): Check user-emacs-directory.
13532 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13534 * loadup.el: Use after-load-functions to GC after loading each file.
13535 Remove the explicit GC calls that used to be sprinkled around.
13537 * subr.el (after-load-functions): New hook.
13538 (do-after-load-evaluation): Run it. Use string-match-p to detect
13539 `obsolete' packages, rather than painfully extracting the relevant
13542 2009-09-15 Glenn Morris <rgm@gnu.org>
13544 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13545 free variable `doc'.
13547 * dired.el (dired-mode-map): Add menu entry for async shell command.
13549 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13550 variables, also consider the .elc files, since the .el files are
13551 normally gzipped (subsequent code locates the .el.gz from the .elc).
13553 * calc/calc-prog.el (arglist): Define for compiler.
13555 * calendar/diary-lib.el (diary-display-function): Change the default to
13557 (body): Define for compiler.
13559 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13560 (byte-compile-file-form, byte-compile-lambda)
13561 (byte-compile-top-level-body, byte-compile-form)
13562 (byte-compile-variable-ref, byte-compile-setq)
13563 (byte-compile-setq-default, byte-compile-body)
13564 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13565 (batch-byte-compile): Give some more local variables with common names
13566 a "bytecomp-" prefix to avoid masking warnings about free variables.
13568 * startup.el (command-line-1): Give local variables with common names a
13569 distinguishing prefix, so as not to hide free variable warnings during
13572 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13573 clever and add a suffix to make a unique name, just let the user decide
13574 whether or not to overwrite it. If the input is a directory, write the
13575 default filename to that directory. (Bug#4388)
13576 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13577 is a filename-as-a-directory.
13579 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * textmodes/page.el (what-page): Don't move to beginning of line.
13582 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13584 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13586 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13588 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13590 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13591 * help.el (help-for-help-internal): Add purecopy calls for text.
13593 * vc.el (top): print-log method now takes an optional SHORTLOG
13594 argument. Add a new method: root.
13595 (vc-root-diff, vc-print-root-log): New functions.
13596 (vc-log-short-style): New variable.
13597 (vc-print-log-internal): Add support for showing short logs.
13599 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13600 vc-print-root-log and vc-print-root-diff.
13602 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13603 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13604 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13607 * vc-cvs.el (vc-cvs-print-log):
13608 * vc-mtn.el (vc-mtn-print-log):
13609 * vc-rcs.el (vc-rcs-print-log):
13610 * vc-sccs.el (vc-sccs-print-log):
13611 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13612 that is ignored for now.
13614 * vc-mtn.el (vc-mtn-annotate-command):
13615 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13617 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13619 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13620 to function-key-map, and give them ascii-character property.
13621 * term/x-win.el (x-alternatives-map):
13622 * term/ns-win.el (ns-alternatives-map):
13623 * term/internal.el (msdos-key-remapping-map):
13624 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13626 2009-09-14 Glenn Morris <rgm@gnu.org>
13628 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13629 temp-buffers (2009-09-12).
13631 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13633 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13634 the new read-key function.
13636 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13638 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13639 is defined (Bug#4405).
13641 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13643 * recentf.el (recentf-cleanup): Use a hash table to find
13644 duplicates (Bug#4407).
13646 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13648 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13649 kp-0 to ascii equivalents (Bug#4325).
13651 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13653 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13655 * eshell/em-hist.el:
13656 * eshell/em-dirs.el (eshell-complete-user-reference):
13657 Declare pcomplete functions and variables to avoid compiler warnings.
13659 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13661 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13662 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13663 * eshell/em-alias.el (eshell-aliases-file):
13664 * eshell/em-hist.el (eshell-history-file-name):
13665 Use expand-file-name instead of concat to make file names (Bug#4308).
13667 2009-09-13 Glenn Morris <rgm@gnu.org>
13669 * ediff-merg.el (ediff-do-merge):
13670 * filesets.el (filesets-run-cmd):
13671 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13672 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13673 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13674 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13675 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13676 Replace empty `let's with `progn'.
13678 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13680 * mail/sendmail.el (send-mail-function):
13681 * tooltip.el (tooltip-mode):
13682 * simple.el (transient-mark-mode):
13683 * rfn-eshadow.el (file-name-shadow-mode):
13684 * frame.el (blink-cursor-mode):
13685 * font-core.el (global-font-lock-mode):
13686 * files.el (temporary-file-directory)
13687 (small-temporary-file-directory, auto-save-file-name-transforms):
13688 * epa-hook.el (auto-encryption-mode):
13689 * composite.el (global-auto-composition-mode):
13690 Use custom-initialize-delay.
13691 * startup.el (command-line): Don't explicitly call
13692 custom-reevaluate-setting for all the above vars.
13693 * custom.el (custom-initialize-safe-set)
13694 (custom-initialize-safe-default): Delete.
13696 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * term/x-win.el (x-initialize-window-system):
13699 * term/w32-win.el (w32-initialize-window-system):
13700 * term/ns-win.el (ns-initialize-window-system): Don't call
13701 mouse-wheel-mode since it's enabled globally by default already.
13703 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13704 actually define the variable, but only silences the byte-compiler.
13705 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13706 before looking it up.
13707 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13710 2009-09-12 Glenn Morris <rgm@gnu.org>
13712 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13714 (elint-add-required-env): Don't beep on error.
13715 (elint-forms): In case of error, return ENV unchanged.
13716 (elint-init-env): Skip non-list forms.
13717 (elint-log): Handle unknown file positions.
13719 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13721 * epg.el (epg-make-context): Add autoload cookie.
13722 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13723 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13724 (epg-verify-string, epg-start-sign, epg-sign-file)
13725 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13726 (epg-encrypt-string, epg-start-export-keys)
13727 (epg-export-keys-to-file, epg-export-keys-to-string)
13728 (epg-start-import-keys, epg-import-keys-from-file)
13729 (epg-import-keys-from-string, epg-start-receive-keys)
13730 (epg-receive-keys, epg-import-keys-from-server)
13731 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13732 (epg-sign-keys, epg-start-generate-key)
13733 (epg-generate-key-from-file, epg-generate-key-from-string):
13734 Remove autoload cookie.
13736 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13738 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13739 reevaluation of trash-directory.
13741 * mwheel.el: Fix last change.
13742 (mouse-wheel-mode): New defvar.
13743 (mouse-wheel-mode): Remove autoload cookie.
13745 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13747 * mwheel.el (mwheel-installed-bindings): New var.
13748 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13749 the bindings we set last time. Use custom-initialize-delay.
13750 * loadup.el: Load mwheel after term/*-win.el.
13751 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13752 and mouse-wheel-up-event now that their first evaluation is done
13753 sufficiently late to be correct.
13755 * startup.el (tutorial-directory): Make it a defcustom.
13756 Use custom-initialize-delay rather than eval-at-startup to set it.
13757 * image.el (image-load-path): Make it a defcustom.
13758 Use custom-initialize-delay rather than eval-at-startup to set it.
13759 * subr.el (eval-at-startup): Remove.
13760 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13762 * subr.el (do-after-load-evaluation): Warn the user after loading an
13765 2009-09-12 Glenn Morris <rgm@gnu.org>
13767 * proced.el (proced-mark-alt): Remove alias.
13768 (proced-mode-map): Remove proced-mark-alt.
13770 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13771 Elint file and directory. Remove initialization entry.
13773 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13775 (elint-current-buffer): Set mode-line-process.
13776 (elint-init-env): Handle define-derived-mode.
13777 Fix declare-function with unspecified arglist. Guard against odd
13778 defalias statements (eg iso-insert's 8859-1-map).
13779 (elint-add-required-env): Use a temp buffer.
13780 (elint-form): Just print the function/macro name, not the whole form.
13781 Return env unchanged if we fail to parse a macro.
13782 (elint-forms): Guard against parse errors.
13783 (elint-output): New function, to handle batch mode.
13784 (elint-log-message): Add optional argument. Use elint-output.
13785 (elint-set-mode-line): New function.
13787 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
13789 * emacs-lisp/elp.el (elp-not-profilable): Add more
13790 functions (Bug#4233).
13792 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
13794 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13795 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13797 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13799 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13800 (gdb-var-list-children): Use json parsing.
13802 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
13804 * progmodes/js.el (js--proper-indentation): Handle the case where
13805 char-before is null. Reported by Deniz Dogan.
13807 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13809 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13811 2009-09-11 Daiki Ueno <ueno@unixuser.org>
13813 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13814 (epg-digest-algorithm-alist): Add SHA224.
13815 (epg-context-set-passphrase-callback)
13816 (epg-context-set-progress-callback): Add description about
13819 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13821 * custom.el (custom-delayed-init-variables): New var.
13822 (custom-initialize-delay): New function.
13823 * startup.el (command-line): "Re"evaluate all vars in
13824 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
13825 explicitly any more.
13826 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13827 to avoid creating a ~/.emacs.d at build-time (bug#4347).
13829 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13831 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13833 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13834 (gdb-var-update-handler): Use json parsing.
13836 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13838 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13839 decode annotated text, regardless of language environment. (Bug#2741)
13841 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13843 * Makefile.in (autoloads): Make rmail.el writable as well.
13845 2009-09-11 Glenn Morris <rgm@gnu.org>
13847 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13849 * dired.el: Regenerate with extracted autoloads.
13850 * Makefile.in (autoloads): Make dired.el writable.
13852 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13853 * ibuffer.el: Regenerate with extracted autoloads.
13854 * Makefile.in (autoloads): Make ibuffer.el writable.
13856 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13857 * version.el (emacs-copyright, emacs-major-version)
13858 (emacs-minor-version): Reformat doc-strings for make-docfile.
13860 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13861 functions and variables, since they must be stuff specific to some other
13863 (apropos-print): Make mouse-click message less specific about button.
13865 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13866 that records where a macro was defined.
13867 * help-fns.el (describe-function-1): Mention if a function has a
13869 * help-mode.el (help-function-cmacro): New button.
13871 * locate.el (top-level): Always require dired.
13872 (locate-mode-map): Initialize inside the defvar.
13874 * net/ange-ftp.el (dired-compress-file): Declare.
13875 (ange-ftp-dired-compress-file): Add doc string.
13877 * term/ns-win.el (x-display-name, x-setup-function-keys):
13878 Unify doc-strings with X versions.
13880 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13882 * emulation/crisp.el (crisp-mode-map): Move initialization
13884 (crisp-mode): Use define-minor-mode.
13886 * progmodes/xscheme.el (xscheme-evaluation-commands):
13887 Put a :advertised-binding property rather than using
13888 advertised-xscheme-send-previous-expression.
13889 (advertised-xscheme-send-previous-expression): Declare obsolete.
13890 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13892 (crisp-mode): Add corresponding bindings to
13893 undo's :advertised-binding instead.
13894 * dired.el (dired-mode-map): Put a :advertised-binding property rather
13895 than using dired-advertised-find-file.
13896 (dired-advertised-find-file):
13897 * simple.el (advertised-undo):
13898 * wid-edit.el (advertised-widget-backward): Declare obsolete.
13899 (widget-keymap): Put a :advertised-binding property rather
13900 than using advertised-widget-backward.
13901 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13902 than using advertised-undo.
13903 * tutorial.el (tutorial--default-keys): Adjust accordingly.
13905 2009-09-10 Simon South <ssouth@slowcomputing.org>
13907 * progmodes/delphi.el (delphi-tab): Indent region when Transient
13908 Mark mode is enabled and region is active; otherwise indent or
13909 insert TAB as usual.
13910 (delphi-mode): Update description of TAB-key binding.
13912 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13914 * subr.el (define-key-rebound-commands): Mark obsolete.
13915 * startup.el (precompute-menubar-bindings): Remove.
13916 (normal-top-level): Remove obsolete code that tried to precompute
13918 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13919 define-key-rebound-commands and precompute-menubar-bindings.
13921 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
13923 * net/imap.el (imap-interactive-login): Better messages.
13924 (imap-open): Fix bug with renamed buffer on reconnect.
13925 (imap-authenticate): Add buffer-local imap-last-authenticator variable
13926 for easier debugging and cleaner code. On successful (guessed based on
13927 server capabilities) secondary authentication, set imap-state
13929 (imap-last-authenticator): Define imap-last-authenticator as a variable
13932 2009-09-10 Glenn Morris <rgm@gnu.org>
13934 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13936 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13937 (byte-compile-file-form-autoload): Don't warn about unknown functions
13938 where the autoload statement comes after the use.
13939 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13940 that any handlers inside the body (eg require) are in turn respected.
13942 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13945 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13946 and syntax and abbrev tables basic docs, if they don't have any.
13948 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13950 * international/mule-cmds.el (top-level): Require cl when compiling.
13951 (view-hello-file): Use default-value rather than
13952 default-enable-multibyte-characters.
13954 * progmodes/fortran.el: Move all safe and risky properties into the
13957 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13958 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13959 * mail/undigest.el:
13960 Put autoloads in rmail.el rather than loaddefs.el.
13961 * mail/rmail.el: Regenerate with extracted autoloads.
13963 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13964 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13966 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
13968 Reported in thread for Bug#4375.
13969 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13970 "-data-evaluate-expression" instead of print.
13971 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13972 (gdb-tooltip-print): Parse output from above MI command.
13973 (gdb): Revert 2009-08-11 change. User should detach inferior
13976 Remove the word "separate" from IO functions as inferior
13977 output is now never displayed in the GUD buffer.
13979 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
13981 * startup.el (command-line-normalize-file-name): On Windows and
13982 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13984 2009-09-10 Juri Linkov <juri@jurta.org>
13986 * isearch.el (isearch-text-char-description): Propertize escape
13987 character sequences with the `escape-glyph' face. (Bug#4344)
13989 * simple.el (shell-command): Set asynchronous process filter to
13990 `comint-output-filter'. (Bug#4343)
13992 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13993 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
13994 the list. Move "asm" to the bottom.
13995 (grep-find-ignored-directories): Add `choice' with nil value
13996 to empty the list easily.
13997 (grep-find-ignored-files): New option.
13998 (grep-files-history): Set to nil by default instead of '("ch" "el").
13999 (grep-compute-defaults): Add "<X>" to `grep-template'.
14000 (grep-read-files): Bind new local variables `default-alias' and
14001 `default-extension'. Use a list of default values for the file prompt.
14002 (lgrep): Add `--exclude=' command line options composed from
14003 `grep-find-ignored-files'.
14004 (rgrep): Add `-name' command line options composed from
14005 `grep-find-ignored-files'. (Bug#4301)
14007 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14009 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14012 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14014 * calendar/time-date.el (autoload):
14015 Expand define-obsolete-function-alias into defalias and make-obsolete
14016 for old Emacsen that Gnus supports.
14017 (with-no-warnings): Define it for old Emacsen.
14018 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14020 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14021 float-time is available; suppress compile warning for time-to-seconds.
14023 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14025 * net/imap.el (imap-message-map): Docstring fix.
14027 2009-09-09 Glenn Morris <rgm@gnu.org>
14029 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14030 line numbers too. (Bug#4374)
14032 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14034 * smerge-mode.el (smerge-remove-props, smerge-refine):
14035 Use with-silent-modifications (bug#4342).
14037 * subr.el (with-silent-modifications): New macro.
14039 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14041 * files.el (top-level): Require `cl' when compiling.
14043 2009-09-07 Glenn Morris <rgm@gnu.org>
14045 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14047 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14048 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14050 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14052 * vc-git.el (vc-git-annotate-command): Use separator to parse
14053 arguments correctly.
14055 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14057 * proced.el (proced-mode): Doc fix.
14059 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14061 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14063 (tramp-do-file-attributes-with-ls): Check for file existence at
14065 (tramp-do-file-attributes-with-stat): Likewise.
14066 (tramp-convert-file-attributes): Return nil when attr is nil.
14068 2009-09-05 Glenn Morris <rgm@gnu.org>
14070 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14071 properties to this button.
14072 (diary-fancy-display): Don't extend the button to the final newline.
14073 (diary-fancy-display-mode): Continue to define "q" as a local key.
14075 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14078 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14080 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14081 (byte-compile-dest-file-function): New option.
14082 (byte-compile-dest-file): Doc fix.
14083 Obey byte-compile-dest-file-function.
14084 (byte-compile-cl-file-p): New function.
14085 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14086 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14087 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14088 than for file being previously loaded.
14089 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14090 (byte-compile-file-form-require): Handle the case where requiring a file
14091 indirectly causes CL to be loaded.
14093 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14095 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14096 before killing the old buffer, since by the time `kill-buffer' is
14097 run so many buffer variables have been set to nil that it may not
14098 behave as expected. (Bug#4061)
14100 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14102 * files.el (find-alternate-file): If the old buffer is modified
14103 and visiting a file, behave similarly to `kill-buffer' when
14104 killing it, thus reverting to the pre-1.878 behavior; see
14105 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14106 for discussion. Also, consult `buffer-file-name' as a variable
14107 not as a function, for consistency with the rest of the code.
14109 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14111 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14112 also when adding a new directory.
14114 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14117 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14119 * files.el (locate-file-completion-table): Make it provide boundary
14120 information, so partial-completion works better.
14122 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14124 * mail/footnote.el (Footnote-text-under-cursor):
14125 Check footnote-text-marker-alist before using it (bug#4324).
14127 2009-09-04 Glenn Morris <rgm@gnu.org>
14129 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14130 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14131 * play/solitaire.el, play/tetris.el:
14132 Remove leading * from defcustom and defface docs.
14134 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14136 (diary-fancy-overriding-map): New variable.
14137 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14140 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14143 2009-09-03 Glenn Morris <rgm@gnu.org>
14145 * arc-mode.el (archive-mode):
14146 * dos-fns.el (set-default-process-coding-system):
14147 * man.el (Man-getpage-in-background):
14148 * menu-bar.el (menu-bar-describe-menu):
14149 * server.el (server-process-filter):
14150 * startup.el (command-line):
14151 * tar-mode.el (tar-header-block-tokenize, tar-extract):
14152 * w32-fns.el (set-default-process-coding-system):
14153 * x-dnd.el (x-dnd-handle-file-name):
14154 * international/mule-cmds.el (mule-menu-keymap)
14155 (set-default-coding-systems, language-info-alist, set-language-info)
14156 (set-language-environment, standard-display-european-internal)
14157 (set-locale-environment):
14158 * international/mule-diag.el (mule-diag):
14159 * mail/emacsbug.el (report-emacs-bug):
14160 * mail/rmail.el (rmail-mode):
14161 * mail/sendmail.el (mail-setup):
14162 Use default-value rather than default-enable-multibyte-characters.
14164 * progmodes/f90.el: Move all safe properties into the defcustoms.
14165 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14167 * calendar/appt.el (appt-check):
14168 * calendar/diary-lib.el (diary-set-header, diary-live-p)
14169 (diary-check-diary-file, diary-list-entries)
14170 (diary-include-other-diary-files, diary-simple-display)
14171 (diary-fancy-display, diary-print-entries)
14172 (diary-mark-included-diary-files, diary-make-entry):
14173 Don't call substitute-in-file-name on diary-file.
14175 2009-09-03 Eduard Wiebe <usenet@pusto.de>
14176 Stefan Monnier <monnier@iro.umontreal.ca>
14178 * mail/footnote.el (footnote-prefix): Make it a defcustom.
14179 (footnote-mode-map): Move initialization into the declaration.
14180 (footnote-minor-mode-map): Define it rather than changing global-map.
14181 (footnote-mode): Use define-minor-mode.
14183 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
14185 * net/tramp.el (tramp-handle-file-attributes-with-ls)
14186 (tramp-do-file-attributes-with-perl)
14187 (tramp-do-file-attributes-with-stat): Rename from
14188 `tramp-handle-file-attributes-with-*'.
14189 (tramp-handle-file-attributes): Use them.
14190 (tramp-do-directory-files-and-attributes-with-perl)
14191 (tramp-do-directory-files-and-attributes-with-stat): Rename from
14192 `tramp-handle-directory-files-and-attributes-with-*'.
14193 (tramp-handle-directory-files-and-attributes): Use them.
14194 (tramp-method-out-of-band-p): Additional parameter SIZE.
14195 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14196 (tramp-handle-write-region): Use it.
14197 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14198 (tramp-handle-vc-registered): Check, whether the first run did
14199 return files to be tested.
14200 (tramp-advice-make-auto-save-file-name): Do not call directly
14201 `tramp-handle-make-auto-save-file-name', because this would bypass
14202 the locking mechanism.
14204 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14205 (file-remote-p, process-file, start-file-process, set-file-times)
14206 (tramp-compat-file-attributes): Compatibility functions shall not
14207 call directly `tramp-handle-*', because this would bypass the
14209 (tramp-compat-number-sequence): New defun.
14211 2009-09-02 Glenn Morris <rgm@gnu.org>
14213 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14214 alias for float-time.
14215 (time-to-number-of-days): In Emacs, use float-time.
14216 * net/newst-backend.el (time-add): Suppress warnings from compat
14218 * time.el (emacs-uptime, emacs-init-time):
14219 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14220 Use float-time rather than time-to-seconds.
14222 * minibuffer.el (completion-initials-expand): Fix typo.
14224 * faces.el (modeline, modeline-inactive, modeline-highlight)
14225 (modeline-buffer-id):
14226 * info.el (info-menu-5): Mark these face aliases as obsolete.
14228 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14230 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14232 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14233 no "--thread" option.
14234 (gdb-stopped): Don't print "Switched to thread" message when it is
14237 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
14239 * minibuffer.el (completion-try-completion)
14240 (completion-all-completions): Remove ill-defined (and
14241 mistakenly installed and luckily never used nor documented)
14242 `completion-styles' property.
14243 (completion-initials-expand, completion-initials-all-completions)
14244 (completion-initials-try-completion): New functions.
14245 (completion-styles-alist): Add doc to each entry.
14246 Add new `initials' entry.
14248 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14250 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14251 MI command -var-evaluate-expression.
14252 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14253 and tweak for case of string child.
14254 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14256 2009-09-01 Glenn Morris <rgm@gnu.org>
14258 * add-log.el (change-log-date-face, change-log-name-face)
14259 (change-log-email-face, change-log-file-face, change-log-list-face)
14260 (change-log-conditionals-face, change-log-function-face)
14261 (change-log-acknowledgement-face):
14262 * cus-edit.el (custom-invalid-face, custom-rogue-face)
14263 (custom-modified-face, custom-set-face, custom-changed-face)
14264 (custom-saved-face, custom-button-face, custom-button-pressed-face)
14265 (custom-documentation-face, custom-state-face, custom-comment-face)
14266 (custom-comment-tag-face, custom-variable-tag-face)
14267 (custom-variable-button-face, custom-face-tag-face)
14268 (custom-group-tag-face-1, custom-group-tag-face):
14269 * diff-mode.el (diff-header-face, diff-file-header-face)
14270 (diff-index-face, diff-hunk-header-face, diff-removed-face)
14271 (diff-added-face, diff-changed-face, diff-function-face)
14272 (diff-context-face, diff-nonexistent-face):
14273 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14274 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14275 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14276 (Info-title-4-face):
14277 * isearch.el (isearch-lazy-highlight-face):
14278 * log-view.el (log-view-file-face, log-view-message-face):
14279 * paren.el (show-paren-match-face, show-paren-mismatch-face):
14280 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14281 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14283 * smerge-mode.el (smerge-mine-face, smerge-other-face)
14284 (smerge-base-face, smerge-markers-face):
14285 * wid-edit.el (widget-documentation-face, widget-button-face)
14286 (widget-field-face, widget-single-line-field-face)
14287 (widget-inactive-face, widget-button-pressed-face):
14288 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14289 (woman-addition-face):
14290 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14291 (eshell-ls-executable-face, eshell-ls-readonly-face)
14292 (eshell-ls-unreadable-face, eshell-ls-special-face)
14293 (eshell-ls-missing-face, eshell-ls-archive-face)
14294 (eshell-ls-backup-face, eshell-ls-product-face)
14295 (eshell-ls-clutter-face):
14296 * eshell/em-prompt.el (eshell-prompt-face):
14297 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14298 * obsolete/old-whitespace.el (whitespace-highlight-face):
14299 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14300 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14301 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14302 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14303 (antlr-font-lock-literal-face):
14304 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14305 (ebrowse-root-class-face, ebrowse-file-name-face)
14306 (ebrowse-default-face, ebrowse-member-attribute-face)
14307 (ebrowse-member-class-face, ebrowse-progress-face):
14308 * progmodes/make-mode.el (makefile-space-face):
14309 * progmodes/sh-script.el (sh-heredoc-face):
14310 * textmodes/flyspell.el (flyspell-incorrect-face)
14311 (flyspell-duplicate-face):
14312 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14313 * textmodes/texinfo.el (texinfo-heading-face):
14314 Mark face aliases with "-face" suffix as obsolete.
14316 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14319 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14320 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14321 easy-menu-define wants to modify these.
14323 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14325 * net/browse-url.el (browse-url-file-url):
14326 * term/internal.el (dos-codepage-setup):
14327 Use default-value rather than default-enable-multibyte-characters.
14329 * progmodes/etags.el (etags-goto-tag-location):
14330 * progmodes/flymake.el (flymake-highlight-line)
14331 (flymake-goto-file-and-line, flymake-goto-line):
14332 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14333 (gdb-goto-breakpoint):
14334 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14335 * progmodes/python.el (python-find-function)
14336 (python-pdbtrack-track-stack-file):
14337 * progmodes/verilog-mode.el (verilog-surelint-off):
14338 * term/ns-win.el (ns-open-file-select-line):
14339 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14340 Use forward-line rather than goto-line.
14342 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14343 * textmodes/reftex-index.el (reftex-display-index):
14344 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14345 * textmodes/reftex-toc.el (reftex-toc):
14346 Remove unnecessary bindings of default-major-mode (all are followed by
14347 major-mode check and possible mode switch).
14349 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14351 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14352 Handle watchpoints (bug#4282).
14353 (def-gdb-thread-buffer-command): Enable thread to be selected by
14354 clicking without selecting threads buffer first.
14355 (gdb-current-context-command): Use selected frame so that "up",
14356 "down" etc work in the GUD buffer.
14357 (gdb-update): Find selected frame before rendering stack buffer.
14358 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14360 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14362 * progmodes/sym-comp.el (displayed-completions): Remove.
14363 (symbol-complete): Use minibuffer-complete.
14365 2009-08-31 Glenn Morris <rgm@gnu.org>
14367 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14369 * apropos.el (apropos-symbols-internal):
14370 Handle (obsolete) face aliases.
14372 * faces.el (describe-face): Adjust the output format to be more like
14373 describe-variable, and to mention (obsolete) face aliases.
14374 Adjust the whitespace so that help-setup-xref works.
14376 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14377 * calendar/diary-lib.el (diary-button-face):
14378 Mark these face aliases as obsolete.
14380 * calendar/calendar.el (calendar-today): Doc fix.
14382 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14384 * progmodes/gdb-mi.el (gdb-control-all-threads)
14385 (gdb-control-current-thread): Force tool bar update.
14386 (gdb-non-stop-handler): New function.
14387 (gdb-init-1): Use it to test if non-stop mode is supported.
14388 Remove unused gdbmi buffer type.
14390 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14392 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14393 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14395 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14397 * comint.el (comint-exec-1): Check command is non-null first.
14398 Part of gdb-mi.el change (2009-08-28).
14400 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14402 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14404 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14406 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14407 instead of `dolist' to avoid a recursive require when bootstrapping.
14409 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14411 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14413 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14415 * net/imap.el (imap-send-command): Simplify.
14416 (imap-wait-for-tag): point-max -> buffer-size.
14418 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14420 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14421 with constant argument.
14423 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14425 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14427 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14428 Change default, since most of our files don't have a history.
14429 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14432 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14435 * calc/calc.el: Improve commenting convention.
14436 (calc-digit-map, toplevel): Simplify.
14438 * comint.el (comint-insert-input): Be careful to only set point if we
14439 don't delegate to some other command.
14441 * proced.el (proced-signal-list): Make it an alist.
14442 (proced-grammar-alist): Capitalize names.
14443 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14444 Disable undo manually and make it read-only.
14445 Use completion-annotate-function.
14447 * minibuffer.el (minibuffer-message): If the current buffer is not
14448 a minibuffer, insert the message in the echo area rather than at the
14450 (completion-annotate-function): New variable.
14451 (minibuffer-completion-help): Use it.
14452 (completion--embedded-envvar-table): Environment vars are
14453 always case-sensitive.
14455 2009-08-30 Glenn Morris <rgm@gnu.org>
14457 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14458 from fortran-current-defun.
14459 (fortran-beginning-of-subprogram): Be more precise about finding the
14460 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14461 (fortran-end-of-subprogram): Simplify.
14462 (fortran-current-defun): Use fortran-start-prog-re.
14464 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14466 * subr.el (do-after-load-evaluation): Simplify.
14468 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14470 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14472 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14473 (vc-rcs-print-log): Use it.
14475 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14477 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14479 * paths.el (abbrev-file-name): Move to abbrev.el.
14480 * abbrev.el (abbrev-file-name): Move from paths.el.
14481 Obey user-emacs-directory.
14482 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14483 user-emacs-directory.
14484 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14485 abbrev-file-name and calc-settings-file any more.
14486 * startup.el (command-line): Recompute abbrev-file-name and
14487 abbreviated-home-dir.
14488 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14489 of the special code for when C-h bindings haven't been changed.
14490 (display-startup-echo-area-message): Use with-current-buffer.
14491 (command-line-1): Use a list of strings, rather than a list of lists
14492 of strings for longopts.
14494 * files.el (get-free-disk-space): Use / for default-directory.
14496 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14497 Use with-current-buffer.
14499 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14500 Recognize immutable variables like most-positive-fixnum.
14501 (byte-compile-setq-default): Check and warn if trying to assign
14502 to an immutable variable, or a non-variable.
14504 * progmodes/cc-vars.el (c-comment-continuation-stars):
14505 * progmodes/cc-engine.el (c-looking-at-bos):
14506 * progmodes/cc-cmds.el (c-toggle-auto-state)
14507 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14508 (c-comment-line-break-function): Add version of obsolescence.
14510 2009-08-28 Juri Linkov <juri@jurta.org>
14512 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14513 associated with `archive-mode'.
14515 * image.el (image-type-header-regexps): Use only JPEG magic number
14516 to determine JPEG images, and don't use `image-jpeg-p' because
14517 Emacs can display non-JFIF non-Exif JPEG images.
14519 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14521 * arc-mode.el (archive-mode):
14522 * emacs-lisp/re-builder.el (re-builder-unload-function):
14523 Protect against the default value of `major-mode' being nil.
14525 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14527 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14528 Fix typos in docstrings.
14530 * progmodes/js.el (js--macro-decl-re): Doc fix.
14531 (js--plain-method-re, js--split-name): Refloc docstring.
14532 (js--class-styles, js--make-merged-item, js--splice-into-items):
14533 Fix typos in docstrings; reflow docstrings.
14534 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14535 (js--variable-decl-matcher, js--inside-pitem-p)
14536 (js--parse-state-at-point, js--get-all-known-symbols)
14537 (js--symbol-history, js-find-symbol, js--js-references)
14538 (js--moz-interactor, js--js-encode-value, js--read-tab):
14539 Fix typos in docstrings.
14541 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14543 * textmodes/reftex.el (reftex-get-file-buffer-force):
14544 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14545 * emulation/viper.el (viper-go-away, viper-set-hooks):
14546 * emacs-lisp/re-builder.el (re-builder-unload-function):
14547 * emacs-lisp/bytecomp.el (byte-compile-file):
14548 * ses.el (ses-unload-function):
14549 * hexl.el (hexl-find-file):
14550 * files.el (normal-mode):
14551 * ehelp.el (with-electric-help):
14552 * autoinsert.el (auto-insert-alist):
14553 * arc-mode.el (archive-mode):
14554 Use (default-value 'major-mode) instead of default-major-mode.
14556 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14557 * international/mule.el (load-with-code-conversion):
14558 * emacs-lisp/debug.el (debug):
14559 * ediff-vers.el (ediff-rcs-get-output-buffer):
14560 * dired.el (dired-internal-noselect): Don't let-bind
14561 default-major-mode around code that doesn't use it.
14562 E.g. buffer creation via get-buffer-create doesn't use it.
14564 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14566 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14567 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14568 when writing the temp file. Otherwise, epa-file gets confused.
14569 (tramp-register-file-name-handlers): Make it a defun. Move also
14570 `epa-file-handler' to the front of `file-name-handler-alist'.
14572 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14574 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14575 start right after a ^M.
14576 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14577 (tramp-completion-file-name-regexp-separate)
14578 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14579 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14580 Don't modify last-coding-system-used by accident.
14581 (tramp-completion-file-name-handler): Apply the checks here,
14582 instead during registration.
14583 (tramp-register-file-name-handlers): Renamed from
14584 `tramp-register-file-name-handler'. Register both
14585 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14586 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14588 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14590 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14591 Remove variable ...
14592 (gdb-init-1, gdb-display-separate-io-buffer)
14593 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14595 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14596 (gdb-inferior-filter): Use comint-output-filter to stop
14597 echoing and remove ^M characters.
14599 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14601 * emulation/viper-init.el (viper-restore-cursor-type):
14602 * emulation/cua-base.el (cua--update-indications):
14603 Replace default-cursor-type with (default-value 'cursor-type).
14605 * mail/sendmail.el (mail-recover-1):
14606 * international/mule-diag.el (describe-current-coding-system-briefly)
14607 (describe-current-coding-system):
14608 * international/mule-cmds.el (select-safe-coding-system)
14609 (select-message-coding-system)
14610 (set-language-environment-coding-systems, set-locale-environment):
14611 * hexl.el (hexl-insert-multibyte-char):
14612 * dos-w32.el (find-buffer-file-type-coding-system):
14613 * simple.el (what-cursor-position):
14614 Replace uses of default-buffer-file-coding-system
14615 with (default-value 'buffer-file-coding-system).
14617 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14618 Replace uses of default-cursor-in-non-selected-windows
14619 with (default-value 'cursor-in-non-selected-windows).
14620 Use with-current-buffer.
14622 * mail/feedmail.el: Use CL macros.
14623 (feedmail-run-the-queue, feedmail-send-it-immediately):
14624 * dos-w32.el (find-buffer-file-type): Replace uses of
14625 default-buffer-file-type with (default-value 'buffer-file-type).
14627 2009-08-28 Glenn Morris <rgm@gnu.org>
14629 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14630 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14631 Use default-value of major-mode rather than default-major-mode.
14633 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14635 * Makefile.in (update-elcfiles): Report left over elc files.
14637 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14638 expand-file-name and with-current-buffer.
14639 (mail-get-names, mail-directory): Use with-current-buffer.
14641 * vc.el (vc-read-revision): New function.
14642 (vc-version-diff, vc-merge): Use it.
14644 2009-08-27 Sam Steingold <sds@gnu.org>
14646 * simple.el (kill-do-not-save-duplicates): New user option.
14647 (kill-new): When it is non-nil, and the new string is the same as
14648 the latest kill, set replace to t to avoid duplicates in kill-ring.
14650 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14652 * net/tramp.el (tramp-handle-process-file): Do not flush all
14653 caches when `process-file-side-effects' is set.
14654 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14655 instead of `tramp-find-file-exists-command'.
14656 Unset `process-file-side-effects'.
14658 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14660 * net/tramp.el (tramp-methods): New method "rsyncc".
14661 (top): Add completion function for "rsyncc".
14662 (tramp-message-show-message): New defvar.
14663 (tramp-message, tramp-error): Use it.
14664 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14666 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14667 `tramp-methods' entry `copy-env' of "rsyncc".
14668 (tramp-vc-registered-read-file-names): New defconst.
14669 (tramp-vc-registered-file-names): New defvar.
14670 (tramp-handle-vc-registered): Implement optimization strategy.
14671 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14672 (tramp-vc-file-name-handler): New defun.
14673 (tramp-get-ls-command, tramp-get-test-command)
14674 (tramp-get-file-exists-command, tramp-get-remote-ln)
14675 (tramp-get-remote-perl, tramp-get-remote-stat)
14676 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14678 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14679 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14681 (tramp-get-file-property): Check for timestamps in
14682 `tramp-cache-inhibit-cache'.
14683 (tramp-set-file-property): Write timestamp.
14685 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14687 * language/japan-util.el (japanese-symbol-table): Add entries for
14690 * international/characters.el: Add category `j' to cp932-2-byte.
14692 2009-08-27 Kenichi Handa <handa@m17n.org>
14694 * international/fontset.el (build-default-fontset-data): New macro.
14695 (setup-default-fontset): Use build-default-fontset-data for CJK,
14696 tibetan, ethiopic, and ipa.
14698 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14700 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14701 (enable-multibyte-characters): Not customizable any more.
14703 * subr.el (default-mode-line-format, default-header-line-format)
14704 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14705 (default-direction-reversed, default-truncate-lines)
14706 (default-left-margin, default-tab-width, default-case-fold-search)
14707 (default-left-margin-width, default-right-margin-width)
14708 (default-left-fringe-width, default-right-fringe-width)
14709 (default-fringes-outside-margins, default-scroll-bar-width)
14710 (default-vertical-scroll-bar, default-indicate-empty-lines)
14711 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14712 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14713 (default-scroll-down-aggressively, default-fill-column)
14714 (default-cursor-type, default-buffer-file-type)
14715 (default-cursor-in-non-selected-windows)
14716 (default-buffer-file-coding-system, default-major-mode)
14717 (default-enable-multibyte-characters): Mark as obsolete.
14719 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14721 * vc-dir.el (vc-dir-update): Remove debug helper.
14723 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14725 2009-08-26 Sam Steingold <sds@gnu.org>
14727 * simple.el (save-interprogram-paste-before-kill): New user option.
14728 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14729 save the interprogram-paste into kill-ring before overriding it
14730 with the Emacs kill.
14732 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14734 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14735 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14736 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14737 and move to vc-rcs.el.
14738 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14740 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14741 (vc-rcs-update-changelog): Remove.
14742 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14743 and move to vc-rcs.el.
14745 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14746 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14748 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14749 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14750 vc.el, renamed to be RCS specific.
14752 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14754 (vc-cvs-update-changelog): Move here from vc.el.
14756 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14759 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
14761 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14763 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14765 * vc-git.el (vc-git-register): Use "git add" for directories.
14766 (vc-git-stash, vc-git-stash-show): New functions.
14767 (vc-git-extra-menu-map): Bind them.
14769 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14770 directory correctly in case the item is a directory itself.
14772 * vc.el: Document the desired behavior for reverted files in the
14774 (vc-default-prettify-state-info): Remove function, unused.
14776 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14778 2009-08-26 Glenn Morris <rgm@gnu.org>
14780 * bindings.el (standard-mode-line-format): Reposition dashes in
14781 which-func entry. (Bug#4217)
14783 * files.el (enable-local-variables, enable-local-eval)
14784 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14786 (auto-mode-alist, ignored-local-variables)
14787 (save-some-buffers-action-alist): Move risky declarations to the
14789 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14790 (font-lock-defaults, format-alist, imenu--index-alist)
14791 (imenu-generic-expression, input-method-alist, minor-mode-alist)
14792 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14793 (mode-line-modified, mode-line-mule-info, mode-line-position)
14794 (mode-line-process, mode-line-remote, outline-level)
14795 (parse-time-rules, rmail-output-file-alist)
14796 (special-display-buffer-names, vc-mode):
14797 Move risky declarations to the relevant files.
14798 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14799 (mode-line-modified, mode-line-process, mode-line-position)
14800 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14801 * font-core.el (font-lock-defaults):
14802 * format.el (format-alist):
14803 * vc-hooks.el (vc-mode):
14804 * window.el (special-display-buffer-names):
14805 * international/mule-cmds.el (input-method-alist):
14806 Define riskiness here (dumped file) rather than in files.el.
14807 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14808 * imenu.el (imenu-generic-expression, imenu--index-alist):
14809 * outline.el (outline-level):
14810 * time.el (display-time-string):
14811 * calendar/parse-time.el (parse-time-rules):
14812 * mail/rmailout.el (rmail-output-file-alist):
14813 Autoload riskiness here, rather than placing in files.el.
14815 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
14817 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14819 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
14821 * simple.el (process-file-side-effects): New defvar.
14823 * dired-aux.el (dired-show-file-type):
14824 * vc.el (vc-diff-internal):
14825 * vc-arch.el (vc-arch-diff):
14826 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14827 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14828 * vc-git.el (vc-git-registered, vc-git-working-revision)
14829 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14830 (vc-git--empty-db-p):
14831 * vc-hooks.el (vc-user-login-name):
14832 * vc-svn.el (vc-svn-registered, vc-svn-state)
14833 (vc-svn-dir-extra-headers, vc-svn-find-revision):
14834 * progmodes/grep.el (grep-probe): Let-bind
14835 `process-file-side-effects' with nil.
14837 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14839 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14840 daemon. Replace ping by checking for running service for bluez
14841 and zeroconf. (Bug#4239)
14843 2009-08-25 Kevin Ryde <user42@zip.com.au>
14845 * net/dig.el (dig): Add autoload cookie.
14847 2009-08-25 Glenn Morris <rgm@gnu.org>
14849 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14850 load-history for absolute file-names.
14851 (byte-compile-file-form-require): Warn about use of the cl package.
14853 * format.el (format-alist): Doc fix.
14855 * play/bubbles.el (top-level): Don't require cl at run-time.
14857 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14860 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
14862 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14864 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14866 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
14868 * calc/calc-alg.el (math-trig-rewrite)
14869 (math-hyperbolic-trig-rewrite): New functions.
14870 (calc-simplify): Simplify trig functions when asked.
14872 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14874 * diff-mode.el (diff-find-source-location): Avoid goto-line.
14876 2009-08-24 Kenichi Handa <handa@m17n.org>
14878 * language/ind-util.el (mapthread): Delete it.
14879 (combinatorial): New function.
14880 (indian--puthash-cv): Use combinatorial instead of mapthread.
14882 2009-08-22 Kevin Ryde <user42@zip.com.au>
14884 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14885 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14886 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14887 Clarify docstring that the value is strings not symbols.
14888 (checkdoc-list-of-strings-p): New function.
14890 2009-08-22 Glenn Morris <rgm@gnu.org>
14892 * files.el (auto-mode-alist):
14893 * hippie-exp.el (he-concat-directory-file-name):
14894 * lpr.el (lpr-windows-system, printer-name):
14895 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14896 * ps-print.el (ps-windows-system):
14897 * startup.el (command-line):
14898 * emulation/viper-ex.el (viper-glob-function):
14899 * international/mule-cmds.el (set-language-environment-coding-systems):
14900 * net/ange-ftp.el (ange-ftp-write-region):
14901 * obsolete/fast-lock.el (fast-lock-cache-name):
14902 Remove code for defunct system-types emx, macos, mswindows, next-mach,
14903 unisoft-unix, vax-vms, win32, w32.
14905 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14906 given name if the pattern is not more specific.
14908 * calendar/lunar.el (lunar-phase-names): New option.
14909 (lunar-phase): Doc fix.
14910 (lunar-cycles-per-year): New constant.
14911 (lunar-index): New function.
14912 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14913 (lunar-phase-name): Use lunar-phase-names.
14914 (calendar-lunar-phases): Use format.
14915 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14917 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14918 Copy imenu-example--name-and-position function here for own use.
14919 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14921 * bs.el (bs--redisplay):
14922 * cus-edit.el (custom-redraw):
14923 * ibuffer.el (ibuffer-bury-buffer):
14924 * server.el (server-goto-line-column):
14925 * startup.el (command-line-1):
14926 * strokes.el (strokes-xpm-for-stroke):
14927 * term.el (term-display-buffer-line):
14928 * view.el (View-goto-line):
14929 * calc/calc.el (calc-do, calc-trail-buffer):
14930 * play/gamegrid.el (gamegrid-add-score-insecure):
14931 * progmodes/ada-mode.el (ada-compile-goto-error):
14932 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14933 (ebrowse-select-1st-to-9nth):
14934 * progmodes/cperl-mode.el (cperl-time-fontification):
14935 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14936 * progmodes/gud.el (gud-display-line):
14937 (idlwave-shell-display-line):
14938 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14939 * progmodes/make-mode.el (makefile-browser-toggle):
14940 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14941 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14942 * textmodes/picture.el (picture-draw-rectangle):
14943 * textmodes/reftex-index.el (reftex-index-goto-letter):
14944 (reftex-select-jump-to-previous):
14945 * textmodes/reftex-sel.el (reftex-find-start-point)
14946 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14947 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14948 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14949 * textmodes/tex-mode.el (tex-compilation-parse-errors):
14950 * textmodes/two-column.el (2C-associated-buffer):
14951 Use forward-line rather than goto-line.
14953 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14956 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14957 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14958 (quick-check-list-to-regexp): Declare.
14960 * progmodes/make-mode.el (makefile-browser-insert-selection):
14961 Use goto-char rather than goto-line.
14963 * progmodes/prolog.el (compilation-error-regexp-alist)
14964 (compilation-forget-errors): Declare.
14966 2009-08-22 Juri Linkov <juri@jurta.org>
14968 * progmodes/grep.el (lgrep, rgrep): At the beginning
14969 set `dir' to `default-directory' unless `dir' is a non-nil
14970 readable directory. (Bug#4052)
14971 (lgrep, rgrep): Change a weird way to report an error
14972 from using `read-string' to using `error'.
14973 Instead of using interactive arguments in the function body,
14974 add new argument `confirm'.
14976 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14978 * textmodes/remember.el (remember-buffer):
14979 * progmodes/cperl-mode.el (cperl-vc-header-alist):
14980 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14981 (icalendar-extract-ical-from-buffer):
14982 * net/newst-treeview.el (newsticker-groups-filename):
14983 * net/newst-backend.el (newsticker-cache-filename):
14984 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14985 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14986 (speedbar-add-ignored-path-regexp, speedbar-line-path)
14987 (speedbar-buffers-line-path, speedbar-path-line)
14988 (speedbar-buffers-line-path):
14989 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14991 * epa.el (epa-display-verify-result):
14992 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14994 2009-08-21 Glenn Morris <rgm@gnu.org>
14996 * progmodes/js.el (inferior-moz-process): Fix declaration.
14998 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15000 * obsolete/rnewspost.el (news-mail-reply):
15001 Use goto-char rather than goto-line.
15003 * term/ns-win.el (ns-open-file-select-line):
15004 Use line-beginning-position rather than goto-line.
15006 * apropos.el (apropos-command):
15007 * ehelp.el (electric-helpify):
15008 * printing.el (pr-show-setup):
15009 * strokes.el (strokes-help):
15010 * tutorial.el (tutorial--describe-nonstandard-key)
15011 (tutorial--detailed-help):
15012 * woman.el (woman-mini-help, woman-display-extended-fonts):
15013 * calc/calc-help.el (calc-describe-key):
15014 * emulation/edt.el (edt-electric-helpify):
15015 * international/mule-diag.el (mule-diag):
15016 * play/yow.el (apropos-zippy):
15017 * progmodes/python.el (python-describe-symbol):
15018 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15019 * textmodes/table.el (*table--cell-describe-mode)
15020 (*table--cell-describe-bindings):
15021 Use help-print-return-message rather than the now obsolete alias.
15023 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15024 (calendar-cursor-to-visible-date):
15025 * play/5x5.el (5x5-position-cursor):
15026 * play/decipher.el (decipher):
15027 * play/gomoku.el (gomoku-goto-xy):
15028 * play/landmark.el (lm-goto-xy):
15029 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15030 (mpuz-paint-digit):
15031 Use forward-line, not goto-line.
15033 * mail/rmail.el (rmail-obsolete): Delete custom group.
15034 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15035 (rmail-remote-password, rmail-remote-password-required):
15036 Remove unneeded :set-after and :set properties.
15038 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15040 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15042 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15044 * loadup.el: Remove leftover macos code.
15046 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15047 Explicitly pass the date format to git blame so that user local
15048 so that the output format can be parsed.
15050 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15052 * net/dbus.el (top): Don't check for (getenv
15053 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15055 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15057 * log-edit.el (log-edit-strip-single-file-name): New var.
15058 (log-edit-insert-changelog): Use it. Bug#3571
15060 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15062 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15065 * help.el (help-print-return-message): Rename from
15066 print-help-return-message.
15068 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15069 cvs-mode-map parent hack.
15070 (log-view-mode): Derive from special-mode.
15072 * linum.el (linum-mode): window-size-change-functions is redundant.
15073 Adapt to new window-configuration-change-hook behavior.
15074 (linum-after-size, linum-after-config): Remove.
15076 * imenu.el (imenu-example--name-and-position)
15077 (imenu-example--lisp-extract-index-name)
15078 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15081 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15082 (inferior-prolog-mode): Use it.
15083 (inferior-prolog-load-file): Reset list of errors.
15085 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15087 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15089 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15091 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15093 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15094 is running already.
15096 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15098 * subr.el (listify-key-sequence-1): Use normal syntax since those
15099 integers are nowadays always represented by the same (positive) number
15101 (read-key-empty-map): New const.
15102 (read-key-delay): New var.
15103 (read-key): New function.
15104 (force-mode-line-update): Use with-current-buffer.
15105 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15106 (start-process-shell-command, start-file-process-shell-command):
15107 Discourage the use of command-args.
15109 2009-08-19 Glenn Morris <rgm@gnu.org>
15111 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15113 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15115 * simple.el (choose-completion-string): Don't rely on
15116 minibuffer-completing-file-name and ad-hoc checks to decide whether
15117 to continue completion or not.
15119 * minibuffer.el (minibuffer-hide-completions): New function.
15120 (completion--do-completion): Use it.
15121 (completions-annotations): New face.
15122 (completion--insert-strings): Use it.
15123 (completion-pcm--delim-wild-regex): Add docstring.
15124 (completion-pcm--string->pattern): Add support for 0-width delimiters
15125 in completion-pcm--delim-wild-regex.
15127 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15129 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15130 Remove unused var `buffer-modified-p'.
15132 * minibuffer.el (completion--do-completion): Move point for the #b001
15133 case as well (bug#4176).
15134 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15136 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15138 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15139 and :session buses.
15141 2009-08-18 Kenichi Handa <handa@m17n.org>
15143 * international/ucs-normalize.el (ucs-normalize-version):
15145 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15146 (utf-8-hfs): Make it perform normalization on encoding too.
15148 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15149 (sentence-end-without-space): Delete duplicated chars.
15150 (sentence-end-base): Likewise.
15152 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
15153 (html-mode): Delete duplicated chars from sentence-end-base.
15155 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
15156 (texinfo-mode): Delete duplicated chars from sentence-end-base.
15158 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
15160 * files.el (hack-one-local-variable): If the mode function is for
15161 a minor mode, pass it an argument (Bug#4148).
15163 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
15165 * net/tramp.el (tramp-register-completion-file-name-handler):
15166 Check also for (member 'partial-completion completion-styles).
15168 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15170 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15173 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
15175 * progmodes/cperl-mode.el: Merge upstream 6.2.
15176 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15177 (cperl-forward-re): Check cperl-brace-recursing.
15178 (cperl-highlight-charclass): New function.
15179 (cperl-find-pods-heres): Use it.
15180 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15181 (cperl-beautify-regexp-piece): Fix column calculation.
15182 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15183 (cperl-beautify-level): Don't process entire regexp.
15184 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15186 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15187 (cperl-init-faces): Build a list in the normal way.
15189 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15191 * calendar/parse-time.el (parse-time-string-chars): Save match
15194 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
15196 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15197 (sql-product): Use it.
15198 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15199 (sql-set-product): Add completion.
15200 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15201 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15202 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15203 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15204 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15205 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15206 (sql-highlight-db2-keywords): Remove.
15207 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15208 (sql-highlight-product): Use derived-mode-p.
15209 (sql-set-sqli-buffer): Use with-current-buffer.
15210 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15213 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15215 * term.el: Fix commenting convention, turn comments into docstrings.
15217 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
15219 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15221 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
15223 * calendar/parse-time.el (parse-time-string-chars): Compute using
15224 character classes, to handle non-ascii characters (Bug#3190).
15226 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15228 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15229 another heredoc if the user adds another < (Bug#3226).
15231 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15232 Don't initialize based on window-system (Bug#4124).
15234 * facemenu.el (facemenu-read-color): Use a completion function
15235 that accepts any defined color, such as RGB triplets (Bug#3677).
15237 * files.el (get-free-disk-space): Change fallback default
15238 directory to /. Expand DIR argument before switching to fallback.
15239 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15241 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15243 * files.el (load-library): Doc fix.
15245 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
15247 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15248 (viper-if-string): Redefine C-s in the minibuffer to insert the last
15249 incremental search string.
15251 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15254 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15255 (ediff-merge-region-is-non-clash)
15256 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15257 Also check if the job is really a merge job.
15259 * ediff.el (ediff-current-file): New function.
15261 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15263 * progmodes/js.el: Edit docstrings throughout to follow Emacs
15265 (js-insert-and-indent): Delete function.
15266 (js-mode-map): Don't bind keys to js-insert-and-indent.
15267 (js-beginning-of-defun): Rename from js--beginning-of-defun.
15268 (js-end-of-defun): Rename from js--end-of-defun.
15269 (js-auto-indent-flag): Delete variable.
15271 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
15273 * progmodes/js.el: Remove proclaim statement.
15274 Defvar which-func-imenu-joiner-function to silence compiler.
15276 * files.el (auto-mode-alist): Use js-mode for .js files.
15278 * progmodes/js2-mode.el: Remove file.
15280 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15282 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15284 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15286 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
15287 Karl Landstrom <karl.landstrom@brgeight.se>
15289 * progmodes/js.el: New file.
15291 2009-08-14 Mark A. Hershberger <mah@everybody.org>
15293 * timezone.el (timezone-parse-date): Add ability to understand ISO
15294 basic format (minimal separators) dates in addition to the
15295 already-supported extended format dates.
15297 2009-08-14 Eli Zaretskii <eliz@gnu.org>
15299 * international/ucs-normalize.el: Add a `coding' file variable.
15301 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15303 2009-08-14 Sam Steingold <sds@gnu.org>
15305 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15307 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
15309 * faces.el (help-argument-name): Define it here instead of
15310 help-fns.el, because in daemon mode help-fns.el may be loaded when
15311 faces are still uninitialized (Bug#1078).
15313 * help-fns.el (help-argument-name): Move defface to faces.el.
15315 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
15317 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15318 create buffer with a pty but no process so that GDB can make the
15319 inferior the controlling process.
15321 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15323 * international/ucs-normalize.el: New file.
15325 2009-08-13 Richard Stallman <rms@gnu.org>
15327 * mail/rmail.el (rmail-get-attr-names):
15328 Accept an attribute header that is too short.
15330 * mail/rmail.el (rmail-forget-messages):
15331 Ignore nil elt in rmail-message-vector. Use dotimes.
15333 * progmodes/compile.el (compilation-goto-locus):
15334 Use next-error-move-function.
15336 * simple.el (next-error-move-function): New variable.
15338 2009-08-12 Juri Linkov <juri@jurta.org>
15340 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15341 always non-nil. (Bug#4052)
15343 * replace.el (read-regexp): Return empty string when
15344 `default-value' is nil.
15345 (keep-lines-read-args): Don't use empty string as the
15346 default value for `read-regexp'. (Bug#2495)
15348 2009-08-12 Juri Linkov <juri@jurta.org>
15350 * international/mule-cmds.el (ucs-insert): Change arguments
15351 from `arg' to `character', `count', `inherit' to be the same
15352 as in `insert-char'. Doc fix. (Bug#4039)
15354 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15356 2009-08-12 Juri Linkov <juri@jurta.org>
15358 * files-x.el: New file.
15360 * files.el: Move code that deals with adding/deleting
15361 file/directory-local variables to files-x.el.
15363 * Makefile.in (ELCFILES): Add files-x.elc.
15365 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15367 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15368 to use `goto-line'.
15369 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15371 (gdb-invalidate-disassembly): Do not refresh upon receiving
15372 'update signal. Instead, update all disassembly buffers only after
15374 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15375 (gdb-starting): Moved -data-list-register-names...
15376 (gdb-stopped): ...here so it's sent when first thread stops.
15377 (gdb-registers-handler-custom): Do nothing if register names are
15380 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15381 from `gdb-mi.el' to avoid extra tangling.
15383 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15384 change which breaks `gud-def' definitions used in `gdb'.
15385 (gdb-update-gud-running): No extra fuss for updating frame number.
15387 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15389 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15390 (describe-language-environment-map, setup-language-environment-map)
15391 (set-coding-system-map): Move initialization into declaration.
15392 (set-language-info-alist): Last arg to define-key-after can be skipped.
15394 * international/quail.el (quail-completion-1): Simplify.
15395 (quail-define-rules): Use slightly more compact code.
15396 (quail-insert-decode-map): Propertize keys, compact columns.
15398 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15401 2009-08-10 Miles Bader <miles@gnu.org>
15403 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15404 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15405 (js2-instance-member, js2-private-member, js2-private-function-call)
15406 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15407 (js2-magic-paren, js2-external-variable):
15408 Remove "-face" suffix from face names.
15409 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15410 (js2-highlight-undeclared-vars, js2-peek-token)
15411 (js2-parse-function-params, js2-mode-show-errors)
15412 (js2-mode-show-warnings, js2-make-magic-delimiter)
15413 (js2-mode-highlight-magic-parens): Update to use new face names.
15415 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15417 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15418 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15420 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15422 * subr.el: Provide hashtable-print-readable.
15424 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15425 hs-c-like-adjust-block-beginning.
15426 (hs-hide-block-at-point): Stop hiding at the beginning of
15427 hs-block-end-regexp (Bug#700).
15429 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15431 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15433 (gdb-registers-handler-custom): Do not fail when register names
15436 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15438 * progmodes/gdb-mi.el (gdb-control-all-threads)
15439 (gdb-control-current-thread): Interactive setters for
15440 `gdb-gud-control-all-threads' to use in menu.
15441 (gdb-show-run-p): Show «Go» when process is not active.
15442 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15443 gud/thread.xpm and gud/all.xpm.
15445 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15447 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15448 (nslookup-font-lock-keywords): Make it a variable.
15449 (net-utils-mode): New mode for viewing diagnostic network output.
15450 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15451 (net-utils-run-simple): New function.
15452 (ifconfig, iwconfig, netstat, arp, route): Use it.
15454 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15456 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15457 (gdb-memory-set-address, def-gdb-set-positive-number)
15458 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15459 after changing settings.
15460 (gdb-invalidate-disassembly): Update when first shown.
15461 (gdb-edit-locals-value): Fixed.
15462 (gdb-registers-handler-custom): Print registers in right order and
15463 allow changing register values (only for current thread yet).
15464 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15465 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15466 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15467 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15469 (gdb-registers-mode-map): TAB to switch to locals.
15471 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15473 * mail/rmail.el (rmail-add-mbox-headers)
15474 (rmail-set-message-counters-counter): Search for
15475 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15477 2009-08-08 Glenn Morris <rgm@gnu.org>
15479 * Makefile.in (ELCFILES): Update.
15481 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15483 * mail/sendmail.el (mail-yank-original): Set
15484 buffer-file-coding-system from the one used by the message whose
15487 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15488 to "windows" when "pgnuplot" is used.
15489 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15490 call accept-process-output if "pgnuplot" is used.
15491 (calc-graph-init): Don't send -display and -geometry to
15492 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15493 running "pgnuplot -V" with shell-command-to-string.
15495 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15498 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15500 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15503 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15505 * vc-dispatcher.el (vc-resynch-window): Update comment.
15507 * term.el (term-handle-ansi-escape): Add comments with the
15508 terminfo capabilities implemented.
15510 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15512 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15513 (gdb-var-create-handler): Rewritten using JSON parser.
15514 (gdb-propertize-header): Moved earlier.
15515 (gdb-set-header): Removed to avoid duplication.
15516 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15517 Refresh disassembly buffers only after threads list have been
15519 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15522 2009-08-04 Juri Linkov <juri@jurta.org>
15524 * files.el: Commands to add/delete file/directory-local variables.
15525 (read-file-local-variable, read-file-local-variable-value)
15526 (read-file-local-variable-mode, modify-file-local-variable)
15527 (modify-file-local-variable-prop-line)
15528 (modify-dir-local-variable): New functions.
15529 (add-file-local-variable, delete-file-local-variable)
15530 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15531 (add-dir-local-variable, delete-dir-local-variable)
15532 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15533 (copy-dir-locals-to-file-locals-prop-line): New commands.
15535 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15537 * abbrev.el (insert-abbrev-table-description): Prettify output.
15538 Suggested by Karl Chen.
15540 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15542 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15543 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15544 (gdb-overlay-arrow-position, gdb-thread-position)
15545 (gdb-disassembly-position): Declare variables.
15546 (gdb-wait-for-pending): Function now.
15547 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15548 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15549 compilation goes smoothly.
15550 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15551 (gdb-non-stop-setting): New customization setting which replaces
15552 `gdb-non-stop' so changing it doesn't break active GDB session.
15553 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15554 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15555 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15556 (gdb-show-threads-by-default): New customization options.
15557 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15559 (gdb-get-buffer-create): Send buffers update signal when they are
15561 (gdb-invalidate-locals, gdb-invalidate-registers)
15562 (gdb-invalidate-breakpoints)
15563 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15564 (gdb-invalidate-memory): Accept update signal.
15565 (gdb-current-context-command): Use --frame option.
15566 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15567 Implement `gdb-frame-number' selection logic.
15568 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15569 whether to show GUD toolbar buttons.
15570 (gdb-thread-exited): Unselect current thread when it exits.
15571 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15572 (gdb-mark-line): Routine which sets overlay arrow or inverses
15573 video on fringeless displays.
15574 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15575 to build aligned columns of data in GDB buffers and set text
15576 properties line-by-line.
15577 (gdb-invalidate-breakpoints)
15578 (gdb-breakpoints-list-handler-custom)
15579 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15580 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15581 (gdb-registers-handler-custom): Align data columns.
15582 (gdb-locals-handler-custom): Now prints data like in variable
15584 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15585 Removed confusing buttons.
15586 (gdb-invalidate-threads): Append --frame.
15587 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15588 between breakpoints/threads buffers.
15589 (gdb-set-window-buffer): Now can ignore dedicated windows.
15590 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15591 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15592 (def-gdb-thread-buffer-gud-command): Replaces
15593 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15594 for fine thread control.
15595 (gdb-preempt-existing-or-display-buffer): New function used to
15596 display bound buffers without breaking window layout.
15597 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15598 (gdb-select-frame): New version of `gdb-frames-select' which now
15599 sets `gdb-frame-number' so commands may use --frame option instead
15600 of inner debugger state.
15601 (gdb-frame-handler): Do not set `gdb-frame-number'.
15602 (gdb-threads-mode-map): Select threads with mouse.
15604 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15605 avoid compilation warning.
15606 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15609 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15610 Argument `key' renamed to `buffer-type'.
15611 (gdb-current-context-buffer-name): Do not add thread info to
15612 buffer name when no thread is selected.
15613 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15614 command (bug 3794).
15615 (gdb-thread-selected): Handle `=thread-selected' notification.
15616 (gdb-wait-for-pending): New macro to deal with congestion problems.
15617 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15619 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15620 This fixes problem similar to one described in bug 3947.
15621 (gud-menu-map): More menu items.
15622 (gdb-init-1): Reset `gdb-thread-number' to nil.
15624 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15627 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15628 (gdb-current-context-command): Do not append --thread if
15629 `gdb-thread-number' is nil.
15630 (gdb-running-threads-count, gdb-stopped-threads-count): New
15632 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15633 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15634 customization options.
15635 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15637 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15638 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15639 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15640 set `gdb-thread-number' and update `gud-running' properly.
15641 (gdb-running): Update threads list when new threads appear.
15642 (gdb-stopped): Support non-stop operation and new thread switching
15644 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15645 (gdb-json-partial-output): New set of JSON routines.
15646 (def-gdb-auto-update-trigger): New `signal-list' optional
15648 (gdb-thread-list-handler-custom): Update `gud-running',
15649 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15650 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15651 (gdb-continue-thread, gdb-step-thread): New commands for fine
15652 thread execution control.
15653 (gud-menu-map): New menu items to switch non-stop options.
15654 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15655 (gdb-send): Mimic RET properly (bug 3794).
15657 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15658 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15660 (def-gdb-auto-update-handler): New nopreserve optional argument.
15661 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15663 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15664 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15665 (gdb-parent-mode): New mode to derive other GDB modes from.
15666 (gdb-display-disassembly-for-thread)
15667 (gdb-frame-disassembly-for-thread): New commands for threads
15670 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15671 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15672 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15673 (gdb-update): We now store all GDB buffers in a list so that they
15674 can be updated by traversing a list instead of calling invalidate
15675 triggers explicitly.
15676 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15677 pair for GDB buffer.
15678 (gdb-stack-buffer-name): Add thread information.
15679 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15680 handle pending triggers.
15681 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15682 (def-gdb-thread-buffer-simple-command)
15683 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15684 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15685 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15686 New commands which show buffers bound to thread.
15687 (gdb-stack-list-locals-regexp): Removed unused regexp.
15689 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15690 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15691 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15692 to (gud-comint-buffer) in *-buffer-name functions
15693 because (gdb-get-target-string) already does that.
15694 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15695 (gdb-changed-registers-handler): Rewritten without regexps.
15697 * progmodes/gdb-mi.el: Basic thread selection support.
15698 (gdb-thread-number): New variable.
15699 (gdb-current-context-command): New macro which adds --thread
15701 (gdb-threads-mode-map): Select thread with SPC.
15702 (gdb-thread-list-handler-custom): Mark current thread with overlay
15703 arrow. Synchronize GDB thread and Emacs thread.
15704 (gdb-select-thread): New command which selects current thread.
15705 (gdb-invalidate-frames, gdb-invalidate-locals)
15706 (gdb-invalidate-registers): Use --thread option.
15708 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15710 * net/tramp.el (top): Make check for tramp-gvfs loading more
15712 (tramp-handle-insert-file-contents): `unwind-protect' must be
15713 inside `with-parsed-tramp-file-name'.
15715 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15718 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15720 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15721 directory if CLASSPATH is not set.
15723 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15725 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15727 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15729 2009-08-02 Kevin Ryde <user42@zip.com.au>
15731 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15732 Update freshmeat link. Delete newsforge.com as it seems gone.
15734 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15736 * select.el (x-set-selection): Doc fix (Bug#4021).
15738 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15740 * help-fns.el (describe-variable): Treat list return values from
15741 dir-locals-find-file properly (Bug#4005).
15743 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15745 * net/tramp.el (tramp-debug-message): Print also microseconds.
15747 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15749 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15751 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15752 (tramp-get-debug-buffer): Change `outline-regexp' according to new
15755 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15756 (tramp-get-file-property): Use it.
15758 * autorevert.el (auto-revert-handler): Allow
15759 `auto-revert-tail-mode' for remote files.
15761 2009-08-02 Jason Rumney <jasonr@gnu.org>
15763 * minibuffer.el (read-file-name): Treat confirm options to
15764 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
15766 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15768 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15769 (font-lock-variable-name-face, font-lock-constant-face): Darken
15770 the colors for light backgrounds.
15772 2009-08-01 Eli Zaretskii <eliz@gnu.org>
15774 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15775 month names. (Bug#3987)
15777 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
15779 * simple.el (line-move-finish): Pass whole number to
15780 line-move-to-column.
15781 (line-move-visual): Perform hscroll to the recorded position.
15783 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
15785 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15787 2009-07-29 Alan Mackenzie <acm@muc.de>
15789 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15791 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
15793 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15794 (gdb-place-breakpoints): Use full path when setting breakpoints.
15796 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
15798 * calc/calc.el (calc-mode-map): Add keybinding for
15799 `calc-transpose-lines'.
15801 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
15803 * calc/calc-misc.el (calc-transpose-lines): New function.
15805 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
15807 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15808 Simplify check for out-of-band methods.
15809 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15810 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
15812 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
15814 * vc-git.el (vc-git-checkin): Fix typo.
15816 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
15818 * progmodes/js2-mode.el: New file.
15820 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
15822 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15823 (gud-menu-map): Adjust tooltip accordingly.
15825 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
15827 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15828 (vc-bzr-log-view-mode): Adjust log-view-file-re.
15830 * add-log.el (change-log-mode-map): Add a menu.
15832 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
15834 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15835 function returns nil.
15836 (dbus-handle-event): Handle special return value :ignore.
15837 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15839 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
15841 * view.el (view-mode-enable): Don't define Helper-return-blurb if
15844 2009-07-25 Eli Zaretskii <eliz@gnu.org>
15848 * w32-vars.el (x-select-enable-clipboard): Doc fix.
15850 * term/pc-win.el (x-display-name, x-colors)
15851 (x-select-enable-clipboard, x-select-text): Doc fix.
15853 * term/common-win.el (x-display-name, x-colors): Doc fix.
15855 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15856 (xw-defined-colors): Doc fix.
15858 * w32-fns.el (x-select-text, x-setup-function-keys)
15859 (x-get-selection, x-set-selection): Doc fix.
15861 * term/x-win.el (x-select-text, x-setup-function-keys)
15862 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15864 * select.el (x-set-selection): Doc fix.
15866 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
15868 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15869 instead of "IsNSSSupportAvailable". Avahi ought to work also when
15870 "IsNSSSupportAvailable" method is not available. Reported by
15871 Steve Youngs <steve@sxemacs.org>.
15873 2009-07-24 Kenichi Handa <handa@m17n.org>
15875 * international/characters.el: Fix setting of category ?C, ?|, ?K,
15876 and ?H. Fix setting of case for Latin Extended and Greek Extended.
15877 (build-unicode-category-table): Fix range checks.
15879 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
15881 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15882 the buffer we try to sync is current when calling
15885 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15886 not show up to date files.
15888 2009-07-24 Glenn Morris <rgm@gnu.org>
15890 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15891 Add autoload cookies. If necessary, initialize.
15892 (elint-log): Handle non-file buffers.
15893 (elint-initialize): Add optional argument to reinitialize.
15894 (elint-find-builtin-variables): Save excursion.
15896 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
15898 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15901 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
15903 * vc.el (vc-print-log-internal): New function, split out from ...
15904 (vc-print-log): ... here.
15905 (vc-dir-move-to-goal-column): Declare.
15907 * vc-git.el (vc-git-add-signoff): New variable.
15908 (vc-git-checkin): Use it.
15909 (vc-git-toggle-signoff): New function.
15910 (vc-git-extra-menu-map): Bind it to menu.
15911 (vc-git--run-command-string): Accept a nil FILE argument.
15912 (vc-git-stash-list): New function.
15913 (vc-git-dir-extra-headers): Use it.
15915 2009-07-23 Glenn Morris <rgm@gnu.org>
15917 * help-fns.el (describe-variable): Describe ignored and risky local
15918 variables in a similar way to that in which we describe safe ones.
15920 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15921 (byte-compile-output-file-form, byte-compile-output-docform)
15922 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15923 Give some more local variables with common names a "bytecomp-" prefix,
15924 so as not to shadow things during compilation.
15925 * emacs-lisp/cl-macs.el (load-time-value)
15926 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15927 `outbuffer' to `bytecomp-outbuffer'.
15929 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15930 since the next two variables cover them automatically now.
15931 (elint-builtin-variables, elint-autoloaded-variables): New.
15932 (elint-unknown-builtin-args): Remove all members, since they can be
15933 parsed automatically now.
15934 (elint-extra-errors): New.
15935 (elint-env-add-env, elint-env-add-macro): Use cadr.
15936 (elint-current-buffer): Use or. Change final message.
15937 (elint-get-top-forms): Use line-end-position.
15938 (elint-init-env): Use cadr. Handle autoload, declare-function,
15940 (elint-add-required-env): Doc fix. Use or. Standardize error.
15941 (regexp-assoc): Remove unused function.
15942 (elint-top-form): Set elint-current-pos, to record the start of the
15943 top-level form, for compilation-mode.
15944 (elint-form): Trap errors in macro expansion. Use dolist.
15945 (elint-unbound-variable): Use elint-builtin-variables and
15946 elint-autoloaded-variables.
15947 (elint-get-args): Use cadr, or.
15948 (elint-check-cond-form): Use dolist, cadr.
15949 (elint-check-condition-case-form): Doc fix. Use cadr.
15950 Use elint-extra-errors.
15951 (elint-log): New function.
15952 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15953 Distinguish errors and warnings.
15954 (elint-log-message): Use with-current-buffer. Inhibit read-only.
15955 Use a bytecomp-style format.
15956 (elint-clear-log): Preserve default-directory. Inhibit read-only.
15957 (elint-get-log-buffer): Use compilation mode. Disable undo.
15958 Don't truncate lines.
15959 (elint-initialize): Set builtin and autoloaded variable lists.
15960 Only process elint-unknown-builtin-args if non-nil.
15961 (elint-find-builtin-variables, elint-find-autoloaded-variables):
15963 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
15965 2009-07-22 Kevin Ryde <user42@zip.com.au>
15967 * net/newst-backend.el (newsticker--parse-atom-1.0)
15968 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15969 (newsticker--parse-rss-1.0):
15970 * progmodes/idlwave.el (idlwave-mode):
15971 * progmodes/idlw-shell.el (idlwave-shell-mode):
15972 * progmodes/vera-mode.el (vera-mode):
15973 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15974 * progmodes/vhdl-mode.el (vhdl-mode):
15975 * textmodes/table.el (table-generate-source)
15976 (table--warn-incompatibility):
15977 Hyperlink urls in docstrings with URL `...'.
15979 2009-07-22 Glenn Morris <rgm@gnu.org>
15981 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15982 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15983 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15984 Remove leading * from defcustom docs.
15986 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
15988 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15990 (list-load-path-shadows): Optionally, just return shadows as a string.
15992 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15994 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
15996 * mail/rmailedit.el (rmail-edit-mode): Use
15997 auto-save-include-big-deletions.
15999 * mail/rmail.el (rmail-variables): Use
16000 auto-save-include-big-deletions.
16002 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16005 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16007 * calc/calc.el (calc-undo-length): New variable.
16008 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16010 2009-07-21 Richard Stallman <rms@gnu.org>
16012 * files.el (auto-save-mode): Handle buffer-save-size = -2
16015 2009-07-21 Glenn Morris <rgm@gnu.org>
16017 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16019 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16021 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16022 silence compiler. Instead...
16023 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16024 (ps-print-ensure-fontified): Update for above function name changes.
16026 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16027 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16028 silence compiler. Instead...
16029 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16030 (mh-show-buffer): Only define for compiler.
16031 (pr-mh-current-message): Update for above function name changes.
16033 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16035 (find-file-noselect, insert-file-1): Update for above change.
16037 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16039 * mail/mailclient.el (mailclient-send-it): Fix message.
16041 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16042 (edebug-eval): Check cl-debug-env is bound.
16043 (print-level, print-circle): Don't redefine built-in variables.
16045 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16046 (custom-print-vectors): Remove old comments from doc.
16048 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16049 (emerge-version): Make the variable an obsolete alias for the
16050 emacs-version variable. Make the function obsolete.
16051 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16052 Emerge options, rather than merging in into the main Options menu.
16053 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16054 and auto advance modes. Disable edit/fast items when not relevant.
16056 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16058 * term/vt420.el (terminal-init-vt420): Fix typo.
16060 2009-07-20 Sam Steingold <sds@gnu.org>
16062 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16063 variable (removed from compile.el on 2004-03-11).
16065 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16067 * files.el (hack-local-variables-filter): Fix last change.
16069 2009-07-19 Juri Linkov <juri@jurta.org>
16071 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16072 (dir-local-variables-alist): New buffer-local variable.
16073 (hack-local-variables-filter): If variable is not dir-local,
16074 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16075 because file-local overrides dir-local.
16076 (c-postprocess-file-styles) <declare-function>:
16077 Remove obsolete declaration.
16078 (hack-dir-local-variables): Add dir-local variable/value pair to
16079 `dir-local-variables-alist' and remove duplicates. Doc fix.
16081 * help-fns.el (describe-variable): Add information about
16082 file-local and dir-local variables.
16084 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16086 * files.el (hack-local-variables-filter): Rewrite.
16088 2009-07-19 Glenn Morris <rgm@gnu.org>
16090 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16091 Silence compiler by only defining on XEmacs.
16093 * international/mule.el (auto-coding-regexp-alist): Only match
16094 BABYL... at the start of buffer, not of lines. (Bug#3790)
16096 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16097 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16098 (cal-menu-context-mouse-menu): Doc fix.
16100 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16102 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16104 2009-07-18 Juri Linkov <juri@jurta.org>
16106 * info.el: Virtual Info keyword finder.
16107 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16108 (Info-finder-file): New variable.
16109 (Info-finder-find-file): New function.
16110 (finder-known-keywords, finder-package-info)
16111 (find-library-name, lm-commentary): Use defvar and
16112 declare-function to silence compiler warnings.
16113 (Info-finder-find-node): New function.
16114 (info-finder): New command.
16116 * subr.el (process-kill-buffer-query-function): New function.
16117 (add-hook)<kill-buffer-query-functions>: Add hook
16118 `process-kill-buffer-query-function'.
16120 2009-07-18 Alan Mackenzie <acm@muc.de>
16122 * progmodes/cc-mode.el (c-before-hack-hook)
16123 (c-postprocess-file-styles): Give invocation of `c-set-style'
16124 DONT-OVERRIDE parameter of t. Already set style variables will
16125 thus not be overridden by style settings given by `c-file-syle'.
16127 * files.el (hack-local-variables-filter): Remove entries with
16128 duplicate keys from `file-local-variables-alist'.
16130 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16132 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16133 x-set-selection if display-selections-p returns nil for the
16136 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16138 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16140 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16142 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16143 Accept nil in addition to a regexp.
16144 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16145 Accept nil in addition to a regexp.
16146 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16147 buffers that have an associated file. Handle nil values of
16148 desktop-buffers-not-to-save and desktop-files-not-to-save.
16151 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16152 (x-disown-selection-internal): New functions.
16154 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
16156 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16158 (gdb-breakpoints-header): Move forward to avoid compiler warning.
16159 (gdb-make-header-line-mouse-map): Remove duplicate definition.
16161 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
16163 * simple.el (set-mark): Revert last change.
16165 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
16167 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16168 rendering of pngs is not possible instead of messaging a long
16171 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
16173 * w32-fns.el (x-selection-owner-p): New function.
16175 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16176 (mouse-yank-at-click, mouse-yank-primary): If
16177 select-active-regions is non-nil, deactivate the mark before
16180 * simple.el (deactivate-mark, set-mark): Only save selection if we
16183 2009-07-17 Kenichi Handa <handa@m17n.org>
16185 * case-table.el (describe-buffer-case-table): Fix for the case
16186 that KEY is a cons.
16188 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
16190 * vc-rcs.el (vc-rcs-find-file-hook):
16191 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16193 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
16195 * net/tramp.el (tramp-wait-for-output): Handle the case when
16196 commands do not return a newline but a null byte before the shell
16199 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16201 * term/ns-win.el (ns-set-alpha): Don't declare.
16202 (ns-set-background-alpha): Remove function.
16204 2009-07-16 Kevin Ryde <user42@zip.com.au>
16206 * emacs-lisp/copyright.el (copyright-update): Save match-data across
16207 y-or-n-p, for safety.
16209 2009-07-16 Richard Stallman <rms@gnu.org>
16211 * files.el (auto-save-mode): If buffer-saved-size is -2,
16214 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16215 (rmail-retry-ignored-headers): Add more uninteresting fields.
16217 2009-07-15 Jari Aalto <jari.aalto@cante.net>
16219 * net/rcirc.el (rcirc): Use history variables.
16220 (rcirc-server-name-history, rcirc-nick-name-history)
16221 (rcirc-server-port-history): New variables.
16223 2009-07-15 Kenichi Handa <handa@m17n.org>
16225 * international/mule-cmds.el (set-language-environment-charset):
16226 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16229 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16230 Delete unibyte-display.
16232 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16234 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16236 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16238 * simple.el (deactivate-mark): Optional argument FORCE.
16239 (set-mark): Use deactivate-mark.
16241 * info.el (Info-search): No need to check transient-mark-mode
16242 before calling deactivate-mark.
16244 * select.el (x-set-selection): Doc fix.
16245 (x-valid-simple-selection-p): Allow buffer values.
16246 (xselect--selection-bounds): Handle buffer values. Suggested by
16247 David De La Harpe Golden.
16249 * mouse.el (mouse-set-region, mouse-drag-track): Call
16250 copy-region-as-kill before setting the mark, to let
16251 select-active-regions work.
16253 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
16255 * simple.el (deactivate-mark): If select-active-regions is
16256 non-nil, copy the selection data into a string.
16257 (activate-mark): If select-active-regions is non-nil, set the
16258 selection to the current buffer.
16259 (set-mark): Update selection if select-active-regions is non-nil.
16261 * select.el (x-valid-simple-selection-p): Allow buffer values.
16263 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
16265 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16266 and more featureful message-mode.
16268 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
16270 * select.el (x-set-selection): Doc fix.
16271 (x-valid-simple-selection-p): Disallow selection data consisting
16272 of a list or cons of integers, since that is not used.
16273 (xselect--selection-bounds, xselect--int-to-cons): New functions.
16274 (xselect-convert-to-string, xselect-convert-to-length)
16275 (xselect-convert-to-filename, xselect-convert-to-charpos)
16276 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16278 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
16280 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16281 output in -break-info command (Emacs bug #3794).
16283 2009-07-14 Glenn Morris <rgm@gnu.org>
16285 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16286 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16287 (edebug-print-length, edebug-print-level, edebug-print-circle)
16288 (edebug-sit-for-seconds, edebug-view-outside)
16289 (edebug-bounce-point, edebug-set-global-break-condition)
16290 (edebug-Go-nonstop-mode, edebug-trace-mode)
16291 (edebug-Trace-fast-mode, edebug-continue-mode)
16292 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16293 (edebug-visit-eval-list): Doc fixes.
16295 * subr.el (def-edebug-spec): Doc fix.
16297 2009-07-14 Kenichi Handa <handa@m17n.org>
16299 * international/characters.el: Fix setting of category ?C.
16301 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
16303 * term/ns-win.el (x-select-font): defalias x-select-font to
16304 ns-popup-font-panel instead of generate-fontset-menu.
16306 2009-07-12 Eli Zaretskii <eliz@gnu.org>
16308 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
16310 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
16312 * arc-mode.el (archive-find-type): Allow for a PK00 string before
16313 the PK\003\004 header (Bug#3770).
16315 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
16317 * pcomplete.el (pcomplete-comint-setup): Check for
16318 shell-dynamic-complete-filename too.
16320 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16322 * simple.el (temporary-goal-column): Change the value for
16323 line-move-visual to a cons cell.
16324 (line-move-visual): Record or set the window hscroll, if
16325 necessary (Bug#3494).
16326 (line-move-1): Handle cons value of temporary-goal-column.
16328 2009-07-11 Kenichi Handa <handa@m17n.org>
16330 * international/mule-diag.el (describe-character-set): Don't show
16333 2009-07-10 Sam Steingold <sds@gnu.org>
16335 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16336 Omake sometimes indents the errors it prints, so allow all
16337 regexps to start with spaces.
16339 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16341 * cus-edit.el (customize-changed-options-previous-release):
16342 Bump value to 22.1. (Bug#3804)
16344 2009-07-08 Sam Steingold <sds@gnu.org>
16346 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16347 to be a cons cell (test . ignored-directory) to selectively ignore
16348 some directories depending on the location of the search.
16350 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16352 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16353 remote user is root, on the local host.
16354 (tramp-local-host-p): Either the local user or the remote user
16355 must be root. (Bug#3771)
16357 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16359 * progmodes/gdb-mi.el (gdb): Remove description of
16360 gdb-use-separate-io-buffer.
16361 (menu): Don't allow toggling of or enable
16362 gdb-use-separate-io-buffer from menubar.
16364 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16366 * mail/unrmail.el (unrmail): Make sure the message ends with two
16367 newlines (Bug#3769).
16369 2009-07-08 Glenn Morris <rgm@gnu.org>
16371 * calendar/calendar.el (calendar-current-date): Rework previous change.
16373 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16375 * calendar/calendar.el (calendar-current-date):
16376 Add an optional argument giving an offset from today.
16378 2009-07-08 Glenn Morris <rgm@gnu.org>
16380 * tutorial.el (tutorial--describe-nonstandard-key):
16381 Adjust the message for when a key has been unbound.
16382 (help-with-tutorial): Hide the arch-tag.
16384 2009-07-08 Kenichi Handa <handa@m17n.org>
16386 * international/fontset.el (setup-default-fontset): For each
16387 script, append (not set) font-specs.
16389 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16392 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16394 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16395 -data-list-register-names to ...
16396 (gdb-starting): ... here because GDB 7.0 requires execution to
16397 have started when using this MI command.
16398 (gdb-set-header): New function to distinguish select and
16399 unselected tabs in gdb buffers.
16400 (gdb-propertize-header): New macro that uses gdb-set-header.
16401 (gdb-breakpoints-header, gdb-locals-header): Use it.
16402 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16404 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16406 * Makefile.in (ELCFILES): Remove fadr.elc.
16408 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16410 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16411 may contain frame information, so `string-match' should be used.
16412 (gdb-update): Disassembly is invalidated through
16413 `gdb-get-selected-frame'.
16414 (gdb-pad-string): New function to pad string with spaces.
16415 (gdb-invalidate-disassembly): Invalidate only if the buffer
16417 (gdb-disassembly-handler-custom): Column alignment.
16418 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16420 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16422 (gdb-frame-handler): Match convention to for disassembly buffer
16424 (gdb-stack-list-frames-handler): Rewritten without regexps.
16425 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16426 not highlight breakpoints without line information.
16427 (gdb-input): Add trailing newline to command.
16429 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16431 (gdb-breakpoints-list-handler-custom): Replacement for
16432 `gdb-break-list-handler'. Using real parser instead of regexps
16434 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16435 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16436 to place breakpoints.
16437 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16439 (gdb-disassembly-handler-custom): Show overlay arrow.
16440 (gdb-disassembly-place-breakpoints): Show breakpoints in
16441 disassembly buffer.
16442 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16443 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16444 instead of parsing breakpoints buffer. Fixed old menu references
16449 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16450 (gdb-memory-address): New variable which holds top address of
16451 memory page shown in memory buffer.
16452 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16453 customization variables.
16455 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16456 display the memory buffer.
16457 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16458 buffer display parameters.
16459 (def-gdb-memory-format, gdb-memory-format-binary)
16460 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16461 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16462 Functions for setting memory buffer format.
16463 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16464 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16465 unit size used in memory buffer.
16466 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16467 to next/previous page of memory buffer.
16468 Now using (bindat-get-field) instead of fadr functions.
16470 2009-07-07 Sam Steingold <sds@gnu.org>
16472 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16473 non-top-level files.
16475 2009-07-07 Kenichi Handa <handa@m17n.org>
16477 * international/mule-cmds.el (reset-language-environment): Put
16478 the highset priority to the charset iso-8859-1.
16480 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16482 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16483 to the end of the line when locating the block (Bug#700).
16485 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16487 * net/tramp.el (tramp-handle-write-region): Flush file properties
16488 in case of short track.
16490 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16492 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16493 Coded custom representation of verilog error regular expressions
16494 to work with Emacs-22's new format.
16495 (verilog-error-regexp-xemacs-alist): Coded custom representation
16496 of verilog error regular expressions to work with XEmacs format.
16497 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16498 error recognition into XEmacs.
16499 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16500 error recognition into Emacs-22.
16502 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16504 * woman.el: Remove stand-alone closing parentheses.
16505 (woman-file-name, woman2-format-paragraphs)
16506 (woman-leave-blank-lines): Code cleanup.
16507 (woman-use-own-frame): Change default to nil.
16508 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16509 defaults to inherit from default faces.
16510 (woman2-process-escapes): Consume the newline after a stand-alone
16511 filler character (Bug#3651).
16513 2009-07-06 Glenn Morris <rgm@gnu.org>
16515 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16516 (top-level): Move provide to the end.
16517 (ffap): Remove defunct URL from custom group.
16519 * subr.el (eval-after-load): Doc fix.
16521 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16523 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16524 `calc-embedded-word' is called twice.
16526 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16528 * files.el (find-alternate-file-other-window, find-alternate-file):
16529 Obey confirm-nonexistent-file-or-buffer.
16531 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16533 * dired-aux.el (dired-show-file-type): Handle remote files.
16535 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16537 * desktop.el (desktop-globals-to-save):
16538 Add file-name-history (Bug#2750).
16540 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16542 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16544 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16546 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16547 property on entire argument since this is what eshell-lisp-command
16550 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16552 * net/tramp-gvfs.el (tramp-gvfs-methods)
16553 (tramp-gvfs-zeroconf-domain)
16554 (tramp-bluez-discover-devices-timeout): Add version flag.
16555 (tramp-gvfs-handler-mounted-unmounted)
16556 (tramp-gvfs-connection-mounted-p): Polish handling of
16557 incompatibilities between GVFS 0.2 and 1.0.
16559 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16561 * cus-start.el (all): Add make-pointer-invisible.
16563 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16565 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16566 formatted correctly.
16568 2009-07-02 Juri Linkov <juri@jurta.org>
16570 * info.el: Virtual Info files and nodes.
16571 (Info-virtual-files, Info-virtual-nodes): New variables.
16572 (Info-current-node-virtual): New variable.
16573 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16575 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16576 to check for a virtual file instead of checking a fixed list
16578 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16579 instead of ad-hoc processing of "dir" and (apropos history toc).
16580 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16581 instead of ad-hoc processing of "dir" and (apropos history toc).
16582 Reread a file when moving from a virtual node.
16583 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16584 (Info-directory-toc-nodes, Info-directory-find-file)
16585 (Info-directory-find-node): New functions.
16586 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16587 (Info-history): Move part of code to
16588 `Info-history-find-node'.
16589 (Info-history-toc-nodes, Info-history-find-file)
16590 (Info-history-find-node): New functions.
16591 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16592 (Info-toc): Move part of code to `Info-toc-find-node'.
16593 (Info-toc-find-node): New function.
16594 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16595 the current Info file name to references because now the node
16596 "*TOC*" belongs to the same Info manual.
16597 (Info-toc-build): Rename from `Info-build-toc'.
16598 (Info-toc-nodes): Rename input argument `file' to `filename'.
16599 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16600 instead of ad-hoc processing of ("dir" apropos history toc).
16601 (Info-index-nodes): Use Info-virtual-file-p
16602 to check for a virtual file instead of checking a fixed list
16604 (Info-index-node): Add check for `Info-current-node-virtual'.
16605 Raise `save-match-data' higher up the tree to contain
16606 `search-forward' too (bug fix).
16607 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16608 (Info-virtual-index-nodes): New variable.
16609 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16610 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16611 (Info-apropos-file, Info-apropos-nodes): New variables.
16612 (Info-apropos-toc-nodes, Info-apropos-find-file)
16613 (Info-apropos-find-node, Info-apropos-matches): New functions.
16614 (info-apropos): Move part of code to `Info-apropos-find-node' and
16615 `Info-apropos-matches'.
16616 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16617 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16618 for a virtual file instead of checking a fixed list of node names.
16620 * simple.el (async-shell-command): New command.
16622 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16624 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16625 instead of `mount-info'.
16627 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16629 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16630 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16632 2009-07-02 Kenichi Handa <handa@m17n.org>
16634 * international/mule.el (set-keyboard-coding-system): Force *-unix
16635 coding-system to avoid eol conversion.
16637 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16639 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16640 Add handler for `process-file', `shell-command' and
16641 `start-file-process'.
16642 (tramp-gvfs-handle-shell-command)
16643 (tramp-gvfs-handle-start-file-process)
16644 (tramp-gvfs-handle-process-file): New defuns.
16645 (tramp-synce-list-devices): Simplify check for existence of property.
16647 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16649 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16651 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16653 * language/korean.el (set-language-info-alist): Add korean-cp949,
16656 2009-07-01 Kenichi Handa <handa@m17n.org>
16658 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16660 * international/encoded-kb.el: Deleted.
16662 * international/mule.el (set-keyboard-coding-system): Perform the
16663 necessary setup here instead of calling encoded-kbd-setup-display.
16665 2009-07-01 Glenn Morris <rgm@gnu.org>
16667 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16669 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16671 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16673 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16675 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16676 Handle also the 'rename case, when setting file modes. (Bug#3712)
16677 (tramp-default-file-modes): Remove execute permissions.
16679 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16680 (top): Add a default for "synce" in `tramp-default-user-alist'.
16681 Add completion function for "synce" method.
16682 (tramp-hal-service, tramp-hal-path-manager)
16683 (tramp-hal-interface-manager, tramp-hal-interface-device):
16685 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16686 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16689 * net/trampver.el: Update release number.
16691 2009-06-30 Kenichi Handa <handa@m17n.org>
16693 * international/fontset.el (setup-default-fontset): Add CJK fonts
16694 for symbols and the other miscellaneous characters.
16696 * language/korea-util.el (setup-korean-environment-internal):
16697 Make char-width-table suitable for Korean environments.
16698 (exit-korean-environment): Cancel above.
16700 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16701 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16702 setup-function to make char-width-table suitable for respective
16703 environments, and an exit-function to cancel that.
16705 * language/japan-util.el (setup-japanese-environment-internal):
16706 Call use-cjk-char-width-table with arg `ja_JP'.
16708 * international/characters.el (cjk-char-width-table): Delete it.
16709 (cjk-char-width-table-list): New variable.
16710 (use-cjk-char-width-table): New arg local-name.
16711 (use-default-char-width-table): Fix for the case that Emacs is
16712 already using the default char-width-table.
16714 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16716 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16717 modes mandatory. (Bug#3712)
16719 2009-06-29 Alan Mackenzie <acm@muc.de>
16721 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16722 correction between the visible width of TABs and their number of bytes.
16724 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16726 * server.el (server-buffer-done): Prevent kill-buffer from
16727 prompting by clearing the buffer modification flag (Bug#3696).
16729 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16731 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16732 (verilog-endcomment-reason-re): Support unique case and priority case.
16733 (verilog-basic-complete-re): Support localparam lineup.
16734 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16735 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16737 (verilog-leap-to-case-head): Now support *nested* unique &
16738 priority case statements.
16739 (verilog-auto-lineup): Make just declarations the default (as it
16741 (verilog-leap-to-case-head): Support priority/unique case statements.
16742 (verilog-auto-lineup): Rework to give users radio buttons to
16743 select the various styles of automatic lineup.
16744 (verilog-error-regexp-alist): Rework to support the XEmacs style
16745 of error regular expressions from compilers, lint tools &
16746 simulators. Note that GNU Emacs has made it impossible for a mode
16747 to load such things.
16748 (electric-verilog-terminate-line, verilog-indent-declaration)
16749 (verilog-auto-wiure): Rework for radio button selection of
16750 auto-lineup selection of specification of auto lineup.
16751 (verilog-beg-of-statement-1): Redesign to support proper operation
16752 in additional code, based on testing with auto-lineup.
16753 (verilog-calculate-indent, assignments & declarations)
16754 (verilog-backward-token): Enhance to support auto-lineup of
16755 assignments & declarations.
16756 (verilog-in-directive-p, verilog-at-struct-p): New function for
16757 easy test of whether we are.
16758 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16759 to support safe execution at almost anyline.
16760 (verilog-calc-1): Properly support indenting deep inside generate
16762 (verilog-init-font): Remove definition & use of verilog-init-font,
16763 as it is redundant with font-lock-defaults.
16764 (verilog-mode): Alter the definition of verilog-font-lock-defaults
16765 to avoid circular calls if syntax-ppss is a function (as is the
16766 case now in 22.x GNU Emacs) as that function would sometimes call
16767 itself, leading to (nearly) infinite recursion.
16768 (verilog-ovm-begin-re, verilog-ovm-end-re)
16769 (verilog-ovm-statement-re, verilog-leap-to-head)
16770 (verilog-backward-token): Add support for OVM macros. Some are
16771 complete statements, and others open and close scopes like begin
16773 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16774 (verilog-defun-level-generate-only-re): Really fix the defun-list
16776 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16777 coverpoint, constraint and cross statements.
16778 (verilog-defun-level-list, verilog-generate-defun-level-list)
16779 (verilog-all-defun-level-list): Redo these specifications - it is
16780 too hard to support eval-when compile aggregation of lists also
16781 built at when-compile time.
16782 (verilog-defun-level-list): Place defconsts of variables used in
16783 building regular expressions which are built in eval-when-compile
16784 bodies in the same eval-when-compile body to facilitate compile
16786 (verilog-beg-block-re-ordered): Support indenting
16787 virtual/protected tasks and functions.
16788 (verilog-defun-level-list, verilog-in-generate-region-p)
16789 (verilog-backward-ws&directives, verilog-calc-1): Speed up
16790 indentation of some module items (generate items).
16791 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16792 across virtual/protected tasks and functions.
16794 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
16796 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16797 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
16798 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16799 in concatenations. Reported by Yishay Belkind.
16800 (verilog-auto-ascii-enum): Support one-hot state machines in
16801 AUTOASCIIENUM. Suggested by Lloyd Gomez.
16802 (verilog-auto-inst, verilog-auto-inst-port): Include interface
16803 modport in AUTOINST and add vl-modport for users. Reported by
16805 (verilog-auto-inout-module, verilog-auto-inst)
16806 (verilog-decls-get-interfaces, verilog-insert-definition)
16807 (verilog-insert-one-definition, verilog-read-decls)
16808 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16809 (verilog-sig-modport, verilog-signals-combine-bus)
16810 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16811 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16812 Suggested by David Rogoff.
16813 (verilog-repair-open-comma): Fix non-insertion of comma when
16814 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
16815 (verilog-make-width-expression): Simplify [A-1:0] expression
16816 widths to just {A{1'b0}}.
16817 (verilog-mode): Cleanup checkdoc warnings.
16818 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16819 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16820 inputs/outputs or data type. Suggested by Vasu Kandadi.
16821 (next-error-last-buffer): Fix byte-compiler warning.
16822 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16823 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16824 or shell command text during AUTO expansion. Suggested by Tad Truex.
16825 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16826 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16827 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16828 in AUTOINOUT. Reported by Matthew Lovell.
16829 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16830 causing use of <= assignments. Reported by Alex Reed.
16831 (verilog-read-decls): Fix triand, trior, wand, wor to be
16832 recognized by AUTOWIRE. Reported by Spencer Isaacson.
16833 (verilog-extended-complete-re): Support import "DPI-C" functions.
16834 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16835 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
16836 (verilog-insert-date, verilog-insert-year)
16837 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16838 Windows systems. Reported by Michael Potts.
16839 (verilog-read-module-name): Fix AUTOINST when the child module
16840 declaration's name is a tick define. Reported by Elliot Mednick.
16841 (verilog-read-decls): Fix V2K parameter bit subscripts getting
16842 passed to next parameter's definition. Reported by Bruce T.
16843 (verilog-read-decls): Fix detecting "parameter int" when using
16844 AUTOINSTPARAM. Reported by Bruce T.
16845 (verilog-goto-defun): Fix goto not finding modules unless first
16846 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
16847 (verilog-mode): Expand -f flag arguments on entry to mode so
16848 verilog-goto-defun will work. Reported by Lawrence Butcher.
16849 (verilog-getopt): Expand environment variables in -f file
16850 arguments. Suggested by Lawrence Butcher.
16851 (verilog-set-define): Fix "Symbol's value as variable is void"
16852 when reading enumerations.
16853 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16854 Suggested by Stephen Peltan.
16855 (verilog-read-defines): Fix reading of enumerations in include
16856 files. Reported by Steve Peltan.
16858 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16860 * files.el (trash-directory): Fix defcustom type.
16862 2009-06-28 Juri Linkov <juri@jurta.org>
16864 * help-fns.el (describe-function-1): Correctly locate adviced
16865 functions in hyperlink (Bug#2438).
16867 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
16869 * files.el (trash-directory): Change default to nil.
16870 (move-file-to-trash): If trash-directory is nil and
16871 system-move-file-to-trash is unbound, perform freedesktop-style
16874 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16876 * files.el (move-file-to-trash): Add freedesktop trash
16879 2009-06-28 Glenn Morris <rgm@gnu.org>
16881 * autorevert.el (global-auto-revert-non-file-buffers)
16882 (global-auto-revert-mode): Doc fixes.
16884 2009-06-27 Johan Bockgård <bojohan@gnu.org>
16886 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16888 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
16890 * faces.el (x-handle-named-frame-geometry): Ensure that we have
16891 opened an X connection before calling x-get-resource (Bug#3194).
16893 * play/doctor.el: Remove reference to obsolete website.
16894 (make-doctor-variables): Correct grammar mistake (Bug#2633).
16896 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
16898 Remove find-file-not-found-hook VC method. (Bug#2757)
16899 * vc-hooks.el (vc-file-not-found-hook)
16900 (vc-default-find-file-not-found-hook): Remove functions.
16901 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16902 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16905 * vc-git.el: Do not mention find-file-not-found-hook VC method.
16907 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
16909 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16910 compatibility function for `looking-back'.
16912 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16913 Use `ispell-looking-back'.
16915 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
16917 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16918 rather than `filename'.
16920 2009-06-23 Miles Bader <miles@gnu.org>
16922 * face-remap.el (text-scale-set): New function.
16924 2009-06-23 Glenn Morris <rgm@gnu.org>
16926 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16928 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16930 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16932 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16934 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16935 Simplify Persian conditionals.
16937 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16938 variable `filename'.
16940 * comint.el (comint-insert-input): Doc fix.
16942 * Makefile.in (ELCFILES): Fix typo in previous change.
16944 2009-06-23 Miles Bader <miles@gnu.org>
16946 * cus-start.el: Add entry for `recenter-redisplay'.
16948 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16950 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16951 Add an optional argument for the backend, use it instead of
16952 calling vc-backend.
16953 (vc-mode-line): Add an optional argument for the backend.
16954 Pass the backend to vc-state and vc-working-revision. Move code for
16955 special handling for vc-state being a buffer to ...
16957 * vc-rcs.el (vc-rcs-find-file-hook):
16958 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
16960 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16961 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16962 vc-stay-local-p and vc-mode-line calls.
16964 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16965 (vc-cvs-diff, vc-cvs-annotate-command)
16966 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16967 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16968 vc-mode-line calls.
16970 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16972 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16973 backend when calling vc-mode-line.
16974 (vc-register): Do not create a closure for calling the vc register
16975 function, call it directly.
16977 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16979 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16980 to make it obvious item can be clicked.
16982 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16984 2009-06-23 Kenichi Handa <handa@m17n.org>
16986 * language/korea-util.el (korean-key-bindings): Change the binding
16987 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
16990 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
16992 Sync with Tramp 2.1.16.
16994 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16996 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
16997 when a loading of a package fails. Completion function for rsync
16998 is `tramp-completion-function-alist-ssh'.
16999 (all): Replace all calls of `split-string' and
17000 `tramp-split-string' by `tramp-compat-split-string'.
17001 (tramp-default-method): Use `tramp-compat-process-running-p'.
17002 (tramp-default-proxies-alist): Allow also Lisp forms.
17003 (tramp-remote-path): Add choice "Private Directories".
17004 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17005 (tramp-domain-regexp): Allow also "-", "_" and ".".
17006 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17007 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17008 (tramp-debug-message): Insert header line in debug buffer.
17009 (tramp-handle-directory-files-and-attributes-with-stat):
17010 Care about filenames with spaces, or starting with "-".
17011 (tramp-handle-dired-uncache): New defun.
17012 (tramp-handle-insert-directory): Don't flush the directory from
17013 cache, this is handled by `dired-uncache' now.
17014 (tramp-handle-insert-file-contents): Improve error handling.
17015 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17016 Quote `tramp-end-of-output'.
17017 (tramp-action-password): Improve trace message.
17018 (tramp-check-for-regexp): Both echoes must be present, before removing.
17019 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17020 (tramp-compute-multi-hops): Eval cons cells of
17021 `tramp-default-proxies-alist'.
17022 (tramp-maybe-open-connection): Use the same command pattern for
17023 first hop and further hops.
17024 (tramp-wait-for-output): Remove handling of newlines.
17025 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17026 (tramp-split-string): Remove function. It is handled in
17029 * net/tramp-cmds.el (tramp-bug):
17030 Recommend `tramp-cleanup-all-connections' in the bug mail.
17032 * net/tramp-compat.el (tramp-compat-split-string)
17033 (tramp-compat-process-running-p): New defuns.
17035 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17036 for `dired-uncache'.
17038 * net/tramp-gvfs.el: New package.
17040 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17041 Add handler for `dired-uncache'.
17042 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17044 * net/trampver.el: Update release number. Make version check fit
17047 2009-06-22 Jim Meyering <meyering@redhat.com>
17049 Automatically handle .xz suffix (XZ-compressed files), too.
17050 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17051 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17053 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17054 Nick Roberts <nickrob@snap.net.nz>
17056 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17057 repository (http://sphinx.net.ru/hg/gdb-mi/).
17059 2009-06-22 Glenn Morris <rgm@gnu.org>
17061 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17062 `mode' and `eval' entries. (Bug#3430)
17064 * Makefile.in (ELCFILES): Add fadr.elc.
17066 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17067 differing behavior of \n and ^ in strings. (Bug#3385)
17069 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17071 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17073 (lisp-indent-function): Make it a defcustom.
17075 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17077 * progmodes/gdb-ui.el: Replace with ...
17078 * progmodes/gdb-mi.el: ... this file.
17079 * progmodes/gud.el: Modify for gdb-mi.el.
17081 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17083 * fadr.el: New file.
17085 See ChangeLog.14 for earlier changes.
17087 ;; Local Variables:
17091 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17093 This file is part of GNU Emacs.
17095 GNU Emacs is free software: you can redistribute it and/or modify
17096 it under the terms of the GNU General Public License as published by
17097 the Free Software Foundation, either version 3 of the License, or
17098 (at your option) any later version.
17100 GNU Emacs is distributed in the hope that it will be useful,
17101 but WITHOUT ANY WARRANTY; without even the implied warranty of
17102 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17103 GNU General Public License for more details.
17105 You should have received a copy of the GNU General Public License
17106 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
17108 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1