1 2010-09-09 Glenn Morris <rgm@gnu.org>
3 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
4 (imagemagick-register-types): Doc fix.
6 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
10 * progmodes/js.el (require): Require is already "eval-and-compile".
11 (js--re-search-forward): Avoid `eval'. Preserve the error data.
12 (js--re-search-backward): Use js--re-search-forward.
14 * progmodes/fortran.el (fortran-line-length): Don't recompute
15 syntactic keywords redundantly a second time.
17 * progmodes/ada-mode.el: Replace "(set '" with setq.
19 (ada-create-case-exception, ada-adjust-case-interactive)
20 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
21 (ada-search-ignore-string-comment, ada-move-to-start)
22 (ada-move-to-end): Use with-syntax-table.
24 * font-lock.el (save-buffer-state): Remove `varlist' arg.
25 (font-lock-unfontify-region, font-lock-default-fontify-region):
26 Update usage correspondingly.
27 (font-lock-fontify-syntactic-keywords-region):
28 Set parse-sexp-lookup-properties buffer-locally here.
29 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
31 * simple.el (blink-matching-open): Don't burp if we can't find a match.
33 2010-09-08 Glenn Morris <rgm@gnu.org>
35 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
36 Error if not compiled with -DBYTE_CODE_METER.
38 * emacs-lisp/bytecomp.el (byte-recompile-directory):
39 Ignore dir-locals-file.
41 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
43 * progmodes/compile.el (compilation-error-regexp-alist-alist):
45 (compilation-error-regexp-alist-alist): Rule out ": " in file names
46 for the `gnu' messages.
47 (compilation-set-skip-threshold): New command.
48 (compilation-start): Use \' rather than $.
49 (compilation-forget-errors): Use clrhash.
51 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
53 * textmodes/ispell.el (ispell-valid-dictionary-list):
56 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
58 Migrate to Tramp 2.2. Rearrange load dependencies.
59 (Bug#1529, Bug#5448, Bug#5705)
61 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
62 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
63 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
65 * net/tramp.el (top): Remove all other tramp-* loads except
66 tramp-compat.el. Remove all changes to tramp-unload-hook for
67 other tramp-* packages. Rearrange defun order. Change calls of
68 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
69 `tramp-compat-octal-to-decimal' to new function names.
70 (tramp-terminal-type, tramp-initial-end-of-output)
71 (tramp-methods, tramp-foreign-file-name-handler-alist)
72 (tramp-tramp-file-p, tramp-completion-mode-p)
73 (tramp-send-command-and-check, tramp-get-remote-path)
74 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
75 (tramp-shell-quote-argument): Set tramp-autoload cookie.
76 (with-file-property, with-connection-property): Move to
78 (tramp-local-call-process, tramp-decimal-to-octal)
79 (tramp-octal-to-decimal): Move to tramp-compat.el.
80 (tramp-handle-shell-command): Do not require 'shell.
81 (tramp-compute-multi-hops): No special handling for tramp-gw-*
83 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
85 * net/tramp-cache.el (top): Require 'tramp. Add to
87 (tramp-cache-data, tramp-get-file-property)
88 (tramp-set-file-property, tramp-flush-file-property)
89 (tramp-flush-directory-property, tramp-get-connection-property)
90 (tramp-set-connection-property, tramp-flush-connection-property)
91 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
93 (with-file-property, with-connection-property): New defuns, moved
95 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
98 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
99 (tramp-version): Set tramp-autoload cookie.
101 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
102 changes to tramp-unload-hook for other tramp-* packages. Add to
104 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
105 (tramp-compat-call-process): New defuns, moved from tramp.el.
107 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
108 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
109 to `tramp-unload-hook'. Change call of
110 `tramp-compat-decimal-to-octal' to new function name.
111 (tramp-fish-method): Make it a defconst.
112 (tramp-fish-file-name-p): Make it a defsubst.
113 (tramp-fish-method, tramp-fish-file-name-handler)
114 (tramp-fish-file-name-p): Set tramp-autoload cookie.
116 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
117 `tramp-foreign-file-name-handler-alist'. Add to
119 (tramp-ftp-method): Make it a defconst.
120 (tramp-ftp-file-name-p): Make it a defsubst.
121 (tramp-ftp-method, tramp-ftp-file-name-handler)
122 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
124 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
125 `tramp-foreign-file-name-handler-alist'. Add to
126 `tramp-unload-hook'. Change checks, whether package can be
128 (tramp-gvfs-file-name-p): Make it a defsubst.
129 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
130 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
131 (tramp-gvfs-handle-file-directory-p): New defun.
132 (tramp-gvfs-file-name-handler-alist): Use it.
134 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
135 `tramp-foreign-file-name-handler-alist'. Add to
137 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
138 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
140 (tramp-gw-tunnel-method, tramp-gw-socks-method)
141 (tramp-gw-open-connection): Set tramp-autoload cookie.
143 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
144 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
145 to `tramp-unload-hook'. Change checks, whether package can be
147 (tramp-imap-file-name-p): Make it a defsubst.
148 (tramp-imap-method, tramp-imaps-method)
149 (tramp-imap-file-name-handler)
150 (tramp-imap-file-name-p): Set tramp-autoload cookie.
152 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
153 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
154 to `tramp-unload-hook'. Change checks, whether package can be
155 loaded. Change call of `tramp-compat-decimal-to-octal' to new
157 (tramp-smb-tunnel-method): Make it a defconst.
158 (tramp-smb-file-name-p): Make it a defsubst.
159 (tramp-smb-method, tramp-smb-file-name-handler)
160 (tramp-smb-file-name-p): Set tramp-autoload cookie.
162 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
163 (tramp-uuencode-region): Set tramp-autoload cookie.
165 * net/trampver.el (top) Add to `tramp-unload-hook'.
166 (tramp-version, tramp-bug-report-address): Set tramp-autoload
167 cookie. Update release number.
169 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
171 * textmodes/ispell.el (ispell-start-process): Make sure original
172 arg list is properly initialized (Bug#6993, Bug#6994).
174 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
176 * files.el (directory-abbrev-alist): Use \` as default regexp.
178 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
179 chars like - or ] (bug#6984).
180 (rx-any-condense-range): Explode 2-char ranges.
182 2010-09-06 Glenn Morris <rgm@gnu.org>
184 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
186 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
188 * textmodes/bibtex.el:
189 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
191 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
193 * net/imap.el (imap-message-map): Remove optional buffer parameter,
194 since no callers use it.
195 (imap-message-get): Ditto.
196 (imap-message-put): Ditto.
197 (imap-mailbox-map): Ditto.
198 (imap-mailbox-put): Ditto.
199 (imap-mailbox-get): Ditto.
200 (imap-mailbox-get): Revert last change for this function.
202 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
204 * net/imap.el (imap-fetch-safe): Remove function, and alter all
205 callers to use `imap-fetch' instead. According to the comments, this
206 should be safe, since all other IMAP clients use the 1:* syntax.
207 (imap-enable-exchange-bug-workaround): Remove.
208 (imap-debug): Remove -- doesn't seem very useful.
210 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
212 * net/imap.el (imap-log): New convenience function used throughout
213 instead of repeating the same code all over the place.
215 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
217 * mouse.el (mouse-save-then-kill): Save region to kill-ring
218 when mouse-drag-copy-region is non-nil (Bug#6956).
220 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
222 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
223 Improve regexps (Bug#6987).
224 (dired-sort-toggle): Search more robustly for -t flag.
226 * files.el (get-free-disk-space): Search more robustly for
227 "available" column. Suggested by Ehud Karni
228 <ehud@unix.mvs.co.il>.
230 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
232 * international/uni-bidi.el:
233 * international/uni-category.el:
234 * international/uni-combining.el:
235 * international/uni-decimal.el:
236 * international/uni-mirrored.el:
237 * international/uni-name.el: Regenerate.
239 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
241 * electric.el (electric-indent-post-self-insert-function):
242 Don't reindent with a sloppy indentation function.
244 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
245 border case in change-log-mode.
247 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
249 * progmodes/compile.el (compilation-error-regexp-alist-alist):
250 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
251 Recognize leading tab in gcc-include regexp. Ignore names with
252 leading "from" or "in" in gnu regexp (Bug#6937).
254 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
256 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
257 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
258 (ispell-start-process): Avoid setq and simplify logic.
259 (ispell-init-process): Setup kill-buffer-hook locally when needed.
260 (kill-buffer-hook): Don't use it globally with code that uses
261 expand-file-name since that may call kill-buffer via
262 code_conversion_restore.
264 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
266 * emacs-lisp/package.el (package-directory-list): Only call
267 file-name-nondirectory on a string.
269 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
271 * emacs-lisp/package.el (package--download-one-archive):
272 Ensure that archive-contents is valid before saving it.
273 (package-activate-1, package-mark-obsolete, define-package)
274 (package-compute-transaction, package-list-maybe-add): Use push.
276 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
278 Use SMIE's blink-paren for octave-mode.
279 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
280 Backslashes do not escape single-quotes, single-quotes do.
281 (octave-block-else-regexp, octave-block-end-regexp)
282 (octave-block-match-alist): Remove.
283 (octave-smie-bnf-table): New var, with old content.
284 (octave-smie-op-levels): Use it.
285 (octave-smie-closer-alist): New var.
286 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
287 (octave-blink-matching-block-open): Remove.
288 (octave-reindent-then-newline-and-indent, octave-electric-semi)
289 (octave-electric-space): Let self-insert-command run expand-abbrev and
292 * electric.el (electricity): New group.
293 (electric-indent-chars): New var.
294 (electric-indent-post-self-insert-function): New fun.
295 (electric-indent-mode): New minor mode.
296 (electric-pair-skip-self): New custom.
297 (electric-pair-post-self-insert-function): New function.
298 (electric-pair-mode): New minor mode.
300 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
301 calcAlg-blink-matching-open.
302 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
303 (calc-do-alg-entry): Only touch the part of the keymap that varies.
304 Use the new blink-matching-check-function.
306 Provide blink-matching support to SMIE.
307 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
308 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
309 (smie-blink-matching-check, smie-blink-matching-open): New functions.
311 * simple.el (newline): Fix last change to properly remove itself from
314 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
316 * simple.el (newline): Eliminate optimization.
317 Use post-self-insert-hook to set hard-newline and things before
318 running post-self-insert-hook.
319 (blink-matching-check-mismatch): New function.
320 (blink-matching-check-function): New variable.
321 (blink-matching-open): Use them.
322 Skip back forward over prefix chars skipped by forward-sexp.
323 Don't check if the parens are backslash escaped.
324 (blink-paren-post-self-insert-function): Check backslash escaping here.
326 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
328 * emacs-lisp/package.el (package-menu-mode-map):
329 Change package-menu-revert bindings to revert-buffer.
330 (package-menu-mode): Set revert-buffer-function.
331 (package-menu-revert): Doc fix.
333 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
335 * textmodes/ispell.el (ispell-init-process): Use "~/" as
336 `default-directory' unless using Ispell per-directory personal
337 dictionaries and not in a mini-buffer under XEmacs.
338 (kill-buffer-hook): Do not kill ispell process on exit when
339 `ispell-process-directory' is "~/". (Bug#6143)
341 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
343 * simple.el (kill-new): Call interprogram-cut-function with only
346 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
347 Remove cut buffer from error message.
349 * term/x-win.el (x-select-text):
350 * term/pc-win.el (x-selection-value):
351 * term/ns-win.el (x-selection-value):
353 * w32-fns.el (x-get-selection-value):
354 * mouse-sel.el (mouse-sel-set-selection-function):
355 * frame.el (display-selections-p): Remove cut-buffer in documentation.
357 * term/x-win.el: Update documentation for x-last-selected-text-*.
358 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
359 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
360 (x-select-text): Remove argument PUSH, update documentation. Remove
362 (x-selection-value-internal): Was previously x-selection-value.
363 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
364 Update documentation, remove cut-buffer code. Call
365 x-selection-value-internal.
366 (x-clipboard-yank): Call x-selection-value-internal.
367 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
369 * term/pc-win.el (x-last-selected-text):
370 x-cut-buffer-or-selection-value renamed to x-selection-value
371 (x-select-text): Remove argument PUSH, update documentation.
373 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
374 x-cut-buffer-or-selection-value renamed to x-selection-value
375 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
376 (x-select-text): Remove argument PUSH, update documentation.
378 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
380 * w32-fns.el (x-last-selected-text):
381 x-cut-buffer-or-selection-value renamed to x-selection-value.
382 (x-cut-buffer-max): Remove.
383 (x-select-text): Remove argument PUSH, update documentation.
385 * simple.el (interprogram-cut-function): Remove mention of PUSH.
387 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
389 * mouse-sel.el (mouse-sel-get-selection-function):
390 x-cut-buffer-or-selection-value renamed to x-selection-value.
391 (x-select-text): Remove optional push.
393 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
395 * simple.el (blink-paren-function): Move from C to here.
396 (blink-paren-post-self-insert-function): New function.
397 (post-self-insert-hook): Use it.
399 * emacs-lisp/pcase.el (pcase-split-memq):
400 Fix overenthusiastic optimisation.
401 (pcase-u1): Handle the case of a lambda pred.
403 2010-08-31 Kenichi Handa <handa@m17n.org>
405 * international/mule-cmds.el (standard-display-european-internal):
406 Setup standard-display-table for 8-bit characters by storing 8-bit
407 characters in the element vector.
409 * disp-table.el (standard-display-8bit): Setup
410 standard-display-table for 8-bit characters by storing 8-bit
411 characters in the element vector.
412 (standard-display-european): Likewise.
414 2010-08-31 Masatake YAMATO <yamato@redhat.com>
416 * textmodes/nroff-mode.el (nroff-view): New command.
417 (nroff-mode-map): Bind it to C-c C-c.
419 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
421 * emacs-lisp/smie.el (smie-down-list): New command.
423 Remove old indentation and navigation code on octave-mode.
424 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
425 smie-down-list rather than add a binding for octave-down-block.
426 (octave-mark-block, octave-blink-matching-block-open):
427 Rely on forward-sexp-function.
428 (octave-fill-paragraph): Don't narrow, so you can use
429 indent-according-to-mode.
430 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
431 (octave-in-block-p, octave-re-search-forward-kw)
432 (octave-re-search-backward-kw, octave-indent-calculate)
433 (octave-end-as-array-index-p, octave-block-end-offset)
434 (octave-scan-blocks, octave-forward-block, octave-backward-block)
435 (octave-down-block, octave-backward-up-block, octave-up-block)
436 (octave-before-magic-comment-p, octave-indent-line): Remove.
438 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
440 * emacs-lisp/package.el (package--read-archive-file): Just use
441 `read', to avoid copying an additional string.
442 (package-menu-mode): Set header-line-format here.
443 (package-menu-refresh, package-menu-revert): Signal an error if
444 not in the Package Menu.
445 (package-menu-package-list): New var.
446 (package--generate-package-list): Operate on the current buffer;
447 don't assume that it is *Packages*, since the user may rename it.
448 Allow persistent package listings and sort keys using
449 package-menu-package-list and package-menu-package-sort-key.
450 (package-menu--version-predicate): Fix version calculation.
451 (package-menu-sort-by-column): Don't select the window.
452 (package--list-packages): Create the *Packages* buffer.
453 Set package-menu-package-list-key.
454 (list-packages): Sorting by status is now the default.
455 (package-buffer-info): Use match-string-no-properties.
456 (define-package): Add a &rest argument for future proofing, but
458 (package-install-from-buffer, package-install-buffer-internal):
459 Merge into a single function, package-install-from-buffer.
460 (package-install-file): Change caller.
462 * finder.el: Load finder-inf using `require'.
463 (finder-list-matches): Sorting by status is now the default.
464 (finder-compile-keywords): Simpify printing.
466 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
468 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
469 (octave-mode-map): Remove special bindings for forward/backward-block
470 and octave-backward-up-block. Use smie-close-block.
471 (octave-continuation-marker-regexp): New var.
472 (octave-continuation-regexp): Use it.
473 (octave-operator-table, octave-smie-op-levels)
474 (octave-operator-regexp, octave-smie-indent-rules): New vars.
475 (octave-smie-backward-token, octave-smie-forward-token): New funs.
476 (octave-mode): Use SMIE.
477 (octave-close-block): Delete.
479 2010-08-30 Eli Zaretskii <eliz@gnu.org>
481 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
482 CLIPBOARD, not in PRIMARY. (Bug#6944)
484 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
486 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
488 (smie-indent-column): Allow indirection through variables.
490 * composite.el (save-buffer-state): Delete, unused.
491 * font-lock.el (save-buffer-state): Use with-silent-modifications.
492 (font-lock-default-fontify-region): Use with-syntax-table.
493 * jit-lock.el (with-buffer-unmodified): Remove.
494 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
496 Use `declare' in defmacros.
497 * window.el (save-selected-window):
498 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
499 * progmodes/python.el (def-python-skeleton):
500 * net/dbus.el (dbus-ignore-errors):
501 * jka-cmpr-hook.el (with-auto-compression-mode):
502 * international/mule.el (with-category-table):
503 * emacs-lisp/timer.el (with-timeout):
504 * emacs-lisp/lisp-mnt.el (lm-with-file):
505 * emacs-lisp/eieio.el (with-slots):
506 * emacs-lisp/easymenu.el (easy-menu-define):
507 * emacs-lisp/debug.el (debugger-env-macro):
508 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
509 (Multiple-value-call, Multiple-value-prog1):
510 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
511 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
512 edebug rule to definition.
513 * emacs-lisp/lisp-mode.el (save-selected-window)
514 (with-current-buffer, combine-after-change-calls)
515 (with-output-to-string, with-temp-file, with-temp-buffer)
516 (with-temp-message, with-syntax-table, read-if, eval-after-load)
517 (dolist, dotimes, when, unless):
518 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
520 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
522 * finder.el: Require `package'.
523 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
524 (finder-package-info): Var deleted.
525 (finder-keywords-hash, finder--builtins-alist): New vars.
526 (finder-compile-keywords): Compute package--builtins and
527 finder-keywords-hash instead of finder-keywords-hash, respecting
528 the "Package" header.
529 (finder-unknown-keywords, finder-list-matches):
530 Use finder-keywords-hash and package--list-packages.
531 (finder-mode): Don't set font-lock-defaults.
532 (finder-exit): We don't use "*Finder-package*" and "*Finder
533 Category*" buffers anymore.
535 * emacs-lisp/package.el (package--builtins-base): Var deleted.
536 (package--builtins): Set default value to nil.
537 (package-initialize): Load precomputed value of package--builtins
539 (package-alist, package-compute-transaction)
540 (package-download-transaction): Improve docstring.
541 (package-read-all-archive-contents): Do not change
542 package--builtins here.
543 (list-packages): Make package-list-packages an alias for this.
544 Sort by status by default.
545 (package--list-packages): Add optional PACKAGES arg.
546 (describe-package-1): Use font-lock-face property. For built-in
547 packages, insert file commentary.
548 (package--generate-package-list): Rename from
549 package-list-packages-internal; all callers changed. Add optional
550 PACKAGES arg. Add alphabetical sort fallbacks.
551 (package-menu--version-predicate, package-menu--status-predicate)
552 (package-menu--description-predicate)
553 (package-menu--name-predicate): New functions.
555 * info.el (Info-finder-find-node): Search package-alist instead of
558 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
560 * subr.el (version-regexp-alist): Don't use "a" and "b" for
562 (version-to-list): Handle versions like "10.3d".
564 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
566 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
567 (macroexp-accumulate): Use `declare'.
569 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
571 * whitespace.el (whitespace-style): Adjust type declaration.
573 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
575 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
576 empty argument to gvfs-copy.
578 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
580 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
581 handle new TRASH arg of `delete-file'.
583 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
585 * net/tramp.el (tramp-handle-insert-directory): Don't use
586 `forward-word', its default syntax could be changed.
588 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
589 Michael Albinus <michael.albinus@gmx.de>
591 Implement compression for inline methods.
593 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
594 (tramp-copy-size-limit): Allow also nil.
595 (tramp-inline-compress-commands): New defconst.
596 (tramp-find-inline-compress, tramp-get-inline-compress)
597 (tramp-get-inline-coding): New defuns.
598 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
599 replaced by `tramp-get-inline-coding'.
600 (tramp-handle-file-local-copy, tramp-handle-write-region)
601 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
603 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
605 Detect ssh 'ControlMaster' argument automatically in some cases.
607 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
608 (tramp-default-method): Use it.
610 2010-08-26 Karel Klíč <kklic@redhat.com>
612 * net/tramp.el (tramp-file-name-for-operation):
613 Add file-selinux-context.
615 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
617 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
619 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
621 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
624 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
626 * progmodes/js.el: Make indentation more customizable (Bug#6914).
627 (js-paren-indent-offset, js-square-indent-offset)
628 (js-curly-indent-offset): New options.
629 (js--proper-indentation): Use them.
631 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
633 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
634 instead of inspecting font-lock properties (Bug#6916).
636 2010-08-26 David Reitter <david.reitter@gmail.com>
638 * server.el (server-visit-files): Run pre-command-hook and
639 post-command-hook for each buffer while it is current
641 (server-execute): Do not run hooks here.
643 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
645 Sync with Tramp 2.1.19.
647 * net/tramp-cmds.el (tramp-cleanup-all-connections)
648 (tramp-reporter-dump-variable, tramp-load-report-modules)
649 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
650 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
652 * net/tramp-compat.el (top): Do not autoload
653 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
654 only when `start-file-process' is not bound.
655 (byte-compile-not-obsolete-vars): Define if not bound.
656 (tramp-compat-funcall): New defmacro.
657 (tramp-compat-line-beginning-position)
658 (tramp-compat-line-end-position)
659 (tramp-compat-temporary-file-directory)
660 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
661 (tramp-compat-copy-file, tramp-compat-copy-directory)
662 (tramp-compat-delete-file, tramp-compat-delete-directory)
663 (tramp-compat-number-sequence, tramp-compat-process-running-p):
665 (tramp-advice-file-expand-wildcards): Do not use
666 `tramp-handle-file-remote-p'.
667 (tramp-compat-make-temp-file): Simplify fallback implementation.
668 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
669 (tramp-compat-copy-tree): Remove function.
670 (tramp-compat-delete-file): New defun.
671 (tramp-compat-delete-directory): Provide implementation for older
673 (tramp-compat-file-attributes): Handle only
674 `wrong-number-of-arguments' error.
676 * net/tramp-fish.el (tramp-fish-handle-copy-file): Add
677 PRESERVE_SELINUX_CONTEXT.
678 (tramp-fish-handle-delete-file): Add TRASH arg.
679 (tramp-fish-handle-directory-files-and-attributes):
680 Do not use `tramp-fish-handle-file-attributes.
681 (tramp-fish-handle-file-local-copy)
682 (tramp-fish-handle-insert-file-contents)
683 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
685 * net/tramp-gvfs.el (top): Require url-util.
686 (tramp-gvfs-mount-point): Remove.
687 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
688 and `set-file-selinux-context'.
689 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
690 (tramp-gvfs-handle-file-selinux-context)
691 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
692 (with-tramp-dbus-call-method): Format trace message.
693 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
694 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
695 Implement backup call, when operation on local files fails. Use
696 progress reporter. Flush properties of changed files.
697 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
698 `tramp-compat-delete-file'.
699 (tramp-gvfs-handle-expand-file-name): Expand "~/".
700 (tramp-gvfs-handle-make-directory): Make more traces.
701 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
702 (tramp-gvfs-url-file-name): Hexify file name in url.
703 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
704 into account for the resulting file name.
705 (tramp-gvfs-handler-askquestion): Preserve current message, in
706 order to let progress reporter continue afterwards. (Bug#6257)
707 Return dummy mountpoint, when the answer is "no". See
708 `tramp-gvfs-maybe-open-connection'.
709 (tramp-gvfs-handler-mounted-unmounted)
710 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
711 attribute "default_location". Set "prefix" property. Handle
713 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
714 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
715 exists. Raise an error, if not (due to a corresponding answer
716 "no" in interactive questions, for example). Use
717 `tramp-compat-funcall'.
719 * net/tramp-imap.el (top): Autoload `epg-make-context'.
720 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
721 (tramp-imap-do-copy-or-rename-file)
722 (tramp-imap-handle-insert-file-contents)
723 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
724 (tramp-imap-handle-delete-file): Add TRASH arg.
726 * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
727 PRESERVE-SELINUX-CONTEXT.
728 (tramp-smb-handle-copy-file)
729 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
730 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
731 Use `with-progress-reporter'.
732 (tramp-smb-handle-delete-file): Add TRASH arg.
734 * net/tramp.el (tramp-methods): Move hostname to the end in all
735 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
737 (tramp-verbose): Describe verbose level 9.
738 (tramp-completion-function-alist)
739 (tramp-file-name-regexp, tramp-chunksize)
740 (tramp-local-coding-commands, tramp-remote-coding-commands)
741 (with-connection-property, tramp-completion-mode-p)
742 (tramp-action-process-alive, tramp-action-out-of-band)
743 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
744 (tramp-exists-file-name-handler): Fix docstring.
745 (tramp-remote-process-environment): Use `format' instead of
746 `concat'. Protect version string by apostroph.
747 (tramp-shell-prompt-pattern): Do not use a shy group in case of
749 (tramp-file-name-regexp-unified)
750 (tramp-completion-file-name-regexp-unified): On W32 systems, do
751 not regard the volume letter as remote filename. (Bug#5447)
752 (tramp-perl-file-attributes)
753 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
754 (tramp-vc-registered-read-file-names): Read input as
755 here-document, otherwise the command could exceed maximum length
757 (tramp-file-name-handler-alist): Add `file-selinux-context' and
758 `set-file-selinux-context'.
759 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
761 (tramp-error-with-buffer): Don't show the connection buffer when
762 we are in completion mode.
763 (tramp-progress-reporter-update, tramp-remote-selinux-p)
764 (tramp-handle-file-selinux-context)
765 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
766 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
768 (with-progress-reporter): New defmacro.
769 (tramp-debug-outline-regexp): New defconst.
770 (top, tramp-rfn-eshadow-setup-minibuffer)
771 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
772 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
773 (tramp-completion-mode-p, tramp-check-for-regexp)
774 (tramp-open-connection-setup-interactive-shell)
775 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
776 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
777 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
778 Use `tramp-compat-funcall'.
779 (tramp-handle-make-symbolic-link): Flush file properties.
780 (tramp-handle-load, tramp-handle-file-local-copy)
781 (tramp-handle-insert-file-contents, tramp-handle-write-region)
782 (tramp-handle-vc-registered, tramp-maybe-send-script)
783 (tramp-find-shell): Use `with-progress-reporter'.
784 (tramp-do-file-attributes-with-stat): Add space in format string,
785 in order to work around a bug in pdksh. Reported by Gilles Pion
787 (tramp-handle-verify-visited-file-modtime): Do not send a command
788 when the connection is not established.
789 (tramp-handle-set-file-times): Simplify the check for utc.
790 (tramp-handle-directory-files-and-attributes)
791 (tramp-get-remote-path): Use `copy-tree'.
792 (tramp-completion-handle-file-name-all-completions): Ensure, that
793 non remote files are still checked. Oops.
794 (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
795 PRESERVE-SELINUX-CONTEXT.
796 (tramp-do-copy-or-rename-file): Add progress reporter.
797 (tramp-do-copy-or-rename-file-directly): Do not use
798 `tramp-handle-file-remote-p'.
799 (tramp-do-copy-or-rename-file-out-of-band):
800 Use `tramp-compat-delete-directory'.
801 (tramp-do-copy-or-rename-file-out-of-band)
802 (tramp-compute-multi-hops, tramp-maybe-open-connection):
803 Use `format-spec-make'.
804 (tramp-handle-delete-file): Add TRASH arg.
805 (tramp-handle-dired-uncache): Flush directory cache, not only file
807 (tramp-handle-expand-file-name)
808 (tramp-completion-handle-file-name-all-completions)
809 (tramp-completion-handle-file-name-completion): Use
810 `tramp-connectable-p'.
811 (tramp-handle-start-file-process): Set connection property "vec".
812 Use it, in order to invalidate file caches. Check only for
813 `remote-tty' process property.
814 Implement tty setting. (Bug#4604, Bug#6360)
815 (tramp-file-name-for-operation): Add `call-process-region' and
816 `set-file-selinux-context'.
817 (tramp-find-foreign-file-name-handler)
818 (tramp-advice-make-auto-save-file-name)
819 (tramp-set-auto-save-file-modes): Remove superfluous check for
820 `stringp'. This is done inside `tramp-tramp-file-p'.
821 (tramp-file-name-handler): Trace 'quit. Catch the error for some
822 operations when we are in completion mode. This gives the user
823 the chance to correct the file name in the minibuffer.
824 (tramp-completion-mode-p): Use `non-essential'.
825 (tramp-handle-file-name-all-completions): Backward/ XEmacs
826 compatibility: Use `completion-ignore-case' if
827 `read-file-name-completion-ignore-case' does not exist.
828 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
829 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
831 (tramp-action-password): Hide password prompt before next run.
832 (tramp-process-actions): Widen connection buffer for the trace.
833 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
834 process property. Trace stty settings if `tramp-verbose' >= 9.
835 Apply workaround for IRIX64 bug. Move argument of last
836 `tramp-send-command' where it belongs to.
837 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
838 front of `login-args'.
839 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
840 on "/dev/null" instead of "/".
841 (tramp-get-ls-command-with-dired): Make test for "--dired"
843 (tramp-set-auto-save-file-modes): Adapt version check.
844 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
845 (tramp-handle-process-file): Call the program in a subshell, in
846 order to preserve working directory.
847 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
848 `tramp-remote-sh' from `tramp-methods'.
849 (tramp-get-ls-command): Make test for "--color=never" stronger.
850 (tramp-check-for-regexp): Use (forward-line 1).
852 * net/trampver.el: Update release number.
854 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
856 * help.el (help-map): Bind `C-h P' to describe-package.
858 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
860 * emacs-lisp/package.el (package-refresh-contents): Catch errors
861 when downloading archives.
862 (describe-package-1): Add package commentary.
863 (package-install-button-action): New function.
864 (package-menu-mode-map): Bind ? to package-menu-describe-package.
865 (package-menu-view-commentary): Function removed.
866 (package-list-packages-internal): Hide the `package' package too.
868 2010-08-25 Kenichi Handa <handa@m17n.org>
870 * language/misc-lang.el ("Arabic"): New language environment.
871 Setup composition-function-table for Arabic characters.
873 * international/fontset.el (setup-default-fontset): Fix typo for
874 arabic OTF spec (fini->fina).
876 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
878 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
881 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
883 * whitespace.el: Allow cleaning up blanks without blank
884 visualization (Bug#6651). Adjust help window for
885 whitespace-toggle-options (Bug#6479). Allow to use fill-column
886 instead of whitespace-line-column (from EmacsWiki). New version
888 (whitespace-style): Added new value 'face. Adjust docstring.
889 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
890 foreground property face.
891 (whitespace-line-column): Adjust docstring and type declaration.
892 (whitespace-style-value-list, whitespace-toggle-option-alist)
893 (whitespace-help-text): Adjust const initialization.
894 (whitespace-toggle-options, global-whitespace-toggle-options):
896 (whitespace-display-window, whitespace-interactive-char)
897 (whitespace-style-face-p, whitespace-color-on): Adjust code.
898 (whitespace-help-scroll): New fun.
900 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
902 * emacs-lisp/package.el (list-packages): Alias for
903 package-list-packages.
905 2010-08-24 Kevin Ryde <user42@zip.com.au>
907 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
910 * progmodes/ruby-mode.el (ruby): Add defgroup.
912 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
914 * progmodes/python.el: Add Ipython support (Bug#5390).
915 (python-shell-prompt-alist)
916 (python-shell-continuation-prompt-alist): New options.
917 (python--set-prompt-regexp): New function.
918 (inferior-python-mode, run-python, python-shell): Require
919 ansi-color. Use python--set-prompt-regexp to set the comint
920 prompt based on the Python interpreter.
921 (python--prompt-regexp): New var.
922 (python-check-comint-prompt)
923 (python-comint-output-filter-function): Use it.
924 (run-python): Use a pipe (Bug#5694).
926 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
928 * progmodes/python.el (python-send-region): Send a different
929 Python command if Ipython is in use.
930 (python-check-version): Use a Python command to find the version.
932 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
934 * mouse.el (mouse-yank-primary): Avoid setting primary when
935 deactivating the mark (Bug#6872).
937 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
939 * progmodes/python.el (python-block-pairs): Allow use of "finally"
940 with "else" (Bug#3991).
942 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
944 * net/dbus.el: Accept UNIX domain sockets as bus address.
945 (top): Don't initialize `dbus-registered-objects-table' anymore,
946 this is done in dbusbind,c.
947 (dbus-check-event): Adapt test for bus.
948 (dbus-return-values-table, dbus-unregister-service)
949 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
952 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
954 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
956 2010-08-22 Juri Linkov <juri@jurta.org>
958 * simple.el (read-extended-command): New function with the logic
959 for `completing-read' moved to Elisp from `execute-extended-command'.
960 Use `function-called-at-point' in `minibuffer-default-add-function'
961 to get a command name for M-n (bug#5364, bug#5214).
963 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
965 * startup.el (command-line-1): Issue warning for ignored arguments
966 --unibyte, etc (Bug#6886).
968 2010-08-22 Leo <sdl.web@gmail.com>
970 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
971 (ignore, bright, dim, keyword): Split list of nicknames before
972 passing to rcirc-add-or-remove (Bug#6894).
974 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
976 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
978 2010-08-22 Leo <sdl.web@gmail.com>
980 Fix buffer-list rename&refresh after killing a buffer in ido.
981 * lisp/ido.el: Revert Óscar's.
982 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
983 Remember the buffers at head, rather than their name.
984 * lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.
986 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
987 Stefan Monnier <monnier@iro.umontreal.ca>
989 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
990 extra backslash added to each line (bug#6890).
992 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
994 * subr.el (read-key): Don't echo keystrokes (bug#6883).
996 2010-08-22 Glenn Morris <rgm@gnu.org>
998 * menu-bar.el (menu-bar-games-menu): Add landmark.
1000 2010-08-22 Glenn Morris <rgm@gnu.org>
1002 * align.el (align-regexp): Make group and spacing arguments
1003 use the interactive defaults when non-interactive. (Bug#6698)
1005 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
1006 expansion, so as not to need sendmail.
1007 (mail-text-start): Remove declaration.
1008 (rmail-retry-failure): Require sendmail.
1010 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1012 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
1014 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
1016 * progmodes/flymake.el (flymake-start-syntax-check-process):
1017 Use `start-file-process' in order to let it run also on remote hosts.
1019 2010-08-22 Kenichi Handa <handa@m17n.org>
1021 * files.el: Add `word-wrap' as safe local variable.
1023 2010-08-22 Glenn Morris <rgm@gnu.org>
1025 * woman.el (woman-translate): Case matters. (Bug#6849)
1027 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1029 * simple.el (kill-region): Doc fix (Bug#6787).
1031 2010-08-22 Glenn Morris <rgm@gnu.org>
1033 * calendar/diary-lib.el (diary-header-line-format):
1034 Fit it to the window, not the frame.
1036 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
1038 * subr.el (ignore-errors): Add debug declaration.
1040 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
1042 * whitespace.el (whitespace-color-off): Remove post-command-hook
1045 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1047 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
1049 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1051 * cus-edit.el (custom-group-value-create): Add extra newline
1052 before end line (Bug#6876).
1054 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1056 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
1057 when extending it. Before killing on the second click, check if
1058 the buffer is the correct one. Doc fix.
1059 (mouse-secondary-save-then-kill): Allow usage without first
1060 calling mouse-start-secondary, by defaulting to point. Don't save
1061 an empty secondary selection. Doc fix.
1063 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1065 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
1066 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
1068 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
1069 Adjust initialization.
1070 (whitespace-bob-marker, whitespace-eob-marker)
1071 (whitespace-buffer-changed): New vars.
1072 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
1073 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1074 (whitespace-post-command-hook, whitespace-display-char-on):
1076 (whitespace-looking-back, whitespace-buffer-changed): New funs.
1077 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
1079 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * files.el (locate-file-completion-table): Only list the .el and .elc
1082 extensions if there's no other choice (bug#5955).
1084 * facemenu.el (facemenu-self-insert-data): New var.
1085 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
1087 (facemenu-add-face): Use them.
1089 * simple.el (blink-matching-open): Obey forward-sexp-function.
1091 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1093 * simple.el (prog-mode-map): New var.
1094 (prog-indent-sexp): New command.
1096 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
1098 * progmodes/prolog.el (smie): Require.
1100 * emacs-lisp/smie.el (smie-default-backward-token)
1101 (smie-default-forward-token): Strip properties.
1102 (smie-next-sexp): Be more careful with associative operators.
1103 (smie-forward-sexp-command): Generalize.
1104 (smie-backward-sexp-command): Simplify.
1105 (smie-closer-alist): New var.
1106 (smie-close-block): New command.
1107 (smie-indent-debug-log): New var.
1108 (smie-indent-offset-rule): Add a few more cases.
1109 (smie-indent-column): New function.
1110 (smie-indent-after-keyword): Use it.
1111 (smie-indent-keyword): Use it.
1112 Fix up the opener code's point position.
1113 (smie-indent-comment): Only applies at BOL.
1114 (smie-indent-debug): New command.
1116 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
1117 declarations that are useful before running the macro.
1119 2010-08-18 Joakim Verona <joakim@verona.se>
1121 * image.el (imagemagick-types-inhibit): New variable.
1122 (imagemagick-register-types): New function.
1123 * image-mode.el (image-transform-properties): New function.
1124 (image-transform-set-scale, image-transform-fit-to-height)
1125 (image-transform-set-rotation, image-transform-set-resize)
1126 (image-transform-fit-to-width, image-transform-fit-to-height):
1128 (image-toggle-display-image): Support image transforms.
1130 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
1132 * image.el (create-animated-image): Don't add heuristic mask to image
1135 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
1137 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
1138 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
1140 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
1142 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
1144 Font-lock '...' strings, plus various simplifications and fixes.
1145 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1146 (octave-font-lock-close-quotes): New function.
1147 (octave-font-lock-syntactic-keywords): New var.
1148 (octave-mode): Use it. Set beginning-of-defun-function.
1149 (octave-mode-map): Don't override the <foo>-defun commands.
1150 (octave-mode-menu): Pass it directly to easy-menu-define;
1151 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
1152 (octave-block-match-alist): Fix up last change so that
1153 octave-close-block uses the more specific keyword.
1154 (info-lookup-mode): Silence byte-compiler.
1155 (octave-beginning-of-defun): Not interactive any more.
1157 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
1158 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
1159 (octave-completion-at-point-function): Make sure point is within
1161 (octave-reindent-then-newline-and-indent):
1162 Use reindent-then-newline-and-indent.
1163 (octave-add-octave-menu): Remove.
1165 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
1167 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
1168 (report-emacs-bug-can-use-xdg-email): New functions.
1169 (report-emacs-bug): Set can-xdg-email to result of
1170 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
1171 \C-cm to report-emacs-bug-insert-to-mailer and add help text
1174 * net/browse-url.el (browse-url-default-browser): Add cond
1175 for browse-url-xdg-open.
1176 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
1178 2010-08-17 Glenn Morris <rgm@gnu.org>
1180 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
1181 (c-fontify-recorded-types-and-refs): Define for compiler.
1182 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
1185 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
1188 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
1190 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
1192 (tramp-handle-process-file): Call the program in a subshell, in
1193 order to preserve working directory.
1194 (tramp-action-password): Hide password prompt before next run.
1195 (tramp-process-actions): Widen connection buffer for the trace.
1197 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1199 * net/rcirc.el (rcirc-log-process-buffers): New option.
1200 (rcirc-print): Use it.
1201 (rcirc-generate-log-filename): New function.
1202 (rcirc-log-filename-function): Change default to
1203 rcirc-generate-log-filename (Bug#6828).
1205 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
1207 * simple.el (deactivate-mark): If select-active-regions is `only',
1208 only set selection for temporarily active regions.
1210 * cus-start.el: Change defcustom for select-active-regions.
1212 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
1214 * mouse.el (mouse--drag-set-mark-and-point): New function.
1215 (mouse-drag-track): Use LOCATION arg to push-mark.
1216 Use mouse--drag-set-mark-and-point to take click-count into
1217 consideration when updating point and mark (Bug#6840).
1219 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
1221 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1222 Give the Ruby rule a lower priority than Gnu (Bug#6778).
1224 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
1226 * font-lock.el (lisp-font-lock-keywords-2):
1227 Add combine-after-change-calls, condition-case-no-debug,
1228 with-demoted-errors, and with-silent-modifications (Bug#6025).
1230 2010-08-14 Kevin Ryde <user42@zip.com.au>
1232 * emacs-lisp/copyright.el (copyright-update-year)
1233 (copyright-update): Temporary switch-to-buffer to ensure the
1234 buffer change being queried is visible (Bug#5394).
1236 2010-08-14 Tom Tromey <tromey@redhat.com>
1238 * progmodes/etags.el (tags-file-name): Mark safe if stringp
1241 2010-08-14 Eli Zaretskii <eliz@gnu.org>
1243 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
1246 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
1248 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
1249 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
1250 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
1251 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
1252 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
1253 Call menu-bar-set-tool-bar-position.
1255 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
1258 comment style (bug#6834).
1259 * progmodes/scheme.el (scheme-mode-syntax-table):
1260 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
1261 "b" flag in "' 14b" syntax.
1263 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
1264 for (un)commenting the region and performing completion.
1265 (octave-mode-menu): Use standard commands for help and completion.
1266 (octave-mode-syntax-table): Support %{..%} comments (sort of).
1267 (octave-mode): Use define-derived-mode.
1268 Set completion-at-point-functions and don't set columns.
1269 Don't disable adaptive-fill-regexp.
1270 (octave-describe-major-mode, octave-comment-region)
1271 (octave-uncomment-region, octave-comment-indent)
1272 (octave-indent-for-comment): Remove.
1273 (octave-indent-calculate): Rename from calculate-octave-indent.
1274 (octave-indent-line, octave-fill-paragraph): Update caller.
1275 (octave-initialize-completions): No need to make an alist.
1276 (octave-completion-at-point-function): New function.
1277 (octave-complete-symbol): Use it.
1278 (octave-insert-defun): Use define-skeleton.
1280 * progmodes/octave-mod.el (octave-mode): Set comment-add.
1281 (octave-mode-map): Use comment-dwim (bug#6829).
1283 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
1285 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
1286 indentation of inserted comment.
1288 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1290 * faces.el (region): Add type gtk that uses gtk colors.
1292 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1293 Handle theme-name change.
1295 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
1297 * progmodes/sql.el: Version 2.5
1298 (sql-product-alist): Add :prompt-cont-regexp property for several
1300 (sql-prompt-cont-regexp): New variable.
1301 (sql-output-newline-count, sql-output-by-send):
1302 New variables. Record number of newlines in input text.
1303 (sql-send-string): Handle multiple filters and count newlines.
1304 (sql-send-magic-terminator): Count terminator newline.
1305 (sql-interactive-remove-continuation-prompt): Filters output to
1306 remove continuation prompts; one for each newline.
1307 (sql-interactive-mode): Set up new variables, prompt regexp and
1309 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
1310 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
1312 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * emacs-lisp/pcase.el: New file.
1316 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
1318 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
1319 as here-document, otherwise the command could exceed maximum
1320 length of command line.
1321 (tramp-handle-vc-registered): Call script accordingly.
1322 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
1324 2010-08-10 Kenichi Handa <handa@m17n.org>
1326 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
1329 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
1331 * emacs-lisp/package.el (package-version-split)
1332 (package--version-first-nonzero, package-version-compare):
1334 (package-directory-list, package-load-all-descriptors)
1335 (package--built-in, package-activate, define-package)
1336 (package-installed-p, package-compute-transaction)
1337 (package-read-all-archive-contents)
1338 (package--add-to-archive-contents, package-buffer-info)
1339 (package-tar-file-info, package-list-packages-internal):
1340 Use version-to-list and version-list-*.
1342 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1343 Use version-to-list.
1344 (package-upload-buffer-internal): Use version-list-<=.
1346 2010-08-09 Kenichi Handa <handa@m17n.org>
1348 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
1351 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
1353 * tutorial.el (tutorial--default-keys): C-d is now bound to
1354 delete-forward-char (Bug#6826).
1356 * mouse.el (mouse-drag-track): Remove accidentally-removed check
1357 for `double' value of mouse-1-click-follows-link (Bug#6807).
1359 2010-08-08 Johan Bockgård <bojohan@gnu.org>
1361 * replace.el (replace-highlight): Bind isearch-forward and
1362 isearch-error, ensuring that highlighting is updated if the user
1363 switches the search direction (Bug#6808).
1365 * isearch.el (isearch-lazy-highlight-forward): New var.
1366 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1367 (isearch-lazy-highlight-update): Use it.
1369 2010-08-08 Kenichi Handa <handa@m17n.org>
1371 * international/mule.el (define-charset): Store NAME as :base property.
1372 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
1373 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
1374 current priority. Force using the designation of the specific
1375 charset by adding `charset' text property. Improve the whole algorithm.
1377 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1379 * emulation/pc-select.el (pc-selection-mode-hook)
1380 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
1381 (pc-selection-mode): Fix typos in docstrings.
1383 2010-08-08 Kenichi Handa <handa@m17n.org>
1385 * language/cyrillic.el: Don't add "microsoft-cp1251" to
1386 ctext-non-standard-encodings-alist here.
1388 * international/mule.el (ctext-non-standard-encodings-alist):
1389 Add "koi8-r" and "microsoft-cp1251".
1390 (ctext-standard-encodings): New variable.
1391 (ctext-non-standard-encodings-table): List only elements for
1392 non-standard encodings.
1393 (ctext-pre-write-conversion): Adjust for the above change.
1394 Check ctext-standard-encodings.
1396 * international/mule-conf.el (compound-text): Doc fix.
1397 (ctext-no-compositions): Doc fix.
1398 (compound-text-with-extensions): Doc fix.
1400 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
1404 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1406 * progmodes/which-func.el (which-func-format): Split help-echo text
1407 into lines, like other mode-line tooltips.
1409 * server.el (server-start): When using TCP sockets, force IPv4
1410 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
1412 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1414 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
1416 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1418 * term.el (term-delimiter-argument-list): Reflow docstring.
1419 (term-read-input-ring, term-write-input-ring, term-send-input)
1420 (term-bol, term-erase-in-display, serial-supported-or-barf):
1421 Fix typos in docstrings.
1423 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
1427 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1429 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
1431 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
1433 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
1434 Fix typo in docstring (bug#6747).
1436 2010-08-08 Leo <sdl.web@gmail.com>
1438 * eshell/esh-io.el (eshell-get-target): Better detection of
1439 read-only file (Bug#6762).
1441 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1443 * align.el (align-default-spacing): Doc fix.
1444 (align-region-heuristic, align-regexp): Fix typos in docstrings.
1446 2010-08-08 Stephen Peters <speters@itasoftware.com>
1448 * calendar/icalendar.el
1449 (icalendar--split-value): Fixed splitting regexp. (Bug#6766)
1450 (icalendar--get-weekday-numbers): New
1451 (icalendar--convert-recurring-to-diary): Handle multiple byday
1452 values in weekly rules. (Bug#6766)
1454 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
1456 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
1457 (icalendar--create-uid, icalendar-export-region)
1458 (icalendar--parse-summary-and-rest): Code formatting.
1460 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1462 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
1463 to italicize headers.
1464 (calc-highlight-selections-with-faces): New variable.
1465 (calc-selected-face, calc-nonselected-face): New faces.
1467 * calc/calccomp.el (math-comp-highlight-string): Use
1468 `calc-highlight-selections-with-faces' to determine how to highlight
1471 * calc/calc-sel.el (calc-show-selections): Change message to when
1472 using faces to highlight selections.
1474 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
1476 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
1477 Add SQLite 3 keywords, functions and datatypes.
1478 (sql-interactive-mode): Remove `comint-process-echoes' set to t
1481 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
1483 * simple.el (select-active-regions): Move to keyboard.c.
1484 (deactivate-mark): Used saved-region-selection.
1485 (select-active-region): Function removed.
1486 (activate-mark, set-mark, push-mark-command)
1487 (handle-shift-selection): Don't call it.
1488 (keyboard-quit): Avoid adding the region to the window selection.
1490 * mouse.el (mouse-drag-track): Remove hacks to deal with old
1491 select-active-regions implementation.
1492 (mouse-yank-at-click): Doc fix.
1494 * cus-start.el: Add custom declaration for select-active-regions.
1496 2010-08-07 Eli Zaretskii <eliz@gnu.org>
1498 * simple.el (delete-forward-char): Doc fix.
1500 * tutorial.el (help-with-tutorial): Hack safe file-local variables
1501 after reading the tutorial.
1503 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
1505 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
1506 for the case that a C style comment has its delimiters alone on
1507 their respective lines.
1509 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
1511 * net/tramp.el (tramp-handle-start-file-process): Set connection
1513 (tramp-process-sentinel): Use it for flushing the cache. We
1514 cannot do it via the process buffer, the buffer could be deleted
1515 already when running the sentinel.
1517 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1519 * comint.el (comint-mode): Make directory tracking functions
1520 functional on remote files. (Bug#6764)
1522 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1524 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
1526 2010-08-05 Eli Zaretskii <eliz@gnu.org>
1528 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
1529 unexec.c => unexcoff.c.
1531 * emacs-lisp/authors.el (authors-fixed-entries): Rename
1532 unexec.c => unexcoff.c.
1534 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
1536 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
1537 cache, not only file cache.
1538 (tramp-process-sentinel): New defun.
1539 (tramp-handle-start-file-process): Use it, in order to invalidate
1542 2010-08-03 Leo <sdl.web@gmail.com>
1544 * server.el (server-start): Simplify loop.
1546 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * frame.el (screen-height, screen-width, set-screen-width)
1549 (set-screen-height): Remove ancient compatibility aliases.
1551 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
1552 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
1554 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
1555 that change current buffer.
1557 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1559 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
1560 beginning of the string. Use `string-match-p'. (Bug#6765)
1562 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
1564 * cus-start.el (x-gtk-use-system-tooltips): New variable.
1566 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
1568 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
1569 (package--builtins): Tweak descriptions.
1570 (package-print-package): Upcase descriptions if necessary.
1571 Show all built-in packages in font-lock-builtin-face.
1572 (package-list-packages-internal): Omit "emacs" package.
1573 Show status of built-in packages as "built-in".
1575 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
1577 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
1578 before killing to preserve the primary selection (Bug#6701).
1580 * term/x-win.el (x-select-text): Doc fix.
1582 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
1584 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
1585 The following functions were modified or created:
1587 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
1588 (objc-font-lock-extra-types):
1589 * progmodes/cc-mode.el (c-basic-common-init):
1590 * progmodes/cc-langs.el (c-make-mode-syntax-table)
1591 (c++-make-template-syntax-table)
1592 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
1593 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
1594 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
1595 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
1596 * progmodes/cc-fonts.el (c-make-inverse-face)
1597 (c-basic-matchers-after):
1598 * progmodes/cc-engine.el (c-forward-keyword-clause)
1599 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
1600 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
1601 (c-guess-continued-construct, c-guess-basic-syntax):
1603 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
1605 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
1607 2010-07-31 Eli Zaretskii <eliz@gnu.org>
1609 * files.el (bidi-paragraph-direction): Define safe local values.
1611 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
1612 language-info-alist. Remove outdated FIXME in a comment.
1614 2010-07-31 Alan Mackenzie <acm@muc.de>
1616 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
1617 Auto-fill broken in C/C++ modes.
1619 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
1621 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
1622 (menu-bar-showhide-tool-bar-menu-customize-disable)
1623 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
1624 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
1625 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
1626 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
1627 make a menu for Options => toolbar that can move it.
1629 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
1631 * emacs-lisp/package-x.el (package--make-rss-entry):
1632 (package-maint-add-news-item, package--update-news)
1633 (package-upload-buffer-internal): New arg ARCHIVE-URL.
1635 * emacs-lisp/package.el (package-archive-url): Rename from
1637 (package-install): Doc fix.
1638 (package-download-single, package-download-tar, package-install)
1639 (package-menu-view-commentary): Callers changed.
1641 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
1643 * net/tramp.el (tramp-handle-start-file-process): Check only for
1644 `remote-tty' process property.
1645 (tramp-open-shell): Don't check for tty.
1646 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1649 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
1652 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
1654 * emacs-lisp/package.el (package-load-list, package-archives)
1655 (package-archive-contents, package-user-dir)
1656 (package-directory-list, package--builtins, package-alist)
1657 (package-activated-list, package-obsolete-alist): Mark as risky.
1659 2010-07-28 Phil Hagelberg <phil@evri.com>
1661 Add support for non-default package repositories.
1662 * emacs-lisp/package.el (package-archive-base): Var deleted.
1663 (package-archives): New variable.
1664 (package-archive-contents): Doc fix.
1665 (package-load-descriptor): Do nothing if descriptor file is missing.
1666 (package--write-file-no-coding): New function.
1667 (package-unpack-single): Use it.
1668 (package-archive-id): New function.
1669 (package-download-single, package-download-tar)
1670 (package-menu-view-commentary): Use it.
1671 (package-installed-p): Make second argument optional.
1672 (package-read-all-archive-contents): New function.
1673 (package-initialize): Use it.
1674 (package-read-archive-contents): Add ARCHIVE argument.
1675 (package--add-to-archive-contents): New function.
1676 (package-install): Don't call package-read-archive-contents.
1677 (package--download-one-archive): Store archive file in a
1678 subdirectory of package-user-dir.
1679 (package-menu-execute): Remove spurious line movement.
1681 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
1683 * cus-start.el (tool-bar-style): Add text-image-horiz.
1685 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
1687 * progmodes/gud.el (gud-common-init): Check for remoteness of
1688 `file', and not of `default-directory'.
1690 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
1692 * net/tramp.el (tramp-methods): Move hostname to the end in all
1693 ssh `tramp-login-args'.
1694 (tramp-verbose): Describe verbose level 9.
1695 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
1696 (tramp-open-connection-setup-interactive-shell): Trace stty
1697 settings if `tramp-verbose' >= 9.
1698 (tramp-handle-start-file-process): Implement tty setting.
1699 (Bug#4604, Bug#6360)
1701 * net/tramp-cmds.el (tramp-bug): Recommend setting of
1702 `tramp-verbose' to 9.
1704 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
1706 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
1707 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
1708 Remove references to package `lisp-re' (bug#4369).
1710 2010-07-27 Tom Tromey <tromey@redhat.com>
1712 * progmodes/js.el (js-mode):
1713 * progmodes/make-mode.el (makefile-mode):
1714 * progmodes/simula.el (simula-mode):
1715 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
1717 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
1719 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
1721 * cedet/semantic/db-file.el (object-write): Fix typo in docstring.
1723 * time.el (display-time-day-and-date): Remove spurious * in docstring.
1724 (display-time-world-buffer-name, display-time-world-mode-map):
1725 Fix typos in docstrings.
1727 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
1729 * image-mode.el (image-display-size): New function.
1730 (image-forward-hscroll, image-next-line, image-eol, image-eob)
1731 (image-mode-fit-frame): Use it (Bug#6639).
1733 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
1735 * dired.el (dired-buffers-for-dir): Handle list values of
1736 dired-directory (Bug#6636).
1738 2010-07-26 Sam Steingold <sds@gnu.org>
1740 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1741 Do not call `x-get-selection' the second time, reuse the value.
1743 2010-07-26 Daiki Ueno <ueno@unixuser.org>
1745 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
1746 which consist of control chars only. Suggested by Richard Stallman.
1748 2010-07-25 Daiki Ueno <ueno@unixuser.org>
1750 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
1751 exists before passing an error to find-file-not-found-functions
1754 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
1756 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
1757 Remove leading nil element, adjust values.
1758 (tetris-shapes, tetris-shape-scores):
1759 Change representation of shapes and remove some redundancy.
1760 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
1761 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
1762 Adjust for working with new representation of shapes.
1763 (tetris-shape-rotations): New function.
1764 (tetris-move-bottom, tetris-move-left, tetris-move-right)
1765 (tetris-rotate-prev, tetris-rotate-next):
1766 Adjust for working with the new version of tetris-test-shape.
1768 2010-07-23 Markus Triska <markus.triska@gmx.at>
1770 * progmodes/ps-mode.el: Use comint (bug#5954).
1771 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
1772 (ps-mode-other-newline): Simplify.
1773 (ps-run-mode): Derive from comint-mode instead of
1774 fundamental-mode, yielding input history etc.
1775 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
1776 (ps-run-send-string): Adapt for comint-mode.
1777 (ps-run-newline): Remove now unneeded function.
1779 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
1781 * net/tramp.el (tramp-methods): Move hostname to the end in all
1782 plink `tramp-login-args'.
1784 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
1786 * net/tramp.el (tramp-open-shell): New defun.
1787 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1790 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
1792 * net/tramp.el (tramp-file-name-regexp-unified)
1793 (tramp-completion-file-name-regexp-unified): On W32 systems, do
1794 not regard the volume letter as remote filename. (Bug#5447)
1796 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
1798 * custom.el (custom-declare-variable): Give a clearer error message
1799 when the docstring is missing (bug#6476).
1801 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
1803 * progmodes/sql.el: Version 2.4. Improved Login prompting.
1804 (sql-login-params): New widget definition.
1805 (sql-oracle-login-params, sql-mysql-login-params)
1806 (sql-solid-login-params, sql-sybase-login-params)
1807 (sql-informix-login-params, sql-ingres-login-params)
1808 (sql-ms-login-params, sql-postgres-login-params)
1809 (sql-interbase-login-params, sql-db2-login-params)
1810 (sql-linter-login-params): Use it.
1811 (sql-sqlite-login-params): Use it; Define "database" parameter as
1813 (sql-sqlite-program): Change to "sqlite3".
1814 (sql-comint-sqlite): Make sure database name is complete.
1815 (sql-for-each-login): New function.
1816 (sql-connect, sql-save-connection): Use it.
1817 (sql-get-login-ext): New function.
1818 (sql-get-login): Use it.
1819 (sql-make-alternate-buffer-name): Handle :file parameters.
1821 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
1823 * dired.el (dired-no-confirm): Document value t and fix defcustom to
1824 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
1826 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
1828 * dired.el (dired-mode-map): Use command remapping (bug#6632).
1830 2010-07-22 Lawrence Mitchell <wence@gmx.li>
1832 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
1834 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
1836 * net/tramp.el (tramp-get-ls-command)
1837 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
1840 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
1842 * progmodes/sql.el: Version 2.3.
1843 (sql-connection-alist): Changed keys from symbols to strings;
1844 enhanced the widget definition.
1845 (sql-mode-menu): Added submenu to select connections.
1846 (sql-interactive-mode-menu): Added "Save Connection" item.
1847 (sql-add-product): Fixed menu item.
1848 (sql-get-product-feature): Improved error handling.
1849 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
1850 (sql-make-alternate-buffer-name): Simplified.
1851 (sql-product-interactive): Handle missing product.
1852 (sql-connect): Support string keys, minor improvements.
1853 (sql-save-connection): New function.
1854 (sql-connection-menu-filter): New function.
1856 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
1858 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
1859 (tramp-open-connection-setup-interactive-shell): Apply
1860 workaround for IRIX64 bug. Move argument of last
1861 `tramp-send-command' where it belongs to.
1863 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
1865 * net/tramp.el (tramp-perl-file-attributes)
1866 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1867 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1868 front of `login-args'.
1870 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
1872 * time.el (display-time-world-mode): Define with `define-derived-mode'.
1873 Set `show-trailing-whitespace' to nil.
1874 (display-time-world-display): Simplify.
1876 2010-07-18 Alan Mackenzie <acm@muc.de>
1878 Enhance `c-file-style' in file/directory local variables.
1879 * progmodes/cc-mode.el (c-count-cfss): New function.
1880 (c-before-hack-hook): Call `c-set-style' differently according to
1881 whether c-file-style was set in file or directory local
1884 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
1886 * progmodes/sql.el: Version 2.2.
1887 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
1888 defcustom :safe keyword rather than putting safe-local-variable
1890 (sql-password): Use defcustom :risky keyword rather than putting
1891 risky-local-variable property.
1892 (sql-oracle-login-params, sql-sqlite-login-params)
1893 (sql-solid-login-params, sql-sybase-login-params)
1894 (sql-informix-login-params, sql-ingres-login-params)
1895 (sql-ms-login-params, sql-postgres-login-params)
1896 (sql-interbase-login-params, sql-db2-login-params)
1897 (sql-linter-login-params): Add `port' option.
1898 (sql-get-product-feature): Added NO-INDIRECT parameter.
1899 (sql-comint-oracle, sql-comint-sybase)
1900 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
1901 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
1902 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
1903 (sql-comint-linter): Renamed sql-connect-* functions to
1905 (sql-product-alist, sql-mode-menu): Renamed as above and
1906 :sqli-connect-func to :sqli-comint-func.
1907 (sql-connection): New variable.
1908 (sql-interactive-mode): Set it.
1909 (sql-connection-alist): New variable.
1910 (sql-connect): New function.
1911 (sql--alt-buffer-part, sql--alt-if-not-empty)
1912 (sql-make-alternate-buffer-name): Improved alternative buffer name.
1914 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1916 * image-mode.el (image-bookmark-make-record): Do not set context
1917 in an image (Bug#6650).
1919 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
1921 * simple.el (select-active-region): New function.
1922 (push-mark-command, set-mark, activate-mark)
1923 (handle-shift-selection): Use it.
1924 (deactivate-mark): Don't check for size of region.
1926 * mouse.el (mouse-drag-track): Use select-active-region.
1928 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
1930 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
1933 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
1935 * term/x-win.el (x-select-enable-primary): Change default to nil.
1936 (x-select-enable-clipboard): Add :version keyword.
1938 * mouse.el (mouse-drag-copy-region):
1939 * simple.el (select-active-regions): Likewise.
1941 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
1943 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
1944 (vc-coding-system-for-diff): Use it to decide whether to inherit
1945 from the file the EOL format for reading the diffs of that file.
1948 2010-07-16 Eli Zaretskii <eliz@gnu.org>
1950 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
1951 unibyte, so compressed attachments are not compressed again.
1953 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
1955 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
1956 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
1957 (tramp-find-shell): Simplify setting connection property.
1958 (tramp-get-ls-command): Make test for "--color=never" stronger.
1960 2010-07-15 Simon South <ssouth@member.fsf.org>
1962 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
1963 blocks within record declarations (i.e. variant parts) correctly.
1965 2010-07-15 Simon South <ssouth@member.fsf.org>
1967 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
1968 over literal tokens when parsing so newlines aren't "absorbed" by
1969 single-line comments. Corrects the indentation of case blocks
1970 that have a comment on the first line.
1972 2010-07-14 Karl Fogel <kfogel@red-bean.com>
1974 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
1975 by Drew Adams (Bug#5504).
1977 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
1979 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
1980 now that Unicode is used (Bug#6594).
1982 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
1984 * term/x-win.el (x-select-enable-clipboard): Default to t.
1985 (x-initialize-window-system): Don't overwrite Paste menu item.
1987 * simple.el (select-active-regions): Default to t.
1988 (push-mark-command): Don't overwrite primary with empty string.
1990 * mouse.el: Bind mouse-2 to mouse-yank-primary.
1991 (mouse-drag-copy-region): Default to nil.
1993 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
1994 Cut/Copy/Paste menu bar items.
1996 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1998 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
1999 Patch applied by Karl Fogel.
2001 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
2002 and `bookmark-current-buffer' if they have been already set in
2003 another buffer (e.g gnus-art).
2005 2010-07-13 Karl Fogel <kfogel@red-bean.com>
2006 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2008 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
2010 * bookmark.el (bookmark-make-record-default): Allow unneeded
2011 information to be omitted from the record.
2013 Adjust declarations and calls:
2015 * info.el (bookmark-make-record-default): Adjust declaration.
2016 (Info-bookmark-make-record): Adjust call.
2018 * woman.el (bookmark-make-record-default): Adjust declaration.
2019 (woman-bookmark-make-record): Adjust call.
2021 * man.el (bookmark-make-record-default): Adjust declaration.
2022 (Man-bookmark-make-record): Adjust call.
2024 * image-mode.el (bookmark-make-record-default): Adjust declaration.
2026 * doc-view.el (bookmark-make-record-default): Adjust declaration.
2028 2010-07-13 Karl Fogel <kfogel@red-bean.com>
2030 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
2031 This is also from Thierry Volpiatto's patch in bug #6444. However,
2032 because it was extraneous to the functional change in that patch,
2033 and causes a re-indendation, I am committing it separately.
2035 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2037 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
2038 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
2039 Patch applied by Karl Fogel (Bug#6444).
2041 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
2043 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
2045 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
2047 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
2048 Dempsky; bug#5084). Remove incorrect binding for S-tab.
2049 (ns-alternatives-map): Change S-tab binding to backtab
2052 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
2055 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
2057 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
2060 * language/tv-util.el (tai-viet-re): Remove format.
2062 2010-07-12 Kenichi Handa <handa@m17n.org>
2064 * language/hebrew.el: Remove no-byte-compile declaration.
2065 Change coding: tag to utf-8. Register hebrew-shape-gstring in
2066 composition-function-table for 3-character looking back.
2067 (hebrew-font-get-precomposed): New function.
2068 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
2070 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
2072 * mouse.el (mouse-drag-track): Handle select-active-regions
2075 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
2077 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2078 empty argument to gvfs-copy.
2080 2010-07-10 Glenn Morris <rgm@gnu.org>
2082 * calendar/calendar.el (calendar-week-end-day): New function.
2083 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
2084 Respect calendar-week-start-day. (Bug#6606)
2085 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
2086 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
2087 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
2088 respect calendar-week-start-day.
2090 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
2092 * simple.el (use-region-p): Doc fix (Bug#6607).
2094 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
2096 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
2097 regexps for cucumber and ruby.
2099 2010-07-08 Daiki Ueno <ueno@unixuser.org>
2101 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
2102 (epa-file-insert-file-contents): Hack to prevent
2103 find-file from opening empty buffer when decryption failed
2106 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
2108 * textmodes/ispell.el (ispell-alternate-dictionary):
2109 Use file-readable-p.
2110 Return nil if no word-list is found at default locations.
2111 (ispell-complete-word-dict): Default to nil.
2112 (ispell-command-loop): Use 'word-list' when using lookup-words.
2113 (lookup-words): Use ispell-complete-word-dict or
2114 ispell-alternate-dictionary. Check for word-list availability
2115 and handle errors if needed with better messages (Bug#6539).
2116 (ispell-complete-word): Use ispell-complete-word-dict or
2117 ispell-alternate-dictionary.
2119 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
2121 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
2122 builtins (BufferError, BytesWarning, WindowsError; callables
2123 bin, bytearray, bytes, format, memoryview, next, print; __package__).
2125 2010-07-07 Glenn Morris <rgm@gnu.org>
2127 * play/zone.el (top-level): Do not require timer, tabify, or cl.
2128 (zone-shift-left): Ignore intangibility, and any errors from
2130 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
2131 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
2132 deleting, and copying text properties.
2133 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
2134 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
2135 to point-max is hard.
2136 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
2137 (zone-fill-out-screen): Ignore intangibility.
2139 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
2141 * menu-bar.el (menu-bar-mode):
2142 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
2145 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
2146 word/line selection (Bug#6565).
2148 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
2150 * net/dbus.el (dbus-send-signal): Declare function.
2152 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
2154 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
2155 (dbus-register-property): New optional argument EMITS-SIGNAL.
2156 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
2158 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
2160 * mouse.el (mouse-drag-overlay): Variable deleted.
2161 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
2162 (mouse--remap-link-click-p): New function.
2163 (mouse-drag-track): Handle dragging by using temporary Transient
2164 Mark mode, instead of a special overlay.
2165 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
2168 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
2171 2010-07-02 Juri Linkov <juri@jurta.org>
2173 * autoinsert.el (auto-insert-alist): Fix readability
2174 by using dotted pair notation for lambda.
2176 2010-07-02 Juri Linkov <juri@jurta.org>
2178 * faces.el (read-face-name): Rename arg `string-describing-default'
2179 to `default'. Doc fix. Display the default value in quotes
2180 in the prompt. With empty input, return the `default' arg,
2181 unless the default value is a string (in which case return nil).
2182 (describe-face): Replace the string `default' arg of `read-face-name'
2183 with the symbol `default'.
2185 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
2187 * emulation/viper-cmd.el (viper-delete-backward-char)
2188 (viper-del-backward-char-in-insert)
2189 (viper-del-backward-char-in-replace, viper-change)
2190 (viper-backward-indent): Replace delete-backward-char with
2191 delete-char (Bug#6552).
2193 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
2195 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
2197 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2199 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
2200 argument passed to frame-creation-function (Bug#5378).
2202 * faces.el (x-handle-named-frame-geometry)
2203 (x-handle-reverse-video, x-create-frame-with-faces)
2204 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
2205 separately consult default-frame-alist. It is now passed as the
2208 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
2210 * startup.el (command-line): Don't call tool-bar-setup in a
2213 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2215 * ruler-mode.el (ruler--save-header-line-format): New fun.
2216 (ruler-mode): Use it as a setter function, so as not to overwrite
2217 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
2219 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
2221 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
2222 (vc-root-diff, vc-print-root-log, vc-log-incoming)
2223 (vc-log-outgoing): Use it.
2224 (vc-diff-internal): Set diff-vc-backend.
2226 * vc/diff-mode.el (diff-vc-backend): New var.
2228 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
2230 * dynamic-setting.el (font-setting-change-default-font): Remove
2233 2010-06-28 Kenichi Handa <handa@m17n.org>
2235 * international/quail.el (quail-insert-kbd-layout): Fix the
2236 showing of untranslated characters.
2238 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
2240 * simple.el (delete-active-region): New option.
2241 (delete-backward-char): Implement in Lisp.
2242 (delete-forward-char): New command.
2244 * mouse.el (mouse-region-delete-keys): Deleted.
2245 (mouse-show-mark): Simplify.
2247 * bindings.el (global-map): Bind delete and DEL, the former to
2248 delete-forward-char.
2250 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
2252 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
2253 (ruby-mode): Bind indent-line-function (Bug#5119).
2255 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
2257 * startup.el (command-line): Recognize "0" X resource value.
2259 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
2261 * startup.el (command-line): Use X resources to set the value of
2262 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
2264 * menu-bar.el (menu-bar-mode):
2265 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
2266 Set init-value to t.
2268 * frame.el (frame-notice-user-settings): Don't change
2269 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
2270 vice versa (Bug#2249).
2272 2010-06-26 Eli Zaretskii <eliz@gnu.org>
2274 * w32-fns.el (w32-convert-standard-filename): Doc fix.
2276 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
2278 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
2279 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
2281 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
2282 default directories are expanded (Bug#6143).
2284 2010-06-24 Juri Linkov <juri@jurta.org>
2286 * minibuffer.el (completions-format): Change default from nil to
2287 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
2289 2010-06-24 Juri Linkov <juri@jurta.org>
2291 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
2292 buffer-locally to lambda that re-runs the vc diff command.
2295 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
2297 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
2298 echo area is in use (Bug#3412).
2300 2010-06-22 Glenn Morris <rgm@gnu.org>
2302 * textmodes/texinfmt.el (texinfo-format-region)
2303 (texinfo-raise-lower-sections, texinfo-format-separate-node)
2304 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
2305 (texinfo-format-option, texinfo-noindent):
2306 Use line-beginning-position and line-end-position.
2308 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
2309 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
2310 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
2313 2010-06-21 Karl Fogel <kfogel@red-bean.com>
2315 * play/zone.el (zone-fall-through-ws): Fix next-line ->
2316 forward-line fallout.
2318 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
2320 * mouse.el (mouse-appearance-menu): Add docstring.
2322 * help.el (describe-key): Print up-event using key-description.
2324 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
2326 * net/zeroconf.el (zeroconf-resolve-service)
2327 (zeroconf-service-resolver-handler): Use
2328 `dbus-byte-array-to-string'.
2329 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
2331 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
2333 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
2335 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
2337 Avoid displaying files with a nil state in vc-dir.
2338 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
2339 cases that cause insertion.
2340 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
2343 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2345 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
2347 2010-06-29 Leo <sdl.web@gmail.com>
2349 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
2351 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2353 * generic-x.el (bat-generic-mode): Fix regexp for command line
2354 switches (Bug#5719).
2356 2010-06-27 Masatake YAMATO <yamato@redhat.com>
2358 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
2359 of nconc to avoid pure storage error (Bug#6239).
2361 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
2363 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
2364 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
2365 bindings of bookmark-automatically-show-annotations (Bug#6515).
2367 2010-06-25 Eli Zaretskii <eliz@gnu.org>
2369 * arc-mode.el (archive-zip-extract): Don't quote the file name on
2370 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
2372 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
2374 * comint.el (make-comint, make-comint-in-buffer): Mention return
2375 value in the docstrings. (Bug#6498)
2377 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
2379 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
2380 since it is not present when using some non-default switches.
2382 2010-06-23 Karl Fogel <kfogel@red-bean.com>
2384 * simple.el (compose-mail): Fix doc string to refer to
2385 `compose-mail-user-agent-warnings', instead of to the
2386 nonexistent `compose-mail-check-user-agent'.
2388 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
2390 Fix an indentation bug:
2392 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
2393 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
2396 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
2397 (c-clear->-pair-props-if-match-before): now return t when they've
2398 cleared properties, nil otherwise.
2399 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
2400 by taking account of the existing value.
2402 * progmodes/cc-defs.el
2403 (c-clear-char-property-with-value-function): Fix this to clear the
2404 property rather than overwriting it with nil.
2406 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
2408 * emacs-lisp/package.el (package-print-package): Add link to
2409 package description via describe-package.
2410 (describe-package-1): List package requirements. Add button to
2411 perform installation.
2412 (package-menu-describe-package): New command.
2414 * help-mode.el (help-package): New button type.
2416 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
2418 * emacs-lisp/package.el: Move package-list-packages binding to
2420 (describe-package, describe-package-1, package--dir): New funs.
2421 (package-activate-1): Use package--dir.
2423 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
2425 * help-mode.el (help-package-def): New button type.
2427 * menu-bar.el: Move package-list-packages binding here from
2430 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
2432 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
2434 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2436 * emacs-lisp/edebug.el (edebug-read-list):
2437 Phase out old-style backquotes.
2439 2010-06-17 Juri Linkov <juri@jurta.org>
2441 * help-mode.el (help-mode): Set buffer-local variable
2442 revert-buffer-function to help-mode-revert-buffer.
2443 (help-mode-revert-buffer): New function.
2445 * info.el (Info-revert-find-node): Check for major-mode Info-mode
2446 before popping to "*info*" (like in other Info functions).
2447 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
2448 old-history-forward. Pop to old-buffer-name or "*info*" to
2449 recreate the killed buffer. Set Info-history-forward from
2450 old-history-forward.
2451 (Info-breadcrumbs-depth): Add :group and :version.
2453 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
2455 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
2457 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
2459 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
2460 for languages like Portuguese with pt_{BR,PT} and no plain pt.
2462 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
2464 * emacs-lisp/package.el (package-menu-mode-map):
2465 Move initialization into declaration.
2467 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
2469 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
2471 * emacs-lisp/package.el (package-archive-base): Point to
2473 (package-enable, package-load-list): New defcustoms.
2474 (package-user-dir, package-directory-list): Turn into defcustoms.
2475 Don't include package-user-dir in package-directory-list.
2476 (package--builtins-base): Don't include Emacs as a "package".
2477 (package-subdirectory-regexp): New var.
2478 (package-load-all-descriptors, package-compute-transaction)
2479 (package-download-transaction): Obey package-load-list.
2480 (package-activate-1): Rename from package-do-activate.
2481 (package-list-packages-internal): Check package-load-list.
2482 (package-load-descriptor, package-generate-autoloads)
2483 (package-unpack, package-unpack-single)
2484 (package--read-archive-file, package-delete): Use
2487 * emacs-lisp/package-x.el: New file. Package uploading
2488 functionality split out from package.el.
2490 * startup.el (command-line): Load packages after reading init
2493 2010-06-17 Tom Tromey <tromey@redhat.com>
2495 * emacs-lisp/package.el: New file.
2497 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
2499 Fix vc-annotate for renamed files when using Git.
2500 * vc-git.el (vc-git-find-revision): Deal with empty results from
2501 ls-files. Doe not pass the object as a file name to cat-file, it
2503 (vc-git-annotate-command): Pass the file name using -- to avoid
2504 ambiguity with the revision.
2505 (vc-git-previous-revision): Pass a relative file name.
2507 2010-06-22 Glenn Morris <rgm@gnu.org>
2509 * progmodes/js.el (js-mode-map): Use standard capitalization and
2510 ellipses for menu entries.
2512 * wid-edit.el (widget-complete): Doc fix.
2514 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
2516 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
2518 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
2520 Fix annotating other revisions for renamed files in vc-annotate.
2521 * vc-annotate.el (vc-annotate): Add an optional argument for the
2522 VC backend. Use it when non-nil.
2523 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
2526 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
2527 * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2528 Do not pass the file name to the 'previous-revision call when we
2529 don't want a file diff. (Bug#6489)
2531 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
2533 Fix finding revisions for renamed files in vc-annotate.
2534 * vc.el (vc-find-revision): Add an optional argument for
2535 the VC backend. Use it when non-nil.
2536 * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
2537 backend to vc-find-revision. (Bug#6487)
2539 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
2541 Fix reading file names in Git annotate buffers.
2542 * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove
2543 trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
2545 2010-06-20 Alan Mackenzie <acm@muc.de>
2547 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
2548 in file local variables, set it first.
2550 2010-06-19 Glenn Morris <rgm@gnu.org>
2552 * descr-text.el (describe-char-unicode-data): Insert separating
2553 space when needed. (Bug#6422)
2555 * progmodes/idlwave.el (idlwave-action-and-binding):
2556 Fix typo in 2009-12-03 change. (Bug#6450)
2558 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2560 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
2561 handling for `lambda' (misunderstanding).
2563 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
2565 * calc/calc-poly.el (math-accum-factors): Make sure that
2566 constants aren't distributed after they are factored out.
2568 2010-06-16 Juri Linkov <juri@jurta.org>
2570 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
2571 `list-colors-print'. (Bug#6332)
2573 * subr.el (read-quoted-char): Fix up last change (bug#6290).
2575 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2577 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
2578 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
2580 * font-lock.el (font-lock-major-mode): Rename from
2581 font-lock-mode-major-mode to distinguish it from
2582 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
2583 (font-lock-set-defaults):
2584 * font-core.el (font-lock-default-function): Adjust users.
2585 (font-lock-mode): Don't set it at all.
2587 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2589 * vc-annotate.el (vc-annotate): Use vc-read-revision.
2591 2010-06-16 Glenn Morris <rgm@gnu.org>
2593 * calendar/appt.el (appt-time-msg-list): Doc fix.
2594 (appt-check): Let-bind appt-warn-time.
2595 (appt-add): Make the 3rd argument optional.
2596 Simplify argument names. Doc fix. Check for integer WARNTIME.
2597 Only add WARNTIME to the output list if non-nil.
2599 2010-06-16 Ivan Kanis <apple@kanis.eu>
2601 * calendar/appt.el (appt-check): Let the 3rd element of
2602 appt-time-msg-list specify the warning time.
2603 (appt-add): Add new argument with the warning time. (Bug#5176)
2605 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
2607 * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
2608 older than version 1.6. (Bug#6361)
2610 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
2612 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
2613 used by cl-do-arglist. (Bug#6408)
2615 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
2617 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
2618 portuguese casechars/not-casechars for missing 'çÇ'.
2619 Suggested by Rolando Pereira (bug#6434).
2621 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
2623 * facemenu.el (list-colors-sort): Doc fix.
2625 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
2627 * progmodes/sql.el (sql-connect-mysql): Fix typo.
2629 2010-06-14 Juri Linkov <juri@jurta.org>
2631 Add sort option `list-colors-sort'. (Bug#6332)
2632 * facemenu.el (color-rgb-to-hsv): New function.
2633 (list-colors-sort): New defcustom.
2634 (list-colors-sort-key): New function.
2635 (list-colors-display): Doc fix. Sort list according to the option
2637 (list-colors-print): Add HSV values to `help-echo' property of
2640 2010-06-14 Juri Linkov <juri@jurta.org>
2642 * compare-w.el: Move to the "vc" subdirectory.
2644 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2646 * image-mode.el (image-mode-map): Remap left-char and right-char.
2648 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
2650 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
2652 * term/common-win.el (x-colors): Add all the color names defined
2653 in rgb.txt (Bug#6332).
2655 * facemenu.el (list-colors-print): Don't print extra names if it
2656 will overflow the window width.
2658 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
2661 2010-06-12 Eli Zaretskii <eliz@gnu.org>
2663 * files.el (make-directory): Doc fix (bug#6396).
2665 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
2667 * net/tramp.el (tramp-remote-process-environment): Protect version
2668 string by apostroph.
2669 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2671 (tramp-file-name-for-operation): Add `call-process-region'.
2672 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2674 * net/tramp-compat.el (top): Do not autoload
2675 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2676 only when `start-file-process' is not bound.
2677 (tramp-advice-file-expand-wildcards): Do not use
2678 `tramp-handle-file-remote-p'.
2679 (tramp-compat-make-temp-file): Handle the case, that
2680 `make-temp-file' has no third argument EXTENSION.
2682 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
2684 * makefile.w32-in (WINS_BASIC): Include new directory vc.
2686 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
2688 2010-06-11 Juri Linkov <juri@jurta.org>
2690 * finder.el (finder-known-keywords): Add keyword "vc"
2691 for version control.
2693 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
2694 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
2695 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
2696 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
2698 2010-06-11 Juri Linkov <juri@jurta.org>
2700 Move version control related files to the "vc" subdirectory.
2701 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
2702 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
2703 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
2704 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
2705 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
2706 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
2707 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
2708 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
2709 Move files to the "vc" subdirectory.
2711 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
2713 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
2716 2010-06-11 Stephen Eglen <stephen@gnu.org>
2718 * shell.el: Bind `shell-resync-dirs' to M-RET.
2720 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
2722 * notifications.el: Move file from lisp/net, because it is
2723 supposed to talk locally to the user.
2725 2010-06-10 Julien Danjou <julien@danjou.info>
2727 * net/notifications.el (notifications-on-action-signal)
2728 (notifications-on-closed-signal): Pass notification id as first
2729 argument to the callback functions. Add docstrings.
2730 (notifications-notify): Fix docstring.
2732 2010-06-10 Glenn Morris <rgm@gnu.org>
2734 * emacs-lisp/authors.el (authors-ignored-files)
2735 (authors-valid-file-names): Add some files.
2737 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2739 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
2740 merge conflict, giving preference to the emacs-23 version of the code.
2742 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * emacs-lisp/advice.el (ad-compile-function):
2745 Define warning-suppress-types before we let-bind it (bug#6275).
2747 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
2748 declare it, make it buffer-local and permanent-local (bug#6324).
2749 (vc-resynch-window): Adjust name.
2750 * vc-hooks.el (vc-find-file-hook): Adjust name.
2752 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
2754 * net/notifications.el (notifications-notify): Fix docstring.
2756 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
2758 Update to Unicode 6.0.0 beta.
2759 * international/charprop.el: Update copyright.
2760 * international/mule-cmds.el (ucs-names): Update character ranges.
2761 * international/uni-bidi.el:
2762 * international/uni-category.el:
2763 * international/uni-combining.el:
2764 * international/uni-comment.el:
2765 * international/uni-decimal.el:
2766 * international/uni-decomposition.el:
2767 * international/uni-digit.el:
2768 * international/uni-lowercase.el:
2769 * international/uni-mirrored.el:
2770 * international/uni-name.el:
2771 * international/uni-numeric.el:
2772 * international/uni-old-name.el:
2773 * international/uni-titlecase.el:
2774 * international/uni-uppercase.el: Regenerate.
2776 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
2778 * emacs-lisp/smie.el (comment-string-strip): Declare function.
2779 (smie-precs-precedence-table): Fix typo in docstring.
2781 * vc-mtn.el (log-edit-extract-headers): Declare function.
2783 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
2785 * net/notifications.el (dbus-register-signal): Declare function.
2786 (notifications-notify): Fix typos and reflow docstring.
2788 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
2790 Improve VC create/retrieve tag/branch.
2791 * vc.el (vc-create-tag): Do not read the directory name for VCs
2792 with repository revision granularity. Adjust the tag/branch
2793 prompt. Reset VC properties.
2794 (vc-retrieve-tag): Do not read the directory name for VCs
2795 with repository revision granularity. Reset VC properties.
2797 2010-06-09 Julien Danjou <julien@danjou.info>
2799 * net/notifications.el: New file.
2801 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
2803 Add optional support for resetting VC properties.
2804 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
2805 call vc-file-clearprops when true.
2806 (vc-resynch-buffer): Add new optional argument, pass it down.
2807 (vc-resynch-buffers-in-directory): Likewise.
2809 Improve support for special markup in the VC commit message.
2810 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
2811 * vc-hg.el (vc-hg-checkin): Add support for Date:.
2812 * vc-git.el (vc-git-checkin):
2813 * vc-bzr.el (vc-bzr-checkin): Likewise.
2815 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2817 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
2818 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
2820 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
2822 * iimage.el: Remove images as soon as the underlying text is modified.
2823 (iimage-modification-hook): New function.
2824 (iimage-mode-buffer): Use it.
2826 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2828 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
2829 smie-indent-offset-after. Add :prev case. Make a bit more generic.
2830 (smie-indent-virtual): Remove `virtual' arg. Update callers.
2831 (smie-indent-keyword): Add handling of open-paren keywords.
2832 (smie-indent-comment-continue): Don't assume comment-continue.
2834 2010-06-07 Martin Rudalics <rudalics@gmx.at>
2836 * window.el (pop-to-buffer): Remove the conditional that
2837 compares new-window and old-window, so it will reselect
2838 the selected window unconditionally.
2839 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
2841 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2843 * emacs-lisp/smie.el (smie-indent-offset-after)
2844 (smie-indent-forward-token, smie-indent-backward-token): New functions.
2845 (smie-indent-after-keyword): Use them.
2846 (smie-indent-fixindent): Only applies to the indentation of the BOL.
2847 (smie-indent-keyword): Tweak the black magic.
2848 (smie-indent-comment-continue): Strip comment-continue before use.
2849 (smie-indent-functions): Indent comments before keywords.
2851 2010-06-06 Juri Linkov <juri@jurta.org>
2853 * isearch.el (isearch-lazy-highlight-search): Fix looping
2854 by checking for empty match. This syncs this loop with the
2855 similar loop in `isearch-search'. (Bug#6362)
2857 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
2859 * net/dbus.el (dbus-register-method): Declare function.
2860 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
2861 (dbus-introspect): Doc fix.
2862 (dbus-event-bus-name, dbus-introspect-get-interface)
2863 (dbus-introspect-get-argument): Reflow docstrings.
2865 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
2867 vc-log-incoming/vc-log-outgoing fixes for Git.
2868 * vc-git.el (vc-git-log-view-mode): Fix font lock for
2869 incoming/outgoing logs.
2870 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
2871 instead of vc-git-compute-remote.
2872 (vc-git-compute-remote): Remove.
2874 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
2876 * term/common-win.el (x-colors): Add "dark green" and "dark
2877 turquoise" (Bug#6332).
2879 2010-06-04 Juri Linkov <juri@jurta.org>
2881 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
2882 Instead of setting `replace' to t and replacing the same string
2883 with itself, don't do certain actions when
2884 kill-do-not-save-duplicates is non-nil and string is equal to car
2885 of kill-ring: don't call menu-bar-update-yank-menu, don't push
2886 interprogram-paste strings to kill-ring, and don't push the input
2887 argument `string' to kill-ring.
2888 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
2890 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
2892 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
2894 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
2896 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
2897 (tramp-gvfs-handler-mounted-unmounted)
2898 (tramp-gvfs-connection-mounted-p): Handle default-location.
2900 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
2901 move files to trash.
2903 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
2905 * international/mule-cmds.el (nonascii-insert-offset)
2906 (nonascii-translation-table): Add obsolescence information.
2908 * international/mule.el (make-translation-table-from-vector): Doc fix.
2910 2010-06-03 Eric Ludlam <zappo@gnu.org>
2912 * cedet/semantic/lex-spp.el
2913 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
2914 invalid values during save, just save a nil (Bug#6324).
2916 2010-06-03 Glenn Morris <rgm@gnu.org>
2918 * desktop.el (desktop-clear-preserve-buffers):
2919 Add "*Warnings*" buffer. (Bug#6336)
2921 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
2923 vc-log-incoming/vc-log-outgoing improvements for Git.
2924 * vc-git.el (vc-git-log-outgoing): Use the same format as the
2926 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
2928 Add bindings for vc-log-incoming and vc-log-outgoing.
2929 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
2930 and vc-log-outgoing.
2931 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
2932 and vc-log-outgoing.
2934 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
2936 * net/rcirc.el (rcirc-sort-nicknames): Remove.
2937 (rcirc-handler-366): Always sort nicknames.
2939 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
2941 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
2943 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
2945 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
2947 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2949 * net/rcirc.el (rcirc-sort-nicknames): Change default.
2950 (rcirc-sort-nicknames-join): Avoid setq.
2952 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2954 * net/rcirc.el (rcirc-sort-nicknames): New custom.
2955 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
2956 (rcirc-handler-366): Use them.
2958 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2960 Split smie-indent-calculate into more manageable chunks.
2961 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
2962 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
2963 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
2964 (smie-indent-exps): Extract from smie-indent-calculate.
2965 (smie-indent-functions): New var.
2966 (smie-indent-functions): Use them.
2968 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
2971 (smie-indent-calculate): Simplify and cleanup.
2973 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
2975 * net/tramp-gvfs.el (top): Require url-util.
2976 (tramp-gvfs-mount-point): Remove.
2977 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
2979 (with-tramp-dbus-call-method): Format trace message.
2980 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2981 Implement backup call, when operation on local files fails.
2982 Use progress reporter. Flush properties of changed files.
2983 (tramp-gvfs-handle-make-directory): Make more traces.
2984 (tramp-gvfs-url-file-name): Hexify file name in url.
2985 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2986 into account for the resulting file name.
2987 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
2988 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
2989 (tramp-gvfs-handler-mounted-unmounted)
2990 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2991 attribute "default_location". Set "prefix" property.
2992 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2993 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2994 exists. Raise an error, if not (due to a corresponding answer
2995 "no" in interactive questions, for example).
2997 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
2999 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
3001 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
3003 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
3006 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
3008 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
3009 * vc-git.el (vc-git-compute-remote): New function.
3010 (vc-git-log-outgoing): Use it instead of hard coding a value.
3011 (vc-git-log-incoming): New function.
3013 Improve state updating for VC tag commands.
3014 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
3015 to update the state of all buffers in the directory.
3017 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
3019 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
3022 `file-directory-p' to the filename part rather than to the whole text.
3024 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
3026 * cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name
3029 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3031 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
3033 2010-05-31 Drew Adams <drew.adams@oracle.com>
3035 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
3037 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
3039 * subr.el (momentary-string-display): Just use read-event to read
3040 the exit event (Bug#6238).
3042 2010-05-30 Eli Zaretskii <eliz@gnu.org>
3044 * international/mule.el (define-coding-system): Doc fix (bug#6313).
3046 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3048 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
3049 Suggested by Eli Zaretskii <eliz@gnu.org>.
3051 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3053 * minibuffer.el (completion-file-name-table): Don't return a boundary
3054 past the end of `string' (bug#6299).
3055 (completion--file-name-table): Delegate to completion-file-name-table
3056 for the `boundaries' case.
3058 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3060 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
3063 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
3064 `path-separator', but maintain compatibility with Emacs 20.2.
3066 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3068 * server.el (server-process-filter): Receive parent-id argument
3070 (server-create-window-system-frame): New arg. Pass parent-id as
3073 2010-05-29 Eli Zaretskii <eliz@gnu.org>
3075 Bidi-sensitive word movement with arrow keys.
3076 * subr.el (right-arrow-command, left-arrow-command): Move to
3079 * bindings.el (right-char, left-char): Move from subr.el and
3080 rename from right-arrow-command and left-arrow-command.
3081 (right-word, left-word): New functions.
3082 (global-map) <right>: Bind to right-char.
3083 (global-map) <left>: Bind to left-char.
3084 (global-map) <C-right>: Bind to right-word.
3085 (global-map) <C-left>: Bind to left-word.
3087 * ls-lisp.el (ls-lisp-classify-file): New function.
3088 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
3089 (ls-lisp-classify): Call ls-lisp-classify-file.
3090 (insert-directory): Remove blanks from switches.
3092 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3094 * ansi-color.el: Delete unused escape sequences (Bug#6085).
3095 (ansi-color-drop-regexp): New constant.
3096 (ansi-color-apply, ansi-color-filter-region)
3097 (ansi-color-apply-on-region): Delete unrecognized control sequences.
3098 (ansi-color-apply): Build string list before calling concat.
3100 2010-05-28 Juri Linkov <juri@jurta.org>
3102 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3103 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
3106 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3108 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
3109 to ignored backtrace functions.
3110 (with-progress-reporter): Expand docstring.
3111 (tramp-handle-delete-file): Implement TRASH argument.
3112 (tramp-get-remote-trash): New defun.
3114 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3116 * net/tramp-compat.el (tramp-compat-delete-file): Use
3117 `symbol-value' for backward compatibility.
3119 * net/tramp.el (tramp-handle-make-symbolic-link)
3121 (tramp-do-copy-or-rename-file-via-buffer)
3122 (tramp-do-copy-or-rename-file-directly)
3123 (tramp-do-copy-or-rename-file-out-of-band)
3124 (tramp-handle-process-file, tramp-handle-call-process-region)
3125 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3126 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3127 (tramp-delete-temp-file-function): Use `delete-file' instead
3128 of `tramp-compat-delete-file'.
3130 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3131 (tramp-fish-handle-make-symbolic-link)
3132 (tramp-fish-handle-process-file): Use `delete-file' instead
3133 of `tramp-compat-delete-file'.
3135 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
3136 `delete-file' instead of `tramp-compat-delete-file'.
3138 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3139 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
3140 `tramp-compat-delete-file'.
3142 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
3143 `delete-file' instead of `tramp-compat-delete-file'.
3145 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3146 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3147 (tramp-smb-handle-write-region): Use `delete-file' instead of
3148 `tramp-compat-delete-file'.
3149 (tramp-smb-handle-delete-directory): Use 'trash as arg.
3151 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3153 * dired.el (dired-delete-file): New arg TRASH.
3154 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
3155 (dired-do-flagged-delete, dired-do-delete): Use trash.
3157 * speedbar.el (speedbar-item-delete): Allow trashing.
3159 * files.el (delete-directory): New arg TRASH.
3161 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
3162 (ange-ftp-rename-remote-to-remote)
3163 (ange-ftp-rename-local-to-remote)
3164 (ange-ftp-rename-remote-to-local, ange-ftp-load)
3165 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
3167 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
3170 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3171 handle new TRASH arg of `delete-file'.
3173 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
3174 (tramp-handle-make-symbolic-link, tramp-handle-load)
3175 (tramp-do-copy-or-rename-file-via-buffer)
3176 (tramp-do-copy-or-rename-file-directly)
3177 (tramp-do-copy-or-rename-file-out-of-band)
3178 (tramp-handle-process-file, tramp-handle-call-process-region)
3179 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3180 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3181 (tramp-delete-temp-file-function): Use null TRASH arg in
3182 tramp-compat-delete-file call.
3184 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3185 (tramp-fish-handle-delete-file)
3186 (tramp-fish-handle-make-symbolic-link)
3187 (tramp-fish-handle-process-file): Use null TRASH arg in
3188 `tramp-compat-delete-file' call.
3190 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
3191 arg in `tramp-compat-delete-file' call.
3193 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3194 (tramp-gvfs-handle-write-region): Use null TRASH arg in
3195 `tramp-compat-delete-file' call.
3197 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
3198 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
3199 `tramp-compat-delete-file' call.
3201 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3202 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3203 (tramp-smb-handle-write-region): Use null TRASH arg in
3204 tramp-compat-delete-file call.
3205 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
3206 (tramp-smb-handle-delete-file): Rename arg.
3208 * diff.el (diff-sentinel):
3209 * epg.el (epg--make-temp-file, epg-decrypt-string)
3210 (epg-verify-string, epg-sign-string, epg-encrypt-string):
3211 * jka-compr.el (jka-compr-partial-uncompress)
3212 (jka-compr-call-process, jka-compr-write-region):
3213 * server.el (server-sentinel): Remove optional arg from
3214 delete-file, reverting 2010-05-03 change.
3216 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3218 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
3219 font-lock-constant-face, not obsolete font-lock-reference-face.
3221 2010-05-27 Kenichi Handa <handa@m17n.org>
3223 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
3224 element of GSTRING is nil.
3226 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3228 * emacs-lisp/smie.el (smie-forward-token-function)
3229 (smie-backward-token-function): New vars.
3230 (smie-backward-sexp, smie-forward-sexp)
3231 (smie-indent-hanging-p, smie-indent-calculate): Use them.
3232 (smie-default-backward-token): Rename from smie-backward-token and
3234 (smie-default-forward-token): Rename from smie-forward-token and
3236 (smie-next-sexp): Handle nil results from next-token.
3237 (smie-indent-calculate): Add a new case for special `fixindent' comments.
3239 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3241 * progmodes/verilog-mode.el (verilog-type-font-keywords):
3242 Use font-lock-constant-face, not obsolete font-lock-reference-face.
3244 2010-05-27 Masatake YAMATO <yamato@redhat.com>
3246 * htmlfontify.el (hfy-face-resolve-face): New function.
3247 (hfy-face-to-style): Use it (Bug#6279).
3249 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3251 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
3252 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
3254 2010-05-26 Glenn Morris <rgm@gnu.org>
3256 * emulation/edt.el (edt-load-keys): Use locate-library.
3258 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
3260 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
3261 (log-edit-changelog-entries): Doc fix.
3262 (log-edit-changelog-insert-entries): Args changed.
3263 Rename relative filenames in ChangeLog entries. Delete tabs.
3264 (log-edit-insert-changelog-entries): Reorganize return value of
3265 `log-edit-changelog-entries' to pass filenames to
3266 log-edit-changelog-insert-entries.
3268 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3270 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
3271 `image-dired-dired-insert-marked-thumbs' to
3272 `image-dired-dired-toggle-marked-thumbs'.
3274 * image-dired.el: Require cl when compiling.
3275 (image-dired-dired-toggle-marked-thumbs): Rename from
3276 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
3277 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
3278 to 'no-dir. Skip files whose names don't match
3279 `image-file-name-regexp'. When file has a thumbnail overlay,
3280 delete it. (Bug#5270)
3282 2010-05-25 Juri Linkov <juri@jurta.org>
3284 * image-mode.el (image-mode): Add image-after-revert-hook to
3286 (image-after-revert-hook): New function. (Bug#5669)
3288 2010-05-25 Juri Linkov <juri@jurta.org>
3290 * image.el (image-animated-p): When delay between animated images
3291 is 0, set it to 10 (0.1 sec). (Bug#6258)
3293 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3295 * net/tramp.el (tramp-handle-insert-directory): Don't use
3296 `forward-word', its default syntax could be changed.
3298 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
3300 * net/tramp.el (tramp-progress-reporter-update): New defun.
3301 (with-progress-reporter): Use it.
3302 (tramp-process-actions):
3303 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
3304 current message, in order to let progress reporter continue
3305 afterwards. (Bug#6257)
3307 2010-05-25 Glenn Morris <rgm@gnu.org>
3309 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
3312 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
3314 * net/rcirc.el (rcirc-default-user-name): Change to "user".
3315 (rcirc-default-full-name): Change to "unknown".
3316 (rcirc-user-name-history): Add variable.
3318 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
3319 Jonathan Rockway <jon@jrock.us>
3321 * net/rcirc.el (rcirc-server-alist): Add :pass.
3322 (rcirc): When prompting for connection parameters, also prompt for
3323 username and password.
3324 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
3325 value to server when connecting.
3327 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
3330 (smie-merge-prec2s): Pass the tables as separate args.
3331 (smie-bnf-precedence-table): Adjust call accordingly.
3332 (smie-prec2-levels): Set levels at the end.
3334 Replace Lisp calls to delete-backward-char by delete-char.
3335 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
3336 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
3337 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
3338 * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
3339 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
3340 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
3341 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
3342 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
3343 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
3344 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
3345 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
3346 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
3347 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
3348 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
3349 delete-backward-char by calls to delete-char.
3351 2010-05-25 Kenichi Handa <handa@m17n.org>
3353 * language/hebrew.el (hebrew-shape-gstring): New function.
3354 Register it in composition-function-table for all Hebrew combining
3357 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3359 * epa.el (epa--select-keys): Don't explicitly delete the window since
3360 that can fail (e.g. sole window in frame). Use dedication instead.
3362 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
3364 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
3366 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
3368 * image.el (image-refresh): Define as an alias for image-flush.
3370 * image-mode.el (image-toggle-display-image): Caller changed.
3372 2010-05-21 Juri Linkov <juri@jurta.org>
3374 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
3375 Remove "all" from grep-files-aliases. Split grep-files-aliases by
3376 whitespace, call wildcard-to-regexp on substrings and concat them
3377 with "\\|". (Bug#6114)
3379 2010-05-21 Alan Mackenzie <acm@muc.de>
3381 * progmodes/cc-engine.el (c-parse-state-get-strategy):
3382 Replace parameter `here' with `here-' and `here-plus', which sandwich
3383 any pertinent CPP construct.
3384 (c-remove-stale-state-cache-backwards): Fix a bug which happens
3385 when doing (c-parse-state) in a CPP construct: Exclude any "new"
3386 CPP construct from taking part in the scanning.
3388 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
3390 * net/tramp.el (tramp-do-copy-or-rename-file)
3391 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
3392 Tune `with-progress-reporter' messages.
3393 (tramp-handle-vc-registered):
3394 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
3395 (tramp-fish-handle-insert-file-contents)
3396 (tramp-fish-maybe-open-connection):
3397 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3398 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
3399 (tramp-imap-handle-insert-file-contents)
3400 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3402 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
3404 * add-log.el (change-log-font-lock-keywords):
3405 Highlight all authors in multi-author entries.
3407 * smerge-mode.el (smerge-refine-ignore-whitespace)
3408 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
3409 Fix typos in docstrings.
3410 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
3412 2010-05-21 Glenn Morris <rgm@gnu.org>
3414 * progmodes/fortran.el (fortran-mode):
3415 * progmodes/f90.el (f90-mode): Derive from prog-mode.
3417 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
3418 having a relative path in src/Makefile.in.
3420 2010-05-20 Kevin Ryde <user42@zip.com.au>
3422 * help-mode.el (help-make-xrefs): For Info node links turn
3423 newlines into spaces. Link node names with newlines are matched
3424 by help-xref-info-regexp and buttonized, this change ensures they
3425 can be followed successfully with RET. (Bug#6206)
3427 2010-05-20 Juri Linkov <juri@jurta.org>
3429 * locate.el (locate): Use pop-to-buffer instead of
3430 switch-to-buffer-other-window. (Bug#6204)
3432 2010-05-20 Juri Linkov <juri@jurta.org>
3434 * replace.el (replace-highlight): Fix lazy-highlighting
3435 for `M-s w str M-% str RET'.
3437 2009-12-15 Masatake YAMATO <yamato@redhat.com>
3439 * isearch.el (isearch-yank-word-or-char): Pull next subword
3440 when `subword-mode' is activated. (Bug#6220)
3442 2010-05-20 Mark A. Hershberger <mah@everybody.org>
3444 * isearch.el (isearch-update-post-hook): New hook.
3445 (isearch-update): Use the new hook. (Bug#6225)
3447 2010-05-20 Juri Linkov <juri@jurta.org>
3449 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
3450 [f1], [help], and (char-to-string help-char) instead of "\C-h".
3453 2010-05-20 Juri Linkov <juri@jurta.org>
3455 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
3458 2010-05-20 Juri Linkov <juri@jurta.org>
3460 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
3461 FILE-NAME to read from the minibuffer when called interactively
3462 with prefix argument instead of using buffer-file-name.
3463 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
3465 * dired.el: Update autoloads.
3467 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
3469 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
3470 nxml-finish-element, for consistency with SGML mode.
3472 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
3475 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
3477 * composite.el: Require cl when compiling.
3478 (reference-point-alist, compose-gstring-for-graphic)
3479 (compose-gstring-for-terminal): Fix typos in docstrings.
3481 2010-05-19 Juri Linkov <juri@jurta.org>
3483 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
3484 set-window-parameter.
3486 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
3488 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
3490 (tramp-maybe-open-connection): Use it.
3492 2010-05-19 Eli Zaretskii <eliz@gnu.org>
3494 * simple.el (move-end-of-line): Make sure we are at line beginning
3495 before backing up to end of previous line.
3497 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
3499 * password-cache.el (password-cache-remove): Fix docstring.
3501 * net/secrets.el: Autoload the widget functions.
3502 (secrets-search-items, secrets-create-item)
3503 (secrets-get-attributes, secrets-expand-item): Attributes will be
3504 stored on the password database without leading ":", as all other
3506 (secrets-mode): Fix docstring.
3507 (secrets-show-secrets): Provide it as autoloaded command only when
3508 D-Bus support is available. Check existence of Secret Service API.
3510 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3512 * indent.el (indent-region): Deactivate region (bug#6200).
3514 2010-05-19 Glenn Morris <rgm@gnu.org>
3516 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
3518 2010-05-19 Kenichi Handa <handa@m17n.org>
3520 * composite.el: Register compose-gstring-for-graphic in
3521 composition-function-table only for combining characters (Mn, Mc, Me).
3523 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
3525 * calc/calc-trail.el (calc-trail-isearch-forward)
3526 (calc-trail-isearch-backward): Ensure that the new window
3527 point is set correctly.
3529 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3531 * subr.el (read-quoted-char): Resolve modifiers after key
3532 remapping (bug#6212).
3534 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
3536 Add visualization code for secrets.
3537 * net/secrets.el (secrets-mode): New major mode.
3538 (secrets-show-secrets, secrets-show-collections)
3539 (secrets-expand-collection, secrets-expand-item)
3540 (secrets-tree-widget-after-toggle-function)
3541 (secrets-tree-widget-show-password): New defuns.
3543 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3545 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
3546 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
3547 handled in smie-next-sexp.
3548 (smie-indent-calculate): Provide a starting indentation (so the
3549 recursion is well-founded ;-).
3551 Fix handling of non-associative equal levels.
3552 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
3553 when it's not needed.
3554 (smie-op-left, smie-op-right): New functions.
3555 (smie-next-sexp): New function, extracted from smie-backward-sexp.
3556 Better handle equal levels to distinguish the associative case from
3557 the "multi-keyword construct" case.
3558 (smie-backward-sexp, smie-forward-sexp): Use it.
3560 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
3562 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
3564 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
3565 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
3567 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3569 Provide a simple generic indentation engine and use it for Prolog.
3570 * emacs-lisp/smie.el: New file.
3571 * progmodes/prolog.el (prolog-smie-op-levels)
3572 (prolog-smie-indent-rules): New var.
3573 (prolog-mode-variables): Use them to configure SMIE.
3574 (prolog-indent-line, prolog-indent-level): Remove.
3576 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
3578 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
3579 order before computing the averages.
3581 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
3583 * calc/calc-vec.el (calc-histogram):
3584 (calcFunc-histogram): Allow vectors as inputs.
3585 (math-vector-avg): New function.
3587 * calc/calc-ext.el (math-group-float): Have the number of digits
3588 being grouped depend on the radix (Bug#6189).
3590 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
3592 * version.el (emacs-copyright, emacs-version): Don't define here,
3593 now that emacs.c defines it.
3595 2010-05-15 Eli Zaretskii <eliz@gnu.org>
3597 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
3598 "Describe Language Environment" menu item.
3600 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
3602 Bidi-sensitive movement with arrow keys.
3603 * subr.el (right-arrow-command, left-arrow-command): New functions.
3605 * bindings.el (global-map): Bind them to right and left arrow keys.
3607 Don't override standard definition of convert-standard-filename.
3608 * files.el (convert-standard-filename): Call
3609 w32-convert-standard-filename and dos-convert-standard-filename on
3610 the corresponding systems.
3612 * w32-fns.el (w32-convert-standard-filename): Rename from
3613 convert-standard-filename. Doc fix.
3615 * dos-fns.el (dos-convert-standard-filename): Doc fix.
3616 (convert-standard-filename): Don't defalias.
3617 (register-name-alist, make-register, register-value)
3618 (set-register-value, intdos): Obsolete aliases for the
3619 corresponding dos-* functions and variables.
3620 (dos-intdos): Add a doc string.
3622 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
3624 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
3625 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
3626 (math-compose-tex-func):
3627 * calc/calccomp.el (math-compose-expr):
3628 * calc/calc-ext.el (math-format-flat-expr-fancy):
3629 * calc/calc-store.el (calc-read-var-name):
3630 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
3632 * calc/calc.el (var-π, var-φ, var-γ): New variables.
3633 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
3634 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
3635 (math-standard-units): Add units.
3637 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3639 * progmodes/asm-mode.el (asm-mode):
3640 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
3642 * pcomplete.el (pcomplete-completions-at-point): New function,
3643 extracted from pcomplete-std-complete.
3644 (pcomplete-std-complete): Use it.
3646 2010-05-15 Glenn Morris <rgm@gnu.org>
3648 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3649 Remove references to CVS, RCS and Old directories.
3651 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
3653 * calc/calc-bin.el (math-format-twos-complement): Group digits when
3656 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3658 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
3659 (sh-mode-syntax-table): Give it a default value instead.
3660 (sh-header-marker): Make buffer-local.
3661 (sh-mode): Move make-local-variable to the corresponding setq.
3662 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
3663 Use complete-with-action.
3665 * simple.el (prog-mode): New (abstract) major mode.
3666 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
3667 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
3669 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
3671 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
3672 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
3673 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
3674 (sql-make-alternate-buffer-name, sql-placeholders-filter)
3675 (sql-escape-newlines-filter, sql-input-sender)
3676 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
3678 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
3680 Add TeX open-block and close-block keybindings to SGML, and vice versa.
3682 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
3683 latex-open-block and C-c / to latex-close-block.
3685 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
3686 and C-c C-e to sgml-close-tag.
3688 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
3690 * net/tramp.el (with-progress-reporter): Create reporter object
3691 only when the message would be displayed. Handle nested calls.
3692 (tramp-handle-load, tramp-handle-file-local-copy)
3693 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3694 (tramp-maybe-send-script, tramp-find-shell):
3695 Use `with-progress-reporter'.
3696 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
3699 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3700 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3701 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3702 Use `with-progress-reporter'.
3704 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
3706 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
3707 process everytime when spellchecking from the minibuffer (bug#6143).
3709 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
3713 * dos-fns.el: Add "dos-" prefix for namespace control.
3714 (convert-standard-filename): Define as alias for
3715 dos-convert-standard-filename but only if applicable.
3717 2010-05-12 Alan Mackenzie <acm@muc.de>
3719 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
3720 Push the mark at the start of these functions when appropriate.
3722 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * minibuffer.el (completion-cycle-threshold): New custom var.
3725 (completion--do-completion): Use it.
3726 (minibuffer-complete): Use cycling if appropriate.
3728 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
3730 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
3731 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
3733 2010-05-11 Juri Linkov <juri@jurta.org>
3735 * scroll-all.el (scroll-all-check-to-scroll):
3736 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
3738 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * iimage.el (iimage-mode-map): Move initialization into declaration.
3741 (iimage-mode-buffer): Use with-silent-modifications.
3742 Simplify calling convention. Adjust callers.
3743 (iimage-mode): Don't run hook redundantly.
3745 * minibuffer.el (completion-pcm--pattern->regex):
3746 Fix last change (bug#6160).
3748 2010-05-10 Juri Linkov <juri@jurta.org>
3750 Remove nodes visited during Isearch from the Info history.
3751 * info.el (Info-isearch-initial-history)
3752 (Info-isearch-initial-history-list): New variables.
3753 (Info-isearch-start): Record initial values of
3754 Info-isearch-initial-history and Info-isearch-initial-history-list.
3755 Add Info-isearch-end to isearch-mode-end-hook.
3756 (Info-isearch-end): New function.
3758 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
3760 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
3761 format string, in order to work around a bug in pdksh.
3762 Reported by Gilles Pion <gpion@lfdj.com>.
3763 (tramp-handle-verify-visited-file-modtime): Do not send a command
3764 when the connection is not established.
3765 (tramp-handle-set-file-times): Simplify the check for utc.
3767 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
3769 Fix use of `filter-buffer-substring' (rework previous change).
3770 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
3771 (cua-repeat-replace-region):
3772 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
3773 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
3774 (cua-cut-region-to-global-mark): Use it.
3776 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
3778 * progmodes/sql.el: Version 2.1.
3779 (sql-product-alist): Redesign structure of product info.
3780 (sql-product, sql-user, sql-server, sql-database): Safe variables.
3781 (sql-port, sql-port-history): New variables.
3782 (sql-interactive-product): New variable.
3783 (sql-send-terminator): New variable.
3784 (sql-imenu-generic-expression): Add "Types" imenu entry.
3785 (sql-oracle-login-params, sql-sqlite-login-params)
3786 (sql-mysql-login-params, sql-solid-login-params)
3787 (sql-sybase-login-params, sql-informix-login-params)
3788 (sql-ingres-login-params, sql-ms-login-params)
3789 (sql-postgres-login-params, sql-interbase-login-params)
3790 (sql-db2-login-params, sql-linter-login-params)
3791 (sql-oracle-scan-on): New variables.
3792 (sql-mode-map): Add C-c C-i to start interactive mode.
3793 (sql-mode-menu): Update existing menu entries.
3794 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
3795 (sql-mode-oracle-font-lock-keywords)
3796 (sql-mode-postgres-font-lock-keywords)
3797 (sql-mode-ms-font-lock-keywords)
3798 (sql-mode-sybase-font-lock-keywords)
3799 (sql-mode-informix-font-lock-keywords)
3800 (sql-mode-interbase-font-lock-keywords)
3801 (sql-mode-ingres-font-lock-keywords)
3802 (sql-mode-solid-font-lock-keywords)
3803 (sql-mode-mysql-font-lock-keywords)
3804 (sql-mode-sqlite-font-lock-keywords)
3805 (sql-mode-db2-font-lock-keywords)
3806 (sql-mode-linter-font-lock-keywords): Update initialization to
3807 reduce run-time complexity.
3808 (sql-add-product, sql-del-product): New functions.
3809 (sql-set-product-feature, sql-get-product-feature): New functions.
3810 (sql-product-font-lock): Update product API.
3811 (sql-add-product-keywords): New function.
3812 (sql-highlight-product): Update product API.
3813 (sql-help-list-products): New function.
3814 (sql-help): Dynamically lists free and non-free products.
3815 (sql-get-login): Correct bug in handling history and added
3817 (sql-copy-column): Copy without properties.
3818 (sqli-input-sender): Apply filters to SQLi input.
3819 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
3820 Implement as a filter.
3821 (sql-escape-newlines-filter): Implement as a filter.
3822 (sql-remove-tabs-filter): New function.
3823 (sql-send-magic-terminator): New function.
3824 (sql-send-string): Implement magic terminator.
3825 (sql-send-region): Use `sql-send-string'.
3826 (sql-interactive-mode): Use product API.
3827 (sql-product-interactive): Use product API.
3828 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3829 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3830 (sql-db2, sql-linter): Use `sql-product-interactive'.
3831 (sql-connect): New function.
3832 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
3833 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
3834 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
3835 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
3838 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3840 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3841 New custom variable.
3842 (completion-pcm--string->pattern): Use it.
3843 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
3844 Make it handle any symbol as `any'.
3845 (completion-pcm--merge-completions): Extract common suffix for the new
3846 `prefix' symbol as well.
3847 (completion-substring--all-completions): Use the new `prefix' symbol.
3849 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
3851 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
3853 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3854 (tramp-compat-funcall): New defmacro.
3855 (tramp-compat-line-beginning-position)
3856 (tramp-compat-line-end-position)
3857 (tramp-compat-temporary-file-directory)
3858 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3859 (tramp-compat-copy-file, tramp-compat-copy-directory)
3860 (tramp-compat-delete-file, tramp-compat-delete-directory)
3861 (tramp-compat-number-sequence, tramp-compat-process-running-p)
3862 * net/tramp.el (top, with-progress-reporter)
3863 (tramp-rfn-eshadow-setup-minibuffer)
3864 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3865 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3866 (tramp-completion-mode-p, tramp-check-for-regexp)
3867 (tramp-open-connection-setup-interactive-shell)
3868 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3869 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3870 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
3871 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3872 (tramp-reporter-dump-variable, tramp-load-report-modules)
3873 (tramp-append-tramp-buffers)
3874 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
3876 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3878 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * progmodes/compile.el (compilation-buffer-modtime): Rename from
3881 buffer-modtime. Adjust users.
3883 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
3885 * international/mule.el (auto-coding-alist): Only purecopy
3886 car of each item, not the whole list (Bug#6083).
3888 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
3890 * progmodes/js.el (js-mode): Make paragraph variables local before
3891 calling c-setup-paragraph-variables (Bug#6071).
3893 2010-05-08 Eli Zaretskii <eliz@gnu.org>
3895 * composite.el (compose-region, reference-point-alist): Fix typos
3898 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3900 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
3901 gnuplot's "set" command.
3903 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
3905 * abbrev.el (last-abbrev-text): Doc fix.
3906 (abbrev-prefix-mark): Don't escape parenthesis.
3908 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
3910 * composite.el (find-composition): Doc fix.
3912 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
3914 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
3915 (sql-oracle-program, sql-sqlite-options)
3916 (sql-query-placeholders-and-send): Doc fixes.
3917 (sql-set-product, sql-interactive-mode): Reflow docstrings.
3918 (sql-imenu-generic-expression, sql-buffer)
3919 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
3920 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
3921 (sql-mode-sybase-font-lock-keywords)
3922 (sql-mode-informix-font-lock-keywords)
3923 (sql-mode-interbase-font-lock-keywords)
3924 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
3925 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
3926 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
3927 (sql-product-feature, sql-highlight-product)
3928 (comint-line-beginning-position, sql-rename-buffer)
3929 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
3930 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
3931 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
3932 Fix typos in docstrings.
3934 2010-05-08 Juri Linkov <juri@jurta.org>
3936 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
3937 property instead of `invisible' and `after-string' (bug#5998).
3939 2010-05-08 Juri Linkov <juri@jurta.org>
3941 * image-mode.el (image-mode-as-text): Fix typo in docstring.
3943 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
3945 * filecache.el (file-cache-add-directory-list)
3946 (file-cache-add-directory-recursively): Fix typos in docstrings.
3948 2010-05-08 Kenichi Handa <handa@m17n.org>
3950 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
3951 (gujarati-composable-pattern): Fix typo.
3953 2010-05-08 Kenichi Handa <handa@m17n.org>
3955 * language/indian.el (oriya-composable-pattern)
3956 (tamil-composable-pattern, malayalam-composable-pattern):
3957 Add two-part vowels to "v" (vowel sign).
3959 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
3961 * files.el (copy-directory): Handle symlinks (Bug#5982).
3963 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
3965 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
3966 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
3969 2010-05-08 Glenn Morris <rgm@gnu.org>
3971 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
3973 * minibuffer.el (completion-at-point): Doc fix.
3975 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * electric.el (Electric-command-loop): Minor tweak.
3979 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
3980 better with dedicated windows.
3982 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
3984 * Version 23.2 released.
3986 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
3987 Stefan Monnier <monnier@iro.umontreal.ca>
3989 Highlight vendor specific properties.
3990 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
3991 (css-proprietary-property): New face.
3992 (css-font-lock-keywords): Use them.
3994 2010-05-07 Eli Zaretskii <eliz@gnu.org>
3996 * cus-start.el (all): Add native condition for tool-bar-* symbols.
3998 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4000 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
4001 * files.el (auto-mode-alist): Remove redundant entries.
4003 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
4004 * simple.el (auto-save-mode): Move from files.el.
4005 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
4007 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
4009 * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
4011 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
4013 * mail/binhex.el (binhex-decode-region-internal)
4014 * mail/uudecode.el (uudecode-decode-region-internal)
4015 * net/dns.el (dns-read-string-name, dns-write, dns-read)
4016 (dns-read-type, dns-query)
4017 * pgg-parse.el (pgg-parse-armor)
4018 * pgg.el (pgg-verify-region)
4019 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
4022 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
4024 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
4026 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
4028 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
4029 * emulation/cua-base.el (cua-repeat-replace-region):
4030 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4031 (cua-cut-region-to-global-mark):
4032 Remove text properties with `set-text-properties'.
4034 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
4036 * net/tramp.el (top, with-progress-reporter):
4037 Use `symbol-function' inside `funcall'.
4039 * net/tramp-compat.el (tramp-compat-file-attributes)
4040 (tramp-compat-delete-file, tramp-compat-delete-directory):
4041 Handle only `wrong-number-of-arguments' error.
4043 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
4044 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
4047 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4049 * minibuffer.el (completion--sreverse, completion--common-suffix):
4051 (completion-pcm--merge-completions): Extract common suffix when safe.
4053 * emacs-lisp/easy-mmode.el (define-minor-mode):
4054 Make :variable more flexible.
4055 * files.el (auto-save-mode): Use it to define using define-minor-mode.
4057 2010-05-05 Juri Linkov <juri@jurta.org>
4059 Add `slow' and `history' tags to the desktop data.
4061 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
4062 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
4063 (Info-finder-find-node): Require `finder.el' to be able
4064 to restore node from the desktop.
4065 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
4066 data `Info-history' and `slow' tag in the assoc list.
4067 (Info-restore-desktop-buffer): Don't restore nodes with the
4068 `slow' tag. Restore `Info-history'.
4070 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
4072 Add FORCE argument to `delete-file'.
4074 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
4075 forcing to delete the temporary file.
4076 (ange-ftp-delete-file): Add FORCE arg.
4077 (ange-ftp-rename-remote-to-remote)
4078 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
4079 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
4080 Force file deletion.
4082 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
4084 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
4085 (tramp-handle-make-symbolic-link, tramp-handle-load)
4086 (tramp-do-copy-or-rename-file-via-buffer)
4087 (tramp-do-copy-or-rename-file-directly)
4088 (tramp-do-copy-or-rename-file-out-of-band)
4089 (tramp-handle-process-file, tramp-handle-call-process-region)
4090 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4091 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4092 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
4094 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
4095 (tramp-fish-handle-make-symbolic-link)
4096 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
4098 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4099 Use `tramp-compat-delete-file'.
4101 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
4102 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
4104 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
4105 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
4107 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
4108 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
4109 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
4110 `tramp-compat-delete-file'.
4112 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * subr.el (add-minor-mode): Use push.
4116 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
4117 * emulation/edt.el (edt-select-mode): Simplify.
4119 Use define-minor-mode in more cases.
4120 * term/tvi970.el (tvi970-set-keypad-mode):
4121 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4122 (normal-erase-is-backspace-mode):
4123 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
4124 (set-scroll-bar-mode-1): (Re)move to its sole caller.
4125 (get-scroll-bar-mode): New function.
4126 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
4128 Use define-minor-mode for less obvious cases.
4129 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
4130 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
4131 * international/iso-ascii.el (iso-ascii-mode):
4132 * frame.el (auto-raise-mode, auto-lower-mode):
4133 * composite.el (global-auto-composition-mode): Use define-minor-mode.
4135 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
4137 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
4138 in order to see error messages for failed logins.
4140 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
4142 * diff.el (diff-sentinel):
4144 * epg.el (epg--make-temp-file, epg-decrypt-string)
4145 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4147 * jka-compr.el (jka-compr-partial-uncompress)
4148 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
4150 * server.el (server-sentinel): Use delete-file's new FORCE arg
4153 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4155 Use define-minor-mode where applicable.
4156 * view.el (view-mode):
4157 * type-break.el (type-break-query-mode)
4158 (type-break-mode-line-message-mode):
4159 * textmodes/reftex.el (reftex-mode):
4160 * term/vt100.el (vt100-wide-mode):
4161 * tar-mode.el (tar-subfile-mode):
4162 * savehist.el (savehist-mode):
4163 * ibuf-ext.el (ibuffer-auto-mode):
4164 * composite.el (auto-composition-mode):
4165 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4166 Use define-minor-mode.
4167 (vhdl-mode): Use static mode-line format.
4168 (vhdl-mode-line-update): Delete.
4169 (vhdl-create-mode-menu, vhdl-activate-customizations)
4170 (vhdl-hs-minor-mode): Don't bother calling it.
4172 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4174 * simple.el (with-wrapper-hook): Move.
4175 (buffer-substring-filters): Mark obsolete.
4176 (filter-buffer-substring-functions): New variable.
4177 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
4179 Use a mode-line spec rather than a static string in Semantic.
4180 * cedet/semantic/util-modes.el:
4181 (semantic-minor-modes-format): New var to replace...
4182 (semantic-minor-modes-status): Remove.
4183 (semantic-mode-line-update): Construct a mode-line spec rather than
4184 a static string so that mouse buttons can be used on individual minor
4185 modes and so that semantic-mode-line-update only needs to be called
4186 when global settings are changed.
4187 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
4188 Call semantic-mode-line-update.
4189 (semantic-toggle-minor-mode-globally): Don't assume mode is on
4190 minor-mode-alist, check semantic-minor-mode-alist as well.
4191 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
4192 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
4193 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
4194 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
4195 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
4196 (define-semantic-idle-service, semantic-idle-summary-mode):
4197 * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
4198 Don't call semantic-mode-line-update any more.
4200 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4202 Use define-minor-mode in CEDET where applicable.
4204 * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
4205 Use define-minor-mode.
4207 * cedet/semantic/util-modes.el (semantic-add-minor-mode):
4208 Remove unused arg `keymap' and code redundant with define-minor-mode.
4209 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
4210 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
4211 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
4212 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
4213 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
4214 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
4215 Use define-minor-mode.
4216 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
4217 (semantic-show-unmatched-syntax-mode-setup)
4218 (semantic-show-parser-state-mode-setup)
4219 (semantic-highlight-func-mode-setup): Inline into sole caller.
4221 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
4222 (semantic-mru-bookmark-mode): Use define-minor-mode.
4223 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
4225 * cedet/semantic/idle.el (define-semantic-idle-service):
4226 Use define-minor-mode and inline setup function into its sole caller.
4227 (semantic-idle-scheduler-mode-setup)
4228 (semantic-idle-summary-mode-setup): Inline into sole caller.
4229 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
4230 Use define-minor-mode.
4232 * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
4233 (semantic-decoration-mode): Use define-minor-mode.
4234 (semantic-decoration-mode-setup): Inline into sole caller.
4236 * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
4237 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
4238 (ede-dired-add-to-target): Use dolist.
4240 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4241 Michael Albinus <michael.albinus@gmx.de>
4243 Implement compression for inline methods.
4245 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4246 (tramp-copy-size-limit): Allow also nil.
4247 (tramp-inline-compress-commands): New defconst.
4248 (tramp-find-inline-compress, tramp-get-inline-compress)
4249 (tramp-get-inline-coding): New defuns.
4250 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4251 replaced by `tramp-get-inline-coding'.
4252 (tramp-handle-file-local-copy, tramp-handle-write-region)
4253 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4255 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
4258 Remove unused functions.
4260 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
4261 Set find-tag-default-function as a variable rather than a property.
4263 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
4264 * progmodes/etags.el (tags-completion-at-point-function):
4265 Remove left over interactive spec. Add autoloading stub.
4266 (complete-tag): Use tags-completion-at-point-function.
4268 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
4270 * minibuffer.el (tags-completion-at-point-function): Fix return value.
4272 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
4274 * ido.el (ido-init-completion-maps): Remove C-v binding.
4275 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
4277 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
4279 * minibuffer.el (tags-completion-at-point-function): New function.
4280 (completion-at-point-functions): Use it.
4282 * cedet/semantic.el (semantic-completion-at-point-function):
4284 (semantic-mode): Use semantic-completion-at-point-function for
4285 completion-at-point-functions instead.
4287 * progmodes/etags.el (complete-tag): Revert last change.
4289 2010-04-29 Alan Mackenzie <acm@muc.de>
4291 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
4292 off-by-one error (in end of macro position).
4294 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
4297 firefox is absent. Don't autoload.
4298 (browse-url-galeon-program): Don't autoload.
4300 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
4302 * bindings.el (complete-symbol): Move into minibuffer.el.
4304 * minibuffer.el (complete-tag): Move from etags.el. If tags
4305 completion cannot be performed, return nil instead of signalling
4307 (completion-at-point): Make it an alias for complete-symbol.
4308 (complete-symbol): Move from bindings.el, and replace with the
4309 body of completion-at-point.
4311 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
4313 * cedet/semantic.el (semantic-mode): When enabled, add
4314 semantic-ia-complete-symbol to completion-at-point-functions.
4316 * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
4317 if Semantic is not active.
4319 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
4321 * net/tramp.el (tramp-remote-selinux-p): New defun.
4322 (tramp-handle-file-selinux-context)
4323 (tramp-handle-set-file-selinux-context): Use it.
4325 2010-04-28 Sam Steingold <sds@gnu.org>
4327 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
4328 `safe-local-variable' if the value is a string or a symbol with
4329 the property `bug-reference-url-format'.
4331 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
4333 * progmodes/bug-reference.el (bug-reference-url-format):
4334 Revert 2010-04-27 change due to security risk.
4336 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4338 Make it possible to locally disable a globally enabled mode.
4339 * simple.el (fundamental-mode): Run fundamental-mode-hook.
4340 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
4341 rather than kill-all-local-variables so it runs fundamental-mode-hook.
4342 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4343 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
4344 that subsequent hooks get a chance to disable it.
4346 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4348 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4349 Avoid re-enabling a minor mode after the user turned the minor mode
4350 off if MODE-enable-in-buffers is run twice (typically once from
4351 fundamental-mode's after-change-major-mode-hook and a second time from
4352 run-mode-hook's own after-change-major-mode-hook).
4354 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
4356 2010-04-27 Sam Steingold <sds@gnu.org>
4358 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
4359 `safe-local-variable' if the value is a string or a function, as
4360 documented and implemented on 2010-04-02.
4362 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
4364 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
4365 when method is 'kill.
4367 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
4369 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
4370 condition in default directory check.
4371 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
4372 Kill ispell process when killing its associated buffer.
4374 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
4376 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
4377 but we aren't using it.
4379 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
4381 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
4382 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
4384 2010-04-24 Glenn Morris <rgm@gnu.org>
4386 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
4387 Ignore VCS-ignore files, and deleted nextstep preferences files.
4388 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
4389 (authors-ambiguous-files): New list.
4390 (authors-valid-file-names): Add some deleted files.
4391 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
4392 (authors-disambiguate-file-name): New function. (Bug#5501)
4393 (authors-canonical-file-name): Doc fix.
4394 Don't warn about obsolete files.
4395 (authors-canonical-file-name, authors-scan-el):
4396 Use authors-disambiguate-file-name.
4398 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
4399 Add autoload cookies.
4400 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
4401 (generated-autoload-file): Set file-local value to "htmlfontify.el".
4402 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
4403 They have definitions / compiler macros in cl.el.
4404 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
4405 Replace manual autoloads with generated ones.
4406 (htmlfontify-unload-rgb-file): Remove autoload.
4407 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
4409 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4411 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
4412 (byte-compile-setq-default): Optimize for the
4413 single-var case and don't call byte-compile-form in this case to avoid
4414 inf-loop with byte-compile-set-default.
4416 * progmodes/compile.el (compilation-start): Abbreviate default directory.
4418 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
4420 Implement SELINUX backends.
4422 * net/tramp.el (tramp-file-name-handler-alist):
4423 Add `file-selinux-context' and `set-file-selinux-context'.
4424 (tramp-handle-file-selinux-context)
4425 (tramp-handle-set-file-selinux-context): New defuns.
4426 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4427 Handle PRESERVE-SELINUX-CONTEXT.
4429 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4430 Add `file-selinux-context' and `set-file-selinux-context'.
4431 (tramp-gvfs-handle-file-selinux-context)
4432 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4433 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4435 * net/ange-ftp.el (ange-ftp-copy-file):
4436 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4437 * net/tramp-imap.el (tramp-imap-handle-copy-file):
4438 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4439 Add PRESERVE-SELINUX-CONTEXT.
4441 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4443 Synchronize with Tramp repository.
4445 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
4446 (tramp-action-process-alive, tramp-action-out-of-band)
4447 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4448 (tramp-exists-file-name-handler): Fix docstring.
4449 (with-progress-reporter): New defmacro.
4450 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
4451 (tramp-maybe-open-connection): Use it.
4453 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
4455 Detect ssh 'ControlMaster' argument automatically in some cases.
4457 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4458 (tramp-default-method): Use it.
4460 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4462 * net/tramp.el (tramp-handle-copy-file): Add new optional
4463 parameter `preserve-selinux-context'.
4464 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
4466 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4468 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
4469 Ensure, that non remote files are still checked. Oops.
4471 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
4475 * icomplete.el (icomplete-completions): Use `non-essential'.
4477 * net/tramp.el (tramp-connectable-p): New defun.
4478 (tramp-handle-expand-file-name)
4479 (tramp-completion-handle-file-name-all-completions)
4480 (tramp-completion-handle-file-name-completion): Use it.
4482 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4484 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
4486 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
4488 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
4490 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
4492 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
4495 * info.el (info-tool-bar-map): Add labels.
4497 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
4499 * cus-edit.el (custom-commands): Add labels for tool bar.
4500 (custom-buffer-create-internal, Custom-mode): Adjust for
4501 labels in custom-commands.
4503 * dynamic-setting.el: Renamed from font-setting.el.
4505 2010-04-21 John Wiegley <jwiegley@gmail.com>
4507 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
4508 toggles the use of virtual buffers.
4509 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
4510 (ido-toggle-virtual-buffers): New function.
4512 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
4514 Use `define-derived-mode'; fix window selection; doc fixes.
4515 * play/tetris.el (tetris, tetris-update-speed-function)
4516 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
4517 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
4518 (tetris-rotate-next, tetris-end-game, tetris-start-game)
4519 (tetris-pause-game): Fix typos in docstrings.
4520 (tetris-mode-map, tetris-null-map):
4521 Move initialization into declaration.
4522 (tetris-mode): Define with `define-derived-mode';
4523 set show-trailing-whitespace to nil.
4524 (tetris): Prefer window already displaying the "*Tetris*" buffer.
4526 2010-04-21 Karel Klíč <kklic@redhat.com>
4528 * files.el (backup-buffer): Handle SELinux context, and return it
4529 if a backup was made by renaming.
4530 (backup-buffer-copy): Set SELinux context to the target file.
4531 (basic-save-buffer): Set SELinux context of the newly written file.
4532 (basic-save-buffer-1): Now it also returns any SELinux context.
4533 (basic-save-buffer-2): Set SELinux context of the newly created file,
4535 * net/tramp.el (tramp-file-name-for-operation):
4536 Add file-selinux-context.
4538 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4540 Make the log-edit comments use RFC822 format throughout.
4542 * vc.el (vc-checkin, vc-modify-change-comment):
4543 Adjust to new vc-start/finish-logentry.
4544 (vc-find-conflicted-file): New command.
4545 (vc-transfer-file): Adjust to new vc-checkin.
4546 (vc-next-action): Improve scoping.
4548 * vc-hg.el (vc-hg-log-edit-mode): Remove.
4549 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
4551 * vc-git.el (vc-git-log-edit-mode): Remove.
4552 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
4553 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
4555 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
4556 (vc-start-logentry): Remove argument `extra'.
4557 (vc-finish-logentry): Remove extra args.
4559 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
4560 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
4561 (vc-bzr-conflicted-files): New function.
4563 * log-edit.el (log-edit-extra-flags)
4564 (log-edit-before-checkin-process): Remove.
4565 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
4566 (log-edit-headers-alist): New var.
4567 (log-edit-header-contents-regexp): New const.
4568 (log-edit-match-to-eoh): New function.
4569 (log-edit-font-lock-keywords): Use them.
4570 (log-edit): Insert a "Summary:" header as default.
4571 (log-edit-mode): Mark font-lock rules as case-insensitive.
4572 (log-edit-done): Cleanup headers.
4573 (log-view-process-buffer): Remove.
4574 (log-edit-extract-headers): New function to replace it.
4576 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
4578 * subr.el (default-direction-reversed): Remove obsolescence info.
4580 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
4585 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
4586 I.e. include text after point in the completion region.
4587 Also, return nil when we're not after/in a symbol.
4589 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
4590 default enable-multibyte-characters.
4592 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * international/mule.el: Help the user choose a valid coding-system.
4595 (read-buffer-file-coding-system): New function.
4596 (set-buffer-file-coding-system): Use it. Prompt the user if the
4597 coding-system cannot encode all the chars.
4599 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
4600 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
4601 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
4602 Don't use *vc-bzr-shelve*.
4604 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
4606 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
4607 Don't destroy list before using it.
4609 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
4611 Fix the version number for added files.
4612 * vc-hg.el (vc-hg-working-revision): Check if the file is
4613 registered after hg parent fails (Bug#5961).
4615 2010-04-19 Glenn Morris <rgm@gnu.org>
4617 * htmlfontify.el (htmlfontify-buffer)
4618 (htmlfontify-copy-and-link-dir): Autoload entry points.
4620 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
4622 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
4623 name relative to the project root (Bug#5960).
4625 2010-04-19 Glenn Morris <rgm@gnu.org>
4627 * vc-git.el (vc-git-print-log): Doc fix.
4629 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
4631 * ido.el (ido-file-internal): Fix 2009-12-02 change.
4633 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
4635 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
4636 default settings (Bug#5928).
4638 2010-04-19 Glenn Morris <rgm@gnu.org>
4640 * progmodes/fortran.el (fortran-match-and-skip-declaration):
4642 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
4644 2010-04-19 Kenichi Handa <handa@m17n.org>
4646 * language/indian.el (malayalam-composable-pattern): Fix previous
4647 change (add U+0D4D "SIGN VIRAMA").
4648 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
4649 (tamil-composable-pattern): Fix typo in the regexp.
4650 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
4651 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
4652 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
4654 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
4656 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
4657 paragraph-separate (Bug#5821).
4659 2010-04-19 Juri Linkov <juri@jurta.org>
4661 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
4663 * info.el (Info-find-node-2): Comment out code that skips
4665 (Info-mouse-follow-link): New command.
4666 (Info-link-keymap): New keymap.
4667 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
4668 Return a string with links instead of inserting breadcrumbs
4670 (Info-fontify-node): Comment out code that inserts breadcrumbs.
4671 Instead of putting the `invisible' text property over the Info
4672 header, make an overlay over the Info header with the `invisible'
4673 property and `after-string' set to the string returned by
4676 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
4678 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
4679 Reported by monkey@sandpframing.com.
4681 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4683 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
4684 (tmm-get-keymap): Add key-binding shortcuts now that they're not
4685 available in the "keyseq cache" any more.
4687 * custom.el (defcustom): Add edebug spec.
4689 2010-04-18 Juri Linkov <juri@jurta.org>
4691 Test for special mode-class in view-buffer instead of view-file (bug#5513).
4693 * view.el (view-file, view-buffer): Move test for special mode-class
4694 from view-file to view-buffer.
4696 * tar-mode.el (tar-extract): Turn if's into one cond
4697 like in arc-mode.el.
4699 2010-04-18 Juri Linkov <juri@jurta.org>
4701 Add 7z archive format support (bug#5475).
4703 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
4704 (archive-7z-extract): New defcustom.
4705 (archive-find-type): Add magic string for 7z.
4706 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
4707 If `stderr-file' is non-nil, use `(t stderr-file)' for the
4708 `buffer' arg of `call-process'.
4709 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
4710 call the function `archive-7z-extract' with the variable
4711 `archive-7z-extract' let-bound to `archive-zip-extract'.
4712 (archive-7z-summarize, archive-7z-extract): New functions.
4714 * international/mule.el (auto-coding-alist):
4715 * files.el (auto-mode-alist): Add 7z file extension.
4717 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * loadup.el: Setup hash-cons for pure data.
4721 Fix duplicate entries in cedet's loaddefs.el files.
4722 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
4723 Should make most file-local generated-autoload-file unnecessary.
4724 (print-readably): Silence warnings.
4725 (autoload-find-destination): Take load-name as an arg to make sure
4726 it's the same as the one that will be in the file.
4727 (autoload-generate-file-autoloads): Adjust to above changes.
4728 Try to make the dataflow a bit simpler.
4730 * cvs-status.el (cvs-refontify): Remove unused.
4732 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
4734 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
4736 * calc-bin.el (calc-radix): Have the "O" option turn on
4737 twos-complement mode.
4739 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
4741 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
4742 Add `calc-option-prefix-help' to calc-help autoloads.
4743 (calc-inverse): Add "Option" to message, as appropriate.
4744 (calc-hyperbolic): Add "Option" to message, as appropriate.
4745 (calc-option, calc-is-option): New functions.
4747 * calc-help.el (calc-full-help): Add `calc-option-help'.
4748 (calc-option-prefix-help): New function.
4750 * calc-misc.el (calc-help): Add "Option" entry.
4752 * calc.el (calc-local-var-list): Add `calc-option-flag'.
4753 (calc-option-flag): New variable.
4754 (calc-do): Set `calc-option-flag to nil.
4755 (calc-set-mode-line): Add "Opt " as appropriate.
4757 2010-04-16 Juri Linkov <juri@jurta.org>
4759 Move scrolling commands from simple.el to window.el
4760 because their primitives are implemented in window.c.
4762 * simple.el (scroll-error-top-bottom)
4763 (scroll-up-command, scroll-down-command, scroll-up-line)
4764 (scroll-down-line, scroll-other-window-down)
4765 (beginning-of-buffer-other-window, end-of-buffer-other-window):
4766 * window.el (scroll-error-top-bottom)
4767 (scroll-up-command, scroll-down-command, scroll-up-line)
4768 (scroll-down-line, scroll-other-window-down)
4769 (beginning-of-buffer-other-window, end-of-buffer-other-window):
4770 Move from simple.el to window.el because their primitives are
4771 implemented in window.c.
4773 2010-04-16 Juri Linkov <juri@jurta.org>
4775 * isearch.el (isearch-lookup-scroll-key): Check both
4776 `isearch-scroll' and `scroll-command' properties.
4777 (scroll-up, scroll-down): Remove `isearch-scroll' property.
4779 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
4781 * simple.el (scroll-up-command, scroll-down-command)
4782 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
4784 2010-04-15 Juri Linkov <juri@jurta.org>
4786 * simple.el (scroll-up-command, scroll-down-command)
4787 (scroll-up-line, scroll-down-line): Put `scroll-command'
4788 property on the these symbols. Remove them from
4789 `scroll-preserve-screen-position-commands'.
4791 * mwheel.el (mwheel-scroll): Put `scroll-command' and
4792 `isearch-scroll' properties on the `mwheel-scroll' symbol.
4793 Remove it from `scroll-preserve-screen-position-commands'.
4795 * isearch.el (isearch-allow-scroll): Doc fix.
4797 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
4799 * net/tramp.el (tramp-error-with-buffer): Don't show the
4800 connection buffer when we are in completion mode.
4801 (tramp-file-name-handler): Catch the error for some operations
4802 when we are in completion mode. This gives the user the chance to
4803 correct the file name in the minibuffer.
4805 2010-04-15 Glenn Morris <rgm@gnu.org>
4807 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
4809 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
4811 Simplify by using `define-derived-mode'.
4812 * info.el (Info-mode):
4813 * calendar/todo-mode.el (todo-mode):
4814 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
4815 (gomoku-mode-map): Move initialization into declaration.
4817 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
4820 * ido.el (ido-file-name-all-completions-1):
4821 * minibuffer.el (minibuffer-completion-help):
4822 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
4824 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4826 * simple.el (non-essential): New var.
4828 Add a new field `location' to bookmarks for non-file bookmarks.
4829 * bookmark.el (bookmark-location): Use the new field, if present.
4830 (bookmark-insert-location): Undo last change, not needed any more.
4831 * man.el (Man-bookmark-make-record):
4832 * woman.el (woman-bookmark-make-record): Add `location' field.
4834 2010-04-14 Juri Linkov <juri@jurta.org>
4836 * simple.el (scroll-error-top-bottom): New defcustom.
4837 (scroll-up-command, scroll-down-command): Use it. Doc fix.
4839 * emulation/pc-select.el (pc-select-override-scroll-error):
4840 Obsolete in favor of `scroll-error-top-bottom'.
4842 2010-04-14 Juri Linkov <juri@jurta.org>
4844 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
4845 `scroll-up-command' and `M-v' to `scroll-down-command'.
4847 * emulation/cua-rect.el (cua--init-rectangles):
4848 * forms.el (forms--change-commands):
4849 * image-mode.el (image-mode-map):
4850 Remap scroll-down-command and scroll-up-command
4851 in addition to scroll-down and scroll-up.
4853 2010-04-14 Juri Linkov <juri@jurta.org>
4855 * mwheel.el (scroll-preserve-screen-position-commands):
4856 Add mwheel-scroll to this list of commands.
4858 * simple.el (scroll-preserve-screen-position-commands):
4859 Add scroll-up-command, scroll-down-command, scroll-up-line,
4860 scroll-down-line to this list of commands.
4862 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4864 * obsolete/complete.el: Move from lisp/complete.el.
4866 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
4868 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
4869 to the minor mode function now turns the mode ON unconditionally.
4871 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * vc-dir.el (vc-dir-kill-line): New command.
4874 (vc-dir-mode-map): Bind it to C-k.
4876 * bookmark.el (bookmark-insert-location): Handle a nil filename.
4878 * woman.el: Add bookmark declarations to silence the compiler.
4879 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
4880 step to compatibility between man and woman bookmarks.
4881 Adjust for Man-default-bookmark-title renaming.
4882 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
4884 * man.el: Add bookmark declarations to silence the compiler.
4885 (Man-name-local-regexp): Make it match NAME as well.
4886 (Man-getpage-in-background): Return the buffer.
4887 (Man-notify-when-ready): Use `case'.
4888 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
4889 Don't hardcode "NAME". Simplify.
4890 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
4891 Rename from Man-bookmark-make-record.
4892 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
4893 we have the actual man-args. Use Man-getpage-in-background rather
4894 than `man' since the arg is already processed. Let bookmark.el do the
4895 window handling. Only wait for the relevant process.
4896 Don't forget to autoload.
4898 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
4900 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4902 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
4904 (woman-mode): Setup bookmark support.
4906 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
4907 (man-bookmark-jump): New functions.
4908 (Man-mode): Setup bookmark support.
4910 2010-04-10 Jari Aalto <jari.aalto@cante.net>
4912 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
4913 recognize ssh-keygen prompt (Bug#2817).
4915 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
4917 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
4919 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
4921 Synchronize with Tramp repository.
4923 * net/tramp.el (tramp-completion-function-alist)
4924 (tramp-file-name-regexp, tramp-chunksize)
4925 (tramp-local-coding-commands, tramp-remote-coding-commands):
4927 (tramp-remote-process-environment): Use `format' instead of `concat'.
4928 (tramp-handle-directory-files-and-attributes)
4929 (tramp-get-remote-path): Use `copy-tree'.
4930 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4931 compatibility: Use `completion-ignore-case' if
4932 `read-file-name-completion-ignore-case' does not exist.
4933 (tramp-do-copy-or-rename-file-directly): Do not use
4934 `tramp-handle-file-remote-p'.
4935 (tramp-do-copy-or-rename-file-out-of-band):
4936 Use `tramp-compat-delete-directory'.
4937 (tramp-do-copy-or-rename-file-out-of-band)
4938 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4939 Use `format-spec-make'.
4940 (tramp-find-foreign-file-name-handler)
4941 (tramp-advice-make-auto-save-file-name)
4942 (tramp-set-auto-save-file-modes): Remove superfluous check for
4943 `stringp'. This is done inside `tramp-tramp-file-p'.
4944 (tramp-debug-outline-regexp): New defconst.
4945 (tramp-get-debug-buffer): Use it.
4946 (tramp-check-for-regexp): Use (forward-line 1).
4947 (tramp-set-auto-save-file-modes): Adapt version check.
4949 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
4950 Wrap call of `featurep' for 2nd argument.
4951 (tramp-compat-make-temp-file): Simplify fallback implementation.
4952 (tramp-compat-copy-tree): Remove function.
4953 (tramp-compat-delete-directory): Provide implementation for older
4956 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
4957 Do not use `tramp-fish-handle-file-attributes.
4959 * net/trampver.el: Update release number.
4961 2010-04-10 Glenn Morris <rgm@gnu.org>
4963 * progmodes/compile.el (compilation-save-buffers-predicate):
4964 Add missing :version tag.
4966 2010-04-09 Sam Steingold <sds@gnu.org>
4968 * progmodes/compile.el (compilation-save-buffers-predicate):
4969 Remove the "autoload" cookie.
4971 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
4972 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
4973 and `bug-reference-prog-mode' can be used in hooks directly.
4975 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
4977 Add --author support to git commit.
4978 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
4979 (vc-git-log-edit-mode): New minor mode.
4980 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
4983 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
4985 * vc-hooks.el, vc-git.el: Improve documentation comments.
4987 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4989 Fix some of the problems in defsubst* (bug#5728).
4990 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
4991 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
4993 2010-04-07 Sam Steingold <sds@gnu.org>
4995 * progmodes/compile.el (compilation-save-buffers-predicate):
4996 New custom variable.
4997 (compile, recompile): Pass it to `save-some-buffers'.
4999 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
5001 * wid-edit.el (widget-choose): Move cursor to the second line of
5002 the buffer (Bug#5695).
5004 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5006 Add new VC methods: vc-log-incoming and vc-log-outgoing.
5007 * vc.el (vc-print-log-setup-buttons): New function split out from
5008 vc-print-log-internal.
5009 (vc-log-internal-common): New function, a parametrized version of
5010 vc-print-log-internal.
5011 (vc-print-log-internal): Just call vc-log-internal-common with the
5013 (vc-incoming-outgoing-internal):
5014 (vc-log-incoming, vc-log-outgoing): New functions.
5015 (vc-log-view-type): New permanent local variable.
5017 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
5019 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
5020 of the dynamic bound vc-short-log.
5021 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
5023 * vc-git.el (vc-git-log-outgoing): New function.
5024 (vc-git-log-view-mode): Use vc-log-view-type instead
5025 of the dynamic bound vc-short-log.
5027 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
5028 of the dynamic bound vc-short-log. Highlight the tag.
5029 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
5030 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
5031 (vc-hg-incoming-mode): Remove.
5032 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
5034 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5036 Fix default-directory for vc-root-diff.
5037 * vc.el (vc-root-diff): Bind default-directory to the root
5038 directory for the diff command.
5040 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
5042 * progmodes/verilog-mode.el (verilog-forward-sexp):
5043 (verilog-calc-1): Support "disable fork" and "fork wait" multi
5044 word keywords, suggested by Steve Pearlmutter.
5045 (verilog-pretty-declarations): Support lineup of declarations in
5047 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5048 fix bug for /* / comments.
5049 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5050 Speed up and simplfy as this is never called with a bound.
5051 (verilog-pretty-declarations): Enhance to line up declarations
5052 inside a parameter list, suggested by Alan Morgan.
5053 (verilog-pretty-expr): Tune assignment regular expression match
5054 string for corner cases; also use markers instead of character
5055 number as indent changes the later.
5057 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
5059 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5061 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5062 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
5063 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5064 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
5067 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5068 1800-2009 keywords, including "global.".
5070 2010-04-06 John Wiegley <jwiegley@gmail.com>
5072 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5073 appearing in buffer list (if a live buffer name matched a recentf
5074 file basename). Should use uniquify to offer a real solution.
5076 2010-04-06 John Wiegley <jwiegley@gmail.com>
5078 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5079 comment to code, and add a :version tag.
5080 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
5082 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
5084 Enable recentf-mode if using virtual buffers.
5085 * ido.el (recentf-list): Declare for byte-compiler.
5086 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
5087 (ido-make-buffer-list): Simplify.
5088 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
5090 2010-04-05 Juri Linkov <juri@jurta.org>
5092 Scrolling commands which scroll a line instead of full screen.
5093 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5095 * simple.el (scroll-up-line, scroll-down-line): New commands.
5096 Put property isearch-scroll=t on them.
5098 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
5101 2010-04-05 Juri Linkov <juri@jurta.org>
5103 Scrolling commands which do not signal errors at top/bottom.
5104 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5106 * simple.el (scroll-up-command, scroll-down-command): New commands.
5107 Put property isearch-scroll=t on them.
5109 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
5110 `scroll-down-command' and [next] from `scroll-up' to
5111 `scroll-up-command'.
5113 * emulation/cua-base.el: Put property CUA=move on
5114 `scroll-up-command' and `scroll-down-command'.
5115 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
5116 and `scroll-down-command' to `cua-scroll-down'.
5118 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
5120 * help.el (describe-mode): Return nil.
5122 2010-04-04 John Wiegley <jwiegley@gmail.com>
5124 * ido.el (ido-use-virtual-buffers): New variable to indicate
5125 whether "virtual buffer" support is enabled for IDO.
5126 (ido-virtual): Face used to indicate virtual buffers in the list.
5127 (ido-buffer-internal): If a buffer is chosen, and no such buffer
5128 exists, but a virtual buffer of that name does (which would be why
5129 it was in the list), recreate the buffer by reopening the file.
5130 (ido-make-buffer-list): If virtual buffers are being used, call
5131 `ido-add-virtual-buffers-to-list' before the make list hook.
5132 (ido-virtual-buffers): New variable which contains a copy of the
5133 current contents of the `recentf-list', albeit pared down for the
5134 sake of speed, and with proper faces applied.
5135 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
5136 create a list of "virtual buffers" to present to the user in
5137 addition to the currently open set. Note that this logic could
5138 get rather slow if that list is too large. With the default
5139 `recentf-max-saved-items' of 200, there is little speed penalty.
5141 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
5143 * font-lock.el: Require CL when compiling.
5144 (font-lock-turn-on-thing-lock): Use `case'.
5146 2010-04-03 Eli Zaretskii <eliz@gnu.org>
5148 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
5151 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
5153 * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
5154 (semantic-create-imenu-directory-index): Fix typos in docstrings.
5155 (semantic-imenu-goto-function): Reflow docstring.
5157 2010-04-02 Juri Linkov <juri@jurta.org>
5159 * ehelp.el (electric-help-orig-major-mode):
5160 New buffer-local variable.
5161 (electric-help-mode): Set it to original major-mode. Doc fix.
5162 (with-electric-help): Use `electric-help-orig-major-mode' instead
5163 of (default-value 'major-mode). Doc fix.
5164 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
5166 2010-04-02 Sam Steingold <sds@gnu.org>
5168 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
5169 `vc-hg-command' with a list of flags.
5171 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5172 Also accept "patch" and "RFE".
5173 (bug-reference-fontify): `bug-reference-url-format' can also be a
5174 function to be able to handle the bug kind.
5175 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
5177 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
5179 * tmm.el (tmm-get-keymap): Check with symbolp before passing
5180 value to fboundp, it may not be a symbol.
5182 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5184 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
5186 2010-03-31 Juri Linkov <juri@jurta.org>
5188 * simple.el (next-line, previous-line): Re-throw a signal
5189 with `signal' instead of using `ding'.
5190 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
5192 2010-03-31 Juri Linkov <juri@jurta.org>
5194 * simple.el (keyboard-escape-quit): Raise deselecting the active
5195 region higher than exiting the minibuffer.
5196 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
5198 2010-03-31 Juri Linkov <juri@jurta.org>
5200 * image.el (image-animated-p): Use `image-metadata' instead of
5201 `image-extension-data'. Get GIF extenstion data from metadata
5202 property `extension-data'.
5204 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * simple.el (append-to-buffer): Simplify.
5208 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
5210 * textmodes/artist.el (artist-mode): Fix typo in docstring.
5211 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
5213 2010-03-31 Kenichi Handa <handa@m17n.org>
5215 * language/sinhala.el (composition-function-table): Fix regexp for
5216 the new Unicode specification.
5218 * language/indian.el (devanagari-composable-pattern)
5219 (tamil-composable-pattern, kannada-composable-pattern)
5220 (malayalam-composable-pattern): Adjust for the new Unicode
5222 (bengali-composable-pattern, gurmukhi-composable-pattern)
5223 (gujarati-composable-pattern, oriya-composable-pattern)
5224 (telugu-composable-pattern): New variables to cope with the new
5225 Unicode specification. Use them in composition-function-table.
5227 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5229 Make tmm-menubar work for the Buffers menu again (bug#5726).
5230 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
5231 vectors rather than cons cells, as used in menu-bar-update-buffers.
5233 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5235 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
5236 (js-insert-and-indent): Revert 2009-08-15 change, restoring
5237 electric punctuation for "{}();,:" (Bug#5586).
5239 * mail/sendmail.el (mail-default-directory): Doc fix.
5241 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5243 * mail/sendmail.el (mail-default-directory): Doc fix.
5245 2010-03-31 Eli Zaretskii <eliz@gnu.org>
5247 * subr.el (version-regexp-alist, version-to-list)
5248 (version-list-<, version-list-=, version-list-<=)
5249 (version-list-not-zero, version<, version<=, version=): Doc fix.
5252 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
5254 * vc.el (vc-root-diff): Doc fix.
5256 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5258 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
5260 * simple.el (append-to-buffer): Fix last change.
5262 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5264 * simple.el (append-to-buffer): Ensure that point is preserved if
5265 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
5268 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5270 * files.el (auto-mode-case-fold): Change default to t.
5272 2010-03-30 Juri Linkov <juri@jurta.org>
5274 * dired-x.el (dired-omit-mode): Doc fix.
5276 2010-03-30 Juri Linkov <juri@jurta.org>
5278 * replace.el (occur-accumulate-lines): Move occur-engine related
5279 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
5280 to be located after `occur-engine'.
5282 2010-03-30 Juri Linkov <juri@jurta.org>
5284 Make occur handle multi-line matches cleanly with context.
5285 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
5287 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
5288 (occur-engine): Add local variables `ret', `prev-after-lines',
5289 `prev-lines'. Use more arguments for `occur-context-lines'.
5290 Set first elem of its returned list to `data', and the second elem
5291 to `prev-after-lines'. Don't print the separator line.
5292 In the end, print remaining context after-lines.
5293 (occur-context-lines): Add new arguments `begpt', `endpt',
5294 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
5295 after-lines of the previous match with before-lines of the
5296 current match and not overlap them. Return a list with two
5297 values: the output line and the list of context after-lines.
5299 2010-03-30 Juri Linkov <juri@jurta.org>
5301 * replace.el (occur-accumulate-lines): Fix a bug where the first
5302 context line at the beginning of the buffer was missing.
5304 2010-03-30 Eli Zaretskii <eliz@gnu.org>
5306 * files.el: Make bidi-display-reordering safe variable for boolean
5309 2010-03-29 Phil Hagelberg <phil@evri.com>
5310 Chong Yidong <cyd@stupidchicken.com>
5312 * subr.el: Extend progress reporters to perform "spinning".
5313 (progress-reporter-update, progress-reporter-do-update):
5314 Handle non-numeric value arguments.
5315 (progress-reporter--pulse-characters): New var.
5317 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
5319 * progmodes/compile.el (compilation-start): Fix regexp detection
5320 of initial cd command (Bug#5771).
5322 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
5324 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
5326 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
5328 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
5329 * lisp/progmodes/gdb-mi.el: Restore.
5330 * lisp/progmodes/gdb-ui.el: Remove.
5331 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
5333 2010-03-25 Glenn Morris <rgm@gnu.org>
5335 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
5336 all dired buffers, even tramp ones. (Bug#5755)
5338 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5340 Add "union tags" in mpc.el.
5341 * mpc.el: Remove backward compatibility code.
5342 (mpc-browser-tags): Change default.
5343 (mpc--find-memoize-union-tags): New var.
5344 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
5345 (mpc-cmd-find): Handle the case where the playlist does not exist.
5347 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
5348 (mpc-cmd-add): Use mpc-cmd-flush.
5349 (mpc-tagbrowser-tag-name): New fun.
5350 (mpc-tagbrowser-buf): Use it.
5351 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
5353 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5356 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
5357 Use replace-regexp-in-string.
5358 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
5359 (makefile-imake-mode-syntax-table): Move init into defvar.
5360 (makefile-mode): Use define-derived-mode.
5362 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
5363 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
5364 not be present any more.
5366 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5368 * faces.el (set-face-attribute): Fix typo in docstring.
5369 (face-valid-attribute-values): Reflow docstring.
5371 * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
5373 2010-03-24 Glenn Morris <rgm@gnu.org>
5375 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
5377 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
5379 * indent.el (indent-for-tab-command): Doc fix.
5381 2010-03-24 Alan Mackenzie <acm@muc.de>
5383 * progmodes/cc-engine.el (c-remove-stale-state-cache):
5384 Fix off-by-one error. Fixes bug #5747.
5386 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5388 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
5389 (image-dired-read-comment): Doc fix.
5391 * json.el (json-object-type, json-array-type, json-key-type)
5392 (json-false, json-null, json-read-number):
5393 * minibuffer.el (completion-in-region-functions):
5394 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
5395 (cal-tex-cursor-week):
5396 * emacs-lisp/trace.el (trace-function):
5397 * eshell/em-basic.el (eshell/printnl):
5398 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
5399 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
5400 * obsolete/levents.el (allocate-event, event-key, event-object)
5401 (event-point, event-process, event-timestamp, event-to-character)
5402 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
5403 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
5404 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
5405 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
5406 (reftex-highlight-selection): Fix typos in docstrings.
5408 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5410 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
5412 2010-03-24 Glenn Morris <rgm@gnu.org>
5414 * mail/rmail.el (rmail-highlight-face): Restore option deleted
5415 2008-02-13 without comment; mark it obsolete.
5416 (rmail-highlight-headers): Use rmail-highlight-face once more.
5418 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
5420 * woman.el (woman2-process-escapes): Only consume the newline if
5421 the filler character is on a line by itself (Bug#5729).
5423 2010-03-24 Kenichi Handa <handa@m17n.org>
5425 * language/indian.el (devanagari-composable-pattern): Add more
5428 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
5430 * net/trampver.el: Update release number.
5432 2010-03-24 Glenn Morris <rgm@gnu.org>
5434 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
5436 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
5438 * net/tramp.el (tramp-find-executable):
5439 Use `tramp-get-connection-buffer'. Make the regexp for checking
5440 output of "wc -l" more robust.
5441 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
5442 (tramp-open-connection-setup-interactive-shell): Remove workaround
5443 for OpenSolaris bug, it is not needed anymore.
5445 2010-03-24 Eric M. Ludlam <zappo@gnu.org>
5447 * cedet/semantic/imenu.el: New file, from the CEDET repository
5450 2010-03-24 Glenn Morris <rgm@gnu.org>
5452 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
5454 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
5456 * files.el (auto-mode-alist): Accept more verilog file patterns.
5458 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5460 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
5462 2010-03-24 Glenn Morris <rgm@gnu.org>
5464 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
5465 log-edit-before-checkin-process.
5467 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
5469 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
5471 * vc-dispatcher.el (vc-start-logentry): Doc fix.
5472 (log-view-process-buffer, log-edit-extra-flags): Declare.
5474 * log-edit.el (log-edit-before-checkin-process): Doc fix.
5476 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
5477 Consistently check ede-object is bound throughout.
5479 * cedet/ede/project-am.el (ede-shell-run-something): Declare.
5481 2010-03-23 Sam Steingold <sds@gnu.org>
5483 Fix bug#5620: recalculate all markers on compilation buffer
5484 modifications, not on file modifications.
5485 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
5486 the buffer modification time, for buffers not associated with files.
5487 (compilation-mode): Create it.
5488 (compilation-filter): Update it.
5489 (compilation-next-error-function): Use it instead of
5490 `visited-file-modtime' for timestamp.
5492 2010-03-23 Juri Linkov <juri@jurta.org>
5494 Implement Occur multi-line matches.
5495 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
5497 * replace.el (occur): Doc fix.
5498 (occur-engine): Set `begpt' to the beginning of the first line.
5499 Set `endpt' to the end of the last match line. At first, count
5500 line numbers between `origpt' and `begpt'. Split out code from
5501 `out-line' variable to new let-bindings `match-prefix' and
5502 `match-str'. In `out-line' add non-numeric prefix to all
5503 non-first lines of multi-line matches. Finally, count lines
5504 between `begpt' and `endpt' and add to `lines'.
5506 2010-03-23 Juri Linkov <juri@jurta.org>
5508 * replace.el (occur-accumulate-lines, occur-engine):
5509 Use `occur-engine-line' instead of duplicate code.
5510 (occur-engine-line): New function created from duplicate code
5511 in `occur-accumulate-lines' and `occur-engine'.
5513 * replace.el (occur-engine-line): Add optional arg `keep-props'.
5514 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
5516 2010-03-23 Juri Linkov <juri@jurta.org>
5518 * finder.el: Remove TODO tasks.
5520 * info.el (Info-finder-find-node): Add node "all"
5521 with all package info. Handle a list of multiple keywords
5523 (info-finder): In interactive use with a prefix argument,
5524 use `completing-read-multiple' to read a list of keywords
5527 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5529 Add a new completion style `substring'.
5530 * minibuffer.el (completion-basic--pattern): New function.
5531 (completion-basic-try-completion, completion-basic-all-completions):
5533 (completion-substring--all-completions)
5534 (completion-substring-try-completion)
5535 (completion-substring-all-completions): New functions.
5536 (completion-styles-alist): New style `substring'.
5538 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
5540 Get rid of .elc files after removal of the corresponding .el.
5541 * Makefile.in (compile-clean): New target.
5542 (compile-main): Use it.
5544 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
5546 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
5547 don't do make there. When compiling with separate object dir, there
5548 is no Makefile there.
5550 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
5552 Get rid of the ELCFILES abomination, again.
5553 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
5554 (all, compile): Don't call compile-last.
5555 (compile-main): Build the "elcfiles" list dynamically.
5556 (compile-targets): New (internal) target.
5558 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
5560 * Makefile.in (top_srcdir): Define.
5561 (abs_top_builddir): Define.
5562 (srcdir): Don't append `/..'.
5563 (EMACS): Use ${abs_top_builddir}.
5564 (all, compile, compile-always, compile-last): Don't set emacswd.
5565 (update-subdirs, update-authors): Use $(top_srcdir) instead of
5567 (lisp): Use $(srcdir) instead of @srcdir@.
5569 2010-03-21 Juri Linkov <juri@jurta.org>
5571 Fix message of multi-line occur regexps and multi-buffer header lines.
5572 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
5574 * replace.el (occur-1): Don't display regexp if it is longer
5575 than window-width. Use `query-replace-descr' to display regexp.
5576 (occur-engine): Don't display regexp in the buffer header for
5577 multi-buffer occur. Display a separate header line with total
5578 match count and regexp for multi-buffer occur.
5579 Use `query-replace-descr' to display regexp.
5581 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
5583 * net/secrets.el: Fix parenthesis.
5584 (secrets-enabled): Fix parenthesis.
5586 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5588 Use more relative file and directory names.
5589 * Makefile.in (EMACS): Arrange for it to work when we chdir.
5590 (setwins, setwins_almost, setwins_for_subdirs):
5591 Don't `cd'; output relative names.
5592 (all, compile, compile-always, compile-last): Set emacswd.
5593 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
5594 Just cd to the lisp source dir so we can use relative file names.
5596 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
5598 2010-03-20 Glenn Morris <rgm@gnu.org>
5600 * textmodes/rst.el: Use faces for font-lock customization, and make the
5601 old -face variables obsolete.
5602 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
5603 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
5604 (rst-block-face, rst-external-face, rst-definition-face)
5605 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
5606 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
5608 (rst-font-lock-keywords-function): Update for above changes.
5610 2010-03-20 Juri Linkov <juri@jurta.org>
5613 * obsolete/s-region.el: Move to obsolete.
5615 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
5617 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
5619 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5621 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
5623 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5625 Add special markup processing for commit logs.
5626 * log-edit.el (log-edit-extra-flags): New variable.
5627 (log-edit): Add new argument MODE. Use that mode when non-nil
5628 instead of the log-view-mode.
5629 (log-view-process-buffer): New function.
5631 * vc.el: Document that the checkin method takes optional
5632 arguments. Document new backend specific method: log-view-mode.
5633 (vc-default-log-edit-mode): New function.
5634 (vc-checkin): Use a backend specific log-view-mode.
5635 Pass extra arguments to the checkin method.
5636 (vc-modify-change-comment): Pass a dummy extra argument.
5638 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
5640 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
5641 (vc-finish-logentry): Process the log buffer before passing it
5642 down. Pass log-edit-extra-flags.
5644 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
5646 (log-edit-extra-flags, log-edit-before-checkin-process):
5649 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
5651 (log-edit-extra-flags, log-edit-before-checkin-process):
5653 (vc-hg-log-edit-mode): New derived mode.
5655 * vc-arch.el (vc-arch-checkin):
5656 * vc-cvs.el (vc-cvs-checkin):
5657 * vc-git.el (vc-git-checkin):
5658 * vc-mtn.el (vc-mtn-checkin):
5659 * vc-rcs.el (vc-rcs-checkin):
5660 * vc-sccs.el (vc-sccs-checkin):
5661 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
5663 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5665 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
5668 2010-03-19 Glenn Morris <rgm@gnu.org>
5670 * password-cache.el (password-cache, password-cache-expiry): Autoload.
5672 2010-03-18 Glenn Morris <rgm@gnu.org>
5674 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
5676 * replace.el (query-replace-history): Give it a doc string.
5677 (map-query-replace-regexp): Use query-replace-from-history-variable
5678 and query-replace-to-history-variable.
5680 * mail/hashcash.el (declare-function): Remove duplicate definition.
5682 * mail/emacsbug.el (report-emacs-bug-pretest-address):
5683 Make it an obsolete alias for report-emacs-bug-address.
5684 (message-strip-special-text-properties): Declare.
5685 (report-emacs-bug): Remove test for a pretest bug address.
5686 Combine message-mode-specific code.
5688 * mail/supercite.el: Don't require sendmail.
5689 (mh-in-header-p): Declare rather than using with-no-warnings.
5690 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
5691 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
5693 * calendar/cal-french.el: Convert to utf-8.
5695 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
5698 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
5700 * net/secrets.el (secrets-enabled): New variable. Use it instead
5703 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
5705 * net/secrets.el (top): Register the D-Bus signals only when the
5706 service "org.freedesktop.secrets" can be pinged.
5707 Provide subfeature `enabled'.
5709 2010-03-14 Juri Linkov <juri@jurta.org>
5711 Add finder unknown keywords.
5713 * finder.el (finder-unknown-keywords): New function.
5715 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
5716 to create a Finder node with unknown keywords.
5718 2010-03-14 Juri Linkov <juri@jurta.org>
5720 * finder.el (finder-compile-keywords): Replace `princ' with
5721 `prin1' on a list of symbols interned from keyword strings.
5723 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
5724 a comma, then split keywords using a comma and optional whitespace.
5725 Otherwise, split by whitespace.
5733 * progmodes/mixal-mode.el: Fix keywords.
5735 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
5737 * Makefile.in (ELCFILES): Add net/secrets.elc.
5739 * net/secrets.el: New file.
5741 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
5743 * facemenu.el (list-colors-display, list-colors-print): New arg
5744 callback. Use it to allow selecting colors.
5746 * wid-edit.el (widget-image-insert): Insert image prop even if the
5747 current display is non-graphic.
5748 (widget-field-value-set): New fun.
5749 (editable-field): Use it.
5750 (widget-field-value-get): Clean up unused var.
5751 (widget-color-value-create, widget-color--choose-action):
5752 New funs. Allow using list-colors-display to choose color.
5754 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
5756 * cus-edit.el: Resort topmost custom groups.
5757 (custom-buffer-sort-alphabetically): Default to t.
5758 (customize-apropos): Use apropos-parse-pattern.
5759 (custom-search-field): New var.
5760 (custom-buffer-create-internal): Add custom-apropos search field.
5761 (custom-add-parent-links): Don't display parent doc.
5762 (custom-group-value-create): Don't sort top-level custom group.
5763 (custom-magic-value-create): Show visibility button before option name.
5765 (custom-variable-state): New fun, from custom-variable-state-set.
5766 (custom-variable-state-set): Use it.
5767 (custom-group-value-create): Hide options with standard values
5768 using the :hidden-states property. Use progress reporter.
5770 (custom-show): Simplify.
5771 (custom-visibility): Disable images by default.
5772 (custom-variable): New property :hidden-states.
5773 (custom-variable-value-create): Enable images for
5774 custom-visibility widgets. Use :hidden-states property to
5775 determine initial visibility.
5777 * wid-edit.el (widget-image-find): Give images center ascent.
5778 (visibility): Add :on-image and :off-image properties.
5779 (widget-visibility-value-create): Use them.
5781 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
5783 * cus-edit.el (processes): Remove from development group.
5784 (oop, hypermedia): Delete group.
5785 (comm): Promote to top-level group.
5787 * net/browse-url.el (browse-url):
5788 * net/xesam.el (xesam):
5789 * net/tramp.el (tramp):
5790 * net/goto-addr.el (goto-address):
5791 * net/ange-ftp.el (ange-ftp): Put in comm group.
5793 * view.el (view): Remove from editing group.
5795 * uniquify.el (uniquify): Put in files group.
5797 * net/browse-url.el (browse-url):
5798 * ps-print.el (postscript): Put in external group.
5800 * cus-edit.el (outlines):
5801 * textmodes/text-mode.el (text-mode-hook):
5802 * textmodes/table.el (table):
5803 * textmodes/picture.el (picture):
5804 * outline.el (outlines): Put in wp group.
5806 * nxml/nxml-mode.el (nxml): Remove from wp group.
5808 * net/tramp-imap.el (tramp-imap): Put in tramp group.
5810 * mail/metamail.el (metamail): Remove from hypermedia group.
5812 * cus-edit.el (abbrev):
5813 * whitespace.el (whitespace):
5814 * vcursor.el (vcursor):
5815 * reveal.el (reveal):
5816 * hl-line.el (hl-line): Put in convenience group.
5818 * epg-config.el (epg): Put in data group.
5820 * emulation/pc-select.el (pc-select): Put in emulations group.
5822 * calculator.el (calculator): Put in applications group.
5824 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
5826 Add .dir-locals.el support for file-less buffers.
5827 * files.el (hack-local-variables): Split out code to apply local
5828 variable settings ...
5829 (hack-local-variables-apply): ... here. New function.
5830 (hack-dir-local-variables): Use the default directory for when the
5831 buffer does not have an associated file.
5832 (hack-dir-local-variables-non-file-buffer): New function.
5833 * diff-mode.el (diff-mode):
5834 * vc-annotate.el (vc-annotate-mode):
5835 * vc-dir.el (vc-dir-mode):
5836 * log-edit.el (log-edit-mode):
5837 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
5839 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
5841 Add support for shelving snapshots and for showing shelves.
5842 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
5843 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
5845 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
5846 (vc-bzr-extra-menu-map): Map them.
5848 2010-03-11 Glenn Morris <rgm@gnu.org>
5850 * cus-edit.el (customize-changed-options-previous-release):
5853 * image.el (image-animate-max-time): Fix :version tag.
5855 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
5859 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * vc-git.el (vc-git-revision-table): Include remote branches.
5863 2010-03-10 Kim F. Storm <storm@cua.dk>
5866 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
5868 * image.el (image-animate-max-time): New defcustom.
5869 (image-animated-types): New defconst.
5870 (create-animated-image, image-animate-timer)
5871 (image-animate-start, image-animate-stop, image-animate-timeout)
5872 (image-animated-p): New functions.
5874 * image-mode.el (image-toggle-display-image):
5875 Replace `create-image' with `create-animated-image'.
5877 2010-03-09 Miles Bader <miles@gnu.org>
5879 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
5880 instead of "format:"; this ensures that the output is
5883 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
5885 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
5886 that all errors are caught, and that the return value is always a
5889 2010-03-08 Kenichi Handa <handa@m17n.org>
5891 * language/misc-lang.el (windows-1256): New coding system.
5892 (cp1256): New alias of windows-1256 (bug#5690).
5894 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
5896 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
5897 call to rfc822-bad-address. (Bug#5692)
5899 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
5901 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5902 Use vc-git-root as default directory for revision path (Bug#5657).
5904 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
5906 * calculator.el (calculator): Don't bind split-window-keep-point
5909 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
5911 * vc-git.el: Re-flow to fit into 80 columns.
5912 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
5913 Remove spurious `quote' element in each case alternative.
5914 (vc-git-show-log-entry): Use prog1.
5915 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
5917 2010-03-06 Glenn Morris <rgm@gnu.org>
5919 * cedet/semantic/grammar.el (semantic-grammar-header-template):
5920 Update template copyright to GPLv3+.
5922 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
5924 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
5926 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
5928 * macros.el (insert-kbd-macro): Look up keyboard macro using the
5929 definition, not the name (Bug#5481).
5931 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
5933 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
5934 argument with a local variable. (Bug#5670)
5936 2010-03-02 Juri Linkov <juri@jurta.org>
5938 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
5940 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
5942 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
5943 error when FILENAME and NEWNAME are existing remote directories.
5945 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
5948 2010-03-02 Glenn Morris <rgm@gnu.org>
5950 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
5951 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
5953 2010-03-01 Kenichi Handa <handa@m17n.org>
5955 * language/burmese.el (burmese-composable-pattern): Rename from
5956 myanmar-composable-pattern.
5958 * international/characters.el (script-list):
5959 * international/fontset.el (script-representative-chars):
5960 Change myanmar to burmese.
5961 (otf-script-alist): Likewise.
5962 (setup-default-fontset): Likewise. Re-fix :otf spec.
5964 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
5966 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
5968 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
5970 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
5972 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
5974 * net/tramp.el (tramp-handle-write-region): START can be a string.
5975 Take care in the checks. Reported by Dan Davison
5976 <davison@stats.ox.ac.uk>.
5978 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
5980 * net/dbus.el (dbus-introspect, dbus-get-property)
5981 (dbus-set-property, dbus-get-all-properties):
5982 Use `dbus-call-method' when noninteractive. (Bug#5645)
5984 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
5986 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
5987 * emacs-lisp/elint.el (elint-add-required-env):
5988 * cedet/semantic/db-find.el
5989 (semanticdb-find-translate-path-brutish-default):
5990 * cedet/ede/make.el (ede-make-check-version):
5991 * calendar/icalendar.el (icalendar--add-diary-entry):
5992 * calc/calcalg2.el (math-tracing-integral):
5993 * files.el (recover-session-finish): Use with-current-buffer
5994 instead of save-excursion.
5996 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
5998 Fix in-buffer completion when after-change-functions modify the buffer.
5999 * minibuffer.el (completion--replace): New function.
6000 (completion--do-completion): Use it and use relative movement.
6002 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
6004 * international/fontset.el (setup-default-fontset): Fix :otf spec.
6006 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
6008 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6009 Allow the characters _<> in the stack entry (Bug#5653).
6011 2010-02-26 Kenichi Handa <handa@m17n.org>
6013 * language/burmese.el: Fix entries in composition-function-table.
6014 (myanmar-composable-pattern): New variable.
6016 * international/fontset.el (setup-default-fontset): Add an entry
6019 * international/characters.el (script-list): Add Myanmar
6022 2010-02-26 Glenn Morris <rgm@gnu.org>
6024 * custom.el (custom-initialize-delay): Doc fix.
6026 * mail/sendmail.el (send-mail-function): Autoload the call
6027 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
6029 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
6031 * files.el (hack-local-variables-filter): For eval forms, also
6032 check safe-local-variable-p (Bug#5636).
6034 2010-02-24 Eduard Wiebe <usenet@pusto.de>
6036 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
6037 and use c(ad)r of cddr (Bug#5640).
6039 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
6041 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6042 setting the modes by `ignore-errors'. It might fail, for example
6043 if the file is not owned by the user but the group.
6044 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6046 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
6048 * files.el (directory-listing-before-filename-regexp): Use
6049 stricter matching for iso-style dates, to avoid false matches with
6050 date-like filenames (Bug#5597).
6052 * htmlfontify.el (htmlfontify): Doc fix.
6054 * eshell/eshell.el (eshell): Doc fix.
6056 * startup.el (fancy-about-screen): In mode-line, apply
6057 mode-line-buffer-id face only to the buffer name (Bug#5613).
6059 2010-02-20 Kevin Ryde <user42@zip.com.au>
6061 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6062 In `watcom' anchor regexp to start of line, to avoid slowness
6065 2010-02-20 Eli Zaretskii <eliz@gnu.org>
6067 * subr.el (remove-yank-excluded-properties): Explain in a comment
6068 why `category' property is removed.
6070 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
6072 * isearch.el (isearch-update-post-hook, isearch-update): Revert
6075 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
6077 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6078 (icalendar--convert-weekly-to-ical)
6079 (icalendar--convert-yearly-to-ical)
6080 (icalendar--convert-block-to-ical)
6081 (icalendar--convert-cyclic-to-ical)
6082 (icalendar--convert-anniversary-to-ical): Take care of time
6083 specifications where hour has 1-digit only (Bug#5549).
6085 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
6087 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6088 of disassemble output in GDB 7.1.
6090 2010-02-19 Glenn Morris <rgm@gnu.org>
6092 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6093 property. (Bug#5593)
6095 2010-02-18 Sam Steingold <sds@gnu.org>
6097 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6099 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6101 Use abbreviated file names in bookmarks (bug#5591).
6102 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6103 calls to expand-file-name.
6104 (bookmark-relocate): Use abbreviated file names in bookmarks.
6105 (bookmark-load): Use abbreviated file names in messages.
6107 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6109 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6110 expand "." and "..". Reported by Thierry Volpiatto
6111 <thierry.volpiatto@gmail.com>.
6113 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6115 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6116 permissions of the temporary file to "0600". In case the remote
6117 file has no read permissions for the owner, there might be
6118 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
6120 22010-02-18 Glenn Morris <rgm@gnu.org>
6122 * emacs-lisp/authors.el (authors-renamed-files-alist):
6123 Add entries for INSTALL.CVS.
6125 2010-02-17 Mark A. Hershberger <mah@everybody.org>
6127 * vc-bzr.el: Fix typo in Known Bugs section.
6129 * isearch.el (isearch-update-post-hook): New hook.
6130 (isearch-update): Use the new hook.
6132 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
6134 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
6135 Fix errors in copying directories.
6136 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
6137 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
6138 (tramp-handle-delete-file)
6139 (tramp-handle-dired-recursive-delete-directory)
6140 (tramp-handle-write-region): Flush also the cache for the upper
6143 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
6145 * simple.el (save-interprogram-paste-before-kill): Doc fix.
6147 * cus-edit.el (hardware): Doc fix.
6149 * man.el (man): Add to external custom group.
6151 * delim-col.el (columns): Move to wp custom group.
6153 * doc-view.el (doc-view): Add to data custom group.
6155 * cedet/data-debug.el (data-debug): Move to extensions group.
6157 * cedet/ede.el (ede):
6158 * cedet/srecode.el (srecode):
6159 * cedet/semantic.el (semantic): Put in tools and extensions group.
6161 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
6163 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
6164 by ispell-parse-output (Bug#5575).
6166 2010-02-16 Kenichi Handa <handa@m17n.org>
6168 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
6169 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
6170 (skkdic-convert): Use `euc-japan' coding system for writing.
6172 2010-02-16 Glenn Morris <rgm@gnu.org>
6174 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
6175 tex-main-file before using it. (Bug#5562)
6177 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
6180 warnings, since it is annoying for the user to see them each time he
6183 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
6185 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
6186 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
6187 instead of PROC for caching "first-password-request". Otherwise,
6188 new processes would not profit from passwords already entered.
6190 * net/tramp-cache.el (tramp-dump-connection-properties):
6191 Don't save "first-password-request" property.
6193 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
6195 * outline.el (outline-head-from-level):
6196 * simple.el (with-wrapper-hook):
6197 * cedet/ede.el (ede-run-target, project-delete-target)
6198 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
6199 (ede-adebug-project, ede-adebug-project-parent)
6200 (ede-adebug-project-root):
6201 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
6202 (elint-defun, elint-buffer-env, elint-top-form-logged)
6203 (elint-unbound-variable):
6204 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
6205 Fix typos in docstrings.
6207 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
6209 * files.el (insert-directory): When WILDCARD-REGEXP and
6210 FULL-DIRECTORY-P are nil, insert the file entry instead of the
6211 whole directory. (Bug#5551)
6213 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
6214 dired's alignment sanity. (Bug#5516)
6216 2010-02-14 Juri Linkov <juri@jurta.org>
6218 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
6219 Remove remaining ^H with their preceding chars. (Bug#5566)
6221 2010-02-13 Glenn Morris <rgm@gnu.org>
6223 * simple.el (transpose-subr): Give it a doc-string.
6225 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
6228 2010-02-12 Juri Linkov <juri@jurta.org>
6230 * arc-mode.el (archive-unique-fname): Make directories for nested
6231 archives. (Bug#5540)
6233 2010-02-12 Juri Linkov <juri@jurta.org>
6235 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
6237 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
6239 * subr.el (copy-overlay): Handle deleted overlays.
6241 * man.el (Man-completion-table): Don't signal an error if we can't run
6242 manual-program (bug#4056).
6244 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
6246 * textmodes/artist.el (artist-mt): Fix typos in docstring.
6248 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6250 * info.el (Info-bookmark-jump): Simplify.
6252 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
6253 (bookmark-default-handler): Accept new bookmark field `buffer'.
6255 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
6257 * iswitchb.el (iswitchb-completions): Revert last change.
6259 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
6261 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
6262 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
6263 This prevents file names like "~/" being listed literally.
6265 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
6267 * term/xterm.el (xterm-maybe-set-dark-background-mode):
6268 Remove dead code. (Bug#5546)
6270 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
6272 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
6273 correctly (Bug#5548).
6275 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
6277 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
6278 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
6280 2010-02-08 Kenichi Handa <handa@m17n.org>
6282 * international/mule-util.el (with-coding-priority): Add autoload
6283 cookie for putting `lisp-indent-function'.
6285 2010-02-07 Glenn Morris <rgm@gnu.org>
6287 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
6288 Move F2003 named interfaces from keywords-2 to keywords-1, and
6289 use function-name-face rather than constant-face.
6290 Simplify "abstract interface" regexp.
6292 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
6294 * eshell/esh-util.el (eshell-file-attributes): New optional arg
6295 ID-FORMAT. Pass it to `file-attributes'.
6297 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
6299 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
6301 * faces.el (set-face-attribute): Allow calling
6302 internal-set-lisp-face-attribute with 'unspecified family and
6303 foundry argument (Bug#5536).
6305 2010-02-07 Glenn Morris <rgm@gnu.org>
6307 * progmodes/f90.el (f90-font-lock-keywords-2)
6308 (f90-looking-at-type-like, f90-looking-at-program-block-end):
6309 Handle F2003 named interfaces.
6311 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
6313 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
6314 beg and end before calling c-get-state-before-change-functions.
6316 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
6318 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
6320 2010-02-05 Juri Linkov <juri@jurta.org>
6322 * doc-view.el (doc-view-mode):
6323 * image-mode.el (image-mode): Put property mode-class=special.
6326 2010-02-05 Mark A. Hershberger <mah@everybody.org>
6328 * vc-svn.el (vc-svn-revision-table): New function.
6330 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
6332 * net/ange-ftp.el (ange-ftp-insert-directory):
6333 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
6334 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
6335 Handle also directories. (Bug#5478)
6337 2010-02-05 Glenn Morris <rgm@gnu.org>
6339 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
6341 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
6343 * startup.el (command-line-1): Convert options beginning with a
6344 single dash as well (Bug#5519).
6346 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
6348 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
6349 * minibuffer.el (completion-initials-expand): Only check the presence
6350 of delims *within* the boundaries, since otherwise the / delim is
6351 always found for files.
6353 Fix up various corner case problems.
6354 * doc-view.el (doc-view-last-page-number): New function.
6355 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
6356 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
6357 (doc-view-kill-proc): Avoid inf-loop in freak cases.
6358 (doc-view-reconvert-doc): Use the new recursive delete-directory.
6359 (doc-view-convert-current-doc): Don't create the resolution.el file
6361 (doc-view-pdf/ps->png): Do it here instead.
6362 (doc-view-already-converted-p): Check that resolution.el is present.
6363 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
6364 windows that are not yet showing images.
6366 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
6368 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
6369 `dired-uncache' for every elemnt which is an absolute file name.
6371 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
6372 directory, handle its directory component.
6373 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
6374 function is called permanently and creates noise, otherwise.
6376 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
6377 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
6378 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
6380 2010-02-04 David Burger <dburger@google.com> (tiny change)
6382 * macros.el (apply-macro-to-region-lines):
6383 Minor simplification. (Bug#5485)
6385 2010-02-04 Glenn Morris <rgm@gnu.org>
6387 * mail/rmail.el (rmail-show-message-1): Handle malformed
6388 quoted-printable text. (Bug#5441)
6390 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
6392 * simple.el (visual-line-mode): Capitalize lighter.
6394 2010-02-03 John Wiegley <jwiegley@gmail.com>
6396 * iswitchb.el (iswitchb-completions): Add bookmark files to the
6397 list of files considered for "virtual buffer" completions.
6399 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
6401 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
6402 also in case of (and (not full) (not wildcard)). This is needed
6403 when dired is called with a list of files, which are not in
6404 `default-directory'. (Bug#5478)
6406 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
6408 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
6410 2010-02-02 Juri Linkov <juri@jurta.org>
6412 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
6413 from unidiff to allow function-line after @@.
6415 2010-02-02 Juri Linkov <juri@jurta.org>
6417 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
6418 '(RCS SCCS) with inverted condition.
6420 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
6422 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
6425 2010-02-01 Juri Linkov <juri@jurta.org>
6427 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
6428 compare with "pkunzip" and "pkzip" instead of only "pkzip".
6429 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
6430 only when (car archive-zip-extract) is "unzip". (Bug#5475)
6432 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
6435 (doc-view-revert-buffer): New command.
6436 (doc-view-mode-map): Use it.
6438 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
6440 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
6441 pending merge is detected.
6443 2010-01-31 Juri Linkov <juri@jurta.org>
6445 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
6446 beginning of interactive spec like all other grep commands do.
6447 Put "all" in front of "gz". (Bug#5260)
6449 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
6451 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
6453 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
6455 * dirtrack.el (dirtrack): Warn instead of signalling error if the
6456 regexp is incorrect (Bug#5476).
6458 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
6460 * net/tramp.el (tramp-handle-insert-directory): Handle also
6461 symlinks, when FILENAME is not in `default-directory'.
6463 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
6465 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
6466 FILE is not in `default-directory'. (Bug#5478)
6468 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
6469 of SWITCHES. Handle the case, FILENAME is not in
6470 `default-directory'. (Bug#5478)
6471 (tramp-register-file-name-handlers): Add safe-magic property.
6473 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
6475 * arc-mode.el (archive-zip-extract): Quote the argument passed to
6478 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
6480 * progmodes/flymake.el (flymake-allowed-file-name-masks)
6481 (flymake-master-make-header-init): Add other C++ filename masks.
6482 (flymake-find-possible-master-files)
6483 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
6485 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
6487 Fix some busybox annoyances.
6489 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
6490 not responding." string.
6491 (tramp-open-connection-setup-interactive-shell): Dump stty
6492 settings. Enable "neveropen" arg for all `tramp-send-command'
6493 calls. Handle "=" in variable values properly.
6494 (tramp-find-inline-encoding): Raise an error, when no encoding is
6496 (tramp-wait-for-output): Check, whether PROC buffer is available.
6497 Remove spurious " ^H" sequences, sent by busybox.
6498 (tramp-get-ls-command): Suppress coloring, if possible.
6500 2010-01-28 Glenn Morris <rgm@gnu.org>
6502 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
6504 * log-edit.el (log-edit-strip-single-file-name): Add missing
6505 :safe, :group, and :version tags.
6507 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
6509 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
6512 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
6514 * files.el (delete-directory): Handle moving to trash without
6515 first doing recursion (Bug#5436).
6517 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
6519 * vc-hooks.el (vc-path): Mark as obsolete.
6521 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
6523 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
6526 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
6528 (vc-bzr-log-view-mode): Adjust regexp for the above change.
6530 2010-01-25 Mark A. Hershberger <mah@everybody.org>
6532 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
6534 * vc-bzr.el (vc-bzr-revision-table): New function.
6536 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
6538 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
6539 diff-index command. This requires at least git-1.5.5. (Bug#1589).
6541 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
6543 Remove support for adding --signoff on commit.
6544 Future support will use an incompatible generic mechanism.
6545 * vc-git.el (vc-git-add-signoff): Remove variable.
6546 (vc-git-toggle-signoff): Remove function.
6547 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
6549 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
6550 from xterm-set-background-mode. Return t if the background mode
6552 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
6553 earlier, call it again in case the background mode has changed.
6555 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
6557 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
6560 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
6562 * emacs-lisp/assoc.el (aelement): Doc fix.
6563 (aput, adelete, amake): Use lexical-let (Bug#5450).
6565 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
6567 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
6568 is the same as subprogram call, not declaration. (Bug#5435).
6570 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
6572 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
6573 (tramp-smb-maybe-open-connection): Use it.
6575 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
6577 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
6579 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6581 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
6582 just because we see "encoding: 8bit".
6583 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
6585 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
6587 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
6589 2010-01-22 Eli Zaretskii <eliz@gnu.org>
6591 * jka-compr.el (jka-compr-load): If load-file is not in
6592 load-history, try its file-truename version. (bug#5447)
6594 2010-01-21 Alan Mackenzie <acm@muc.de>
6596 Fix a situation where deletion of a cpp construct throws an error.
6597 * progmodes/cc-engine.el (c-invalidate-state-cache):
6598 Before invoking c-with-all-but-one-cpps-commented-out, check that the
6599 special cpp construct is still in the buffer.
6600 (c-parse-state): Record the special cpp with markers, not numbers.
6602 2010-01-21 Kenichi Handa <handa@m17n.org>
6604 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
6605 process last-command-event, as it is now decoded first (Bug#5380).
6607 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
6609 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
6611 2010-01-20 Glenn Morris <rgm@gnu.org>
6613 * indent.el (tab-always-indent): Fix custom-type.
6615 2010-01-19 Alan Mackenzie <acm@muc.de>
6617 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
6618 buffer throws "args out of range".
6619 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
6620 playing the role of delimiter.
6622 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
6624 * progmodes/ada-mode.el: Fix bug#5400.
6625 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
6626 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
6627 changed. Delete RECURSIVE parameter; never used. Improve doc string.
6628 Improve comments in "is" portion. Handle null procedure declaration.
6629 (ada-move-to-end): Improve doc string.
6631 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
6633 * ido.el (ido-cur-list): Initialize to nil.
6634 Remove obsolete information from commentary.
6635 (ido-choice-list): Initialize to nil.
6636 (ido-get-bufname): Reject minibuffers.
6637 (ido-make-buffer-list): If "default" is a nonexistent
6638 buffer, ignore it, as per the function's comment.
6639 (ido-kill-buffer-internal): New function.
6640 (ido-kill-buffer-at-head): Use it.
6641 (ido-visit-buffer): Likewise.
6643 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
6645 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
6647 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
6649 * cedet/ede/locate.el (ede-locate-file-in-project)
6650 (ede-locate-file-in-project-impl): Fix typos in docstrings.
6651 (ede-enable-locate-on-project): Fix typos in error messages.
6653 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
6654 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
6655 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
6656 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
6657 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
6658 Fix typos in menu help.
6660 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
6661 Fix typos in chart titles.
6663 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
6664 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
6665 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
6666 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
6667 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
6668 (semantic-parse-stream, semantic-parse-region)
6669 (semantic-parse-region-default, semantic--set-buffer-cache)
6670 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
6671 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
6672 (semantic-default-submodes):
6673 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
6674 (semanticdb-create-ebrowse-database)
6675 (semanticdb-find-tags-for-completion-method)
6676 (semanticdb-find-tags-by-class-method)
6677 (semanticdb-deep-find-tags-by-name-method)
6678 (semanticdb-deep-find-tags-for-completion-method):
6679 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
6680 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
6681 (semanticdb-find-tags-for-completion-method)
6682 (semanticdb-find-tags-by-class-method)
6683 (semanticdb-deep-find-tags-for-completion-method):
6684 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
6685 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
6686 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
6687 (semanticdb-find-tags-by-name-method)
6688 (semanticdb-find-tags-by-name-regexp-method)
6689 (semanticdb-find-tags-for-completion-method)
6690 (semanticdb-find-tags-by-class-method)
6691 (semanticdb-find-tags-external-children-of-type-method)
6692 (semanticdb-find-tags-subclasses-of-type-method)
6693 (semanticdb-deep-find-tags-by-name-method)
6694 (semanticdb-deep-find-tags-by-name-regexp-method)
6695 (semanticdb-deep-find-tags-for-completion-method):
6696 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
6697 (semanticdb-enable-gnu-global-in-buffer)
6698 (semanticdb-find-tags-for-completion-method)
6699 (semanticdb-deep-find-tags-by-name-method)
6700 (semanticdb-deep-find-tags-for-completion-method):
6701 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
6702 (javascript-mode, semanticdb-find-translate-path)
6703 (semanticdb-find-tags-for-completion-method)
6704 (semanticdb-find-tags-by-class-method)
6705 (semanticdb-deep-find-tags-by-name-method)
6706 (semanticdb-deep-find-tags-for-completion-method)
6707 (semanticdb-find-tags-external-children-of-type-method):
6708 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
6709 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
6710 (global-semantic-idle-scheduler-mode):
6711 * cedet/srecode/dictionary.el (srecode-field-value)
6712 (srecode-dictionary-add-section-dictionary):
6713 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
6714 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
6715 (describe-class, eieio-describe-generic, describe-generic):
6716 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
6717 (eieio-speedbar-expand):
6718 * emulation/viper-cmd.el (viper-exec-form-in-vi)
6719 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
6720 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
6721 (viper-del-backward-char-in-replace, viper-backward-indent)
6722 (viper-brac-function, viper-register-to-point, viper-submit-report):
6723 * net/tramp.el (tramp-remote-coding-commands):
6724 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
6725 Fix typos in docstrings.
6727 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
6729 * mail/sendmail.el (mail-yank-original): Set the mark if the
6730 specified function for yanking does not do it.
6732 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
6734 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
6736 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
6737 resyncing a directory.
6739 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
6741 * progmodes/ada-mode.el: Fix bug#1920.
6742 (ada-ident-re): Delete ., allow multibyte characters.
6743 (ada-goto-label-re): New; matches goto labels.
6744 (ada-block-label-re): New; matches block labels.
6745 (ada-label-re): New; matches both.
6746 (ada-named-block-re): Deleted; callers changed to use
6747 `ada-block-label-re' instead.
6748 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
6749 Use `ada-block-label-re'.
6750 (ada-indent-on-previous-lines): Improve handling of goto labels.
6751 (ada-get-indent-block-start): Special-case block label.
6752 (ada-get-indent-label): Split into `ada-indent-block-label' and
6753 `ada-indent-goto-label'.
6754 (ada-goto-stmt-start, ada-goto-next-non-ws):
6755 Optionally ignore goto labels.
6756 (ada-goto-next-word): Simplify.
6757 (ada-indent-newline-indent-conditional): Insert newline before
6758 trying to fix indentation; doc fix.
6760 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
6762 * calc/calc.el (calc-command-flags): Give it an initial value.
6764 2010-01-17 Glenn Morris <rgm@gnu.org>
6766 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
6768 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
6770 * cedet/semantic.el (semantic-mode):
6771 * files.el (minibuffer-with-setup-hook):
6772 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
6773 (artist-key-draw-continously, artist-key-do-continously-continously)
6774 (artist-key-set-point-continously, artist-mouse-draw-continously):
6775 Fix typos in docstrings.
6777 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
6779 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
6780 return t (Bug#3898).
6782 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
6784 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
6785 can parse the output of the external commands (Bug#5279).
6787 2010-01-16 Jari Aalto <jari.aalto@cante.net>
6789 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
6791 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
6793 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
6795 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
6797 * startup.el (command-line): Remove unused --icon-type arg.
6798 Handle --display arg, passing it to command-line-1 (Bug#5392).
6800 2010-01-16 Mario Lang <mlang@delysid.org>
6802 * cedet/ede/cpp-root.el (ede-cpp-root-project):
6803 * cedet/ede/files.el (ede-expand-filename):
6804 * cedet/ede/simple.el (ede-simple-project):
6805 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
6806 (semantic-complete-inline-tag-engine):
6807 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
6808 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
6809 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
6810 * cedet/semantic/db.el (semanticdb-equivalent-mode):
6811 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
6812 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
6813 * emacs-lisp/chart.el (chart-translate-namezone):
6814 * textmodes/artist.el (artist-compute-popup-menu-table):
6815 Remove duplicated words in doc-strings.
6817 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
6819 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
6820 to mairix-search to suppress threading (Bug#5342).
6822 2010-01-15 Kenichi Handa <handa@m17n.org>
6824 * international/mule-cmds.el (canonicalize-coding-system-name):
6825 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
6827 2010-01-15 Glenn Morris <rgm@gnu.org>
6829 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
6831 * wid-edit.el (widget-keymap): Doc fix.
6833 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
6834 former seems to be more widely accepted by various svn versions.
6836 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
6838 * find-cmd.el (find-constituents):
6839 * vc-arch.el (vc-arch-root):
6840 * window.el (window-body-height, pop-up-frames):
6841 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
6842 (semantic-no-reparse-needed-change-hook):
6843 * cedet/srecode/insert.el (srecode-resolve-argument-list)
6844 (srecode-template-inserter-blank, srecode-template-inserter-variable)
6845 (srecode-template-inserter-ask, srecode-template-inserter-width)
6846 (srecode-template-inserter-section-start)
6847 (srecode-template-inserter-section-end, srecode-insert-method):
6848 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
6849 * progmodes/ada-stmt.el (ada-if):
6850 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
6851 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
6852 (ispell-encoding8-command, ispell-aspell-supports-utf8)
6853 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
6855 * progmodes/flymake.el (flymake-post-syntax-check):
6856 Fix typo in error message.
6858 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
6860 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
6861 which is always a string. (Bug#5313)
6863 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
6865 * progmodes/ada-xref.el (ada-default-prj-properties):
6866 Simplify previous change.
6868 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6870 * progmodes/ada-xref.el (ada-default-prj-properties):
6871 Default ada_project_path to $ADA_PROJECT_PATH.
6873 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6875 * progmodes/ada-mode.el (ada-create-keymap):
6876 Override `narrow-to-defun' with `ada-narrow-to-defun'.
6878 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6880 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
6881 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
6882 (ada-get-current-indent, ada-imenu-generic-expression)
6883 (ada-which-function): Check for it.
6885 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6887 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
6888 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
6890 2010-01-14 Glenn Morris <rgm@gnu.org>
6892 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
6894 2010-01-14 Kenichi Handa <handa@m17n.org>
6896 * composite.el (auto-composition-mode): Make it a buffer local
6897 variable (permanent-local).
6898 (auto-composition-function): Set the default value to
6900 (auto-composition-mode): Make it a simple function, not a minor mode.
6901 (global-auto-composition-mode): Likewise.
6902 (turn-on-auto-composition-if-enabled): Delete it.
6904 2010-01-13 Karl Fogel <kfogel@red-bean.com>
6906 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
6908 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
6910 * files.el (copy-directory): Compute target for recursive
6911 directories with identical names. (Bug#5343)
6913 2010-01-12 Glenn Morris <rgm@gnu.org>
6915 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
6916 it to bug-gnu-emacs rather than emacs-pretest-bug.
6918 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
6920 * cedet/data-debug.el (data-debug): Fix customization group reference.
6922 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
6924 * cedet/semantic/analyze.el (semantic-analyze-push-error)
6925 (semantic-analyze-context, semantic-analyze-context-assignment)
6926 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
6927 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
6928 (semantic-java-doc-keywords-map):
6929 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
6930 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
6931 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
6932 (semantic-c-classname, semantic-format-tag-uml-prototype)
6933 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
6934 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
6935 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
6936 (semantic-get-local-variables, semantic-end-of-command)
6937 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
6939 * cedet/semantic/bovine/make.el (makefile-mode):
6940 * cedet/semantic/wisent/python.el (wisent-python-string-re)
6941 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
6942 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
6943 (semantic-lex, semantic-get-local-variables, python-mode):
6944 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
6945 * cedet/srecode/extract.el (srecode-extract-state-set)
6946 (srecode-extract-method): Fix typos in docstrings.
6948 2010-01-11 Sam Steingold <sds@gnu.org>
6950 * imenu.el (imenu-default-create-index-function): Detect infinite
6951 loops caused by imenu-prev-index-position-function.
6953 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
6955 * htmlfontify.el (htmlfontify-load-rgb-file)
6956 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
6957 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
6958 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
6959 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
6960 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
6961 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
6962 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
6963 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
6964 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
6965 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
6966 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
6967 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
6968 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
6969 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
6970 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
6971 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
6972 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
6973 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
6974 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
6975 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
6976 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
6977 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
6978 backslash-quoting from parentheses, etc.
6980 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
6982 * progmodes/js.el: Autoload javascript-mode alias.
6984 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
6986 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
6987 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
6988 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
6989 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
6990 Fix typos in docstrings.
6991 (ffap-url-regexp): Doc fix.
6992 (ffap-at-mouse): Fix typo in message.
6994 2010-01-11 Glenn Morris <rgm@gnu.org>
6996 * version.el (emacs-copyright): Set copyright year to 2010.
6998 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
7000 * format.el (format-annotate-function): Only set
7001 write-region-post-annotation-function after running to-fn so as not to
7002 affect nested write-region calls (bug#5273).
7004 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
7006 * cedet/semantic.el (semantic-new-buffer-setup-functions):
7009 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7012 2010-01-10 Richard Kim <emacs18@gmail.com>
7014 * cedet/semantic/wisent/python-wy.el:
7015 * cedet/semantic/wisent/python.el: New files.
7017 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7019 * man.el (Man-goto-section): Signal error if the section is not
7022 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
7024 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7025 URLs with a leading triple slash in the file: scheme. (Bug#5345)
7027 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7029 * progmodes/compile.el: Don't treat compile-command as safe if
7030 compilation-read-command might be nil (Bug#4218).
7032 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
7034 * startup.el (command-line-1): Use orig-argi to check for ignored X and
7037 2010-01-08 Kenichi Handa <handa@m17n.org>
7039 * international/fontset.el (build-default-fontset-data):
7040 Exclude characters in scripts kana, hangul, han, or cjk-misc.
7042 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
7044 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7045 to `create-file-buffer' as it expects, not just a buffer name.
7046 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7047 to help uniquify. (Bug#3224)
7049 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
7051 * font-setting.el (font-setting-change-default-font): Use user-spec
7054 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
7056 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7058 2010-01-05 Tom Tromey <tromey@redhat.com>
7060 * progmodes/python.el (python-font-lock-keywords):
7061 Handle qualified decorators (Bug#881).
7063 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7065 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7066 in a lightweight checkout.
7068 2010-01-05 Kenichi Handa <handa@m17n.org>
7070 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7072 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7074 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7076 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
7078 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7079 checkouts. (Bug#618)
7080 (vc-bzr-log-view-mode): Also highlight the author.
7081 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7082 (vc-bzr-shelve-menu-map):
7083 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7084 (vc-bzr-shelve-apply): Make prompt more explicit.
7086 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
7088 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7089 They are valid characters in URL paths (rfc3986), and at least
7090 Firefox does not understand the encoded version (Bug#3166).
7092 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
7094 * progmodes/octave-mod.el (octave-end-keywords)
7095 (octave-block-begin-or-end-regexp, octave-block-match-alist):
7096 Add "end" keyword (Bug#3061).
7097 (octave-end-as-array-index-p): New function.
7098 (calculate-octave-indent): Use it.
7100 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7102 * bookmark.el: Consistently put the text property on the bookmark name.
7103 (bookmark-bmenu-marks-width): Bump back to 2, to include
7105 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7106 property on the bookmark name, instead of not putting it at all.
7107 (bookmark-bmenu-list): Fix where we put the text property.
7109 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7111 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7112 for showing buffer modified state (as added in the previous change).
7114 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7116 * bookmark.el: Show modified state of bookmark buffer more accurately.
7117 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7118 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7119 (with-buffer-modified-unmodified): New macro.
7120 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7121 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7122 Use new macro to preserve the buffer modified state.
7124 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7126 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7127 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7128 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7129 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7130 (bookmark-bmenu-rename, bookmark-bmenu-locate)
7131 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7132 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7134 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7136 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7137 Make the lines in the generated doc string shorter. (Bug#4668)
7139 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
7141 * net/rcirc.el: Add follow-link binding (Bug#4738).
7143 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7145 * Makefile.in (bzr-update): Rename from cvs-update.
7146 (cvs-update): New target for backward compatibility.
7148 * makefile.w32-in (bzr-update): Rename from cvs-update.
7149 (cvs-update): New target for backward compatibility.
7151 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7153 * bookmark.el: Remove gratuitous gratitude.
7155 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7157 * bookmark.el (bookmark-bmenu-any-marks): New function.
7158 (bookmark-bmenu-save): Clear buffer modification if no marks.
7160 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7162 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7163 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7164 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7165 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7167 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7168 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7169 To: emacs-devel {_AT_} gnu.org
7170 Subject: bookmark.el bug report
7171 Date: Mon, 28 Dec 2009 14:19:16 +0800
7172 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7174 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7176 * bookmark.el: Improvements suggested by Drew Adams:
7177 (bookmark-bmenu-ensure-position): New name for
7178 `bookmark-bmenu-check-position'. Just ensure the position,
7179 don't return any meaningful value.
7180 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7183 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
7185 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7186 (bookmark-yank-point, bookmark-bmenu-check-position):
7187 Fix typos in docstrings.
7188 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7189 (bookmark-name-from-full-record, bookmark-get-position)
7190 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7191 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7192 Remove useless quoting of parenthesis, etc. in docstrings.
7194 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7195 (ediff-append-custom-diff): Fix typo in error message.
7196 (ediff-meta-mark-equal-files): Fix typos in messages.
7198 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7200 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
7201 Fix typo in docstring.
7203 * net/imap-hash.el (imap-hash-make): Doc fix.
7204 (imap-hash-test): Fix typo in error message; reflow docstring.
7205 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7206 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7207 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7208 Fix typos in docstrings.
7209 (imap-hash-open-connection): Fix typo in error message.
7211 * play/gomoku.el (gomoku): Fix typos in docstring.
7213 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7214 (gdb-jsonify-buffer): Fix typos in docstring.
7215 (gdb-goto-breakpoint): Fix typo in error message.
7216 ("Display Other Windows"): Fix typo in help message.
7217 (gdb-speedbar-expand-node): Fix typo in question.
7219 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7220 (idlwave-html-system-help-location, idlwave-html-help-location)
7221 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7222 (idlwave-help-browser-generic-args, idlwave-help-directory)
7223 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7224 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7225 (idlwave-online-help, idlwave-help-html-link)
7226 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7227 Fix typos in docstrings.
7228 (idlwave-help-with-source, idlwave-help-find-routine-definition):
7230 (idlwave-help-assistant-start): Fix typo in error message.
7232 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7233 (octave-electric-space): Fix typos in docstrings.
7235 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
7237 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7239 2010-01-01 Juri Linkov <juri@jurta.org>
7241 * comint.el (comint-input-ring-size): Make it a defcustom and
7242 increase the default to 500 (Bug#5148).
7244 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
7246 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7247 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7248 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7250 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
7252 Show working revision correctly for mercurial.
7253 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
7254 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
7256 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
7258 Declare some functions for the byte-compiler.
7259 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
7260 (speedbar-timer-fn, speedbar-change-expand-button-char)
7261 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
7263 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
7265 This changeset reverts GDB Graphical Interface to use annotations.
7266 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
7268 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
7270 Make vc-dir work on subdirectories of the bzr root.
7271 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
7272 file names relative to it.
7273 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
7274 relative directory to vc-bzr-after-dir-status.
7276 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
7278 * font-lock.el (font-lock-refresh-defaults): New function, which
7279 can be used to let font-lock react to external changes in
7280 variables like font-lock-defaults and keywords.
7281 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
7283 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
7285 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
7287 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
7289 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
7291 Supersede color.diff settings in git log (bug#5211).
7293 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
7294 escape chars in its output when the user has color.diff set to `always'.
7295 This fix works on git 1.4.2 and newer (released on 2006-08-13).
7297 2009-12-26 Kevin Ryde <user42@zip.com.au>
7299 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
7300 node. Keep previous "Index" name to work with past coreutils too.
7302 * man.el (man): Revise docstring a bit to show -a and -l as
7303 examples. Add -k description since support for it has otherwise
7304 been a secret. (Further to bug#3717.)
7305 (Man-bgproc-sentinel): When "-k foo" produces no output show error
7306 "no matches" rather than "Can't find manpage", as the latter reads
7307 like -k was interpreted as a page name, which is not so. (Bug#5431)
7309 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
7311 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
7312 switches. Check also for //SUBDIRED// line.
7314 2009-12-25 Kenichi Handa <handa@m17n.org>
7316 * language/indian.el (devanagari-composable-pattern): Fixed to
7317 handle ZWNJ and ZWJ. Use it in composition-function-table for
7319 (malayalam-composable-pattern): Fix previous change.
7321 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7323 * ps-print.el (ps-face-attributes): It was not returning the
7324 attribute face for faces specified as string. Reported by harven
7325 <harven@free.fr>. (Bug#5254)
7326 (ps-print-version): New version 7.3.5.
7328 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
7330 * calendar/icalendar.el (icalendar--convert-tz-offset):
7332 (icalendar--convert-tz-offset): Fix the "last-day-problem".
7333 (icalendar--add-diary-entry): Remove the trailing blank that
7334 diary-make-entry inserts.
7336 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
7338 Make `file-expand-wildcards' work for remote files.
7340 * files.el (file-expand-wildcards): In case of remote files, check
7341 only local file name part for wildcards. Provide feature 'files
7342 and subfeature 'remote-wildcards. (Bug#5198)
7344 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
7345 if there is already an established connection.
7346 (tramp-advice-file-expand-wildcards): Remove it.
7348 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
7349 (tramp-advice-file-expand-wildcards): Move from tramp.el.
7350 Activate advice for older GNU Emacs versions. (Bug#5237)
7352 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
7354 Some doc fixes (more needed).
7356 * find-cmd.el (find-constituents): Reflow docstring.
7357 (find-cmd, find-prune, find-command): Fix typos in docstrings.
7358 (find-generic): Doc fix.
7360 2009-12-17 Juri Linkov <juri@jurta.org>
7362 Fix regression from 23.1 to allow multiple modes in Local Variables.
7364 * files.el (hack-local-variables-filter): While ignoring duplicates,
7365 don't take `mode' into account.
7366 (hack-local-variables-filter, hack-dir-local-variables):
7367 Don't remove duplicate `mode' from local-variables-alist (like `eval').
7369 2009-12-17 Juri Linkov <juri@jurta.org>
7371 Make `dired-diff' safer. (Bug#5225)
7373 * dired-aux.el (dired-diff): Signal an error when `file' equals to
7374 `current' or when `file' is a directory of the `current' file.
7376 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
7378 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
7379 unconditionally preloaded files.
7381 2009-12-16 Juri Linkov <juri@jurta.org>
7383 Revert to old 23.1 logic of using the file at the mark as default.
7384 * dired-aux.el (dired-diff): Use the file at the mark as default
7385 if it's not the same as the current file, and the target dir is
7386 the current dir or the mark is active. Add the current file
7387 as the arg of `dired-dwim-target-defaults'. Use the default file
7388 in the prompt. (Bug#5225)
7390 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
7392 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
7393 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
7394 (tramp-check-for-regexp): Check also, when an echoing shell stops
7395 to echo sent commands.
7397 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7399 * Makefile.in: Revert last change (Bug#5191).
7401 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
7403 * vc-hg.el (vc-hg-print-log): Fix argument order.
7404 (vc-hg-working-revision): Make sure the command is executed in a
7405 known environment so that we can parse the output. (Bug#4417)
7407 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7409 * progmodes/python.el (python-symbol-completions): Remove text
7410 properties from symbol string before calling python-send-receive.
7412 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
7414 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
7415 when there are values for both file and line. (Bug#5060)
7417 2009-12-14 Juri Linkov <juri@jurta.org>
7419 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
7420 whitespace after the file name of the first line of unified format,
7421 because git-diff doesn't output whitespace and file modification time
7422 after the file name.
7424 2009-12-14 David Kastrup <dak@gnu.org>
7426 * info.el (Info-hide-cookies-node): Before hiding a cookie,
7427 check if it already has the `display' property added by
7428 `Info-display-images-node', and not put the `invisible' property
7431 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7433 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
7434 (semantic-mru-bookmark-mode): Doc fixes.
7436 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
7439 2009-12-13 Glenn Morris <rgm@gnu.org>
7441 * mail/emacsbug.el (message-sort-headers): Define for compiler.
7442 (report-emacs-bug): In message-mode, sort manually before storing
7443 original report text. (Bug#5178)
7444 Remove superfluous save-excursion.
7446 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
7448 * net/dbus.el (dbus-property-handler): Filter lambda forms out
7449 when responding to "GetAll" properties.
7451 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
7453 * simple.el (compose-mail): Remove mail-setup-with-from from
7454 customization checks.
7456 2009-12-12 Eli Zaretskii <eliz@gnu.org>
7458 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
7459 RAR archives created on Unix systems.
7461 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
7464 the varalias that was accidentally removed by the 2009-11-19 change
7467 2009-12-12 Kenichi Handa <handa@m17n.org>
7469 * language/indian.el (indian-compose-regexp): New function.
7470 (malayalam-composable-pattern): Fix the pattern.
7471 (composition-function-table): Set malayalam-composable-pattern for
7472 Malayalam characters.
7474 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
7476 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
7477 rather than down-mouse-1, based on follow-link conventions.
7479 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
7482 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
7484 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
7485 (verilog-vmm-statement-re, verilog-ovm-statement-re)
7486 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
7487 (verilog-leap-to-head, verilog-backward-token):
7488 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
7490 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
7492 * progmodes/verilog-mode.el (verilog-auto-lineup)
7493 (verilog-nameable-item-re): Cleanup user-visible spelling and
7494 documentation errors. One reported by Gary Delp.
7495 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
7496 (verilog-read-decls): Fix AUTOWIRE with types declared in a
7497 package, bug195. Reported by Pierre-David Pfister.
7499 2009-12-11 Glenn Morris <rgm@gnu.org>
7501 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
7503 * mail/emacsbug.el: No longer require sendmail.
7504 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
7505 (report-emacs-bug-orig-text): Doc fix.
7506 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
7507 New local variables, to adapt to different mail-user-agents.
7508 (report-emacs-bug): Fix test for a gnu.org address.
7509 Use overlays for emphasis, since font-lock defeats 'face property.
7510 Pretest bugs also end up at the newsgroup these days.
7511 Stop message-mode stripping text properties.
7512 Set and use the new buffer-local variables.
7513 (report-emacs-bug-hook): Add doc-string.
7514 Remove some unnecessary save-excursions and simplify.
7515 Use the appropriate hook and send-command.
7517 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
7518 capitalization of some menu entries.
7520 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7522 * whitespace.el (whitespace-display-char-on):
7523 Ensure `buffer-display-table' is unique when two or more windows are
7524 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
7527 2009-12-10 Eli Zaretskii <eliz@gnu.org>
7529 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
7530 characters in the Attribute field.
7532 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
7534 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
7536 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
7538 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
7539 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7540 Disregard autoload-excludes.
7541 (update-directory-autoloads): Obey autoload-excludes here instead.
7542 But don't store its contents in no-autoloads and remove entries that
7543 refer to excludes files.
7545 2009-12-10 Glenn Morris <rgm@gnu.org>
7547 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
7548 (expand-mail-aliases): Define for compiler.
7550 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
7551 Define for compiler.
7553 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
7554 appropriate for the mail-user-agent in use.
7556 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
7558 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
7560 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
7562 Fix short log parsing and fontification.
7563 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
7564 Fix fontification for the [merge] label.
7566 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
7568 Drop some properties to avoid surprises (bug#5002).
7569 * htmlfontify.el (hfy-ignored-properties): New defcustom.
7570 (hfy-fontify-buffer): Use it.
7572 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
7575 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
7577 (ffap-locate-file): Remove unused arg `dir-ok' and make other
7578 args compulsory. Adjust callers.
7579 (ffap-gopher-at-point): Remove unused var `name'.
7581 Get rid of the ELCFILES abomination.
7582 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7583 (compile-elcfiles): New phony target.
7584 (compile-main): Compute ELCFILES dynamically.
7585 (compile-clean): New target to remove left-over elc files.
7586 (compile, all): Use it.
7588 2009-12-09 Kenichi Handa <handa@etlken>
7590 * international/mule-diag.el: Require help-mode instead of help-fns.
7592 2009-12-09 Kenichi Handa <handa@m17n.org>
7594 * international/mule-cmds.el (ucs-names): Supply sufficiently
7595 fine ranges instead of pre-calculating accurate ranges.
7596 Iterate with bigger gc-cons-threshold.
7598 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
7600 Add support for stashing a snapshot of the current tree.
7601 * vc-git.el (vc-git-stash-snapshot): New function.
7602 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
7604 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
7606 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
7607 instead of `(beginning|end)-of-line'.
7609 2009-12-08 Glenn Morris <rgm@gnu.org>
7611 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
7613 * Makefile.in (ELCFILES): Regenerate.
7615 2009-12-07 Juri Linkov <juri@jurta.org>
7617 Don't lazy-highlight the comint output in history Isearch mode.
7619 * comint.el (comint-history-isearch-search): Instead of
7620 `comint-line-beginning-position', use `comint-after-pmark-p'
7621 to check if point if before the process mark, and go to
7622 `process-mark' in this case.
7624 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
7626 * textmodes/tex-mode.el (latex-complete)
7627 (latex-indent-or-complete): Remove.
7628 (latex-mode): Set completion-at-point-functions instead.
7630 Provide a standard completion command and hook it into TAB.
7631 * minibuffer.el (completion-at-point-functions): New var.
7632 (completion-at-point): New command.
7633 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
7634 * progmodes/python.el (python-mode-map): Use completion-at-point.
7635 (python-completion-at-point): Rename from python-partial-symbol and
7636 adjust for use in completion-at-point-functions.
7637 (python-mode): Setup completion-at-point for Python completion.
7638 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
7639 extracted from lisp-complete-symbol.
7640 (lisp-complete-symbol): Use it.
7641 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
7642 setup completion-at-point for Elisp completion.
7643 (emacs-lisp-mode-map, lisp-interaction-mode-map):
7644 Use completion-at-point.
7645 * ielm.el (ielm-map): Use completion-at-point.
7646 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
7647 * progmodes/sym-comp.el: Move to...
7648 * obsolete/sym-comp.el: Move from progmodes.
7650 2009-12-07 Eli Zaretskii <eliz@gnu.org>
7652 Prevent save-buffer in Rmail buffers from using the coding-system
7653 of the current message, and from clobbering the encoding mnemonics
7654 in the mode line (Bug#4623).
7656 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
7658 (rmail-message-encoding): New variable.
7659 (rmail-write-region-annotate): Record the encoding of the current
7660 message in rmail-message-encoding.
7661 (rmail-after-save-hook): New function, restores the encoding of
7662 the current message after the message collection is saved.
7664 2009-12-07 Juri Linkov <juri@jurta.org>
7666 * progmodes/grep.el (grep-read-files): Use `completing-read'
7667 instead of `read-string'. Set its `collection' arg to
7668 `read-file-name-internal'. (Bug#4301)
7670 2009-12-07 Juri Linkov <juri@jurta.org>
7672 Correctly restore original Isearch point. (Bug#4994)
7674 * isearch.el (isearch-mode): Move `isearch-push-state' after
7675 `(run-hooks 'isearch-mode-hook)'.
7676 (isearch-cancel): When `isearch-push-state-function' is defined,
7677 let-bind `isearch-cmds' to the first state (the last element of
7678 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
7679 function and restores the original point). Otherwise, move point
7680 to `isearch-opoint'.
7682 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
7684 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
7685 chars that don't have names, so the table can be built much faster at
7688 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
7690 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
7691 change. Suggested by David Kastrup.
7693 * simple.el (compose-mail): Check for incompatibilities and warn.
7694 (compose-mail-user-agent-warnings): New option.
7696 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
7698 Support showing a single log entry from vc-annotate.
7699 * vc.el (print-log): Add a new argument: START-REVISION.
7700 (vc-print-log-internal): Add a new optional argument and
7701 pass it to the backend.
7702 (vc-print-log, vc-print-root-log): Adjust callers.
7703 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
7704 buffer already displays the requested log entry, use it.
7705 Otherwise display only the log entry in question.
7706 * vc-svn.el (vc-svn-print-log):
7707 * vc-mtn.el (vc-mtn-print-log):
7708 * vc-hg.el (vc-hg-state):
7709 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
7710 (vc-git-show-log-entry): Return t on success.
7711 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
7712 (vc-bzr-show-log-entry): Return t on success.
7713 * vc-rcs.el (vc-rcs-print-log):
7714 * vc-sccs.el (vc-sccs-print-log):
7715 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
7717 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
7719 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
7720 Add menus to the meta mode. (Bug#5043)
7722 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
7724 * ediff-init.el (ediff-event-key): Use event-to-character instead of
7727 * ediff.el (ediff-buffers-internal): Add unwind-protect.
7729 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
7731 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
7732 Berbain <raphael.berbain@gmail.com>.
7734 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
7736 (tramp-initial-end-of-output): New defconst.
7737 (tramp-methods, tramp-find-shell)
7738 (tramp-open-connection-setup-interactive-shell)
7739 (tramp-maybe-open-connection): Use it.
7740 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
7741 existence of `#' and `$'.
7743 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
7744 `tramp-initial-end-of-output'.
7746 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
7748 Get the background mode from the terminal for xterm, and set
7750 * term/xterm.el (xterm-set-background-mode): New function.
7751 (terminal-init-xterm): Use it in case xterm supports background
7752 color queries. Recompute faces after getting the background
7755 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
7757 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
7758 number comment back on its own line, for easier parsing.
7760 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
7762 Make it work for non-file buffers (bug#5102).
7763 * doc-view.el (doc-view-current-cache-dir):
7764 Use doc-view-buffer-file-name rather than buffer-file-name.
7765 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
7767 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
7769 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
7770 author field is too short.
7772 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
7774 * vc-git.el (vc-git-print-log): Handle a limit argument.
7775 Display the short log in graph form and with labels.
7776 (vc-git-log-view-mode): Handle labels.
7778 Make vc-revert change VC state from 'added to 'unregistered.
7779 * vc-git.el (vc-git-revert): Call git reset first.
7781 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
7783 * net/newst-backend.el, net/newst-plainview.el:
7784 * net/newst-reader.el, net/newst-ticker.el:
7785 * net/newst-treeview.el, net/newsticker.el:
7786 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
7788 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
7790 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
7792 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
7793 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
7794 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
7795 Update annotation regexp.
7797 * simple.el (beginning-of-visual-line): Constrain to field
7798 boundaries (Bug#5106).
7800 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
7802 * xml.el (xml-substitute-numeric-entities): Move
7803 newsticker--decode-numeric-entities in newst-backend.el to
7804 xml-substitute-numeric-entities in xml.el. (Bug#5008)
7805 * net/newst-backend.el (newsticker--parse-generic-feed)
7806 (newsticker--parse-generic-items)
7807 (newsticker--decode-numeric-entities): Move
7808 newsticker--decode-numeric-entities in newst-backend.el to
7809 xml-substitute-numeric-entities in xml.el. (Bug#5008)
7811 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
7813 * progmodes/js.el (js--js-not): Add null to the list of values.
7815 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
7817 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
7819 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7821 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
7822 delimiter if it is at the end of the current line.
7823 (bibtex-generate-url-list): Fix docstring.
7825 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7827 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
7828 minibuffer's content with itself.
7829 Fold the confirm-after-completion case into the `confirm' case.
7830 (completion-pcm-word-delimiters): Add : and / to the delimiters.
7832 2009-12-06 Kevin Ryde <user42@zip.com.au>
7834 * ffap.el (ffap-rfc-path): Make this a defcustom since
7835 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
7837 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
7838 manuals, similar to existing setup for help-mode. (Bug#3913.)
7840 2009-12-05 Juri Linkov <juri@jurta.org>
7842 Save and restore dired buffer's point positions too. (Bug#4880)
7844 * dired.el (dired-save-positions): Return in the first element
7845 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
7847 (dired-restore-positions): First restore buffer's position.
7848 While restoring window's positions, check if window still displays
7849 the original buffer.
7851 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
7853 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
7856 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
7857 Make argument optional.
7859 * shell.el (shell): Require ansi-color (Bug#5113).
7861 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
7863 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
7865 2009-12-05 Alan Mackenzie <acm@muc.de>
7867 * progmodes/cc-mode.el (c-before-hack-hook)
7868 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
7869 `c-file-style' to work again. This reversion restores the current
7870 software to its state in Emacs 23.1. (Bug#4146)
7872 2009-12-05 Kevin Ryde <user42@zip.com.au>
7874 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
7875 comment-start-skip to comment-end-skip as comment (Bug#4781).
7877 2009-12-05 Juri Linkov <juri@jurta.org>
7879 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
7880 for virtual nodes. (Bug#4147)
7881 (Info-find-node-2): Set `Info-current-node-virtual' to nil
7882 when moving from a virtual node.
7883 (Info-mode-menu): Add `Info-virtual-index' to the menu.
7884 (Info-mode): Add `Info-virtual-index' to the docstring.
7886 2009-12-05 Eric Ludlam <zappo@gnu.org>
7888 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
7889 Describe project macro symbols.
7891 * cedet/semantic/complete.el (semantic-complete-do-completion):
7892 Don't call semantic-collector-current-exact-match.
7894 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
7895 ede-objects as targets.
7897 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
7898 a target's object list even if compiler vars are already in the
7901 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
7902 list of headers producing necessary macros.
7904 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7906 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
7907 track of the buffer position of the end of a BibTeX entry as this
7908 position may change during reformatting.
7909 (bibtex-format-entry): Remove whitespace before processing
7910 numerical fields so that we recognize the latter properly.
7911 (bibtex-reformat): Do not use push which changes the global value
7912 of bibtex-entry-format.
7913 (bibtex-field-braces-alist, bibtex-field-strings-alist)
7914 (bibtex-field-re-init): Replace only space characters by regexp
7916 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
7917 (bibtex-initialize): Also update bibtex-strings.
7918 (bibtex-kill-field): Preserve white space at end of entry.
7919 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
7920 Update bibtex-reference-keys.
7922 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * minibuffer.el (completion-pcm--merge-try): Also consider placing
7925 point after a star, if that's the only place where modifications can
7928 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
7930 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
7933 2009-12-04 Juri Linkov <juri@jurta.org>
7935 * proced.el (proced): Call `(proced-update t)' to update process
7936 information instead of only running proced-post-display-hook.
7937 (proced-send-signal): Add a leading space to the buffer name
7938 " *Marked Processes*" to make this buffer ephemeral.
7940 2009-12-04 Juri Linkov <juri@jurta.org>
7942 * dired.el (dired-auto-revert-buffer): New defcustom.
7943 (dired-internal-noselect): Use it.
7945 2009-12-04 Juri Linkov <juri@jurta.org>
7947 Change roles of modes and functions in image-mode.el (Bug#5062).
7949 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
7950 in `auto-mode-alist'.
7951 (image-mode-previous-major-mode): New variable.
7952 (image-minor-mode-map): Rename from `image-mode-text-map'.
7953 (image-mode): Move graceful error-handling code from
7954 `image-minor-mode' to here. On errors call `image-mode-as-text'.
7955 (image-minor-mode): Remove all image-handling code.
7956 Replace `image-mode-text-map' with `image-minor-mode-map'.
7957 Check for `image-type' in mode-line format string.
7958 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
7959 (image-mode-as-text): New function with most code from
7961 (image-toggle-display-text): Move code that removes image
7962 properties from `image-toggle-display' to here.
7963 (image-toggle-display-image): New function with code that adds
7964 image properties copied from `image-toggle-display'.
7965 (image-toggle-display): Remove most code with leaving only code
7966 that toggles between `image-mode-as-text' and `image-mode'.
7968 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
7970 * net/newst-treeview.el
7971 (newsticker--treeview-list-highlight-start): Restored call to
7972 save-excursion: Selected item was stuck.
7973 (newsticker--treeview-list-select): New.
7974 (newsticker--treeview-item-show-text)
7975 (newsticker--treeview-item-show)
7976 (newsticker--treeview-item-update): Use new
7977 newsticker-treeview-item-mode.
7978 (newsticker-treeview-update): Keep current item.
7979 (newsticker-treeview-next-new-or-immortal-item): Doc change.
7980 (newsticker--treeview-first-feed): Doc change.
7981 (newsticker-treeview-list-menu)
7982 (newsticker-treeview-item-menu): Added menu entries.
7983 (newsticker-treeview-item-mode): New.
7985 * net/newst-backend.el (newsticker-customize): Delete other
7988 2009-12-04 Sam Steingold <sds@gnu.org>
7990 * log-view.el (log-view-mode-map): "q" calls quit-window,
7991 like in all the other non-self-insert buffers.
7993 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7996 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
7997 key decoding rather than do it manually via last-input-event +
7999 (term-exec): Use delete-and-extract-region.
8000 (term-handle-ansi-terminal-messages): Remove unused var `end'.
8001 (term-process-pager): Remove unused var `i'.
8002 (term-dynamic-simple-complete): Make obsolete.
8003 (serial-update-config-menu): Remove unused vars `y' and `str'.
8004 (term-update-mode-line): Remove unused var `temp'.
8006 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8008 Limit the number of log entries displayed by default.
8009 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8010 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8011 using a prefix argument.
8013 2009-12-03 Glenn Morris <rgm@gnu.org>
8015 * progmodes/idlwave.el (class): Restore still useful declaration.
8017 2009-12-03 Alan Mackenzie <acm@muc.de>
8019 Enhance `c-parse-state' to run efficiently in "brace deserts".
8021 * progmodes/cc-mode.el (c-basic-common-init):
8022 Call c-state-cache-init.
8023 (c-neutralize-syntax-in-and-mark-CPP): Rename from
8024 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
8025 placing `category' properties value 'c-cpp-delimiter at its boundaries.
8027 * progmodes/cc-langs.el (c-before-font-lock-function):
8028 c-extend-and-neutralize-syntax-in-CPP has been renamed
8029 c-neutralize-syntax-in-and-mark-CPP.
8031 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8032 with `category' properties now, not `syntax-table' ones.
8034 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8035 enhanced (but slower) version of c-end-of-macro that won't land
8036 inside a literal or on another awkward character.
8037 (c-state-cache-too-far, c-state-cache-start)
8038 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8039 (c-state-nonlit-pos-cache-limit, c-state-point-min)
8040 (c-state-point-min-lit-type, c-state-point-min-lit-start)
8041 (c-state-min-scan-pos, c-state-brace-pair-desert)
8042 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8043 buffer local variables.
8044 (c-state-literal-at, c-state-lit-beg)
8045 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8046 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8047 (c-state-cache-top-paren, c-state-cache-after-top-paren)
8048 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8049 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8050 (c-renarrow-state-cache)
8051 (c-append-lower-brace-pair-to-state-cache)
8052 (c-state-push-any-brace-pair, c-append-to-state-cache)
8053 (c-remove-stale-state-cache)
8054 (c-remove-stale-state-cache-backwards, c-state-cache-init)
8055 (c-invalidate-state-cache-1, c-parse-state-1)
8056 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8057 (c-parse-state): Enhance and refactor.
8058 (c-debug-parse-state): Amend to deal with all the new variables.
8060 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8061 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8062 modify to use category text properties rather than syntax-table ones.
8063 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8064 to switch off/on the syntactic paren property of C++ template
8065 delimiters using the category property.
8066 (c-with-<->-as-parens-suppressed): Macro to invoke code with
8067 template delims suppressed.
8068 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8069 New constant/macros which apply category properties to the start
8070 and end of preprocessor constructs.
8071 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8072 "comment out" the syntactic value of characters in preprocessor
8074 (c-with-cpps-commented-out)
8075 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8076 with characters in all or all but one preprocessor constructs
8079 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8081 * proced.el (proced-filter-alist): Use regexp-quote.
8083 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
8086 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8087 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
8088 arguments. Expand `default-directory'.
8090 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8091 the benefit of returning an expanded localname.
8092 (tramp-tramp-file-p): Handle the case NAME is not a string.
8094 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8096 Add support for bzr shelve/unshelve.
8097 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8098 (vc-bzr-extra-menu-map): New variables.
8099 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8100 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8101 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8102 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8103 (vc-bzr-dir-extra-headers): Display shelves.
8105 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8107 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8109 * textmodes/bibtex.el (bibtex-complete-internal):
8110 Use completion-in-region.
8111 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8113 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8115 Support applying stashes. Improve UI.
8116 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8117 (vc-git-stash-apply, vc-git-stash-pop)
8118 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8119 (vc-git-stash-menu): New functions.
8120 (vc-git-stash-menu-map): New variable.
8121 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8123 2009-12-03 Glenn Morris <rgm@gnu.org>
8125 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8126 (vc-print-log-internal): Fix previous change.
8127 (vc-revert): Correct pluralization.
8129 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * progmodes/make-mode.el (makefile-special-targets-list): No need for
8132 it to be an alist any more.
8133 (makefile-complete): Use completion-in-region.
8135 * progmodes/octave-mod.el (octave-complete-symbol):
8136 Use completion-in-region.
8139 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8140 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8141 (idlwave-complete-class): Don't quote lambda.
8142 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8143 (idlwave-mode-map): Move initialization into declaration.
8144 (idlwave-action-and-binding): Use backquotes.
8145 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8147 (idlwave-is-pointer-dereference): Remove unused var `pos'.
8148 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8149 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8150 `parts', and `all-parts'.
8151 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8152 (idlwave-convert-xml-system-routine-info): Remove unused string
8154 (idlwave-display-user-catalog-widget): Use dolist.
8155 (idlwave-scanning-lib): Declare dynamically-scoped var.
8156 (idlwave-scan-library-catalogs): Remove unused var `flags'.
8157 (completion-highlight-first-word-only): Declare to silence bytecomp.
8158 (idlwave-popup-select): Tighten scope of `resp'.
8159 (idlwave-find-struct-tag): Remove unused var `beg'.
8160 (idlwave-after-load-rinfo-hook): Declare.
8161 (idlwave-sintern-class-info): Remove unused var `taglist'.
8162 (idlwave-find-class-definition): Remove unused var `list'.
8163 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8164 (idlwave-what-module-find-class): Remove unused var `classes'.
8166 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
8168 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8170 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8173 buffers visited. Remove redundant current-buffer-saving.
8175 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8177 Use completion-in-buffer and remove uses of dynamic scoping.
8178 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8179 (pascal-buffer-to-use, pascal-flag): Don't declare.
8180 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8181 (pascal-get-completion-decl, pascal-keyword-completion):
8182 Add `pascal-str' argument, save-excursion,
8183 return the found completions, and don't filter with pascal-pred.
8184 (pascal-completion-cache): New var.
8185 (pascal-completion): Don't switch buffer any more (it was never
8186 necessary). Don't save-excursion any more (it's done by the called
8187 subroutines). Use a cache to avoid redundant computations.
8188 Use complete-with-action rather than pascal-completion-response and
8189 let it apply the predicate as well.
8190 (pascal-complete-word): Use completion-in-buffer when
8191 pascal-toggle-completions is nil.
8192 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8194 (pascal-comp-defun): Don't change buffer any more.
8195 Use complete-with-action rather than pascal-completion-response and
8196 let it apply the predicate as well.
8197 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8200 2009-12-02 Kenichi Handa <handa@m17n.org>
8202 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8203 shape for all Indic scripts.
8205 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8207 Use completion-in-buffer.
8208 * wid-edit.el (widget-field-text-end): New function.
8209 (widget-field-value-get): Use it.
8210 (widget-string-complete, widget-file-complete)
8211 (widget-color-complete): Use it and completion-in-region.
8212 (widget-complete): Don't narrow the buffer.
8214 2009-12-02 Glenn Morris <rgm@gnu.org>
8216 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
8217 (rmail-select-summary): Use rmail-pop-to-buffer.
8218 * mail/rmailsum.el: Replace all pop-to-buffer calls with
8219 rmail-pop-to-buffer, to prevent horizontal splits.
8221 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8222 save-excursion with save-current-buffer.
8223 Widen before searching. (Bug#5093)
8224 (diary-list-sexp-entries): Remove superfluous save-excursion.
8226 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
8228 * woman.el (woman-make-bufname): Handle man-pages with "." in the
8231 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
8233 * ido.el (ido-file-internal): Handle filenames at point that do
8234 not have a directory part. (Bug#5049)
8236 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
8238 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8239 (mpc-songs-jump-to, mpc-resume): Doc fixes.
8241 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
8243 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8244 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8247 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8249 * comint.el (comint-insert-input): Ignore clicks to the right of
8250 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8252 * vc.el (vc-print-log-internal): Don't wait for the process to
8253 terminate before setting up the major mode.
8255 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8258 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8261 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8263 2009-12-01 Glenn Morris <rgm@gnu.org>
8265 * window.el (window--display-buffer-2): Fix previous changes.
8267 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
8269 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8271 2009-12-01 Glenn Morris <rgm@gnu.org>
8273 * Makefile.in (ELCFILES): Add mpc.elc.
8275 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8279 2009-12-01 Glenn Morris <rgm@gnu.org>
8281 * window.el (window-to-use): Define for compiler.
8283 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
8284 consistent with others (no final period).
8286 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
8287 (rmail-mime-show): Downcase the encoding. (Bug#5070)
8289 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
8291 Make vc-print-log buttons work.
8292 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
8294 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
8296 * savehist.el (savehist-autosave-interval): Allow setting to nil
8297 through customize. (Bug#5056)
8299 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
8301 Fix references to jit-lock properties.
8302 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
8303 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
8304 (perl-font-lock-special-syntactic-constructs):
8305 Quote jit-lock-defer-multiline property.
8307 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
8309 * vc-git.el (vc-git-registered): Call vc-git-root only once.
8311 2009-11-30 Juri Linkov <juri@jurta.org>
8313 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
8314 value `buffer' of `multi-isearch-next-buffer-current-function'.
8315 Use `(current-buffer)' when `buffer' is nil.
8316 (multi-isearch-next-buffer-from-list): Don't fallback to
8317 `(current-buffer)' when `buffer' is nil. (Bug#4947)
8319 2009-11-30 Juri Linkov <juri@jurta.org>
8321 * misearch.el (multi-isearch-read-buffers): Move canonicalization
8322 of buffers with `get-buffer' to `multi-isearch-buffers'.
8323 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8324 Canonicalize BUFFERS with `get-buffer'. Doc fix.
8325 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
8326 FILES with `expand-file-name' converting relative file names
8327 to absolute. Doc fix. (Bug#4727)
8329 2009-11-30 Juri Linkov <juri@jurta.org>
8331 * misearch.el (multi-isearch-read-buffers)
8332 (multi-isearch-read-matching-buffers): New functions.
8333 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8334 Use them in the `interactive' spec. Doc fix.
8335 (multi-isearch-read-files, multi-isearch-read-matching-files):
8337 (multi-isearch-files, multi-isearch-files-regexp):
8338 Use them in the `interactive' spec. Doc fix. (Bug#4725)
8340 2009-11-30 Juri Linkov <juri@jurta.org>
8342 * doc-view.el (doc-view-continuous):
8343 Rename from `doc-view-continuous-mode'.
8344 (doc-view-menu): Move "Toggle display" to the top.
8345 Add submenu "Continuous" with radio buttons "Off"/"On"
8346 and "Save as Default".
8347 (doc-view-scroll-up-or-next-page)
8348 (doc-view-scroll-down-or-previous-page)
8349 (doc-view-next-line-or-next-page)
8350 (doc-view-previous-line-or-previous-page): Rename
8351 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
8353 2009-11-30 Juri Linkov <juri@jurta.org>
8355 * comint.el (comint-mode-map): Rebind `M-r' from
8356 `comint-previous-matching-input' to
8357 `comint-history-isearch-backward-regexp'.
8358 Unbind `M-s' to allow global key binding `M-s'.
8359 Add menu items for `comint-history-isearch-backward' and
8360 `comint-history-isearch-backward-regexp'. (Bug#3746)
8362 2009-11-30 Juri Linkov <juri@jurta.org>
8364 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
8365 For def=recenter, replace `recenter' with `recenter-top-bottom'
8366 that is called with `this-command' and `last-command' let-bound
8367 to `recenter-top-bottom'. When the last `def' was not `recenter',
8368 set `recenter-last-op' to nil. (Bug#4981)
8370 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
8372 Minor cleanup and simplification.
8373 * filecache.el (file-cache-add-directory)
8374 (file-cache-add-directory-recursively)
8375 (file-cache-add-from-file-cache-buffer)
8376 (file-cache-delete-file-regexp, file-cache-delete-directory)
8377 (file-cache-files-matching-internal, file-cache-display): Use dolist.
8378 (file-cache-temp-minibuffer-message): Delete function.
8379 (file-cache-minibuffer-complete): Use minibuffer-message instead.
8381 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
8382 Don't signal an error when bumping into EOB in tr, s, or y.
8384 2009-11-29 Juri Linkov <juri@jurta.org>
8386 * startup.el (fancy-about-text): Fix wording of Guided Tour.
8389 * descr-text.el (describe-char-unidata-list): Use lowercase name
8390 for "Unicode name" like in other tags.
8392 2009-11-29 Juri Linkov <juri@jurta.org>
8394 * ediff-util.el (ediff-minibuffer-with-setup-hook):
8395 New compatibility macro.
8396 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
8398 2009-11-29 Juri Linkov <juri@jurta.org>
8400 Add defcustom to define the cycling order of `recenter-top-bottom'.
8403 * window.el (recenter-last-op): Doc fix.
8404 (recenter-positions): New defcustom.
8405 (recenter-top-bottom): Rewrite to use `recenter-positions'.
8406 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
8408 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
8410 Improve integration of Tramp and ange-ftp in eshell.
8412 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
8413 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
8414 (eshell/sudo): Flatten args. Let-bind `default-directory'.
8416 * eshell/esh-util.el (top): Require also Tramp when compiling.
8417 (eshell-directory-files-and-attributes): Check for FTP remote
8419 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
8420 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
8421 (eshell-file-attributes): Handle ".". Return `entry'.
8423 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
8424 (ange-ftp-directory-files-and-attributes)
8425 (ange-ftp-real-directory-files-and-attributes): New defuns.
8427 * net/tramp.el (tramp-maybe-open-connection): Open the remote
8428 shell with "exec" when possible. This prevents trailing prompts
8429 in `start-file-process'.
8431 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8433 Try and remove assumptions about point-min==1.
8434 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
8435 (rng-compute-mode-line-string): Show the validation percentage in
8436 terms of the narrowed text, not the widened text.
8437 (rng-do-some-validation): Don't catch internal errors when debugging.
8438 (rng-first-error): Simplify.
8439 (rng-after-change-function): Remove work around. AFAIK the bug has
8440 been fixed a while ago.
8442 * image-mode.el (image-minor-mode): Exit more gracefully when the image
8443 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
8445 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
8447 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
8448 `cd' doesn't always do it for us (bug#5067).
8450 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
8451 on 2009-10-25 as part of some other change (bug#5067).
8453 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8455 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
8457 (byte-compile-warnings): Use byte-compile-warning-types.
8458 (byte-compile-save-excursion): Warn about use of set-buffer right
8459 after save-excursion.
8461 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
8462 the excursion as well.
8464 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
8466 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
8467 providing a Tramp related implementation of "su" and "sudo".
8468 (eshell-unix-initialize): Add "su" and "sudo".
8470 2009-11-27 Daiki Ueno <ueno@unixuser.org>
8472 * net/socks.el (socks-send-command): Convert binary request to
8473 unibyte before sending. This fixes mishandling of some port
8474 numbers such as 129.
8476 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8478 * help.el (describe-bindings-internal): Remove `interactive'.
8480 * man.el (Man-completion-table): Trim a terminating "(".
8481 Remove the space between name page a section.
8482 Add the command's description on the `help-echo' property.
8483 Remove `process-connection-type' binding since it's unused by
8485 Provide completion for the "<section> <name>" format as well.
8486 (Man-default-man-entry): Remove spurious var shadowing the argument.
8488 2009-11-26 Kevin Ryde <user42@zip.com.au>
8490 * log-view.el: Add "Keywords: tools", since its other keywords
8491 aren't in finder-known-keywords, and following vc.el.
8493 * sha1.el (sha1-string-external): default-directory "/" in case
8494 otherwise non-existent. process-connection-type pipe for touch of
8495 efficiency recommended by elisp manual. (An aside in Bug#3911.)
8497 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
8499 Misc coding convention cleanups.
8500 * htmlfontify.el (hfy-init-kludge-hook): Rename from
8501 hfy-init-kludge-hooks.
8502 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
8503 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
8504 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
8506 (hfy-slant, hfy-weight): Use tables rather than code.
8507 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
8508 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
8509 (hfy-face-attr-for-class): Initialize `face-spec' directly.
8510 (hfy-face-to-css): Remove `nconc' with single arg.
8511 (hfy-p-to-face-lennart): Use `or'.
8512 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
8513 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
8514 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
8515 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
8516 (hfy-force-fontification): Use run-hooks.
8518 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
8520 Various minor fixes.
8521 * htmlfontify.el (hfy-default-header): Add toggle_invis since
8522 Javascript belongs in the header, not the body.
8523 (hfy-javascript): Remove.
8524 (hfy-fontify-buffer): Don't insert it any more.
8525 (hfy-face-at): Handle (face0 face1 face2) style face properties.
8526 Fix bug in invis handling when there were no invis props in a chunk.
8528 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
8532 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
8534 * finder.el (finder-mode-map): Add a menu.
8536 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
8538 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
8541 (verilog-leap-to-head, verilog-backward-token): Handle "disable
8542 fork" statement better.
8544 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
8546 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
8547 (verilog-delete-auto, verilog-delete-empty-auto-pair)
8548 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
8549 Reported by Clay Douglass.
8551 (verilog-auto-inst, verilog-auto-star-safe)
8552 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
8553 Fix removing "// Interfaces" when saving .* expansions. Reported by
8554 Pierre-David Pfister.
8556 2009-11-26 Glenn Morris <rgm@gnu.org>
8558 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
8561 2009-11-25 Johan Bockgård <bojohan@gnu.org>
8563 * vc-annotate.el (vc-annotate-revision-previous-to-line):
8564 Really use previous revision.
8566 2009-11-25 Kevin Ryde <user42@zip.com.au>
8568 * man.el (Man-completion-table): default-directory "/" in case
8569 doesn't otherwise exist. process-environment COLUMNS=999 so as
8570 not to truncate long names. process-connection-type pipe to avoid
8571 any chance of hitting the pseudo-tty TIOCGWINSZ.
8572 (man): completion-ignore-case t for friendliness and since man
8573 itself is case-insensitive on the command line.
8574 Further to Bug#3717.
8576 * arc-mode.el: Add "Keywords: files", so the details in its
8577 commentary can be reached from finder-by-keyword.
8578 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
8579 editing mode, but it's comms related and sgml-mode.el has "comm"
8581 * textmodes/bibtex-style.el: Add "Keywords: tex".
8582 * international/isearch-x.el, international/ja-dic-cnv.el:
8583 * international/ja-dic-utl.el, international/kkc.el:
8584 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
8586 2009-11-25 Juri Linkov <juri@jurta.org>
8588 * man.el (Man-completion-table): Modify regexp to include
8589 section names to completion strings. (Bug#3717)
8591 2009-11-25 Juri Linkov <juri@jurta.org>
8593 Search recursively in gzipped files. (Bug#4982)
8595 * progmodes/grep.el (grep-highlight-matches): Add new options
8596 `always' and `auto'. Doc fix.
8597 (grep-process-setup): Check `grep-highlight-matches' for
8598 `auto-detect' to determine the need to compute grep defaults.
8599 Move Windows/DOS specific --colors settings handling
8600 to `grep-compute-defaults'. Check `grep-highlight-matches'
8601 to get the value of "--color=".
8602 (grep-compute-defaults): Compute `grep-highlight-matches' when it
8603 has the value `auto-detect'. Move Windows/DOS specific settings
8604 from `grep-process-setup'.
8605 (zrgrep): New command with alias `rzgrep'.
8607 2009-11-25 Juri Linkov <juri@jurta.org>
8609 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
8610 to nil instead of switching off view-mode. (Bug#4896)
8612 2009-11-25 Juri Linkov <juri@jurta.org>
8614 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
8616 * mwheel.el (mwheel-scroll-up-function)
8617 (mwheel-scroll-down-function): New defvars.
8618 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
8619 `scroll-up', and `mwheel-scroll-down-function' instead of
8622 * doc-view.el (doc-view-scroll-up-or-next-page)
8623 (doc-view-scroll-down-or-previous-page): Add optional ARG.
8624 Use this ARG in the call to image-scroll-up/image-scroll-down.
8625 Change `interactive' spec to "P". Goto next/previous page only
8626 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
8627 SPC/DEL case). Doc fix.
8628 (doc-view-next-line-or-next-page)
8629 (doc-view-previous-line-or-previous-page): Rename arg to ARG
8631 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
8632 `doc-view-scroll-up-or-next-page', and buffer-local
8633 `mwheel-scroll-down-function' to
8634 `doc-view-scroll-down-or-previous-page'.
8636 2009-11-25 Juri Linkov <juri@jurta.org>
8638 Provide additional default values (directories at other Dired
8639 windows) via M-n in the minibuffer of some Dired commands.
8641 * dired-aux.el (dired-diff, dired-compare-directories)
8642 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
8643 `minibuffer-default' in `minibuffer-with-setup-hook'.
8644 (dired-dwim-target-directory): Find a window that displays Dired
8645 buffer instead of failing when the next window is not Dired.
8646 Use `get-window-with-predicate' to find for the next Dired window.
8647 (dired-dwim-target-defaults): New function.
8649 * ediff-util.el (ediff-read-file-name):
8650 Use `dired-dwim-target-defaults' to set `minibuffer-default'
8651 in `minibuffer-with-setup-hook'.
8653 2009-11-25 Juri Linkov <juri@jurta.org>
8655 Provide additional default values (file name at point or at the
8656 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
8658 * minibuffer.el (read-file-name-defaults): New function.
8659 (read-file-name): Reset `minibuffer-default' to nil when
8660 it duplicates initial input `insdef'.
8661 Bind `minibuffer-default-add-function' to lambda that
8662 calls `read-file-name-defaults' in `minibuffer-selected-window'.
8663 (minibuffer-insert-file-name-at-point): New command.
8665 * files.el (file-name-at-point-functions): New defcustom.
8666 (find-file-default): Remove defvar.
8667 (find-file-read-args): Don't use `find-file-default'.
8668 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
8669 to `read-file-name'.
8670 (find-file-literally): Use `read-file-name' with
8671 `confirm-nonexistent-file-or-buffer'.
8673 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
8675 * dired.el (dired-read-dir-and-switches):
8676 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
8677 to `read-file-name'.
8678 (dired-file-name-at-point): New function.
8679 (dired-mode): Add hook `dired-file-name-at-point' to
8680 `file-name-at-point-functions'.
8682 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8684 Really make the *Completions* window soft-dedicated (bug#5030).
8685 * window.el (window--display-buffer-2): Add `dedicated' argument.
8686 (display-buffer): Pass it when needed so the dedicated flag is set
8687 after calling set-window-buffer, which would otherwise reset it.
8689 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8691 * progmodes/meta-mode.el (meta-complete-symbol):
8692 * progmodes/etags.el (complete-tag):
8693 * mail/mailabbrev.el (mail-abbrev-complete-alias):
8694 Use completion-in-region.
8696 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
8697 (dabbrev-completion): Use completion-in-region.
8698 (dabbrev--abbrev-at-point): Simplify regexp.
8700 * abbrev.el (abbrev--before-point): Use word-motion functions
8701 if :regexp is not specified (bug#5031).
8703 * subr.el (string-prefix-p): New function.
8705 * man.el (Man-completion-cache): New var.
8706 (Man-completion-table): Use it.
8708 * vc.el (vc-print-log-internal): Make `limit' optional for better
8709 compatibility (e.g. with vc-annotate.el).
8711 2009-11-24 Kevin Ryde <user42@zip.com.au>
8713 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
8714 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
8716 * emacs-lisp/elint.el (elint-add-required-env): Better error message
8717 when .el source file not found or other error.
8719 2009-11-24 Markus Triska <markus.triska@gmx.at>
8721 * linum.el (linum-update-window): Ignore intangible (bug#4996).
8723 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
8725 Handle the [back] button properly (bug#4979).
8726 * descr-text.el (describe-text-properties): Add a `buffer' argument.
8727 Use help-setup-xref, help-buffer, and with-help-window.
8728 (describe-char): Add `buffer' argument.
8729 Pass proper command to help-setup-xref. Don't meddle with
8730 help-xref-stack-item directly.
8731 (describe-text-category): Use with-help-window and help-buffer.
8733 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
8734 for the displayed buffer (bug#4887).
8736 * man.el (Man-completion-table): New function.
8739 2009-11-24 David Reitter <david.reitter@gmail.com>
8741 * vc-git.el (vc-git-registered): Use checkout directory (where
8742 .git is) rather than the file's directory and a relative path spec
8743 to work around a bug in git.
8745 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
8747 Improve handling of processes on remote hosts.
8749 * eshell/esh-util.el (eshell-path-env): New defvar.
8750 (eshell-parse-colon-path): New defun.
8751 (eshell-file-attributes): Use `eshell-parse-colon-path'.
8753 * eshell/esh-ext.el (eshell-search-path):
8754 Use `eshell-parse-colon-path'.
8755 (eshell-remote-command): Remove argument HANDLER.
8756 (eshell-external-command): Check for FTP remote connection.
8758 * eshell/esh-proc.el (eshell-gather-process-output):
8759 Use `file-truename', in order to start also symlinked files.
8760 Apply `start-file-process' instead of `start-process'.
8761 Shorten `command' to the local file name part.
8763 * eshell/em-cmpl.el (eshell-complete-commands-list):
8764 Use `eshell-parse-colon-path'.
8766 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
8768 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
8769 to `eshell-directory-change-hook'.
8771 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
8773 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
8774 because it could be enabled automatically if view-read-only is non-nil.
8776 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
8778 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
8781 2009-11-24 Glenn Morris <rgm@gnu.org>
8783 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
8784 deleted variable bookmark-bmenu-bookmark-column.
8786 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
8787 Move after definition of global-semantic-idle-tag-highlight-mode.
8789 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
8791 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
8793 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
8795 * net/browse-url.el (browse-url-filename-alist): On Windows, add
8796 two slashes to the "file:" prefix.
8797 (browse-url-file-url): De-munge Cygwin filenames before passing
8798 them to Windows browser.
8799 (browse-url-default-windows-browser): Use call-process.
8801 2009-11-23 Juri Linkov <juri@jurta.org>
8803 Implement DocView Continuous mode. (Bug#4896)
8804 * doc-view.el (doc-view-continuous-mode): New defcustom.
8805 (doc-view-mode-map): Bind C-n/<down> to
8806 `doc-view-next-line-or-next-page', C-p/<up> to
8807 `doc-view-previous-line-or-previous-page'.
8808 (doc-view-next-line-or-next-page)
8809 (doc-view-previous-line-or-previous-page): New commands.
8811 2009-11-23 Juri Linkov <juri@jurta.org>
8813 Implement Isearch in comint input history. (Bug#3746)
8814 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
8815 `isearch-mode-hook'.
8816 (comint-history-isearch): New defcustom.
8817 (comint-history-isearch-backward)
8818 (comint-history-isearch-backward-regexp): New commands.
8819 (comint-history-isearch-message-overlay): New buffer-local variable.
8820 (comint-history-isearch-setup, comint-history-isearch-end)
8821 (comint-goto-input, comint-history-isearch-search)
8822 (comint-history-isearch-message, comint-history-isearch-wrap)
8823 (comint-history-isearch-push-state)
8824 (comint-history-isearch-pop-state): New functions.
8826 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
8828 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
8830 (tramp-handle-make-symbolic-link)
8831 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
8833 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
8834 (tramp-handle-process-file): Use it.
8836 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
8838 * window.el (move-to-window-line-last-op): Remove.
8839 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
8841 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8843 Make M-r mirror the new cycling behavior of C-l.
8844 * window.el (move-to-window-line-last-op): New var.
8845 (move-to-window-line-top-bottom): New command.
8846 (global-map): Bind M-r move-to-window-line-top-bottom.
8848 2009-11-23 Sven Joachim <svenjoac@gmx.de>
8850 * dired-x.el (dired-guess-shell-alist-default):
8851 Support xz format. (Bug#4953)
8853 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
8855 * cedet/srecode/map.el (srecode-get-maps):
8856 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
8857 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
8858 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
8859 (semantic-toggle-decoration-style):
8860 * cedet/semantic/decorate/include.el
8861 (semantic-decoration-include-describe)
8862 (semantic-decoration-unknown-include-describe)
8863 (semantic-decoration-unparsed-include-describe)
8864 (semantic-decoration-all-include-summary):
8865 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
8866 * cedet/semantic/analyze/complete.el
8867 (semantic-analyze-possible-completions):
8868 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
8869 (semantic-show-unmatched-syntax-mode)
8870 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
8871 (semantic-highlight-func-mode):
8872 * cedet/semantic/util.el (semantic-describe-buffer):
8873 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
8874 (semantic-symref-find-tags-by-name)
8875 (semantic-symref-find-tags-by-regexp)
8876 (semantic-symref-find-tags-by-completion)
8877 (semantic-symref-find-file-references-by-name)
8878 (semantic-symref-find-text):
8879 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
8881 * cedet/semantic/scope.el (semantic-calculate-scope):
8882 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
8883 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
8884 (define-semantic-idle-service):
8885 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
8886 (semantic-complete-analyze-inline-idle):
8887 * cedet/semantic/analyze.el (semantic-analyze-current-context):
8888 * cedet/mode-local.el (describe-mode-local-bindings)
8889 (describe-mode-local-bindings-in-mode):
8890 * cedet/ede/make.el (ede-make-check-version):
8891 * cedet/ede/locate.el (ede-enable-locate-on-project):
8892 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
8893 (cedet-idutils-version-check):
8894 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
8895 (cedet-gnu-global-version-check):
8896 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
8897 (cedet-cscope-version-check): Use called-interactively-p instead
8900 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
8901 Use semantic-format-tag-prototype.
8903 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
8905 * emulation/viper-cmd.el: Use viper-last-command-char instead of
8906 last-command-char/last-command-event.
8907 (viper-prefix-arg-value): Do correct conversion of event-char for
8910 * emulation/viper-util.el, emulation/viper.el:
8911 Use viper-last-command-char instead of
8912 last-command-char/last-command-event.
8914 * ediff-init.el, ediff-mult.el, ediff-util.el:
8915 Replace last-command-char and last-command-event
8916 with (ediff-last-command-char) everywhere.
8918 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
8919 created in fundamental mode.
8921 * ediff.el (ediff-version): Revert the change of interactive-p to
8922 called-interactively-p.
8924 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
8926 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
8927 generation from word-movement command names.
8929 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
8931 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
8932 (semantic-complete-jump-local, semantic-complete-jump):
8933 Improve prompt string.
8935 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
8937 * cus-start.el (all): Add native condition for font-use-system-font.
8939 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
8941 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
8942 Correct the patch from 2009-11-18. (Bug#3910)
8944 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
8946 * progmodes/subword.el: Rename from lisp/subword.el.
8948 * subword.el: Rename to progmodes/subword.el.
8950 * Makefile.in (ELCFILES): Adapt to subword.el move.
8952 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8953 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
8956 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
8957 (bookmark-bmenu-show-filenames): Use push.
8958 (bookmark-bmenu-hide-filenames): Use local var instead of
8959 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
8960 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
8961 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
8962 filenames now that the bookmark names are always available.
8964 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
8967 (bookmark-search-pattern): Move and leave unbound.
8968 (bookmark-bmenu-mode-map): Change binding.
8969 (bookmark-read-search-input): Simplify.
8970 Don't use text-char-description. Don't error on non-char events.
8971 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
8972 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
8973 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
8974 Use a local var for the timer.
8975 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
8976 (i.e. bookmark-bmenu-search).
8978 2009-11-21 Glenn Morris <rgm@gnu.org>
8980 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
8982 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
8984 * net/browse-url.el (browse-url-default-windows-browser):
8985 Use cygstart for cygwin.
8987 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
8989 * bookmark.el: Formatting and doc fixes only:
8990 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
8991 (bookmark-bmenu-search): Wrap to fit within 80 columns.
8992 Minor grammar and punctuation fixes in doc string.
8993 (bookmark-read-search-input): Adjust to fit within 80 columns.
8995 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
8997 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
8998 (c-backward-into-nomenclature): Adapt to subword renaming.
9000 * subword.el (subword-forward, subword-backward, subword-mark)
9001 (subword-kill, subword-backward-kill, subword-transpose)
9002 (subword-downcase, subword-upcase, subword-capitalize)
9003 (subword-forward-internal, subword-backward-internal):
9004 Rename from forward-subword, backward-subword, mark-subword,
9005 kill-subword, backward-kill-subword, transpose-subwords,
9006 downcase-subword, upcase-subword, capitalize-subword,
9007 forward-subword-internal, backward-subword-internal.
9009 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9011 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9013 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9015 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9016 (bookmark-bmenu-filter-alist-by-regexp)
9017 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9018 (bookmark-bmenu-search): New command.
9019 (bookmark-bmenu-mode-map): Bind it.
9021 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
9023 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
9025 * cedet/semantic/idle.el (define-semantic-idle-service)
9026 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
9028 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9030 * progmodes/cc-cmds.el: declare-functioned forward-subword and
9031 backward-subword to quit the byte-compiler.
9033 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9035 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9037 * progmodes/cc-cmds.el (c-update-modeline)
9038 (c-forward-into-nomenclature, c-backward-into-nomenclature):
9039 Refer to subword.el functions instead of cc-subword.el.
9041 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9042 subword.el functions instead of cc-subword.el.
9044 * progmodes/cc-subword.el: Rename to subword.el.
9045 * subword.el: Rename from progmodes/cc-subword.el.
9046 (subword-mode-map): Rename from c-subword-mode-map.
9047 (subword-mode): Rename from c-subword-mode.
9048 (global-subword-mode): New global minor mode.
9049 (forward-subword): Rename from c-forward-subword.
9050 (backward-subword): Rename from c-backward-subword.
9051 (mark-subword): Rename from c-mark-subword.
9052 (kill-subword): Rename from c-kill-subword.
9053 (backward-kill-subword): Rename from c-backward-kill-subword.
9054 (transpose-subwords): Rename from c-tranpose-subword.
9055 (downcase-subword): Rename from c-downcase-subword.
9056 (capitalize-subword): Rename from c-capitalize-subword.
9057 (forward-subword-internal): Rename from c-forward-subword-internal.
9058 (backward-subword-internal): Rename from c-backward-subword-internal.
9060 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
9062 * vc.el (vc-deduce-fileset): Allow non-state changing operations
9063 from a dired buffer.
9064 (vc-dired-deduce-fileset): New function.
9065 (vc-root-diff, vc-print-root-log): Use it.
9067 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9068 nil LIMIT argument to vc-print-log-internal.
9070 2009-11-20 Glenn Morris <rgm@gnu.org>
9072 * Makefile.in (ELCFILES): Regenerate.
9074 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
9076 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
9078 * cedet/semantic.el: Enable idle-mode menu items only if
9079 global-semantic-idle-scheduler-mode is enabled.
9080 (semantic-default-submodes): Doc fix.
9082 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
9083 When turning off, disable other idle modes.
9085 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
9087 * calc/calc.el (calc-set-mode-line):
9088 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9089 (math-format-number): Rename `math-format-complement-signed' to
9090 `math-format-twos-complement'.
9092 * calc/calc-bin.el (math-format-twos-complement): Rename from
9093 math-format-complement-signed.
9094 (calc-radix): Rename `calc-complement-signed-mode' to
9095 `calc-twos-complement-mode'.
9096 (calc-octal-radix, calc-hex-radix): Add an argument for
9099 * calc/calc-embed.el (calc-embedded-mode-vars):
9100 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9102 * calc/calc-ext.el (calc-init-extensions):
9103 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9104 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9106 * calc/calc-units.el (math-build-units-table-buffer):
9107 Let `calc-twos-complement-mode' be nil.
9109 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9112 * calc/calc-vec.el (calcFunc-vunpack):
9113 * calc/calc-aent.el (calc-do-calc-eval):
9114 * calc/calc-forms.el (math-format-date):
9115 * calc/calc-graph.el (calc-graph-plot):
9116 * calc/calc-math.el (math-use-emacs-fn):
9117 * calc/calccomp.el (math-compose-expr):
9118 Let `calc-twos-complement-mode' be nil.
9120 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9122 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9123 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
9124 * minibuffer.el (completion-in-region-functions): New hook.
9125 (completion-in-region): New function.
9126 * emacs-lisp/lisp.el (lisp-complete-symbol):
9127 * pcomplete.el (pcomplete-std-complete): Use it.
9129 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9131 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9132 (latex-complete-alist): New vars.
9133 (latex-string-prefix-p, latex-complete-bibtex-keys)
9134 (latex-complete-envnames, latex-complete-refkeys)
9135 (latex-complete-data): New functions.
9136 (latex-complete, latex-indent-or-complete): New commands.
9138 * window.el (display-buffer-mark-dedicated): New var.
9139 (display-buffer): Obey it.
9140 * minibuffer.el (minibuffer-completion-help): Use it.
9142 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9144 * filecache.el (file-cache-add-file): Use push and cons.
9145 (file-cache-delete-file-regexp): Use push.
9146 (file-cache-complete): Use completion-in-region.
9148 * simple.el (with-wrapper-hook): Fix thinko.
9150 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9151 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9152 Use with-current-buffer and string-to-number.
9153 (hfy-fallback-colour-values): Use assoc-string.
9154 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9155 (hfy-face-at): Remove unused var `found-face'.
9156 (hfy-compile-stylesheet): Remove unused var `css'.
9157 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9159 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9160 Use with-current-buffer.
9161 (hfy-text-p): Use expand-file-name and fewer setq.
9163 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
9165 * htmlfontify.el, hfy-cmap.el: New files.
9167 2009-11-19 Juri Linkov <juri@jurta.org>
9169 * minibuffer.el (completions-format): New defcustom.
9170 (completion--insert-strings): Implement vertical format.
9172 * simple.el (switch-to-completions): Move point to the first
9173 completion when point was at the beginning of the buffer.
9175 2009-11-19 Juri Linkov <juri@jurta.org>
9177 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
9179 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9181 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
9183 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9184 (mail-signature): Change default to t.
9185 (mail-from-style): Deprecate `system-default' value.
9186 (mail-insert-from-field): For default value of mail-from-style,
9187 default to `angles' unless `angles' needs quoting and `parens'
9189 (mail-citation-prefix-regexp): Use citation regexp from
9192 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
9194 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9195 Set variables for computing the prompt for reading password.
9197 2009-11-19 Glenn Morris <rgm@gnu.org>
9199 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
9201 * textmodes/flyspell.el (sgml-lexical-context): Declare.
9203 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9204 (newsticker-treeview-listwindow-height): Fix custom type.
9206 2009-11-19 Kenichi Handa <handa@m17n.org>
9208 * descr-text.el (describe-char-padded-string): Compose with TAB
9209 only if there's a font for CH.
9210 (describe-char): Fix the condition for detecting a trivial composition.
9212 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
9214 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9215 more accurate version of the regexp. (Bug#3910)
9217 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
9219 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9221 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
9223 * font-setting.el (font-use-system-font): Declare for byte-compiler.
9224 (font-setting-change-default-font): Fix typo in docstring.
9226 2009-11-18 Alan Mackenzie <acm@muc.de>
9228 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9230 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9232 * font-setting.el (font-use-system-font): Move ...
9234 * cus-start.el (all): ... to here.
9236 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
9238 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9239 Don't set `ad-return-value' if `ad-do-it' doesn't.
9241 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9244 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9246 * menu-bar.el: Put "Use system font" in Option-menu.
9247 (menu-bar-options-save): Add font-use-system-font.
9249 * loadup.el: If feature system-font-setting or font-render-setting is
9250 there, load font-setting.
9252 * Makefile.in (ELCFILES): Add font-settings.el.
9253 * font-setting.el: New file.
9255 2009-11-17 Glenn Morris <rgm@gnu.org>
9257 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9259 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9260 Preserve point in the list buffer. (Bug#4939)
9262 (newsticker--treeview-list-update-highlight)
9263 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9265 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9267 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9270 * calc/calc-ext.el (calc-init-extensions): Remove references to
9273 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9275 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9276 * calc/calc-help.el (calc-b-prefix-help): Remove references to
9279 2009-11-16 Kevin Ryde <user42@zip.com.au>
9281 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9282 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9284 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9285 (lm-keywords-list): Allow comma-only separator like "foo,bar".
9286 Ignore trailing spaces by omit-nulls to split-string (fixing
9287 regression from Emacs 21 due to the incompatible split-string
9288 change). (Bug #4928.)
9290 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
9292 * vc.el (vc-log-show-limit): Default to 2000.
9293 (vc-print-log-internal): Insert buttons to request more entries
9294 when limiting the output.
9296 * vc-sccs.el (vc-sccs-print-log):
9297 * vc-rcs.el (vc-rcs-print-log):
9298 * vc-cvs.el (vc-cvs-print-log):
9299 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9302 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9304 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9305 error when `tramp-gvfs-dbus-event-vector' is set.
9306 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9308 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9312 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9314 * net/dbus.el (dbus-unregister-service): New defun.
9315 (dbus-register-property): Register the handlers of
9316 "org.freedesktop.DBus.Properties" for SERVICE.
9317 (dbus-property-handler): Fix docstring.
9319 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9321 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9322 Quote doc string reference in defvaralias as it is not in special form.
9323 (byte-compile-output-docform): Doc fix.
9325 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9327 * calc/calc.el (math-2-word-size, math-half-2-word-size)
9328 (calc-complement-signed-mode): New variables.
9329 (calc-set-mode-line): Add indicator for twos-complements.
9330 (math-format-number): Format twos-complement notation.
9332 * calc/calc-bin.el (calc-word-size): Reset the variables
9333 `math-2-word-size' and `math-half-2-word-size'.
9334 (math-format-complement-signed, math-symclip, calcFunc-symclip)
9335 (calc-symclip): New functions.
9337 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9339 * calc/calc-embed.el (calc-embedded-mode-vars):
9340 Add `calc-complement-signed-mode' to the list of modes.
9342 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9343 (calc-b-oper-keys): Add `calc-symclip' to list.
9345 * calc/calc-ext.el (math-read-number-fancy): Read complement
9347 (calc-init-extensions): Add binding for `calc-symclip'.
9348 Add autoload for `calcFunc-symclip' and `calc-symclip'.
9350 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9352 (calc-modes-menu): Add item for twos complement mode.
9354 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9356 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9358 * register.el (jump-to-register, insert-register): Handle Semantic
9359 tags. From commented-out advice in semantic/senator.el.
9361 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
9363 * vc.el (vc-log-show-limit): New variable.
9364 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
9365 when using a prefix argument.
9366 (vc-print-log-internal): Add new argument LIMIT.
9368 * vc-svn.el (vc-svn-print-log):
9369 * vc-mtn.el (vc-mtn-print-log):
9370 * vc-hg.el (vc-hg-print-log):
9371 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
9372 pass it to the log command when set. Make the BUFFER argument
9375 * vc-sccs.el (vc-sccs-print-log):
9376 * vc-rcs.el (vc-rcs-print-log):
9377 * vc-git.el (vc-git-print-log):
9378 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
9379 ignore it. Make the BUFFER argument non-optional
9381 * bindings.el (mode-line-buffer-identification): Do not purecopy.
9383 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9385 * dired.el (dired-mode-map): Move encryption items to "Operate"
9388 * strokes.el (strokes-update-window-configuration): Make strokes
9389 buffer current before erasing (Bug#4906).
9391 * cedet/semantic/idle.el (semantic-idle-summary-mode)
9392 (semantic-idle-summary-mode): Define using define-minor-mode
9393 instead of define-semantic-idle-service.
9394 (semantic-idle-summary-mode): New function.
9395 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
9396 that mouse motion does not reset the echo area.
9398 2009-11-15 Juri Linkov <juri@jurta.org>
9400 * simple.el (set-mark-default-inactive): Add :type, :group
9401 and :version. (Bug#4876)
9403 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
9405 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
9406 (archive-unique-fname): ... here. (Bug#4929)
9408 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
9410 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
9413 * novice.el (disabled-command-function): Add useful args.
9414 Setup the help buffer so that [back] works.
9415 Remove redundant call to help-mode.
9416 (disabled-command-function): Use `case'.
9417 (en/disable-command): New function extracted from enable-command.
9418 (enable-command, disable-command): Use it.
9420 2009-11-14 Glenn Morris <rgm@gnu.org>
9422 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
9423 constants. (Bug#4913)
9425 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
9427 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
9429 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
9430 defined in C that have no doc-strings. (Bug#1063)
9432 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
9434 * cus-edit.el (data, files):
9435 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
9437 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
9439 * simple.el (shell-command): Doc fix (Bug#4891).
9441 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
9443 2009-11-14 Glenn Morris <rgm@gnu.org>
9445 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
9446 statements for vc-diff, emerge-quit, and rmail-cease-edit.
9447 If they are already loaded, eval-after-load will do the right thing.
9449 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
9452 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
9454 * simple.el (x-selection-owner-p): Declare.
9455 (read-mail-command): Use custom radio type rather than choice.
9456 (completion-no-auto-exit): Doc fix.
9458 * custom.el (defgroup):
9459 * epg-config.el (epg): Doc fixes.
9461 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
9463 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
9464 * international/ccl.el (define-ccl-program): Do not purecopy the
9465 docstring, defconst does it anyway.
9467 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
9469 * add-log.el (add-change-log-entry): Avoid displaying the changelog
9472 * x-dnd.el (x-dnd-maybe-call-test-function):
9473 * window.el (split-window-vertically):
9474 * whitespace.el (whitespace-help-on):
9475 * vc-rcs.el (vc-rcs-consult-headers):
9476 * userlock.el (ask-user-about-lock-help)
9477 (ask-user-about-supersession-help):
9478 * type-break.el (type-break-force-mode-line-update):
9479 * time-stamp.el (time-stamp-conv-warn):
9480 * terminal.el (te-set-output-log, te-more-break, te-filter)
9481 (te-sentinel, terminal-emulator):
9482 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
9483 (term-write-input-ring, term-check-source, term-start-output-log):
9484 (term-display-buffer-line, term-dynamic-list-completions):
9485 (term-ansi-make-term, serial-term):
9486 * subr.el (selective-display):
9487 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
9488 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
9489 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
9490 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
9491 (speedbar-remove-localized-speedbar-support)
9492 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
9493 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
9494 (speedbar-buffers-line-directory):
9495 * simple.el (shell-command-on-region, append-to-buffer)
9496 (prepend-to-buffer):
9497 * shadowfile.el (shadow-save-todo-file):
9498 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
9499 (scroll-bar-maybe-set-window-start):
9500 * sb-image.el (speedbar-image-dump):
9501 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
9502 (load-save-place-alist-from-file):
9503 * ps-samp.el (ps-print-message-from-summary):
9504 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
9505 (ps-background-image, ps-begin-job, ps-do-despool):
9506 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
9507 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
9508 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
9509 (pr-call-process, pr-file-list, pr-interface-save):
9510 * novice.el (disabled-command-function)
9511 (enable-command, disable-command):
9512 * mouse.el (mouse-buffer-menu-alist):
9513 * mouse-copy.el (mouse-kill-preserving-secondary):
9514 * macros.el (kbd-macro-query):
9515 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
9516 * informat.el (batch-info-validate):
9517 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
9518 * hippie-exp.el (try-expand-dabbrev-visible):
9519 * help-mode.el (help-make-xrefs):
9520 * help-fns.el (describe-variable):
9521 * generic-x.el (bat-generic-mode-run-as-comint):
9522 * finder.el (finder-mouse-select):
9523 * find-dired.el (find-dired-sentinel):
9524 * filesets.el (filesets-file-close):
9525 * files.el (list-directory):
9526 * faces.el (list-faces-display, describe-face):
9527 * facemenu.el (list-colors-display):
9528 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
9529 * epg.el (epg--process-filter, epg-cancel):
9530 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
9531 (epa--read-signature-type):
9532 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
9533 (emerge-file-names):
9534 * ehelp.el (electric-helpify):
9535 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
9536 * ediff-vers.el (rcs-ediff-view-revision):
9537 * ediff-util.el (ediff-setup):
9538 * ediff-mult.el (ediff-append-custom-diff):
9539 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
9541 * echistory.el (Electric-command-history-redo-expression):
9542 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
9543 * disp-table.el (describe-display-table):
9544 * dired.el (dired-find-buffer-nocreate):
9545 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
9546 * dabbrev.el (dabbrev--same-major-mode-p):
9547 * chistory.el (list-command-history):
9548 * apropos.el (apropos-documentation):
9549 * allout.el (allout-obtain-passphrase):
9550 (allout-copy-exposed-to-buffer):
9551 (allout-verify-passphrase): Use with-current-buffer.
9553 2009-11-13 Glenn Morris <rgm@gnu.org>
9555 * Makefile.in (ELCFILES): Regenerate.
9557 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
9559 * net/dbus.el (dbus-registered-objects-table): Rename from
9560 `dbus-registered-functions-table', because it contains also properties.
9561 (dbus-unregister-object): Unregister also properties.
9562 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9563 Use a timeout of 500 msec, in order to not block.
9564 (dbus-register-property, dbus-property-handler): New defuns.
9566 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
9568 * simple.el (minibuffer-default-add-completions): Drop deprecated
9571 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
9573 * textmodes/artist.el (artist-mouse-choose-operation):
9574 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
9575 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
9576 (artist-compute-up-event-key): New function.
9577 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
9579 2009-11-13 Kenichi Handa <handa@m17n.org>
9581 * language/japan-util.el: Make sure that the value of jisx0208
9582 property is jisx0208 character.
9584 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
9586 * international/mule.el (auto-coding-regexp-alist): Only purecopy
9587 car or each item, not the whole list.
9589 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
9591 * minibuffer.el (minibuffer-completion-help):
9592 Use minibuffer-hide-completions.
9594 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
9596 * dired.el (dired-save-positions, dired-restore-positions): New funs.
9597 (dired-revert): Use them (bug#4880).
9599 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
9601 * tooltip.el (tooltip-frame-parameters): Undo previous change.
9603 2009-11-12 Juri Linkov <juri@jurta.org>
9605 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
9607 (find-file-literally-at-point): Alias of `ffap-literally'.
9609 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
9611 * textmodes/ispell.el (ispell-skip-region-alist):
9612 * textmodes/css-mode.el (auto-mode-alist):
9613 * progmodes/compile.el (auto-mode-alist):
9614 * international/mule.el (ctext-non-standard-encodings-alist)
9615 (ctext-non-standard-encodings-regexp):
9616 * simple.el (shell-command-switch, text-read-only):
9617 * replace.el (occur-mode-map):
9618 * paths.el (rmail-file-name):
9619 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
9620 * find-file.el (ff-special-constructs):
9621 * files.el (file-name-handler-alist):
9622 * composite.el: Purecopy strings.
9624 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
9626 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
9628 * widget.el (define-widget): Purecopy the docstring.
9629 * international/mule-cmds.el (charset): Do not purecopy the
9630 docstring here, define-widget does it.
9632 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
9633 * textmodes/bibtex-style.el (auto-mode-alist):
9634 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9635 * progmodes/compile.el (compile-command):
9636 * language/korea-util.el (default-korean-keyboard):
9637 * international/mule-conf.el (file-coding-system-alist):
9638 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
9639 * tooltip.el (tooltip-frame-parameters):
9640 * newcomment.el (comment-end, comment-padding):
9641 * dired.el (dired-trivial-filenames):
9642 * comint.el (comint-file-name-prefix): Purecopy initial values.
9644 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
9646 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
9647 (tramp-advice-minibuffer-electric-tilde): Unload advices via
9649 (tramp-advice-make-auto-save-file-name)
9650 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
9651 after removing the advice.
9653 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
9655 * progmodes/grep.el (grep-regexp-alist):
9656 * international/mule-cmds.el (iso-2022-control-alist):
9657 * emacs-lisp/timer.el (timer-duration-words):
9658 * subr.el (version-separator, version-regexp-alist):
9659 * minibuffer.el (completion-styles-alist):
9660 * faces.el (face-attribute-name-alist, list-faces-sample-text):
9661 Change defvars to defconsts.
9663 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
9664 * loadup.el ("international/mule-conf"): Load the byte compiled version.
9665 * international/mule-conf.el: Allow to be byte compiled.
9667 * international/mule.el (define-charset): Purecopy props.
9668 (load-with-code-conversion): Purecopy doc string and file name.
9669 (put-charset-property): Purecopy strings.
9670 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
9672 * international/mule-cmds.el (register-input-method): Purecopy arguments.
9673 (define-char-code-property): Correctly purecopy the table.
9675 * international/ccl.el (define-ccl-program): Purecopy the docstring.
9677 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
9679 * subr.el (add-hook): Purecopy strings.
9680 (eval-after-load): Purecopy load-history-regexp and the form.
9682 * custom.el (custom-declare-group): Purecopy load-file-name.
9684 * subr.el (menu-bar-separator): New defconst.
9685 * net/eudc.el (eudc-tools-menu):
9686 * international/mule-cmds.el (set-coding-system-map)
9688 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
9689 * vc-hooks.el (vc-menu-map):
9690 * replace.el (occur-mode-map):
9691 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
9692 (menu-bar-edit-menu, menu-bar-goto-menu)
9693 (menu-bar-custom-menu, menu-bar-showhide-menu)
9694 (menu-bar-options-menu, menu-bar-tools-menu)
9695 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
9696 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
9697 (menu-bar-help-menu):
9698 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
9699 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
9701 * term/x-win.el (x-gtk-stock-map):
9702 * progmodes/vera-mode.el (auto-mode-alist):
9703 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9704 (inferior-lisp-program, inferior-lisp-load-command):
9705 * progmodes/hideshow.el (hs-special-modes-alist):
9706 * progmodes/gud.el (same-window-regexps):
9707 * progmodes/grep.el (grep-program, find-program, xargs-program):
9708 * net/telnet.el (same-window-regexps):
9709 * net/rlogin.el (same-window-regexps):
9710 * language/ethiopic.el (font-ccl-encoder-alist):
9711 * vc-sccs.el (vc-sccs-master-templates):
9712 * vc-rcs.el (vc-rcs-master-templates):
9713 * subr.el (cl-assertion-failed):
9714 * simple.el (next-error-overlay-arrow-position):
9715 * lpr.el (lpr-command):
9716 * locate.el (locate-ls-subdir-switches):
9717 * info.el (same-window-regexps, info)
9718 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
9719 * image-mode.el (image-mode, auto-mode-alist):
9720 * hippie-exp.el (hippie-expand-ignore-buffers):
9721 * format.el (format-alist):
9722 * find-dired.el (find-ls-subdir-switches, find-grep-options)
9724 * facemenu.el (facemenu-keybindings):
9725 * dired.el (dired-listing-switches, dired-chown-program):
9726 * diff.el (diff-switches, diff-command):
9727 * cus-edit.el (same-window-regexps):
9728 * bindings.el (mode-line-mule-info)
9729 (mode-line-buffer-identification): Purecopy strings.
9731 2009-11-11 Juri Linkov <juri@jurta.org>
9733 * simple.el (dired-get-filename) <declare-function>:
9734 Tell the byte-compiler about dired-get-filename.
9735 (shell-command): In Dired mode, get filename from the current line
9736 as the default value.
9738 2009-11-10 Glenn Morris <rgm@gnu.org>
9740 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
9741 * calendar/holidays.el, progmodes/cperl-mode.el:
9742 Update x-popup-menu declarations.
9744 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
9745 (list-load-path-shadows): Use dolist.
9746 (list-load-path-shadows): Use with-current-buffer.
9748 2009-11-10 Juri Linkov <juri@jurta.org>
9750 * minibuffer.el (read-file-name): Support a list of default values
9751 in `default-filename'. Use the first file name where only one
9752 element is required. Doc fix.
9754 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
9756 * net/dbus.el (dbus-unregister-object): Release service, if no
9757 other method is registered for it.
9759 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
9761 * bookmark.el (bookmark-completing-read): Sort bookmark names if
9762 bookmark-sort-flag is non-nil (Bug#4653).
9764 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
9766 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
9767 the progress reporter entirely.
9769 * emulation/cua-base.el: Add CUA property to some CC mode commands
9772 2009-11-08 Kevin Ryde <user42@zip.com.au>
9774 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
9775 at end of sentence (Bug#4818).
9777 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
9779 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9780 Handle "see declaration of" MSFT statements (Bug#4100).
9782 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
9784 * net/tramp.el (tramp-advice-make-auto-save-file-name)
9785 (tramp-advice-file-expand-wildcards): Unload via
9788 * net/trampver.el: Update release number.
9790 2009-11-08 Kevin Ryde <user42@zip.com.au>
9792 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
9795 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
9797 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
9798 in order to keep context in SELinux.
9800 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
9802 * dired-aux.el (dired-query): Place cursor in echo area and allow
9805 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
9806 menu item if not on a directory (Bug#4701).
9808 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
9810 Sync with Tramp 2.1.17.
9812 * net/tramp.el (tramp-handle-copy-directory): Don't use
9813 `file-remote-p' (due to compatibility).
9815 * net/tramp-compat.el (tramp-compat-copy-directory)
9816 (tramp-compat-delete-directory): New defuns.
9818 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
9819 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
9820 `tramp-compat-delete-directory'.
9822 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9823 (tramp-smb-handle-delete-directory): Use
9824 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
9826 * net/trampver.el: Update release number.
9828 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
9830 * tar-mode.el (tar-copy): Call write-region on the right buffer
9833 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
9834 by hand, if necessary (Bug#4878).
9836 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
9838 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
9839 align size column (Bug#4839).
9841 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
9844 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
9846 * progmodes/ld-script.el (auto-mode-alist):
9847 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
9849 * cus-face.el (custom-declare-face): Purecopy face spec.
9851 2009-11-06 Kenichi Handa <handa@m17n.org>
9853 * international/uni-bidi.el: Re-generated.
9854 * international/uni-category.el: Re-generated.
9855 * international/uni-combining.el: Re-generated.
9856 * international/uni-mirrored.el: Re-generated.
9858 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
9860 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
9861 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
9862 (tex-start-options, slitex-run-command, latex-run-command)
9863 (tex-run-command, tex-directory):
9864 * textmodes/ispell.el (ispell-html-skip-alists)
9865 (ispell-tex-skip-alists, ispell-tex-skip-alists):
9866 * textmodes/fill.el (adaptive-fill-first-line-regexp):
9867 (adaptive-fill-regexp):
9868 * textmodes/dns-mode.el (auto-mode-alist):
9869 * progmodes/python.el (interpreter-mode-alist):
9870 * progmodes/etags.el (tags-compression-info-list):
9871 * progmodes/etags.el (tags-file-name):
9872 * net/browse-url.el (browse-url-galeon-program)
9873 (browse-url-firefox-program):
9874 * mail/sendmail.el (mail-signature-file)
9875 (mail-citation-prefix-regexp):
9876 * international/mule-conf.el (eight-bit):
9877 * international/latexenc.el (latex-inputenc-coding-alist):
9878 * international/fontset.el (x-pixel-size-width-font-regexp):
9879 * emacs-lisp/warnings.el (warning-type-format):
9880 * emacs-lisp/trace.el (trace-buffer):
9881 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
9882 (emacs-lisp-mode-map):
9883 * calendar/holidays.el (holiday-solar-holidays)
9884 (holiday-bahai-holidays, holiday-islamic-holidays)
9885 (holiday-christian-holidays, holiday-hebrew-holidays)
9886 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
9887 (hebrew-holidays-1, holiday-oriental-holidays)
9888 (holiday-general-holidays):
9889 * x-dnd.el (x-dnd-known-types):
9890 * tool-bar.el (tool-bar):
9891 * startup.el (site-run-file):
9892 * shell.el (shell-dumb-shell-regexp):
9893 * rfn-eshadow.el (file-name-shadow-tty-properties)
9894 (file-name-shadow-properties):
9895 * paths.el (remote-shell-program, news-directory):
9896 * mouse.el ([C-down-mouse-3]):
9897 * menu-bar.el (menu-bar-tools-menu):
9898 * jka-cmpr-hook.el (jka-compr-load-suffixes)
9899 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
9900 (jka-compr-compression-info-list):
9901 * isearch.el (search-whitespace-regexp):
9902 * image-file.el (image-file-name-extensions):
9903 * find-dired.el (find-ls-option):
9904 * files.el (directory-listing-before-filename-regexp)
9905 (directory-free-space-args, insert-directory-program)
9906 (list-directory-brief-switches, magic-fallback-mode-alist)
9907 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
9908 (automount-dir-prefix):
9909 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
9910 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
9911 (face-font-registry-alternatives, face-font-registry-alternatives)
9912 (face-font-family-alternatives):
9913 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
9914 (facemenu-foreground-menu, facemenu-face-menu):
9915 * epa-hook.el (epa-file-name-regexp):
9916 * dnd.el (dnd-protocol-alist):
9917 * textmodes/rst.el (auto-mode-alist):
9918 * button.el (default-button): Purecopy strings.
9920 2009-11-06 Glenn Morris <rgm@gnu.org>
9922 * Makefile.in (ELCFILES): Update.
9924 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9926 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
9927 * emacs-lisp/levents.el: Move to obsolete/levents.el.
9929 * nxml/xsd-regexp.el (xsdre-gen-categories):
9930 * nxml/xmltok.el (xmltok-parse-entity):
9931 * nxml/rng-parse.el (rng-parse-validate-file):
9932 * nxml/rng-maint.el (rng-format-manual)
9933 (rng-manual-output-force-new-line):
9934 * nxml/rng-loc.el (rng-save-schema-location-1):
9935 * nxml/rng-cmpct.el (rng-c-parse-file):
9936 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
9937 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
9939 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
9941 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
9942 Remove extra save-excursions and make-variable-buffer-local's.
9943 Suggested by Stefan Monnier.
9945 (verilog-getopt-file, verilog-module-inside-filename-p)
9946 (verilog-set-define): Merge GNU 1.35 and repair changes from
9947 switching to using with-current-buffer.
9949 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
9950 being treated as a number and confusing AUTORESET.
9951 Reported by Dan Dever.
9953 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
9954 Add verilog-auto-ignore-concat to fix backward compatibility with
9955 older verilog-modes. Reported by Dan Katz.
9957 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
9958 containing closing anchors "...$".
9960 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
9961 Reported by Wade Smith.
9963 (verilog-batch-execute-func): Comment on function usage.
9965 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
9967 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
9970 (verilog-label-re, verilog-calc-1): Support proper indent of named
9973 (verilog-backward-token, verilog-basic-complete-re)
9974 (verilog-beg-of-statement, verilog-indent-re): Support proper
9975 indent of the assert statement at the beginning of a block of text.
9977 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
9978 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
9981 2009-11-05 Glenn Morris <rgm@gnu.org>
9983 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
9984 Emacs 19. (Bug#1531)
9985 (byte-compile-fix-header): Update for the above change.
9986 Drop test for epoch::version.
9988 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
9989 * cus-dep.el (custom-make-dependencies):
9990 * finder.el (finder-compile-keywords):
9991 Use autoload-rubric's feature argument.
9993 * calendar/diary-lib.el (top-level): Make load behave more like require.
9995 * vc-git.el (vc-git-stash-map): Move definition before use.
9997 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
9999 * custom.el (custom-declare-group): Purecopy standard-value.
10000 (custom-declare-group): Purecopy custom-prefix.
10002 * international/mule.el (load-with-code-conversion):
10003 Call do-after-load-evaluation unconditionally.
10005 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10007 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10011 2009-11-04 Glenn Morris <rgm@gnu.org>
10013 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10014 (byte-compile-compatibility): Remove option.
10015 (byte-compile-close-variables, byte-compile-fix-header)
10016 (byte-compile-insert-header, byte-compile-output-docform)
10017 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10018 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10019 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10020 (byte-compile-insert, byte-compile-defun):
10021 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
10022 (byte-defop-compiler19): Remove.
10023 Without byte-compile-compatibility, the 'emacs19-opcode property is not
10024 used by anything. Replace all calls with byte-defop-compiler.
10026 2009-11-04 Juri Linkov <juri@jurta.org>
10028 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10029 (menu-bar-options-menu): Don't quote the `prop' arg of
10030 `menu-bar-make-mm-toggle'.
10032 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
10034 * calendar/calendar.el (cal-loaddefs):
10035 * calendar/diary-lib.el (diary-loaddefs):
10036 * calendar/holidays.el (hol-loaddefs):
10037 * eshell/esh-module.el (esh-groups): Load rather than require.
10039 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10041 * calendar/todo-mode.el (todo-add-category): Don't hardcode
10043 (todo-top-priorities): Only display-buffer when called interactively.
10044 (todo-item-start): Don't save excursion point.
10045 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
10046 (todo-insert-item-here, todo-file-item, todo-remove-item):
10047 Adjust uses of todo-item-start and todo-item-end.
10049 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10050 (autoload-rubric): Don't use any more.
10051 * cedet/semantic/fw.el (semantic/loaddefs):
10052 * cedet/srecode.el (srecode/loaddefs):
10053 * cedet/ede.el (ede/loaddefs): Load rather than require.
10054 * cedet/ede/cpp-root.el:
10055 * cedet/ede/emacs.el:
10056 * cedet/ede/files.el:
10057 * cedet/ede/linux.el:
10058 * cedet/ede/locate.el:
10059 * cedet/ede/make.el:
10060 * cedet/ede/shell.el:
10061 * cedet/ede/speedbar.el:
10062 * cedet/ede/system.el:
10063 * cedet/ede/util.el:
10064 * cedet/semantic/analyze.el:
10065 * cedet/semantic/bovine.el:
10066 * cedet/semantic/complete.el:
10067 * cedet/semantic/ctxt.el:
10068 * cedet/semantic/db-file.el:
10069 * cedet/semantic/db-find.el:
10070 * cedet/semantic/db-global.el:
10071 * cedet/semantic/db-mode.el:
10072 * cedet/semantic/db-typecache.el:
10073 * cedet/semantic/db.el:
10074 * cedet/semantic/debug.el:
10075 * cedet/semantic/dep.el:
10076 * cedet/semantic/doc.el:
10077 * cedet/semantic/edit.el:
10078 * cedet/semantic/find.el:
10079 * cedet/semantic/format.el:
10080 * cedet/semantic/html.el:
10081 * cedet/semantic/ia-sb.el:
10082 * cedet/semantic/ia.el:
10083 * cedet/semantic/idle.el:
10084 * cedet/semantic/lex-spp.el:
10085 * cedet/semantic/lex.el:
10086 * cedet/semantic/mru-bookmark.el:
10087 * cedet/semantic/scope.el:
10088 * cedet/semantic/senator.el:
10089 * cedet/semantic/sort.el:
10090 * cedet/semantic/symref.el:
10091 * cedet/semantic/tag-file.el:
10092 * cedet/semantic/tag-ls.el:
10093 * cedet/semantic/tag-write.el:
10094 * cedet/semantic/tag.el:
10095 * cedet/semantic/util-modes.el:
10096 * cedet/semantic/analyze/complete.el:
10097 * cedet/semantic/analyze/refs.el:
10098 * cedet/semantic/bovine/c.el:
10099 * cedet/semantic/bovine/gcc.el:
10100 * cedet/semantic/bovine/make.el:
10101 * cedet/semantic/bovine/scm.el:
10102 * cedet/semantic/decorate/include.el:
10103 * cedet/semantic/decorate/mode.el:
10104 * cedet/semantic/symref/cscope.el:
10105 * cedet/semantic/symref/global.el:
10106 * cedet/semantic/symref/grep.el:
10107 * cedet/semantic/symref/idutils.el:
10108 * cedet/semantic/symref/list.el:
10109 * cedet/semantic/wisent/java-tags.el:
10110 * cedet/semantic/wisent/javascript.el:
10111 * cedet/srecode/compile.el:
10112 * cedet/srecode/cpp.el:
10113 * cedet/srecode/document.el:
10114 * cedet/srecode/el.el:
10115 * cedet/srecode/expandproto.el:
10116 * cedet/srecode/getset.el:
10117 * cedet/srecode/insert.el:
10118 * cedet/srecode/java.el:
10119 * cedet/srecode/map.el:
10120 * cedet/srecode/mode.el:
10121 * cedet/srecode/template.el:
10122 * cedet/srecode/texi.el: Remove the file-local setting of
10123 generated-autoload-feature.
10125 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10126 and only put a prop if it is non-nil.
10128 2009-11-03 Juri Linkov <juri@jurta.org>
10130 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10131 (menu-bar-options-menu): Fix list quoting (Bug#4429).
10133 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10134 and "Menu" to make top-level menu item visually one unit (like
10135 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10136 multi-word menu items). Fix :help string for quit-window.
10138 2009-11-03 Glenn Morris <rgm@gnu.org>
10140 * cedet/mode-local.el (with-mode-local): Doc fix.
10142 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10143 (byte-compile-file-form-define-abbrev-table)
10144 (byte-compile-file-form-custom-declare-variable)
10145 (byte-compile-variable-ref, byte-compile-defvar):
10146 Whether or not a warning is enabled should only affect whether we issue
10147 the warning, not whether or not we collect the relevant data.
10148 Eg warnings can be turned on and off throughout the course of a file.
10150 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10151 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10153 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10155 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10156 * play/mpuz.el (mpuz-create-buffer):
10157 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10158 (lm-print-y,s,noise, lm-print-w0, lm-init):
10159 * play/gomoku.el (gomoku-prompt-for-move):
10160 * play/fortune.el (fortune-in-buffer):
10161 * play/dissociate.el (dissociated-press):
10162 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10163 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10164 * mail/supercite.el (sc-eref-show):
10165 * mail/smtpmail.el (smtpmail-send-it):
10166 * mail/rmailsum.el (rmail-summary-next-labeled-message)
10167 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10168 (rmail-summary-undelete-many, rmail-summary-rmail-update)
10169 (rmail-summary-goto-msg, rmail-summary-expunge)
10170 (rmail-summary-get-new-mail, rmail-summary-search-backward)
10171 (rmail-summary-add-label, rmail-summary-output-menu)
10172 (rmail-summary-output-body):
10173 * mail/rfc822.el (rfc822-addresses):
10174 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10175 * mail/mailpost.el (post-mail-send-it):
10176 * mail/hashcash.el (hashcash-generate-payment):
10177 * mail/feedmail.el (feedmail-run-the-queue)
10178 (feedmail-queue-send-edit-prompt-help-first)
10179 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10180 (feedmail-deduce-address-list):
10181 * eshell/esh-ext.el (eshell-remote-command):
10182 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10183 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10184 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10185 (viper-save-string-in-file, viper-valid-marker):
10186 * emulation/viper-keym.el (viper-toggle-key):
10187 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10188 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10189 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10190 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10191 (viper-exec-form-in-emacs, viper-brac-function):
10192 * emulation/viper.el (viper-delocalize-var):
10193 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10194 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10195 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10196 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10197 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10198 * emulation/edt.el (edt-electric-helpify):
10199 * emulation/cua-rect.el (cua--rectangle-aux-replace):
10200 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10201 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10202 (cua-indent-to-global-mark-column):
10203 * calendar/diary-lib.el (calendar-mark-1):
10204 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10205 Use with-current-buffer.
10206 * emulation/viper.el (viper-delocalize-var): Use dolist.
10208 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
10210 * comint.el (comint-replace-by-expanded-history-before-point):
10211 Replace !! with the previous input string literally (Bug#1795).
10213 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
10215 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10216 to be made up of whitespace.
10218 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
10220 * minibuffer.el (read-file-name): Don't use file dialogs for
10221 remote directories (Bug#99).
10223 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
10225 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10227 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
10229 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10230 instead of deleting the window or frame.
10232 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10234 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10235 Support face colors.
10237 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10238 New function. Support face colors (Bug#1168).
10239 (tex-common-initialization): Use it.
10241 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10242 mode allows it (Bug#1168).
10244 2009-10-31 Juri Linkov <juri@jurta.org>
10246 * facemenu.el (list-colors-display): Don't mark buffer as
10247 modified (Bug#3948).
10249 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10251 * international/mule-diag.el (list-character-sets-1): Minor
10252 message fix (Bug#3526).
10254 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10255 face property (Bug#4834).
10256 (etags-list-tags, etags-tags-apropos-additional)
10257 (etags-tags-apropos, tags-select-tags-table): Add follow-link
10260 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10263 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
10266 * cedet/ede.el (ede-minor-mode):
10267 * cedet/semantic.el (semantic-mode): Toggle menu separators.
10269 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * textmodes/two-column.el (2C-split):
10272 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10273 * textmodes/tex-mode.el (tex-set-buffer-directory):
10274 * textmodes/spell.el (spell-region, spell-string):
10275 * textmodes/reftex.el (reftex-erase-buffer):
10276 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10277 * textmodes/reftex-toc.el (reftex-toc-promote-action):
10278 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10279 (reftex-select-item):
10280 * textmodes/reftex-ref.el (reftex-label-info-update)
10281 (reftex-offer-label-menu):
10282 * textmodes/reftex-index.el (reftex-index-change-entry)
10283 (reftex-index-phrases-info):
10284 * textmodes/reftex-global.el (reftex-create-tags-file)
10285 (reftex-save-all-document-buffers, reftex-ensure-write-access):
10286 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10287 (reftex-view-crossref-from-bibtex):
10288 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10289 (reftex-extract-bib-entries-from-thebibliography)
10290 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10291 * textmodes/refbib.el (r2b-capitalize-title):
10292 (r2b-convert-buffer, r2b-help):
10293 * textmodes/page-ext.el (pages-directory)
10294 (pages-directory-goto-with-mouse):
10295 * textmodes/bibtex.el (bibtex-validate-globally):
10296 * textmodes/bib-mode.el (bib-capitalize-title):
10297 * textmodes/artist.el (artist-clear-buffer, artist-system):
10298 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10299 (local-set-scheme-interaction-buffer, xscheme-process-filter)
10300 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10301 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10302 (xscheme-send-control-g-interrupt, xscheme-start-process)
10303 (xscheme-process-sentinel, xscheme-cd):
10304 * progmodes/verilog-mode.el (verilog-read-always-signals)
10305 (verilog-set-define, verilog-getopt-file)
10306 (verilog-module-inside-filename-p):
10307 * progmodes/sh-script.el:
10308 * progmodes/python.el (python-pdbtrack-get-source-buffer)
10309 (python-pdbtrack-grub-for-buffer, python-execute-file):
10310 * progmodes/octave-inf.el (inferior-octave):
10311 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10312 (idlwave-shell-compile-helper-routines, idlwave-set-local)
10313 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10314 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10315 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10316 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10317 (idlwave-shell-filter, idlwave-shell-examine-highlight)
10318 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10319 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10320 (idlwave-shell-examine-display, idlwave-shell-run-region)
10321 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10322 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10323 * progmodes/idlw-help.el (idlwave-help-get-special-help)
10324 (idlwave-help-get-help-buffer):
10325 * progmodes/gud.el (gud-basic-call, gud-find-class)
10326 (gud-tooltip-activate-mouse-motions-if-enabled):
10327 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10328 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10329 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10330 (ebrowse-tags-next-file):
10331 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10332 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10333 (ebnf-eps-finish-and-write):
10334 * progmodes/cpp.el (cpp-edit-save):
10335 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10336 * progmodes/cc-defs.el (c-emacs-features):
10337 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10338 (antlr-directory-dependencies):
10339 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10340 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10341 (ada-find-any-references, ada-make-filename-from-adaname)
10342 (ada-make-body-gnatstub):
10343 * obsolete/rnews.el (news-list-news-groups):
10344 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10345 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10346 * net/rcirc.el (rcirc-debug):
10347 * net/newst-treeview.el (newsticker--treeview-list-add-item)
10348 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10349 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10350 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10351 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10352 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10353 (newsticker--treeview-list-clear-highlight)
10354 (newsticker--treeview-list-update-highlight)
10355 (newsticker--treeview-list-highlight-start)
10356 (newsticker--treeview-tree-update-highlight)
10357 (newsticker--treeview-get-selected-item)
10358 (newsticker-treeview-mark-list-items-old)
10359 (newsticker--treeview-set-current-node):
10360 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10361 * net/newst-backend.el (newsticker--get-news-by-funcall)
10362 (newsticker--get-news-by-wget, newsticker--image-get)
10363 (newsticker--image-sentinel):
10364 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10365 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10366 (eudc-ph-close-session):
10367 * net/eudc.el (eudc-save-options):
10368 * language/thai-word.el (thai-update-word-table):
10369 * language/japan-util.el (japanese-string-conversion):
10370 * international/titdic-cnv.el (tsang-quick-converter)
10371 (ziranma-converter, ctlau-converter):
10372 * international/mule-cmds.el (describe-language-environment):
10373 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10374 (skkdic-convert-postfix, skkdic-convert-prefix):
10375 (skkdic-convert-okuri-nasi, skkdic-convert):
10376 * emacs-lisp/re-builder.el (reb-update-overlays):
10377 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10378 * emacs-lisp/gulp.el (gulp-send-requests):
10379 * emacs-lisp/find-gc.el (trace-call-tree):
10380 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10381 (eieio-describe-generic):
10382 * emacs-lisp/eieio-base.el (eieio-persistent-read):
10383 * emacs-lisp/edebug.el (edebug-outside-excursion):
10384 * emacs-lisp/debug.el (debugger-make-xrefs):
10385 * emacs-lisp/cust-print.el (custom-prin1-to-string):
10386 * emacs-lisp/chart.el (chart-new-buffer):
10387 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10388 Use with-current-buffer.
10389 * textmodes/artist.el (artist-system): Don't call
10390 copy-sequence on a fresh string.
10391 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10393 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
10395 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10396 is no item to edit. (Bug#4820)
10397 (todo-top-priorities): Restore point and restore narrowing in Todo
10400 2009-10-31 Glenn Morris <rgm@gnu.org>
10402 * net/ange-ftp.el (top-level): Don't require dired when compiling.
10403 (comint-last-output-start, comint-last-input-start)
10404 (comint-last-input-end): Don't defvar when compiling.
10405 (ange-ftp-process-file): Use bound-and-true-p.
10407 * pcmpl-rpm.el (top-level): Move provide statement to end.
10408 (pcmpl-rpm): Remove unused custom group.
10410 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10412 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10414 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10415 (byte-compile-warnings): Add `constants' as an option.
10416 (byte-compile-callargs-warn, byte-compile-arglist-warn)
10417 (display-call-tree): Update for byte-compile-fdefinition possibly
10418 returning `(macro lambda ...)'. (Bug#4778)
10419 (byte-compile-variable-ref, byte-compile-setq-default):
10420 Respect `constants' member of byte-compile-warnings.
10422 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
10423 Use mapc rather than mapcar because the return value is never used.
10425 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
10426 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
10427 * cedet/semantic/html.el:
10428 Suppress harmless warnings about setting up semantic-imenu (not
10429 part of Emacs) variables.
10431 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10433 * vc-bzr.el (vc-bzr-revision-keywords): New var.
10434 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10437 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
10438 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
10439 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
10440 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
10441 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
10442 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
10443 (semantic-analyzer-debug-global-symbol)
10444 (semantic-analyzer-debug-missing-innertype)
10445 (semantic-analyzer-debug-insert-include-summary):
10446 * cedet/semantic/util.el (semantic-file-tag-table):
10447 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
10448 (semantic-recursive-find-nonterminal-by-name):
10449 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
10450 * cedet/semantic/tag-file.el (semantic-prototype-file):
10451 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
10452 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
10453 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
10454 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
10455 (semantic-idle-summary-maybe-highlight):
10456 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
10457 (semantic-ia-sb-tag-info):
10458 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
10459 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
10460 * cedet/semantic/ede-grammar.el (project-compile-target):
10461 (ede-proj-makefile-insert-variables):
10462 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
10463 (semantic-debug-set-source-location, semantic-debug-interface-layout)
10464 (semantic-debug-mode, semantic-debug):
10465 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
10466 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
10467 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
10468 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
10469 (semanticdb-find-translate-path-includes--internal)
10470 (semanticdb-reset-log, semanticdb-find-log-activity):
10471 * cedet/semantic/db-file.el (object-write):
10472 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
10473 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
10474 (semanticdb-create-ebrowse-database):
10475 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
10476 * cedet/semantic/complete.el (semantic-displayor-focus-request)
10477 (semantic-collector-calculate-completions-raw)
10478 (semantic-complete-read-tag-analyzer):
10479 * cedet/semantic/analyze.el (semantic-analyze-pulse):
10480 * cedet/ede/util.el (ede-update-version-in-source):
10481 * cedet/ede/proj.el (project-delete-target):
10482 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
10483 (ede-proj-flush-autoconf):
10484 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
10485 (ede-proj-configure-synchronize):
10486 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
10487 * cedet/ede/linux.el (ede-linux-version):
10488 * cedet/ede/emacs.el (ede-emacs-version):
10489 * cedet/ede/dired.el (ede-dired-add-to-target):
10490 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
10491 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
10492 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
10493 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
10494 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
10495 (cedet-idutils-version-check):
10496 * cedet/cedet-global.el (cedet-gnu-global-call):
10497 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
10498 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
10499 * cedet/cedet-cscope.el (cedet-cscope-call)
10500 (cedet-cscope-expand-filename, cedet-cscope-version-check):
10501 Use with-current-buffer.
10502 * cedet/ede.el (ede-make-project-local-variable)
10503 (ede-set-project-variables, ede-set): Use dolist.
10505 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
10507 * textmodes/ispell.el (ispell-skip-region-alist):
10508 * international/mule-conf.el (eight-bit):
10509 * international/fontset.el (font-encoding-alist):
10510 * startup.el (pure-space-overflow-message):
10511 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10512 * paths.el (gnus-nntp-service, rmail-spool-directory)
10513 (term-file-prefix):
10514 * files.el (save-some-buffers-action-alist):
10515 * cmuscheme.el (same-window-buffer-names):
10516 * ielm.el (same-window-buffer-names):
10517 * shell.el (same-window-buffer-names):
10518 * mail/sendmail.el (same-window-buffer-names):
10519 * progmodes/inf-lisp.el (same-window-buffer-names):
10520 * bindings.el (mode-line-client)
10521 (mode-line-column-line-number-mode-map):
10522 * language/tibetan.el (tibetan-precomposition-rule-regexp)
10523 (tibetan-precomposed-regexp): Purecopy string arguments.
10525 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10527 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
10528 (calcDigit-nondigit):
10529 * calc/calc-yank.el (calc-copy-to-buffer):
10530 * calc/calc-units.el (calc-invalidate-units-table):
10531 * calc/calc-trail.el (calc-trail-yank):
10532 * calc/calc-store.el (calc-insert-variables):
10533 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
10534 * calc/calc-prog.el (calc-read-parse-table):
10535 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
10536 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
10537 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
10538 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
10539 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
10540 (calc-graph-name, calc-graph-find-command, calc-graph-view)
10541 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
10542 * calc/calc-ext.el (calc-realign):
10543 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
10544 (calc-embedded-finish-edit, calc-embedded-make-info)
10545 (calc-embedded-finish-command, calc-embedded-stack-change):
10546 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
10548 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
10549 (overload-docstring-extension): Use that info.
10550 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
10551 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
10552 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
10553 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
10554 (semantic-nonterminal-full-name): Add the new `when' info.
10555 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
10558 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
10559 shell-dynamic-complete-filename in preference to
10560 comint-dynamic-complete-filename.
10562 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
10563 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
10564 Don't consider whether the display supports colors.
10565 (bookmark-import-new-list): Use dolist.
10566 (bookmark-bmenu-mode-map): Move initialization into declaration.
10567 (bookmark-bmenu-list): Use dolist, simplify.
10568 (bookmark-show-all-annotations): Use save-selected-window and dolist.
10569 (menu-bar-final-items): Use push.
10571 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10573 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
10574 it works on remote files.
10575 (vc-hg-diff): Don't pass any `--cwd' argument.
10577 2009-10-27 Kevin Ryde <user42@zip.com.au>
10579 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
10580 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
10581 (Further to Bug#3921).
10583 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
10585 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
10586 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
10587 calling `tramp-imap-put-file'. Add file size to the call.
10588 (tramp-imap-get-file-entries): Compute also user name, file size,
10590 (tramp-imap-handle-insert-directory): Insert uid and gid.
10591 (tramp-imap-handle-file-attributes): Transform uid and gid
10592 according to `id-format'.
10593 (tramp-imap-put-file): New optional parameter SIZE. Encode file
10594 size in header X-Size.
10596 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
10598 * simple.el (transpose-subr): Give clearer error when the mark
10599 is not set. (Bug#4807)
10601 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
10603 * net/tramp.el (tramp-perl-file-truename): New defconst.
10604 Perl code contributed by yary <not.com@gmail.com> (tiny change).
10605 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
10606 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
10607 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
10609 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
10610 Ignore `dired-call-process'.
10611 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
10613 2009-10-26 Julian Scheid <julians37@gmail.com>
10615 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
10616 (tramp-get-remote-readlink): New defun.
10617 (tramp-handle-file-truename): Use it.
10618 (tramp-handle-file-exists-p): Check file-attributes cache, assume
10619 file exists if cache value present.
10620 (tramp-check-cached-permissions): New defun.
10621 (tramp-handle-file-readable-p): Use it.
10622 (tramp-handle-file-writable-p): Likewise.
10623 (tramp-handle-file-executable-p): Likewise.
10624 (tramp-handle-file-name-all-completions): Try using Perl to get
10625 partial completions. When perl not available, combine `cd' and
10626 `ls' into single remote operation and use shell expansion to get
10627 partial remote directory contents. Set `file-exists-p' cache for
10628 directory and any files returned by ls. Change cache handling to
10629 support partial directory contents. Use error message emitted by
10630 remote `cd' or Perl code for local tramp-error.
10631 (tramp-do-copy-or-rename-file-directly): Avoid separate
10632 tramp-send-command-and-check call.
10633 (tramp-handle-process-file): Merge three remote ops into one.
10634 Do not flush all caches when `process-file-side-effects' is set.
10635 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
10636 file-attributes shows uid/gid to be set already.
10638 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
10640 * textmodes/tex-mode.el (tex-dvi-view-command)
10641 (tex-show-queue-command, tex-open-quote):
10642 * progmodes/ruby-mode.el (auto-mode-alist)
10643 (interpreter-mode-alist): Purecopy strings.
10645 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
10647 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
10648 string for the hook, keymap and abbrev table.
10650 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
10652 * x-dnd.el (x-dnd-xdnd-to-action):
10653 * startup.el (fancy-startup-text, fancy-about-text): Change to
10654 defconst from defvar.
10656 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
10658 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
10659 Purecopy initialization strings.
10661 * mail/sendmail.el (mail-header-separator)
10662 (mail-personal-alias-file):
10663 * mail/rmail.el (rmail-default-dont-reply-to-names)
10664 (rmail-ignored-headers, rmail-retry-ignored-headers)
10665 (rmail-highlighted-headers, rmail-secondary-file-directory)
10666 (rmail-secondary-file-regexp):
10667 * files.el (null-device, file-name-invalid-regexp)
10668 (locate-dominating-stop-dir-regexp)
10669 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
10670 (interpreter-mode-alist): Use mapcar instead of mapc.
10672 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
10674 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
10675 (completion-ignored-extensions):
10676 (debug-ignored-errors): Purecopy strings.
10678 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
10681 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
10682 (pcomplete--here): Use push.
10684 * subr.el (all-completions): Declare the 4th arg obsolete.
10686 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10688 * pcomplete.el (pcomplete-unquote-argument-function): New var.
10689 (pcomplete-unquote-argument): New function.
10690 (pcomplete--common-suffix): Always pay attention to case.
10691 (pcomplete--table-subvert): Quote and unquote the text.
10692 (pcomplete--common-quoted-suffix): New function.
10693 (pcomplete-std-complete): Use it and pcomplete-begin.
10695 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
10696 we're inside a dedicated or minibuffer window.
10698 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10700 * cedet/semantic/fw.el (semantic-alias-obsolete)
10701 (semantic-varalias-obsolete): Make the `when' arg mandatory.
10702 (define-mode-overload-implementation):
10703 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
10704 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
10705 * cedet/semantic/util.el (semantic-file-token-stream)
10706 (semantic-something-to-stream):
10707 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
10708 (semantic-expand-nonterminal):
10709 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
10710 (semantic-find-dependency, semantic-find-nonterminal)
10711 (semantic-find-dependency):
10712 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
10713 (semantic-flex-text, semantic-flex-make-keyword-table)
10714 (semantic-flex-keyword-p, semantic-flex-keyword-put)
10715 (semantic-flex-keyword-get, semantic-flex-map-keywords)
10716 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
10717 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
10718 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
10719 (semantic-after-idle-scheduler-reparse-hooks):
10720 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
10721 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
10722 * cedet/semantic.el (semantic-toplevel-bovine-table)
10723 (semantic-toplevel-bovine-cache)
10724 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
10725 (semantic-init-mode-hooks, semantic-init-db-hooks)
10726 (semantic-bovination-working-type): Provide the `when' arg.
10728 2009-10-24 Karl Fogel <kfogel@red-bean.com>
10730 * bookmark.el: Update documentation, especially documentation
10731 of `bookmark-alist' and of the bookmark file format.
10732 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
10734 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
10736 * mail/emacsbug.el (report-emacs-bug): Clarify that the
10737 keybindings apply to the mail buffer (Bug#4003). Shrink help
10740 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10741 (global-whitespace-mode, global-whitespace-newline-mode)
10742 (whitespace-toggle-options, global-whitespace-toggle-options):
10743 Doc fix (Bug#3660).
10745 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
10746 of xmltok-start before the end tag was inserted (Bug#2840).
10748 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
10749 patterns that are preceded by an open-paren (Bug#1320).
10751 2009-10-24 Sven Joachim <svenjoac@gmx.de>
10753 * files.el (delete-directory): Delete symlinks to directories with
10754 delete-file (Bug#4739).
10756 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
10758 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
10759 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
10760 argument to make-obsolete.
10762 * cedet/semantic/fw.el (semantic-alias-obsolete)
10763 (semantic-varalias-obsolete): Add optional WHEN argument.
10765 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
10767 * vc.el (vc-backend-for-registration): Rename from
10768 vc-get-backend-for-registration. Update callers.
10770 * international/mule-cmds.el (set-language-info-alist):
10772 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
10773 (charset): Purecopy the name.
10774 (define-char-code-property): Purecopy string arguments.
10776 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10777 Purecopy string arguments.
10779 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10780 * ediff-hook.el (menu-bar-ediff-menu):
10781 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
10782 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
10784 2009-10-24 Glenn Morris <rgm@gnu.org>
10786 * comint.el (comint-dynamic-list-completions):
10787 * term.el (term-dynamic-list-completions): Use choose-completion rather
10788 than obsolete alias mouse-choose-completion.
10790 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
10791 file-cache-choose-completion.
10792 (file-cache-choose-completion): Handle an optional event argument.
10793 (file-cache-mouse-choose-completion): Make it an obsolete alias.
10795 * progmodes/octave-mod.el (octave-complete-symbol):
10796 Use choose-completion if mouse-choose-completion is ever removed.
10798 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
10801 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
10804 * vc-hooks.el (vc-responsible-backend): Fix declaration.
10806 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10808 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
10809 Ignore `pred' now that we receive one.
10810 Handle test-completion specially.
10812 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
10814 * vc.el (vc-responsible-backend): Throw an error if not backend is
10815 found. Remove the REGISTER argument. Move the code dealing with
10817 (vc-get-backend-for-registration): ... here. New function.
10818 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
10819 of vc-responsible-backend, pass the file name instead of the
10822 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10824 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
10826 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
10827 (pcomplete-comint-setup): Don't modify a global var via
10828 accidental side-effects.
10829 (pcomplete-shell-setup): Adjust call accordingly.
10830 (pcomplete-parse-comint-arguments): Use push.
10832 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
10834 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
10835 Allow uncapitalized info node names (Bug#3921).
10837 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
10838 to the DEBUG file (Bug#3781).
10840 2009-10-23 Jari Aalto <jari.aalto@cante.net>
10842 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
10843 dictionary entry (Bug#4579).
10845 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
10847 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
10848 from `rfn-eshadow-update-overlay-hook' when unloading.
10849 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
10850 "rsyncc". Adjust doc string.
10851 (tramp-temp-buffer-file-name): New buffer-local defvar.
10852 (tramp-handle-insert-file-contents, tramp-handle-write-region):
10853 Keep temporary file when indicated by method ("rsync" and
10855 (tramp-handle-write-region): Handle APPEND.
10856 (tramp-delete-temp-file-function): New defun. Added to
10857 `kill-buffer-hook'.
10859 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
10861 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
10863 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
10865 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
10866 (color-name-rgb-alist, tty-standard-colors)
10867 (tty-color-mode-alist): Change to defconst.
10869 * simple.el (mark-inactive): Purecopy message.
10871 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
10872 (global-map, yank-menu):
10873 * textmodes/ispell.el (ispell-menu-map):
10874 * net/eudc.el (eudc-tools-menu):
10875 * international/mule-cmds.el (describe-language-environment-map)
10876 (setup-language-environment-map, set-coding-system-map)
10877 (mule-menu-keymap):
10878 * vc-hooks.el (vc-menu-entry, vc-menu-map):
10879 * replace.el (occur-mode-map):
10880 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
10882 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
10884 * calc/calc.el (math-read-number, math-read-number-simple): Use
10887 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10889 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
10890 rather than fiddling with global-map bindings, since it should only
10891 affect per-terminal settings.
10892 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
10894 * minibuffer.el (completion-table-with-terminator): Allow to specify
10895 the terminator-regexp.
10897 * simple.el (switch-to-completions): Look for *Completions* in other
10900 * pcomplete.el: Allow the use of completion-tables.
10901 (pcomplete-std-complete): New command.
10902 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
10903 (pcomplete--here): Use a function for `form' rather than an expression,
10904 so it can be byte-compiled.
10905 (pcomplete-here, pcomplete-here*): Adjust accordingly.
10906 Add edebug declaration.
10907 (pcomplete-show-completions): Remove unused var `curbuf'.
10908 (pcomplete-do-complete, pcomplete-stub):
10909 Don't assume `completions' is a list of strings any more.
10911 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
10913 * find-dired.el (find-name-arg): Fix typo in docstring.
10915 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10917 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
10918 (pcmpl-linux-fs-types): Same, and update to new modules layout.
10920 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
10923 * comint.el (comint-read-input-ring, comint-write-input-ring)
10924 (comint-substitute-in-file-name)
10925 (comint-dynamic-complete-as-filename)
10926 (comint-dynamic-simple-complete)
10927 (comint-dynamic-list-filename-completions)
10928 (comint-dynamic-list-completions)
10929 (comint-redirect-results-list-from-process): Minor simplifications.
10931 2009-10-21 Kevin Ryde <user42@zip.com.au>
10933 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
10934 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
10935 the first form. And insert a blank line after ";;; Code" since
10936 that's usual style. (Bug#4612)
10938 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
10940 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * minibuffer.el (completion-table-with-terminator): Properly implement
10943 boundaries, in case `terminator' appears in the suffix.
10944 (completion--embedded-envvar-table): Don't return boundaries if
10945 there's no valid completion. Simplify.
10946 (completion-file-name-table): New completion table extracted from
10947 completion--file-name-table.
10948 (completion--file-name-table): Use it.
10949 (read-file-name-predicate): Declare obsolete.
10950 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
10951 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
10952 completion-file-name-table, and use the `pred' argument.
10953 * files.el (locate-file-completion-table): Use the `pred' arg rather
10954 than read-file-name-predicate.
10955 (abbreviate-file-name): Use \` rather than ^ for BOS.
10957 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
10959 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
10960 vc-responsible-backend to register, it causes problems.
10962 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10964 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
10966 2009-10-21 Eric Ludlam <zappo@gnu.org>
10968 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
10969 (semantic-c-debug-mode-init-pch): New functions.
10970 (semantic-c-debug-mode-init-last-mode): New var.
10971 (semantic-c-parse-lexical-token): Use them.
10973 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
10974 When extracting the argument list, limit only by point-max.
10976 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
10978 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
10979 (tramp-smb-handle-file-attributes): Use it.
10980 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
10981 (tramp-smb-handle-insert-directory): Use `mapc' rather than
10982 `mapcar'. Use `tramp-smb-get-stat-capability'.
10983 Add `dired-filename' text properties.
10984 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
10985 (tramp-smb-maybe-open-connection): Simplify check for smbclient
10988 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
10990 * subr.el (read-key-delay): Reduce to 0.01.
10991 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
10994 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10996 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
10998 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
10999 (Info-menu): Remove unused vars `last' and `completions'.
11000 (Info-index-nodes): Remove unused var `node'.
11002 * info.el (Info-complete-menu-item): Use complete-with-action.
11004 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
11006 Make vc-annotate work through copies and renames.
11007 * vc-annotate.el (vc-annotate-extract-revision-at-line):
11008 Return the file name too.
11009 (vc-annotate-revision-at-line)
11010 (vc-annotate-find-revision-at-line)
11011 (vc-annotate-revision-previous-to-line)
11012 (vc-annotate-show-log-revision-at-line): Update to get the file
11013 name from vc-annotate-extract-revision-at-line.
11014 (vc-annotate-show-diff-revision-at-line-internal): Change the
11015 argument to mean whether to show a file diff or not. Get the file
11016 name from vc-annotate-extract-revision-at-line.
11017 (vc-annotate-show-diff-revision-at-line):
11018 Update vc-annotate-show-diff-revision-at-line call.
11019 (vc-annotate-warp-revision): Add an optional file argument.
11021 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11022 (vc-git-annotate-extract-revision-at-line): Also return the file
11025 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11026 command. Remove unused code.
11027 (vc-hg-annotate-re): Update to match --follow output.
11028 (vc-hg-annotate-extract-revision-at-line): Also return the file
11031 * vc.el: Update annotate-extract-revision-at-line documentation.
11033 2009-10-18 Kevin Ryde <user42@zip.com.au>
11035 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11036 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11038 * net/browse-url.el (browse-url): Identify alist with "consp and
11039 not functionp" and let all other things go down the `apply' leg,
11040 as suggested by Stefan. (Further to bug#4531.)
11042 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
11044 * minibuffer.el (read-file-name): Check for repeat before putting
11045 a default argument in file-name-history (Bug#4657).
11047 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11048 read syntax (Bug#4737).
11050 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11052 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11054 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11055 (html-tag-alist, html-tag-help): Add descriptions for undocumented
11056 entries and make note of obsolete tags.
11058 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11060 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11062 2009-10-18 Glenn Morris <rgm@gnu.org>
11064 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11065 grep, so that binary files (eg international/uni-bidi.el) can match.
11066 Remove test for "UnicodeData" files, since it is hopefully unnecessary
11067 now, and in any case the file header format has changed.
11069 2009-10-17 Glenn Morris <rgm@gnu.org>
11071 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11072 (flyspell-get-word, flyspell-large-region)
11073 (flyspell-auto-correct-previous-word): Doc/error message fixes.
11075 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11077 * Makefile.in (ELCFILES): Add ede/shell.
11079 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
11081 * term/common-win.el (x-colors): Purecopy it.
11083 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11085 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11086 permissive for when the buffer is empty.
11087 (tar-header-block-tokenize): Decode the username and groupname.
11088 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11090 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11092 * cedet/srecode/srt.el:
11093 * cedet/srecode/compile.el:
11094 * cedet/semantic/mru-bookmark.el:
11095 * cedet/semantic/debug.el:
11096 * cedet/semantic/complete.el:
11097 * cedet/semantic/analyze.el: Require CL when compiling.
11099 2009-10-17 Eric Ludlam <zappo@gnu.org>
11101 * cedet/semantic/scope.el
11102 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
11103 tmpscope so that the regular scope will continue to work.
11105 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
11106 Use semantic-idle-summary-highlight-face as the highlighting.
11108 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
11109 contains multibyte characters, choose first applicable coding
11110 system automatically.
11112 * cedet/ede/project-am.el (project-run-target): New method.
11113 (project-run-target): New method.
11115 * cedet/ede.el (ede-target): Add run target menu item.
11116 (ede-project, ede-minor-keymap): Add ede-run-target binding.
11117 (ede-run-target): New function.
11118 (ede-target::project-run-target): New method.
11120 * cedet/ede/proj.el (project-run-target): New method.
11122 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
11123 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
11125 (ede-proj-target-makefile-shared-object): Only libtool compilers
11126 now available. Add linkers for libtool.
11127 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
11128 (ede-proj-makefile-target-name): Always use .la extension.
11130 * cedet/ede/proj-prog.el (project-run-target): New method.
11132 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
11133 (ede-g++-linker): Change Change link lines.
11135 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
11136 When searching for old variables, go to the end of the buffer and
11137 search backward from there.
11138 (ede-proj-makefile-automake-insert-subdirs)
11139 (ede-proj-makefile-automake-insert-extradist): New methods.
11140 (ede-proj-makefile-create): Use them.
11142 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
11143 Force FILE to expand to the current target. Use file-exists-p to
11144 check that it exists.
11146 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
11147 (ede-linux-load): Wrap dir in file-name-as-directory.
11150 * cedet/ede/files.el (ede-get-locator-object): When enabling
11151 locate, do so on "top".
11153 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
11154 file-name-as-directory during compare.
11155 (ede-emacs-version): Return Emacs/XEmacs differentiator.
11156 Get version number from different places. Don't call egrep.
11157 (ede-emacs-load): Set :version slot. Call file-name-as-directory
11158 to set the directory.
11160 * cedet/ede/shell.el: New file.
11162 * cedet/inversion.el (inversion-decoders): Allow for stray . in
11163 alpha/beta variants.
11165 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * international/mule-cmds.el (select-safe-coding-system): If the file
11168 has a coding cookie, use it regardless of any other setting (bug#4712).
11170 2009-10-17 Glenn Morris <rgm@gnu.org>
11172 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
11173 All errors should have messages.
11175 * foldout.el (foldout-mouse-swallow-events):
11176 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11178 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11179 (dired-keep-marker-copy, dired-keep-marker-hardlink)
11180 (dired-keep-marker-symlink, dired-dwim-target)
11181 (dired-copy-preserve-time): Do not autoload these defcustoms.
11183 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11184 messages from messing up the file coding. (Bug#4623)
11186 2009-10-17 Jari Aalto <jari.aalto@cante.net>
11188 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11189 if no match is found for the current dictionary. (Bug#4578)
11191 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11192 optional, since that is how it is documented, and this is often called
11193 with a nil argument. (Bug#4577)
11194 (flyspell-external-point-words, flyspell-auto-correct-word)
11195 (flyspell-correct-word-before-point, flyspell-word-search-forward)
11196 (flyspell-word-search-backward): Remove nil argument in calls to
11197 flyspell-get-word, since it is not needed now.
11199 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
11201 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
11203 2009-10-16 Glenn Morris <rgm@gnu.org>
11205 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11207 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11209 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11210 (ange-ftp-file-size): New function.
11211 (ange-ftp-file-attributes): Use it.
11213 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
11215 * net/tramp-smb.el (tramp-smb-version): New defvar.
11216 (tramp-smb-maybe-open-connection): Use it, in order to avoid
11219 2009-10-16 Glenn Morris <rgm@gnu.org>
11221 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11222 Maybe copy some custom properties from old to new name. (Bug#4706)
11224 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
11226 * subr.el (error, sit-for, start-process-shell-command)
11227 (start-file-process-shell-command): Set the calling convention
11228 after the function definition.
11230 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
11232 * subr.el (error, sit-for, start-process-shell-command)
11233 (start-file-process-shell-command): Use the new
11234 set-advertised-calling-convention feature.
11236 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
11238 * international/ucs-normalize.el (ucs-normalize-version):
11240 (check-range): Adjust for Unicode 5.2.
11242 2009-10-15 Juri Linkov <juri@jurta.org>
11244 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11245 to the `menu-item' format.
11247 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
11249 * net/tramp.el (tramp-replace-environment-variables): Do not fail
11250 if the environment variable does not exist.
11252 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11253 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11255 (tramp-smb-handle-add-name-to-file)
11256 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11257 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11258 (tramp-smb-handle-file-attributes)
11259 (tramp-smb-do-file-attributes-with-stat)
11260 (tramp-smb-handle-file-local-copy)
11261 (tramp-smb-handle-insert-directory)
11262 (tramp-smb-handle-make-directory)
11263 (tramp-smb-handle-make-directory-internal)
11264 (tramp-smb-handle-make-symbolic-link)
11265 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11266 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11267 (tramp-smb-maybe-open-connection): Apply the changed parameters.
11268 (tramp-smb-read-file-entry): Read Disk names in compressed format.
11269 Handle long file names.
11270 (tramp-smb-get-cifs-capabilities): Check, whether the connection
11271 process is running.
11272 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11273 Read share names with "-g" option.
11275 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
11277 * net/rcirc.el (rcirc-view-log-file): New command.
11278 (rcirc-track-minor-mode-map): Remove C-c ` binding.
11279 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11282 2009-10-15 Glenn Morris <rgm@gnu.org>
11284 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11285 from the second command-line argument.
11286 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11287 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11288 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11289 w32-batch-update-autoloads.
11290 * emacs-lisp/autoload.el (autoload-make-program): New variable.
11291 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11293 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11294 the headers cannot be located. Simplify, subtracting superflous
11297 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
11299 Replace completion-base-size by completion-base-position to fix bugs
11300 such as (bug#4699).
11301 * simple.el (completion-base-position): New var.
11302 (completion-base-size): Mark as obsolete.
11303 (choose-completion): Make it work for mouse events as well.
11304 Pass the new base-position to choose-completion-string.
11305 (choose-completion-guess-base-position): New function, extracted from
11306 choose-completion-delete-max-match.
11307 (choose-completion-delete-max-match): Use it. Make obsolete.
11308 (choose-completion-string): Use the new base-position info.
11309 (completion-root-regexp): Delete.
11310 (completion-setup-function): Preserve completion-base-position.
11311 Eliminate obsolete base-size manipulation.
11312 * minibuffer.el (display-completion-list): Don't mess with base-size.
11313 (minibuffer-completion-help): Set completion-base-position instead.
11314 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11316 * textmodes/bibtex.el (bibtex-complete):
11317 * emacs-lisp/crm.el (crm--choose-completion-string):
11318 Adjust to new calling convention.
11319 * complete.el (partial-completion-mode): Use minibufferp to avoid
11320 bumping into incompatible change to choose-completion-string-functions.
11321 * ido.el (ido-choose-completion-string): Make its calling convention
11323 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11324 base-size manipulation.
11325 (comint-dynamic-list-input-ring): Use dotimes and push.
11326 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11327 fundamental-mode. Use `or'.
11329 2009-10-14 Juri Linkov <juri@jurta.org>
11331 * misearch.el (multi-isearch-next-buffer-from-list)
11332 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
11334 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * Makefile.in (compile-onefile): Load `bytecomp' rather than
11339 * minibuffer.el (completion-pcm--merge-completions): Make sure the
11340 string we return is all made up of text from the completions rather
11341 than part from the completions and part from the input (bug#4219).
11343 * ido.el (ido-everywhere): Use define-minor-mode.
11345 * buff-menu.el (list-buffers, ctl-x-map):
11346 Mark the entry points with ;;;###autoload cookies.
11348 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
11350 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11351 correctly in the detached head case.
11352 (vc-git-print-log): Remove unused binding.
11354 * vc.el (vc-responsible-backend): When a directory is passed for
11355 for registration create a VC repository if no backend is
11356 responsible for the directory argument.
11357 (vc-deduce-fileset): Tell vc-responsible-backend to register.
11359 * vc.el: Move comments about RCS and SCCS ...
11361 * vc-sccs.el: ... here, respectively.
11363 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11365 * minibuffer.el (completion--file-name-table): Return nil if there's
11366 no file completion, even if substitute-in-file-name changed
11367 the string (bug#4708).
11369 2009-10-13 Juri Linkov <juri@jurta.org>
11371 * files-x.el (read-file-local-variable-value): Don't filter out
11372 minor modes from mode name completion (bug#4664).
11374 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11376 * international/mule-cmds.el (ucs-names): Remove exclusion of
11377 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11379 2009-10-13 Kenichi Handa <handa@m17n.org>
11381 * international/uni-name.el: Regenerated.
11383 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11385 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
11386 should be automatically buffer-local, but isn't.)
11388 2009-10-12 Sam Steingold <sds@gnu.org>
11390 * progmodes/compile.el (compilation-next-error-function): Fix the
11391 timestamps if the buffer has been visited before.
11392 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11393 non-anchored patterns, like the perl one (bug#3928).
11395 2009-10-12 Glenn Morris <rgm@gnu.org>
11397 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11400 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
11402 * proced.el (proced-unload-function): New function.
11404 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11405 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11408 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11410 2009-10-11 Juri Linkov <juri@jurta.org>
11412 * files-x.el (read-file-local-variable-value):
11413 Provide default value only for bound variables (bug#4664).
11415 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
11417 * net/tramp.el (tramp-local-host-p): Function shall return nil for
11418 connection methods like smb.
11420 * net/tramp-cache.el (tramp-flush-connection-property): The hash
11423 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11424 (tramp-smb-file-name-handler-alist): Add handlers for
11425 `add-name-to-file', `make-symbolic-link'.
11426 (tramp-smb-handle-add-name-to-file)
11427 (tramp-smb-do-file-attributes-with-stat)
11428 (tramp-smb-handle-make-symbolic-link)
11429 (tramp-smb-get-cifs-capabilities): New defuns.
11430 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11431 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11432 (tramp-smb-handle-file-local-copy)
11433 (tramp-smb-handle-make-directory-internal)
11434 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11435 The file name syntax depends on cifs capabilities.
11436 (tramp-smb-handle-file-attributes):
11437 Call `tramp-smb-do-file-attributes-with-stat' if possible.
11438 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11439 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11441 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
11443 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11444 (eieio-defclass): Apply deftype handler and setf-method properties
11446 (eieio-add-new-slot): Avoid union function from cl library.
11447 (eieio--typep): New function.
11448 (eieio-perform-slot-validation): Use it.
11450 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11452 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11453 Update documentation to refer to the variables documented in r1.135.
11456 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11458 * bookmark.el (Info-suffix-list): Remove this unused variable.
11459 (bookmark-current-point): Remove this obsolete variable.
11460 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11461 Adjust for removal of bookmark-current-point.
11463 (bookmarks-already-loaded, bookmark-current-buffer)
11464 (bookmark-yank-point): Document. (Bug#4188)
11466 2009-10-10 Glenn Morris <rgm@gnu.org>
11468 * frame.el (frame-height): Doc fix.
11470 * calendar/calendar.el (calendar-split-width-threshold): New option.
11471 (calendar-basic-setup): Use calendar-split-width-threshold.
11473 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
11475 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
11476 Use .la for Automake.
11478 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
11480 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
11481 Use "autoreconf -i". Suggested by Andreas Schwab.
11483 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
11485 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11486 Ideographic Supplement" range (U+1F200..U+1F2FF).
11488 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11490 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11491 since the list will have been rebuilt anyway. (Bug#4349)
11493 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11495 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11496 (bookmark-bmenu-execute-deletions): Don't save here, as
11497 bookmark-delete will now do so if necessary.
11498 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11501 2009-10-09 Glenn Morris <rgm@gnu.org>
11503 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11505 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11507 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11508 (bookmark-jump-other-window): Just invoke bookmark-jump with new
11509 argument now, so the two function's behaviors will match. (Bug#3645)
11511 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
11513 * cedet/ede/proj.el (project-make-dist, project-compile-project):
11515 (ede-proj-dist-makefile): Use expand-file-name instead of concat
11516 to expand file names.
11518 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
11520 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11521 (tramp-file-name-real-host, tramp-file-name-port):
11522 Apply `save-match-data'.
11524 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11525 case both directories are remote.
11526 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11527 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11529 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
11531 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
11532 (ede-proj-target-makefile-objectcode): Use it.
11534 * cedet/ede/source.el (ede-want-any-source-files-p)
11535 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
11536 Return search result. This error was introduced while merging.
11538 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11540 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11542 2009-10-07 Glenn Morris <rgm@gnu.org>
11544 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11547 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11549 * files-x.el (read-file-local-variable): Include some
11550 non-user-variables in the completion table (bug#4664).
11552 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
11554 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11557 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11558 (tramp-smb-file-name-handler-alist): Add handler for
11559 `copy-directory', `expand-file-name', `set-file-modes'.
11560 (tramp-smb-handle-copy-directory)
11561 (tramp-smb-handle-expand-file-name)
11562 (tramp-smb-handle-set-file-modes): New defuns.
11563 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11564 (tramp-smb-handle-file-attributes): Simplify check for retrieving
11566 (tramp-smb-handle-insert-directory): Don't flush the cache.
11567 (tramp-smb-maybe-open-connection): Check for samba client and
11570 2009-10-07 Eli Zaretskii <eliz@gnu.org>
11572 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11573 to not error out of search for "^lisp=" fails.
11575 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11577 * makefile.w32-in (WINS_UPDATES): New macro.
11578 (custom-deps, finder-data, autoloads): Use it.
11580 2009-10-07 Glenn Morris <rgm@gnu.org>
11582 * Makefile.in (autoloads): Revert previous change.
11583 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11584 the list of preloaded files passed on the command-line, get
11585 it from src/Makefile.
11587 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11588 show the original buffer rather than a random one.
11590 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
11592 * help.el (describe-no-warranty): Place point in a slightly better
11593 position in the GPLv3 text.
11595 2009-10-06 Sam Steingold <sds@gnu.org>
11597 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11598 the comm attribute is present before calling regexp-quote.
11600 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
11602 * play/animate.el (animate-string): For good effect, make sure
11603 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
11605 * play/animate.el (animate-sequence, animate-birthday-present):
11606 * misc.el (butterfly): Don't set `indent-tabs-mode'.
11608 2009-10-06 Glenn Morris <rgm@gnu.org>
11610 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
11612 * emacs-lisp/autoload.el (autoload-excludes): New variable.
11613 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
11614 (batch-update-autoloads): Process a string value of autoload-excludes,
11615 set during the build process.
11616 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
11618 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
11619 inside with-parsed... macro so that `v' is defined.
11621 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
11622 * progmodes/fortran.el (fortran-end-of-block)
11623 (fortran-beginning-of-block):
11624 Also push mark in the macro case.
11626 * emerge.el (emerge-show-file-name):
11627 * calc/calc.el (calc-quit):
11628 * calc/calc-misc.el (calc-big-or-small):
11629 * calc/calc-graph.el (calc-graph-view):
11630 * calc/calc-ext.el (calc-reset):
11631 * calendar/calendar.el (calendar-basic-setup):
11632 Use window-full-height-p.
11634 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
11635 header we don't understand, don't insert another. (Bug#4624)
11636 If changing mime charset, insert the new one in the right place.
11638 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
11640 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
11641 (cal-tex-cursor-month): Correctly increment the end date for diary and
11642 holiday listing. (Bug#4626)
11644 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11646 * help-fns.el (describe-function-1): Don't burp if the function is not
11649 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
11651 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
11652 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
11653 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11654 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
11656 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
11657 (eieio-default-superclass): Reflow docstrings.
11658 (this, class-option-assoc, defclass, eieio-class-un-autoload)
11659 (eieio-unbind-method-implementations, defmethod)
11660 (eieio-validate-slot-value, eieio-validate-class-slot-value)
11661 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
11662 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
11663 (eieio-slot-originating-class-p, eieio-slot-name-index)
11664 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
11665 (constructor, initialize-instance, no-next-method, object-print)
11666 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
11667 Fix typos in docstrings.
11668 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
11669 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
11670 (next-method-p): Doc fixes.
11671 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
11672 Fix typos in error messages.
11673 (eieio-defmethod): Fix typo in description of generic method.
11675 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
11676 (eieio-persistent-save-interactive, slot-missing):
11677 Fix typos in docstrings.
11678 (eieio-instance-inheritor-slot-boundp): Doc fix.
11680 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
11681 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
11683 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
11684 (eieio-custom-object-apply-reset):
11685 Fix typos in docstrings and error messages.
11687 * emacs-lisp/eieio-datadebug.el (data-debug-show):
11688 Fix typo in docstring.
11690 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
11691 (eieio-browse-tree): Doc fix.
11692 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
11693 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
11694 Fix typos in docstrings.
11696 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
11697 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
11698 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
11699 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
11702 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
11704 * vc-hg.el (log-view-vc-backend): Declare for compiler.
11705 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
11706 Set log-view-vc-backend so that diff can work.
11708 * log-view.el (log-view-diff): Use vc-diff-internal instead of
11710 (vc-diff-internal): Autoload this instead of vc-version-diff.
11712 2009-10-05 Eli Zaretskii <eliz@gnu.org>
11714 * simple.el (eval-expression): Doc fix.
11716 * progmodes/cwarn.el (cwarn-mode): Doc fix.
11718 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
11720 * files.el (directory-files-no-dot-files-regexp): New defconst.
11721 (delete-directory): Use it.
11722 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
11724 * net/tramp.el (tramp-verbose): Fix docstring.
11725 (tramp-methods): Add recursive option to `tramp-copy-args'.
11726 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
11727 "scp1_old", "scp2_old", "rsync", "rsyncc".
11728 (tramp-default-method): Check also for `auth-source-user-or-password'.
11729 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
11730 Add handler for `copy-directory'.
11731 (tramp-handle-copy-directory): New defun.
11732 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
11733 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
11734 Optimize sent command.
11736 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11738 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
11739 window if necessary.
11741 * calendar/calendar.el (calendar-basic-setup): Don't call
11742 switch-to-buffer in a dedicated window.
11744 2009-10-05 Karl Fogel <kfogel@red-bean.com>
11746 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
11747 don't do anything related to relocating, just return nil.
11748 (bookmark-error-no-filename): New error.
11749 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
11750 bookmark has no file. Don't even attempt to handle things that
11751 are not files; the whole point of custom handlers is to keep that
11752 knowledge elsewhere anyway. Tighten some comments.
11753 (bookmark-file-or-variation-thereof): Remove now-unused function.
11754 (bookmark-location): Doc string fix.
11757 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11759 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
11760 don't use a file dialog, because they usually don't know how to read
11761 a directory target from the user. (Bug#4230)
11762 Also, make sure the prompt can display directories as well as files.
11764 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11766 * bookmark.el (bookmark-set, bookmark-buffer-name):
11767 Improve doc strings. (Bug#1193)
11769 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11771 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
11772 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
11773 (bookmark-get-annotation, bookmark-set-annotation)
11774 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
11775 (bookmark-set-position, bookmark-get-front-context-string)
11776 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
11777 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
11778 (bookmark-jump-other-window, bookmark-handle-bookmark)
11779 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
11780 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
11781 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
11782 Improve doc strings to say whether bookmark can be a string or
11783 a record or both, and make other consistency and clarity fixes.
11784 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
11785 (bookmark-default-annotation-text, bookmark-yank-word)
11786 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
11787 (bookmark-import-new-list, bookmark-maybe-rename)
11788 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11789 (bookmark-bmenu-bookmark): Give these doc strings.
11790 (bookmark-bmenu-check-position): Give this a doc string, but also
11791 add a FIXME comment about how the function may be pointless.
11792 (bookmark-default-handler): Rework doc string and change a
11793 parameter name, to clarify that this takes a bookmark record
11794 not a bookmark name.
11795 (bookmark-set): Change a parameter name to indicate its meaning,
11796 and improve the doc string a bit.
11799 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11801 * bookmark.el (bookmark-alist): Document the new `handler' element
11802 in the param alist.
11803 (bookmark-make-record-function): Adjust documentation for above.
11806 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11808 * info.el (Info-bookmark-make-record): Document this function.
11809 (Info-bookmark-jump): Document with a doc string, not just a comment.
11812 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
11814 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
11815 (semantic-new-buffer-fcn): Call parser setup functions here.
11816 (semantic-mode): Don't call parser setup functions here, it's done
11817 in semantic-new-buffer-fcn now.
11818 (semantic-mode): Parse all existing buffers when enabled.
11820 * cedet/srecode/compile.el (srecode-compile-file):
11821 Call semantic-new-buffer-fcn if the buffer has not been parsed.
11823 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
11825 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
11827 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
11828 (proj-comp-insert-variable-once): New macro, renamed from
11829 ede-pmake-insert-variable-once in ede/pmake.edl.
11830 (ede-proj-makefile-insert-variables): Use it.
11832 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
11834 * files.el (copy-directory): New defun.
11836 * dired-aux.el (dired-copy-file-recursive): Use it.
11838 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
11840 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
11841 (makefile-end-of-command):
11842 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
11843 (semantic-end-of-context): Fix previous change. Doc fixes.
11845 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
11847 * files-x.el (modify-dir-local-variable)
11848 (copy-dir-locals-to-file-locals-prop-line):
11849 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
11850 (makefile-end-of-command):
11851 * cedet/semantic/lex.el (semantic-lex-token):
11852 * cedet/semantic/analyze/fcn.el
11853 (semantic-analyze-dereference-metatype-1):
11854 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
11855 (semantic-lex-cpp-undef):
11856 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
11857 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
11858 (semantic-end-of-context): Fix typos in docstrings.
11860 * recentf.el (recentf-unload-function): New function.
11862 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
11864 * cedet/ede.el (ede-project-placeholder-cache-file):
11865 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
11866 * cedet/srecode/map.el (srecode-map-save-file):
11867 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
11869 2009-10-04 Glenn Morris <rgm@gnu.org>
11871 * window.el (window-full-height-p): Add doc string.
11873 2009-10-04 Martin Rudalics <rudalics@gmx.at>
11875 * window.el (window-full-height-p): New function. (Bug#4543)
11877 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
11879 * cedet/srecode/insert.el: Require srecode/args.
11881 * cedet/srecode/args.el: Require srecode/dictionary instead of
11884 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
11886 * files.el (auto-mode-alist): Add .srt and Project.ede.
11888 * cedet/semantic.el (semantic-mode):
11889 Handle srecode-template-mode-hook as well.
11890 (semantic-mode): Use js-mode-hook for Javascript hook.
11892 * cedet/srecode/template.el: Remove hook variable.
11894 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
11896 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
11898 (ede-project-placeholder-cache-file): Default to a file in
11899 user-emacs-directory.
11901 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
11902 templates in data-directory.
11903 (srecode-map-save-file): Default to a file in user-emacs-directory.
11905 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
11908 2009-09-30 Eric Ludlam <zappo@gnu.org>
11910 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
11913 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
11914 Only insert each variable once.
11916 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
11917 (ede-pmake-insert-variable-shared): Use it.
11919 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
11920 for lexical table iff table is nil.
11922 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
11924 * vc.el: Remove commented out code.
11925 (vc-derived-from-dir-mode): Remove, unused.
11926 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
11928 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
11930 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11931 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
11932 there could be recursive loading when `default-directory' is a
11933 remote file name. (Bug#4614)
11935 2009-10-03 Glenn Morris <rgm@gnu.org>
11937 * calendar/calendar.el (calendar-basic-setup): Handle the case where
11939 (calendar-generate-window): Test for shrinkability rather than width.
11941 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
11942 declaration, currently false.
11944 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
11945 reusing existing buffers, in case we happen to visit two files with the
11946 same basename. (Bug#4593)
11948 2009-10-02 Eli Zaretskii <eliz@gnu.org>
11950 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
11951 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
11952 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
11953 subdirs of cedet as well.
11954 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
11956 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11958 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
11959 Obey advertised-signature-table.
11961 * help-fns.el (help-function-arglist): Don't check
11962 advertised-signature-table.
11963 (describe-function-1): Do it here instead so it also applies to subrs.
11965 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
11967 * simple.el (start-file-process): Say in the doc-string, that file
11968 handlers might not support pty association, if PROGRAM is nil.
11970 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
11971 HOST and USER are strings. They are nil, when there are
11972 incomplete entries in ~/.netrc, for example.
11973 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
11974 root directory ("device busy" error otherwise).
11976 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
11977 Flush file properties of created directory.
11979 2009-10-02 Eli Zaretskii <eliz@gnu.org>
11981 * makefile.w32-in (WINS_BASIC): Remove cedet.
11982 (WINS_CEDET): Add cedet.
11983 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
11985 2009-10-02 Kevin Ryde <user42@zip.com.au>
11987 * net/browse-url.el (browse-url): Pass any symbol in
11988 browse-url-browser-function to `apply', since if you've mistakenly put
11989 an unbound symbol then the error is clearer. (Bug#4531)
11991 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
11993 * allout.el (allout-init, allout-back-to-current-heading)
11994 (allout-beginning-of-current-entry, allout-ascend-to-depth)
11995 (allout-ascend, allout-up-current-level, allout-end-of-level)
11996 (allout-previous-visible-heading, allout-forward-current-level)
11997 (allout-backward-current-level, allout-show-children):
11998 * apropos.el (apropos-describe-plist):
11999 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12000 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12001 * completion.el (add-completion, add-permanent-completion):
12002 * descr-text.el (describe-text-category, describe-char):
12003 * desktop.el (desktop-lazy-abort):
12004 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12005 * dired.el (dired-build-subdir-alist):
12006 * ediff.el (ediff-version):
12007 * elide-head.el (elide-head, elide-head-show):
12008 * emerge.el (emerge-version):
12010 * face-remap.el (variable-pitch-mode):
12011 * faces.el (describe-face):
12012 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12014 * files.el (find-file-existing, auto-save-mode):
12015 * font-lock.el (font-lock-fontify-buffer):
12016 * help-fns.el (describe-function, describe-variable)
12017 (describe-syntax, describe-categories):
12018 * help.el (view-lossage, describe-bindings, describe-key)
12020 * hexl.el (hexl-current-address):
12021 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12022 * info.el (Info-goto-emacs-key-command-node):
12023 * log-edit.el (log-edit-insert-cvs-template)
12024 (log-edit-insert-cvs-rcstemplate):
12025 * menu-bar.el (menu-bar-mode):
12026 * mouse.el (mouse-appearance-menu):
12027 * newcomment.el (comment-indent-new-line):
12028 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12029 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12030 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12031 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12032 * recentf.el (recentf-mode):
12033 * savehist.el (savehist-mode, savehist-save):
12034 * shadowfile.el (shadow-copy-files):
12035 * simple.el (kill-ring-save, next-line, previous-line)
12036 (normal-erase-is-backspace-mode):
12037 * strokes.el (strokes-update-window-configuration)
12038 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12039 (strokes-xpm-for-stroke):
12040 * time.el (emacs-uptime, emacs-init-time):
12041 * tutorial.el (tutorial--describe-nonstandard-key)
12042 (tutorial--detailed-help):
12043 * type-break.el (type-break-mode)
12044 (type-break-mode-line-message-mode, type-break-query-mode)
12045 (type-break-guesstimate-keystroke-threshold):
12046 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12047 * version.el (emacs-version):
12048 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12049 * winner.el (winner-mode):
12050 * calendar/timeclock.el (timeclock-in, timeclock-out)
12051 (timeclock-status-string, timeclock-change)
12052 (timeclock-workday-remaining-string)
12053 (timeclock-workday-elapsed-string)
12054 (timeclock-when-to-leave-string):
12055 * calendar/todo-mode.el (todo-add-category):
12056 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12057 * emacs-lisp/autoload.el (update-file-autoloads):
12058 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12059 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12060 (checkdoc-message-text, checkdoc-defun):
12061 * emacs-lisp/debug.el (debugger-list-functions):
12062 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12063 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12064 (eieio-describe-generic):
12065 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12066 * emacs-lisp/shadow.el (list-load-path-shadows):
12067 * emulation/cua-base.el (cua-mode):
12068 * emulation/edt.el (edt-set-scroll-margins):
12069 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12070 (tpu-toggle-regexp, tpu-toggle-search-direction)
12071 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12072 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12073 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12074 (viper-set-parsing-style-toggling-macro)
12075 (viper-set-emacs-state-searchstyle-macros):
12076 * emulation/viper.el (viper-set-hooks):
12077 * eshell/esh-mode.el (eshell-truncate-buffer):
12078 * international/mule-cmds.el (prefer-coding-system)
12079 (describe-input-method, describe-language-environment):
12080 * international/mule-diag.el (list-character-sets)
12081 (describe-character-set, describe-coding-system)
12082 (describe-fontset, list-fontsets, list-input-methods):
12083 * mail/sendmail.el (mail-signature):
12084 * net/ange-ftp.el (ange-ftp-copy-file):
12085 * net/browse-url.el (browse-url):
12086 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12087 * net/quickurl.el (quickurl-add-url):
12088 * net/rcirc.el (names, topic):
12089 * net/xesam.el (xesam-mode):
12090 * play/5x5.el (5x5-new-game):
12091 * play/yow.el (apropos-zippy):
12092 * progmodes/ada-mode.el (ada-mode-version):
12093 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12095 (f90-beginning-of-block):
12096 * progmodes/fortran.el (fortran-end-of-block)
12097 (fortran-beginning-of-block):
12098 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12099 * progmodes/python.el (python-describe-symbol, python-shell):
12100 * term/ns-win.el (ns-print-buffer):
12101 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12102 * textmodes/flyspell.el (flyspell-mode-on):
12103 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12104 (pages-directory-for-addresses):
12105 * textmodes/table.el (table-recognize-cell)
12106 (table-query-dimension, table-generate-source)
12107 (table-insert-sequence, table--warn-incompatibility):
12108 * textmodes/tex-mode.el (tex-validate-buffer):
12109 * textmodes/texinfmt.el (texinfmt-version)
12110 (texinfo-format-buffer):
12111 Use `called-interactively-p' instead of `interactive-p'.
12113 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12115 * image-mode.el (image-toggle-display):
12116 * emacs-lisp/elp.el (elp-instrument-function):
12117 * emacs-lisp/advice.el (ad-make-advised-definition):
12118 * emacs-lisp/easy-mmode.el (define-minor-mode):
12119 * net/browse-url.el (browse-url-maybe-new-window):
12120 * progmodes/sh-script.el (sh-learn-buffer-indent):
12121 Pass new argument 'any to `called-interactively-p'.
12123 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12125 * international/uni-bidi.el:
12126 * international/uni-category.el:
12127 * international/uni-combining.el:
12128 * international/uni-comment.el:
12129 * international/uni-decimal.el:
12130 * international/uni-decomposition.el:
12131 * international/uni-digit.el:
12132 * international/uni-lowercase.el:
12133 * international/uni-mirrored.el:
12134 * international/uni-name.el:
12135 * international/uni-numeric.el:
12136 * international/uni-old-name.el:
12137 * international/uni-titlecase.el:
12138 * international/uni-uppercase.el:
12139 Regenerate from Unicode 5.2.0 data.
12141 2009-10-01 Glenn Morris <rgm@gnu.org>
12143 * Makefile.in (ELCFILES): Regenerate.
12145 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12147 * subr.el (interactive-p): Mark obsolete.
12148 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12149 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12150 advertised-signature-table for subroutines as well.
12152 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12153 (set-advertised-calling-convention): New function.
12154 (make-obsolete, define-obsolete-function-alias)
12155 (make-obsolete-variable, define-obsolete-variable-alias):
12156 Make the optional-ness of `when' obsolete.
12157 (define-obsolete-face-alias): Make `when' non-optional.
12158 * help-fns.el (help-function-arglist):
12159 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12160 Use advertised-signature-table.
12162 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12164 * files.el (delete-directory): New defun. The original function
12165 in fileio.c has been renamed to `delete-directory-internal'.
12167 * dired.el (dired-delete-file): Call `delete-directory' with
12168 RECURSIVE parameter.
12170 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12171 parameter RECURSIVE. Implementation is missing.
12173 * net/tramp.el (tramp-handle-make-directory): Flush upper
12174 directory's file properties.
12175 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12176 (tramp-handle-dired-recursive-delete-directory): Flush directory
12177 properties after the remove command only.
12179 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12180 Handle optional parameter RECURSIVE.
12182 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12183 Handle optional parameter RECURSIVE.
12185 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12186 connection timeout.
12187 (tramp-smb-handle-delete-directory): Handle optional parameter
12190 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12192 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12193 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12194 (byte-compile-defmacro): Use backquotes.
12196 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12198 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12199 has no associated file.
12200 (vc-resynch-buffer): Use vc-dir-buffers.
12202 2009-10-01 Glenn Morris <rgm@gnu.org>
12204 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12205 (chart-file-count):
12206 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12207 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12208 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12209 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12210 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12211 (eieio-copy-parents-into-subclass, make-instance, class-children)
12212 (eieio-generic-form):
12213 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
12214 * cedet/cedet-idutils.el (cedet-idutils-search)
12215 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
12216 (cedet-idutils-version-check):
12217 * cedet/cedet.el (cedet-version):
12218 * cedet/data-debug.el (data-debug-insert-overlay-button)
12219 (data-debug-insert-overlay-list-button)
12220 (data-debug-insert-buffer-button)
12221 (data-debug-insert-buffer-list-button)
12222 (data-debug-insert-process-button, data-debug-insert-ring-button)
12223 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
12224 (data-debug-insert-stuff-vector-button)
12225 (data-debug-insert-symbol-button, data-debug-insert-string)
12226 (data-debug-insert-number, data-debug-insert-lambda-expression)
12227 (data-debug-insert-nil, data-debug-insert-simple-thing)
12228 (data-debug-insert-custom, data-debug-edebug-expr):
12229 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
12230 (global-ede-mode-map, ede-new, ede-debug-target)
12231 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
12232 * cedet/semantic.el (semantic-minimum-working-buffer-size)
12233 (semantic-fetch-tags, semantic-submode-list)
12234 (semantic-default-submodes):
12235 * cedet/ede/source.el (ede-source-match):
12236 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
12237 (project-am-package-info):
12238 * cedet/ede/proj.el (ede-proj-target, project-new-target):
12239 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
12240 * cedet/ede/proj-comp.el (ede-current-build-list):
12241 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
12242 * cedet/ede/files.el (ede-toplevel-project-or-nil):
12243 * cedet/ede/cpp-root.el (initialize-instance):
12244 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
12245 (autoconf-parameter-strip, autoconf-insert-new-macro):
12246 * cedet/semantic/wisent.el (wisent-lex-eoi):
12247 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
12248 (semantic-show-parser-state-mode):
12249 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
12250 * cedet/semantic/tag.el (semantic-tag-new-variable)
12251 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
12252 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
12253 (semantic--tag-deep-copy-tag-list)
12254 (semantic-tag-components-with-overlays-default):
12255 * cedet/semantic/symref.el (semantic-symref-find-text):
12256 * cedet/semantic/senator.el (senator-yank-tag)
12257 (senator-transpose-tags-up):
12258 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
12259 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
12260 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
12261 * cedet/semantic/lex.el (semantic-lex-comment-regex)
12262 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
12263 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
12264 * cedet/semantic/lex-spp.el
12265 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
12266 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
12267 * cedet/semantic/idle.el
12268 (semantic-idle-summary-current-symbol-info-brutish)
12269 (semantic-idle-summary-current-symbol-info-default):
12270 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
12271 (semantic--grammar-macro-compl-dict):
12272 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
12273 * cedet/semantic/format.el (semantic-format-tag-custom-list)
12274 (semantic-format-tag-canonical-name-default):
12275 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
12276 (semantic-find-tags-for-completion)
12277 (semantic-find-tags-by-scope-protection-default)
12278 (semantic-deep-find-tags-for-completion):
12279 * cedet/semantic/edit.el
12280 (semantic-edits-incremental-reparse-failed-hook)
12281 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
12282 (semantic-edits-splice-remove, semantic-edits-splice-replace):
12283 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
12284 * cedet/semantic/dep.el (semantic-dependency-include-path):
12285 * cedet/semantic/db.el (semanticdb-default-find-index-class)
12286 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
12287 (semanticdb-project-roots):
12288 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
12289 (semanticdb-find-adebug-insert-scanned-tag-cons)
12290 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
12291 (semanticdb-brute-deep-find-tags-for-completion):
12292 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
12293 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
12294 (semantic-end-of-context-default)
12295 (semantic-ctxt-current-function-default)
12296 (semantic-ctxt-scoped-types-default):
12297 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
12298 (semantic-complete-inline-tag-engine)
12299 (semantic-complete-inline-custom-type)
12300 (semantic-complete-read-tag-analyzer):
12301 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
12302 (semantic-chart-database-size):
12303 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
12304 (semantic-analyze-current-context):
12305 * cedet/semantic/symref/list.el (semantic-symref)
12306 (semantic-symref-hide-buffer, semantic-symref-symbol):
12307 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
12308 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
12309 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
12310 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
12311 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
12312 (semantic-c-dereference-template):
12313 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
12314 (semantic--analyze-refs-full-lookup-with-parents)
12315 (semantic--analyze-refs-full-lookup-simple):
12316 * cedet/semantic/analyze/complete.el
12317 (semantic-analyze-possible-completions):
12318 * cedet/srecode/table.el (srecode-mode-table-new):
12319 * cedet/srecode/srt.el (srecode-read-variable-name):
12320 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
12321 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
12322 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
12323 * cedet/srecode/map.el (srecode-current-map):
12324 * cedet/srecode/insert.el (srecode-insert)
12325 (srecode-insert-variable-secondname-handler, srecode-insert-method)
12326 (srecode-template-inserter-point-override)
12327 (srecode-insert-include-lookup):
12328 * cedet/srecode/getset.el (srecode-auto-choose-class):
12329 * cedet/srecode/extract.el (srecode-inserter-extract):
12330 * cedet/srecode/document.el
12331 (srecode-document-autocomment-return-last-alist)
12332 (srecode-document-autocomment-param-type-alist)
12333 (srecode-document-insert-function-comment)
12334 (srecode-document-insert-variable-one-line-comment)
12335 (srecode-document-function-name-comment):
12336 * cedet/srecode/dictionary.el (srecode-create-dictionary)
12337 (srecode-compound-toString):
12338 * cedet/srecode/compile.el (srecode-flush-active-templates):
12339 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
12342 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12343 match-data. (Bug#4555).
12345 * cedet/semantic/bovine/gcc.el
12346 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
12347 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
12349 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12350 rather than parsing it as a regexp. This relaxes the layout
12351 requirements and makes errors easier to detect.
12352 (check-declare-verify): Check file is regular.
12353 (check-declare-directory): Doc fix.
12354 * subr.el (declare-function): Doc fix.
12356 * ibuffer.el (ibuffer-format-qualifier):
12357 * isearch.el (hi-lock-regexp-okay):
12358 * calc/calc.el (math-zerop):
12359 * mail/uce.el (rmail-msgbeg, rmail-msgend):
12360 * term/w32-win.el (setup-default-fontset, set-fontset-font):
12361 Remove unused declarations.
12363 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12365 * cedet/semantic/wisent/javat-wy.el
12366 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
12368 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
12370 * cedet/srecode/expandproto.el: Fix provide statement.
12372 2009-09-30 Eric Ludlam <zappo@gnu.org>
12374 * emacs-lisp/eieio.el (boolean-p): Delete.
12376 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
12378 * cedet/ede/srecode.el: Fix provide statement.
12380 2009-09-30 Glenn Morris <rgm@gnu.org>
12382 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
12383 * cedet/ede/proj-aux.el (ede-aux-source):
12384 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
12386 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
12387 (semantic-mrub-switch-tags): Fix doc typos.
12389 * cedet/semantic/db-global.el (data-debug-new-buffer)
12390 (data-debug-insert-thing): Remove unneeded declarations (one broken).
12391 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
12393 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
12395 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
12396 use of CL function `remove-if-not'.
12398 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12400 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12401 filename is not a string.
12403 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
12405 * files.el (safe-local-eval-forms): Fix typo.
12407 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12409 * vc-hooks.el (vc-dir-buffers): New var.
12410 (vc-state-refresh): New function.
12411 (vc-state): Use it.
12412 (vc-after-save): Always ask the backend to recompute the new state.
12413 Always call vc-dir if necessary, using vc-dir-buffers.
12414 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12415 Use vc-dir-buffers.
12416 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12417 (vc-dir-prepare-status-buffer, vc-dir-update)
12418 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12419 Don't call expand-file-name on default-directory.
12421 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12423 * speedbar.el (speedbar-item-delete):
12424 * calc/calc-prog.el (calc-kbd-if):
12425 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12427 * epa.el (epa-key-list-mode-map):
12428 * hi-lock.el (hi-lock-menu): Fix typos in menus.
12430 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12431 (hs-show-hook): Fix typo in docstring.
12433 2009-09-29 Glenn Morris <rgm@gnu.org>
12435 * cedet/semantic/symref/idutils.el:
12436 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
12438 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
12440 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
12441 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
12442 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
12443 Mark declarations not understood by check-declare.
12445 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12446 file-name-nondirectory call preventing location of cedet files.
12447 (check-declare-verify): Use literal search rather than re-search.
12448 Add basic defmethod and defclass, and define-overloadable-function.
12450 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12451 Use tramp-compat-file-attributes rather than nonexistent
12452 tramp-compat-handle-file-attributes.
12454 * Makefile.in (lisptagsfiles4): New.
12455 (AUTOGENEL): Add cedet loaddefs files.
12456 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12457 (update-elclist, compile-always, backup-compiled-files)
12458 (bootstrap-clean): Add yet another directory level.
12459 (update-elclist): Use LC_COLLATE rather than COLLATE.
12460 (ELCFILES): Update, via `make update-elclist'.
12462 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12464 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12465 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12466 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12468 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
12470 * Makefile.in (lisptagsfiles3): Define.
12471 (TAGS, TAGS-LISP): Use it.
12472 (update-elclist): Add third directory level to look for elc files.
12473 (compile-always): Likewise.
12474 (backup-compiled-files): Likewise.
12475 (bootstrap-clean): Likewise.
12476 (ELCFILES): Update.
12478 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
12480 * Makefile.in (ELCFILES): Add CEDET files.
12482 2009-09-28 Eric Ludlam <zappo@gnu.org>
12484 CEDET (development tools) package merged.
12488 * cedet/semantic/*.el:
12489 * cedet/srecode/*.el: New files.
12491 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
12493 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12495 * net/tramp.el (top): Require tramp-imap.
12497 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12498 Use `tramp-compat-handle-file-attributes'.
12500 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
12502 * net/tramp-imap.el: New package.
12504 2009-09-28 Eric Ludlam <zappo@gnu.org>
12506 * emacs-lisp/chart.el:
12507 * emacs-lisp/eieio-base.el:
12508 * emacs-lisp/eieio-comp.el:
12509 * emacs-lisp/eieio-custom.el:
12510 * emacs-lisp/eieio-datadebug.el:
12511 * emacs-lisp/eieio-opt.el:
12512 * emacs-lisp/eieio-speedbar.el:
12513 * emacs-lisp/eieio.el: New files.
12515 * cedet/cedet-cscope.el:
12516 * cedet/cedet-files.el:
12517 * cedet/cedet-global.el:
12518 * cedet/cedet-idutils.el:
12519 * cedet/data-debug.el:
12520 * cedet/inversion.el:
12521 * cedet/mode-local.el:
12522 * cedet/pulse.el: New files.
12524 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12526 * whitespace.el (whitespace-trailing-regexp)
12527 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12530 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
12532 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12535 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12536 menu-bar-ediff-menu.
12538 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12539 define-overloadable-function.
12541 * progmodes/autoconf.el: Provide autoconf as well, so that this
12542 file can be `require'd.
12544 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12546 * emacs-lisp/autoload.el (generated-autoload-feature)
12547 (generated-autoload-load-name): New vars.
12548 (autoload-rubric, autoload-generate-file-autoloads): Use them.
12549 (make-autoload): Recognize define-overloadable-function and
12550 defclass forms (for EIEIO).
12552 * Makefile.in (update-subdirs): Exclude cedet directory.
12554 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
12556 * term/ns-win.el: Don't set the region face background. (Bug#4381)
12558 * faces.el: Default light-background background for region face to
12559 ns_selection_color under NS.
12561 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
12563 * net/imap-hash.el: New library, see NEWS.
12565 * Makefile.in (ELCFILES): Add imap-hash.el.
12567 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
12569 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12570 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12571 * help-macro.el (make-help-screen): Avoid using an ambiguous function
12572 definition where the docstring could be taken for the return value.
12574 2009-09-26 Glenn Morris <rgm@gnu.org>
12576 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12577 Add option to only show images below a certain size.
12578 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12579 save-excursion calls.
12581 2009-09-26 Eli Zaretskii <eliz@gnu.org>
12583 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12584 subdirectories) and eieio.
12586 2009-09-26 Alan Mackenzie <acm@muc.de>
12588 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12589 buggy bracketing. (Bug#4289)
12591 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12592 character constants (as case labels). (Bug#4289)
12594 2009-09-25 Juri Linkov <juri@jurta.org>
12596 * files.el (safe-local-eval-forms): Allow time-stamp in
12597 before-save-hook (Bug#4554).
12599 2009-09-25 Drew Adams <drew.adams@oracle.com>
12601 * menu-bar.el (list-buffers-directory): Doc fix.
12603 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12606 Try and avoid copying twice the same paragraph.
12607 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12608 Remove save-excursion.
12609 (log-edit-changelog-entry): Do it here instead.
12611 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
12613 * bs.el (bs--get-file-name): Use `list-buffers-directory'
12614 when available, instead of hardcoding mode names. Doc fix.
12616 * menu-bar.el (list-buffers-directory): Add docstring.
12617 Make automatically buffer-local.
12619 * dired.el (dired-mode):
12620 * files.el (cd-absolute):
12621 * pcvs.el (cvs-temp-buffer):
12622 * pcvs-util.el (cvs-get-buffer-create):
12623 * shell.el (shell-mode):
12624 * vc-dir.el (vc-dir-mode):
12625 Don't make `list-buffers-directory' buffer local.
12627 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
12629 * comint.el (comint-exec, comint-run, make-comint):
12630 Doc fixes (Bug#4542).
12632 2009-09-25 Glenn Morris <rgm@gnu.org>
12634 * mail/rmailmm.el (rmail-mime): New custom group.
12635 Move all defcustoms in this file into this group.
12636 (rmail-mime-media-type-handlers-alist): Revert previous change.
12637 (rmail-mime-show-images): New option.
12638 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12639 references to it, since it wasn't actually used for anything.
12640 (rmail-mime-insert-image): New function.
12641 (rmail-mime-image): Use rmail-mime-insert-image.
12642 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12643 obey the value of `rmail-mime-show-images' option. Print the size of
12646 2009-09-25 David Engster <deng@randomsample.de>
12648 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
12650 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12652 * whitespace.el: Does not highlight trailing spaces While point is
12653 at end of line. Does not highligt spaces at beginning of buffer
12654 while point is at beginning of buffer. Does not highlight spaces
12655 at end of buffer while point is at end of buffer. (Bug#4177)
12657 (whitespace-display-mappings): Adjust initialization.
12658 (whitespace-point, whitespace-font-lock-refontify): New vars.
12659 (whitespace-color-on, whitespace-color-off): Adjust code.
12660 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12661 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12662 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12664 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
12666 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12668 * textmodes/sgml-mode.el: Remove xml-mode alias.
12670 * files.el (auto-mode-alist, conf-mode-maybe)
12671 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12673 2009-09-24 Alan Mackenzie <acm@muc.de>
12675 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12676 c-forward-conditionals, but it doesn't move point and doesn't set
12678 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12679 (c-down-conditional-with-else, c-backward-conditional)
12680 (c-forward-conditional): Refactor to use c-scan-conditionals.
12682 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12684 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12685 (help-default-arg-highlight): Remove.
12686 (help-highlight-arg): New function.
12687 (help-do-arg-highlight): Use it.
12688 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
12690 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12692 * term.el (term-set-scroll-region, term-handle-ansi-escape):
12693 Undo last change, which didn't fix the problem and introduced others.
12695 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
12697 * progmodes/gdb-mi.el: Don't require speedbar.
12698 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12700 2009-09-24 Glenn Morris <rgm@gnu.org>
12702 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12704 * term/ns-win.el (ns-reg-to-script): Define for compiler.
12706 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12707 there is no newline after the final mime boundary. (Bug#4539)
12708 Move markers on insertion so that any buttons inserted don't end up in
12709 the next part of a multipart message.
12710 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
12711 (rmail-mime-bulk-handler): Optionally handle images.
12712 (rmail-mime-image): New button action.
12713 (rmail-mime-image-handler): New function.
12714 (rmail-mime-mode): New mode.
12715 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
12717 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12719 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12720 than just dropping elements from it (bug#4504).
12722 * term.el (term-set-scroll-region): Don't move cursor any more.
12723 (term-handle-ansi-escape): Call term-goto here instead.
12724 Suggested by Ivan Kanis <apple@kanis.eu>.
12726 * term.el: Require CL.
12727 (term-ansi-reset): New function.
12728 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12729 (term-handle-colors-array): Simplify.
12731 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12733 * allout.el (allout-overlay-interior-modification-handler)
12734 (allout-obtain-passphrase):
12735 * epa-file.el (epa-file-write-region):
12736 * ps-print.el (ps-begin-job):
12737 * vc-hooks.el (vc-toggle-read-only):
12738 * vc-rcs.el (vc-rcs-rollback):
12739 * vc-sccs.el (vc-sccs-rollback):
12740 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12741 (vc-version-diff, vc-revert, vc-rollback):
12742 * wdired.el (wdired-check-kill-buffer):
12743 * emacs-lisp/authors.el (authors):
12744 * net/socks.el (socks-open-connection):
12745 * net/zeroconf.el (zeroconf-service-add-hook):
12746 * obsolete/vc-mcvs.el (vc-mcvs-register):
12747 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12748 (gdb-select-frame):
12749 * progmodes/grep.el (lgrep, rgrep):
12750 * progmodes/idlw-help.el (idlwave-help-check-locations)
12751 (idlwave-help-html-link, idlwave-help-assistant-open-link):
12752 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12753 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12754 (reftex-toc-rename-label): Fix typos in error messages.
12756 * dired-aux.el (dired-do-shell-command): Reflow docstring.
12757 (dired-copy-how-to-fn): Doc fix.
12758 (dired-files-attributes, dired-read-shell-command):
12759 Fix typos in docstrings.
12761 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12762 (dired-x-find-file-other-window): Reflow docstrings.
12763 (dired-omit-marker-char, dired-read-shell-command)
12764 (dired-x-submit-report): Fix typos in docstrings.
12766 * shell.el (shell-mode-hook):
12767 * view.el (View-scroll-line-forward):
12768 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12769 Fix typos in docstrings.
12771 * net/dig.el (dig-invoke): Fix typo in docstring.
12772 (query-dig): Reflow docstring.
12774 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12775 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12776 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12777 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12778 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12779 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12780 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12781 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12782 (idlwave-completion-map, idlwave-current-indent)
12783 (idlwave-custom-ampersand-surround, idlwave-customize)
12784 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12785 (idlwave-define-abbrev, idlwave-determine-class-special)
12786 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12787 (idlwave-end-block-reg, idlwave-end-of-statement)
12788 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12789 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12790 (idlwave-explicit-class-listed, idlwave-file-header)
12791 (idlwave-fill-paragraph, idlwave-find-class-definition)
12792 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12793 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12794 (idlwave-in-quote, idlwave-indent-action-table)
12795 (idlwave-indent-expand-table, idlwave-indent-line)
12796 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12797 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12798 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12799 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12800 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12801 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12802 (idlwave-outlawed-buffers, idlwave-popup-select)
12803 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12804 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12805 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12806 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12807 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12808 (idlwave-statement-type, idlwave-struct-skip)
12809 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12810 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12811 (idlwave-what-module-find-class): Fix typos in docstrings.
12812 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12813 (idlwave-calculate-cont-indent, idlwave-expand-equal)
12814 (idlwave-find-module, idlwave-find-structure-definition)
12815 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12816 (idlwave-list-load-path-shadows, idlwave-next-statement)
12817 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12818 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12819 (idlwave-template): Reflow docstrings.
12821 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12822 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12823 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12824 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12825 (idlwave-shell-display-line, idlwave-shell-display-wframe)
12826 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12827 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12828 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12829 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12830 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12831 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12832 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12833 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12834 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12835 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12836 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12837 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12838 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12839 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12840 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12841 Fix typos in docstrings.
12842 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12843 (idlwave-shell-hide-output, idlwave-shell-mode)
12844 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12847 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12849 2009-09-24 Ivan Kanis <apple@kanis.eu>
12851 * term.el (term-bold-attribute): New var.
12852 (term-handle-colors-array): Use it.
12854 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
12856 * progmodes/gdb-mi.el (gdb-version): New variable.
12857 (gdb-non-stop-handler): Set gdb-version.
12858 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12859 Condition "--thread" option on gdb-version.
12860 (gdb-invalidate-threads): Remove unused argument.
12862 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12864 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12865 to looking-back to avoid ridiculous slow down in large files (bug#4511).
12867 2009-09-23 Glenn Morris <rgm@gnu.org>
12869 * mail/rmail.el (rmail-reply): Don't try to add a References header when
12870 replying to mail without References or Message-Id. (Bug#4525)
12872 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
12874 * term/ns-win.el (ns-reg-to-script): New variable.
12876 2009-09-23 Daiki Ueno <ueno@unixuser.org>
12878 * epg.el (epg-wait-for-status): Preserve existing 'error results.
12880 2009-09-22 Sam Steingold <sds@gnu.org>
12882 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12883 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12884 to 1 because hg returns status 1 when nothing is found.
12885 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12887 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
12889 * textmodes/fill.el: Convert to utf-8 encoding.
12890 (fill-french-nobreak-p): Remove redundant » and « inherited from our
12893 * add-log.el (change-log-fill-forward-paragraph): New function.
12894 (change-log-mode): Use it so fill-region DTRT.
12895 Set fill-indent-according-to-mode here rather than in
12896 change-log-fill-paragraph.
12897 (change-log-fill-paragraph): Remove.
12899 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
12901 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
12902 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
12904 2009-09-22 Glenn Morris <rgm@gnu.org>
12906 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
12907 the scroll-bar scroll the calendar window rather than the buffer.
12909 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
12910 commands that move point (as opposed to scrolling).
12912 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
12914 * emacs-lisp/elint.el (elint): New custom group.
12915 (elint-log-buffer): Make it a defcustom.
12916 (elint-scan-preloaded, elint-ignored-warnings)
12917 (elint-directory-skip-re): New options.
12918 (elint-builtin-variables): Doc fix.
12919 (elint-preloaded-env): New variable.
12920 (elint-unknown-builtin-args): Add an entry for encode-time.
12921 (elint-extra-errors): Make it a variable rather than a constant.
12922 (elint-preloaded-skip-re): New constant.
12923 (elint-directory): Skip files matching elint-directory-skip-re.
12924 (elint-features): New variable, local to linted buffers.
12925 (elint-update-env): Initialize elint-features. Possibly add
12926 elint-preloaded-env to the buffer's environment.
12927 (elint-get-top-forms): Bind elint-current-pos, for log messages.
12929 (elint-init-form): New function, extracted from elint-init-env.
12930 Make non-list forms a warning rather than an error.
12931 Add the mode-map for define-derived-mode. Handle define-minor-mode,
12932 easy-menu-define, put that adds an error-condition, and provide.
12933 When requiring cl, also require cl-macs. Really require cl, to handle
12934 some cl macros. Store required libraries in the list elint-features,
12935 so as not to re-load them. Treat cc-require like require.
12936 (elint-init-env): Call elint-init-form to do the work.
12937 Handle eval-and-compile and such like.
12938 (elint-add-required-env): Do not clear messages.
12939 (elint-special-forms): Add handlers for function, defalias, if, when,
12941 (elint-form): Add optional argument to ignore elint-special-forms,
12942 useful to prevent recursive calls from handlers. Doc fix.
12943 Respect elint-ignored-warnings.
12944 (elint-form): Respect elint-ignored-warnings.
12945 (elint-bound-variable, elint-bound-function): New variables.
12946 (elint-unbound-variable): Respect elint-bound-variable.
12947 (elint-get-args): Respect elint-bound-function.
12948 (elint-check-cond-form): Add some simple handling for (f)boundp and
12950 (elint-check-defalias-form): New handler.
12951 (elint-check-let-form): Make an empty let a warning rather than an
12953 (elint-check-setq-form): Make an empty setq a warning rather than an
12954 error. Respect elint-ignored-warnings.
12955 (elint-check-defvar-form): Accept null doc-strings.
12956 (elint-check-conditional-form): New handler. Does some simple-minded
12957 checking of featurep and (f)boundp tests.
12958 (elint-put-function-args): New function.
12959 (elint-initialize): Use elint-scan-doc-file rather than
12960 elint-find-builtin-variables. Use elint-put-function-args.
12961 Possibly scan preloaded-file-list.
12962 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
12963 extend to handle functions as well.
12965 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
12967 * linum.el (linum-delete-overlays, linum-update-window):
12968 Do not modify the right margin. (Bug#3971)
12970 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
12972 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
12973 nxml-mode instead of xml-mode.
12975 2009-09-21 Kevin Ryde <user42@zip.com.au>
12977 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
12979 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12981 * net/dig.el (dig-mode): Use define-derived-mode.
12983 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
12985 * vc-dispatcher.el (vc-do-command): Return the process object in
12986 the asynchronous case. Use when instead of if. Do not run
12987 vc-exec-after to display a message if not enabled. (Bug#4463)
12989 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
12990 properties to the stash strings.
12991 (vc-git-stash-list): Return a list of strings.
12992 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
12993 (vc-git-stash-show-at-point): New functions.
12994 (vc-git-stash-map): New keymap.
12996 * register.el (ctl-x-r-map): Define the keys here instead of
12999 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13001 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13002 list, to workaround performance problem (bug#4485).
13004 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13006 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13008 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13010 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13011 Document that this option is not recommended to use.
13013 2009-09-19 Glenn Morris <rgm@gnu.org>
13015 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13018 * calc/calc-alg.el (var):
13019 * calc/calcalg2.el (var): Define for compiler.
13021 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13023 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13024 Doc fix (Bug#3932).
13026 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13028 * time-stamp.el (time-stamp-month-dd-yyyy)
13029 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13030 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13031 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13032 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13033 Remove functions that have been obsolete since 1995 (Bug#4436).
13035 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13036 indent buffer only if called interactively (Bug#4452).
13038 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13039 Eli Zaretskii <eliz@gnu.org>
13041 This fixes bug#4197 (merged to bug#865, though not identical).
13042 * server.el (server-auth-dir): Add docstring note about FAT32.
13043 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13044 but warn against using them.
13046 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13048 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13049 older GDB where there is no has_more field.
13051 2009-09-19 Glenn Morris <rgm@gnu.org>
13053 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13055 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13057 * files.el (auto-mode-alist): Change default for XML files to nXML
13060 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13062 * server.el (server-ensure-safe-dir): Pass 'integer
13063 to `file-attributes', as suggested.
13065 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13067 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13068 (dired-query): Use read-key.
13070 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13072 * cus-start.el (ns-use-qd-smoothing): Remove.
13074 2009-09-18 Glenn Morris <rgm@gnu.org>
13076 * allout.el (top-level): Remove unnecessary progn.
13078 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13080 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13081 definition of abbrev table.
13083 * speedbar.el (speedbar-track-mouse):
13084 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13085 * net/eudc.el (eudc-expand-inline):
13086 * net/newst-backend.el (newsticker--cache-read-feed):
13087 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13088 condition-case handlers.
13090 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13092 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13093 (gdb-var-list): Add an element for has_more field.
13094 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13095 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13096 (gdb-var-update-handler-1): Parse output of dynamic variable
13097 objects (STL containers).
13098 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13099 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13101 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13103 (gud-speedbar-buttons): Make node expandable if expression "has more"
13106 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13108 * startup.el (emacs-quick-startup): Remove variable and all uses.
13109 (command-line): Set `inhibit-x-resources' instead.
13110 (command-line-1): Use `inhibit-x-resources' instead.
13112 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13114 * subr.el: Fix last change to avoid using the `unless' macro,
13115 which breaks bootstrapping.
13117 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13119 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13120 extended definitions, in case we reload subr.el after having
13122 (eval-next-after-load): Mark as obsolete.
13124 2009-09-17 Juri Linkov <juri@jurta.org>
13126 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13127 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13128 (menu-bar-showhide-menu, menu-bar-tools-menu)
13129 (menu-bar-describe-menu, menu-bar-help-menu)
13130 (minibuffer-local-completion-map, minibuffer-local-map):
13133 2009-09-17 Glenn Morris <rgm@gnu.org>
13135 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13136 arguments, whether or not it has a handler.
13138 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13140 * simple.el (hard-newline): Give it a doc-string.
13142 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13143 (lisp-mode-syntax-table): Give them doc-strings.
13145 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13147 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13148 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13149 (menu-bar-options-menu, menu-bar-showhide-menu)
13150 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13151 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13152 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13153 (menu-bar-options-menu, menu-bar-tools-menu)
13154 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13155 (menu-bar-help-menu):
13156 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13159 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13160 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13161 calls for the menu names and :help.
13163 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13165 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13166 to :minor-mode-function (bug#4455).
13168 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * startup.el (command-line): Initialize the window-system after
13171 processing the command-line.
13173 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13174 page-delimiter matches the empty string.
13176 2009-09-16 Glenn Morris <rgm@gnu.org>
13178 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13179 byte-compile-not-obsolete-var. It's a list now.
13180 (byte-compile-not-obsolete-funcs): New variable.
13181 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13182 byte-compile-not-obsolete-funcs.
13183 (byte-compile-variable-ref, byte-compile-defvar): Update for
13184 byte-compile-not-obsolete-vars name-change and list nature.
13185 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13186 and variables behind (f)boundp tests.
13187 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13189 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13191 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13193 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13195 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13196 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13199 2009-09-15 Stephen Eglen <stephen@gnu.org>
13201 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13202 the virtual-buffers, use the name of the buffer specified by
13203 find-file-noselect, as the match may be a symlink. (This was a
13204 problem if the target and the symlink had different names.)
13206 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13208 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13210 * desktop.el (desktop-path): Check user-emacs-directory.
13212 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13214 * loadup.el: Use after-load-functions to GC after loading each file.
13215 Remove the explicit GC calls that used to be sprinkled around.
13217 * subr.el (after-load-functions): New hook.
13218 (do-after-load-evaluation): Run it. Use string-match-p to detect
13219 `obsolete' packages, rather than painfully extracting the relevant
13222 2009-09-15 Glenn Morris <rgm@gnu.org>
13224 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13225 free variable `doc'.
13227 * dired.el (dired-mode-map): Add menu entry for async shell command.
13229 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13230 variables, also consider the .elc files, since the .el files are
13231 normally gzipped (subsequent code locates the .el.gz from the .elc).
13233 * calc/calc-prog.el (arglist): Define for compiler.
13235 * calendar/diary-lib.el (diary-display-function): Change the default to
13237 (body): Define for compiler.
13239 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13240 (byte-compile-file-form, byte-compile-lambda)
13241 (byte-compile-top-level-body, byte-compile-form)
13242 (byte-compile-variable-ref, byte-compile-setq)
13243 (byte-compile-setq-default, byte-compile-body)
13244 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13245 (batch-byte-compile): Give some more local variables with common names
13246 a "bytecomp-" prefix to avoid masking warnings about free variables.
13248 * startup.el (command-line-1): Give local variables with common names a
13249 distinguishing prefix, so as not to hide free variable warnings during
13252 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13253 clever and add a suffix to make a unique name, just let the user decide
13254 whether or not to overwrite it. If the input is a directory, write the
13255 default filename to that directory. (Bug#4388)
13256 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13257 is a filename-as-a-directory.
13259 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13261 * textmodes/page.el (what-page): Don't move to beginning of line.
13262 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13264 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13266 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13268 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13270 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13271 * help.el (help-for-help-internal): Add purecopy calls for text.
13273 * vc.el (top): print-log method now takes an optional SHORTLOG
13274 argument. Add a new method: root.
13275 (vc-root-diff, vc-print-root-log): New functions.
13276 (vc-log-short-style): New variable.
13277 (vc-print-log-internal): Add support for showing short logs.
13279 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13280 vc-print-root-log and vc-print-root-diff.
13282 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13283 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13284 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13287 * vc-cvs.el (vc-cvs-print-log):
13288 * vc-mtn.el (vc-mtn-print-log):
13289 * vc-rcs.el (vc-rcs-print-log):
13290 * vc-sccs.el (vc-sccs-print-log):
13291 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13292 that is ignored for now.
13294 * vc-mtn.el (vc-mtn-annotate-command):
13295 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13297 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13299 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13300 to function-key-map, and give them ascii-character property.
13301 * term/x-win.el (x-alternatives-map):
13302 * term/ns-win.el (ns-alternatives-map):
13303 * term/internal.el (msdos-key-remapping-map):
13304 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13306 2009-09-14 Glenn Morris <rgm@gnu.org>
13308 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13309 temp-buffers (2009-09-12).
13311 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13313 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13314 the new read-key function.
13316 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13318 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13319 is defined (Bug#4405).
13321 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13323 * recentf.el (recentf-cleanup): Use a hash table to find
13324 duplicates (Bug#4407).
13326 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13328 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13329 kp-0 to ascii equivalents (Bug#4325).
13331 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13333 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13335 * eshell/em-hist.el:
13336 * eshell/em-dirs.el (eshell-complete-user-reference):
13337 Declare pcomplete functions and variables to avoid compiler warnings.
13339 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13341 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13342 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13343 * eshell/em-alias.el (eshell-aliases-file):
13344 * eshell/em-hist.el (eshell-history-file-name):
13345 Use expand-file-name instead of concat to make file names (Bug#4308).
13347 2009-09-13 Glenn Morris <rgm@gnu.org>
13349 * ediff-merg.el (ediff-do-merge):
13350 * filesets.el (filesets-run-cmd):
13351 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13352 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13353 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13354 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13355 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13356 Replace empty `let's with `progn'.
13358 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13360 * mail/sendmail.el (send-mail-function):
13361 * tooltip.el (tooltip-mode):
13362 * simple.el (transient-mark-mode):
13363 * rfn-eshadow.el (file-name-shadow-mode):
13364 * frame.el (blink-cursor-mode):
13365 * font-core.el (global-font-lock-mode):
13366 * files.el (temporary-file-directory)
13367 (small-temporary-file-directory, auto-save-file-name-transforms):
13368 * epa-hook.el (auto-encryption-mode):
13369 * composite.el (global-auto-composition-mode):
13370 Use custom-initialize-delay.
13371 * startup.el (command-line): Don't explicitly call
13372 custom-reevaluate-setting for all the above vars.
13373 * custom.el (custom-initialize-safe-set)
13374 (custom-initialize-safe-default): Delete.
13376 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13378 * term/x-win.el (x-initialize-window-system):
13379 * term/w32-win.el (w32-initialize-window-system):
13380 * term/ns-win.el (ns-initialize-window-system): Don't call
13381 mouse-wheel-mode since it's enabled globally by default already.
13383 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13384 actually define the variable, but only silences the byte-compiler.
13385 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13386 before looking it up.
13387 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13390 2009-09-12 Glenn Morris <rgm@gnu.org>
13392 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13394 (elint-add-required-env): Don't beep on error.
13395 (elint-forms): In case of error, return ENV unchanged.
13396 (elint-init-env): Skip non-list forms.
13397 (elint-log): Handle unknown file positions.
13399 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13401 * epg.el (epg-make-context): Add autoload cookie.
13402 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13403 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13404 (epg-verify-string, epg-start-sign, epg-sign-file)
13405 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13406 (epg-encrypt-string, epg-start-export-keys)
13407 (epg-export-keys-to-file, epg-export-keys-to-string)
13408 (epg-start-import-keys, epg-import-keys-from-file)
13409 (epg-import-keys-from-string, epg-start-receive-keys)
13410 (epg-receive-keys, epg-import-keys-from-server)
13411 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13412 (epg-sign-keys, epg-start-generate-key)
13413 (epg-generate-key-from-file, epg-generate-key-from-string):
13414 Remove autoload cookie.
13416 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13418 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13419 reevaluation of trash-directory.
13421 * mwheel.el: Fix last change.
13422 (mouse-wheel-mode): New defvar.
13423 (mouse-wheel-mode): Remove autoload cookie.
13425 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * mwheel.el (mwheel-installed-bindings): New var.
13428 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13429 the bindings we set last time. Use custom-initialize-delay.
13430 * loadup.el: Load mwheel after term/*-win.el.
13431 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13432 and mouse-wheel-up-event now that their first evaluation is done
13433 sufficiently late to be correct.
13435 * startup.el (tutorial-directory): Make it a defcustom.
13436 Use custom-initialize-delay rather than eval-at-startup to set it.
13437 * image.el (image-load-path): Make it a defcustom.
13438 Use custom-initialize-delay rather than eval-at-startup to set it.
13439 * subr.el (eval-at-startup): Remove.
13440 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13442 * subr.el (do-after-load-evaluation): Warn the user after loading an
13445 2009-09-12 Glenn Morris <rgm@gnu.org>
13447 * proced.el (proced-mark-alt): Remove alias.
13448 (proced-mode-map): Remove proced-mark-alt.
13450 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13451 Elint file and directory. Remove initialization entry.
13453 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13455 (elint-current-buffer): Set mode-line-process.
13456 (elint-init-env): Handle define-derived-mode.
13457 Fix declare-function with unspecified arglist. Guard against odd
13458 defalias statements (eg iso-insert's 8859-1-map).
13459 (elint-add-required-env): Use a temp buffer.
13460 (elint-form): Just print the function/macro name, not the whole form.
13461 Return env unchanged if we fail to parse a macro.
13462 (elint-forms): Guard against parse errors.
13463 (elint-output): New function, to handle batch mode.
13464 (elint-log-message): Add optional argument. Use elint-output.
13465 (elint-set-mode-line): New function.
13467 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
13469 * emacs-lisp/elp.el (elp-not-profilable): Add more
13470 functions (Bug#4233).
13472 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
13474 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13475 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13477 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13479 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13480 (gdb-var-list-children): Use json parsing.
13482 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
13484 * progmodes/js.el (js--proper-indentation): Handle the case where
13485 char-before is null. Reported by Deniz Dogan.
13487 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13489 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13491 2009-09-11 Daiki Ueno <ueno@unixuser.org>
13493 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13494 (epg-digest-algorithm-alist): Add SHA224.
13495 (epg-context-set-passphrase-callback)
13496 (epg-context-set-progress-callback): Add description about
13499 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13501 * custom.el (custom-delayed-init-variables): New var.
13502 (custom-initialize-delay): New function.
13503 * startup.el (command-line): "Re"evaluate all vars in
13504 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
13505 explicitly any more.
13506 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13507 to avoid creating a ~/.emacs.d at build-time (bug#4347).
13509 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13511 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13513 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13514 (gdb-var-update-handler): Use json parsing.
13516 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13518 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13519 decode annotated text, regardless of language environment. (Bug#2741)
13521 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13523 * Makefile.in (autoloads): Make rmail.el writable as well.
13525 2009-09-11 Glenn Morris <rgm@gnu.org>
13527 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13529 * dired.el: Regenerate with extracted autoloads.
13530 * Makefile.in (autoloads): Make dired.el writable.
13532 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13533 * ibuffer.el: Regenerate with extracted autoloads.
13534 * Makefile.in (autoloads): Make ibuffer.el writable.
13536 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13537 * version.el (emacs-copyright, emacs-major-version)
13538 (emacs-minor-version): Reformat doc-strings for make-docfile.
13540 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13541 functions and variables, since they must be stuff specific to some other
13543 (apropos-print): Make mouse-click message less specific about button.
13545 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13546 that records where a macro was defined.
13547 * help-fns.el (describe-function-1): Mention if a function has a
13549 * help-mode.el (help-function-cmacro): New button.
13551 * locate.el (top-level): Always require dired.
13552 (locate-mode-map): Initialize inside the defvar.
13554 * net/ange-ftp.el (dired-compress-file): Declare.
13555 (ange-ftp-dired-compress-file): Add doc string.
13557 * term/ns-win.el (x-display-name, x-setup-function-keys):
13558 Unify doc-strings with X versions.
13560 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * emulation/crisp.el (crisp-mode-map): Move initialization
13564 (crisp-mode): Use define-minor-mode.
13566 * progmodes/xscheme.el (xscheme-evaluation-commands):
13567 Put a :advertised-binding property rather than using
13568 advertised-xscheme-send-previous-expression.
13569 (advertised-xscheme-send-previous-expression): Declare obsolete.
13570 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13572 (crisp-mode): Add corresponding bindings to
13573 undo's :advertised-binding instead.
13574 * dired.el (dired-mode-map): Put a :advertised-binding property rather
13575 than using dired-advertised-find-file.
13576 (dired-advertised-find-file):
13577 * simple.el (advertised-undo):
13578 * wid-edit.el (advertised-widget-backward): Declare obsolete.
13579 (widget-keymap): Put a :advertised-binding property rather
13580 than using advertised-widget-backward.
13581 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13582 than using advertised-undo.
13583 * tutorial.el (tutorial--default-keys): Adjust accordingly.
13585 2009-09-10 Simon South <ssouth@slowcomputing.org>
13587 * progmodes/delphi.el (delphi-tab): Indent region when Transient
13588 Mark mode is enabled and region is active; otherwise indent or
13589 insert TAB as usual.
13590 (delphi-mode): Update description of TAB-key binding.
13592 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13594 * subr.el (define-key-rebound-commands): Mark obsolete.
13595 * startup.el (precompute-menubar-bindings): Remove.
13596 (normal-top-level): Remove obsolete code that tried to precompute
13598 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13599 define-key-rebound-commands and precompute-menubar-bindings.
13601 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
13603 * net/imap.el (imap-interactive-login): Better messages.
13604 (imap-open): Fix bug with renamed buffer on reconnect.
13605 (imap-authenticate): Add buffer-local imap-last-authenticator variable
13606 for easier debugging and cleaner code. On successful (guessed based on
13607 server capabilities) secondary authentication, set imap-state
13609 (imap-last-authenticator): Define imap-last-authenticator as a variable
13612 2009-09-10 Glenn Morris <rgm@gnu.org>
13614 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13616 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13617 (byte-compile-file-form-autoload): Don't warn about unknown functions
13618 where the autoload statement comes after the use.
13619 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13620 that any handlers inside the body (eg require) are in turn respected.
13622 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13625 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13626 and syntax and abbrev tables basic docs, if they don't have any.
13628 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13630 * international/mule-cmds.el (top-level): Require cl when compiling.
13631 (view-hello-file): Use default-value rather than
13632 default-enable-multibyte-characters.
13634 * progmodes/fortran.el: Move all safe and risky properties into the
13637 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13638 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13639 * mail/undigest.el:
13640 Put autoloads in rmail.el rather than loaddefs.el.
13641 * mail/rmail.el: Regenerate with extracted autoloads.
13643 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13644 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13646 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
13648 Reported in thread for Bug#4375.
13649 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13650 "-data-evaluate-expression" instead of print.
13651 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13652 (gdb-tooltip-print): Parse output from above MI command.
13653 (gdb): Revert 2009-08-11 change. User should detach inferior
13656 Remove the word "separate" from IO functions as inferior
13657 output is now never displayed in the GUD buffer.
13659 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
13661 * startup.el (command-line-normalize-file-name): On Windows and
13662 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13664 2009-09-10 Juri Linkov <juri@jurta.org>
13666 * isearch.el (isearch-text-char-description): Propertize escape
13667 character sequences with the `escape-glyph' face. (Bug#4344)
13669 * simple.el (shell-command): Set asynchronous process filter to
13670 `comint-output-filter'. (Bug#4343)
13672 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13673 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
13674 the list. Move "asm" to the bottom.
13675 (grep-find-ignored-directories): Add `choice' with nil value
13676 to empty the list easily.
13677 (grep-find-ignored-files): New option.
13678 (grep-files-history): Set to nil by default instead of '("ch" "el").
13679 (grep-compute-defaults): Add "<X>" to `grep-template'.
13680 (grep-read-files): Bind new local variables `default-alias' and
13681 `default-extension'. Use a list of default values for the file prompt.
13682 (lgrep): Add `--exclude=' command line options composed from
13683 `grep-find-ignored-files'.
13684 (rgrep): Add `-name' command line options composed from
13685 `grep-find-ignored-files'. (Bug#4301)
13687 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13689 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13692 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
13694 * calendar/time-date.el (autoload):
13695 Expand define-obsolete-function-alias into defalias and make-obsolete
13696 for old Emacsen that Gnus supports.
13697 (with-no-warnings): Define it for old Emacsen.
13698 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13700 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13701 float-time is available; suppress compile warning for time-to-seconds.
13703 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
13705 * net/imap.el (imap-message-map): Docstring fix.
13707 2009-09-09 Glenn Morris <rgm@gnu.org>
13709 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13710 line numbers too. (Bug#4374)
13712 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
13714 * smerge-mode.el (smerge-remove-props, smerge-refine):
13715 Use with-silent-modifications (bug#4342).
13717 * subr.el (with-silent-modifications): New macro.
13719 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
13721 * files.el (top-level): Require `cl' when compiling.
13723 2009-09-07 Glenn Morris <rgm@gnu.org>
13725 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13727 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13728 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
13730 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
13732 * vc-git.el (vc-git-annotate-command): Use separator to parse
13733 arguments correctly.
13735 2009-09-06 Eli Zaretskii <eliz@gnu.org>
13737 * proced.el (proced-mode): Doc fix.
13739 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
13741 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13743 (tramp-do-file-attributes-with-ls): Check for file existence at
13745 (tramp-do-file-attributes-with-stat): Likewise.
13746 (tramp-convert-file-attributes): Return nil when attr is nil.
13748 2009-09-05 Glenn Morris <rgm@gnu.org>
13750 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13751 properties to this button.
13752 (diary-fancy-display): Don't extend the button to the final newline.
13753 (diary-fancy-display-mode): Continue to define "q" as a local key.
13755 * calendar/cal-china.el (holiday-chinese): Make it slightly more
13758 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13760 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13761 (byte-compile-dest-file-function): New option.
13762 (byte-compile-dest-file): Doc fix.
13763 Obey byte-compile-dest-file-function.
13764 (byte-compile-cl-file-p): New function.
13765 (byte-compile-eval): Only suppress noruntime warnings about cl functions
13766 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
13767 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13768 than for file being previously loaded.
13769 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13770 (byte-compile-file-form-require): Handle the case where requiring a file
13771 indirectly causes CL to be loaded.
13773 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13775 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13776 before killing the old buffer, since by the time `kill-buffer' is
13777 run so many buffer variables have been set to nil that it may not
13778 behave as expected. (Bug#4061)
13780 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13782 * files.el (find-alternate-file): If the old buffer is modified
13783 and visiting a file, behave similarly to `kill-buffer' when
13784 killing it, thus reverting to the pre-1.878 behavior; see
13785 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13786 for discussion. Also, consult `buffer-file-name' as a variable
13787 not as a function, for consistency with the rest of the code.
13789 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
13791 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13792 also when adding a new directory.
13794 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13797 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
13799 * files.el (locate-file-completion-table): Make it provide boundary
13800 information, so partial-completion works better.
13802 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
13804 * mail/footnote.el (Footnote-text-under-cursor):
13805 Check footnote-text-marker-alist before using it (bug#4324).
13807 2009-09-04 Glenn Morris <rgm@gnu.org>
13809 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13810 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13811 * play/solitaire.el, play/tetris.el:
13812 Remove leading * from defcustom and defface docs.
13814 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13816 (diary-fancy-overriding-map): New variable.
13817 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13820 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13823 2009-09-03 Glenn Morris <rgm@gnu.org>
13825 * arc-mode.el (archive-mode):
13826 * dos-fns.el (set-default-process-coding-system):
13827 * man.el (Man-getpage-in-background):
13828 * menu-bar.el (menu-bar-describe-menu):
13829 * server.el (server-process-filter):
13830 * startup.el (command-line):
13831 * tar-mode.el (tar-header-block-tokenize, tar-extract):
13832 * w32-fns.el (set-default-process-coding-system):
13833 * x-dnd.el (x-dnd-handle-file-name):
13834 * international/mule-cmds.el (mule-menu-keymap)
13835 (set-default-coding-systems, language-info-alist, set-language-info)
13836 (set-language-environment, standard-display-european-internal)
13837 (set-locale-environment):
13838 * international/mule-diag.el (mule-diag):
13839 * mail/emacsbug.el (report-emacs-bug):
13840 * mail/rmail.el (rmail-mode):
13841 * mail/sendmail.el (mail-setup):
13842 Use default-value rather than default-enable-multibyte-characters.
13844 * progmodes/f90.el: Move all safe properties into the defcustoms.
13845 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13847 * calendar/appt.el (appt-check):
13848 * calendar/diary-lib.el (diary-set-header, diary-live-p)
13849 (diary-check-diary-file, diary-list-entries)
13850 (diary-include-other-diary-files, diary-simple-display)
13851 (diary-fancy-display, diary-print-entries)
13852 (diary-mark-included-diary-files, diary-make-entry):
13853 Don't call substitute-in-file-name on diary-file.
13855 2009-09-03 Eduard Wiebe <usenet@pusto.de>
13856 Stefan Monnier <monnier@iro.umontreal.ca>
13858 * mail/footnote.el (footnote-prefix): Make it a defcustom.
13859 (footnote-mode-map): Move initialization into the declaration.
13860 (footnote-minor-mode-map): Define it rather than changing global-map.
13861 (footnote-mode): Use define-minor-mode.
13863 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
13865 * net/tramp.el (tramp-handle-file-attributes-with-ls)
13866 (tramp-do-file-attributes-with-perl)
13867 (tramp-do-file-attributes-with-stat): Rename from
13868 `tramp-handle-file-attributes-with-*'.
13869 (tramp-handle-file-attributes): Use them.
13870 (tramp-do-directory-files-and-attributes-with-perl)
13871 (tramp-do-directory-files-and-attributes-with-stat): Rename from
13872 `tramp-handle-directory-files-and-attributes-with-*'.
13873 (tramp-handle-directory-files-and-attributes): Use them.
13874 (tramp-method-out-of-band-p): Additional parameter SIZE.
13875 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13876 (tramp-handle-write-region): Use it.
13877 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13878 (tramp-handle-vc-registered): Check, whether the first run did
13879 return files to be tested.
13880 (tramp-advice-make-auto-save-file-name): Do not call directly
13881 `tramp-handle-make-auto-save-file-name', because this would bypass
13882 the locking mechanism.
13884 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13885 (file-remote-p, process-file, start-file-process, set-file-times)
13886 (tramp-compat-file-attributes): Compatibility functions shall not
13887 call directly `tramp-handle-*', because this would bypass the
13889 (tramp-compat-number-sequence): New defun.
13891 2009-09-02 Glenn Morris <rgm@gnu.org>
13893 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
13894 alias for float-time.
13895 (time-to-number-of-days): In Emacs, use float-time.
13896 * net/newst-backend.el (time-add): Suppress warnings from compat
13898 * time.el (emacs-uptime, emacs-init-time):
13899 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
13900 Use float-time rather than time-to-seconds.
13902 * minibuffer.el (completion-initials-expand): Fix typo.
13904 * faces.el (modeline, modeline-inactive, modeline-highlight)
13905 (modeline-buffer-id):
13906 * info.el (info-menu-5): Mark these face aliases as obsolete.
13908 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13910 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
13912 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
13913 no "--thread" option.
13914 (gdb-stopped): Don't print "Switched to thread" message when it is
13917 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
13919 * minibuffer.el (completion-try-completion)
13920 (completion-all-completions): Remove ill-defined (and
13921 mistakenly installed and luckily never used nor documented)
13922 `completion-styles' property.
13923 (completion-initials-expand, completion-initials-all-completions)
13924 (completion-initials-try-completion): New functions.
13925 (completion-styles-alist): Add doc to each entry.
13926 Add new `initials' entry.
13928 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13930 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
13931 MI command -var-evaluate-expression.
13932 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
13933 and tweak for case of string child.
13934 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
13936 2009-09-01 Glenn Morris <rgm@gnu.org>
13938 * add-log.el (change-log-date-face, change-log-name-face)
13939 (change-log-email-face, change-log-file-face, change-log-list-face)
13940 (change-log-conditionals-face, change-log-function-face)
13941 (change-log-acknowledgement-face):
13942 * cus-edit.el (custom-invalid-face, custom-rogue-face)
13943 (custom-modified-face, custom-set-face, custom-changed-face)
13944 (custom-saved-face, custom-button-face, custom-button-pressed-face)
13945 (custom-documentation-face, custom-state-face, custom-comment-face)
13946 (custom-comment-tag-face, custom-variable-tag-face)
13947 (custom-variable-button-face, custom-face-tag-face)
13948 (custom-group-tag-face-1, custom-group-tag-face):
13949 * diff-mode.el (diff-header-face, diff-file-header-face)
13950 (diff-index-face, diff-hunk-header-face, diff-removed-face)
13951 (diff-added-face, diff-changed-face, diff-function-face)
13952 (diff-context-face, diff-nonexistent-face):
13953 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
13954 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
13955 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
13956 (Info-title-4-face):
13957 * isearch.el (isearch-lazy-highlight-face):
13958 * log-view.el (log-view-file-face, log-view-message-face):
13959 * paren.el (show-paren-match-face, show-paren-mismatch-face):
13960 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
13961 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
13963 * smerge-mode.el (smerge-mine-face, smerge-other-face)
13964 (smerge-base-face, smerge-markers-face):
13965 * wid-edit.el (widget-documentation-face, widget-button-face)
13966 (widget-field-face, widget-single-line-field-face)
13967 (widget-inactive-face, widget-button-pressed-face):
13968 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
13969 (woman-addition-face):
13970 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
13971 (eshell-ls-executable-face, eshell-ls-readonly-face)
13972 (eshell-ls-unreadable-face, eshell-ls-special-face)
13973 (eshell-ls-missing-face, eshell-ls-archive-face)
13974 (eshell-ls-backup-face, eshell-ls-product-face)
13975 (eshell-ls-clutter-face):
13976 * eshell/em-prompt.el (eshell-prompt-face):
13977 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
13978 * obsolete/old-whitespace.el (whitespace-highlight-face):
13979 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
13980 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
13981 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
13982 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
13983 (antlr-font-lock-literal-face):
13984 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
13985 (ebrowse-root-class-face, ebrowse-file-name-face)
13986 (ebrowse-default-face, ebrowse-member-attribute-face)
13987 (ebrowse-member-class-face, ebrowse-progress-face):
13988 * progmodes/make-mode.el (makefile-space-face):
13989 * progmodes/sh-script.el (sh-heredoc-face):
13990 * textmodes/flyspell.el (flyspell-incorrect-face)
13991 (flyspell-duplicate-face):
13992 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
13993 * textmodes/texinfo.el (texinfo-heading-face):
13994 Mark face aliases with "-face" suffix as obsolete.
13996 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
13999 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14000 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14001 easy-menu-define wants to modify these.
14003 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14005 * net/browse-url.el (browse-url-file-url):
14006 * term/internal.el (dos-codepage-setup):
14007 Use default-value rather than default-enable-multibyte-characters.
14009 * progmodes/etags.el (etags-goto-tag-location):
14010 * progmodes/flymake.el (flymake-highlight-line)
14011 (flymake-goto-file-and-line, flymake-goto-line):
14012 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14013 (gdb-goto-breakpoint):
14014 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14015 * progmodes/python.el (python-find-function)
14016 (python-pdbtrack-track-stack-file):
14017 * progmodes/verilog-mode.el (verilog-surelint-off):
14018 * term/ns-win.el (ns-open-file-select-line):
14019 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14020 Use forward-line rather than goto-line.
14022 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14023 * textmodes/reftex-index.el (reftex-display-index):
14024 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14025 * textmodes/reftex-toc.el (reftex-toc):
14026 Remove unnecessary bindings of default-major-mode (all are followed by
14027 major-mode check and possible mode switch).
14029 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14031 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14032 Handle watchpoints (bug#4282).
14033 (def-gdb-thread-buffer-command): Enable thread to be selected by
14034 clicking without selecting threads buffer first.
14035 (gdb-current-context-command): Use selected frame so that "up",
14036 "down" etc work in the GUD buffer.
14037 (gdb-update): Find selected frame before rendering stack buffer.
14038 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14040 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14042 * progmodes/sym-comp.el (displayed-completions): Remove.
14043 (symbol-complete): Use minibuffer-complete.
14045 2009-08-31 Glenn Morris <rgm@gnu.org>
14047 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14049 * apropos.el (apropos-symbols-internal):
14050 Handle (obsolete) face aliases.
14052 * faces.el (describe-face): Adjust the output format to be more like
14053 describe-variable, and to mention (obsolete) face aliases.
14054 Adjust the whitespace so that help-setup-xref works.
14056 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14057 * calendar/diary-lib.el (diary-button-face):
14058 Mark these face aliases as obsolete.
14060 * calendar/calendar.el (calendar-today): Doc fix.
14062 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14064 * progmodes/gdb-mi.el (gdb-control-all-threads)
14065 (gdb-control-current-thread): Force tool bar update.
14066 (gdb-non-stop-handler): New function.
14067 (gdb-init-1): Use it to test if non-stop mode is supported.
14068 Remove unused gdbmi buffer type.
14070 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14072 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14073 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14075 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14077 * comint.el (comint-exec-1): Check command is non-null first.
14078 Part of gdb-mi.el change (2009-08-28).
14080 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14082 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14084 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14086 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14087 instead of `dolist' to avoid a recursive require when bootstrapping.
14089 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14091 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14093 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14095 * net/imap.el (imap-send-command): Simplify.
14096 (imap-wait-for-tag): point-max -> buffer-size.
14098 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14100 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14101 with constant argument.
14103 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14105 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14107 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14108 Change default, since most of our files don't have a history.
14109 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14112 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14115 * calc/calc.el: Improve commenting convention.
14116 (calc-digit-map, toplevel): Simplify.
14118 * comint.el (comint-insert-input): Be careful to only set point if we
14119 don't delegate to some other command.
14121 * proced.el (proced-signal-list): Make it an alist.
14122 (proced-grammar-alist): Capitalize names.
14123 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14124 Disable undo manually and make it read-only.
14125 Use completion-annotate-function.
14127 * minibuffer.el (minibuffer-message): If the current buffer is not
14128 a minibuffer, insert the message in the echo area rather than at the
14130 (completion-annotate-function): New variable.
14131 (minibuffer-completion-help): Use it.
14132 (completion--embedded-envvar-table): Environment vars are
14133 always case-sensitive.
14135 2009-08-30 Glenn Morris <rgm@gnu.org>
14137 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14138 from fortran-current-defun.
14139 (fortran-beginning-of-subprogram): Be more precise about finding the
14140 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14141 (fortran-end-of-subprogram): Simplify.
14142 (fortran-current-defun): Use fortran-start-prog-re.
14144 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14146 * subr.el (do-after-load-evaluation): Simplify.
14148 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14150 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14152 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14153 (vc-rcs-print-log): Use it.
14155 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14157 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14159 * paths.el (abbrev-file-name): Move to abbrev.el.
14160 * abbrev.el (abbrev-file-name): Move from paths.el.
14161 Obey user-emacs-directory.
14162 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14163 user-emacs-directory.
14164 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14165 abbrev-file-name and calc-settings-file any more.
14166 * startup.el (command-line): Recompute abbrev-file-name and
14167 abbreviated-home-dir.
14168 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14169 of the special code for when C-h bindings haven't been changed.
14170 (display-startup-echo-area-message): Use with-current-buffer.
14171 (command-line-1): Use a list of strings, rather than a list of lists
14172 of strings for longopts.
14174 * files.el (get-free-disk-space): Use / for default-directory.
14176 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14177 Use with-current-buffer.
14179 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14180 Recognize immutable variables like most-positive-fixnum.
14181 (byte-compile-setq-default): Check and warn if trying to assign
14182 to an immutable variable, or a non-variable.
14184 * progmodes/cc-vars.el (c-comment-continuation-stars):
14185 * progmodes/cc-engine.el (c-looking-at-bos):
14186 * progmodes/cc-cmds.el (c-toggle-auto-state)
14187 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14188 (c-comment-line-break-function): Add version of obsolescence.
14190 2009-08-28 Juri Linkov <juri@jurta.org>
14192 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14193 associated with `archive-mode'.
14195 * image.el (image-type-header-regexps): Use only JPEG magic number
14196 to determine JPEG images, and don't use `image-jpeg-p' because
14197 Emacs can display non-JFIF non-Exif JPEG images.
14199 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14201 * arc-mode.el (archive-mode):
14202 * emacs-lisp/re-builder.el (re-builder-unload-function):
14203 Protect against the default value of `major-mode' being nil.
14205 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14207 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14208 Fix typos in docstrings.
14210 * progmodes/js.el (js--macro-decl-re): Doc fix.
14211 (js--plain-method-re, js--split-name): Refloc docstring.
14212 (js--class-styles, js--make-merged-item, js--splice-into-items):
14213 Fix typos in docstrings; reflow docstrings.
14214 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14215 (js--variable-decl-matcher, js--inside-pitem-p)
14216 (js--parse-state-at-point, js--get-all-known-symbols)
14217 (js--symbol-history, js-find-symbol, js--js-references)
14218 (js--moz-interactor, js--js-encode-value, js--read-tab):
14219 Fix typos in docstrings.
14221 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14223 * textmodes/reftex.el (reftex-get-file-buffer-force):
14224 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14225 * emulation/viper.el (viper-go-away, viper-set-hooks):
14226 * emacs-lisp/re-builder.el (re-builder-unload-function):
14227 * emacs-lisp/bytecomp.el (byte-compile-file):
14228 * ses.el (ses-unload-function):
14229 * hexl.el (hexl-find-file):
14230 * files.el (normal-mode):
14231 * ehelp.el (with-electric-help):
14232 * autoinsert.el (auto-insert-alist):
14233 * arc-mode.el (archive-mode):
14234 Use (default-value 'major-mode) instead of default-major-mode.
14236 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14237 * international/mule.el (load-with-code-conversion):
14238 * emacs-lisp/debug.el (debug):
14239 * ediff-vers.el (ediff-rcs-get-output-buffer):
14240 * dired.el (dired-internal-noselect): Don't let-bind
14241 default-major-mode around code that doesn't use it.
14242 E.g. buffer creation via get-buffer-create doesn't use it.
14244 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14246 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14247 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14248 when writing the temp file. Otherwise, epa-file gets confused.
14249 (tramp-register-file-name-handlers): Make it a defun. Move also
14250 `epa-file-handler' to the front of `file-name-handler-alist'.
14252 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14254 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14255 start right after a ^M.
14256 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14257 (tramp-completion-file-name-regexp-separate)
14258 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14259 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14260 Don't modify last-coding-system-used by accident.
14261 (tramp-completion-file-name-handler): Apply the checks here,
14262 instead during registration.
14263 (tramp-register-file-name-handlers): Renamed from
14264 `tramp-register-file-name-handler'. Register both
14265 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14266 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14268 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14270 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14271 Remove variable ...
14272 (gdb-init-1, gdb-display-separate-io-buffer)
14273 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14275 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14276 (gdb-inferior-filter): Use comint-output-filter to stop
14277 echoing and remove ^M characters.
14279 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14281 * emulation/viper-init.el (viper-restore-cursor-type):
14282 * emulation/cua-base.el (cua--update-indications):
14283 Replace default-cursor-type with (default-value 'cursor-type).
14285 * mail/sendmail.el (mail-recover-1):
14286 * international/mule-diag.el (describe-current-coding-system-briefly)
14287 (describe-current-coding-system):
14288 * international/mule-cmds.el (select-safe-coding-system)
14289 (select-message-coding-system)
14290 (set-language-environment-coding-systems, set-locale-environment):
14291 * hexl.el (hexl-insert-multibyte-char):
14292 * dos-w32.el (find-buffer-file-type-coding-system):
14293 * simple.el (what-cursor-position):
14294 Replace uses of default-buffer-file-coding-system
14295 with (default-value 'buffer-file-coding-system).
14297 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14298 Replace uses of default-cursor-in-non-selected-windows
14299 with (default-value 'cursor-in-non-selected-windows).
14300 Use with-current-buffer.
14302 * mail/feedmail.el: Use CL macros.
14303 (feedmail-run-the-queue, feedmail-send-it-immediately):
14304 * dos-w32.el (find-buffer-file-type): Replace uses of
14305 default-buffer-file-type with (default-value 'buffer-file-type).
14307 2009-08-28 Glenn Morris <rgm@gnu.org>
14309 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14310 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14311 Use default-value of major-mode rather than default-major-mode.
14313 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14315 * Makefile.in (update-elcfiles): Report left over elc files.
14317 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14318 expand-file-name and with-current-buffer.
14319 (mail-get-names, mail-directory): Use with-current-buffer.
14321 * vc.el (vc-read-revision): New function.
14322 (vc-version-diff, vc-merge): Use it.
14324 2009-08-27 Sam Steingold <sds@gnu.org>
14326 * simple.el (kill-do-not-save-duplicates): New user option.
14327 (kill-new): When it is non-nil, and the new string is the same as
14328 the latest kill, set replace to t to avoid duplicates in kill-ring.
14330 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14332 * net/tramp.el (tramp-handle-process-file): Do not flush all
14333 caches when `process-file-side-effects' is set.
14334 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14335 instead of `tramp-find-file-exists-command'.
14336 Unset `process-file-side-effects'.
14338 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14340 * net/tramp.el (tramp-methods): New method "rsyncc".
14341 (top): Add completion function for "rsyncc".
14342 (tramp-message-show-message): New defvar.
14343 (tramp-message, tramp-error): Use it.
14344 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14346 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14347 `tramp-methods' entry `copy-env' of "rsyncc".
14348 (tramp-vc-registered-read-file-names): New defconst.
14349 (tramp-vc-registered-file-names): New defvar.
14350 (tramp-handle-vc-registered): Implement optimization strategy.
14351 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14352 (tramp-vc-file-name-handler): New defun.
14353 (tramp-get-ls-command, tramp-get-test-command)
14354 (tramp-get-file-exists-command, tramp-get-remote-ln)
14355 (tramp-get-remote-perl, tramp-get-remote-stat)
14356 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14358 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14359 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14361 (tramp-get-file-property): Check for timestamps in
14362 `tramp-cache-inhibit-cache'.
14363 (tramp-set-file-property): Write timestamp.
14365 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14367 * language/japan-util.el (japanese-symbol-table): Add entries for
14370 * international/characters.el: Add category `j' to cp932-2-byte.
14372 2009-08-27 Kenichi Handa <handa@m17n.org>
14374 * international/fontset.el (build-default-fontset-data): New macro.
14375 (setup-default-fontset): Use build-default-fontset-data for CJK,
14376 tibetan, ethiopic, and ipa.
14378 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14380 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14381 (enable-multibyte-characters): Not customizable any more.
14383 * subr.el (default-mode-line-format, default-header-line-format)
14384 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14385 (default-direction-reversed, default-truncate-lines)
14386 (default-left-margin, default-tab-width, default-case-fold-search)
14387 (default-left-margin-width, default-right-margin-width)
14388 (default-left-fringe-width, default-right-fringe-width)
14389 (default-fringes-outside-margins, default-scroll-bar-width)
14390 (default-vertical-scroll-bar, default-indicate-empty-lines)
14391 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14392 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14393 (default-scroll-down-aggressively, default-fill-column)
14394 (default-cursor-type, default-buffer-file-type)
14395 (default-cursor-in-non-selected-windows)
14396 (default-buffer-file-coding-system, default-major-mode)
14397 (default-enable-multibyte-characters): Mark as obsolete.
14399 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14401 * vc-dir.el (vc-dir-update): Remove debug helper.
14403 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14405 2009-08-26 Sam Steingold <sds@gnu.org>
14407 * simple.el (save-interprogram-paste-before-kill): New user option.
14408 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14409 save the interprogram-paste into kill-ring before overriding it
14410 with the Emacs kill.
14412 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14414 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14415 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14416 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14417 and move to vc-rcs.el.
14418 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14420 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14421 (vc-rcs-update-changelog): Remove.
14422 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14423 and move to vc-rcs.el.
14425 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14426 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14428 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14429 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14430 vc.el, renamed to be RCS specific.
14432 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14434 (vc-cvs-update-changelog): Move here from vc.el.
14436 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14439 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
14441 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14443 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14445 * vc-git.el (vc-git-register): Use "git add" for directories.
14446 (vc-git-stash, vc-git-stash-show): New functions.
14447 (vc-git-extra-menu-map): Bind them.
14449 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14450 directory correctly in case the item is a directory itself.
14452 * vc.el: Document the desired behavior for reverted files in the
14454 (vc-default-prettify-state-info): Remove function, unused.
14456 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14458 2009-08-26 Glenn Morris <rgm@gnu.org>
14460 * bindings.el (standard-mode-line-format): Reposition dashes in
14461 which-func entry. (Bug#4217)
14463 * files.el (enable-local-variables, enable-local-eval)
14464 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14466 (auto-mode-alist, ignored-local-variables)
14467 (save-some-buffers-action-alist): Move risky declarations to the
14469 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14470 (font-lock-defaults, format-alist, imenu--index-alist)
14471 (imenu-generic-expression, input-method-alist, minor-mode-alist)
14472 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14473 (mode-line-modified, mode-line-mule-info, mode-line-position)
14474 (mode-line-process, mode-line-remote, outline-level)
14475 (parse-time-rules, rmail-output-file-alist)
14476 (special-display-buffer-names, vc-mode):
14477 Move risky declarations to the relevant files.
14478 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14479 (mode-line-modified, mode-line-process, mode-line-position)
14480 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14481 * font-core.el (font-lock-defaults):
14482 * format.el (format-alist):
14483 * vc-hooks.el (vc-mode):
14484 * window.el (special-display-buffer-names):
14485 * international/mule-cmds.el (input-method-alist):
14486 Define riskiness here (dumped file) rather than in files.el.
14487 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14488 * imenu.el (imenu-generic-expression, imenu--index-alist):
14489 * outline.el (outline-level):
14490 * time.el (display-time-string):
14491 * calendar/parse-time.el (parse-time-rules):
14492 * mail/rmailout.el (rmail-output-file-alist):
14493 Autoload riskiness here, rather than placing in files.el.
14495 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
14497 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14499 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
14501 * simple.el (process-file-side-effects): New defvar.
14503 * dired-aux.el (dired-show-file-type):
14504 * vc.el (vc-diff-internal):
14505 * vc-arch.el (vc-arch-diff):
14506 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14507 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14508 * vc-git.el (vc-git-registered, vc-git-working-revision)
14509 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14510 (vc-git--empty-db-p):
14511 * vc-hooks.el (vc-user-login-name):
14512 * vc-svn.el (vc-svn-registered, vc-svn-state)
14513 (vc-svn-dir-extra-headers, vc-svn-find-revision):
14514 * progmodes/grep.el (grep-probe): Let-bind
14515 `process-file-side-effects' with nil.
14517 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14519 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14520 daemon. Replace ping by checking for running service for bluez
14521 and zeroconf. (Bug#4239)
14523 2009-08-25 Kevin Ryde <user42@zip.com.au>
14525 * net/dig.el (dig): Add autoload cookie.
14527 2009-08-25 Glenn Morris <rgm@gnu.org>
14529 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14530 load-history for absolute file-names.
14531 (byte-compile-file-form-require): Warn about use of the cl package.
14533 * format.el (format-alist): Doc fix.
14535 * play/bubbles.el (top-level): Don't require cl at run-time.
14537 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14540 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
14542 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14544 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14546 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
14548 * calc/calc-alg.el (math-trig-rewrite)
14549 (math-hyperbolic-trig-rewrite): New functions.
14550 (calc-simplify): Simplify trig functions when asked.
14552 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14554 * diff-mode.el (diff-find-source-location): Avoid goto-line.
14556 2009-08-24 Kenichi Handa <handa@m17n.org>
14558 * language/ind-util.el (mapthread): Delete it.
14559 (combinatorial): New function.
14560 (indian--puthash-cv): Use combinatorial instead of mapthread.
14562 2009-08-22 Kevin Ryde <user42@zip.com.au>
14564 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14565 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14566 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14567 Clarify docstring that the value is strings not symbols.
14568 (checkdoc-list-of-strings-p): New function.
14570 2009-08-22 Glenn Morris <rgm@gnu.org>
14572 * files.el (auto-mode-alist):
14573 * hippie-exp.el (he-concat-directory-file-name):
14574 * lpr.el (lpr-windows-system, printer-name):
14575 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14576 * ps-print.el (ps-windows-system):
14577 * startup.el (command-line):
14578 * emulation/viper-ex.el (viper-glob-function):
14579 * international/mule-cmds.el (set-language-environment-coding-systems):
14580 * net/ange-ftp.el (ange-ftp-write-region):
14581 * obsolete/fast-lock.el (fast-lock-cache-name):
14582 Remove code for defunct system-types emx, macos, mswindows, next-mach,
14583 unisoft-unix, vax-vms, win32, w32.
14585 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14586 given name if the pattern is not more specific.
14588 * calendar/lunar.el (lunar-phase-names): New option.
14589 (lunar-phase): Doc fix.
14590 (lunar-cycles-per-year): New constant.
14591 (lunar-index): New function.
14592 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14593 (lunar-phase-name): Use lunar-phase-names.
14594 (calendar-lunar-phases): Use format.
14595 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14597 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14598 Copy imenu-example--name-and-position function here for own use.
14599 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14601 * bs.el (bs--redisplay):
14602 * cus-edit.el (custom-redraw):
14603 * ibuffer.el (ibuffer-bury-buffer):
14604 * server.el (server-goto-line-column):
14605 * startup.el (command-line-1):
14606 * strokes.el (strokes-xpm-for-stroke):
14607 * term.el (term-display-buffer-line):
14608 * view.el (View-goto-line):
14609 * calc/calc.el (calc-do, calc-trail-buffer):
14610 * play/gamegrid.el (gamegrid-add-score-insecure):
14611 * progmodes/ada-mode.el (ada-compile-goto-error):
14612 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14613 (ebrowse-select-1st-to-9nth):
14614 * progmodes/cperl-mode.el (cperl-time-fontification):
14615 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14616 * progmodes/gud.el (gud-display-line):
14617 (idlwave-shell-display-line):
14618 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14619 * progmodes/make-mode.el (makefile-browser-toggle):
14620 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14621 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14622 * textmodes/picture.el (picture-draw-rectangle):
14623 * textmodes/reftex-index.el (reftex-index-goto-letter):
14624 (reftex-select-jump-to-previous):
14625 * textmodes/reftex-sel.el (reftex-find-start-point)
14626 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14627 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14628 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14629 * textmodes/tex-mode.el (tex-compilation-parse-errors):
14630 * textmodes/two-column.el (2C-associated-buffer):
14631 Use forward-line rather than goto-line.
14633 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14636 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14637 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14638 (quick-check-list-to-regexp): Declare.
14640 * progmodes/make-mode.el (makefile-browser-insert-selection):
14641 Use goto-char rather than goto-line.
14643 * progmodes/prolog.el (compilation-error-regexp-alist)
14644 (compilation-forget-errors): Declare.
14646 2009-08-22 Juri Linkov <juri@jurta.org>
14648 * progmodes/grep.el (lgrep, rgrep): At the beginning
14649 set `dir' to `default-directory' unless `dir' is a non-nil
14650 readable directory. (Bug#4052)
14651 (lgrep, rgrep): Change a weird way to report an error
14652 from using `read-string' to using `error'.
14653 Instead of using interactive arguments in the function body,
14654 add new argument `confirm'.
14656 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14658 * textmodes/remember.el (remember-buffer):
14659 * progmodes/cperl-mode.el (cperl-vc-header-alist):
14660 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14661 (icalendar-extract-ical-from-buffer):
14662 * net/newst-treeview.el (newsticker-groups-filename):
14663 * net/newst-backend.el (newsticker-cache-filename):
14664 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14665 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14666 (speedbar-add-ignored-path-regexp, speedbar-line-path)
14667 (speedbar-buffers-line-path, speedbar-path-line)
14668 (speedbar-buffers-line-path):
14669 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14671 * epa.el (epa-display-verify-result):
14672 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14674 2009-08-21 Glenn Morris <rgm@gnu.org>
14676 * progmodes/js.el (inferior-moz-process): Fix declaration.
14678 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14680 * obsolete/rnewspost.el (news-mail-reply):
14681 Use goto-char rather than goto-line.
14683 * term/ns-win.el (ns-open-file-select-line):
14684 Use line-beginning-position rather than goto-line.
14686 * apropos.el (apropos-command):
14687 * ehelp.el (electric-helpify):
14688 * printing.el (pr-show-setup):
14689 * strokes.el (strokes-help):
14690 * tutorial.el (tutorial--describe-nonstandard-key)
14691 (tutorial--detailed-help):
14692 * woman.el (woman-mini-help, woman-display-extended-fonts):
14693 * calc/calc-help.el (calc-describe-key):
14694 * emulation/edt.el (edt-electric-helpify):
14695 * international/mule-diag.el (mule-diag):
14696 * play/yow.el (apropos-zippy):
14697 * progmodes/python.el (python-describe-symbol):
14698 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14699 * textmodes/table.el (*table--cell-describe-mode)
14700 (*table--cell-describe-bindings):
14701 Use help-print-return-message rather than the now obsolete alias.
14703 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14704 (calendar-cursor-to-visible-date):
14705 * play/5x5.el (5x5-position-cursor):
14706 * play/decipher.el (decipher):
14707 * play/gomoku.el (gomoku-goto-xy):
14708 * play/landmark.el (lm-goto-xy):
14709 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14710 (mpuz-paint-digit):
14711 Use forward-line, not goto-line.
14713 * mail/rmail.el (rmail-obsolete): Delete custom group.
14714 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14715 (rmail-remote-password, rmail-remote-password-required):
14716 Remove unneeded :set-after and :set properties.
14718 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
14720 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14722 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
14724 * loadup.el: Remove leftover macos code.
14726 * vc-git.el (vc-git-annotate-command): Run asynchronously.
14727 Explicitly pass the date format to git blame so that user local
14728 so that the output format can be parsed.
14730 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
14732 * net/dbus.el (top): Don't check for (getenv
14733 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
14735 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
14737 * log-edit.el (log-edit-strip-single-file-name): New var.
14738 (log-edit-insert-changelog): Use it. Bug#3571
14740 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14742 * subr.el (read-passwd): Use read-key so keypad keys work as well.
14745 * help.el (help-print-return-message): Rename from
14746 print-help-return-message.
14748 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14749 cvs-mode-map parent hack.
14750 (log-view-mode): Derive from special-mode.
14752 * linum.el (linum-mode): window-size-change-functions is redundant.
14753 Adapt to new window-configuration-change-hook behavior.
14754 (linum-after-size, linum-after-config): Remove.
14756 * imenu.el (imenu-example--name-and-position)
14757 (imenu-example--lisp-extract-index-name)
14758 (imenu-example--create-lisp-index, imenu-example--create-c-index):
14761 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14762 (inferior-prolog-mode): Use it.
14763 (inferior-prolog-load-file): Reset list of errors.
14765 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14767 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14769 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14771 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
14773 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14774 is running already.
14776 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * subr.el (listify-key-sequence-1): Use normal syntax since those
14779 integers are nowadays always represented by the same (positive) number
14781 (read-key-empty-map): New const.
14782 (read-key-delay): New var.
14783 (read-key): New function.
14784 (force-mode-line-update): Use with-current-buffer.
14785 (locate-user-emacs-file): Don't forget to abbreviate the file name.
14786 (start-process-shell-command, start-file-process-shell-command):
14787 Discourage the use of command-args.
14789 2009-08-19 Glenn Morris <rgm@gnu.org>
14791 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14793 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14795 * simple.el (choose-completion-string): Don't rely on
14796 minibuffer-completing-file-name and ad-hoc checks to decide whether
14797 to continue completion or not.
14799 * minibuffer.el (minibuffer-hide-completions): New function.
14800 (completion--do-completion): Use it.
14801 (completions-annotations): New face.
14802 (completion--insert-strings): Use it.
14803 (completion-pcm--delim-wild-regex): Add docstring.
14804 (completion-pcm--string->pattern): Add support for 0-width delimiters
14805 in completion-pcm--delim-wild-regex.
14807 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
14809 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14810 Remove unused var `buffer-modified-p'.
14812 * minibuffer.el (completion--do-completion): Move point for the #b001
14813 case as well (bug#4176).
14814 (minibuffer-complete, minibuffer-complete-word): Don't move point.
14816 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
14818 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
14819 and :session buses.
14821 2009-08-18 Kenichi Handa <handa@m17n.org>
14823 * international/ucs-normalize.el (ucs-normalize-version):
14825 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14826 (utf-8-hfs): Make it perform normalization on encoding too.
14828 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
14829 (sentence-end-without-space): Delete duplicated chars.
14830 (sentence-end-base): Likewise.
14832 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
14833 (html-mode): Delete duplicated chars from sentence-end-base.
14835 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
14836 (texinfo-mode): Delete duplicated chars from sentence-end-base.
14838 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
14840 * files.el (hack-one-local-variable): If the mode function is for
14841 a minor mode, pass it an argument (Bug#4148).
14843 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
14845 * net/tramp.el (tramp-register-completion-file-name-handler):
14846 Check also for (member 'partial-completion completion-styles).
14848 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14850 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14853 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
14855 * progmodes/cperl-mode.el: Merge upstream 6.2.
14856 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14857 (cperl-forward-re): Check cperl-brace-recursing.
14858 (cperl-highlight-charclass): New function.
14859 (cperl-find-pods-heres): Use it.
14860 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14861 (cperl-beautify-regexp-piece): Fix column calculation.
14862 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14863 (cperl-beautify-level): Don't process entire regexp.
14864 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14866 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14867 (cperl-init-faces): Build a list in the normal way.
14869 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14871 * calendar/parse-time.el (parse-time-string-chars): Save match
14874 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
14876 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14877 (sql-product): Use it.
14878 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14879 (sql-set-product): Add completion.
14880 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14881 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14882 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14883 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14884 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14885 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14886 (sql-highlight-db2-keywords): Remove.
14887 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14888 (sql-highlight-product): Use derived-mode-p.
14889 (sql-set-sqli-buffer): Use with-current-buffer.
14890 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14893 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
14895 * term.el: Fix commenting convention, turn comments into docstrings.
14897 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
14899 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
14901 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
14903 * calendar/parse-time.el (parse-time-string-chars): Compute using
14904 character classes, to handle non-ascii characters (Bug#3190).
14906 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14908 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
14909 another heredoc if the user adds another < (Bug#3226).
14911 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
14912 Don't initialize based on window-system (Bug#4124).
14914 * facemenu.el (facemenu-read-color): Use a completion function
14915 that accepts any defined color, such as RGB triplets (Bug#3677).
14917 * files.el (get-free-disk-space): Change fallback default
14918 directory to /. Expand DIR argument before switching to fallback.
14919 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
14921 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14923 * files.el (load-library): Doc fix.
14925 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
14927 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
14928 (viper-if-string): Redefine C-s in the minibuffer to insert the last
14929 incremental search string.
14931 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
14934 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
14935 (ediff-merge-region-is-non-clash)
14936 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
14937 Also check if the job is really a merge job.
14939 * ediff.el (ediff-current-file): New function.
14941 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14943 * progmodes/js.el: Edit docstrings throughout to follow Emacs
14945 (js-insert-and-indent): Delete function.
14946 (js-mode-map): Don't bind keys to js-insert-and-indent.
14947 (js-beginning-of-defun): Rename from js--beginning-of-defun.
14948 (js-end-of-defun): Rename from js--end-of-defun.
14949 (js-auto-indent-flag): Delete variable.
14951 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
14953 * progmodes/js.el: Remove proclaim statement.
14954 Defvar which-func-imenu-joiner-function to silence compiler.
14956 * files.el (auto-mode-alist): Use js-mode for .js files.
14958 * progmodes/js2-mode.el: Remove file.
14960 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
14962 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
14964 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
14966 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
14967 Karl Landstrom <karl.landstrom@brgeight.se>
14969 * progmodes/js.el: New file.
14971 2009-08-14 Mark A. Hershberger <mah@everybody.org>
14973 * timezone.el (timezone-parse-date): Add ability to understand ISO
14974 basic format (minimal separators) dates in addition to the
14975 already-supported extended format dates.
14977 2009-08-14 Eli Zaretskii <eliz@gnu.org>
14979 * international/ucs-normalize.el: Add a `coding' file variable.
14981 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
14983 2009-08-14 Sam Steingold <sds@gnu.org>
14985 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
14987 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
14989 * faces.el (help-argument-name): Define it here instead of
14990 help-fns.el, because in daemon mode help-fns.el may be loaded when
14991 faces are still uninitialized (Bug#1078).
14993 * help-fns.el (help-argument-name): Move defface to faces.el.
14995 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
14997 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
14998 create buffer with a pty but no process so that GDB can make the
14999 inferior the controlling process.
15001 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15003 * international/ucs-normalize.el: New file.
15005 2009-08-13 Richard Stallman <rms@gnu.org>
15007 * mail/rmail.el (rmail-get-attr-names):
15008 Accept an attribute header that is too short.
15010 * mail/rmail.el (rmail-forget-messages):
15011 Ignore nil elt in rmail-message-vector. Use dotimes.
15013 * progmodes/compile.el (compilation-goto-locus):
15014 Use next-error-move-function.
15016 * simple.el (next-error-move-function): New variable.
15018 2009-08-12 Juri Linkov <juri@jurta.org>
15020 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15021 always non-nil. (Bug#4052)
15023 * replace.el (read-regexp): Return empty string when
15024 `default-value' is nil.
15025 (keep-lines-read-args): Don't use empty string as the
15026 default value for `read-regexp'. (Bug#2495)
15028 2009-08-12 Juri Linkov <juri@jurta.org>
15030 * international/mule-cmds.el (ucs-insert): Change arguments
15031 from `arg' to `character', `count', `inherit' to be the same
15032 as in `insert-char'. Doc fix. (Bug#4039)
15034 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15036 2009-08-12 Juri Linkov <juri@jurta.org>
15038 * files-x.el: New file.
15040 * files.el: Move code that deals with adding/deleting
15041 file/directory-local variables to files-x.el.
15043 * Makefile.in (ELCFILES): Add files-x.elc.
15045 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15047 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15048 to use `goto-line'.
15049 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15051 (gdb-invalidate-disassembly): Do not refresh upon receiving
15052 'update signal. Instead, update all disassembly buffers only after
15054 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15055 (gdb-starting): Moved -data-list-register-names...
15056 (gdb-stopped): ...here so it's sent when first thread stops.
15057 (gdb-registers-handler-custom): Do nothing if register names are
15060 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15061 from `gdb-mi.el' to avoid extra tangling.
15063 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15064 change which breaks `gud-def' definitions used in `gdb'.
15065 (gdb-update-gud-running): No extra fuss for updating frame number.
15067 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15069 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15070 (describe-language-environment-map, setup-language-environment-map)
15071 (set-coding-system-map): Move initialization into declaration.
15072 (set-language-info-alist): Last arg to define-key-after can be skipped.
15074 * international/quail.el (quail-completion-1): Simplify.
15075 (quail-define-rules): Use slightly more compact code.
15076 (quail-insert-decode-map): Propertize keys, compact columns.
15078 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15081 2009-08-10 Miles Bader <miles@gnu.org>
15083 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15084 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15085 (js2-instance-member, js2-private-member, js2-private-function-call)
15086 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15087 (js2-magic-paren, js2-external-variable):
15088 Remove "-face" suffix from face names.
15089 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15090 (js2-highlight-undeclared-vars, js2-peek-token)
15091 (js2-parse-function-params, js2-mode-show-errors)
15092 (js2-mode-show-warnings, js2-make-magic-delimiter)
15093 (js2-mode-highlight-magic-parens): Update to use new face names.
15095 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15097 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15098 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15100 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15102 * subr.el: Provide hashtable-print-readable.
15104 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15105 hs-c-like-adjust-block-beginning.
15106 (hs-hide-block-at-point): Stop hiding at the beginning of
15107 hs-block-end-regexp (Bug#700).
15109 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15111 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15113 (gdb-registers-handler-custom): Do not fail when register names
15116 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15118 * progmodes/gdb-mi.el (gdb-control-all-threads)
15119 (gdb-control-current-thread): Interactive setters for
15120 `gdb-gud-control-all-threads' to use in menu.
15121 (gdb-show-run-p): Show «Go» when process is not active.
15122 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15123 gud/thread.xpm and gud/all.xpm.
15125 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15127 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15128 (nslookup-font-lock-keywords): Make it a variable.
15129 (net-utils-mode): New mode for viewing diagnostic network output.
15130 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15131 (net-utils-run-simple): New function.
15132 (ifconfig, iwconfig, netstat, arp, route): Use it.
15134 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15136 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15137 (gdb-memory-set-address, def-gdb-set-positive-number)
15138 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15139 after changing settings.
15140 (gdb-invalidate-disassembly): Update when first shown.
15141 (gdb-edit-locals-value): Fixed.
15142 (gdb-registers-handler-custom): Print registers in right order and
15143 allow changing register values (only for current thread yet).
15144 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15145 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15146 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15147 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15149 (gdb-registers-mode-map): TAB to switch to locals.
15151 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15153 * mail/rmail.el (rmail-add-mbox-headers)
15154 (rmail-set-message-counters-counter): Search for
15155 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15157 2009-08-08 Glenn Morris <rgm@gnu.org>
15159 * Makefile.in (ELCFILES): Update.
15161 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15163 * mail/sendmail.el (mail-yank-original): Set
15164 buffer-file-coding-system from the one used by the message whose
15167 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15168 to "windows" when "pgnuplot" is used.
15169 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15170 call accept-process-output if "pgnuplot" is used.
15171 (calc-graph-init): Don't send -display and -geometry to
15172 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15173 running "pgnuplot -V" with shell-command-to-string.
15175 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15178 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15180 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15183 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15185 * vc-dispatcher.el (vc-resynch-window): Update comment.
15187 * term.el (term-handle-ansi-escape): Add comments with the
15188 terminfo capabilities implemented.
15190 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15192 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15193 (gdb-var-create-handler): Rewritten using JSON parser.
15194 (gdb-propertize-header): Moved earlier.
15195 (gdb-set-header): Removed to avoid duplication.
15196 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15197 Refresh disassembly buffers only after threads list have been
15199 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15202 2009-08-04 Juri Linkov <juri@jurta.org>
15204 * files.el: Commands to add/delete file/directory-local variables.
15205 (read-file-local-variable, read-file-local-variable-value)
15206 (read-file-local-variable-mode, modify-file-local-variable)
15207 (modify-file-local-variable-prop-line)
15208 (modify-dir-local-variable): New functions.
15209 (add-file-local-variable, delete-file-local-variable)
15210 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15211 (add-dir-local-variable, delete-dir-local-variable)
15212 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15213 (copy-dir-locals-to-file-locals-prop-line): New commands.
15215 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15217 * abbrev.el (insert-abbrev-table-description): Prettify output.
15218 Suggested by Karl Chen.
15220 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15222 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15223 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15224 (gdb-overlay-arrow-position, gdb-thread-position)
15225 (gdb-disassembly-position): Declare variables.
15226 (gdb-wait-for-pending): Function now.
15227 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15228 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15229 compilation goes smoothly.
15230 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15231 (gdb-non-stop-setting): New customization setting which replaces
15232 `gdb-non-stop' so changing it doesn't break active GDB session.
15233 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15234 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15235 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15236 (gdb-show-threads-by-default): New customization options.
15237 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15239 (gdb-get-buffer-create): Send buffers update signal when they are
15241 (gdb-invalidate-locals, gdb-invalidate-registers)
15242 (gdb-invalidate-breakpoints)
15243 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15244 (gdb-invalidate-memory): Accept update signal.
15245 (gdb-current-context-command): Use --frame option.
15246 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15247 Implement `gdb-frame-number' selection logic.
15248 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15249 whether to show GUD toolbar buttons.
15250 (gdb-thread-exited): Unselect current thread when it exits.
15251 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15252 (gdb-mark-line): Routine which sets overlay arrow or inverses
15253 video on fringeless displays.
15254 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15255 to build aligned columns of data in GDB buffers and set text
15256 properties line-by-line.
15257 (gdb-invalidate-breakpoints)
15258 (gdb-breakpoints-list-handler-custom)
15259 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15260 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15261 (gdb-registers-handler-custom): Align data columns.
15262 (gdb-locals-handler-custom): Now prints data like in variable
15264 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15265 Removed confusing buttons.
15266 (gdb-invalidate-threads): Append --frame.
15267 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15268 between breakpoints/threads buffers.
15269 (gdb-set-window-buffer): Now can ignore dedicated windows.
15270 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15271 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15272 (def-gdb-thread-buffer-gud-command): Replaces
15273 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15274 for fine thread control.
15275 (gdb-preempt-existing-or-display-buffer): New function used to
15276 display bound buffers without breaking window layout.
15277 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15278 (gdb-select-frame): New version of `gdb-frames-select' which now
15279 sets `gdb-frame-number' so commands may use --frame option instead
15280 of inner debugger state.
15281 (gdb-frame-handler): Do not set `gdb-frame-number'.
15282 (gdb-threads-mode-map): Select threads with mouse.
15284 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15285 avoid compilation warning.
15286 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15289 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15290 Argument `key' renamed to `buffer-type'.
15291 (gdb-current-context-buffer-name): Do not add thread info to
15292 buffer name when no thread is selected.
15293 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15294 command (bug 3794).
15295 (gdb-thread-selected): Handle `=thread-selected' notification.
15296 (gdb-wait-for-pending): New macro to deal with congestion problems.
15297 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15299 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15300 This fixes problem similar to one described in bug 3947.
15301 (gud-menu-map): More menu items.
15302 (gdb-init-1): Reset `gdb-thread-number' to nil.
15304 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15307 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15308 (gdb-current-context-command): Do not append --thread if
15309 `gdb-thread-number' is nil.
15310 (gdb-running-threads-count, gdb-stopped-threads-count): New
15312 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15313 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15314 customization options.
15315 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15317 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15318 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15319 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15320 set `gdb-thread-number' and update `gud-running' properly.
15321 (gdb-running): Update threads list when new threads appear.
15322 (gdb-stopped): Support non-stop operation and new thread switching
15324 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15325 (gdb-json-partial-output): New set of JSON routines.
15326 (def-gdb-auto-update-trigger): New `signal-list' optional
15328 (gdb-thread-list-handler-custom): Update `gud-running',
15329 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15330 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15331 (gdb-continue-thread, gdb-step-thread): New commands for fine
15332 thread execution control.
15333 (gud-menu-map): New menu items to switch non-stop options.
15334 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15335 (gdb-send): Mimic RET properly (bug 3794).
15337 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15338 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15340 (def-gdb-auto-update-handler): New nopreserve optional argument.
15341 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15343 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15344 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15345 (gdb-parent-mode): New mode to derive other GDB modes from.
15346 (gdb-display-disassembly-for-thread)
15347 (gdb-frame-disassembly-for-thread): New commands for threads
15350 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15351 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15352 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15353 (gdb-update): We now store all GDB buffers in a list so that they
15354 can be updated by traversing a list instead of calling invalidate
15355 triggers explicitly.
15356 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15357 pair for GDB buffer.
15358 (gdb-stack-buffer-name): Add thread information.
15359 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15360 handle pending triggers.
15361 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15362 (def-gdb-thread-buffer-simple-command)
15363 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15364 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15365 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15366 New commands which show buffers bound to thread.
15367 (gdb-stack-list-locals-regexp): Removed unused regexp.
15369 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15370 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15371 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15372 to (gud-comint-buffer) in *-buffer-name functions
15373 because (gdb-get-target-string) already does that.
15374 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15375 (gdb-changed-registers-handler): Rewritten without regexps.
15377 * progmodes/gdb-mi.el: Basic thread selection support.
15378 (gdb-thread-number): New variable.
15379 (gdb-current-context-command): New macro which adds --thread
15381 (gdb-threads-mode-map): Select thread with SPC.
15382 (gdb-thread-list-handler-custom): Mark current thread with overlay
15383 arrow. Synchronize GDB thread and Emacs thread.
15384 (gdb-select-thread): New command which selects current thread.
15385 (gdb-invalidate-frames, gdb-invalidate-locals)
15386 (gdb-invalidate-registers): Use --thread option.
15388 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15390 * net/tramp.el (top): Make check for tramp-gvfs loading more
15392 (tramp-handle-insert-file-contents): `unwind-protect' must be
15393 inside `with-parsed-tramp-file-name'.
15395 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15398 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15400 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15401 directory if CLASSPATH is not set.
15403 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15405 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15407 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15409 2009-08-02 Kevin Ryde <user42@zip.com.au>
15411 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15412 Update freshmeat link. Delete newsforge.com as it seems gone.
15414 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15416 * select.el (x-set-selection): Doc fix (Bug#4021).
15418 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15420 * help-fns.el (describe-variable): Treat list return values from
15421 dir-locals-find-file properly (Bug#4005).
15423 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15425 * net/tramp.el (tramp-debug-message): Print also microseconds.
15427 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15429 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15431 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15432 (tramp-get-debug-buffer): Change `outline-regexp' according to new
15435 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15436 (tramp-get-file-property): Use it.
15438 * autorevert.el (auto-revert-handler): Allow
15439 `auto-revert-tail-mode' for remote files.
15441 2009-08-02 Jason Rumney <jasonr@gnu.org>
15443 * minibuffer.el (read-file-name): Treat confirm options to
15444 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
15446 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15448 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15449 (font-lock-variable-name-face, font-lock-constant-face): Darken
15450 the colors for light backgrounds.
15452 2009-08-01 Eli Zaretskii <eliz@gnu.org>
15454 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15455 month names. (Bug#3987)
15457 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
15459 * simple.el (line-move-finish): Pass whole number to
15460 line-move-to-column.
15461 (line-move-visual): Perform hscroll to the recorded position.
15463 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
15465 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15467 2009-07-29 Alan Mackenzie <acm@muc.de>
15469 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15471 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
15473 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15474 (gdb-place-breakpoints): Use full path when setting breakpoints.
15476 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
15478 * calc/calc.el (calc-mode-map): Add keybinding for
15479 `calc-transpose-lines'.
15481 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
15483 * calc/calc-misc.el (calc-transpose-lines): New function.
15485 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
15487 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15488 Simplify check for out-of-band methods.
15489 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15490 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
15492 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
15494 * vc-git.el (vc-git-checkin): Fix typo.
15496 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
15498 * progmodes/js2-mode.el: New file.
15500 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
15502 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15503 (gud-menu-map): Adjust tooltip accordingly.
15505 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
15507 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15508 (vc-bzr-log-view-mode): Adjust log-view-file-re.
15510 * add-log.el (change-log-mode-map): Add a menu.
15512 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
15514 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15515 function returns nil.
15516 (dbus-handle-event): Handle special return value :ignore.
15517 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15519 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
15521 * view.el (view-mode-enable): Don't define Helper-return-blurb if
15524 2009-07-25 Eli Zaretskii <eliz@gnu.org>
15528 * w32-vars.el (x-select-enable-clipboard): Doc fix.
15530 * term/pc-win.el (x-display-name, x-colors)
15531 (x-select-enable-clipboard, x-select-text): Doc fix.
15533 * term/common-win.el (x-display-name, x-colors): Doc fix.
15535 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15536 (xw-defined-colors): Doc fix.
15538 * w32-fns.el (x-select-text, x-setup-function-keys)
15539 (x-get-selection, x-set-selection): Doc fix.
15541 * term/x-win.el (x-select-text, x-setup-function-keys)
15542 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15544 * select.el (x-set-selection): Doc fix.
15546 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
15548 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15549 instead of "IsNSSSupportAvailable". Avahi ought to work also when
15550 "IsNSSSupportAvailable" method is not available. Reported by
15551 Steve Youngs <steve@sxemacs.org>.
15553 2009-07-24 Kenichi Handa <handa@m17n.org>
15555 * international/characters.el: Fix setting of category ?C, ?|, ?K,
15556 and ?H. Fix setting of case for Latin Extended and Greek Extended.
15557 (build-unicode-category-table): Fix range checks.
15559 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
15561 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15562 the buffer we try to sync is current when calling
15565 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15566 not show up to date files.
15568 2009-07-24 Glenn Morris <rgm@gnu.org>
15570 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15571 Add autoload cookies. If necessary, initialize.
15572 (elint-log): Handle non-file buffers.
15573 (elint-initialize): Add optional argument to reinitialize.
15574 (elint-find-builtin-variables): Save excursion.
15576 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
15578 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15581 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
15583 * vc.el (vc-print-log-internal): New function, split out from ...
15584 (vc-print-log): ... here.
15585 (vc-dir-move-to-goal-column): Declare.
15587 * vc-git.el (vc-git-add-signoff): New variable.
15588 (vc-git-checkin): Use it.
15589 (vc-git-toggle-signoff): New function.
15590 (vc-git-extra-menu-map): Bind it to menu.
15591 (vc-git--run-command-string): Accept a nil FILE argument.
15592 (vc-git-stash-list): New function.
15593 (vc-git-dir-extra-headers): Use it.
15595 2009-07-23 Glenn Morris <rgm@gnu.org>
15597 * help-fns.el (describe-variable): Describe ignored and risky local
15598 variables in a similar way to that in which we describe safe ones.
15600 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15601 (byte-compile-output-file-form, byte-compile-output-docform)
15602 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15603 Give some more local variables with common names a "bytecomp-" prefix,
15604 so as not to shadow things during compilation.
15605 * emacs-lisp/cl-macs.el (load-time-value)
15606 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15607 `outbuffer' to `bytecomp-outbuffer'.
15609 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15610 since the next two variables cover them automatically now.
15611 (elint-builtin-variables, elint-autoloaded-variables): New.
15612 (elint-unknown-builtin-args): Remove all members, since they can be
15613 parsed automatically now.
15614 (elint-extra-errors): New.
15615 (elint-env-add-env, elint-env-add-macro): Use cadr.
15616 (elint-current-buffer): Use or. Change final message.
15617 (elint-get-top-forms): Use line-end-position.
15618 (elint-init-env): Use cadr. Handle autoload, declare-function,
15620 (elint-add-required-env): Doc fix. Use or. Standardize error.
15621 (regexp-assoc): Remove unused function.
15622 (elint-top-form): Set elint-current-pos, to record the start of the
15623 top-level form, for compilation-mode.
15624 (elint-form): Trap errors in macro expansion. Use dolist.
15625 (elint-unbound-variable): Use elint-builtin-variables and
15626 elint-autoloaded-variables.
15627 (elint-get-args): Use cadr, or.
15628 (elint-check-cond-form): Use dolist, cadr.
15629 (elint-check-condition-case-form): Doc fix. Use cadr.
15630 Use elint-extra-errors.
15631 (elint-log): New function.
15632 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15633 Distinguish errors and warnings.
15634 (elint-log-message): Use with-current-buffer. Inhibit read-only.
15635 Use a bytecomp-style format.
15636 (elint-clear-log): Preserve default-directory. Inhibit read-only.
15637 (elint-get-log-buffer): Use compilation mode. Disable undo.
15638 Don't truncate lines.
15639 (elint-initialize): Set builtin and autoloaded variable lists.
15640 Only process elint-unknown-builtin-args if non-nil.
15641 (elint-find-builtin-variables, elint-find-autoloaded-variables):
15643 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
15645 2009-07-22 Kevin Ryde <user42@zip.com.au>
15647 * net/newst-backend.el (newsticker--parse-atom-1.0)
15648 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15649 (newsticker--parse-rss-1.0):
15650 * progmodes/idlwave.el (idlwave-mode):
15651 * progmodes/idlw-shell.el (idlwave-shell-mode):
15652 * progmodes/vera-mode.el (vera-mode):
15653 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15654 * progmodes/vhdl-mode.el (vhdl-mode):
15655 * textmodes/table.el (table-generate-source)
15656 (table--warn-incompatibility):
15657 Hyperlink urls in docstrings with URL `...'.
15659 2009-07-22 Glenn Morris <rgm@gnu.org>
15661 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15662 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15663 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15664 Remove leading * from defcustom docs.
15666 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
15668 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15670 (list-load-path-shadows): Optionally, just return shadows as a string.
15672 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15674 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
15676 * mail/rmailedit.el (rmail-edit-mode): Use
15677 auto-save-include-big-deletions.
15679 * mail/rmail.el (rmail-variables): Use
15680 auto-save-include-big-deletions.
15682 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15685 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
15687 * calc/calc.el (calc-undo-length): New variable.
15688 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15690 2009-07-21 Richard Stallman <rms@gnu.org>
15692 * files.el (auto-save-mode): Handle buffer-save-size = -2
15695 2009-07-21 Glenn Morris <rgm@gnu.org>
15697 * textmodes/ispell.el (ispell-looking-back): Update declaration.
15699 * calendar/todo-mode.el (calendar-current-date): Update declaration.
15701 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15702 silence compiler. Instead...
15703 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15704 (ps-print-ensure-fontified): Update for above function name changes.
15706 * printing.el (pr-mh-get-msg-num, pr-mh-show)
15707 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15708 silence compiler. Instead...
15709 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15710 (mh-show-buffer): Only define for compiler.
15711 (pr-mh-current-message): Update for above function name changes.
15713 * files.el (abort-if-file-too-large): Explicitly pass `filename'
15715 (find-file-noselect, insert-file-1): Update for above change.
15717 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15719 * mail/mailclient.el (mailclient-send-it): Fix message.
15721 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15722 (edebug-eval): Check cl-debug-env is bound.
15723 (print-level, print-circle): Don't redefine built-in variables.
15725 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15726 (custom-print-vectors): Remove old comments from doc.
15728 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15729 (emerge-version): Make the variable an obsolete alias for the
15730 emacs-version variable. Make the function obsolete.
15731 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15732 Emerge options, rather than merging in into the main Options menu.
15733 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
15734 and auto advance modes. Disable edit/fast items when not relevant.
15736 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
15738 * term/vt420.el (terminal-init-vt420): Fix typo.
15740 2009-07-20 Sam Steingold <sds@gnu.org>
15742 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15743 variable (removed from compile.el on 2004-03-11).
15745 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
15747 * files.el (hack-local-variables-filter): Fix last change.
15749 2009-07-19 Juri Linkov <juri@jurta.org>
15751 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15752 (dir-local-variables-alist): New buffer-local variable.
15753 (hack-local-variables-filter): If variable is not dir-local,
15754 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15755 because file-local overrides dir-local.
15756 (c-postprocess-file-styles) <declare-function>:
15757 Remove obsolete declaration.
15758 (hack-dir-local-variables): Add dir-local variable/value pair to
15759 `dir-local-variables-alist' and remove duplicates. Doc fix.
15761 * help-fns.el (describe-variable): Add information about
15762 file-local and dir-local variables.
15764 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
15766 * files.el (hack-local-variables-filter): Rewrite.
15768 2009-07-19 Glenn Morris <rgm@gnu.org>
15770 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15771 Silence compiler by only defining on XEmacs.
15773 * international/mule.el (auto-coding-regexp-alist): Only match
15774 BABYL... at the start of buffer, not of lines. (Bug#3790)
15776 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15777 non-calendar buffers (Bug#3862). Restore "not on a date" message.
15778 (cal-menu-context-mouse-menu): Doc fix.
15780 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15782 * simple.el (mail-user-agent): Doc fix. Set :version tag.
15784 2009-07-18 Juri Linkov <juri@jurta.org>
15786 * info.el: Virtual Info keyword finder.
15787 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15788 (Info-finder-file): New variable.
15789 (Info-finder-find-file): New function.
15790 (finder-known-keywords, finder-package-info)
15791 (find-library-name, lm-commentary): Use defvar and
15792 declare-function to silence compiler warnings.
15793 (Info-finder-find-node): New function.
15794 (info-finder): New command.
15796 * subr.el (process-kill-buffer-query-function): New function.
15797 (add-hook)<kill-buffer-query-functions>: Add hook
15798 `process-kill-buffer-query-function'.
15800 2009-07-18 Alan Mackenzie <acm@muc.de>
15802 * progmodes/cc-mode.el (c-before-hack-hook)
15803 (c-postprocess-file-styles): Give invocation of `c-set-style'
15804 DONT-OVERRIDE parameter of t. Already set style variables will
15805 thus not be overridden by style settings given by `c-file-syle'.
15807 * files.el (hack-local-variables-filter): Remove entries with
15808 duplicate keys from `file-local-variables-alist'.
15810 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15812 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15813 x-set-selection if display-selections-p returns nil for the
15816 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
15818 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15820 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15822 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15823 Accept nil in addition to a regexp.
15824 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15825 Accept nil in addition to a regexp.
15826 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15827 buffers that have an associated file. Handle nil values of
15828 desktop-buffers-not-to-save and desktop-files-not-to-save.
15831 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15832 (x-disown-selection-internal): New functions.
15834 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
15836 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15838 (gdb-breakpoints-header): Move forward to avoid compiler warning.
15839 (gdb-make-header-line-mouse-map): Remove duplicate definition.
15841 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
15843 * simple.el (set-mark): Revert last change.
15845 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
15847 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15848 rendering of pngs is not possible instead of messaging a long
15851 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
15853 * w32-fns.el (x-selection-owner-p): New function.
15855 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15856 (mouse-yank-at-click, mouse-yank-primary): If
15857 select-active-regions is non-nil, deactivate the mark before
15860 * simple.el (deactivate-mark, set-mark): Only save selection if we
15863 2009-07-17 Kenichi Handa <handa@m17n.org>
15865 * case-table.el (describe-buffer-case-table): Fix for the case
15866 that KEY is a cons.
15868 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
15870 * vc-rcs.el (vc-rcs-find-file-hook):
15871 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15873 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
15875 * net/tramp.el (tramp-wait-for-output): Handle the case when
15876 commands do not return a newline but a null byte before the shell
15879 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15881 * term/ns-win.el (ns-set-alpha): Don't declare.
15882 (ns-set-background-alpha): Remove function.
15884 2009-07-16 Kevin Ryde <user42@zip.com.au>
15886 * emacs-lisp/copyright.el (copyright-update): Save match-data across
15887 y-or-n-p, for safety.
15889 2009-07-16 Richard Stallman <rms@gnu.org>
15891 * files.el (auto-save-mode): If buffer-saved-size is -2,
15894 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
15895 (rmail-retry-ignored-headers): Add more uninteresting fields.
15897 2009-07-15 Jari Aalto <jari.aalto@cante.net>
15899 * net/rcirc.el (rcirc): Use history variables.
15900 (rcirc-server-name-history, rcirc-nick-name-history)
15901 (rcirc-server-port-history): New variables.
15903 2009-07-15 Kenichi Handa <handa@m17n.org>
15905 * international/mule-cmds.el (set-language-environment-charset):
15906 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
15909 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
15910 Delete unibyte-display.
15912 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15914 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
15916 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15918 * simple.el (deactivate-mark): Optional argument FORCE.
15919 (set-mark): Use deactivate-mark.
15921 * info.el (Info-search): No need to check transient-mark-mode
15922 before calling deactivate-mark.
15924 * select.el (x-set-selection): Doc fix.
15925 (x-valid-simple-selection-p): Allow buffer values.
15926 (xselect--selection-bounds): Handle buffer values. Suggested by
15927 David De La Harpe Golden.
15929 * mouse.el (mouse-set-region, mouse-drag-track): Call
15930 copy-region-as-kill before setting the mark, to let
15931 select-active-regions work.
15933 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
15935 * simple.el (deactivate-mark): If select-active-regions is
15936 non-nil, copy the selection data into a string.
15937 (activate-mark): If select-active-regions is non-nil, set the
15938 selection to the current buffer.
15939 (set-mark): Update selection if select-active-regions is non-nil.
15941 * select.el (x-valid-simple-selection-p): Allow buffer values.
15943 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
15946 and more featureful message-mode.
15948 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
15950 * select.el (x-set-selection): Doc fix.
15951 (x-valid-simple-selection-p): Disallow selection data consisting
15952 of a list or cons of integers, since that is not used.
15953 (xselect--selection-bounds, xselect--int-to-cons): New functions.
15954 (xselect-convert-to-string, xselect-convert-to-length)
15955 (xselect-convert-to-filename, xselect-convert-to-charpos)
15956 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
15958 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
15960 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
15961 output in -break-info command (Emacs bug #3794).
15963 2009-07-14 Glenn Morris <rgm@gnu.org>
15965 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
15966 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
15967 (edebug-print-length, edebug-print-level, edebug-print-circle)
15968 (edebug-sit-for-seconds, edebug-view-outside)
15969 (edebug-bounce-point, edebug-set-global-break-condition)
15970 (edebug-Go-nonstop-mode, edebug-trace-mode)
15971 (edebug-Trace-fast-mode, edebug-continue-mode)
15972 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
15973 (edebug-visit-eval-list): Doc fixes.
15975 * subr.el (def-edebug-spec): Doc fix.
15977 2009-07-14 Kenichi Handa <handa@m17n.org>
15979 * international/characters.el: Fix setting of category ?C.
15981 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
15983 * term/ns-win.el (x-select-font): defalias x-select-font to
15984 ns-popup-font-panel instead of generate-fontset-menu.
15986 2009-07-12 Eli Zaretskii <eliz@gnu.org>
15988 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
15990 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
15992 * arc-mode.el (archive-find-type): Allow for a PK00 string before
15993 the PK\003\004 header (Bug#3770).
15995 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
15997 * pcomplete.el (pcomplete-comint-setup): Check for
15998 shell-dynamic-complete-filename too.
16000 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16002 * simple.el (temporary-goal-column): Change the value for
16003 line-move-visual to a cons cell.
16004 (line-move-visual): Record or set the window hscroll, if
16005 necessary (Bug#3494).
16006 (line-move-1): Handle cons value of temporary-goal-column.
16008 2009-07-11 Kenichi Handa <handa@m17n.org>
16010 * international/mule-diag.el (describe-character-set): Don't show
16013 2009-07-10 Sam Steingold <sds@gnu.org>
16015 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16016 Omake sometimes indents the errors it prints, so allow all
16017 regexps to start with spaces.
16019 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16021 * cus-edit.el (customize-changed-options-previous-release):
16022 Bump value to 22.1. (Bug#3804)
16024 2009-07-08 Sam Steingold <sds@gnu.org>
16026 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16027 to be a cons cell (test . ignored-directory) to selectively ignore
16028 some directories depending on the location of the search.
16030 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16032 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16033 remote user is root, on the local host.
16034 (tramp-local-host-p): Either the local user or the remote user
16035 must be root. (Bug#3771)
16037 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16039 * progmodes/gdb-mi.el (gdb): Remove description of
16040 gdb-use-separate-io-buffer.
16041 (menu): Don't allow toggling of or enable
16042 gdb-use-separate-io-buffer from menubar.
16044 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16046 * mail/unrmail.el (unrmail): Make sure the message ends with two
16047 newlines (Bug#3769).
16049 2009-07-08 Glenn Morris <rgm@gnu.org>
16051 * calendar/calendar.el (calendar-current-date): Rework previous change.
16053 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16055 * calendar/calendar.el (calendar-current-date):
16056 Add an optional argument giving an offset from today.
16058 2009-07-08 Glenn Morris <rgm@gnu.org>
16060 * tutorial.el (tutorial--describe-nonstandard-key):
16061 Adjust the message for when a key has been unbound.
16062 (help-with-tutorial): Hide the arch-tag.
16064 2009-07-08 Kenichi Handa <handa@m17n.org>
16066 * international/fontset.el (setup-default-fontset): For each
16067 script, append (not set) font-specs.
16069 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16072 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16074 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16075 -data-list-register-names to ...
16076 (gdb-starting): ... here because GDB 7.0 requires execution to
16077 have started when using this MI command.
16078 (gdb-set-header): New function to distinguish select and
16079 unselected tabs in gdb buffers.
16080 (gdb-propertize-header): New macro that uses gdb-set-header.
16081 (gdb-breakpoints-header, gdb-locals-header): Use it.
16082 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16084 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16086 * Makefile.in (ELCFILES): Remove fadr.elc.
16088 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16090 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16091 may contain frame information, so `string-match' should be used.
16092 (gdb-update): Disassembly is invalidated through
16093 `gdb-get-selected-frame'.
16094 (gdb-pad-string): New function to pad string with spaces.
16095 (gdb-invalidate-disassembly): Invalidate only if the buffer
16097 (gdb-disassembly-handler-custom): Column alignment.
16098 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16100 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16102 (gdb-frame-handler): Match convention to for disassembly buffer
16104 (gdb-stack-list-frames-handler): Rewritten without regexps.
16105 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16106 not highlight breakpoints without line information.
16107 (gdb-input): Add trailing newline to command.
16109 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16111 (gdb-breakpoints-list-handler-custom): Replacement for
16112 `gdb-break-list-handler'. Using real parser instead of regexps
16114 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16115 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16116 to place breakpoints.
16117 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16119 (gdb-disassembly-handler-custom): Show overlay arrow.
16120 (gdb-disassembly-place-breakpoints): Show breakpoints in
16121 disassembly buffer.
16122 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16123 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16124 instead of parsing breakpoints buffer. Fixed old menu references
16129 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16130 (gdb-memory-address): New variable which holds top address of
16131 memory page shown in memory buffer.
16132 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16133 customization variables.
16135 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16136 display the memory buffer.
16137 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16138 buffer display parameters.
16139 (def-gdb-memory-format, gdb-memory-format-binary)
16140 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16141 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16142 Functions for setting memory buffer format.
16143 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16144 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16145 unit size used in memory buffer.
16146 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16147 to next/previous page of memory buffer.
16148 Now using (bindat-get-field) instead of fadr functions.
16150 2009-07-07 Sam Steingold <sds@gnu.org>
16152 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16153 non-top-level files.
16155 2009-07-07 Kenichi Handa <handa@m17n.org>
16157 * international/mule-cmds.el (reset-language-environment): Put
16158 the highset priority to the charset iso-8859-1.
16160 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16162 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16163 to the end of the line when locating the block (Bug#700).
16165 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16167 * net/tramp.el (tramp-handle-write-region): Flush file properties
16168 in case of short track.
16170 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16172 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16173 Coded custom representation of verilog error regular expressions
16174 to work with Emacs-22's new format.
16175 (verilog-error-regexp-xemacs-alist): Coded custom representation
16176 of verilog error regular expressions to work with XEmacs format.
16177 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16178 error recognition into XEmacs.
16179 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16180 error recognition into Emacs-22.
16182 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16184 * woman.el: Remove stand-alone closing parentheses.
16185 (woman-file-name, woman2-format-paragraphs)
16186 (woman-leave-blank-lines): Code cleanup.
16187 (woman-use-own-frame): Change default to nil.
16188 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16189 defaults to inherit from default faces.
16190 (woman2-process-escapes): Consume the newline after a stand-alone
16191 filler character (Bug#3651).
16193 2009-07-06 Glenn Morris <rgm@gnu.org>
16195 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16196 (top-level): Move provide to the end.
16197 (ffap): Remove defunct URL from custom group.
16199 * subr.el (eval-after-load): Doc fix.
16201 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16203 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16204 `calc-embedded-word' is called twice.
16206 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16208 * files.el (find-alternate-file-other-window, find-alternate-file):
16209 Obey confirm-nonexistent-file-or-buffer.
16211 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16213 * dired-aux.el (dired-show-file-type): Handle remote files.
16215 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16217 * desktop.el (desktop-globals-to-save):
16218 Add file-name-history (Bug#2750).
16220 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16222 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16224 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16226 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16227 property on entire argument since this is what eshell-lisp-command
16230 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16232 * net/tramp-gvfs.el (tramp-gvfs-methods)
16233 (tramp-gvfs-zeroconf-domain)
16234 (tramp-bluez-discover-devices-timeout): Add version flag.
16235 (tramp-gvfs-handler-mounted-unmounted)
16236 (tramp-gvfs-connection-mounted-p): Polish handling of
16237 incompatibilities between GVFS 0.2 and 1.0.
16239 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16241 * cus-start.el (all): Add make-pointer-invisible.
16243 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16245 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16246 formatted correctly.
16248 2009-07-02 Juri Linkov <juri@jurta.org>
16250 * info.el: Virtual Info files and nodes.
16251 (Info-virtual-files, Info-virtual-nodes): New variables.
16252 (Info-current-node-virtual): New variable.
16253 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16255 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16256 to check for a virtual file instead of checking a fixed list
16258 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16259 instead of ad-hoc processing of "dir" and (apropos history toc).
16260 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16261 instead of ad-hoc processing of "dir" and (apropos history toc).
16262 Reread a file when moving from a virtual node.
16263 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16264 (Info-directory-toc-nodes, Info-directory-find-file)
16265 (Info-directory-find-node): New functions.
16266 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16267 (Info-history): Move part of code to
16268 `Info-history-find-node'.
16269 (Info-history-toc-nodes, Info-history-find-file)
16270 (Info-history-find-node): New functions.
16271 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16272 (Info-toc): Move part of code to `Info-toc-find-node'.
16273 (Info-toc-find-node): New function.
16274 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16275 the current Info file name to references because now the node
16276 "*TOC*" belongs to the same Info manual.
16277 (Info-toc-build): Rename from `Info-build-toc'.
16278 (Info-toc-nodes): Rename input argument `file' to `filename'.
16279 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16280 instead of ad-hoc processing of ("dir" apropos history toc).
16281 (Info-index-nodes): Use Info-virtual-file-p
16282 to check for a virtual file instead of checking a fixed list
16284 (Info-index-node): Add check for `Info-current-node-virtual'.
16285 Raise `save-match-data' higher up the tree to contain
16286 `search-forward' too (bug fix).
16287 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16288 (Info-virtual-index-nodes): New variable.
16289 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16290 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16291 (Info-apropos-file, Info-apropos-nodes): New variables.
16292 (Info-apropos-toc-nodes, Info-apropos-find-file)
16293 (Info-apropos-find-node, Info-apropos-matches): New functions.
16294 (info-apropos): Move part of code to `Info-apropos-find-node' and
16295 `Info-apropos-matches'.
16296 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16297 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16298 for a virtual file instead of checking a fixed list of node names.
16300 * simple.el (async-shell-command): New command.
16302 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16304 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16305 instead of `mount-info'.
16307 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16309 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16310 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16312 2009-07-02 Kenichi Handa <handa@m17n.org>
16314 * international/mule.el (set-keyboard-coding-system): Force *-unix
16315 coding-system to avoid eol conversion.
16317 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16319 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16320 Add handler for `process-file', `shell-command' and
16321 `start-file-process'.
16322 (tramp-gvfs-handle-shell-command)
16323 (tramp-gvfs-handle-start-file-process)
16324 (tramp-gvfs-handle-process-file): New defuns.
16325 (tramp-synce-list-devices): Simplify check for existence of property.
16327 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16329 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16331 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16333 * language/korean.el (set-language-info-alist): Add korean-cp949,
16336 2009-07-01 Kenichi Handa <handa@m17n.org>
16338 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16340 * international/encoded-kb.el: Deleted.
16342 * international/mule.el (set-keyboard-coding-system): Perform the
16343 necessary setup here instead of calling encoded-kbd-setup-display.
16345 2009-07-01 Glenn Morris <rgm@gnu.org>
16347 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16349 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16351 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16353 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16355 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16356 Handle also the 'rename case, when setting file modes. (Bug#3712)
16357 (tramp-default-file-modes): Remove execute permissions.
16359 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16360 (top): Add a default for "synce" in `tramp-default-user-alist'.
16361 Add completion function for "synce" method.
16362 (tramp-hal-service, tramp-hal-path-manager)
16363 (tramp-hal-interface-manager, tramp-hal-interface-device):
16365 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16366 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16369 * net/trampver.el: Update release number.
16371 2009-06-30 Kenichi Handa <handa@m17n.org>
16373 * international/fontset.el (setup-default-fontset): Add CJK fonts
16374 for symbols and the other miscellaneous characters.
16376 * language/korea-util.el (setup-korean-environment-internal):
16377 Make char-width-table suitable for Korean environments.
16378 (exit-korean-environment): Cancel above.
16380 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16381 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16382 setup-function to make char-width-table suitable for respective
16383 environments, and an exit-function to cancel that.
16385 * language/japan-util.el (setup-japanese-environment-internal):
16386 Call use-cjk-char-width-table with arg `ja_JP'.
16388 * international/characters.el (cjk-char-width-table): Delete it.
16389 (cjk-char-width-table-list): New variable.
16390 (use-cjk-char-width-table): New arg local-name.
16391 (use-default-char-width-table): Fix for the case that Emacs is
16392 already using the default char-width-table.
16394 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16396 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16397 modes mandatory. (Bug#3712)
16399 2009-06-29 Alan Mackenzie <acm@muc.de>
16401 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16402 correction between the visible width of TABs and their number of bytes.
16404 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16406 * server.el (server-buffer-done): Prevent kill-buffer from
16407 prompting by clearing the buffer modification flag (Bug#3696).
16409 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16411 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16412 (verilog-endcomment-reason-re): Support unique case and priority case.
16413 (verilog-basic-complete-re): Support localparam lineup.
16414 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16415 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16417 (verilog-leap-to-case-head): Now support *nested* unique &
16418 priority case statements.
16419 (verilog-auto-lineup): Make just declarations the default (as it
16421 (verilog-leap-to-case-head): Support priority/unique case statements.
16422 (verilog-auto-lineup): Rework to give users radio buttons to
16423 select the various styles of automatic lineup.
16424 (verilog-error-regexp-alist): Rework to support the XEmacs style
16425 of error regular expressions from compilers, lint tools &
16426 simulators. Note that GNU Emacs has made it impossible for a mode
16427 to load such things.
16428 (electric-verilog-terminate-line, verilog-indent-declaration)
16429 (verilog-auto-wiure): Rework for radio button selection of
16430 auto-lineup selection of specification of auto lineup.
16431 (verilog-beg-of-statement-1): Redesign to support proper operation
16432 in additional code, based on testing with auto-lineup.
16433 (verilog-calculate-indent, assignments & declarations)
16434 (verilog-backward-token): Enhance to support auto-lineup of
16435 assignments & declarations.
16436 (verilog-in-directive-p, verilog-at-struct-p): New function for
16437 easy test of whether we are.
16438 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16439 to support safe execution at almost anyline.
16440 (verilog-calc-1): Properly support indenting deep inside generate
16442 (verilog-init-font): Remove definition & use of verilog-init-font,
16443 as it is redundant with font-lock-defaults.
16444 (verilog-mode): Alter the definition of verilog-font-lock-defaults
16445 to avoid circular calls if syntax-ppss is a function (as is the
16446 case now in 22.x GNU Emacs) as that function would sometimes call
16447 itself, leading to (nearly) infinite recursion.
16448 (verilog-ovm-begin-re, verilog-ovm-end-re)
16449 (verilog-ovm-statement-re, verilog-leap-to-head)
16450 (verilog-backward-token): Add support for OVM macros. Some are
16451 complete statements, and others open and close scopes like begin
16453 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16454 (verilog-defun-level-generate-only-re): Really fix the defun-list
16456 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16457 coverpoint, constraint and cross statements.
16458 (verilog-defun-level-list, verilog-generate-defun-level-list)
16459 (verilog-all-defun-level-list): Redo these specifications - it is
16460 too hard to support eval-when compile aggregation of lists also
16461 built at when-compile time.
16462 (verilog-defun-level-list): Place defconsts of variables used in
16463 building regular expressions which are built in eval-when-compile
16464 bodies in the same eval-when-compile body to facilitate compile
16466 (verilog-beg-block-re-ordered): Support indenting
16467 virtual/protected tasks and functions.
16468 (verilog-defun-level-list, verilog-in-generate-region-p)
16469 (verilog-backward-ws&directives, verilog-calc-1): Speed up
16470 indentation of some module items (generate items).
16471 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16472 across virtual/protected tasks and functions.
16474 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
16476 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16477 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
16478 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16479 in concatenations. Reported by Yishay Belkind.
16480 (verilog-auto-ascii-enum): Support one-hot state machines in
16481 AUTOASCIIENUM. Suggested by Lloyd Gomez.
16482 (verilog-auto-inst, verilog-auto-inst-port): Include interface
16483 modport in AUTOINST and add vl-modport for users. Reported by
16485 (verilog-auto-inout-module, verilog-auto-inst)
16486 (verilog-decls-get-interfaces, verilog-insert-definition)
16487 (verilog-insert-one-definition, verilog-read-decls)
16488 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16489 (verilog-sig-modport, verilog-signals-combine-bus)
16490 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16491 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16492 Suggested by David Rogoff.
16493 (verilog-repair-open-comma): Fix non-insertion of comma when
16494 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
16495 (verilog-make-width-expression): Simplify [A-1:0] expression
16496 widths to just {A{1'b0}}.
16497 (verilog-mode): Cleanup checkdoc warnings.
16498 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16499 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16500 inputs/outputs or data type. Suggested by Vasu Kandadi.
16501 (next-error-last-buffer): Fix byte-compiler warning.
16502 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16503 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16504 or shell command text during AUTO expansion. Suggested by Tad Truex.
16505 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16506 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16507 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16508 in AUTOINOUT. Reported by Matthew Lovell.
16509 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16510 causing use of <= assignments. Reported by Alex Reed.
16511 (verilog-read-decls): Fix triand, trior, wand, wor to be
16512 recognized by AUTOWIRE. Reported by Spencer Isaacson.
16513 (verilog-extended-complete-re): Support import "DPI-C" functions.
16514 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16515 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
16516 (verilog-insert-date, verilog-insert-year)
16517 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16518 Windows systems. Reported by Michael Potts.
16519 (verilog-read-module-name): Fix AUTOINST when the child module
16520 declaration's name is a tick define. Reported by Elliot Mednick.
16521 (verilog-read-decls): Fix V2K parameter bit subscripts getting
16522 passed to next parameter's definition. Reported by Bruce T.
16523 (verilog-read-decls): Fix detecting "parameter int" when using
16524 AUTOINSTPARAM. Reported by Bruce T.
16525 (verilog-goto-defun): Fix goto not finding modules unless first
16526 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
16527 (verilog-mode): Expand -f flag arguments on entry to mode so
16528 verilog-goto-defun will work. Reported by Lawrence Butcher.
16529 (verilog-getopt): Expand environment variables in -f file
16530 arguments. Suggested by Lawrence Butcher.
16531 (verilog-set-define): Fix "Symbol's value as variable is void"
16532 when reading enumerations.
16533 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16534 Suggested by Stephen Peltan.
16535 (verilog-read-defines): Fix reading of enumerations in include
16536 files. Reported by Steve Peltan.
16538 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16540 * files.el (trash-directory): Fix defcustom type.
16542 2009-06-28 Juri Linkov <juri@jurta.org>
16544 * help-fns.el (describe-function-1): Correctly locate adviced
16545 functions in hyperlink (Bug#2438).
16547 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
16549 * files.el (trash-directory): Change default to nil.
16550 (move-file-to-trash): If trash-directory is nil and
16551 system-move-file-to-trash is unbound, perform freedesktop-style
16554 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16556 * files.el (move-file-to-trash): Add freedesktop trash
16559 2009-06-28 Glenn Morris <rgm@gnu.org>
16561 * autorevert.el (global-auto-revert-non-file-buffers)
16562 (global-auto-revert-mode): Doc fixes.
16564 2009-06-27 Johan Bockgård <bojohan@gnu.org>
16566 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16568 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
16570 * faces.el (x-handle-named-frame-geometry): Ensure that we have
16571 opened an X connection before calling x-get-resource (Bug#3194).
16573 * play/doctor.el: Remove reference to obsolete website.
16574 (make-doctor-variables): Correct grammar mistake (Bug#2633).
16576 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
16578 Remove find-file-not-found-hook VC method. (Bug#2757)
16579 * vc-hooks.el (vc-file-not-found-hook)
16580 (vc-default-find-file-not-found-hook): Remove functions.
16581 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16582 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16585 * vc-git.el: Do not mention find-file-not-found-hook VC method.
16587 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
16589 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16590 compatibility function for `looking-back'.
16592 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16593 Use `ispell-looking-back'.
16595 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
16597 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16598 rather than `filename'.
16600 2009-06-23 Miles Bader <miles@gnu.org>
16602 * face-remap.el (text-scale-set): New function.
16604 2009-06-23 Glenn Morris <rgm@gnu.org>
16606 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16608 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16610 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16612 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16614 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16615 Simplify Persian conditionals.
16617 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16618 variable `filename'.
16620 * comint.el (comint-insert-input): Doc fix.
16622 * Makefile.in (ELCFILES): Fix typo in previous change.
16624 2009-06-23 Miles Bader <miles@gnu.org>
16626 * cus-start.el: Add entry for `recenter-redisplay'.
16628 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16630 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16631 Add an optional argument for the backend, use it instead of
16632 calling vc-backend.
16633 (vc-mode-line): Add an optional argument for the backend.
16634 Pass the backend to vc-state and vc-working-revision. Move code for
16635 special handling for vc-state being a buffer to ...
16637 * vc-rcs.el (vc-rcs-find-file-hook):
16638 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
16640 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16641 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16642 vc-stay-local-p and vc-mode-line calls.
16644 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16645 (vc-cvs-diff, vc-cvs-annotate-command)
16646 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16647 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16648 vc-mode-line calls.
16650 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16652 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16653 backend when calling vc-mode-line.
16654 (vc-register): Do not create a closure for calling the vc register
16655 function, call it directly.
16657 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16659 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16660 to make it obvious item can be clicked.
16662 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16664 2009-06-23 Kenichi Handa <handa@m17n.org>
16666 * language/korea-util.el (korean-key-bindings): Change the binding
16667 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
16670 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
16672 Sync with Tramp 2.1.16.
16674 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16676 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
16677 when a loading of a package fails. Completion function for rsync
16678 is `tramp-completion-function-alist-ssh'.
16679 (all): Replace all calls of `split-string' and
16680 `tramp-split-string' by `tramp-compat-split-string'.
16681 (tramp-default-method): Use `tramp-compat-process-running-p'.
16682 (tramp-default-proxies-alist): Allow also Lisp forms.
16683 (tramp-remote-path): Add choice "Private Directories".
16684 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16685 (tramp-domain-regexp): Allow also "-", "_" and ".".
16686 (tramp-end-of-output): Remove newlines, and add "$" at the end.
16687 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16688 (tramp-debug-message): Insert header line in debug buffer.
16689 (tramp-handle-directory-files-and-attributes-with-stat):
16690 Care about filenames with spaces, or starting with "-".
16691 (tramp-handle-dired-uncache): New defun.
16692 (tramp-handle-insert-directory): Don't flush the directory from
16693 cache, this is handled by `dired-uncache' now.
16694 (tramp-handle-insert-file-contents): Improve error handling.
16695 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16696 Quote `tramp-end-of-output'.
16697 (tramp-action-password): Improve trace message.
16698 (tramp-check-for-regexp): Both echoes must be present, before removing.
16699 (tramp-open-connection-setup-interactive-shell): Trace coding system.
16700 (tramp-compute-multi-hops): Eval cons cells of
16701 `tramp-default-proxies-alist'.
16702 (tramp-maybe-open-connection): Use the same command pattern for
16703 first hop and further hops.
16704 (tramp-wait-for-output): Remove handling of newlines.
16705 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16706 (tramp-split-string): Remove function. It is handled in
16709 * net/tramp-cmds.el (tramp-bug):
16710 Recommend `tramp-cleanup-all-connections' in the bug mail.
16712 * net/tramp-compat.el (tramp-compat-split-string)
16713 (tramp-compat-process-running-p): New defuns.
16715 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16716 for `dired-uncache'.
16718 * net/tramp-gvfs.el: New package.
16720 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16721 Add handler for `dired-uncache'.
16722 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16724 * net/trampver.el: Update release number. Make version check fit
16727 2009-06-22 Jim Meyering <meyering@redhat.com>
16729 Automatically handle .xz suffix (XZ-compressed files), too.
16730 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16731 XZ is the successor to LZMA: <http://tukaani.org/xz/>
16733 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
16734 Nick Roberts <nickrob@snap.net.nz>
16736 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16737 repository (http://sphinx.net.ru/hg/gdb-mi/).
16739 2009-06-22 Glenn Morris <rgm@gnu.org>
16741 * files.el (dir-locals-collect-mode-variables): Allow for any number of
16742 `mode' and `eval' entries. (Bug#3430)
16744 * Makefile.in (ELCFILES): Add fadr.elc.
16746 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16747 differing behavior of \n and ^ in strings. (Bug#3385)
16749 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16751 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16753 (lisp-indent-function): Make it a defcustom.
16755 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
16757 * progmodes/gdb-ui.el: Replace with ...
16758 * progmodes/gdb-mi.el: ... this file.
16759 * progmodes/gud.el: Modify for gdb-mi.el.
16761 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
16763 * fadr.el: New file.
16765 See ChangeLog.14 for earlier changes.
16767 ;; Local Variables:
16771 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
16773 This file is part of GNU Emacs.
16775 GNU Emacs is free software: you can redistribute it and/or modify
16776 it under the terms of the GNU General Public License as published by
16777 the Free Software Foundation, either version 3 of the License, or
16778 (at your option) any later version.
16780 GNU Emacs is distributed in the hope that it will be useful,
16781 but WITHOUT ANY WARRANTY; without even the implied warranty of
16782 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16783 GNU General Public License for more details.
16785 You should have received a copy of the GNU General Public License
16786 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
16788 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1