1 2010-09-08 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4 Ignore dir-locals-file.
6 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10 (compilation-error-regexp-alist-alist): Rule out ": " in file names
11 for the `gnu' messages.
12 (compilation-set-skip-threshold): New command.
13 (compilation-start): Use \' rather than $.
14 (compilation-forget-errors): Use clrhash.
16 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
18 * textmodes/ispell.el (ispell-valid-dictionary-list):
21 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
23 Migrate to Tramp 2.2. Rearrange load dependencies.
24 (Bug#1529, Bug#5448, Bug#5705)
26 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
27 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
28 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
30 * net/tramp.el (top): Remove all other tramp-* loads except
31 tramp-compat.el. Remove all changes to tramp-unload-hook for
32 other tramp-* packages. Rearrange defun order. Change calls of
33 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
34 `tramp-compat-octal-to-decimal' to new function names.
35 (tramp-terminal-type, tramp-initial-end-of-output)
36 (tramp-methods, tramp-foreign-file-name-handler-alist)
37 (tramp-tramp-file-p, tramp-completion-mode-p)
38 (tramp-send-command-and-check, tramp-get-remote-path)
39 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
40 (tramp-shell-quote-argument): Set tramp-autoload cookie.
41 (with-file-property, with-connection-property): Move to
43 (tramp-local-call-process, tramp-decimal-to-octal)
44 (tramp-octal-to-decimal): Move to tramp-compat.el.
45 (tramp-handle-shell-command): Do not require 'shell.
46 (tramp-compute-multi-hops): No special handling for tramp-gw-*
48 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
50 * net/tramp-cache.el (top): Require 'tramp. Add to
52 (tramp-cache-data, tramp-get-file-property)
53 (tramp-set-file-property, tramp-flush-file-property)
54 (tramp-flush-directory-property, tramp-get-connection-property)
55 (tramp-set-connection-property, tramp-flush-connection-property)
56 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
58 (with-file-property, with-connection-property): New defuns, moved
60 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
63 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
64 (tramp-version): Set tramp-autoload cookie.
66 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
67 changes to tramp-unload-hook for other tramp-* packages. Add to
69 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
70 (tramp-compat-call-process): New defuns, moved from tramp.el.
72 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
73 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
74 to `tramp-unload-hook'. Change call of
75 `tramp-compat-decimal-to-octal' to new function name.
76 (tramp-fish-method): Make it a defconst.
77 (tramp-fish-file-name-p): Make it a defsubst.
78 (tramp-fish-method, tramp-fish-file-name-handler)
79 (tramp-fish-file-name-p): Set tramp-autoload cookie.
81 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
82 `tramp-foreign-file-name-handler-alist'. Add to
84 (tramp-ftp-method): Make it a defconst.
85 (tramp-ftp-file-name-p): Make it a defsubst.
86 (tramp-ftp-method, tramp-ftp-file-name-handler)
87 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
89 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
90 `tramp-foreign-file-name-handler-alist'. Add to
91 `tramp-unload-hook'. Change checks, whether package can be
93 (tramp-gvfs-file-name-p): Make it a defsubst.
94 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
95 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
96 (tramp-gvfs-handle-file-directory-p): New defun.
97 (tramp-gvfs-file-name-handler-alist): Use it.
99 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
100 `tramp-foreign-file-name-handler-alist'. Add to
102 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
103 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
105 (tramp-gw-tunnel-method, tramp-gw-socks-method)
106 (tramp-gw-open-connection): Set tramp-autoload cookie.
108 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
109 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
110 to `tramp-unload-hook'. Change checks, whether package can be
112 (tramp-imap-file-name-p): Make it a defsubst.
113 (tramp-imap-method, tramp-imaps-method)
114 (tramp-imap-file-name-handler)
115 (tramp-imap-file-name-p): Set tramp-autoload cookie.
117 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
118 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
119 to `tramp-unload-hook'. Change checks, whether package can be
120 loaded. Change call of `tramp-compat-decimal-to-octal' to new
122 (tramp-smb-tunnel-method): Make it a defconst.
123 (tramp-smb-file-name-p): Make it a defsubst.
124 (tramp-smb-method, tramp-smb-file-name-handler)
125 (tramp-smb-file-name-p): Set tramp-autoload cookie.
127 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
128 (tramp-uuencode-region): Set tramp-autoload cookie.
130 * net/trampver.el (top) Add to `tramp-unload-hook'.
131 (tramp-version, tramp-bug-report-address): Set tramp-autoload
132 cookie. Update release number.
134 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
136 * textmodes/ispell.el (ispell-start-process): Make sure original
137 arg list is properly initialized (Bug#6993, Bug#6994).
139 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
141 * files.el (directory-abbrev-alist): Use \` as default regexp.
143 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
144 chars like - or ] (bug#6984).
145 (rx-any-condense-range): Explode 2-char ranges.
147 2010-09-06 Glenn Morris <rgm@gnu.org>
149 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
151 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
153 * textmodes/bibtex.el:
154 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
156 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
158 * net/imap.el (imap-message-map): Remove optional buffer parameter,
159 since no callers use it.
160 (imap-message-get): Ditto.
161 (imap-message-put): Ditto.
162 (imap-mailbox-map): Ditto.
163 (imap-mailbox-put): Ditto.
164 (imap-mailbox-get): Ditto.
165 (imap-mailbox-get): Revert last change for this function.
167 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
169 * net/imap.el (imap-fetch-safe): Remove function, and alter all
170 callers to use `imap-fetch' instead. According to the comments, this
171 should be safe, since all other IMAP clients use the 1:* syntax.
172 (imap-enable-exchange-bug-workaround): Remove.
173 (imap-debug): Remove -- doesn't seem very useful.
175 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
177 * net/imap.el (imap-log): New convenience function used throughout
178 instead of repeating the same code all over the place.
180 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
182 * mouse.el (mouse-save-then-kill): Save region to kill-ring
183 when mouse-drag-copy-region is non-nil (Bug#6956).
185 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
187 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
188 Improve regexps (Bug#6987).
189 (dired-sort-toggle): Search more robustly for -t flag.
191 * files.el (get-free-disk-space): Search more robustly for
192 "available" column. Suggested by Ehud Karni
193 <ehud@unix.mvs.co.il>.
195 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
197 * international/uni-bidi.el:
198 * international/uni-category.el:
199 * international/uni-combining.el:
200 * international/uni-decimal.el:
201 * international/uni-mirrored.el:
202 * international/uni-name.el: Regenerate.
204 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
206 * electric.el (electric-indent-post-self-insert-function):
207 Don't reindent with a sloppy indentation function.
209 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
210 border case in change-log-mode.
212 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
214 * progmodes/compile.el (compilation-error-regexp-alist-alist):
215 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
216 Recognize leading tab in gcc-include regexp. Ignore names with
217 leading "from" or "in" in gnu regexp (Bug#6937).
219 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
221 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
222 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
223 (ispell-start-process): Avoid setq and simplify logic.
224 (ispell-init-process): Setup kill-buffer-hook locally when needed.
225 (kill-buffer-hook): Don't use it globally with code that uses
226 expand-file-name since that may call kill-buffer via
227 code_conversion_restore.
229 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
231 * emacs-lisp/package.el (package-directory-list): Only call
232 file-name-nondirectory on a string.
234 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
236 * emacs-lisp/package.el (package--download-one-archive):
237 Ensure that archive-contents is valid before saving it.
238 (package-activate-1, package-mark-obsolete, define-package)
239 (package-compute-transaction, package-list-maybe-add): Use push.
241 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
243 Use SMIE's blink-paren for octave-mode.
244 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
245 Backslashes do not escape single-quotes, single-quotes do.
246 (octave-block-else-regexp, octave-block-end-regexp)
247 (octave-block-match-alist): Remove.
248 (octave-smie-bnf-table): New var, with old content.
249 (octave-smie-op-levels): Use it.
250 (octave-smie-closer-alist): New var.
251 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
252 (octave-blink-matching-block-open): Remove.
253 (octave-reindent-then-newline-and-indent, octave-electric-semi)
254 (octave-electric-space): Let self-insert-command run expand-abbrev and
257 * electric.el (electricity): New group.
258 (electric-indent-chars): New var.
259 (electric-indent-post-self-insert-function): New fun.
260 (electric-indent-mode): New minor mode.
261 (electric-pair-skip-self): New custom.
262 (electric-pair-post-self-insert-function): New function.
263 (electric-pair-mode): New minor mode.
265 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
266 calcAlg-blink-matching-open.
267 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
268 (calc-do-alg-entry): Only touch the part of the keymap that varies.
269 Use the new blink-matching-check-function.
271 Provide blink-matching support to SMIE.
272 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
273 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
274 (smie-blink-matching-check, smie-blink-matching-open): New functions.
276 * simple.el (newline): Fix last change to properly remove itself from
279 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
281 * simple.el (newline): Eliminate optimization.
282 Use post-self-insert-hook to set hard-newline and things before
283 running post-self-insert-hook.
284 (blink-matching-check-mismatch): New function.
285 (blink-matching-check-function): New variable.
286 (blink-matching-open): Use them.
287 Skip back forward over prefix chars skipped by forward-sexp.
288 Don't check if the parens are backslash escaped.
289 (blink-paren-post-self-insert-function): Check backslash escaping here.
291 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
293 * emacs-lisp/package.el (package-menu-mode-map):
294 Change package-menu-revert bindings to revert-buffer.
295 (package-menu-mode): Set revert-buffer-function.
296 (package-menu-revert): Doc fix.
298 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
300 * textmodes/ispell.el (ispell-init-process): Use "~/" as
301 `default-directory' unless using Ispell per-directory personal
302 dictionaries and not in a mini-buffer under XEmacs.
303 (kill-buffer-hook): Do not kill ispell process on exit when
304 `ispell-process-directory' is "~/". (Bug#6143)
306 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
308 * simple.el (kill-new): Call interprogram-cut-function with only
311 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
312 Remove cut buffer from error message.
314 * term/x-win.el (x-select-text):
315 * term/pc-win.el (x-selection-value):
316 * term/ns-win.el (x-selection-value):
318 * w32-fns.el (x-get-selection-value):
319 * mouse-sel.el (mouse-sel-set-selection-function):
320 * frame.el (display-selections-p): Remove cut-buffer in documentation.
322 * term/x-win.el: Update documentation for x-last-selected-text-*.
323 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
324 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
325 (x-select-text): Remove argument PUSH, update documentation. Remove
327 (x-selection-value-internal): Was previously x-selection-value.
328 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
329 Update documentation, remove cut-buffer code. Call
330 x-selection-value-internal.
331 (x-clipboard-yank): Call x-selection-value-internal.
332 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
334 * term/pc-win.el (x-last-selected-text):
335 x-cut-buffer-or-selection-value renamed to x-selection-value
336 (x-select-text): Remove argument PUSH, update documentation.
338 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
339 x-cut-buffer-or-selection-value renamed to x-selection-value
340 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
341 (x-select-text): Remove argument PUSH, update documentation.
343 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
345 * w32-fns.el (x-last-selected-text):
346 x-cut-buffer-or-selection-value renamed to x-selection-value.
347 (x-cut-buffer-max): Remove.
348 (x-select-text): Remove argument PUSH, update documentation.
350 * simple.el (interprogram-cut-function): Remove mention of PUSH.
352 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
354 * mouse-sel.el (mouse-sel-get-selection-function):
355 x-cut-buffer-or-selection-value renamed to x-selection-value.
356 (x-select-text): Remove optional push.
358 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
360 * simple.el (blink-paren-function): Move from C to here.
361 (blink-paren-post-self-insert-function): New function.
362 (post-self-insert-hook): Use it.
364 * emacs-lisp/pcase.el (pcase-split-memq):
365 Fix overenthusiastic optimisation.
366 (pcase-u1): Handle the case of a lambda pred.
368 2010-08-31 Kenichi Handa <handa@m17n.org>
370 * international/mule-cmds.el (standard-display-european-internal):
371 Setup standard-display-table for 8-bit characters by storing 8-bit
372 characters in the element vector.
374 * disp-table.el (standard-display-8bit): Setup
375 standard-display-table for 8-bit characters by storing 8-bit
376 characters in the element vector.
377 (standard-display-european): Likewise.
379 2010-08-31 Masatake YAMATO <yamato@redhat.com>
381 * textmodes/nroff-mode.el (nroff-view): New command.
382 (nroff-mode-map): Bind it to C-c C-c.
384 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
386 * emacs-lisp/smie.el (smie-down-list): New command.
388 Remove old indentation and navigation code on octave-mode.
389 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
390 smie-down-list rather than add a binding for octave-down-block.
391 (octave-mark-block, octave-blink-matching-block-open):
392 Rely on forward-sexp-function.
393 (octave-fill-paragraph): Don't narrow, so you can use
394 indent-according-to-mode.
395 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
396 (octave-in-block-p, octave-re-search-forward-kw)
397 (octave-re-search-backward-kw, octave-indent-calculate)
398 (octave-end-as-array-index-p, octave-block-end-offset)
399 (octave-scan-blocks, octave-forward-block, octave-backward-block)
400 (octave-down-block, octave-backward-up-block, octave-up-block)
401 (octave-before-magic-comment-p, octave-indent-line): Remove.
403 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
405 * emacs-lisp/package.el (package--read-archive-file): Just use
406 `read', to avoid copying an additional string.
407 (package-menu-mode): Set header-line-format here.
408 (package-menu-refresh, package-menu-revert): Signal an error if
409 not in the Package Menu.
410 (package-menu-package-list): New var.
411 (package--generate-package-list): Operate on the current buffer;
412 don't assume that it is *Packages*, since the user may rename it.
413 Allow persistent package listings and sort keys using
414 package-menu-package-list and package-menu-package-sort-key.
415 (package-menu--version-predicate): Fix version calculation.
416 (package-menu-sort-by-column): Don't select the window.
417 (package--list-packages): Create the *Packages* buffer.
418 Set package-menu-package-list-key.
419 (list-packages): Sorting by status is now the default.
420 (package-buffer-info): Use match-string-no-properties.
421 (define-package): Add a &rest argument for future proofing, but
423 (package-install-from-buffer, package-install-buffer-internal):
424 Merge into a single function, package-install-from-buffer.
425 (package-install-file): Change caller.
427 * finder.el: Load finder-inf using `require'.
428 (finder-list-matches): Sorting by status is now the default.
429 (finder-compile-keywords): Simpify printing.
431 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
433 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
434 (octave-mode-map): Remove special bindings for forward/backward-block
435 and octave-backward-up-block. Use smie-close-block.
436 (octave-continuation-marker-regexp): New var.
437 (octave-continuation-regexp): Use it.
438 (octave-operator-table, octave-smie-op-levels)
439 (octave-operator-regexp, octave-smie-indent-rules): New vars.
440 (octave-smie-backward-token, octave-smie-forward-token): New funs.
441 (octave-mode): Use SMIE.
442 (octave-close-block): Delete.
444 2010-08-30 Eli Zaretskii <eliz@gnu.org>
446 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
447 CLIPBOARD, not in PRIMARY. (Bug#6944)
449 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
451 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
453 (smie-indent-column): Allow indirection through variables.
455 * composite.el (save-buffer-state): Delete, unused.
456 * font-lock.el (save-buffer-state): Use with-silent-modifications.
457 (font-lock-default-fontify-region): Use with-syntax-table.
458 * jit-lock.el (with-buffer-unmodified): Remove.
459 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
461 Use `declare' in defmacros.
462 * window.el (save-selected-window):
463 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
464 * progmodes/python.el (def-python-skeleton):
465 * net/dbus.el (dbus-ignore-errors):
466 * jka-cmpr-hook.el (with-auto-compression-mode):
467 * international/mule.el (with-category-table):
468 * emacs-lisp/timer.el (with-timeout):
469 * emacs-lisp/lisp-mnt.el (lm-with-file):
470 * emacs-lisp/eieio.el (with-slots):
471 * emacs-lisp/easymenu.el (easy-menu-define):
472 * emacs-lisp/debug.el (debugger-env-macro):
473 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
474 (Multiple-value-call, Multiple-value-prog1):
475 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
476 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
477 edebug rule to definition.
478 * emacs-lisp/lisp-mode.el (save-selected-window)
479 (with-current-buffer, combine-after-change-calls)
480 (with-output-to-string, with-temp-file, with-temp-buffer)
481 (with-temp-message, with-syntax-table, read-if, eval-after-load)
482 (dolist, dotimes, when, unless):
483 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
485 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
487 * finder.el: Require `package'.
488 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
489 (finder-package-info): Var deleted.
490 (finder-keywords-hash, finder--builtins-alist): New vars.
491 (finder-compile-keywords): Compute package--builtins and
492 finder-keywords-hash instead of finder-keywords-hash, respecting
493 the "Package" header.
494 (finder-unknown-keywords, finder-list-matches):
495 Use finder-keywords-hash and package--list-packages.
496 (finder-mode): Don't set font-lock-defaults.
497 (finder-exit): We don't use "*Finder-package*" and "*Finder
498 Category*" buffers anymore.
500 * emacs-lisp/package.el (package--builtins-base): Var deleted.
501 (package--builtins): Set default value to nil.
502 (package-initialize): Load precomputed value of package--builtins
504 (package-alist, package-compute-transaction)
505 (package-download-transaction): Improve docstring.
506 (package-read-all-archive-contents): Do not change
507 package--builtins here.
508 (list-packages): Make package-list-packages an alias for this.
509 Sort by status by default.
510 (package--list-packages): Add optional PACKAGES arg.
511 (describe-package-1): Use font-lock-face property. For built-in
512 packages, insert file commentary.
513 (package--generate-package-list): Rename from
514 package-list-packages-internal; all callers changed. Add optional
515 PACKAGES arg. Add alphabetical sort fallbacks.
516 (package-menu--version-predicate, package-menu--status-predicate)
517 (package-menu--description-predicate)
518 (package-menu--name-predicate): New functions.
520 * info.el (Info-finder-find-node): Search package-alist instead of
523 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
525 * subr.el (version-regexp-alist): Don't use "a" and "b" for
527 (version-to-list): Handle versions like "10.3d".
529 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
531 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
532 (macroexp-accumulate): Use `declare'.
534 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
536 * whitespace.el (whitespace-style): Adjust type declaration.
538 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
540 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
541 empty argument to gvfs-copy.
543 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
545 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
546 handle new TRASH arg of `delete-file'.
548 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
550 * net/tramp.el (tramp-handle-insert-directory): Don't use
551 `forward-word', its default syntax could be changed.
553 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
554 Michael Albinus <michael.albinus@gmx.de>
556 Implement compression for inline methods.
558 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
559 (tramp-copy-size-limit): Allow also nil.
560 (tramp-inline-compress-commands): New defconst.
561 (tramp-find-inline-compress, tramp-get-inline-compress)
562 (tramp-get-inline-coding): New defuns.
563 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
564 replaced by `tramp-get-inline-coding'.
565 (tramp-handle-file-local-copy, tramp-handle-write-region)
566 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
568 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
570 Detect ssh 'ControlMaster' argument automatically in some cases.
572 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
573 (tramp-default-method): Use it.
575 2010-08-26 Karel Klíč <kklic@redhat.com>
577 * net/tramp.el (tramp-file-name-for-operation):
578 Add file-selinux-context.
580 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
582 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
584 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
586 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
589 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
591 * progmodes/js.el: Make indentation more customizable (Bug#6914).
592 (js-paren-indent-offset, js-square-indent-offset)
593 (js-curly-indent-offset): New options.
594 (js--proper-indentation): Use them.
596 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
598 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
599 instead of inspecting font-lock properties (Bug#6916).
601 2010-08-26 David Reitter <david.reitter@gmail.com>
603 * server.el (server-visit-files): Run pre-command-hook and
604 post-command-hook for each buffer while it is current
606 (server-execute): Do not run hooks here.
608 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
610 Sync with Tramp 2.1.19.
612 * net/tramp-cmds.el (tramp-cleanup-all-connections)
613 (tramp-reporter-dump-variable, tramp-load-report-modules)
614 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
615 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
617 * net/tramp-compat.el (top): Do not autoload
618 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
619 only when `start-file-process' is not bound.
620 (byte-compile-not-obsolete-vars): Define if not bound.
621 (tramp-compat-funcall): New defmacro.
622 (tramp-compat-line-beginning-position)
623 (tramp-compat-line-end-position)
624 (tramp-compat-temporary-file-directory)
625 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
626 (tramp-compat-copy-file, tramp-compat-copy-directory)
627 (tramp-compat-delete-file, tramp-compat-delete-directory)
628 (tramp-compat-number-sequence, tramp-compat-process-running-p):
630 (tramp-advice-file-expand-wildcards): Do not use
631 `tramp-handle-file-remote-p'.
632 (tramp-compat-make-temp-file): Simplify fallback implementation.
633 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
634 (tramp-compat-copy-tree): Remove function.
635 (tramp-compat-delete-file): New defun.
636 (tramp-compat-delete-directory): Provide implementation for older
638 (tramp-compat-file-attributes): Handle only
639 `wrong-number-of-arguments' error.
641 * net/tramp-fish.el (tramp-fish-handle-copy-file): Add
642 PRESERVE_SELINUX_CONTEXT.
643 (tramp-fish-handle-delete-file): Add TRASH arg.
644 (tramp-fish-handle-directory-files-and-attributes):
645 Do not use `tramp-fish-handle-file-attributes.
646 (tramp-fish-handle-file-local-copy)
647 (tramp-fish-handle-insert-file-contents)
648 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
650 * net/tramp-gvfs.el (top): Require url-util.
651 (tramp-gvfs-mount-point): Remove.
652 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
653 and `set-file-selinux-context'.
654 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
655 (tramp-gvfs-handle-file-selinux-context)
656 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
657 (with-tramp-dbus-call-method): Format trace message.
658 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
659 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
660 Implement backup call, when operation on local files fails. Use
661 progress reporter. Flush properties of changed files.
662 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
663 `tramp-compat-delete-file'.
664 (tramp-gvfs-handle-expand-file-name): Expand "~/".
665 (tramp-gvfs-handle-make-directory): Make more traces.
666 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
667 (tramp-gvfs-url-file-name): Hexify file name in url.
668 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
669 into account for the resulting file name.
670 (tramp-gvfs-handler-askquestion): Preserve current message, in
671 order to let progress reporter continue afterwards. (Bug#6257)
672 Return dummy mountpoint, when the answer is "no". See
673 `tramp-gvfs-maybe-open-connection'.
674 (tramp-gvfs-handler-mounted-unmounted)
675 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
676 attribute "default_location". Set "prefix" property. Handle
678 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
679 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
680 exists. Raise an error, if not (due to a corresponding answer
681 "no" in interactive questions, for example). Use
682 `tramp-compat-funcall'.
684 * net/tramp-imap.el (top): Autoload `epg-make-context'.
685 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
686 (tramp-imap-do-copy-or-rename-file)
687 (tramp-imap-handle-insert-file-contents)
688 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
689 (tramp-imap-handle-delete-file): Add TRASH arg.
691 * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
692 PRESERVE-SELINUX-CONTEXT.
693 (tramp-smb-handle-copy-file)
694 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
695 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
696 Use `with-progress-reporter'.
697 (tramp-smb-handle-delete-file): Add TRASH arg.
699 * net/tramp.el (tramp-methods): Move hostname to the end in all
700 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
702 (tramp-verbose): Describe verbose level 9.
703 (tramp-completion-function-alist)
704 (tramp-file-name-regexp, tramp-chunksize)
705 (tramp-local-coding-commands, tramp-remote-coding-commands)
706 (with-connection-property, tramp-completion-mode-p)
707 (tramp-action-process-alive, tramp-action-out-of-band)
708 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
709 (tramp-exists-file-name-handler): Fix docstring.
710 (tramp-remote-process-environment): Use `format' instead of
711 `concat'. Protect version string by apostroph.
712 (tramp-shell-prompt-pattern): Do not use a shy group in case of
714 (tramp-file-name-regexp-unified)
715 (tramp-completion-file-name-regexp-unified): On W32 systems, do
716 not regard the volume letter as remote filename. (Bug#5447)
717 (tramp-perl-file-attributes)
718 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
719 (tramp-vc-registered-read-file-names): Read input as
720 here-document, otherwise the command could exceed maximum length
722 (tramp-file-name-handler-alist): Add `file-selinux-context' and
723 `set-file-selinux-context'.
724 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
726 (tramp-error-with-buffer): Don't show the connection buffer when
727 we are in completion mode.
728 (tramp-progress-reporter-update, tramp-remote-selinux-p)
729 (tramp-handle-file-selinux-context)
730 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
731 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
733 (with-progress-reporter): New defmacro.
734 (tramp-debug-outline-regexp): New defconst.
735 (top, tramp-rfn-eshadow-setup-minibuffer)
736 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
737 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
738 (tramp-completion-mode-p, tramp-check-for-regexp)
739 (tramp-open-connection-setup-interactive-shell)
740 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
741 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
742 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
743 Use `tramp-compat-funcall'.
744 (tramp-handle-make-symbolic-link): Flush file properties.
745 (tramp-handle-load, tramp-handle-file-local-copy)
746 (tramp-handle-insert-file-contents, tramp-handle-write-region)
747 (tramp-handle-vc-registered, tramp-maybe-send-script)
748 (tramp-find-shell): Use `with-progress-reporter'.
749 (tramp-do-file-attributes-with-stat): Add space in format string,
750 in order to work around a bug in pdksh. Reported by Gilles Pion
752 (tramp-handle-verify-visited-file-modtime): Do not send a command
753 when the connection is not established.
754 (tramp-handle-set-file-times): Simplify the check for utc.
755 (tramp-handle-directory-files-and-attributes)
756 (tramp-get-remote-path): Use `copy-tree'.
757 (tramp-completion-handle-file-name-all-completions): Ensure, that
758 non remote files are still checked. Oops.
759 (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
760 PRESERVE-SELINUX-CONTEXT.
761 (tramp-do-copy-or-rename-file): Add progress reporter.
762 (tramp-do-copy-or-rename-file-directly): Do not use
763 `tramp-handle-file-remote-p'.
764 (tramp-do-copy-or-rename-file-out-of-band):
765 Use `tramp-compat-delete-directory'.
766 (tramp-do-copy-or-rename-file-out-of-band)
767 (tramp-compute-multi-hops, tramp-maybe-open-connection):
768 Use `format-spec-make'.
769 (tramp-handle-delete-file): Add TRASH arg.
770 (tramp-handle-dired-uncache): Flush directory cache, not only file
772 (tramp-handle-expand-file-name)
773 (tramp-completion-handle-file-name-all-completions)
774 (tramp-completion-handle-file-name-completion): Use
775 `tramp-connectable-p'.
776 (tramp-handle-start-file-process): Set connection property "vec".
777 Use it, in order to invalidate file caches. Check only for
778 `remote-tty' process property.
779 Implement tty setting. (Bug#4604, Bug#6360)
780 (tramp-file-name-for-operation): Add `call-process-region' and
781 `set-file-selinux-context'.
782 (tramp-find-foreign-file-name-handler)
783 (tramp-advice-make-auto-save-file-name)
784 (tramp-set-auto-save-file-modes): Remove superfluous check for
785 `stringp'. This is done inside `tramp-tramp-file-p'.
786 (tramp-file-name-handler): Trace 'quit. Catch the error for some
787 operations when we are in completion mode. This gives the user
788 the chance to correct the file name in the minibuffer.
789 (tramp-completion-mode-p): Use `non-essential'.
790 (tramp-handle-file-name-all-completions): Backward/ XEmacs
791 compatibility: Use `completion-ignore-case' if
792 `read-file-name-completion-ignore-case' does not exist.
793 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
794 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
796 (tramp-action-password): Hide password prompt before next run.
797 (tramp-process-actions): Widen connection buffer for the trace.
798 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
799 process property. Trace stty settings if `tramp-verbose' >= 9.
800 Apply workaround for IRIX64 bug. Move argument of last
801 `tramp-send-command' where it belongs to.
802 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
803 front of `login-args'.
804 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
805 on "/dev/null" instead of "/".
806 (tramp-get-ls-command-with-dired): Make test for "--dired"
808 (tramp-set-auto-save-file-modes): Adapt version check.
809 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
810 (tramp-handle-process-file): Call the program in a subshell, in
811 order to preserve working directory.
812 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
813 `tramp-remote-sh' from `tramp-methods'.
814 (tramp-get-ls-command): Make test for "--color=never" stronger.
815 (tramp-check-for-regexp): Use (forward-line 1).
817 * net/trampver.el: Update release number.
819 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
821 * help.el (help-map): Bind `C-h P' to describe-package.
823 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
825 * emacs-lisp/package.el (package-refresh-contents): Catch errors
826 when downloading archives.
827 (describe-package-1): Add package commentary.
828 (package-install-button-action): New function.
829 (package-menu-mode-map): Bind ? to package-menu-describe-package.
830 (package-menu-view-commentary): Function removed.
831 (package-list-packages-internal): Hide the `package' package too.
833 2010-08-25 Kenichi Handa <handa@m17n.org>
835 * language/misc-lang.el ("Arabic"): New language environment.
836 Setup composition-function-table for Arabic characters.
838 * international/fontset.el (setup-default-fontset): Fix typo for
839 arabic OTF spec (fini->fina).
841 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
843 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
846 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
848 * whitespace.el: Allow cleaning up blanks without blank
849 visualization (Bug#6651). Adjust help window for
850 whitespace-toggle-options (Bug#6479). Allow to use fill-column
851 instead of whitespace-line-column (from EmacsWiki). New version
853 (whitespace-style): Added new value 'face. Adjust docstring.
854 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
855 foreground property face.
856 (whitespace-line-column): Adjust docstring and type declaration.
857 (whitespace-style-value-list, whitespace-toggle-option-alist)
858 (whitespace-help-text): Adjust const initialization.
859 (whitespace-toggle-options, global-whitespace-toggle-options):
861 (whitespace-display-window, whitespace-interactive-char)
862 (whitespace-style-face-p, whitespace-color-on): Adjust code.
863 (whitespace-help-scroll): New fun.
865 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
867 * emacs-lisp/package.el (list-packages): Alias for
868 package-list-packages.
870 2010-08-24 Kevin Ryde <user42@zip.com.au>
872 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
875 * progmodes/ruby-mode.el (ruby): Add defgroup.
877 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
879 * progmodes/python.el: Add Ipython support (Bug#5390).
880 (python-shell-prompt-alist)
881 (python-shell-continuation-prompt-alist): New options.
882 (python--set-prompt-regexp): New function.
883 (inferior-python-mode, run-python, python-shell): Require
884 ansi-color. Use python--set-prompt-regexp to set the comint
885 prompt based on the Python interpreter.
886 (python--prompt-regexp): New var.
887 (python-check-comint-prompt)
888 (python-comint-output-filter-function): Use it.
889 (run-python): Use a pipe (Bug#5694).
891 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
893 * progmodes/python.el (python-send-region): Send a different
894 Python command if Ipython is in use.
895 (python-check-version): Use a Python command to find the version.
897 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
899 * mouse.el (mouse-yank-primary): Avoid setting primary when
900 deactivating the mark (Bug#6872).
902 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
904 * progmodes/python.el (python-block-pairs): Allow use of "finally"
905 with "else" (Bug#3991).
907 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
909 * net/dbus.el: Accept UNIX domain sockets as bus address.
910 (top): Don't initialize `dbus-registered-objects-table' anymore,
911 this is done in dbusbind,c.
912 (dbus-check-event): Adapt test for bus.
913 (dbus-return-values-table, dbus-unregister-service)
914 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
917 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
919 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
921 2010-08-22 Juri Linkov <juri@jurta.org>
923 * simple.el (read-extended-command): New function with the logic
924 for `completing-read' moved to Elisp from `execute-extended-command'.
925 Use `function-called-at-point' in `minibuffer-default-add-function'
926 to get a command name for M-n (bug#5364, bug#5214).
928 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
930 * startup.el (command-line-1): Issue warning for ignored arguments
931 --unibyte, etc (Bug#6886).
933 2010-08-22 Leo <sdl.web@gmail.com>
935 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
936 (ignore, bright, dim, keyword): Split list of nicknames before
937 passing to rcirc-add-or-remove (Bug#6894).
939 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
941 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
943 2010-08-22 Leo <sdl.web@gmail.com>
945 Fix buffer-list rename&refresh after killing a buffer in ido.
946 * lisp/ido.el: Revert Óscar's.
947 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
948 Remember the buffers at head, rather than their name.
949 * lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.
951 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
952 Stefan Monnier <monnier@iro.umontreal.ca>
954 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
955 extra backslash added to each line (bug#6890).
957 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
959 * subr.el (read-key): Don't echo keystrokes (bug#6883).
961 2010-08-22 Glenn Morris <rgm@gnu.org>
963 * menu-bar.el (menu-bar-games-menu): Add landmark.
965 2010-08-22 Glenn Morris <rgm@gnu.org>
967 * align.el (align-regexp): Make group and spacing arguments
968 use the interactive defaults when non-interactive. (Bug#6698)
970 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
971 expansion, so as not to need sendmail.
972 (mail-text-start): Remove declaration.
973 (rmail-retry-failure): Require sendmail.
975 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
977 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
979 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
981 * progmodes/flymake.el (flymake-start-syntax-check-process):
982 Use `start-file-process' in order to let it run also on remote hosts.
984 2010-08-22 Kenichi Handa <handa@m17n.org>
986 * files.el: Add `word-wrap' as safe local variable.
988 2010-08-22 Glenn Morris <rgm@gnu.org>
990 * woman.el (woman-translate): Case matters. (Bug#6849)
992 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
994 * simple.el (kill-region): Doc fix (Bug#6787).
996 2010-08-22 Glenn Morris <rgm@gnu.org>
998 * calendar/diary-lib.el (diary-header-line-format):
999 Fit it to the window, not the frame.
1001 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
1003 * subr.el (ignore-errors): Add debug declaration.
1005 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
1007 * whitespace.el (whitespace-color-off): Remove post-command-hook
1010 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
1014 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1016 * cus-edit.el (custom-group-value-create): Add extra newline
1017 before end line (Bug#6876).
1019 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1021 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
1022 when extending it. Before killing on the second click, check if
1023 the buffer is the correct one. Doc fix.
1024 (mouse-secondary-save-then-kill): Allow usage without first
1025 calling mouse-start-secondary, by defaulting to point. Don't save
1026 an empty secondary selection. Doc fix.
1028 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1030 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
1031 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
1033 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
1034 Adjust initialization.
1035 (whitespace-bob-marker, whitespace-eob-marker)
1036 (whitespace-buffer-changed): New vars.
1037 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
1038 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1039 (whitespace-post-command-hook, whitespace-display-char-on):
1041 (whitespace-looking-back, whitespace-buffer-changed): New funs.
1042 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
1044 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * files.el (locate-file-completion-table): Only list the .el and .elc
1047 extensions if there's no other choice (bug#5955).
1049 * facemenu.el (facemenu-self-insert-data): New var.
1050 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
1052 (facemenu-add-face): Use them.
1054 * simple.el (blink-matching-open): Obey forward-sexp-function.
1056 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1058 * simple.el (prog-mode-map): New var.
1059 (prog-indent-sexp): New command.
1061 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
1063 * progmodes/prolog.el (smie): Require.
1065 * emacs-lisp/smie.el (smie-default-backward-token)
1066 (smie-default-forward-token): Strip properties.
1067 (smie-next-sexp): Be more careful with associative operators.
1068 (smie-forward-sexp-command): Generalize.
1069 (smie-backward-sexp-command): Simplify.
1070 (smie-closer-alist): New var.
1071 (smie-close-block): New command.
1072 (smie-indent-debug-log): New var.
1073 (smie-indent-offset-rule): Add a few more cases.
1074 (smie-indent-column): New function.
1075 (smie-indent-after-keyword): Use it.
1076 (smie-indent-keyword): Use it.
1077 Fix up the opener code's point position.
1078 (smie-indent-comment): Only applies at BOL.
1079 (smie-indent-debug): New command.
1081 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
1082 declarations that are useful before running the macro.
1084 2010-08-18 Joakim Verona <joakim@verona.se>
1086 * image.el (imagemagick-types-inhibit): New variable.
1087 (imagemagick-register-types): New function.
1088 * image-mode.el (image-transform-properties): New function.
1089 (image-transform-set-scale, image-transform-fit-to-height)
1090 (image-transform-set-rotation, image-transform-set-resize)
1091 (image-transform-fit-to-width, image-transform-fit-to-height):
1093 (image-toggle-display-image): Support image transforms.
1095 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
1097 * image.el (create-animated-image): Don't add heuristic mask to image
1100 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
1102 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
1103 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
1105 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
1107 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
1109 Font-lock '...' strings, plus various simplifications and fixes.
1110 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1111 (octave-font-lock-close-quotes): New function.
1112 (octave-font-lock-syntactic-keywords): New var.
1113 (octave-mode): Use it. Set beginning-of-defun-function.
1114 (octave-mode-map): Don't override the <foo>-defun commands.
1115 (octave-mode-menu): Pass it directly to easy-menu-define;
1116 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
1117 (octave-block-match-alist): Fix up last change so that
1118 octave-close-block uses the more specific keyword.
1119 (info-lookup-mode): Silence byte-compiler.
1120 (octave-beginning-of-defun): Not interactive any more.
1122 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
1123 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
1124 (octave-completion-at-point-function): Make sure point is within
1126 (octave-reindent-then-newline-and-indent):
1127 Use reindent-then-newline-and-indent.
1128 (octave-add-octave-menu): Remove.
1130 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
1132 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
1133 (report-emacs-bug-can-use-xdg-email): New functions.
1134 (report-emacs-bug): Set can-xdg-email to result of
1135 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
1136 \C-cm to report-emacs-bug-insert-to-mailer and add help text
1139 * net/browse-url.el (browse-url-default-browser): Add cond
1140 for browse-url-xdg-open.
1141 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
1143 2010-08-17 Glenn Morris <rgm@gnu.org>
1145 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
1146 (c-fontify-recorded-types-and-refs): Define for compiler.
1147 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
1150 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
1153 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
1155 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
1157 (tramp-handle-process-file): Call the program in a subshell, in
1158 order to preserve working directory.
1159 (tramp-action-password): Hide password prompt before next run.
1160 (tramp-process-actions): Widen connection buffer for the trace.
1162 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1164 * net/rcirc.el (rcirc-log-process-buffers): New option.
1165 (rcirc-print): Use it.
1166 (rcirc-generate-log-filename): New function.
1167 (rcirc-log-filename-function): Change default to
1168 rcirc-generate-log-filename (Bug#6828).
1170 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
1172 * simple.el (deactivate-mark): If select-active-regions is `only',
1173 only set selection for temporarily active regions.
1175 * cus-start.el: Change defcustom for select-active-regions.
1177 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
1179 * mouse.el (mouse--drag-set-mark-and-point): New function.
1180 (mouse-drag-track): Use LOCATION arg to push-mark.
1181 Use mouse--drag-set-mark-and-point to take click-count into
1182 consideration when updating point and mark (Bug#6840).
1184 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
1186 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1187 Give the Ruby rule a lower priority than Gnu (Bug#6778).
1189 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
1191 * font-lock.el (lisp-font-lock-keywords-2):
1192 Add combine-after-change-calls, condition-case-no-debug,
1193 with-demoted-errors, and with-silent-modifications (Bug#6025).
1195 2010-08-14 Kevin Ryde <user42@zip.com.au>
1197 * emacs-lisp/copyright.el (copyright-update-year)
1198 (copyright-update): Temporary switch-to-buffer to ensure the
1199 buffer change being queried is visible (Bug#5394).
1201 2010-08-14 Tom Tromey <tromey@redhat.com>
1203 * progmodes/etags.el (tags-file-name): Mark safe if stringp
1206 2010-08-14 Eli Zaretskii <eliz@gnu.org>
1208 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
1211 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
1213 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
1214 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
1215 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
1216 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
1217 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
1218 Call menu-bar-set-tool-bar-position.
1220 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1222 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
1223 comment style (bug#6834).
1224 * progmodes/scheme.el (scheme-mode-syntax-table):
1225 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
1226 "b" flag in "' 14b" syntax.
1228 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
1229 for (un)commenting the region and performing completion.
1230 (octave-mode-menu): Use standard commands for help and completion.
1231 (octave-mode-syntax-table): Support %{..%} comments (sort of).
1232 (octave-mode): Use define-derived-mode.
1233 Set completion-at-point-functions and don't set columns.
1234 Don't disable adaptive-fill-regexp.
1235 (octave-describe-major-mode, octave-comment-region)
1236 (octave-uncomment-region, octave-comment-indent)
1237 (octave-indent-for-comment): Remove.
1238 (octave-indent-calculate): Rename from calculate-octave-indent.
1239 (octave-indent-line, octave-fill-paragraph): Update caller.
1240 (octave-initialize-completions): No need to make an alist.
1241 (octave-completion-at-point-function): New function.
1242 (octave-complete-symbol): Use it.
1243 (octave-insert-defun): Use define-skeleton.
1245 * progmodes/octave-mod.el (octave-mode): Set comment-add.
1246 (octave-mode-map): Use comment-dwim (bug#6829).
1248 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
1250 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
1251 indentation of inserted comment.
1253 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1255 * faces.el (region): Add type gtk that uses gtk colors.
1257 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1258 Handle theme-name change.
1260 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
1262 * progmodes/sql.el: Version 2.5
1263 (sql-product-alist): Add :prompt-cont-regexp property for several
1265 (sql-prompt-cont-regexp): New variable.
1266 (sql-output-newline-count, sql-output-by-send):
1267 New variables. Record number of newlines in input text.
1268 (sql-send-string): Handle multiple filters and count newlines.
1269 (sql-send-magic-terminator): Count terminator newline.
1270 (sql-interactive-remove-continuation-prompt): Filters output to
1271 remove continuation prompts; one for each newline.
1272 (sql-interactive-mode): Set up new variables, prompt regexp and
1274 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
1275 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
1277 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * emacs-lisp/pcase.el: New file.
1281 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
1283 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
1284 as here-document, otherwise the command could exceed maximum
1285 length of command line.
1286 (tramp-handle-vc-registered): Call script accordingly.
1287 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
1289 2010-08-10 Kenichi Handa <handa@m17n.org>
1291 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
1294 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
1296 * emacs-lisp/package.el (package-version-split)
1297 (package--version-first-nonzero, package-version-compare):
1299 (package-directory-list, package-load-all-descriptors)
1300 (package--built-in, package-activate, define-package)
1301 (package-installed-p, package-compute-transaction)
1302 (package-read-all-archive-contents)
1303 (package--add-to-archive-contents, package-buffer-info)
1304 (package-tar-file-info, package-list-packages-internal):
1305 Use version-to-list and version-list-*.
1307 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1308 Use version-to-list.
1309 (package-upload-buffer-internal): Use version-list-<=.
1311 2010-08-09 Kenichi Handa <handa@m17n.org>
1313 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
1316 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
1318 * tutorial.el (tutorial--default-keys): C-d is now bound to
1319 delete-forward-char (Bug#6826).
1321 * mouse.el (mouse-drag-track): Remove accidentally-removed check
1322 for `double' value of mouse-1-click-follows-link (Bug#6807).
1324 2010-08-08 Johan Bockgård <bojohan@gnu.org>
1326 * replace.el (replace-highlight): Bind isearch-forward and
1327 isearch-error, ensuring that highlighting is updated if the user
1328 switches the search direction (Bug#6808).
1330 * isearch.el (isearch-lazy-highlight-forward): New var.
1331 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1332 (isearch-lazy-highlight-update): Use it.
1334 2010-08-08 Kenichi Handa <handa@m17n.org>
1336 * international/mule.el (define-charset): Store NAME as :base property.
1337 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
1338 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
1339 current priority. Force using the designation of the specific
1340 charset by adding `charset' text property. Improve the whole algorithm.
1342 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1344 * emulation/pc-select.el (pc-selection-mode-hook)
1345 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
1346 (pc-selection-mode): Fix typos in docstrings.
1348 2010-08-08 Kenichi Handa <handa@m17n.org>
1350 * language/cyrillic.el: Don't add "microsoft-cp1251" to
1351 ctext-non-standard-encodings-alist here.
1353 * international/mule.el (ctext-non-standard-encodings-alist):
1354 Add "koi8-r" and "microsoft-cp1251".
1355 (ctext-standard-encodings): New variable.
1356 (ctext-non-standard-encodings-table): List only elements for
1357 non-standard encodings.
1358 (ctext-pre-write-conversion): Adjust for the above change.
1359 Check ctext-standard-encodings.
1361 * international/mule-conf.el (compound-text): Doc fix.
1362 (ctext-no-compositions): Doc fix.
1363 (compound-text-with-extensions): Doc fix.
1365 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
1369 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1371 * progmodes/which-func.el (which-func-format): Split help-echo text
1372 into lines, like other mode-line tooltips.
1374 * server.el (server-start): When using TCP sockets, force IPv4
1375 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
1377 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
1381 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1383 * term.el (term-delimiter-argument-list): Reflow docstring.
1384 (term-read-input-ring, term-write-input-ring, term-send-input)
1385 (term-bol, term-erase-in-display, serial-supported-or-barf):
1386 Fix typos in docstrings.
1388 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
1392 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1394 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
1396 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
1398 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
1399 Fix typo in docstring (bug#6747).
1401 2010-08-08 Leo <sdl.web@gmail.com>
1403 * eshell/esh-io.el (eshell-get-target): Better detection of
1404 read-only file (Bug#6762).
1406 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1408 * align.el (align-default-spacing): Doc fix.
1409 (align-region-heuristic, align-regexp): Fix typos in docstrings.
1411 2010-08-08 Stephen Peters <speters@itasoftware.com>
1413 * calendar/icalendar.el
1414 (icalendar--split-value): Fixed splitting regexp. (Bug#6766)
1415 (icalendar--get-weekday-numbers): New
1416 (icalendar--convert-recurring-to-diary): Handle multiple byday
1417 values in weekly rules. (Bug#6766)
1419 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
1421 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
1422 (icalendar--create-uid, icalendar-export-region)
1423 (icalendar--parse-summary-and-rest): Code formatting.
1425 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1427 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
1428 to italicize headers.
1429 (calc-highlight-selections-with-faces): New variable.
1430 (calc-selected-face, calc-nonselected-face): New faces.
1432 * calc/calccomp.el (math-comp-highlight-string): Use
1433 `calc-highlight-selections-with-faces' to determine how to highlight
1436 * calc/calc-sel.el (calc-show-selections): Change message to when
1437 using faces to highlight selections.
1439 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
1441 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
1442 Add SQLite 3 keywords, functions and datatypes.
1443 (sql-interactive-mode): Remove `comint-process-echoes' set to t
1446 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
1448 * simple.el (select-active-regions): Move to keyboard.c.
1449 (deactivate-mark): Used saved-region-selection.
1450 (select-active-region): Function removed.
1451 (activate-mark, set-mark, push-mark-command)
1452 (handle-shift-selection): Don't call it.
1453 (keyboard-quit): Avoid adding the region to the window selection.
1455 * mouse.el (mouse-drag-track): Remove hacks to deal with old
1456 select-active-regions implementation.
1457 (mouse-yank-at-click): Doc fix.
1459 * cus-start.el: Add custom declaration for select-active-regions.
1461 2010-08-07 Eli Zaretskii <eliz@gnu.org>
1463 * simple.el (delete-forward-char): Doc fix.
1465 * tutorial.el (help-with-tutorial): Hack safe file-local variables
1466 after reading the tutorial.
1468 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
1470 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
1471 for the case that a C style comment has its delimiters alone on
1472 their respective lines.
1474 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
1476 * net/tramp.el (tramp-handle-start-file-process): Set connection
1478 (tramp-process-sentinel): Use it for flushing the cache. We
1479 cannot do it via the process buffer, the buffer could be deleted
1480 already when running the sentinel.
1482 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1484 * comint.el (comint-mode): Make directory tracking functions
1485 functional on remote files. (Bug#6764)
1487 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1489 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
1491 2010-08-05 Eli Zaretskii <eliz@gnu.org>
1493 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
1494 unexec.c => unexcoff.c.
1496 * emacs-lisp/authors.el (authors-fixed-entries): Rename
1497 unexec.c => unexcoff.c.
1499 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
1501 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
1502 cache, not only file cache.
1503 (tramp-process-sentinel): New defun.
1504 (tramp-handle-start-file-process): Use it, in order to invalidate
1507 2010-08-03 Leo <sdl.web@gmail.com>
1509 * server.el (server-start): Simplify loop.
1511 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1513 * frame.el (screen-height, screen-width, set-screen-width)
1514 (set-screen-height): Remove ancient compatibility aliases.
1516 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
1517 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
1519 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
1520 that change current buffer.
1522 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1524 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
1525 beginning of the string. Use `string-match-p'. (Bug#6765)
1527 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
1529 * cus-start.el (x-gtk-use-system-tooltips): New variable.
1531 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
1533 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
1534 (package--builtins): Tweak descriptions.
1535 (package-print-package): Upcase descriptions if necessary.
1536 Show all built-in packages in font-lock-builtin-face.
1537 (package-list-packages-internal): Omit "emacs" package.
1538 Show status of built-in packages as "built-in".
1540 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
1542 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
1543 before killing to preserve the primary selection (Bug#6701).
1545 * term/x-win.el (x-select-text): Doc fix.
1547 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
1549 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
1550 The following functions were modified or created:
1552 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
1553 (objc-font-lock-extra-types):
1554 * progmodes/cc-mode.el (c-basic-common-init):
1555 * progmodes/cc-langs.el (c-make-mode-syntax-table)
1556 (c++-make-template-syntax-table)
1557 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
1558 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
1559 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
1560 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
1561 * progmodes/cc-fonts.el (c-make-inverse-face)
1562 (c-basic-matchers-after):
1563 * progmodes/cc-engine.el (c-forward-keyword-clause)
1564 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
1565 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
1566 (c-guess-continued-construct, c-guess-basic-syntax):
1568 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
1570 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
1572 2010-07-31 Eli Zaretskii <eliz@gnu.org>
1574 * files.el (bidi-paragraph-direction): Define safe local values.
1576 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
1577 language-info-alist. Remove outdated FIXME in a comment.
1579 2010-07-31 Alan Mackenzie <acm@muc.de>
1581 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
1582 Auto-fill broken in C/C++ modes.
1584 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
1586 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
1587 (menu-bar-showhide-tool-bar-menu-customize-disable)
1588 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
1589 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
1590 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
1591 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
1592 make a menu for Options => toolbar that can move it.
1594 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
1596 * emacs-lisp/package-x.el (package--make-rss-entry):
1597 (package-maint-add-news-item, package--update-news)
1598 (package-upload-buffer-internal): New arg ARCHIVE-URL.
1600 * emacs-lisp/package.el (package-archive-url): Rename from
1602 (package-install): Doc fix.
1603 (package-download-single, package-download-tar, package-install)
1604 (package-menu-view-commentary): Callers changed.
1606 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
1608 * net/tramp.el (tramp-handle-start-file-process): Check only for
1609 `remote-tty' process property.
1610 (tramp-open-shell): Don't check for tty.
1611 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1614 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
1617 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
1619 * emacs-lisp/package.el (package-load-list, package-archives)
1620 (package-archive-contents, package-user-dir)
1621 (package-directory-list, package--builtins, package-alist)
1622 (package-activated-list, package-obsolete-alist): Mark as risky.
1624 2010-07-28 Phil Hagelberg <phil@evri.com>
1626 Add support for non-default package repositories.
1627 * emacs-lisp/package.el (package-archive-base): Var deleted.
1628 (package-archives): New variable.
1629 (package-archive-contents): Doc fix.
1630 (package-load-descriptor): Do nothing if descriptor file is missing.
1631 (package--write-file-no-coding): New function.
1632 (package-unpack-single): Use it.
1633 (package-archive-id): New function.
1634 (package-download-single, package-download-tar)
1635 (package-menu-view-commentary): Use it.
1636 (package-installed-p): Make second argument optional.
1637 (package-read-all-archive-contents): New function.
1638 (package-initialize): Use it.
1639 (package-read-archive-contents): Add ARCHIVE argument.
1640 (package--add-to-archive-contents): New function.
1641 (package-install): Don't call package-read-archive-contents.
1642 (package--download-one-archive): Store archive file in a
1643 subdirectory of package-user-dir.
1644 (package-menu-execute): Remove spurious line movement.
1646 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
1648 * cus-start.el (tool-bar-style): Add text-image-horiz.
1650 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
1652 * progmodes/gud.el (gud-common-init): Check for remoteness of
1653 `file', and not of `default-directory'.
1655 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
1657 * net/tramp.el (tramp-methods): Move hostname to the end in all
1658 ssh `tramp-login-args'.
1659 (tramp-verbose): Describe verbose level 9.
1660 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
1661 (tramp-open-connection-setup-interactive-shell): Trace stty
1662 settings if `tramp-verbose' >= 9.
1663 (tramp-handle-start-file-process): Implement tty setting.
1664 (Bug#4604, Bug#6360)
1666 * net/tramp-cmds.el (tramp-bug): Recommend setting of
1667 `tramp-verbose' to 9.
1669 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
1671 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
1672 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
1673 Remove references to package `lisp-re' (bug#4369).
1675 2010-07-27 Tom Tromey <tromey@redhat.com>
1677 * progmodes/js.el (js-mode):
1678 * progmodes/make-mode.el (makefile-mode):
1679 * progmodes/simula.el (simula-mode):
1680 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
1682 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
1684 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
1686 * cedet/semantic/db-file.el (object-write): Fix typo in docstring.
1688 * time.el (display-time-day-and-date): Remove spurious * in docstring.
1689 (display-time-world-buffer-name, display-time-world-mode-map):
1690 Fix typos in docstrings.
1692 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
1694 * image-mode.el (image-display-size): New function.
1695 (image-forward-hscroll, image-next-line, image-eol, image-eob)
1696 (image-mode-fit-frame): Use it (Bug#6639).
1698 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
1700 * dired.el (dired-buffers-for-dir): Handle list values of
1701 dired-directory (Bug#6636).
1703 2010-07-26 Sam Steingold <sds@gnu.org>
1705 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1706 Do not call `x-get-selection' the second time, reuse the value.
1708 2010-07-26 Daiki Ueno <ueno@unixuser.org>
1710 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
1711 which consist of control chars only. Suggested by Richard Stallman.
1713 2010-07-25 Daiki Ueno <ueno@unixuser.org>
1715 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
1716 exists before passing an error to find-file-not-found-functions
1719 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
1721 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
1722 Remove leading nil element, adjust values.
1723 (tetris-shapes, tetris-shape-scores):
1724 Change representation of shapes and remove some redundancy.
1725 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
1726 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
1727 Adjust for working with new representation of shapes.
1728 (tetris-shape-rotations): New function.
1729 (tetris-move-bottom, tetris-move-left, tetris-move-right)
1730 (tetris-rotate-prev, tetris-rotate-next):
1731 Adjust for working with the new version of tetris-test-shape.
1733 2010-07-23 Markus Triska <markus.triska@gmx.at>
1735 * progmodes/ps-mode.el: Use comint (bug#5954).
1736 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
1737 (ps-mode-other-newline): Simplify.
1738 (ps-run-mode): Derive from comint-mode instead of
1739 fundamental-mode, yielding input history etc.
1740 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
1741 (ps-run-send-string): Adapt for comint-mode.
1742 (ps-run-newline): Remove now unneeded function.
1744 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
1746 * net/tramp.el (tramp-methods): Move hostname to the end in all
1747 plink `tramp-login-args'.
1749 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
1751 * net/tramp.el (tramp-open-shell): New defun.
1752 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1755 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
1757 * net/tramp.el (tramp-file-name-regexp-unified)
1758 (tramp-completion-file-name-regexp-unified): On W32 systems, do
1759 not regard the volume letter as remote filename. (Bug#5447)
1761 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
1763 * custom.el (custom-declare-variable): Give a clearer error message
1764 when the docstring is missing (bug#6476).
1766 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
1768 * progmodes/sql.el: Version 2.4. Improved Login prompting.
1769 (sql-login-params): New widget definition.
1770 (sql-oracle-login-params, sql-mysql-login-params)
1771 (sql-solid-login-params, sql-sybase-login-params)
1772 (sql-informix-login-params, sql-ingres-login-params)
1773 (sql-ms-login-params, sql-postgres-login-params)
1774 (sql-interbase-login-params, sql-db2-login-params)
1775 (sql-linter-login-params): Use it.
1776 (sql-sqlite-login-params): Use it; Define "database" parameter as
1778 (sql-sqlite-program): Change to "sqlite3".
1779 (sql-comint-sqlite): Make sure database name is complete.
1780 (sql-for-each-login): New function.
1781 (sql-connect, sql-save-connection): Use it.
1782 (sql-get-login-ext): New function.
1783 (sql-get-login): Use it.
1784 (sql-make-alternate-buffer-name): Handle :file parameters.
1786 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
1788 * dired.el (dired-no-confirm): Document value t and fix defcustom to
1789 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
1791 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
1793 * dired.el (dired-mode-map): Use command remapping (bug#6632).
1795 2010-07-22 Lawrence Mitchell <wence@gmx.li>
1797 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
1799 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
1801 * net/tramp.el (tramp-get-ls-command)
1802 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
1805 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
1807 * progmodes/sql.el: Version 2.3.
1808 (sql-connection-alist): Changed keys from symbols to strings;
1809 enhanced the widget definition.
1810 (sql-mode-menu): Added submenu to select connections.
1811 (sql-interactive-mode-menu): Added "Save Connection" item.
1812 (sql-add-product): Fixed menu item.
1813 (sql-get-product-feature): Improved error handling.
1814 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
1815 (sql-make-alternate-buffer-name): Simplified.
1816 (sql-product-interactive): Handle missing product.
1817 (sql-connect): Support string keys, minor improvements.
1818 (sql-save-connection): New function.
1819 (sql-connection-menu-filter): New function.
1821 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
1823 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
1824 (tramp-open-connection-setup-interactive-shell): Apply
1825 workaround for IRIX64 bug. Move argument of last
1826 `tramp-send-command' where it belongs to.
1828 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
1830 * net/tramp.el (tramp-perl-file-attributes)
1831 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1832 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1833 front of `login-args'.
1835 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
1837 * time.el (display-time-world-mode): Define with `define-derived-mode'.
1838 Set `show-trailing-whitespace' to nil.
1839 (display-time-world-display): Simplify.
1841 2010-07-18 Alan Mackenzie <acm@muc.de>
1843 Enhance `c-file-style' in file/directory local variables.
1844 * progmodes/cc-mode.el (c-count-cfss): New function.
1845 (c-before-hack-hook): Call `c-set-style' differently according to
1846 whether c-file-style was set in file or directory local
1849 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
1851 * progmodes/sql.el: Version 2.2.
1852 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
1853 defcustom :safe keyword rather than putting safe-local-variable
1855 (sql-password): Use defcustom :risky keyword rather than putting
1856 risky-local-variable property.
1857 (sql-oracle-login-params, sql-sqlite-login-params)
1858 (sql-solid-login-params, sql-sybase-login-params)
1859 (sql-informix-login-params, sql-ingres-login-params)
1860 (sql-ms-login-params, sql-postgres-login-params)
1861 (sql-interbase-login-params, sql-db2-login-params)
1862 (sql-linter-login-params): Add `port' option.
1863 (sql-get-product-feature): Added NO-INDIRECT parameter.
1864 (sql-comint-oracle, sql-comint-sybase)
1865 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
1866 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
1867 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
1868 (sql-comint-linter): Renamed sql-connect-* functions to
1870 (sql-product-alist, sql-mode-menu): Renamed as above and
1871 :sqli-connect-func to :sqli-comint-func.
1872 (sql-connection): New variable.
1873 (sql-interactive-mode): Set it.
1874 (sql-connection-alist): New variable.
1875 (sql-connect): New function.
1876 (sql--alt-buffer-part, sql--alt-if-not-empty)
1877 (sql-make-alternate-buffer-name): Improved alternative buffer name.
1879 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1881 * image-mode.el (image-bookmark-make-record): Do not set context
1882 in an image (Bug#6650).
1884 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
1886 * simple.el (select-active-region): New function.
1887 (push-mark-command, set-mark, activate-mark)
1888 (handle-shift-selection): Use it.
1889 (deactivate-mark): Don't check for size of region.
1891 * mouse.el (mouse-drag-track): Use select-active-region.
1893 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
1895 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
1898 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
1900 * term/x-win.el (x-select-enable-primary): Change default to nil.
1901 (x-select-enable-clipboard): Add :version keyword.
1903 * mouse.el (mouse-drag-copy-region):
1904 * simple.el (select-active-regions): Likewise.
1906 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
1908 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
1909 (vc-coding-system-for-diff): Use it to decide whether to inherit
1910 from the file the EOL format for reading the diffs of that file.
1913 2010-07-16 Eli Zaretskii <eliz@gnu.org>
1915 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
1916 unibyte, so compressed attachments are not compressed again.
1918 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
1920 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
1921 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
1922 (tramp-find-shell): Simplify setting connection property.
1923 (tramp-get-ls-command): Make test for "--color=never" stronger.
1925 2010-07-15 Simon South <ssouth@member.fsf.org>
1927 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
1928 blocks within record declarations (i.e. variant parts) correctly.
1930 2010-07-15 Simon South <ssouth@member.fsf.org>
1932 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
1933 over literal tokens when parsing so newlines aren't "absorbed" by
1934 single-line comments. Corrects the indentation of case blocks
1935 that have a comment on the first line.
1937 2010-07-14 Karl Fogel <kfogel@red-bean.com>
1939 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
1940 by Drew Adams (Bug#5504).
1942 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
1944 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
1945 now that Unicode is used (Bug#6594).
1947 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
1949 * term/x-win.el (x-select-enable-clipboard): Default to t.
1950 (x-initialize-window-system): Don't overwrite Paste menu item.
1952 * simple.el (select-active-regions): Default to t.
1953 (push-mark-command): Don't overwrite primary with empty string.
1955 * mouse.el: Bind mouse-2 to mouse-yank-primary.
1956 (mouse-drag-copy-region): Default to nil.
1958 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
1959 Cut/Copy/Paste menu bar items.
1961 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1963 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
1964 Patch applied by Karl Fogel.
1966 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
1967 and `bookmark-current-buffer' if they have been already set in
1968 another buffer (e.g gnus-art).
1970 2010-07-13 Karl Fogel <kfogel@red-bean.com>
1971 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1973 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
1975 * bookmark.el (bookmark-make-record-default): Allow unneeded
1976 information to be omitted from the record.
1978 Adjust declarations and calls:
1980 * info.el (bookmark-make-record-default): Adjust declaration.
1981 (Info-bookmark-make-record): Adjust call.
1983 * woman.el (bookmark-make-record-default): Adjust declaration.
1984 (woman-bookmark-make-record): Adjust call.
1986 * man.el (bookmark-make-record-default): Adjust declaration.
1987 (Man-bookmark-make-record): Adjust call.
1989 * image-mode.el (bookmark-make-record-default): Adjust declaration.
1991 * doc-view.el (bookmark-make-record-default): Adjust declaration.
1993 2010-07-13 Karl Fogel <kfogel@red-bean.com>
1995 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
1996 This is also from Thierry Volpiatto's patch in bug #6444. However,
1997 because it was extraneous to the functional change in that patch,
1998 and causes a re-indendation, I am committing it separately.
2000 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2002 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
2003 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
2004 Patch applied by Karl Fogel (Bug#6444).
2006 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
2008 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
2010 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
2012 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
2013 Dempsky; bug#5084). Remove incorrect binding for S-tab.
2014 (ns-alternatives-map): Change S-tab binding to backtab
2017 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
2020 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
2022 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
2025 * language/tv-util.el (tai-viet-re): Remove format.
2027 2010-07-12 Kenichi Handa <handa@m17n.org>
2029 * language/hebrew.el: Remove no-byte-compile declaration.
2030 Change coding: tag to utf-8. Register hebrew-shape-gstring in
2031 composition-function-table for 3-character looking back.
2032 (hebrew-font-get-precomposed): New function.
2033 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
2035 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
2037 * mouse.el (mouse-drag-track): Handle select-active-regions
2040 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
2042 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2043 empty argument to gvfs-copy.
2045 2010-07-10 Glenn Morris <rgm@gnu.org>
2047 * calendar/calendar.el (calendar-week-end-day): New function.
2048 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
2049 Respect calendar-week-start-day. (Bug#6606)
2050 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
2051 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
2052 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
2053 respect calendar-week-start-day.
2055 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
2057 * simple.el (use-region-p): Doc fix (Bug#6607).
2059 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
2061 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
2062 regexps for cucumber and ruby.
2064 2010-07-08 Daiki Ueno <ueno@unixuser.org>
2066 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
2067 (epa-file-insert-file-contents): Hack to prevent
2068 find-file from opening empty buffer when decryption failed
2071 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
2073 * textmodes/ispell.el (ispell-alternate-dictionary):
2074 Use file-readable-p.
2075 Return nil if no word-list is found at default locations.
2076 (ispell-complete-word-dict): Default to nil.
2077 (ispell-command-loop): Use 'word-list' when using lookup-words.
2078 (lookup-words): Use ispell-complete-word-dict or
2079 ispell-alternate-dictionary. Check for word-list availability
2080 and handle errors if needed with better messages (Bug#6539).
2081 (ispell-complete-word): Use ispell-complete-word-dict or
2082 ispell-alternate-dictionary.
2084 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
2086 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
2087 builtins (BufferError, BytesWarning, WindowsError; callables
2088 bin, bytearray, bytes, format, memoryview, next, print; __package__).
2090 2010-07-07 Glenn Morris <rgm@gnu.org>
2092 * play/zone.el (top-level): Do not require timer, tabify, or cl.
2093 (zone-shift-left): Ignore intangibility, and any errors from
2095 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
2096 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
2097 deleting, and copying text properties.
2098 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
2099 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
2100 to point-max is hard.
2101 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
2102 (zone-fill-out-screen): Ignore intangibility.
2104 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
2106 * menu-bar.el (menu-bar-mode):
2107 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
2110 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
2111 word/line selection (Bug#6565).
2113 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
2115 * net/dbus.el (dbus-send-signal): Declare function.
2117 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
2119 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
2120 (dbus-register-property): New optional argument EMITS-SIGNAL.
2121 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
2123 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
2125 * mouse.el (mouse-drag-overlay): Variable deleted.
2126 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
2127 (mouse--remap-link-click-p): New function.
2128 (mouse-drag-track): Handle dragging by using temporary Transient
2129 Mark mode, instead of a special overlay.
2130 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
2133 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
2136 2010-07-02 Juri Linkov <juri@jurta.org>
2138 * autoinsert.el (auto-insert-alist): Fix readability
2139 by using dotted pair notation for lambda.
2141 2010-07-02 Juri Linkov <juri@jurta.org>
2143 * faces.el (read-face-name): Rename arg `string-describing-default'
2144 to `default'. Doc fix. Display the default value in quotes
2145 in the prompt. With empty input, return the `default' arg,
2146 unless the default value is a string (in which case return nil).
2147 (describe-face): Replace the string `default' arg of `read-face-name'
2148 with the symbol `default'.
2150 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
2152 * emulation/viper-cmd.el (viper-delete-backward-char)
2153 (viper-del-backward-char-in-insert)
2154 (viper-del-backward-char-in-replace, viper-change)
2155 (viper-backward-indent): Replace delete-backward-char with
2156 delete-char (Bug#6552).
2158 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
2160 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
2162 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2164 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
2165 argument passed to frame-creation-function (Bug#5378).
2167 * faces.el (x-handle-named-frame-geometry)
2168 (x-handle-reverse-video, x-create-frame-with-faces)
2169 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
2170 separately consult default-frame-alist. It is now passed as the
2173 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
2175 * startup.el (command-line): Don't call tool-bar-setup in a
2178 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2180 * ruler-mode.el (ruler--save-header-line-format): New fun.
2181 (ruler-mode): Use it as a setter function, so as not to overwrite
2182 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
2184 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
2186 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
2187 (vc-root-diff, vc-print-root-log, vc-log-incoming)
2188 (vc-log-outgoing): Use it.
2189 (vc-diff-internal): Set diff-vc-backend.
2191 * vc/diff-mode.el (diff-vc-backend): New var.
2193 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
2195 * dynamic-setting.el (font-setting-change-default-font): Remove
2198 2010-06-28 Kenichi Handa <handa@m17n.org>
2200 * international/quail.el (quail-insert-kbd-layout): Fix the
2201 showing of untranslated characters.
2203 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
2205 * simple.el (delete-active-region): New option.
2206 (delete-backward-char): Implement in Lisp.
2207 (delete-forward-char): New command.
2209 * mouse.el (mouse-region-delete-keys): Deleted.
2210 (mouse-show-mark): Simplify.
2212 * bindings.el (global-map): Bind delete and DEL, the former to
2213 delete-forward-char.
2215 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
2217 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
2218 (ruby-mode): Bind indent-line-function (Bug#5119).
2220 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
2222 * startup.el (command-line): Recognize "0" X resource value.
2224 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
2226 * startup.el (command-line): Use X resources to set the value of
2227 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
2229 * menu-bar.el (menu-bar-mode):
2230 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
2231 Set init-value to t.
2233 * frame.el (frame-notice-user-settings): Don't change
2234 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
2235 vice versa (Bug#2249).
2237 2010-06-26 Eli Zaretskii <eliz@gnu.org>
2239 * w32-fns.el (w32-convert-standard-filename): Doc fix.
2241 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
2243 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
2244 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
2246 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
2247 default directories are expanded (Bug#6143).
2249 2010-06-24 Juri Linkov <juri@jurta.org>
2251 * minibuffer.el (completions-format): Change default from nil to
2252 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
2254 2010-06-24 Juri Linkov <juri@jurta.org>
2256 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
2257 buffer-locally to lambda that re-runs the vc diff command.
2260 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
2262 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
2263 echo area is in use (Bug#3412).
2265 2010-06-22 Glenn Morris <rgm@gnu.org>
2267 * textmodes/texinfmt.el (texinfo-format-region)
2268 (texinfo-raise-lower-sections, texinfo-format-separate-node)
2269 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
2270 (texinfo-format-option, texinfo-noindent):
2271 Use line-beginning-position and line-end-position.
2273 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
2274 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
2275 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
2278 2010-06-21 Karl Fogel <kfogel@red-bean.com>
2280 * play/zone.el (zone-fall-through-ws): Fix next-line ->
2281 forward-line fallout.
2283 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
2285 * mouse.el (mouse-appearance-menu): Add docstring.
2287 * help.el (describe-key): Print up-event using key-description.
2289 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
2291 * net/zeroconf.el (zeroconf-resolve-service)
2292 (zeroconf-service-resolver-handler): Use
2293 `dbus-byte-array-to-string'.
2294 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
2296 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
2298 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
2300 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
2302 Avoid displaying files with a nil state in vc-dir.
2303 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
2304 cases that cause insertion.
2305 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
2308 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2310 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
2312 2010-06-29 Leo <sdl.web@gmail.com>
2314 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
2316 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2318 * generic-x.el (bat-generic-mode): Fix regexp for command line
2319 switches (Bug#5719).
2321 2010-06-27 Masatake YAMATO <yamato@redhat.com>
2323 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
2324 of nconc to avoid pure storage error (Bug#6239).
2326 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
2328 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
2329 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
2330 bindings of bookmark-automatically-show-annotations (Bug#6515).
2332 2010-06-25 Eli Zaretskii <eliz@gnu.org>
2334 * arc-mode.el (archive-zip-extract): Don't quote the file name on
2335 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
2337 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
2339 * comint.el (make-comint, make-comint-in-buffer): Mention return
2340 value in the docstrings. (Bug#6498)
2342 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
2344 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
2345 since it is not present when using some non-default switches.
2347 2010-06-23 Karl Fogel <kfogel@red-bean.com>
2349 * simple.el (compose-mail): Fix doc string to refer to
2350 `compose-mail-user-agent-warnings', instead of to the
2351 nonexistent `compose-mail-check-user-agent'.
2353 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
2355 Fix an indentation bug:
2357 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
2358 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
2361 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
2362 (c-clear->-pair-props-if-match-before): now return t when they've
2363 cleared properties, nil otherwise.
2364 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
2365 by taking account of the existing value.
2367 * progmodes/cc-defs.el
2368 (c-clear-char-property-with-value-function): Fix this to clear the
2369 property rather than overwriting it with nil.
2371 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
2373 * emacs-lisp/package.el (package-print-package): Add link to
2374 package description via describe-package.
2375 (describe-package-1): List package requirements. Add button to
2376 perform installation.
2377 (package-menu-describe-package): New command.
2379 * help-mode.el (help-package): New button type.
2381 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
2383 * emacs-lisp/package.el: Move package-list-packages binding to
2385 (describe-package, describe-package-1, package--dir): New funs.
2386 (package-activate-1): Use package--dir.
2388 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
2390 * help-mode.el (help-package-def): New button type.
2392 * menu-bar.el: Move package-list-packages binding here from
2395 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
2397 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
2399 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * emacs-lisp/edebug.el (edebug-read-list):
2402 Phase out old-style backquotes.
2404 2010-06-17 Juri Linkov <juri@jurta.org>
2406 * help-mode.el (help-mode): Set buffer-local variable
2407 revert-buffer-function to help-mode-revert-buffer.
2408 (help-mode-revert-buffer): New function.
2410 * info.el (Info-revert-find-node): Check for major-mode Info-mode
2411 before popping to "*info*" (like in other Info functions).
2412 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
2413 old-history-forward. Pop to old-buffer-name or "*info*" to
2414 recreate the killed buffer. Set Info-history-forward from
2415 old-history-forward.
2416 (Info-breadcrumbs-depth): Add :group and :version.
2418 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
2420 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
2422 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
2424 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
2425 for languages like Portuguese with pt_{BR,PT} and no plain pt.
2427 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
2429 * emacs-lisp/package.el (package-menu-mode-map):
2430 Move initialization into declaration.
2432 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
2434 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
2436 * emacs-lisp/package.el (package-archive-base): Point to
2438 (package-enable, package-load-list): New defcustoms.
2439 (package-user-dir, package-directory-list): Turn into defcustoms.
2440 Don't include package-user-dir in package-directory-list.
2441 (package--builtins-base): Don't include Emacs as a "package".
2442 (package-subdirectory-regexp): New var.
2443 (package-load-all-descriptors, package-compute-transaction)
2444 (package-download-transaction): Obey package-load-list.
2445 (package-activate-1): Rename from package-do-activate.
2446 (package-list-packages-internal): Check package-load-list.
2447 (package-load-descriptor, package-generate-autoloads)
2448 (package-unpack, package-unpack-single)
2449 (package--read-archive-file, package-delete): Use
2452 * emacs-lisp/package-x.el: New file. Package uploading
2453 functionality split out from package.el.
2455 * startup.el (command-line): Load packages after reading init
2458 2010-06-17 Tom Tromey <tromey@redhat.com>
2460 * emacs-lisp/package.el: New file.
2462 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
2464 Fix vc-annotate for renamed files when using Git.
2465 * vc-git.el (vc-git-find-revision): Deal with empty results from
2466 ls-files. Doe not pass the object as a file name to cat-file, it
2468 (vc-git-annotate-command): Pass the file name using -- to avoid
2469 ambiguity with the revision.
2470 (vc-git-previous-revision): Pass a relative file name.
2472 2010-06-22 Glenn Morris <rgm@gnu.org>
2474 * progmodes/js.el (js-mode-map): Use standard capitalization and
2475 ellipses for menu entries.
2477 * wid-edit.el (widget-complete): Doc fix.
2479 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
2481 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
2483 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
2485 Fix annotating other revisions for renamed files in vc-annotate.
2486 * vc-annotate.el (vc-annotate): Add an optional argument for the
2487 VC backend. Use it when non-nil.
2488 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
2491 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
2492 * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2493 Do not pass the file name to the 'previous-revision call when we
2494 don't want a file diff. (Bug#6489)
2496 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
2498 Fix finding revisions for renamed files in vc-annotate.
2499 * vc.el (vc-find-revision): Add an optional argument for
2500 the VC backend. Use it when non-nil.
2501 * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
2502 backend to vc-find-revision. (Bug#6487)
2504 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
2506 Fix reading file names in Git annotate buffers.
2507 * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove
2508 trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
2510 2010-06-20 Alan Mackenzie <acm@muc.de>
2512 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
2513 in file local variables, set it first.
2515 2010-06-19 Glenn Morris <rgm@gnu.org>
2517 * descr-text.el (describe-char-unicode-data): Insert separating
2518 space when needed. (Bug#6422)
2520 * progmodes/idlwave.el (idlwave-action-and-binding):
2521 Fix typo in 2009-12-03 change. (Bug#6450)
2523 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
2526 handling for `lambda' (misunderstanding).
2528 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
2530 * calc/calc-poly.el (math-accum-factors): Make sure that
2531 constants aren't distributed after they are factored out.
2533 2010-06-16 Juri Linkov <juri@jurta.org>
2535 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
2536 `list-colors-print'. (Bug#6332)
2538 * subr.el (read-quoted-char): Fix up last change (bug#6290).
2540 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
2543 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
2545 * font-lock.el (font-lock-major-mode): Rename from
2546 font-lock-mode-major-mode to distinguish it from
2547 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
2548 (font-lock-set-defaults):
2549 * font-core.el (font-lock-default-function): Adjust users.
2550 (font-lock-mode): Don't set it at all.
2552 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * vc-annotate.el (vc-annotate): Use vc-read-revision.
2556 2010-06-16 Glenn Morris <rgm@gnu.org>
2558 * calendar/appt.el (appt-time-msg-list): Doc fix.
2559 (appt-check): Let-bind appt-warn-time.
2560 (appt-add): Make the 3rd argument optional.
2561 Simplify argument names. Doc fix. Check for integer WARNTIME.
2562 Only add WARNTIME to the output list if non-nil.
2564 2010-06-16 Ivan Kanis <apple@kanis.eu>
2566 * calendar/appt.el (appt-check): Let the 3rd element of
2567 appt-time-msg-list specify the warning time.
2568 (appt-add): Add new argument with the warning time. (Bug#5176)
2570 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
2572 * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
2573 older than version 1.6. (Bug#6361)
2575 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
2577 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
2578 used by cl-do-arglist. (Bug#6408)
2580 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
2582 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
2583 portuguese casechars/not-casechars for missing 'çÇ'.
2584 Suggested by Rolando Pereira (bug#6434).
2586 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
2588 * facemenu.el (list-colors-sort): Doc fix.
2590 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
2592 * progmodes/sql.el (sql-connect-mysql): Fix typo.
2594 2010-06-14 Juri Linkov <juri@jurta.org>
2596 Add sort option `list-colors-sort'. (Bug#6332)
2597 * facemenu.el (color-rgb-to-hsv): New function.
2598 (list-colors-sort): New defcustom.
2599 (list-colors-sort-key): New function.
2600 (list-colors-display): Doc fix. Sort list according to the option
2602 (list-colors-print): Add HSV values to `help-echo' property of
2605 2010-06-14 Juri Linkov <juri@jurta.org>
2607 * compare-w.el: Move to the "vc" subdirectory.
2609 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
2611 * image-mode.el (image-mode-map): Remap left-char and right-char.
2613 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
2615 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
2617 * term/common-win.el (x-colors): Add all the color names defined
2618 in rgb.txt (Bug#6332).
2620 * facemenu.el (list-colors-print): Don't print extra names if it
2621 will overflow the window width.
2623 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
2626 2010-06-12 Eli Zaretskii <eliz@gnu.org>
2628 * files.el (make-directory): Doc fix (bug#6396).
2630 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
2632 * net/tramp.el (tramp-remote-process-environment): Protect version
2633 string by apostroph.
2634 (tramp-shell-prompt-pattern): Do not use a shy group in case of
2636 (tramp-file-name-for-operation): Add `call-process-region'.
2637 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
2639 * net/tramp-compat.el (top): Do not autoload
2640 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
2641 only when `start-file-process' is not bound.
2642 (tramp-advice-file-expand-wildcards): Do not use
2643 `tramp-handle-file-remote-p'.
2644 (tramp-compat-make-temp-file): Handle the case, that
2645 `make-temp-file' has no third argument EXTENSION.
2647 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
2649 * makefile.w32-in (WINS_BASIC): Include new directory vc.
2651 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
2653 2010-06-11 Juri Linkov <juri@jurta.org>
2655 * finder.el (finder-known-keywords): Add keyword "vc"
2656 for version control.
2658 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
2659 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
2660 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
2661 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
2663 2010-06-11 Juri Linkov <juri@jurta.org>
2665 Move version control related files to the "vc" subdirectory.
2666 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
2667 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
2668 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
2669 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
2670 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
2671 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
2672 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
2673 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
2674 Move files to the "vc" subdirectory.
2676 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
2678 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
2681 2010-06-11 Stephen Eglen <stephen@gnu.org>
2683 * shell.el: Bind `shell-resync-dirs' to M-RET.
2685 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
2687 * notifications.el: Move file from lisp/net, because it is
2688 supposed to talk locally to the user.
2690 2010-06-10 Julien Danjou <julien@danjou.info>
2692 * net/notifications.el (notifications-on-action-signal)
2693 (notifications-on-closed-signal): Pass notification id as first
2694 argument to the callback functions. Add docstrings.
2695 (notifications-notify): Fix docstring.
2697 2010-06-10 Glenn Morris <rgm@gnu.org>
2699 * emacs-lisp/authors.el (authors-ignored-files)
2700 (authors-valid-file-names): Add some files.
2702 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2704 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
2705 merge conflict, giving preference to the emacs-23 version of the code.
2707 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * emacs-lisp/advice.el (ad-compile-function):
2710 Define warning-suppress-types before we let-bind it (bug#6275).
2712 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
2713 declare it, make it buffer-local and permanent-local (bug#6324).
2714 (vc-resynch-window): Adjust name.
2715 * vc-hooks.el (vc-find-file-hook): Adjust name.
2717 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
2719 * net/notifications.el (notifications-notify): Fix docstring.
2721 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
2723 Update to Unicode 6.0.0 beta.
2724 * international/charprop.el: Update copyright.
2725 * international/mule-cmds.el (ucs-names): Update character ranges.
2726 * international/uni-bidi.el:
2727 * international/uni-category.el:
2728 * international/uni-combining.el:
2729 * international/uni-comment.el:
2730 * international/uni-decimal.el:
2731 * international/uni-decomposition.el:
2732 * international/uni-digit.el:
2733 * international/uni-lowercase.el:
2734 * international/uni-mirrored.el:
2735 * international/uni-name.el:
2736 * international/uni-numeric.el:
2737 * international/uni-old-name.el:
2738 * international/uni-titlecase.el:
2739 * international/uni-uppercase.el: Regenerate.
2741 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
2743 * emacs-lisp/smie.el (comment-string-strip): Declare function.
2744 (smie-precs-precedence-table): Fix typo in docstring.
2746 * vc-mtn.el (log-edit-extract-headers): Declare function.
2748 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
2750 * net/notifications.el (dbus-register-signal): Declare function.
2751 (notifications-notify): Fix typos and reflow docstring.
2753 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
2755 Improve VC create/retrieve tag/branch.
2756 * vc.el (vc-create-tag): Do not read the directory name for VCs
2757 with repository revision granularity. Adjust the tag/branch
2758 prompt. Reset VC properties.
2759 (vc-retrieve-tag): Do not read the directory name for VCs
2760 with repository revision granularity. Reset VC properties.
2762 2010-06-09 Julien Danjou <julien@danjou.info>
2764 * net/notifications.el: New file.
2766 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
2768 Add optional support for resetting VC properties.
2769 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
2770 call vc-file-clearprops when true.
2771 (vc-resynch-buffer): Add new optional argument, pass it down.
2772 (vc-resynch-buffers-in-directory): Likewise.
2774 Improve support for special markup in the VC commit message.
2775 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
2776 * vc-hg.el (vc-hg-checkin): Add support for Date:.
2777 * vc-git.el (vc-git-checkin):
2778 * vc-bzr.el (vc-bzr-checkin): Likewise.
2780 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
2783 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
2785 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
2787 * iimage.el: Remove images as soon as the underlying text is modified.
2788 (iimage-modification-hook): New function.
2789 (iimage-mode-buffer): Use it.
2791 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2793 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
2794 smie-indent-offset-after. Add :prev case. Make a bit more generic.
2795 (smie-indent-virtual): Remove `virtual' arg. Update callers.
2796 (smie-indent-keyword): Add handling of open-paren keywords.
2797 (smie-indent-comment-continue): Don't assume comment-continue.
2799 2010-06-07 Martin Rudalics <rudalics@gmx.at>
2801 * window.el (pop-to-buffer): Remove the conditional that
2802 compares new-window and old-window, so it will reselect
2803 the selected window unconditionally.
2804 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
2806 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2808 * emacs-lisp/smie.el (smie-indent-offset-after)
2809 (smie-indent-forward-token, smie-indent-backward-token): New functions.
2810 (smie-indent-after-keyword): Use them.
2811 (smie-indent-fixindent): Only applies to the indentation of the BOL.
2812 (smie-indent-keyword): Tweak the black magic.
2813 (smie-indent-comment-continue): Strip comment-continue before use.
2814 (smie-indent-functions): Indent comments before keywords.
2816 2010-06-06 Juri Linkov <juri@jurta.org>
2818 * isearch.el (isearch-lazy-highlight-search): Fix looping
2819 by checking for empty match. This syncs this loop with the
2820 similar loop in `isearch-search'. (Bug#6362)
2822 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
2824 * net/dbus.el (dbus-register-method): Declare function.
2825 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
2826 (dbus-introspect): Doc fix.
2827 (dbus-event-bus-name, dbus-introspect-get-interface)
2828 (dbus-introspect-get-argument): Reflow docstrings.
2830 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
2832 vc-log-incoming/vc-log-outgoing fixes for Git.
2833 * vc-git.el (vc-git-log-view-mode): Fix font lock for
2834 incoming/outgoing logs.
2835 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
2836 instead of vc-git-compute-remote.
2837 (vc-git-compute-remote): Remove.
2839 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
2841 * term/common-win.el (x-colors): Add "dark green" and "dark
2842 turquoise" (Bug#6332).
2844 2010-06-04 Juri Linkov <juri@jurta.org>
2846 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
2847 Instead of setting `replace' to t and replacing the same string
2848 with itself, don't do certain actions when
2849 kill-do-not-save-duplicates is non-nil and string is equal to car
2850 of kill-ring: don't call menu-bar-update-yank-menu, don't push
2851 interprogram-paste strings to kill-ring, and don't push the input
2852 argument `string' to kill-ring.
2853 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
2855 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
2857 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
2859 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
2861 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
2862 (tramp-gvfs-handler-mounted-unmounted)
2863 (tramp-gvfs-connection-mounted-p): Handle default-location.
2865 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
2866 move files to trash.
2868 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
2870 * international/mule-cmds.el (nonascii-insert-offset)
2871 (nonascii-translation-table): Add obsolescence information.
2873 * international/mule.el (make-translation-table-from-vector): Doc fix.
2875 2010-06-03 Eric Ludlam <zappo@gnu.org>
2877 * cedet/semantic/lex-spp.el
2878 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
2879 invalid values during save, just save a nil (Bug#6324).
2881 2010-06-03 Glenn Morris <rgm@gnu.org>
2883 * desktop.el (desktop-clear-preserve-buffers):
2884 Add "*Warnings*" buffer. (Bug#6336)
2886 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
2888 vc-log-incoming/vc-log-outgoing improvements for Git.
2889 * vc-git.el (vc-git-log-outgoing): Use the same format as the
2891 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
2893 Add bindings for vc-log-incoming and vc-log-outgoing.
2894 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
2895 and vc-log-outgoing.
2896 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
2897 and vc-log-outgoing.
2899 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
2901 * net/rcirc.el (rcirc-sort-nicknames): Remove.
2902 (rcirc-handler-366): Always sort nicknames.
2904 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
2906 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
2908 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
2910 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
2912 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2914 * net/rcirc.el (rcirc-sort-nicknames): Change default.
2915 (rcirc-sort-nicknames-join): Avoid setq.
2917 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2919 * net/rcirc.el (rcirc-sort-nicknames): New custom.
2920 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
2921 (rcirc-handler-366): Use them.
2923 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
2925 Split smie-indent-calculate into more manageable chunks.
2926 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
2927 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
2928 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
2929 (smie-indent-exps): Extract from smie-indent-calculate.
2930 (smie-indent-functions): New var.
2931 (smie-indent-functions): Use them.
2933 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2935 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
2936 (smie-indent-calculate): Simplify and cleanup.
2938 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
2940 * net/tramp-gvfs.el (top): Require url-util.
2941 (tramp-gvfs-mount-point): Remove.
2942 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
2944 (with-tramp-dbus-call-method): Format trace message.
2945 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
2946 Implement backup call, when operation on local files fails.
2947 Use progress reporter. Flush properties of changed files.
2948 (tramp-gvfs-handle-make-directory): Make more traces.
2949 (tramp-gvfs-url-file-name): Hexify file name in url.
2950 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
2951 into account for the resulting file name.
2952 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
2953 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
2954 (tramp-gvfs-handler-mounted-unmounted)
2955 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
2956 attribute "default_location". Set "prefix" property.
2957 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
2958 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
2959 exists. Raise an error, if not (due to a corresponding answer
2960 "no" in interactive questions, for example).
2962 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
2964 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
2966 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
2968 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
2971 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
2973 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
2974 * vc-git.el (vc-git-compute-remote): New function.
2975 (vc-git-log-outgoing): Use it instead of hard coding a value.
2976 (vc-git-log-incoming): New function.
2978 Improve state updating for VC tag commands.
2979 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
2980 to update the state of all buffers in the directory.
2982 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
2984 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
2986 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
2987 `file-directory-p' to the filename part rather than to the whole text.
2989 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
2991 * cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name
2994 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
2998 2010-05-31 Drew Adams <drew.adams@oracle.com>
3000 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
3002 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
3004 * subr.el (momentary-string-display): Just use read-event to read
3005 the exit event (Bug#6238).
3007 2010-05-30 Eli Zaretskii <eliz@gnu.org>
3009 * international/mule.el (define-coding-system): Doc fix (bug#6313).
3011 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3013 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
3014 Suggested by Eli Zaretskii <eliz@gnu.org>.
3016 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3018 * minibuffer.el (completion-file-name-table): Don't return a boundary
3019 past the end of `string' (bug#6299).
3020 (completion--file-name-table): Delegate to completion-file-name-table
3021 for the `boundaries' case.
3023 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3025 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
3028 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
3029 `path-separator', but maintain compatibility with Emacs 20.2.
3031 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3033 * server.el (server-process-filter): Receive parent-id argument
3035 (server-create-window-system-frame): New arg. Pass parent-id as
3038 2010-05-29 Eli Zaretskii <eliz@gnu.org>
3040 Bidi-sensitive word movement with arrow keys.
3041 * subr.el (right-arrow-command, left-arrow-command): Move to
3044 * bindings.el (right-char, left-char): Move from subr.el and
3045 rename from right-arrow-command and left-arrow-command.
3046 (right-word, left-word): New functions.
3047 (global-map) <right>: Bind to right-char.
3048 (global-map) <left>: Bind to left-char.
3049 (global-map) <C-right>: Bind to right-word.
3050 (global-map) <C-left>: Bind to left-word.
3052 * ls-lisp.el (ls-lisp-classify-file): New function.
3053 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
3054 (ls-lisp-classify): Call ls-lisp-classify-file.
3055 (insert-directory): Remove blanks from switches.
3057 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3059 * ansi-color.el: Delete unused escape sequences (Bug#6085).
3060 (ansi-color-drop-regexp): New constant.
3061 (ansi-color-apply, ansi-color-filter-region)
3062 (ansi-color-apply-on-region): Delete unrecognized control sequences.
3063 (ansi-color-apply): Build string list before calling concat.
3065 2010-05-28 Juri Linkov <juri@jurta.org>
3067 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3068 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
3071 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3073 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
3074 to ignored backtrace functions.
3075 (with-progress-reporter): Expand docstring.
3076 (tramp-handle-delete-file): Implement TRASH argument.
3077 (tramp-get-remote-trash): New defun.
3079 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3081 * net/tramp-compat.el (tramp-compat-delete-file): Use
3082 `symbol-value' for backward compatibility.
3084 * net/tramp.el (tramp-handle-make-symbolic-link)
3086 (tramp-do-copy-or-rename-file-via-buffer)
3087 (tramp-do-copy-or-rename-file-directly)
3088 (tramp-do-copy-or-rename-file-out-of-band)
3089 (tramp-handle-process-file, tramp-handle-call-process-region)
3090 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3091 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3092 (tramp-delete-temp-file-function): Use `delete-file' instead
3093 of `tramp-compat-delete-file'.
3095 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3096 (tramp-fish-handle-make-symbolic-link)
3097 (tramp-fish-handle-process-file): Use `delete-file' instead
3098 of `tramp-compat-delete-file'.
3100 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
3101 `delete-file' instead of `tramp-compat-delete-file'.
3103 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3104 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
3105 `tramp-compat-delete-file'.
3107 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
3108 `delete-file' instead of `tramp-compat-delete-file'.
3110 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3111 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3112 (tramp-smb-handle-write-region): Use `delete-file' instead of
3113 `tramp-compat-delete-file'.
3114 (tramp-smb-handle-delete-directory): Use 'trash as arg.
3116 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3118 * dired.el (dired-delete-file): New arg TRASH.
3119 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
3120 (dired-do-flagged-delete, dired-do-delete): Use trash.
3122 * speedbar.el (speedbar-item-delete): Allow trashing.
3124 * files.el (delete-directory): New arg TRASH.
3126 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
3127 (ange-ftp-rename-remote-to-remote)
3128 (ange-ftp-rename-local-to-remote)
3129 (ange-ftp-rename-remote-to-local, ange-ftp-load)
3130 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
3132 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
3135 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3136 handle new TRASH arg of `delete-file'.
3138 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
3139 (tramp-handle-make-symbolic-link, tramp-handle-load)
3140 (tramp-do-copy-or-rename-file-via-buffer)
3141 (tramp-do-copy-or-rename-file-directly)
3142 (tramp-do-copy-or-rename-file-out-of-band)
3143 (tramp-handle-process-file, tramp-handle-call-process-region)
3144 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3145 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3146 (tramp-delete-temp-file-function): Use null TRASH arg in
3147 tramp-compat-delete-file call.
3149 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3150 (tramp-fish-handle-delete-file)
3151 (tramp-fish-handle-make-symbolic-link)
3152 (tramp-fish-handle-process-file): Use null TRASH arg in
3153 `tramp-compat-delete-file' call.
3155 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
3156 arg in `tramp-compat-delete-file' call.
3158 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3159 (tramp-gvfs-handle-write-region): Use null TRASH arg in
3160 `tramp-compat-delete-file' call.
3162 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
3163 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
3164 `tramp-compat-delete-file' call.
3166 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3167 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3168 (tramp-smb-handle-write-region): Use null TRASH arg in
3169 tramp-compat-delete-file call.
3170 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
3171 (tramp-smb-handle-delete-file): Rename arg.
3173 * diff.el (diff-sentinel):
3174 * epg.el (epg--make-temp-file, epg-decrypt-string)
3175 (epg-verify-string, epg-sign-string, epg-encrypt-string):
3176 * jka-compr.el (jka-compr-partial-uncompress)
3177 (jka-compr-call-process, jka-compr-write-region):
3178 * server.el (server-sentinel): Remove optional arg from
3179 delete-file, reverting 2010-05-03 change.
3181 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3183 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
3184 font-lock-constant-face, not obsolete font-lock-reference-face.
3186 2010-05-27 Kenichi Handa <handa@m17n.org>
3188 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
3189 element of GSTRING is nil.
3191 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * emacs-lisp/smie.el (smie-forward-token-function)
3194 (smie-backward-token-function): New vars.
3195 (smie-backward-sexp, smie-forward-sexp)
3196 (smie-indent-hanging-p, smie-indent-calculate): Use them.
3197 (smie-default-backward-token): Rename from smie-backward-token and
3199 (smie-default-forward-token): Rename from smie-forward-token and
3201 (smie-next-sexp): Handle nil results from next-token.
3202 (smie-indent-calculate): Add a new case for special `fixindent' comments.
3204 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3206 * progmodes/verilog-mode.el (verilog-type-font-keywords):
3207 Use font-lock-constant-face, not obsolete font-lock-reference-face.
3209 2010-05-27 Masatake YAMATO <yamato@redhat.com>
3211 * htmlfontify.el (hfy-face-resolve-face): New function.
3212 (hfy-face-to-style): Use it (Bug#6279).
3214 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3216 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
3217 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
3219 2010-05-26 Glenn Morris <rgm@gnu.org>
3221 * emulation/edt.el (edt-load-keys): Use locate-library.
3223 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
3225 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
3226 (log-edit-changelog-entries): Doc fix.
3227 (log-edit-changelog-insert-entries): Args changed.
3228 Rename relative filenames in ChangeLog entries. Delete tabs.
3229 (log-edit-insert-changelog-entries): Reorganize return value of
3230 `log-edit-changelog-entries' to pass filenames to
3231 log-edit-changelog-insert-entries.
3233 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3235 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
3236 `image-dired-dired-insert-marked-thumbs' to
3237 `image-dired-dired-toggle-marked-thumbs'.
3239 * image-dired.el: Require cl when compiling.
3240 (image-dired-dired-toggle-marked-thumbs): Rename from
3241 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
3242 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
3243 to 'no-dir. Skip files whose names don't match
3244 `image-file-name-regexp'. When file has a thumbnail overlay,
3245 delete it. (Bug#5270)
3247 2010-05-25 Juri Linkov <juri@jurta.org>
3249 * image-mode.el (image-mode): Add image-after-revert-hook to
3251 (image-after-revert-hook): New function. (Bug#5669)
3253 2010-05-25 Juri Linkov <juri@jurta.org>
3255 * image.el (image-animated-p): When delay between animated images
3256 is 0, set it to 10 (0.1 sec). (Bug#6258)
3258 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3260 * net/tramp.el (tramp-handle-insert-directory): Don't use
3261 `forward-word', its default syntax could be changed.
3263 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
3265 * net/tramp.el (tramp-progress-reporter-update): New defun.
3266 (with-progress-reporter): Use it.
3267 (tramp-process-actions):
3268 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
3269 current message, in order to let progress reporter continue
3270 afterwards. (Bug#6257)
3272 2010-05-25 Glenn Morris <rgm@gnu.org>
3274 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
3277 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
3279 * net/rcirc.el (rcirc-default-user-name): Change to "user".
3280 (rcirc-default-full-name): Change to "unknown".
3281 (rcirc-user-name-history): Add variable.
3283 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
3284 Jonathan Rockway <jon@jrock.us>
3286 * net/rcirc.el (rcirc-server-alist): Add :pass.
3287 (rcirc): When prompting for connection parameters, also prompt for
3288 username and password.
3289 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
3290 value to server when connecting.
3292 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
3295 (smie-merge-prec2s): Pass the tables as separate args.
3296 (smie-bnf-precedence-table): Adjust call accordingly.
3297 (smie-prec2-levels): Set levels at the end.
3299 Replace Lisp calls to delete-backward-char by delete-char.
3300 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
3301 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
3302 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
3303 * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
3304 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
3305 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
3306 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
3307 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
3308 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
3309 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
3310 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
3311 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
3312 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
3313 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
3314 delete-backward-char by calls to delete-char.
3316 2010-05-25 Kenichi Handa <handa@m17n.org>
3318 * language/hebrew.el (hebrew-shape-gstring): New function.
3319 Register it in composition-function-table for all Hebrew combining
3322 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * epa.el (epa--select-keys): Don't explicitly delete the window since
3325 that can fail (e.g. sole window in frame). Use dedication instead.
3327 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
3329 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
3331 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
3333 * image.el (image-refresh): Define as an alias for image-flush.
3335 * image-mode.el (image-toggle-display-image): Caller changed.
3337 2010-05-21 Juri Linkov <juri@jurta.org>
3339 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
3340 Remove "all" from grep-files-aliases. Split grep-files-aliases by
3341 whitespace, call wildcard-to-regexp on substrings and concat them
3342 with "\\|". (Bug#6114)
3344 2010-05-21 Alan Mackenzie <acm@muc.de>
3346 * progmodes/cc-engine.el (c-parse-state-get-strategy):
3347 Replace parameter `here' with `here-' and `here-plus', which sandwich
3348 any pertinent CPP construct.
3349 (c-remove-stale-state-cache-backwards): Fix a bug which happens
3350 when doing (c-parse-state) in a CPP construct: Exclude any "new"
3351 CPP construct from taking part in the scanning.
3353 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
3355 * net/tramp.el (tramp-do-copy-or-rename-file)
3356 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
3357 Tune `with-progress-reporter' messages.
3358 (tramp-handle-vc-registered):
3359 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
3360 (tramp-fish-handle-insert-file-contents)
3361 (tramp-fish-maybe-open-connection):
3362 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3363 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
3364 (tramp-imap-handle-insert-file-contents)
3365 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3367 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
3369 * add-log.el (change-log-font-lock-keywords):
3370 Highlight all authors in multi-author entries.
3372 * smerge-mode.el (smerge-refine-ignore-whitespace)
3373 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
3374 Fix typos in docstrings.
3375 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
3377 2010-05-21 Glenn Morris <rgm@gnu.org>
3379 * progmodes/fortran.el (fortran-mode):
3380 * progmodes/f90.el (f90-mode): Derive from prog-mode.
3382 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
3383 having a relative path in src/Makefile.in.
3385 2010-05-20 Kevin Ryde <user42@zip.com.au>
3387 * help-mode.el (help-make-xrefs): For Info node links turn
3388 newlines into spaces. Link node names with newlines are matched
3389 by help-xref-info-regexp and buttonized, this change ensures they
3390 can be followed successfully with RET. (Bug#6206)
3392 2010-05-20 Juri Linkov <juri@jurta.org>
3394 * locate.el (locate): Use pop-to-buffer instead of
3395 switch-to-buffer-other-window. (Bug#6204)
3397 2010-05-20 Juri Linkov <juri@jurta.org>
3399 * replace.el (replace-highlight): Fix lazy-highlighting
3400 for `M-s w str M-% str RET'.
3402 2009-12-15 Masatake YAMATO <yamato@redhat.com>
3404 * isearch.el (isearch-yank-word-or-char): Pull next subword
3405 when `subword-mode' is activated. (Bug#6220)
3407 2010-05-20 Mark A. Hershberger <mah@everybody.org>
3409 * isearch.el (isearch-update-post-hook): New hook.
3410 (isearch-update): Use the new hook. (Bug#6225)
3412 2010-05-20 Juri Linkov <juri@jurta.org>
3414 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
3415 [f1], [help], and (char-to-string help-char) instead of "\C-h".
3418 2010-05-20 Juri Linkov <juri@jurta.org>
3420 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
3423 2010-05-20 Juri Linkov <juri@jurta.org>
3425 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
3426 FILE-NAME to read from the minibuffer when called interactively
3427 with prefix argument instead of using buffer-file-name.
3428 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
3430 * dired.el: Update autoloads.
3432 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
3434 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
3435 nxml-finish-element, for consistency with SGML mode.
3437 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
3440 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
3442 * composite.el: Require cl when compiling.
3443 (reference-point-alist, compose-gstring-for-graphic)
3444 (compose-gstring-for-terminal): Fix typos in docstrings.
3446 2010-05-19 Juri Linkov <juri@jurta.org>
3448 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
3449 set-window-parameter.
3451 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
3453 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
3455 (tramp-maybe-open-connection): Use it.
3457 2010-05-19 Eli Zaretskii <eliz@gnu.org>
3459 * simple.el (move-end-of-line): Make sure we are at line beginning
3460 before backing up to end of previous line.
3462 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
3464 * password-cache.el (password-cache-remove): Fix docstring.
3466 * net/secrets.el: Autoload the widget functions.
3467 (secrets-search-items, secrets-create-item)
3468 (secrets-get-attributes, secrets-expand-item): Attributes will be
3469 stored on the password database without leading ":", as all other
3471 (secrets-mode): Fix docstring.
3472 (secrets-show-secrets): Provide it as autoloaded command only when
3473 D-Bus support is available. Check existence of Secret Service API.
3475 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * indent.el (indent-region): Deactivate region (bug#6200).
3479 2010-05-19 Glenn Morris <rgm@gnu.org>
3481 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
3483 2010-05-19 Kenichi Handa <handa@m17n.org>
3485 * composite.el: Register compose-gstring-for-graphic in
3486 composition-function-table only for combining characters (Mn, Mc, Me).
3488 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
3490 * calc/calc-trail.el (calc-trail-isearch-forward)
3491 (calc-trail-isearch-backward): Ensure that the new window
3492 point is set correctly.
3494 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * subr.el (read-quoted-char): Resolve modifiers after key
3497 remapping (bug#6212).
3499 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
3501 Add visualization code for secrets.
3502 * net/secrets.el (secrets-mode): New major mode.
3503 (secrets-show-secrets, secrets-show-collections)
3504 (secrets-expand-collection, secrets-expand-item)
3505 (secrets-tree-widget-after-toggle-function)
3506 (secrets-tree-widget-show-password): New defuns.
3508 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
3511 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
3512 handled in smie-next-sexp.
3513 (smie-indent-calculate): Provide a starting indentation (so the
3514 recursion is well-founded ;-).
3516 Fix handling of non-associative equal levels.
3517 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
3518 when it's not needed.
3519 (smie-op-left, smie-op-right): New functions.
3520 (smie-next-sexp): New function, extracted from smie-backward-sexp.
3521 Better handle equal levels to distinguish the associative case from
3522 the "multi-keyword construct" case.
3523 (smie-backward-sexp, smie-forward-sexp): Use it.
3525 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
3527 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
3529 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
3530 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
3532 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3534 Provide a simple generic indentation engine and use it for Prolog.
3535 * emacs-lisp/smie.el: New file.
3536 * progmodes/prolog.el (prolog-smie-op-levels)
3537 (prolog-smie-indent-rules): New var.
3538 (prolog-mode-variables): Use them to configure SMIE.
3539 (prolog-indent-line, prolog-indent-level): Remove.
3541 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
3543 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
3544 order before computing the averages.
3546 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
3548 * calc/calc-vec.el (calc-histogram):
3549 (calcFunc-histogram): Allow vectors as inputs.
3550 (math-vector-avg): New function.
3552 * calc/calc-ext.el (math-group-float): Have the number of digits
3553 being grouped depend on the radix (Bug#6189).
3555 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
3557 * version.el (emacs-copyright, emacs-version): Don't define here,
3558 now that emacs.c defines it.
3560 2010-05-15 Eli Zaretskii <eliz@gnu.org>
3562 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
3563 "Describe Language Environment" menu item.
3565 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
3567 Bidi-sensitive movement with arrow keys.
3568 * subr.el (right-arrow-command, left-arrow-command): New functions.
3570 * bindings.el (global-map): Bind them to right and left arrow keys.
3572 Don't override standard definition of convert-standard-filename.
3573 * files.el (convert-standard-filename): Call
3574 w32-convert-standard-filename and dos-convert-standard-filename on
3575 the corresponding systems.
3577 * w32-fns.el (w32-convert-standard-filename): Rename from
3578 convert-standard-filename. Doc fix.
3580 * dos-fns.el (dos-convert-standard-filename): Doc fix.
3581 (convert-standard-filename): Don't defalias.
3582 (register-name-alist, make-register, register-value)
3583 (set-register-value, intdos): Obsolete aliases for the
3584 corresponding dos-* functions and variables.
3585 (dos-intdos): Add a doc string.
3587 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
3589 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
3590 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
3591 (math-compose-tex-func):
3592 * calc/calccomp.el (math-compose-expr):
3593 * calc/calc-ext.el (math-format-flat-expr-fancy):
3594 * calc/calc-store.el (calc-read-var-name):
3595 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
3597 * calc/calc.el (var-π, var-φ, var-γ): New variables.
3598 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
3599 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
3600 (math-standard-units): Add units.
3602 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * progmodes/asm-mode.el (asm-mode):
3605 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
3607 * pcomplete.el (pcomplete-completions-at-point): New function,
3608 extracted from pcomplete-std-complete.
3609 (pcomplete-std-complete): Use it.
3611 2010-05-15 Glenn Morris <rgm@gnu.org>
3613 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3614 Remove references to CVS, RCS and Old directories.
3616 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
3618 * calc/calc-bin.el (math-format-twos-complement): Group digits when
3621 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
3623 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
3624 (sh-mode-syntax-table): Give it a default value instead.
3625 (sh-header-marker): Make buffer-local.
3626 (sh-mode): Move make-local-variable to the corresponding setq.
3627 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
3628 Use complete-with-action.
3630 * simple.el (prog-mode): New (abstract) major mode.
3631 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
3632 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
3634 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
3636 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
3637 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
3638 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
3639 (sql-make-alternate-buffer-name, sql-placeholders-filter)
3640 (sql-escape-newlines-filter, sql-input-sender)
3641 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
3643 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
3645 Add TeX open-block and close-block keybindings to SGML, and vice versa.
3647 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
3648 latex-open-block and C-c / to latex-close-block.
3650 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
3651 and C-c C-e to sgml-close-tag.
3653 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
3655 * net/tramp.el (with-progress-reporter): Create reporter object
3656 only when the message would be displayed. Handle nested calls.
3657 (tramp-handle-load, tramp-handle-file-local-copy)
3658 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3659 (tramp-maybe-send-script, tramp-find-shell):
3660 Use `with-progress-reporter'.
3661 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
3664 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3665 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3666 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3667 Use `with-progress-reporter'.
3669 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
3671 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
3672 process everytime when spellchecking from the minibuffer (bug#6143).
3674 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
3678 * dos-fns.el: Add "dos-" prefix for namespace control.
3679 (convert-standard-filename): Define as alias for
3680 dos-convert-standard-filename but only if applicable.
3682 2010-05-12 Alan Mackenzie <acm@muc.de>
3684 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
3685 Push the mark at the start of these functions when appropriate.
3687 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * minibuffer.el (completion-cycle-threshold): New custom var.
3690 (completion--do-completion): Use it.
3691 (minibuffer-complete): Use cycling if appropriate.
3693 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
3695 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
3696 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
3698 2010-05-11 Juri Linkov <juri@jurta.org>
3700 * scroll-all.el (scroll-all-check-to-scroll):
3701 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
3703 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3705 * iimage.el (iimage-mode-map): Move initialization into declaration.
3706 (iimage-mode-buffer): Use with-silent-modifications.
3707 Simplify calling convention. Adjust callers.
3708 (iimage-mode): Don't run hook redundantly.
3710 * minibuffer.el (completion-pcm--pattern->regex):
3711 Fix last change (bug#6160).
3713 2010-05-10 Juri Linkov <juri@jurta.org>
3715 Remove nodes visited during Isearch from the Info history.
3716 * info.el (Info-isearch-initial-history)
3717 (Info-isearch-initial-history-list): New variables.
3718 (Info-isearch-start): Record initial values of
3719 Info-isearch-initial-history and Info-isearch-initial-history-list.
3720 Add Info-isearch-end to isearch-mode-end-hook.
3721 (Info-isearch-end): New function.
3723 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
3725 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
3726 format string, in order to work around a bug in pdksh.
3727 Reported by Gilles Pion <gpion@lfdj.com>.
3728 (tramp-handle-verify-visited-file-modtime): Do not send a command
3729 when the connection is not established.
3730 (tramp-handle-set-file-times): Simplify the check for utc.
3732 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
3734 Fix use of `filter-buffer-substring' (rework previous change).
3735 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
3736 (cua-repeat-replace-region):
3737 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
3738 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
3739 (cua-cut-region-to-global-mark): Use it.
3741 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
3743 * progmodes/sql.el: Version 2.1.
3744 (sql-product-alist): Redesign structure of product info.
3745 (sql-product, sql-user, sql-server, sql-database): Safe variables.
3746 (sql-port, sql-port-history): New variables.
3747 (sql-interactive-product): New variable.
3748 (sql-send-terminator): New variable.
3749 (sql-imenu-generic-expression): Add "Types" imenu entry.
3750 (sql-oracle-login-params, sql-sqlite-login-params)
3751 (sql-mysql-login-params, sql-solid-login-params)
3752 (sql-sybase-login-params, sql-informix-login-params)
3753 (sql-ingres-login-params, sql-ms-login-params)
3754 (sql-postgres-login-params, sql-interbase-login-params)
3755 (sql-db2-login-params, sql-linter-login-params)
3756 (sql-oracle-scan-on): New variables.
3757 (sql-mode-map): Add C-c C-i to start interactive mode.
3758 (sql-mode-menu): Update existing menu entries.
3759 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
3760 (sql-mode-oracle-font-lock-keywords)
3761 (sql-mode-postgres-font-lock-keywords)
3762 (sql-mode-ms-font-lock-keywords)
3763 (sql-mode-sybase-font-lock-keywords)
3764 (sql-mode-informix-font-lock-keywords)
3765 (sql-mode-interbase-font-lock-keywords)
3766 (sql-mode-ingres-font-lock-keywords)
3767 (sql-mode-solid-font-lock-keywords)
3768 (sql-mode-mysql-font-lock-keywords)
3769 (sql-mode-sqlite-font-lock-keywords)
3770 (sql-mode-db2-font-lock-keywords)
3771 (sql-mode-linter-font-lock-keywords): Update initialization to
3772 reduce run-time complexity.
3773 (sql-add-product, sql-del-product): New functions.
3774 (sql-set-product-feature, sql-get-product-feature): New functions.
3775 (sql-product-font-lock): Update product API.
3776 (sql-add-product-keywords): New function.
3777 (sql-highlight-product): Update product API.
3778 (sql-help-list-products): New function.
3779 (sql-help): Dynamically lists free and non-free products.
3780 (sql-get-login): Correct bug in handling history and added
3782 (sql-copy-column): Copy without properties.
3783 (sqli-input-sender): Apply filters to SQLi input.
3784 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
3785 Implement as a filter.
3786 (sql-escape-newlines-filter): Implement as a filter.
3787 (sql-remove-tabs-filter): New function.
3788 (sql-send-magic-terminator): New function.
3789 (sql-send-string): Implement magic terminator.
3790 (sql-send-region): Use `sql-send-string'.
3791 (sql-interactive-mode): Use product API.
3792 (sql-product-interactive): Use product API.
3793 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3794 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3795 (sql-db2, sql-linter): Use `sql-product-interactive'.
3796 (sql-connect): New function.
3797 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
3798 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
3799 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
3800 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
3803 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3805 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
3806 New custom variable.
3807 (completion-pcm--string->pattern): Use it.
3808 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
3809 Make it handle any symbol as `any'.
3810 (completion-pcm--merge-completions): Extract common suffix for the new
3811 `prefix' symbol as well.
3812 (completion-substring--all-completions): Use the new `prefix' symbol.
3814 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
3816 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
3818 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3819 (tramp-compat-funcall): New defmacro.
3820 (tramp-compat-line-beginning-position)
3821 (tramp-compat-line-end-position)
3822 (tramp-compat-temporary-file-directory)
3823 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3824 (tramp-compat-copy-file, tramp-compat-copy-directory)
3825 (tramp-compat-delete-file, tramp-compat-delete-directory)
3826 (tramp-compat-number-sequence, tramp-compat-process-running-p)
3827 * net/tramp.el (top, with-progress-reporter)
3828 (tramp-rfn-eshadow-setup-minibuffer)
3829 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3830 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3831 (tramp-completion-mode-p, tramp-check-for-regexp)
3832 (tramp-open-connection-setup-interactive-shell)
3833 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3834 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3835 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
3836 * net/tramp-cmds.el (tramp-cleanup-all-connections)
3837 (tramp-reporter-dump-variable, tramp-load-report-modules)
3838 (tramp-append-tramp-buffers)
3839 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
3841 * net/tramp-imap.el (top): Autoload `epg-make-context'.
3843 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * progmodes/compile.el (compilation-buffer-modtime): Rename from
3846 buffer-modtime. Adjust users.
3848 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
3850 * international/mule.el (auto-coding-alist): Only purecopy
3851 car of each item, not the whole list (Bug#6083).
3853 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
3855 * progmodes/js.el (js-mode): Make paragraph variables local before
3856 calling c-setup-paragraph-variables (Bug#6071).
3858 2010-05-08 Eli Zaretskii <eliz@gnu.org>
3860 * composite.el (compose-region, reference-point-alist): Fix typos
3863 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3865 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
3866 gnuplot's "set" command.
3868 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
3870 * abbrev.el (last-abbrev-text): Doc fix.
3871 (abbrev-prefix-mark): Don't escape parenthesis.
3873 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
3875 * composite.el (find-composition): Doc fix.
3877 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
3879 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
3880 (sql-oracle-program, sql-sqlite-options)
3881 (sql-query-placeholders-and-send): Doc fixes.
3882 (sql-set-product, sql-interactive-mode): Reflow docstrings.
3883 (sql-imenu-generic-expression, sql-buffer)
3884 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
3885 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
3886 (sql-mode-sybase-font-lock-keywords)
3887 (sql-mode-informix-font-lock-keywords)
3888 (sql-mode-interbase-font-lock-keywords)
3889 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
3890 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
3891 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
3892 (sql-product-feature, sql-highlight-product)
3893 (comint-line-beginning-position, sql-rename-buffer)
3894 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
3895 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
3896 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
3897 Fix typos in docstrings.
3899 2010-05-08 Juri Linkov <juri@jurta.org>
3901 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
3902 property instead of `invisible' and `after-string' (bug#5998).
3904 2010-05-08 Juri Linkov <juri@jurta.org>
3906 * image-mode.el (image-mode-as-text): Fix typo in docstring.
3908 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
3910 * filecache.el (file-cache-add-directory-list)
3911 (file-cache-add-directory-recursively): Fix typos in docstrings.
3913 2010-05-08 Kenichi Handa <handa@m17n.org>
3915 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
3916 (gujarati-composable-pattern): Fix typo.
3918 2010-05-08 Kenichi Handa <handa@m17n.org>
3920 * language/indian.el (oriya-composable-pattern)
3921 (tamil-composable-pattern, malayalam-composable-pattern):
3922 Add two-part vowels to "v" (vowel sign).
3924 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
3926 * files.el (copy-directory): Handle symlinks (Bug#5982).
3928 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
3930 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
3931 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
3934 2010-05-08 Glenn Morris <rgm@gnu.org>
3936 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
3938 * minibuffer.el (completion-at-point): Doc fix.
3940 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * electric.el (Electric-command-loop): Minor tweak.
3944 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
3945 better with dedicated windows.
3947 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
3949 * Version 23.2 released.
3951 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
3952 Stefan Monnier <monnier@iro.umontreal.ca>
3954 Highlight vendor specific properties.
3955 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
3956 (css-proprietary-property): New face.
3957 (css-font-lock-keywords): Use them.
3959 2010-05-07 Eli Zaretskii <eliz@gnu.org>
3961 * cus-start.el (all): Add native condition for tool-bar-* symbols.
3963 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3965 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
3966 * files.el (auto-mode-alist): Remove redundant entries.
3968 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
3969 * simple.el (auto-save-mode): Move from files.el.
3970 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
3972 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
3974 * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
3976 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
3978 * mail/binhex.el (binhex-decode-region-internal)
3979 * mail/uudecode.el (uudecode-decode-region-internal)
3980 * net/dns.el (dns-read-string-name, dns-write, dns-read)
3981 (dns-read-type, dns-query)
3982 * pgg-parse.el (pgg-parse-armor)
3983 * pgg.el (pgg-verify-region)
3984 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
3987 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
3989 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
3991 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
3993 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
3994 * emulation/cua-base.el (cua-repeat-replace-region):
3995 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
3996 (cua-cut-region-to-global-mark):
3997 Remove text properties with `set-text-properties'.
3999 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
4001 * net/tramp.el (top, with-progress-reporter):
4002 Use `symbol-function' inside `funcall'.
4004 * net/tramp-compat.el (tramp-compat-file-attributes)
4005 (tramp-compat-delete-file, tramp-compat-delete-directory):
4006 Handle only `wrong-number-of-arguments' error.
4008 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
4009 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
4012 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * minibuffer.el (completion--sreverse, completion--common-suffix):
4016 (completion-pcm--merge-completions): Extract common suffix when safe.
4018 * emacs-lisp/easy-mmode.el (define-minor-mode):
4019 Make :variable more flexible.
4020 * files.el (auto-save-mode): Use it to define using define-minor-mode.
4022 2010-05-05 Juri Linkov <juri@jurta.org>
4024 Add `slow' and `history' tags to the desktop data.
4026 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
4027 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
4028 (Info-finder-find-node): Require `finder.el' to be able
4029 to restore node from the desktop.
4030 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
4031 data `Info-history' and `slow' tag in the assoc list.
4032 (Info-restore-desktop-buffer): Don't restore nodes with the
4033 `slow' tag. Restore `Info-history'.
4035 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
4037 Add FORCE argument to `delete-file'.
4039 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
4040 forcing to delete the temporary file.
4041 (ange-ftp-delete-file): Add FORCE arg.
4042 (ange-ftp-rename-remote-to-remote)
4043 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
4044 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
4045 Force file deletion.
4047 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
4049 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
4050 (tramp-handle-make-symbolic-link, tramp-handle-load)
4051 (tramp-do-copy-or-rename-file-via-buffer)
4052 (tramp-do-copy-or-rename-file-directly)
4053 (tramp-do-copy-or-rename-file-out-of-band)
4054 (tramp-handle-process-file, tramp-handle-call-process-region)
4055 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4056 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4057 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
4059 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
4060 (tramp-fish-handle-make-symbolic-link)
4061 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
4063 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4064 Use `tramp-compat-delete-file'.
4066 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
4067 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
4069 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
4070 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
4072 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
4073 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
4074 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
4075 `tramp-compat-delete-file'.
4077 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4080 * subr.el (add-minor-mode): Use push.
4081 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
4082 * emulation/edt.el (edt-select-mode): Simplify.
4084 Use define-minor-mode in more cases.
4085 * term/tvi970.el (tvi970-set-keypad-mode):
4086 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4087 (normal-erase-is-backspace-mode):
4088 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
4089 (set-scroll-bar-mode-1): (Re)move to its sole caller.
4090 (get-scroll-bar-mode): New function.
4091 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
4093 Use define-minor-mode for less obvious cases.
4094 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
4095 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
4096 * international/iso-ascii.el (iso-ascii-mode):
4097 * frame.el (auto-raise-mode, auto-lower-mode):
4098 * composite.el (global-auto-composition-mode): Use define-minor-mode.
4100 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
4102 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
4103 in order to see error messages for failed logins.
4105 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
4107 * diff.el (diff-sentinel):
4109 * epg.el (epg--make-temp-file, epg-decrypt-string)
4110 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4112 * jka-compr.el (jka-compr-partial-uncompress)
4113 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
4115 * server.el (server-sentinel): Use delete-file's new FORCE arg
4118 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4120 Use define-minor-mode where applicable.
4121 * view.el (view-mode):
4122 * type-break.el (type-break-query-mode)
4123 (type-break-mode-line-message-mode):
4124 * textmodes/reftex.el (reftex-mode):
4125 * term/vt100.el (vt100-wide-mode):
4126 * tar-mode.el (tar-subfile-mode):
4127 * savehist.el (savehist-mode):
4128 * ibuf-ext.el (ibuffer-auto-mode):
4129 * composite.el (auto-composition-mode):
4130 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4131 Use define-minor-mode.
4132 (vhdl-mode): Use static mode-line format.
4133 (vhdl-mode-line-update): Delete.
4134 (vhdl-create-mode-menu, vhdl-activate-customizations)
4135 (vhdl-hs-minor-mode): Don't bother calling it.
4137 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * simple.el (with-wrapper-hook): Move.
4140 (buffer-substring-filters): Mark obsolete.
4141 (filter-buffer-substring-functions): New variable.
4142 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
4144 Use a mode-line spec rather than a static string in Semantic.
4145 * cedet/semantic/util-modes.el:
4146 (semantic-minor-modes-format): New var to replace...
4147 (semantic-minor-modes-status): Remove.
4148 (semantic-mode-line-update): Construct a mode-line spec rather than
4149 a static string so that mouse buttons can be used on individual minor
4150 modes and so that semantic-mode-line-update only needs to be called
4151 when global settings are changed.
4152 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
4153 Call semantic-mode-line-update.
4154 (semantic-toggle-minor-mode-globally): Don't assume mode is on
4155 minor-mode-alist, check semantic-minor-mode-alist as well.
4156 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
4157 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
4158 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
4159 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
4160 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
4161 (define-semantic-idle-service, semantic-idle-summary-mode):
4162 * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
4163 Don't call semantic-mode-line-update any more.
4165 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4167 Use define-minor-mode in CEDET where applicable.
4169 * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
4170 Use define-minor-mode.
4172 * cedet/semantic/util-modes.el (semantic-add-minor-mode):
4173 Remove unused arg `keymap' and code redundant with define-minor-mode.
4174 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
4175 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
4176 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
4177 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
4178 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
4179 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
4180 Use define-minor-mode.
4181 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
4182 (semantic-show-unmatched-syntax-mode-setup)
4183 (semantic-show-parser-state-mode-setup)
4184 (semantic-highlight-func-mode-setup): Inline into sole caller.
4186 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
4187 (semantic-mru-bookmark-mode): Use define-minor-mode.
4188 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
4190 * cedet/semantic/idle.el (define-semantic-idle-service):
4191 Use define-minor-mode and inline setup function into its sole caller.
4192 (semantic-idle-scheduler-mode-setup)
4193 (semantic-idle-summary-mode-setup): Inline into sole caller.
4194 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
4195 Use define-minor-mode.
4197 * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
4198 (semantic-decoration-mode): Use define-minor-mode.
4199 (semantic-decoration-mode-setup): Inline into sole caller.
4201 * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
4202 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
4203 (ede-dired-add-to-target): Use dolist.
4205 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4206 Michael Albinus <michael.albinus@gmx.de>
4208 Implement compression for inline methods.
4210 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4211 (tramp-copy-size-limit): Allow also nil.
4212 (tramp-inline-compress-commands): New defconst.
4213 (tramp-find-inline-compress, tramp-get-inline-compress)
4214 (tramp-get-inline-coding): New defuns.
4215 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4216 replaced by `tramp-get-inline-coding'.
4217 (tramp-handle-file-local-copy, tramp-handle-write-region)
4218 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4220 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
4223 Remove unused functions.
4225 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
4226 Set find-tag-default-function as a variable rather than a property.
4228 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
4229 * progmodes/etags.el (tags-completion-at-point-function):
4230 Remove left over interactive spec. Add autoloading stub.
4231 (complete-tag): Use tags-completion-at-point-function.
4233 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
4235 * minibuffer.el (tags-completion-at-point-function): Fix return value.
4237 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
4239 * ido.el (ido-init-completion-maps): Remove C-v binding.
4240 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
4242 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
4244 * minibuffer.el (tags-completion-at-point-function): New function.
4245 (completion-at-point-functions): Use it.
4247 * cedet/semantic.el (semantic-completion-at-point-function):
4249 (semantic-mode): Use semantic-completion-at-point-function for
4250 completion-at-point-functions instead.
4252 * progmodes/etags.el (complete-tag): Revert last change.
4254 2010-04-29 Alan Mackenzie <acm@muc.de>
4256 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
4257 off-by-one error (in end of macro position).
4259 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4261 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
4262 firefox is absent. Don't autoload.
4263 (browse-url-galeon-program): Don't autoload.
4265 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
4267 * bindings.el (complete-symbol): Move into minibuffer.el.
4269 * minibuffer.el (complete-tag): Move from etags.el. If tags
4270 completion cannot be performed, return nil instead of signalling
4272 (completion-at-point): Make it an alias for complete-symbol.
4273 (complete-symbol): Move from bindings.el, and replace with the
4274 body of completion-at-point.
4276 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
4278 * cedet/semantic.el (semantic-mode): When enabled, add
4279 semantic-ia-complete-symbol to completion-at-point-functions.
4281 * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
4282 if Semantic is not active.
4284 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
4286 * net/tramp.el (tramp-remote-selinux-p): New defun.
4287 (tramp-handle-file-selinux-context)
4288 (tramp-handle-set-file-selinux-context): Use it.
4290 2010-04-28 Sam Steingold <sds@gnu.org>
4292 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
4293 `safe-local-variable' if the value is a string or a symbol with
4294 the property `bug-reference-url-format'.
4296 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
4298 * progmodes/bug-reference.el (bug-reference-url-format):
4299 Revert 2010-04-27 change due to security risk.
4301 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4303 Make it possible to locally disable a globally enabled mode.
4304 * simple.el (fundamental-mode): Run fundamental-mode-hook.
4305 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
4306 rather than kill-all-local-variables so it runs fundamental-mode-hook.
4307 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4308 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
4309 that subsequent hooks get a chance to disable it.
4311 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4314 Avoid re-enabling a minor mode after the user turned the minor mode
4315 off if MODE-enable-in-buffers is run twice (typically once from
4316 fundamental-mode's after-change-major-mode-hook and a second time from
4317 run-mode-hook's own after-change-major-mode-hook).
4319 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
4321 2010-04-27 Sam Steingold <sds@gnu.org>
4323 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
4324 `safe-local-variable' if the value is a string or a function, as
4325 documented and implemented on 2010-04-02.
4327 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
4329 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
4330 when method is 'kill.
4332 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
4334 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
4335 condition in default directory check.
4336 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
4337 Kill ispell process when killing its associated buffer.
4339 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
4341 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
4342 but we aren't using it.
4344 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
4346 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
4347 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
4349 2010-04-24 Glenn Morris <rgm@gnu.org>
4351 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
4352 Ignore VCS-ignore files, and deleted nextstep preferences files.
4353 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
4354 (authors-ambiguous-files): New list.
4355 (authors-valid-file-names): Add some deleted files.
4356 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
4357 (authors-disambiguate-file-name): New function. (Bug#5501)
4358 (authors-canonical-file-name): Doc fix.
4359 Don't warn about obsolete files.
4360 (authors-canonical-file-name, authors-scan-el):
4361 Use authors-disambiguate-file-name.
4363 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
4364 Add autoload cookies.
4365 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
4366 (generated-autoload-file): Set file-local value to "htmlfontify.el".
4367 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
4368 They have definitions / compiler macros in cl.el.
4369 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
4370 Replace manual autoloads with generated ones.
4371 (htmlfontify-unload-rgb-file): Remove autoload.
4372 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
4374 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4376 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
4377 (byte-compile-setq-default): Optimize for the
4378 single-var case and don't call byte-compile-form in this case to avoid
4379 inf-loop with byte-compile-set-default.
4381 * progmodes/compile.el (compilation-start): Abbreviate default directory.
4383 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
4385 Implement SELINUX backends.
4387 * net/tramp.el (tramp-file-name-handler-alist):
4388 Add `file-selinux-context' and `set-file-selinux-context'.
4389 (tramp-handle-file-selinux-context)
4390 (tramp-handle-set-file-selinux-context): New defuns.
4391 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4392 Handle PRESERVE-SELINUX-CONTEXT.
4394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4395 Add `file-selinux-context' and `set-file-selinux-context'.
4396 (tramp-gvfs-handle-file-selinux-context)
4397 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4398 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4400 * net/ange-ftp.el (ange-ftp-copy-file):
4401 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4402 * net/tramp-imap.el (tramp-imap-handle-copy-file):
4403 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4404 Add PRESERVE-SELINUX-CONTEXT.
4406 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4408 Synchronize with Tramp repository.
4410 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
4411 (tramp-action-process-alive, tramp-action-out-of-band)
4412 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4413 (tramp-exists-file-name-handler): Fix docstring.
4414 (with-progress-reporter): New defmacro.
4415 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
4416 (tramp-maybe-open-connection): Use it.
4418 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
4420 Detect ssh 'ControlMaster' argument automatically in some cases.
4422 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4423 (tramp-default-method): Use it.
4425 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4427 * net/tramp.el (tramp-handle-copy-file): Add new optional
4428 parameter `preserve-selinux-context'.
4429 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
4431 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4433 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
4434 Ensure, that non remote files are still checked. Oops.
4436 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
4440 * icomplete.el (icomplete-completions): Use `non-essential'.
4442 * net/tramp.el (tramp-connectable-p): New defun.
4443 (tramp-handle-expand-file-name)
4444 (tramp-completion-handle-file-name-all-completions)
4445 (tramp-completion-handle-file-name-completion): Use it.
4447 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
4451 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
4453 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
4455 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
4457 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
4460 * info.el (info-tool-bar-map): Add labels.
4462 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
4464 * cus-edit.el (custom-commands): Add labels for tool bar.
4465 (custom-buffer-create-internal, Custom-mode): Adjust for
4466 labels in custom-commands.
4468 * dynamic-setting.el: Renamed from font-setting.el.
4470 2010-04-21 John Wiegley <jwiegley@gmail.com>
4472 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
4473 toggles the use of virtual buffers.
4474 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
4475 (ido-toggle-virtual-buffers): New function.
4477 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
4479 Use `define-derived-mode'; fix window selection; doc fixes.
4480 * play/tetris.el (tetris, tetris-update-speed-function)
4481 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
4482 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
4483 (tetris-rotate-next, tetris-end-game, tetris-start-game)
4484 (tetris-pause-game): Fix typos in docstrings.
4485 (tetris-mode-map, tetris-null-map):
4486 Move initialization into declaration.
4487 (tetris-mode): Define with `define-derived-mode';
4488 set show-trailing-whitespace to nil.
4489 (tetris): Prefer window already displaying the "*Tetris*" buffer.
4491 2010-04-21 Karel Klíč <kklic@redhat.com>
4493 * files.el (backup-buffer): Handle SELinux context, and return it
4494 if a backup was made by renaming.
4495 (backup-buffer-copy): Set SELinux context to the target file.
4496 (basic-save-buffer): Set SELinux context of the newly written file.
4497 (basic-save-buffer-1): Now it also returns any SELinux context.
4498 (basic-save-buffer-2): Set SELinux context of the newly created file,
4500 * net/tramp.el (tramp-file-name-for-operation):
4501 Add file-selinux-context.
4503 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4505 Make the log-edit comments use RFC822 format throughout.
4507 * vc.el (vc-checkin, vc-modify-change-comment):
4508 Adjust to new vc-start/finish-logentry.
4509 (vc-find-conflicted-file): New command.
4510 (vc-transfer-file): Adjust to new vc-checkin.
4511 (vc-next-action): Improve scoping.
4513 * vc-hg.el (vc-hg-log-edit-mode): Remove.
4514 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
4516 * vc-git.el (vc-git-log-edit-mode): Remove.
4517 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
4518 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
4520 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
4521 (vc-start-logentry): Remove argument `extra'.
4522 (vc-finish-logentry): Remove extra args.
4524 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
4525 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
4526 (vc-bzr-conflicted-files): New function.
4528 * log-edit.el (log-edit-extra-flags)
4529 (log-edit-before-checkin-process): Remove.
4530 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
4531 (log-edit-headers-alist): New var.
4532 (log-edit-header-contents-regexp): New const.
4533 (log-edit-match-to-eoh): New function.
4534 (log-edit-font-lock-keywords): Use them.
4535 (log-edit): Insert a "Summary:" header as default.
4536 (log-edit-mode): Mark font-lock rules as case-insensitive.
4537 (log-edit-done): Cleanup headers.
4538 (log-view-process-buffer): Remove.
4539 (log-edit-extract-headers): New function to replace it.
4541 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
4543 * subr.el (default-direction-reversed): Remove obsolescence info.
4545 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4547 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
4550 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
4551 I.e. include text after point in the completion region.
4552 Also, return nil when we're not after/in a symbol.
4554 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
4555 default enable-multibyte-characters.
4557 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * international/mule.el: Help the user choose a valid coding-system.
4560 (read-buffer-file-coding-system): New function.
4561 (set-buffer-file-coding-system): Use it. Prompt the user if the
4562 coding-system cannot encode all the chars.
4564 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
4565 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
4566 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
4567 Don't use *vc-bzr-shelve*.
4569 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
4571 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
4572 Don't destroy list before using it.
4574 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
4576 Fix the version number for added files.
4577 * vc-hg.el (vc-hg-working-revision): Check if the file is
4578 registered after hg parent fails (Bug#5961).
4580 2010-04-19 Glenn Morris <rgm@gnu.org>
4582 * htmlfontify.el (htmlfontify-buffer)
4583 (htmlfontify-copy-and-link-dir): Autoload entry points.
4585 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
4587 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
4588 name relative to the project root (Bug#5960).
4590 2010-04-19 Glenn Morris <rgm@gnu.org>
4592 * vc-git.el (vc-git-print-log): Doc fix.
4594 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
4596 * ido.el (ido-file-internal): Fix 2009-12-02 change.
4598 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
4600 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
4601 default settings (Bug#5928).
4603 2010-04-19 Glenn Morris <rgm@gnu.org>
4605 * progmodes/fortran.el (fortran-match-and-skip-declaration):
4607 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
4609 2010-04-19 Kenichi Handa <handa@m17n.org>
4611 * language/indian.el (malayalam-composable-pattern): Fix previous
4612 change (add U+0D4D "SIGN VIRAMA").
4613 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
4614 (tamil-composable-pattern): Fix typo in the regexp.
4615 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
4616 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
4617 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
4619 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
4621 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
4622 paragraph-separate (Bug#5821).
4624 2010-04-19 Juri Linkov <juri@jurta.org>
4626 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
4628 * info.el (Info-find-node-2): Comment out code that skips
4630 (Info-mouse-follow-link): New command.
4631 (Info-link-keymap): New keymap.
4632 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
4633 Return a string with links instead of inserting breadcrumbs
4635 (Info-fontify-node): Comment out code that inserts breadcrumbs.
4636 Instead of putting the `invisible' text property over the Info
4637 header, make an overlay over the Info header with the `invisible'
4638 property and `after-string' set to the string returned by
4641 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
4643 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
4644 Reported by monkey@sandpframing.com.
4646 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
4649 (tmm-get-keymap): Add key-binding shortcuts now that they're not
4650 available in the "keyseq cache" any more.
4652 * custom.el (defcustom): Add edebug spec.
4654 2010-04-18 Juri Linkov <juri@jurta.org>
4656 Test for special mode-class in view-buffer instead of view-file (bug#5513).
4658 * view.el (view-file, view-buffer): Move test for special mode-class
4659 from view-file to view-buffer.
4661 * tar-mode.el (tar-extract): Turn if's into one cond
4662 like in arc-mode.el.
4664 2010-04-18 Juri Linkov <juri@jurta.org>
4666 Add 7z archive format support (bug#5475).
4668 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
4669 (archive-7z-extract): New defcustom.
4670 (archive-find-type): Add magic string for 7z.
4671 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
4672 If `stderr-file' is non-nil, use `(t stderr-file)' for the
4673 `buffer' arg of `call-process'.
4674 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
4675 call the function `archive-7z-extract' with the variable
4676 `archive-7z-extract' let-bound to `archive-zip-extract'.
4677 (archive-7z-summarize, archive-7z-extract): New functions.
4679 * international/mule.el (auto-coding-alist):
4680 * files.el (auto-mode-alist): Add 7z file extension.
4682 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
4684 * loadup.el: Setup hash-cons for pure data.
4686 Fix duplicate entries in cedet's loaddefs.el files.
4687 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
4688 Should make most file-local generated-autoload-file unnecessary.
4689 (print-readably): Silence warnings.
4690 (autoload-find-destination): Take load-name as an arg to make sure
4691 it's the same as the one that will be in the file.
4692 (autoload-generate-file-autoloads): Adjust to above changes.
4693 Try to make the dataflow a bit simpler.
4695 * cvs-status.el (cvs-refontify): Remove unused.
4697 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
4699 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
4701 * calc-bin.el (calc-radix): Have the "O" option turn on
4702 twos-complement mode.
4704 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
4706 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
4707 Add `calc-option-prefix-help' to calc-help autoloads.
4708 (calc-inverse): Add "Option" to message, as appropriate.
4709 (calc-hyperbolic): Add "Option" to message, as appropriate.
4710 (calc-option, calc-is-option): New functions.
4712 * calc-help.el (calc-full-help): Add `calc-option-help'.
4713 (calc-option-prefix-help): New function.
4715 * calc-misc.el (calc-help): Add "Option" entry.
4717 * calc.el (calc-local-var-list): Add `calc-option-flag'.
4718 (calc-option-flag): New variable.
4719 (calc-do): Set `calc-option-flag to nil.
4720 (calc-set-mode-line): Add "Opt " as appropriate.
4722 2010-04-16 Juri Linkov <juri@jurta.org>
4724 Move scrolling commands from simple.el to window.el
4725 because their primitives are implemented in window.c.
4727 * simple.el (scroll-error-top-bottom)
4728 (scroll-up-command, scroll-down-command, scroll-up-line)
4729 (scroll-down-line, scroll-other-window-down)
4730 (beginning-of-buffer-other-window, end-of-buffer-other-window):
4731 * window.el (scroll-error-top-bottom)
4732 (scroll-up-command, scroll-down-command, scroll-up-line)
4733 (scroll-down-line, scroll-other-window-down)
4734 (beginning-of-buffer-other-window, end-of-buffer-other-window):
4735 Move from simple.el to window.el because their primitives are
4736 implemented in window.c.
4738 2010-04-16 Juri Linkov <juri@jurta.org>
4740 * isearch.el (isearch-lookup-scroll-key): Check both
4741 `isearch-scroll' and `scroll-command' properties.
4742 (scroll-up, scroll-down): Remove `isearch-scroll' property.
4744 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
4746 * simple.el (scroll-up-command, scroll-down-command)
4747 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
4749 2010-04-15 Juri Linkov <juri@jurta.org>
4751 * simple.el (scroll-up-command, scroll-down-command)
4752 (scroll-up-line, scroll-down-line): Put `scroll-command'
4753 property on the these symbols. Remove them from
4754 `scroll-preserve-screen-position-commands'.
4756 * mwheel.el (mwheel-scroll): Put `scroll-command' and
4757 `isearch-scroll' properties on the `mwheel-scroll' symbol.
4758 Remove it from `scroll-preserve-screen-position-commands'.
4760 * isearch.el (isearch-allow-scroll): Doc fix.
4762 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
4764 * net/tramp.el (tramp-error-with-buffer): Don't show the
4765 connection buffer when we are in completion mode.
4766 (tramp-file-name-handler): Catch the error for some operations
4767 when we are in completion mode. This gives the user the chance to
4768 correct the file name in the minibuffer.
4770 2010-04-15 Glenn Morris <rgm@gnu.org>
4772 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
4774 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
4776 Simplify by using `define-derived-mode'.
4777 * info.el (Info-mode):
4778 * calendar/todo-mode.el (todo-mode):
4779 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
4780 (gomoku-mode-map): Move initialization into declaration.
4782 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
4785 * ido.el (ido-file-name-all-completions-1):
4786 * minibuffer.el (minibuffer-completion-help):
4787 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
4789 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * simple.el (non-essential): New var.
4793 Add a new field `location' to bookmarks for non-file bookmarks.
4794 * bookmark.el (bookmark-location): Use the new field, if present.
4795 (bookmark-insert-location): Undo last change, not needed any more.
4796 * man.el (Man-bookmark-make-record):
4797 * woman.el (woman-bookmark-make-record): Add `location' field.
4799 2010-04-14 Juri Linkov <juri@jurta.org>
4801 * simple.el (scroll-error-top-bottom): New defcustom.
4802 (scroll-up-command, scroll-down-command): Use it. Doc fix.
4804 * emulation/pc-select.el (pc-select-override-scroll-error):
4805 Obsolete in favor of `scroll-error-top-bottom'.
4807 2010-04-14 Juri Linkov <juri@jurta.org>
4809 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
4810 `scroll-up-command' and `M-v' to `scroll-down-command'.
4812 * emulation/cua-rect.el (cua--init-rectangles):
4813 * forms.el (forms--change-commands):
4814 * image-mode.el (image-mode-map):
4815 Remap scroll-down-command and scroll-up-command
4816 in addition to scroll-down and scroll-up.
4818 2010-04-14 Juri Linkov <juri@jurta.org>
4820 * mwheel.el (scroll-preserve-screen-position-commands):
4821 Add mwheel-scroll to this list of commands.
4823 * simple.el (scroll-preserve-screen-position-commands):
4824 Add scroll-up-command, scroll-down-command, scroll-up-line,
4825 scroll-down-line to this list of commands.
4827 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * obsolete/complete.el: Move from lisp/complete.el.
4831 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
4833 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
4834 to the minor mode function now turns the mode ON unconditionally.
4836 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * vc-dir.el (vc-dir-kill-line): New command.
4839 (vc-dir-mode-map): Bind it to C-k.
4841 * bookmark.el (bookmark-insert-location): Handle a nil filename.
4843 * woman.el: Add bookmark declarations to silence the compiler.
4844 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
4845 step to compatibility between man and woman bookmarks.
4846 Adjust for Man-default-bookmark-title renaming.
4847 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
4849 * man.el: Add bookmark declarations to silence the compiler.
4850 (Man-name-local-regexp): Make it match NAME as well.
4851 (Man-getpage-in-background): Return the buffer.
4852 (Man-notify-when-ready): Use `case'.
4853 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
4854 Don't hardcode "NAME". Simplify.
4855 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
4856 Rename from Man-bookmark-make-record.
4857 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
4858 we have the actual man-args. Use Man-getpage-in-background rather
4859 than `man' since the arg is already processed. Let bookmark.el do the
4860 window handling. Only wait for the relevant process.
4861 Don't forget to autoload.
4863 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
4865 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4867 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
4869 (woman-mode): Setup bookmark support.
4871 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
4872 (man-bookmark-jump): New functions.
4873 (Man-mode): Setup bookmark support.
4875 2010-04-10 Jari Aalto <jari.aalto@cante.net>
4877 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
4878 recognize ssh-keygen prompt (Bug#2817).
4880 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
4882 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
4884 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
4886 Synchronize with Tramp repository.
4888 * net/tramp.el (tramp-completion-function-alist)
4889 (tramp-file-name-regexp, tramp-chunksize)
4890 (tramp-local-coding-commands, tramp-remote-coding-commands):
4892 (tramp-remote-process-environment): Use `format' instead of `concat'.
4893 (tramp-handle-directory-files-and-attributes)
4894 (tramp-get-remote-path): Use `copy-tree'.
4895 (tramp-handle-file-name-all-completions): Backward/ XEmacs
4896 compatibility: Use `completion-ignore-case' if
4897 `read-file-name-completion-ignore-case' does not exist.
4898 (tramp-do-copy-or-rename-file-directly): Do not use
4899 `tramp-handle-file-remote-p'.
4900 (tramp-do-copy-or-rename-file-out-of-band):
4901 Use `tramp-compat-delete-directory'.
4902 (tramp-do-copy-or-rename-file-out-of-band)
4903 (tramp-compute-multi-hops, tramp-maybe-open-connection):
4904 Use `format-spec-make'.
4905 (tramp-find-foreign-file-name-handler)
4906 (tramp-advice-make-auto-save-file-name)
4907 (tramp-set-auto-save-file-modes): Remove superfluous check for
4908 `stringp'. This is done inside `tramp-tramp-file-p'.
4909 (tramp-debug-outline-regexp): New defconst.
4910 (tramp-get-debug-buffer): Use it.
4911 (tramp-check-for-regexp): Use (forward-line 1).
4912 (tramp-set-auto-save-file-modes): Adapt version check.
4914 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
4915 Wrap call of `featurep' for 2nd argument.
4916 (tramp-compat-make-temp-file): Simplify fallback implementation.
4917 (tramp-compat-copy-tree): Remove function.
4918 (tramp-compat-delete-directory): Provide implementation for older
4921 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
4922 Do not use `tramp-fish-handle-file-attributes.
4924 * net/trampver.el: Update release number.
4926 2010-04-10 Glenn Morris <rgm@gnu.org>
4928 * progmodes/compile.el (compilation-save-buffers-predicate):
4929 Add missing :version tag.
4931 2010-04-09 Sam Steingold <sds@gnu.org>
4933 * progmodes/compile.el (compilation-save-buffers-predicate):
4934 Remove the "autoload" cookie.
4936 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
4937 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
4938 and `bug-reference-prog-mode' can be used in hooks directly.
4940 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
4942 Add --author support to git commit.
4943 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
4944 (vc-git-log-edit-mode): New minor mode.
4945 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
4948 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
4950 * vc-hooks.el, vc-git.el: Improve documentation comments.
4952 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
4954 Fix some of the problems in defsubst* (bug#5728).
4955 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
4956 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
4958 2010-04-07 Sam Steingold <sds@gnu.org>
4960 * progmodes/compile.el (compilation-save-buffers-predicate):
4961 New custom variable.
4962 (compile, recompile): Pass it to `save-some-buffers'.
4964 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
4966 * wid-edit.el (widget-choose): Move cursor to the second line of
4967 the buffer (Bug#5695).
4969 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
4971 Add new VC methods: vc-log-incoming and vc-log-outgoing.
4972 * vc.el (vc-print-log-setup-buttons): New function split out from
4973 vc-print-log-internal.
4974 (vc-log-internal-common): New function, a parametrized version of
4975 vc-print-log-internal.
4976 (vc-print-log-internal): Just call vc-log-internal-common with the
4978 (vc-incoming-outgoing-internal):
4979 (vc-log-incoming, vc-log-outgoing): New functions.
4980 (vc-log-view-type): New permanent local variable.
4982 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
4984 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
4985 of the dynamic bound vc-short-log.
4986 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
4988 * vc-git.el (vc-git-log-outgoing): New function.
4989 (vc-git-log-view-mode): Use vc-log-view-type instead
4990 of the dynamic bound vc-short-log.
4992 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
4993 of the dynamic bound vc-short-log. Highlight the tag.
4994 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
4995 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
4996 (vc-hg-incoming-mode): Remove.
4997 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
4999 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5001 Fix default-directory for vc-root-diff.
5002 * vc.el (vc-root-diff): Bind default-directory to the root
5003 directory for the diff command.
5005 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
5007 * progmodes/verilog-mode.el (verilog-forward-sexp):
5008 (verilog-calc-1): Support "disable fork" and "fork wait" multi
5009 word keywords, suggested by Steve Pearlmutter.
5010 (verilog-pretty-declarations): Support lineup of declarations in
5012 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5013 fix bug for /* / comments.
5014 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5015 Speed up and simplfy as this is never called with a bound.
5016 (verilog-pretty-declarations): Enhance to line up declarations
5017 inside a parameter list, suggested by Alan Morgan.
5018 (verilog-pretty-expr): Tune assignment regular expression match
5019 string for corner cases; also use markers instead of character
5020 number as indent changes the later.
5022 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
5024 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5026 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5027 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
5028 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5029 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
5032 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5033 1800-2009 keywords, including "global.".
5035 2010-04-06 John Wiegley <jwiegley@gmail.com>
5037 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5038 appearing in buffer list (if a live buffer name matched a recentf
5039 file basename). Should use uniquify to offer a real solution.
5041 2010-04-06 John Wiegley <jwiegley@gmail.com>
5043 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5044 comment to code, and add a :version tag.
5045 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
5047 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
5049 Enable recentf-mode if using virtual buffers.
5050 * ido.el (recentf-list): Declare for byte-compiler.
5051 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
5052 (ido-make-buffer-list): Simplify.
5053 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
5055 2010-04-05 Juri Linkov <juri@jurta.org>
5057 Scrolling commands which scroll a line instead of full screen.
5058 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5060 * simple.el (scroll-up-line, scroll-down-line): New commands.
5061 Put property isearch-scroll=t on them.
5063 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
5066 2010-04-05 Juri Linkov <juri@jurta.org>
5068 Scrolling commands which do not signal errors at top/bottom.
5069 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5071 * simple.el (scroll-up-command, scroll-down-command): New commands.
5072 Put property isearch-scroll=t on them.
5074 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
5075 `scroll-down-command' and [next] from `scroll-up' to
5076 `scroll-up-command'.
5078 * emulation/cua-base.el: Put property CUA=move on
5079 `scroll-up-command' and `scroll-down-command'.
5080 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
5081 and `scroll-down-command' to `cua-scroll-down'.
5083 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
5085 * help.el (describe-mode): Return nil.
5087 2010-04-04 John Wiegley <jwiegley@gmail.com>
5089 * ido.el (ido-use-virtual-buffers): New variable to indicate
5090 whether "virtual buffer" support is enabled for IDO.
5091 (ido-virtual): Face used to indicate virtual buffers in the list.
5092 (ido-buffer-internal): If a buffer is chosen, and no such buffer
5093 exists, but a virtual buffer of that name does (which would be why
5094 it was in the list), recreate the buffer by reopening the file.
5095 (ido-make-buffer-list): If virtual buffers are being used, call
5096 `ido-add-virtual-buffers-to-list' before the make list hook.
5097 (ido-virtual-buffers): New variable which contains a copy of the
5098 current contents of the `recentf-list', albeit pared down for the
5099 sake of speed, and with proper faces applied.
5100 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
5101 create a list of "virtual buffers" to present to the user in
5102 addition to the currently open set. Note that this logic could
5103 get rather slow if that list is too large. With the default
5104 `recentf-max-saved-items' of 200, there is little speed penalty.
5106 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
5108 * font-lock.el: Require CL when compiling.
5109 (font-lock-turn-on-thing-lock): Use `case'.
5111 2010-04-03 Eli Zaretskii <eliz@gnu.org>
5113 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
5116 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
5118 * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
5119 (semantic-create-imenu-directory-index): Fix typos in docstrings.
5120 (semantic-imenu-goto-function): Reflow docstring.
5122 2010-04-02 Juri Linkov <juri@jurta.org>
5124 * ehelp.el (electric-help-orig-major-mode):
5125 New buffer-local variable.
5126 (electric-help-mode): Set it to original major-mode. Doc fix.
5127 (with-electric-help): Use `electric-help-orig-major-mode' instead
5128 of (default-value 'major-mode). Doc fix.
5129 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
5131 2010-04-02 Sam Steingold <sds@gnu.org>
5133 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
5134 `vc-hg-command' with a list of flags.
5136 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5137 Also accept "patch" and "RFE".
5138 (bug-reference-fontify): `bug-reference-url-format' can also be a
5139 function to be able to handle the bug kind.
5140 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
5142 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
5144 * tmm.el (tmm-get-keymap): Check with symbolp before passing
5145 value to fboundp, it may not be a symbol.
5147 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5149 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
5151 2010-03-31 Juri Linkov <juri@jurta.org>
5153 * simple.el (next-line, previous-line): Re-throw a signal
5154 with `signal' instead of using `ding'.
5155 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
5157 2010-03-31 Juri Linkov <juri@jurta.org>
5159 * simple.el (keyboard-escape-quit): Raise deselecting the active
5160 region higher than exiting the minibuffer.
5161 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
5163 2010-03-31 Juri Linkov <juri@jurta.org>
5165 * image.el (image-animated-p): Use `image-metadata' instead of
5166 `image-extension-data'. Get GIF extenstion data from metadata
5167 property `extension-data'.
5169 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5171 * simple.el (append-to-buffer): Simplify.
5173 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
5175 * textmodes/artist.el (artist-mode): Fix typo in docstring.
5176 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
5178 2010-03-31 Kenichi Handa <handa@m17n.org>
5180 * language/sinhala.el (composition-function-table): Fix regexp for
5181 the new Unicode specification.
5183 * language/indian.el (devanagari-composable-pattern)
5184 (tamil-composable-pattern, kannada-composable-pattern)
5185 (malayalam-composable-pattern): Adjust for the new Unicode
5187 (bengali-composable-pattern, gurmukhi-composable-pattern)
5188 (gujarati-composable-pattern, oriya-composable-pattern)
5189 (telugu-composable-pattern): New variables to cope with the new
5190 Unicode specification. Use them in composition-function-table.
5192 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5194 Make tmm-menubar work for the Buffers menu again (bug#5726).
5195 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
5196 vectors rather than cons cells, as used in menu-bar-update-buffers.
5198 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5200 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
5201 (js-insert-and-indent): Revert 2009-08-15 change, restoring
5202 electric punctuation for "{}();,:" (Bug#5586).
5204 * mail/sendmail.el (mail-default-directory): Doc fix.
5206 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5208 * mail/sendmail.el (mail-default-directory): Doc fix.
5210 2010-03-31 Eli Zaretskii <eliz@gnu.org>
5212 * subr.el (version-regexp-alist, version-to-list)
5213 (version-list-<, version-list-=, version-list-<=)
5214 (version-list-not-zero, version<, version<=, version=): Doc fix.
5217 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
5219 * vc.el (vc-root-diff): Doc fix.
5221 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5223 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
5225 * simple.el (append-to-buffer): Fix last change.
5227 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5229 * simple.el (append-to-buffer): Ensure that point is preserved if
5230 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
5233 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5235 * files.el (auto-mode-case-fold): Change default to t.
5237 2010-03-30 Juri Linkov <juri@jurta.org>
5239 * dired-x.el (dired-omit-mode): Doc fix.
5241 2010-03-30 Juri Linkov <juri@jurta.org>
5243 * replace.el (occur-accumulate-lines): Move occur-engine related
5244 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
5245 to be located after `occur-engine'.
5247 2010-03-30 Juri Linkov <juri@jurta.org>
5249 Make occur handle multi-line matches cleanly with context.
5250 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
5252 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
5253 (occur-engine): Add local variables `ret', `prev-after-lines',
5254 `prev-lines'. Use more arguments for `occur-context-lines'.
5255 Set first elem of its returned list to `data', and the second elem
5256 to `prev-after-lines'. Don't print the separator line.
5257 In the end, print remaining context after-lines.
5258 (occur-context-lines): Add new arguments `begpt', `endpt',
5259 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
5260 after-lines of the previous match with before-lines of the
5261 current match and not overlap them. Return a list with two
5262 values: the output line and the list of context after-lines.
5264 2010-03-30 Juri Linkov <juri@jurta.org>
5266 * replace.el (occur-accumulate-lines): Fix a bug where the first
5267 context line at the beginning of the buffer was missing.
5269 2010-03-30 Eli Zaretskii <eliz@gnu.org>
5271 * files.el: Make bidi-display-reordering safe variable for boolean
5274 2010-03-29 Phil Hagelberg <phil@evri.com>
5275 Chong Yidong <cyd@stupidchicken.com>
5277 * subr.el: Extend progress reporters to perform "spinning".
5278 (progress-reporter-update, progress-reporter-do-update):
5279 Handle non-numeric value arguments.
5280 (progress-reporter--pulse-characters): New var.
5282 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
5284 * progmodes/compile.el (compilation-start): Fix regexp detection
5285 of initial cd command (Bug#5771).
5287 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
5289 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
5291 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
5293 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
5294 * lisp/progmodes/gdb-mi.el: Restore.
5295 * lisp/progmodes/gdb-ui.el: Remove.
5296 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
5298 2010-03-25 Glenn Morris <rgm@gnu.org>
5300 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
5301 all dired buffers, even tramp ones. (Bug#5755)
5303 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5305 Add "union tags" in mpc.el.
5306 * mpc.el: Remove backward compatibility code.
5307 (mpc-browser-tags): Change default.
5308 (mpc--find-memoize-union-tags): New var.
5309 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
5310 (mpc-cmd-find): Handle the case where the playlist does not exist.
5312 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
5313 (mpc-cmd-add): Use mpc-cmd-flush.
5314 (mpc-tagbrowser-tag-name): New fun.
5315 (mpc-tagbrowser-buf): Use it.
5316 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
5318 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5321 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
5322 Use replace-regexp-in-string.
5323 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
5324 (makefile-imake-mode-syntax-table): Move init into defvar.
5325 (makefile-mode): Use define-derived-mode.
5327 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
5328 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
5329 not be present any more.
5331 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5333 * faces.el (set-face-attribute): Fix typo in docstring.
5334 (face-valid-attribute-values): Reflow docstring.
5336 * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
5338 2010-03-24 Glenn Morris <rgm@gnu.org>
5340 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
5342 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
5344 * indent.el (indent-for-tab-command): Doc fix.
5346 2010-03-24 Alan Mackenzie <acm@muc.de>
5348 * progmodes/cc-engine.el (c-remove-stale-state-cache):
5349 Fix off-by-one error. Fixes bug #5747.
5351 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5353 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
5354 (image-dired-read-comment): Doc fix.
5356 * json.el (json-object-type, json-array-type, json-key-type)
5357 (json-false, json-null, json-read-number):
5358 * minibuffer.el (completion-in-region-functions):
5359 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
5360 (cal-tex-cursor-week):
5361 * emacs-lisp/trace.el (trace-function):
5362 * eshell/em-basic.el (eshell/printnl):
5363 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
5364 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
5365 * obsolete/levents.el (allocate-event, event-key, event-object)
5366 (event-point, event-process, event-timestamp, event-to-character)
5367 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
5368 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
5369 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
5370 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
5371 (reftex-highlight-selection): Fix typos in docstrings.
5373 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5375 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
5377 2010-03-24 Glenn Morris <rgm@gnu.org>
5379 * mail/rmail.el (rmail-highlight-face): Restore option deleted
5380 2008-02-13 without comment; mark it obsolete.
5381 (rmail-highlight-headers): Use rmail-highlight-face once more.
5383 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
5385 * woman.el (woman2-process-escapes): Only consume the newline if
5386 the filler character is on a line by itself (Bug#5729).
5388 2010-03-24 Kenichi Handa <handa@m17n.org>
5390 * language/indian.el (devanagari-composable-pattern): Add more
5393 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
5395 * net/trampver.el: Update release number.
5397 2010-03-24 Glenn Morris <rgm@gnu.org>
5399 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
5401 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
5403 * net/tramp.el (tramp-find-executable):
5404 Use `tramp-get-connection-buffer'. Make the regexp for checking
5405 output of "wc -l" more robust.
5406 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
5407 (tramp-open-connection-setup-interactive-shell): Remove workaround
5408 for OpenSolaris bug, it is not needed anymore.
5410 2010-03-24 Eric M. Ludlam <zappo@gnu.org>
5412 * cedet/semantic/imenu.el: New file, from the CEDET repository
5415 2010-03-24 Glenn Morris <rgm@gnu.org>
5417 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
5419 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
5421 * files.el (auto-mode-alist): Accept more verilog file patterns.
5423 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
5427 2010-03-24 Glenn Morris <rgm@gnu.org>
5429 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
5430 log-edit-before-checkin-process.
5432 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
5434 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
5436 * vc-dispatcher.el (vc-start-logentry): Doc fix.
5437 (log-view-process-buffer, log-edit-extra-flags): Declare.
5439 * log-edit.el (log-edit-before-checkin-process): Doc fix.
5441 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
5442 Consistently check ede-object is bound throughout.
5444 * cedet/ede/project-am.el (ede-shell-run-something): Declare.
5446 2010-03-23 Sam Steingold <sds@gnu.org>
5448 Fix bug#5620: recalculate all markers on compilation buffer
5449 modifications, not on file modifications.
5450 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
5451 the buffer modification time, for buffers not associated with files.
5452 (compilation-mode): Create it.
5453 (compilation-filter): Update it.
5454 (compilation-next-error-function): Use it instead of
5455 `visited-file-modtime' for timestamp.
5457 2010-03-23 Juri Linkov <juri@jurta.org>
5459 Implement Occur multi-line matches.
5460 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
5462 * replace.el (occur): Doc fix.
5463 (occur-engine): Set `begpt' to the beginning of the first line.
5464 Set `endpt' to the end of the last match line. At first, count
5465 line numbers between `origpt' and `begpt'. Split out code from
5466 `out-line' variable to new let-bindings `match-prefix' and
5467 `match-str'. In `out-line' add non-numeric prefix to all
5468 non-first lines of multi-line matches. Finally, count lines
5469 between `begpt' and `endpt' and add to `lines'.
5471 2010-03-23 Juri Linkov <juri@jurta.org>
5473 * replace.el (occur-accumulate-lines, occur-engine):
5474 Use `occur-engine-line' instead of duplicate code.
5475 (occur-engine-line): New function created from duplicate code
5476 in `occur-accumulate-lines' and `occur-engine'.
5478 * replace.el (occur-engine-line): Add optional arg `keep-props'.
5479 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
5481 2010-03-23 Juri Linkov <juri@jurta.org>
5483 * finder.el: Remove TODO tasks.
5485 * info.el (Info-finder-find-node): Add node "all"
5486 with all package info. Handle a list of multiple keywords
5488 (info-finder): In interactive use with a prefix argument,
5489 use `completing-read-multiple' to read a list of keywords
5492 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5494 Add a new completion style `substring'.
5495 * minibuffer.el (completion-basic--pattern): New function.
5496 (completion-basic-try-completion, completion-basic-all-completions):
5498 (completion-substring--all-completions)
5499 (completion-substring-try-completion)
5500 (completion-substring-all-completions): New functions.
5501 (completion-styles-alist): New style `substring'.
5503 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
5505 Get rid of .elc files after removal of the corresponding .el.
5506 * Makefile.in (compile-clean): New target.
5507 (compile-main): Use it.
5509 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
5511 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
5512 don't do make there. When compiling with separate object dir, there
5513 is no Makefile there.
5515 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
5517 Get rid of the ELCFILES abomination, again.
5518 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
5519 (all, compile): Don't call compile-last.
5520 (compile-main): Build the "elcfiles" list dynamically.
5521 (compile-targets): New (internal) target.
5523 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
5525 * Makefile.in (top_srcdir): Define.
5526 (abs_top_builddir): Define.
5527 (srcdir): Don't append `/..'.
5528 (EMACS): Use ${abs_top_builddir}.
5529 (all, compile, compile-always, compile-last): Don't set emacswd.
5530 (update-subdirs, update-authors): Use $(top_srcdir) instead of
5532 (lisp): Use $(srcdir) instead of @srcdir@.
5534 2010-03-21 Juri Linkov <juri@jurta.org>
5536 Fix message of multi-line occur regexps and multi-buffer header lines.
5537 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
5539 * replace.el (occur-1): Don't display regexp if it is longer
5540 than window-width. Use `query-replace-descr' to display regexp.
5541 (occur-engine): Don't display regexp in the buffer header for
5542 multi-buffer occur. Display a separate header line with total
5543 match count and regexp for multi-buffer occur.
5544 Use `query-replace-descr' to display regexp.
5546 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
5548 * net/secrets.el: Fix parenthesis.
5549 (secrets-enabled): Fix parenthesis.
5551 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
5553 Use more relative file and directory names.
5554 * Makefile.in (EMACS): Arrange for it to work when we chdir.
5555 (setwins, setwins_almost, setwins_for_subdirs):
5556 Don't `cd'; output relative names.
5557 (all, compile, compile-always, compile-last): Set emacswd.
5558 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
5559 Just cd to the lisp source dir so we can use relative file names.
5561 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
5563 2010-03-20 Glenn Morris <rgm@gnu.org>
5565 * textmodes/rst.el: Use faces for font-lock customization, and make the
5566 old -face variables obsolete.
5567 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
5568 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
5569 (rst-block-face, rst-external-face, rst-definition-face)
5570 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
5571 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
5573 (rst-font-lock-keywords-function): Update for above changes.
5575 2010-03-20 Juri Linkov <juri@jurta.org>
5578 * obsolete/s-region.el: Move to obsolete.
5580 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
5582 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
5584 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5586 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
5588 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
5590 Add special markup processing for commit logs.
5591 * log-edit.el (log-edit-extra-flags): New variable.
5592 (log-edit): Add new argument MODE. Use that mode when non-nil
5593 instead of the log-view-mode.
5594 (log-view-process-buffer): New function.
5596 * vc.el: Document that the checkin method takes optional
5597 arguments. Document new backend specific method: log-view-mode.
5598 (vc-default-log-edit-mode): New function.
5599 (vc-checkin): Use a backend specific log-view-mode.
5600 Pass extra arguments to the checkin method.
5601 (vc-modify-change-comment): Pass a dummy extra argument.
5603 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
5605 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
5606 (vc-finish-logentry): Process the log buffer before passing it
5607 down. Pass log-edit-extra-flags.
5609 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
5611 (log-edit-extra-flags, log-edit-before-checkin-process):
5614 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
5616 (log-edit-extra-flags, log-edit-before-checkin-process):
5618 (vc-hg-log-edit-mode): New derived mode.
5620 * vc-arch.el (vc-arch-checkin):
5621 * vc-cvs.el (vc-cvs-checkin):
5622 * vc-git.el (vc-git-checkin):
5623 * vc-mtn.el (vc-mtn-checkin):
5624 * vc-rcs.el (vc-rcs-checkin):
5625 * vc-sccs.el (vc-sccs-checkin):
5626 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
5628 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
5633 2010-03-19 Glenn Morris <rgm@gnu.org>
5635 * password-cache.el (password-cache, password-cache-expiry): Autoload.
5637 2010-03-18 Glenn Morris <rgm@gnu.org>
5639 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
5641 * replace.el (query-replace-history): Give it a doc string.
5642 (map-query-replace-regexp): Use query-replace-from-history-variable
5643 and query-replace-to-history-variable.
5645 * mail/hashcash.el (declare-function): Remove duplicate definition.
5647 * mail/emacsbug.el (report-emacs-bug-pretest-address):
5648 Make it an obsolete alias for report-emacs-bug-address.
5649 (message-strip-special-text-properties): Declare.
5650 (report-emacs-bug): Remove test for a pretest bug address.
5651 Combine message-mode-specific code.
5653 * mail/supercite.el: Don't require sendmail.
5654 (mh-in-header-p): Declare rather than using with-no-warnings.
5655 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
5656 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
5658 * calendar/cal-french.el: Convert to utf-8.
5660 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
5663 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
5665 * net/secrets.el (secrets-enabled): New variable. Use it instead
5668 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
5670 * net/secrets.el (top): Register the D-Bus signals only when the
5671 service "org.freedesktop.secrets" can be pinged.
5672 Provide subfeature `enabled'.
5674 2010-03-14 Juri Linkov <juri@jurta.org>
5676 Add finder unknown keywords.
5678 * finder.el (finder-unknown-keywords): New function.
5680 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
5681 to create a Finder node with unknown keywords.
5683 2010-03-14 Juri Linkov <juri@jurta.org>
5685 * finder.el (finder-compile-keywords): Replace `princ' with
5686 `prin1' on a list of symbols interned from keyword strings.
5688 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
5689 a comma, then split keywords using a comma and optional whitespace.
5690 Otherwise, split by whitespace.
5698 * progmodes/mixal-mode.el: Fix keywords.
5700 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
5702 * Makefile.in (ELCFILES): Add net/secrets.elc.
5704 * net/secrets.el: New file.
5706 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
5708 * facemenu.el (list-colors-display, list-colors-print): New arg
5709 callback. Use it to allow selecting colors.
5711 * wid-edit.el (widget-image-insert): Insert image prop even if the
5712 current display is non-graphic.
5713 (widget-field-value-set): New fun.
5714 (editable-field): Use it.
5715 (widget-field-value-get): Clean up unused var.
5716 (widget-color-value-create, widget-color--choose-action):
5717 New funs. Allow using list-colors-display to choose color.
5719 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
5721 * cus-edit.el: Resort topmost custom groups.
5722 (custom-buffer-sort-alphabetically): Default to t.
5723 (customize-apropos): Use apropos-parse-pattern.
5724 (custom-search-field): New var.
5725 (custom-buffer-create-internal): Add custom-apropos search field.
5726 (custom-add-parent-links): Don't display parent doc.
5727 (custom-group-value-create): Don't sort top-level custom group.
5728 (custom-magic-value-create): Show visibility button before option name.
5730 (custom-variable-state): New fun, from custom-variable-state-set.
5731 (custom-variable-state-set): Use it.
5732 (custom-group-value-create): Hide options with standard values
5733 using the :hidden-states property. Use progress reporter.
5735 (custom-show): Simplify.
5736 (custom-visibility): Disable images by default.
5737 (custom-variable): New property :hidden-states.
5738 (custom-variable-value-create): Enable images for
5739 custom-visibility widgets. Use :hidden-states property to
5740 determine initial visibility.
5742 * wid-edit.el (widget-image-find): Give images center ascent.
5743 (visibility): Add :on-image and :off-image properties.
5744 (widget-visibility-value-create): Use them.
5746 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
5748 * cus-edit.el (processes): Remove from development group.
5749 (oop, hypermedia): Delete group.
5750 (comm): Promote to top-level group.
5752 * net/browse-url.el (browse-url):
5753 * net/xesam.el (xesam):
5754 * net/tramp.el (tramp):
5755 * net/goto-addr.el (goto-address):
5756 * net/ange-ftp.el (ange-ftp): Put in comm group.
5758 * view.el (view): Remove from editing group.
5760 * uniquify.el (uniquify): Put in files group.
5762 * net/browse-url.el (browse-url):
5763 * ps-print.el (postscript): Put in external group.
5765 * cus-edit.el (outlines):
5766 * textmodes/text-mode.el (text-mode-hook):
5767 * textmodes/table.el (table):
5768 * textmodes/picture.el (picture):
5769 * outline.el (outlines): Put in wp group.
5771 * nxml/nxml-mode.el (nxml): Remove from wp group.
5773 * net/tramp-imap.el (tramp-imap): Put in tramp group.
5775 * mail/metamail.el (metamail): Remove from hypermedia group.
5777 * cus-edit.el (abbrev):
5778 * whitespace.el (whitespace):
5779 * vcursor.el (vcursor):
5780 * reveal.el (reveal):
5781 * hl-line.el (hl-line): Put in convenience group.
5783 * epg-config.el (epg): Put in data group.
5785 * emulation/pc-select.el (pc-select): Put in emulations group.
5787 * calculator.el (calculator): Put in applications group.
5789 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
5791 Add .dir-locals.el support for file-less buffers.
5792 * files.el (hack-local-variables): Split out code to apply local
5793 variable settings ...
5794 (hack-local-variables-apply): ... here. New function.
5795 (hack-dir-local-variables): Use the default directory for when the
5796 buffer does not have an associated file.
5797 (hack-dir-local-variables-non-file-buffer): New function.
5798 * diff-mode.el (diff-mode):
5799 * vc-annotate.el (vc-annotate-mode):
5800 * vc-dir.el (vc-dir-mode):
5801 * log-edit.el (log-edit-mode):
5802 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
5804 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
5806 Add support for shelving snapshots and for showing shelves.
5807 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
5808 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
5810 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
5811 (vc-bzr-extra-menu-map): Map them.
5813 2010-03-11 Glenn Morris <rgm@gnu.org>
5815 * cus-edit.el (customize-changed-options-previous-release):
5818 * image.el (image-animate-max-time): Fix :version tag.
5820 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
5824 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * vc-git.el (vc-git-revision-table): Include remote branches.
5828 2010-03-10 Kim F. Storm <storm@cua.dk>
5831 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
5833 * image.el (image-animate-max-time): New defcustom.
5834 (image-animated-types): New defconst.
5835 (create-animated-image, image-animate-timer)
5836 (image-animate-start, image-animate-stop, image-animate-timeout)
5837 (image-animated-p): New functions.
5839 * image-mode.el (image-toggle-display-image):
5840 Replace `create-image' with `create-animated-image'.
5842 2010-03-09 Miles Bader <miles@gnu.org>
5844 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
5845 instead of "format:"; this ensures that the output is
5848 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
5850 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
5851 that all errors are caught, and that the return value is always a
5854 2010-03-08 Kenichi Handa <handa@m17n.org>
5856 * language/misc-lang.el (windows-1256): New coding system.
5857 (cp1256): New alias of windows-1256 (bug#5690).
5859 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
5861 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
5862 call to rfc822-bad-address. (Bug#5692)
5864 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
5866 * vc-git.el (vc-git-annotate-extract-revision-at-line):
5867 Use vc-git-root as default directory for revision path (Bug#5657).
5869 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
5871 * calculator.el (calculator): Don't bind split-window-keep-point
5874 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
5876 * vc-git.el: Re-flow to fit into 80 columns.
5877 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
5878 Remove spurious `quote' element in each case alternative.
5879 (vc-git-show-log-entry): Use prog1.
5880 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
5882 2010-03-06 Glenn Morris <rgm@gnu.org>
5884 * cedet/semantic/grammar.el (semantic-grammar-header-template):
5885 Update template copyright to GPLv3+.
5887 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
5889 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
5891 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
5893 * macros.el (insert-kbd-macro): Look up keyboard macro using the
5894 definition, not the name (Bug#5481).
5896 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
5898 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
5899 argument with a local variable. (Bug#5670)
5901 2010-03-02 Juri Linkov <juri@jurta.org>
5903 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
5905 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
5907 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
5908 error when FILENAME and NEWNAME are existing remote directories.
5910 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
5913 2010-03-02 Glenn Morris <rgm@gnu.org>
5915 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
5916 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
5918 2010-03-01 Kenichi Handa <handa@m17n.org>
5920 * language/burmese.el (burmese-composable-pattern): Rename from
5921 myanmar-composable-pattern.
5923 * international/characters.el (script-list):
5924 * international/fontset.el (script-representative-chars):
5925 Change myanmar to burmese.
5926 (otf-script-alist): Likewise.
5927 (setup-default-fontset): Likewise. Re-fix :otf spec.
5929 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
5931 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
5933 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
5935 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
5937 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
5939 * net/tramp.el (tramp-handle-write-region): START can be a string.
5940 Take care in the checks. Reported by Dan Davison
5941 <davison@stats.ox.ac.uk>.
5943 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
5945 * net/dbus.el (dbus-introspect, dbus-get-property)
5946 (dbus-set-property, dbus-get-all-properties):
5947 Use `dbus-call-method' when noninteractive. (Bug#5645)
5949 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
5951 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
5952 * emacs-lisp/elint.el (elint-add-required-env):
5953 * cedet/semantic/db-find.el
5954 (semanticdb-find-translate-path-brutish-default):
5955 * cedet/ede/make.el (ede-make-check-version):
5956 * calendar/icalendar.el (icalendar--add-diary-entry):
5957 * calc/calcalg2.el (math-tracing-integral):
5958 * files.el (recover-session-finish): Use with-current-buffer
5959 instead of save-excursion.
5961 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
5963 Fix in-buffer completion when after-change-functions modify the buffer.
5964 * minibuffer.el (completion--replace): New function.
5965 (completion--do-completion): Use it and use relative movement.
5967 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
5969 * international/fontset.el (setup-default-fontset): Fix :otf spec.
5971 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
5973 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
5974 Allow the characters _<> in the stack entry (Bug#5653).
5976 2010-02-26 Kenichi Handa <handa@m17n.org>
5978 * language/burmese.el: Fix entries in composition-function-table.
5979 (myanmar-composable-pattern): New variable.
5981 * international/fontset.el (setup-default-fontset): Add an entry
5984 * international/characters.el (script-list): Add Myanmar
5987 2010-02-26 Glenn Morris <rgm@gnu.org>
5989 * custom.el (custom-initialize-delay): Doc fix.
5991 * mail/sendmail.el (send-mail-function): Autoload the call
5992 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
5994 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
5996 * files.el (hack-local-variables-filter): For eval forms, also
5997 check safe-local-variable-p (Bug#5636).
5999 2010-02-24 Eduard Wiebe <usenet@pusto.de>
6001 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
6002 and use c(ad)r of cddr (Bug#5640).
6004 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
6006 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6007 setting the modes by `ignore-errors'. It might fail, for example
6008 if the file is not owned by the user but the group.
6009 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6011 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
6013 * files.el (directory-listing-before-filename-regexp): Use
6014 stricter matching for iso-style dates, to avoid false matches with
6015 date-like filenames (Bug#5597).
6017 * htmlfontify.el (htmlfontify): Doc fix.
6019 * eshell/eshell.el (eshell): Doc fix.
6021 * startup.el (fancy-about-screen): In mode-line, apply
6022 mode-line-buffer-id face only to the buffer name (Bug#5613).
6024 2010-02-20 Kevin Ryde <user42@zip.com.au>
6026 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6027 In `watcom' anchor regexp to start of line, to avoid slowness
6030 2010-02-20 Eli Zaretskii <eliz@gnu.org>
6032 * subr.el (remove-yank-excluded-properties): Explain in a comment
6033 why `category' property is removed.
6035 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
6037 * isearch.el (isearch-update-post-hook, isearch-update): Revert
6040 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
6042 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6043 (icalendar--convert-weekly-to-ical)
6044 (icalendar--convert-yearly-to-ical)
6045 (icalendar--convert-block-to-ical)
6046 (icalendar--convert-cyclic-to-ical)
6047 (icalendar--convert-anniversary-to-ical): Take care of time
6048 specifications where hour has 1-digit only (Bug#5549).
6050 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
6052 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6053 of disassemble output in GDB 7.1.
6055 2010-02-19 Glenn Morris <rgm@gnu.org>
6057 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6058 property. (Bug#5593)
6060 2010-02-18 Sam Steingold <sds@gnu.org>
6062 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6064 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6066 Use abbreviated file names in bookmarks (bug#5591).
6067 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6068 calls to expand-file-name.
6069 (bookmark-relocate): Use abbreviated file names in bookmarks.
6070 (bookmark-load): Use abbreviated file names in messages.
6072 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6074 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6075 expand "." and "..". Reported by Thierry Volpiatto
6076 <thierry.volpiatto@gmail.com>.
6078 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6080 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6081 permissions of the temporary file to "0600". In case the remote
6082 file has no read permissions for the owner, there might be
6083 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
6085 22010-02-18 Glenn Morris <rgm@gnu.org>
6087 * emacs-lisp/authors.el (authors-renamed-files-alist):
6088 Add entries for INSTALL.CVS.
6090 2010-02-17 Mark A. Hershberger <mah@everybody.org>
6092 * vc-bzr.el: Fix typo in Known Bugs section.
6094 * isearch.el (isearch-update-post-hook): New hook.
6095 (isearch-update): Use the new hook.
6097 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
6099 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
6100 Fix errors in copying directories.
6101 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
6102 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
6103 (tramp-handle-delete-file)
6104 (tramp-handle-dired-recursive-delete-directory)
6105 (tramp-handle-write-region): Flush also the cache for the upper
6108 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
6110 * simple.el (save-interprogram-paste-before-kill): Doc fix.
6112 * cus-edit.el (hardware): Doc fix.
6114 * man.el (man): Add to external custom group.
6116 * delim-col.el (columns): Move to wp custom group.
6118 * doc-view.el (doc-view): Add to data custom group.
6120 * cedet/data-debug.el (data-debug): Move to extensions group.
6122 * cedet/ede.el (ede):
6123 * cedet/srecode.el (srecode):
6124 * cedet/semantic.el (semantic): Put in tools and extensions group.
6126 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
6128 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
6129 by ispell-parse-output (Bug#5575).
6131 2010-02-16 Kenichi Handa <handa@m17n.org>
6133 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
6134 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
6135 (skkdic-convert): Use `euc-japan' coding system for writing.
6137 2010-02-16 Glenn Morris <rgm@gnu.org>
6139 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
6140 tex-main-file before using it. (Bug#5562)
6142 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
6144 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
6145 warnings, since it is annoying for the user to see them each time he
6148 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
6150 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
6151 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
6152 instead of PROC for caching "first-password-request". Otherwise,
6153 new processes would not profit from passwords already entered.
6155 * net/tramp-cache.el (tramp-dump-connection-properties):
6156 Don't save "first-password-request" property.
6158 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
6160 * outline.el (outline-head-from-level):
6161 * simple.el (with-wrapper-hook):
6162 * cedet/ede.el (ede-run-target, project-delete-target)
6163 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
6164 (ede-adebug-project, ede-adebug-project-parent)
6165 (ede-adebug-project-root):
6166 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
6167 (elint-defun, elint-buffer-env, elint-top-form-logged)
6168 (elint-unbound-variable):
6169 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
6170 Fix typos in docstrings.
6172 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
6174 * files.el (insert-directory): When WILDCARD-REGEXP and
6175 FULL-DIRECTORY-P are nil, insert the file entry instead of the
6176 whole directory. (Bug#5551)
6178 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
6179 dired's alignment sanity. (Bug#5516)
6181 2010-02-14 Juri Linkov <juri@jurta.org>
6183 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
6184 Remove remaining ^H with their preceding chars. (Bug#5566)
6186 2010-02-13 Glenn Morris <rgm@gnu.org>
6188 * simple.el (transpose-subr): Give it a doc-string.
6190 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
6193 2010-02-12 Juri Linkov <juri@jurta.org>
6195 * arc-mode.el (archive-unique-fname): Make directories for nested
6196 archives. (Bug#5540)
6198 2010-02-12 Juri Linkov <juri@jurta.org>
6200 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
6202 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * subr.el (copy-overlay): Handle deleted overlays.
6206 * man.el (Man-completion-table): Don't signal an error if we can't run
6207 manual-program (bug#4056).
6209 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
6211 * textmodes/artist.el (artist-mt): Fix typos in docstring.
6213 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6215 * info.el (Info-bookmark-jump): Simplify.
6217 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
6218 (bookmark-default-handler): Accept new bookmark field `buffer'.
6220 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
6222 * iswitchb.el (iswitchb-completions): Revert last change.
6224 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
6226 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
6227 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
6228 This prevents file names like "~/" being listed literally.
6230 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
6232 * term/xterm.el (xterm-maybe-set-dark-background-mode):
6233 Remove dead code. (Bug#5546)
6235 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
6237 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
6238 correctly (Bug#5548).
6240 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
6242 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
6243 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
6245 2010-02-08 Kenichi Handa <handa@m17n.org>
6247 * international/mule-util.el (with-coding-priority): Add autoload
6248 cookie for putting `lisp-indent-function'.
6250 2010-02-07 Glenn Morris <rgm@gnu.org>
6252 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
6253 Move F2003 named interfaces from keywords-2 to keywords-1, and
6254 use function-name-face rather than constant-face.
6255 Simplify "abstract interface" regexp.
6257 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
6259 * eshell/esh-util.el (eshell-file-attributes): New optional arg
6260 ID-FORMAT. Pass it to `file-attributes'.
6262 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
6264 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
6266 * faces.el (set-face-attribute): Allow calling
6267 internal-set-lisp-face-attribute with 'unspecified family and
6268 foundry argument (Bug#5536).
6270 2010-02-07 Glenn Morris <rgm@gnu.org>
6272 * progmodes/f90.el (f90-font-lock-keywords-2)
6273 (f90-looking-at-type-like, f90-looking-at-program-block-end):
6274 Handle F2003 named interfaces.
6276 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
6278 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
6279 beg and end before calling c-get-state-before-change-functions.
6281 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
6283 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
6285 2010-02-05 Juri Linkov <juri@jurta.org>
6287 * doc-view.el (doc-view-mode):
6288 * image-mode.el (image-mode): Put property mode-class=special.
6291 2010-02-05 Mark A. Hershberger <mah@everybody.org>
6293 * vc-svn.el (vc-svn-revision-table): New function.
6295 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
6297 * net/ange-ftp.el (ange-ftp-insert-directory):
6298 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
6299 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
6300 Handle also directories. (Bug#5478)
6302 2010-02-05 Glenn Morris <rgm@gnu.org>
6304 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
6306 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
6308 * startup.el (command-line-1): Convert options beginning with a
6309 single dash as well (Bug#5519).
6311 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
6313 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
6314 * minibuffer.el (completion-initials-expand): Only check the presence
6315 of delims *within* the boundaries, since otherwise the / delim is
6316 always found for files.
6318 Fix up various corner case problems.
6319 * doc-view.el (doc-view-last-page-number): New function.
6320 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
6321 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
6322 (doc-view-kill-proc): Avoid inf-loop in freak cases.
6323 (doc-view-reconvert-doc): Use the new recursive delete-directory.
6324 (doc-view-convert-current-doc): Don't create the resolution.el file
6326 (doc-view-pdf/ps->png): Do it here instead.
6327 (doc-view-already-converted-p): Check that resolution.el is present.
6328 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
6329 windows that are not yet showing images.
6331 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
6333 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
6334 `dired-uncache' for every elemnt which is an absolute file name.
6336 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
6337 directory, handle its directory component.
6338 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
6339 function is called permanently and creates noise, otherwise.
6341 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
6342 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
6343 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
6345 2010-02-04 David Burger <dburger@google.com> (tiny change)
6347 * macros.el (apply-macro-to-region-lines):
6348 Minor simplification. (Bug#5485)
6350 2010-02-04 Glenn Morris <rgm@gnu.org>
6352 * mail/rmail.el (rmail-show-message-1): Handle malformed
6353 quoted-printable text. (Bug#5441)
6355 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
6357 * simple.el (visual-line-mode): Capitalize lighter.
6359 2010-02-03 John Wiegley <jwiegley@gmail.com>
6361 * iswitchb.el (iswitchb-completions): Add bookmark files to the
6362 list of files considered for "virtual buffer" completions.
6364 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
6366 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
6367 also in case of (and (not full) (not wildcard)). This is needed
6368 when dired is called with a list of files, which are not in
6369 `default-directory'. (Bug#5478)
6371 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
6373 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
6375 2010-02-02 Juri Linkov <juri@jurta.org>
6377 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
6378 from unidiff to allow function-line after @@.
6380 2010-02-02 Juri Linkov <juri@jurta.org>
6382 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
6383 '(RCS SCCS) with inverted condition.
6385 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
6387 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
6390 2010-02-01 Juri Linkov <juri@jurta.org>
6392 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
6393 compare with "pkunzip" and "pkzip" instead of only "pkzip".
6394 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
6395 only when (car archive-zip-extract) is "unzip". (Bug#5475)
6397 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
6399 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
6400 (doc-view-revert-buffer): New command.
6401 (doc-view-mode-map): Use it.
6403 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
6405 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
6406 pending merge is detected.
6408 2010-01-31 Juri Linkov <juri@jurta.org>
6410 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
6411 beginning of interactive spec like all other grep commands do.
6412 Put "all" in front of "gz". (Bug#5260)
6414 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
6416 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
6418 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
6420 * dirtrack.el (dirtrack): Warn instead of signalling error if the
6421 regexp is incorrect (Bug#5476).
6423 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
6425 * net/tramp.el (tramp-handle-insert-directory): Handle also
6426 symlinks, when FILENAME is not in `default-directory'.
6428 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
6430 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
6431 FILE is not in `default-directory'. (Bug#5478)
6433 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
6434 of SWITCHES. Handle the case, FILENAME is not in
6435 `default-directory'. (Bug#5478)
6436 (tramp-register-file-name-handlers): Add safe-magic property.
6438 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
6440 * arc-mode.el (archive-zip-extract): Quote the argument passed to
6443 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
6445 * progmodes/flymake.el (flymake-allowed-file-name-masks)
6446 (flymake-master-make-header-init): Add other C++ filename masks.
6447 (flymake-find-possible-master-files)
6448 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
6450 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
6452 Fix some busybox annoyances.
6454 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
6455 not responding." string.
6456 (tramp-open-connection-setup-interactive-shell): Dump stty
6457 settings. Enable "neveropen" arg for all `tramp-send-command'
6458 calls. Handle "=" in variable values properly.
6459 (tramp-find-inline-encoding): Raise an error, when no encoding is
6461 (tramp-wait-for-output): Check, whether PROC buffer is available.
6462 Remove spurious " ^H" sequences, sent by busybox.
6463 (tramp-get-ls-command): Suppress coloring, if possible.
6465 2010-01-28 Glenn Morris <rgm@gnu.org>
6467 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
6469 * log-edit.el (log-edit-strip-single-file-name): Add missing
6470 :safe, :group, and :version tags.
6472 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
6474 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
6477 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
6479 * files.el (delete-directory): Handle moving to trash without
6480 first doing recursion (Bug#5436).
6482 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
6484 * vc-hooks.el (vc-path): Mark as obsolete.
6486 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
6488 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
6491 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
6493 (vc-bzr-log-view-mode): Adjust regexp for the above change.
6495 2010-01-25 Mark A. Hershberger <mah@everybody.org>
6497 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
6499 * vc-bzr.el (vc-bzr-revision-table): New function.
6501 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
6503 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
6504 diff-index command. This requires at least git-1.5.5. (Bug#1589).
6506 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
6508 Remove support for adding --signoff on commit.
6509 Future support will use an incompatible generic mechanism.
6510 * vc-git.el (vc-git-add-signoff): Remove variable.
6511 (vc-git-toggle-signoff): Remove function.
6512 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
6514 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
6515 from xterm-set-background-mode. Return t if the background mode
6517 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
6518 earlier, call it again in case the background mode has changed.
6520 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
6522 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
6525 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
6527 * emacs-lisp/assoc.el (aelement): Doc fix.
6528 (aput, adelete, amake): Use lexical-let (Bug#5450).
6530 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
6532 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
6533 is the same as subprogram call, not declaration. (Bug#5435).
6535 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
6537 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
6538 (tramp-smb-maybe-open-connection): Use it.
6540 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
6542 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
6544 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
6547 just because we see "encoding: 8bit".
6548 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
6550 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
6552 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
6554 2010-01-22 Eli Zaretskii <eliz@gnu.org>
6556 * jka-compr.el (jka-compr-load): If load-file is not in
6557 load-history, try its file-truename version. (bug#5447)
6559 2010-01-21 Alan Mackenzie <acm@muc.de>
6561 Fix a situation where deletion of a cpp construct throws an error.
6562 * progmodes/cc-engine.el (c-invalidate-state-cache):
6563 Before invoking c-with-all-but-one-cpps-commented-out, check that the
6564 special cpp construct is still in the buffer.
6565 (c-parse-state): Record the special cpp with markers, not numbers.
6567 2010-01-21 Kenichi Handa <handa@m17n.org>
6569 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
6570 process last-command-event, as it is now decoded first (Bug#5380).
6572 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
6574 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
6576 2010-01-20 Glenn Morris <rgm@gnu.org>
6578 * indent.el (tab-always-indent): Fix custom-type.
6580 2010-01-19 Alan Mackenzie <acm@muc.de>
6582 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
6583 buffer throws "args out of range".
6584 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
6585 playing the role of delimiter.
6587 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
6589 * progmodes/ada-mode.el: Fix bug#5400.
6590 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
6591 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
6592 changed. Delete RECURSIVE parameter; never used. Improve doc string.
6593 Improve comments in "is" portion. Handle null procedure declaration.
6594 (ada-move-to-end): Improve doc string.
6596 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
6598 * ido.el (ido-cur-list): Initialize to nil.
6599 Remove obsolete information from commentary.
6600 (ido-choice-list): Initialize to nil.
6601 (ido-get-bufname): Reject minibuffers.
6602 (ido-make-buffer-list): If "default" is a nonexistent
6603 buffer, ignore it, as per the function's comment.
6604 (ido-kill-buffer-internal): New function.
6605 (ido-kill-buffer-at-head): Use it.
6606 (ido-visit-buffer): Likewise.
6608 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
6610 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
6612 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
6614 * cedet/ede/locate.el (ede-locate-file-in-project)
6615 (ede-locate-file-in-project-impl): Fix typos in docstrings.
6616 (ede-enable-locate-on-project): Fix typos in error messages.
6618 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
6619 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
6620 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
6621 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
6622 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
6623 Fix typos in menu help.
6625 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
6626 Fix typos in chart titles.
6628 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
6629 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
6630 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
6631 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
6632 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
6633 (semantic-parse-stream, semantic-parse-region)
6634 (semantic-parse-region-default, semantic--set-buffer-cache)
6635 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
6636 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
6637 (semantic-default-submodes):
6638 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
6639 (semanticdb-create-ebrowse-database)
6640 (semanticdb-find-tags-for-completion-method)
6641 (semanticdb-find-tags-by-class-method)
6642 (semanticdb-deep-find-tags-by-name-method)
6643 (semanticdb-deep-find-tags-for-completion-method):
6644 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
6645 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
6646 (semanticdb-find-tags-for-completion-method)
6647 (semanticdb-find-tags-by-class-method)
6648 (semanticdb-deep-find-tags-for-completion-method):
6649 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
6650 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
6651 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
6652 (semanticdb-find-tags-by-name-method)
6653 (semanticdb-find-tags-by-name-regexp-method)
6654 (semanticdb-find-tags-for-completion-method)
6655 (semanticdb-find-tags-by-class-method)
6656 (semanticdb-find-tags-external-children-of-type-method)
6657 (semanticdb-find-tags-subclasses-of-type-method)
6658 (semanticdb-deep-find-tags-by-name-method)
6659 (semanticdb-deep-find-tags-by-name-regexp-method)
6660 (semanticdb-deep-find-tags-for-completion-method):
6661 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
6662 (semanticdb-enable-gnu-global-in-buffer)
6663 (semanticdb-find-tags-for-completion-method)
6664 (semanticdb-deep-find-tags-by-name-method)
6665 (semanticdb-deep-find-tags-for-completion-method):
6666 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
6667 (javascript-mode, semanticdb-find-translate-path)
6668 (semanticdb-find-tags-for-completion-method)
6669 (semanticdb-find-tags-by-class-method)
6670 (semanticdb-deep-find-tags-by-name-method)
6671 (semanticdb-deep-find-tags-for-completion-method)
6672 (semanticdb-find-tags-external-children-of-type-method):
6673 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
6674 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
6675 (global-semantic-idle-scheduler-mode):
6676 * cedet/srecode/dictionary.el (srecode-field-value)
6677 (srecode-dictionary-add-section-dictionary):
6678 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
6679 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
6680 (describe-class, eieio-describe-generic, describe-generic):
6681 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
6682 (eieio-speedbar-expand):
6683 * emulation/viper-cmd.el (viper-exec-form-in-vi)
6684 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
6685 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
6686 (viper-del-backward-char-in-replace, viper-backward-indent)
6687 (viper-brac-function, viper-register-to-point, viper-submit-report):
6688 * net/tramp.el (tramp-remote-coding-commands):
6689 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
6690 Fix typos in docstrings.
6692 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
6694 * mail/sendmail.el (mail-yank-original): Set the mark if the
6695 specified function for yanking does not do it.
6697 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
6699 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
6701 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
6702 resyncing a directory.
6704 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
6706 * progmodes/ada-mode.el: Fix bug#1920.
6707 (ada-ident-re): Delete ., allow multibyte characters.
6708 (ada-goto-label-re): New; matches goto labels.
6709 (ada-block-label-re): New; matches block labels.
6710 (ada-label-re): New; matches both.
6711 (ada-named-block-re): Deleted; callers changed to use
6712 `ada-block-label-re' instead.
6713 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
6714 Use `ada-block-label-re'.
6715 (ada-indent-on-previous-lines): Improve handling of goto labels.
6716 (ada-get-indent-block-start): Special-case block label.
6717 (ada-get-indent-label): Split into `ada-indent-block-label' and
6718 `ada-indent-goto-label'.
6719 (ada-goto-stmt-start, ada-goto-next-non-ws):
6720 Optionally ignore goto labels.
6721 (ada-goto-next-word): Simplify.
6722 (ada-indent-newline-indent-conditional): Insert newline before
6723 trying to fix indentation; doc fix.
6725 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
6727 * calc/calc.el (calc-command-flags): Give it an initial value.
6729 2010-01-17 Glenn Morris <rgm@gnu.org>
6731 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
6733 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
6735 * cedet/semantic.el (semantic-mode):
6736 * files.el (minibuffer-with-setup-hook):
6737 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
6738 (artist-key-draw-continously, artist-key-do-continously-continously)
6739 (artist-key-set-point-continously, artist-mouse-draw-continously):
6740 Fix typos in docstrings.
6742 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
6744 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
6745 return t (Bug#3898).
6747 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
6749 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
6750 can parse the output of the external commands (Bug#5279).
6752 2010-01-16 Jari Aalto <jari.aalto@cante.net>
6754 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
6756 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
6758 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
6760 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
6762 * startup.el (command-line): Remove unused --icon-type arg.
6763 Handle --display arg, passing it to command-line-1 (Bug#5392).
6765 2010-01-16 Mario Lang <mlang@delysid.org>
6767 * cedet/ede/cpp-root.el (ede-cpp-root-project):
6768 * cedet/ede/files.el (ede-expand-filename):
6769 * cedet/ede/simple.el (ede-simple-project):
6770 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
6771 (semantic-complete-inline-tag-engine):
6772 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
6773 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
6774 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
6775 * cedet/semantic/db.el (semanticdb-equivalent-mode):
6776 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
6777 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
6778 * emacs-lisp/chart.el (chart-translate-namezone):
6779 * textmodes/artist.el (artist-compute-popup-menu-table):
6780 Remove duplicated words in doc-strings.
6782 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
6784 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
6785 to mairix-search to suppress threading (Bug#5342).
6787 2010-01-15 Kenichi Handa <handa@m17n.org>
6789 * international/mule-cmds.el (canonicalize-coding-system-name):
6790 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
6792 2010-01-15 Glenn Morris <rgm@gnu.org>
6794 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
6796 * wid-edit.el (widget-keymap): Doc fix.
6798 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
6799 former seems to be more widely accepted by various svn versions.
6801 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
6803 * find-cmd.el (find-constituents):
6804 * vc-arch.el (vc-arch-root):
6805 * window.el (window-body-height, pop-up-frames):
6806 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
6807 (semantic-no-reparse-needed-change-hook):
6808 * cedet/srecode/insert.el (srecode-resolve-argument-list)
6809 (srecode-template-inserter-blank, srecode-template-inserter-variable)
6810 (srecode-template-inserter-ask, srecode-template-inserter-width)
6811 (srecode-template-inserter-section-start)
6812 (srecode-template-inserter-section-end, srecode-insert-method):
6813 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
6814 * progmodes/ada-stmt.el (ada-if):
6815 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
6816 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
6817 (ispell-encoding8-command, ispell-aspell-supports-utf8)
6818 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
6820 * progmodes/flymake.el (flymake-post-syntax-check):
6821 Fix typo in error message.
6823 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
6825 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
6826 which is always a string. (Bug#5313)
6828 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
6830 * progmodes/ada-xref.el (ada-default-prj-properties):
6831 Simplify previous change.
6833 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6835 * progmodes/ada-xref.el (ada-default-prj-properties):
6836 Default ada_project_path to $ADA_PROJECT_PATH.
6838 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6840 * progmodes/ada-mode.el (ada-create-keymap):
6841 Override `narrow-to-defun' with `ada-narrow-to-defun'.
6843 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6845 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
6846 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
6847 (ada-get-current-indent, ada-imenu-generic-expression)
6848 (ada-which-function): Check for it.
6850 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
6852 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
6853 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
6855 2010-01-14 Glenn Morris <rgm@gnu.org>
6857 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
6859 2010-01-14 Kenichi Handa <handa@m17n.org>
6861 * composite.el (auto-composition-mode): Make it a buffer local
6862 variable (permanent-local).
6863 (auto-composition-function): Set the default value to
6865 (auto-composition-mode): Make it a simple function, not a minor mode.
6866 (global-auto-composition-mode): Likewise.
6867 (turn-on-auto-composition-if-enabled): Delete it.
6869 2010-01-13 Karl Fogel <kfogel@red-bean.com>
6871 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
6873 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
6875 * files.el (copy-directory): Compute target for recursive
6876 directories with identical names. (Bug#5343)
6878 2010-01-12 Glenn Morris <rgm@gnu.org>
6880 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
6881 it to bug-gnu-emacs rather than emacs-pretest-bug.
6883 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
6885 * cedet/data-debug.el (data-debug): Fix customization group reference.
6887 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
6889 * cedet/semantic/analyze.el (semantic-analyze-push-error)
6890 (semantic-analyze-context, semantic-analyze-context-assignment)
6891 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
6892 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
6893 (semantic-java-doc-keywords-map):
6894 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
6895 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
6896 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
6897 (semantic-c-classname, semantic-format-tag-uml-prototype)
6898 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
6899 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
6900 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
6901 (semantic-get-local-variables, semantic-end-of-command)
6902 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
6904 * cedet/semantic/bovine/make.el (makefile-mode):
6905 * cedet/semantic/wisent/python.el (wisent-python-string-re)
6906 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
6907 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
6908 (semantic-lex, semantic-get-local-variables, python-mode):
6909 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
6910 * cedet/srecode/extract.el (srecode-extract-state-set)
6911 (srecode-extract-method): Fix typos in docstrings.
6913 2010-01-11 Sam Steingold <sds@gnu.org>
6915 * imenu.el (imenu-default-create-index-function): Detect infinite
6916 loops caused by imenu-prev-index-position-function.
6918 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
6920 * htmlfontify.el (htmlfontify-load-rgb-file)
6921 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
6922 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
6923 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
6924 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
6925 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
6926 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
6927 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
6928 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
6929 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
6930 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
6931 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
6932 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
6933 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
6934 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
6935 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
6936 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
6937 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
6938 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
6939 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
6940 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
6941 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
6942 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
6943 backslash-quoting from parentheses, etc.
6945 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
6947 * progmodes/js.el: Autoload javascript-mode alias.
6949 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
6951 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
6952 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
6953 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
6954 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
6955 Fix typos in docstrings.
6956 (ffap-url-regexp): Doc fix.
6957 (ffap-at-mouse): Fix typo in message.
6959 2010-01-11 Glenn Morris <rgm@gnu.org>
6961 * version.el (emacs-copyright): Set copyright year to 2010.
6963 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
6965 * format.el (format-annotate-function): Only set
6966 write-region-post-annotation-function after running to-fn so as not to
6967 affect nested write-region calls (bug#5273).
6969 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
6971 * cedet/semantic.el (semantic-new-buffer-setup-functions):
6974 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
6977 2010-01-10 Richard Kim <emacs18@gmail.com>
6979 * cedet/semantic/wisent/python-wy.el:
6980 * cedet/semantic/wisent/python.el: New files.
6982 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
6984 * man.el (Man-goto-section): Signal error if the section is not
6987 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
6989 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
6990 URLs with a leading triple slash in the file: scheme. (Bug#5345)
6992 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
6994 * progmodes/compile.el: Don't treat compile-command as safe if
6995 compilation-read-command might be nil (Bug#4218).
6997 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
6999 * startup.el (command-line-1): Use orig-argi to check for ignored X and
7002 2010-01-08 Kenichi Handa <handa@m17n.org>
7004 * international/fontset.el (build-default-fontset-data):
7005 Exclude characters in scripts kana, hangul, han, or cjk-misc.
7007 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
7009 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7010 to `create-file-buffer' as it expects, not just a buffer name.
7011 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7012 to help uniquify. (Bug#3224)
7014 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
7016 * font-setting.el (font-setting-change-default-font): Use user-spec
7019 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
7021 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7023 2010-01-05 Tom Tromey <tromey@redhat.com>
7025 * progmodes/python.el (python-font-lock-keywords):
7026 Handle qualified decorators (Bug#881).
7028 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7030 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7031 in a lightweight checkout.
7033 2010-01-05 Kenichi Handa <handa@m17n.org>
7035 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7037 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7039 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7041 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
7043 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7044 checkouts. (Bug#618)
7045 (vc-bzr-log-view-mode): Also highlight the author.
7046 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7047 (vc-bzr-shelve-menu-map):
7048 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7049 (vc-bzr-shelve-apply): Make prompt more explicit.
7051 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
7053 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7054 They are valid characters in URL paths (rfc3986), and at least
7055 Firefox does not understand the encoded version (Bug#3166).
7057 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
7059 * progmodes/octave-mod.el (octave-end-keywords)
7060 (octave-block-begin-or-end-regexp, octave-block-match-alist):
7061 Add "end" keyword (Bug#3061).
7062 (octave-end-as-array-index-p): New function.
7063 (calculate-octave-indent): Use it.
7065 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7067 * bookmark.el: Consistently put the text property on the bookmark name.
7068 (bookmark-bmenu-marks-width): Bump back to 2, to include
7070 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7071 property on the bookmark name, instead of not putting it at all.
7072 (bookmark-bmenu-list): Fix where we put the text property.
7074 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7076 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7077 for showing buffer modified state (as added in the previous change).
7079 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7081 * bookmark.el: Show modified state of bookmark buffer more accurately.
7082 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7083 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7084 (with-buffer-modified-unmodified): New macro.
7085 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7086 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7087 Use new macro to preserve the buffer modified state.
7089 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7091 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7092 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7093 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7094 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7095 (bookmark-bmenu-rename, bookmark-bmenu-locate)
7096 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7097 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7099 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7101 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7102 Make the lines in the generated doc string shorter. (Bug#4668)
7104 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
7106 * net/rcirc.el: Add follow-link binding (Bug#4738).
7108 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7110 * Makefile.in (bzr-update): Rename from cvs-update.
7111 (cvs-update): New target for backward compatibility.
7113 * makefile.w32-in (bzr-update): Rename from cvs-update.
7114 (cvs-update): New target for backward compatibility.
7116 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7118 * bookmark.el: Remove gratuitous gratitude.
7120 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7122 * bookmark.el (bookmark-bmenu-any-marks): New function.
7123 (bookmark-bmenu-save): Clear buffer modification if no marks.
7125 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7127 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7128 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7129 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7130 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7132 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7133 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7134 To: emacs-devel {_AT_} gnu.org
7135 Subject: bookmark.el bug report
7136 Date: Mon, 28 Dec 2009 14:19:16 +0800
7137 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7139 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7141 * bookmark.el: Improvements suggested by Drew Adams:
7142 (bookmark-bmenu-ensure-position): New name for
7143 `bookmark-bmenu-check-position'. Just ensure the position,
7144 don't return any meaningful value.
7145 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7148 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
7150 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7151 (bookmark-yank-point, bookmark-bmenu-check-position):
7152 Fix typos in docstrings.
7153 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7154 (bookmark-name-from-full-record, bookmark-get-position)
7155 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7156 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7157 Remove useless quoting of parenthesis, etc. in docstrings.
7159 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7160 (ediff-append-custom-diff): Fix typo in error message.
7161 (ediff-meta-mark-equal-files): Fix typos in messages.
7163 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7165 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
7166 Fix typo in docstring.
7168 * net/imap-hash.el (imap-hash-make): Doc fix.
7169 (imap-hash-test): Fix typo in error message; reflow docstring.
7170 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7171 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7172 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7173 Fix typos in docstrings.
7174 (imap-hash-open-connection): Fix typo in error message.
7176 * play/gomoku.el (gomoku): Fix typos in docstring.
7178 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7179 (gdb-jsonify-buffer): Fix typos in docstring.
7180 (gdb-goto-breakpoint): Fix typo in error message.
7181 ("Display Other Windows"): Fix typo in help message.
7182 (gdb-speedbar-expand-node): Fix typo in question.
7184 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7185 (idlwave-html-system-help-location, idlwave-html-help-location)
7186 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7187 (idlwave-help-browser-generic-args, idlwave-help-directory)
7188 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7189 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7190 (idlwave-online-help, idlwave-help-html-link)
7191 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7192 Fix typos in docstrings.
7193 (idlwave-help-with-source, idlwave-help-find-routine-definition):
7195 (idlwave-help-assistant-start): Fix typo in error message.
7197 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7198 (octave-electric-space): Fix typos in docstrings.
7200 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
7202 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7204 2010-01-01 Juri Linkov <juri@jurta.org>
7206 * comint.el (comint-input-ring-size): Make it a defcustom and
7207 increase the default to 500 (Bug#5148).
7209 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
7211 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7212 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7213 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7215 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
7217 Show working revision correctly for mercurial.
7218 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
7219 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
7221 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
7223 Declare some functions for the byte-compiler.
7224 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
7225 (speedbar-timer-fn, speedbar-change-expand-button-char)
7226 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
7228 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
7230 This changeset reverts GDB Graphical Interface to use annotations.
7231 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
7233 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
7235 Make vc-dir work on subdirectories of the bzr root.
7236 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
7237 file names relative to it.
7238 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
7239 relative directory to vc-bzr-after-dir-status.
7241 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
7243 * font-lock.el (font-lock-refresh-defaults): New function, which
7244 can be used to let font-lock react to external changes in
7245 variables like font-lock-defaults and keywords.
7246 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
7248 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
7250 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
7252 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
7254 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
7256 Supersede color.diff settings in git log (bug#5211).
7258 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
7259 escape chars in its output when the user has color.diff set to `always'.
7260 This fix works on git 1.4.2 and newer (released on 2006-08-13).
7262 2009-12-26 Kevin Ryde <user42@zip.com.au>
7264 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
7265 node. Keep previous "Index" name to work with past coreutils too.
7267 * man.el (man): Revise docstring a bit to show -a and -l as
7268 examples. Add -k description since support for it has otherwise
7269 been a secret. (Further to bug#3717.)
7270 (Man-bgproc-sentinel): When "-k foo" produces no output show error
7271 "no matches" rather than "Can't find manpage", as the latter reads
7272 like -k was interpreted as a page name, which is not so. (Bug#5431)
7274 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
7276 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
7277 switches. Check also for //SUBDIRED// line.
7279 2009-12-25 Kenichi Handa <handa@m17n.org>
7281 * language/indian.el (devanagari-composable-pattern): Fixed to
7282 handle ZWNJ and ZWJ. Use it in composition-function-table for
7284 (malayalam-composable-pattern): Fix previous change.
7286 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7288 * ps-print.el (ps-face-attributes): It was not returning the
7289 attribute face for faces specified as string. Reported by harven
7290 <harven@free.fr>. (Bug#5254)
7291 (ps-print-version): New version 7.3.5.
7293 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
7295 * calendar/icalendar.el (icalendar--convert-tz-offset):
7297 (icalendar--convert-tz-offset): Fix the "last-day-problem".
7298 (icalendar--add-diary-entry): Remove the trailing blank that
7299 diary-make-entry inserts.
7301 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
7303 Make `file-expand-wildcards' work for remote files.
7305 * files.el (file-expand-wildcards): In case of remote files, check
7306 only local file name part for wildcards. Provide feature 'files
7307 and subfeature 'remote-wildcards. (Bug#5198)
7309 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
7310 if there is already an established connection.
7311 (tramp-advice-file-expand-wildcards): Remove it.
7313 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
7314 (tramp-advice-file-expand-wildcards): Move from tramp.el.
7315 Activate advice for older GNU Emacs versions. (Bug#5237)
7317 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
7319 Some doc fixes (more needed).
7321 * find-cmd.el (find-constituents): Reflow docstring.
7322 (find-cmd, find-prune, find-command): Fix typos in docstrings.
7323 (find-generic): Doc fix.
7325 2009-12-17 Juri Linkov <juri@jurta.org>
7327 Fix regression from 23.1 to allow multiple modes in Local Variables.
7329 * files.el (hack-local-variables-filter): While ignoring duplicates,
7330 don't take `mode' into account.
7331 (hack-local-variables-filter, hack-dir-local-variables):
7332 Don't remove duplicate `mode' from local-variables-alist (like `eval').
7334 2009-12-17 Juri Linkov <juri@jurta.org>
7336 Make `dired-diff' safer. (Bug#5225)
7338 * dired-aux.el (dired-diff): Signal an error when `file' equals to
7339 `current' or when `file' is a directory of the `current' file.
7341 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
7343 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
7344 unconditionally preloaded files.
7346 2009-12-16 Juri Linkov <juri@jurta.org>
7348 Revert to old 23.1 logic of using the file at the mark as default.
7349 * dired-aux.el (dired-diff): Use the file at the mark as default
7350 if it's not the same as the current file, and the target dir is
7351 the current dir or the mark is active. Add the current file
7352 as the arg of `dired-dwim-target-defaults'. Use the default file
7353 in the prompt. (Bug#5225)
7355 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
7357 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
7358 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
7359 (tramp-check-for-regexp): Check also, when an echoing shell stops
7360 to echo sent commands.
7362 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7364 * Makefile.in: Revert last change (Bug#5191).
7366 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
7368 * vc-hg.el (vc-hg-print-log): Fix argument order.
7369 (vc-hg-working-revision): Make sure the command is executed in a
7370 known environment so that we can parse the output. (Bug#4417)
7372 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7374 * progmodes/python.el (python-symbol-completions): Remove text
7375 properties from symbol string before calling python-send-receive.
7377 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
7379 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
7380 when there are values for both file and line. (Bug#5060)
7382 2009-12-14 Juri Linkov <juri@jurta.org>
7384 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
7385 whitespace after the file name of the first line of unified format,
7386 because git-diff doesn't output whitespace and file modification time
7387 after the file name.
7389 2009-12-14 David Kastrup <dak@gnu.org>
7391 * info.el (Info-hide-cookies-node): Before hiding a cookie,
7392 check if it already has the `display' property added by
7393 `Info-display-images-node', and not put the `invisible' property
7396 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7398 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
7399 (semantic-mru-bookmark-mode): Doc fixes.
7401 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
7404 2009-12-13 Glenn Morris <rgm@gnu.org>
7406 * mail/emacsbug.el (message-sort-headers): Define for compiler.
7407 (report-emacs-bug): In message-mode, sort manually before storing
7408 original report text. (Bug#5178)
7409 Remove superfluous save-excursion.
7411 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
7413 * net/dbus.el (dbus-property-handler): Filter lambda forms out
7414 when responding to "GetAll" properties.
7416 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
7418 * simple.el (compose-mail): Remove mail-setup-with-from from
7419 customization checks.
7421 2009-12-12 Eli Zaretskii <eliz@gnu.org>
7423 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
7424 RAR archives created on Unix systems.
7426 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
7428 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
7429 the varalias that was accidentally removed by the 2009-11-19 change
7432 2009-12-12 Kenichi Handa <handa@m17n.org>
7434 * language/indian.el (indian-compose-regexp): New function.
7435 (malayalam-composable-pattern): Fix the pattern.
7436 (composition-function-table): Set malayalam-composable-pattern for
7437 Malayalam characters.
7439 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
7441 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
7442 rather than down-mouse-1, based on follow-link conventions.
7444 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
7447 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
7449 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
7450 (verilog-vmm-statement-re, verilog-ovm-statement-re)
7451 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
7452 (verilog-leap-to-head, verilog-backward-token):
7453 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
7455 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
7457 * progmodes/verilog-mode.el (verilog-auto-lineup)
7458 (verilog-nameable-item-re): Cleanup user-visible spelling and
7459 documentation errors. One reported by Gary Delp.
7460 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
7461 (verilog-read-decls): Fix AUTOWIRE with types declared in a
7462 package, bug195. Reported by Pierre-David Pfister.
7464 2009-12-11 Glenn Morris <rgm@gnu.org>
7466 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
7468 * mail/emacsbug.el: No longer require sendmail.
7469 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
7470 (report-emacs-bug-orig-text): Doc fix.
7471 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
7472 New local variables, to adapt to different mail-user-agents.
7473 (report-emacs-bug): Fix test for a gnu.org address.
7474 Use overlays for emphasis, since font-lock defeats 'face property.
7475 Pretest bugs also end up at the newsgroup these days.
7476 Stop message-mode stripping text properties.
7477 Set and use the new buffer-local variables.
7478 (report-emacs-bug-hook): Add doc-string.
7479 Remove some unnecessary save-excursions and simplify.
7480 Use the appropriate hook and send-command.
7482 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
7483 capitalization of some menu entries.
7485 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7487 * whitespace.el (whitespace-display-char-on):
7488 Ensure `buffer-display-table' is unique when two or more windows are
7489 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
7492 2009-12-10 Eli Zaretskii <eliz@gnu.org>
7494 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
7495 characters in the Attribute field.
7497 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
7499 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
7501 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
7503 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
7504 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7505 Disregard autoload-excludes.
7506 (update-directory-autoloads): Obey autoload-excludes here instead.
7507 But don't store its contents in no-autoloads and remove entries that
7508 refer to excludes files.
7510 2009-12-10 Glenn Morris <rgm@gnu.org>
7512 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
7513 (expand-mail-aliases): Define for compiler.
7515 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
7516 Define for compiler.
7518 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
7519 appropriate for the mail-user-agent in use.
7521 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
7523 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
7525 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
7527 Fix short log parsing and fontification.
7528 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
7529 Fix fontification for the [merge] label.
7531 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
7533 Drop some properties to avoid surprises (bug#5002).
7534 * htmlfontify.el (hfy-ignored-properties): New defcustom.
7535 (hfy-fontify-buffer): Use it.
7537 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
7540 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
7542 (ffap-locate-file): Remove unused arg `dir-ok' and make other
7543 args compulsory. Adjust callers.
7544 (ffap-gopher-at-point): Remove unused var `name'.
7546 Get rid of the ELCFILES abomination.
7547 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
7548 (compile-elcfiles): New phony target.
7549 (compile-main): Compute ELCFILES dynamically.
7550 (compile-clean): New target to remove left-over elc files.
7551 (compile, all): Use it.
7553 2009-12-09 Kenichi Handa <handa@etlken>
7555 * international/mule-diag.el: Require help-mode instead of help-fns.
7557 2009-12-09 Kenichi Handa <handa@m17n.org>
7559 * international/mule-cmds.el (ucs-names): Supply sufficiently
7560 fine ranges instead of pre-calculating accurate ranges.
7561 Iterate with bigger gc-cons-threshold.
7563 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
7565 Add support for stashing a snapshot of the current tree.
7566 * vc-git.el (vc-git-stash-snapshot): New function.
7567 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
7569 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
7571 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
7572 instead of `(beginning|end)-of-line'.
7574 2009-12-08 Glenn Morris <rgm@gnu.org>
7576 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
7578 * Makefile.in (ELCFILES): Regenerate.
7580 2009-12-07 Juri Linkov <juri@jurta.org>
7582 Don't lazy-highlight the comint output in history Isearch mode.
7584 * comint.el (comint-history-isearch-search): Instead of
7585 `comint-line-beginning-position', use `comint-after-pmark-p'
7586 to check if point if before the process mark, and go to
7587 `process-mark' in this case.
7589 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
7591 * textmodes/tex-mode.el (latex-complete)
7592 (latex-indent-or-complete): Remove.
7593 (latex-mode): Set completion-at-point-functions instead.
7595 Provide a standard completion command and hook it into TAB.
7596 * minibuffer.el (completion-at-point-functions): New var.
7597 (completion-at-point): New command.
7598 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
7599 * progmodes/python.el (python-mode-map): Use completion-at-point.
7600 (python-completion-at-point): Rename from python-partial-symbol and
7601 adjust for use in completion-at-point-functions.
7602 (python-mode): Setup completion-at-point for Python completion.
7603 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
7604 extracted from lisp-complete-symbol.
7605 (lisp-complete-symbol): Use it.
7606 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
7607 setup completion-at-point for Elisp completion.
7608 (emacs-lisp-mode-map, lisp-interaction-mode-map):
7609 Use completion-at-point.
7610 * ielm.el (ielm-map): Use completion-at-point.
7611 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
7612 * progmodes/sym-comp.el: Move to...
7613 * obsolete/sym-comp.el: Move from progmodes.
7615 2009-12-07 Eli Zaretskii <eliz@gnu.org>
7617 Prevent save-buffer in Rmail buffers from using the coding-system
7618 of the current message, and from clobbering the encoding mnemonics
7619 in the mode line (Bug#4623).
7621 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
7623 (rmail-message-encoding): New variable.
7624 (rmail-write-region-annotate): Record the encoding of the current
7625 message in rmail-message-encoding.
7626 (rmail-after-save-hook): New function, restores the encoding of
7627 the current message after the message collection is saved.
7629 2009-12-07 Juri Linkov <juri@jurta.org>
7631 * progmodes/grep.el (grep-read-files): Use `completing-read'
7632 instead of `read-string'. Set its `collection' arg to
7633 `read-file-name-internal'. (Bug#4301)
7635 2009-12-07 Juri Linkov <juri@jurta.org>
7637 Correctly restore original Isearch point. (Bug#4994)
7639 * isearch.el (isearch-mode): Move `isearch-push-state' after
7640 `(run-hooks 'isearch-mode-hook)'.
7641 (isearch-cancel): When `isearch-push-state-function' is defined,
7642 let-bind `isearch-cmds' to the first state (the last element of
7643 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
7644 function and restores the original point). Otherwise, move point
7645 to `isearch-opoint'.
7647 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
7649 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
7650 chars that don't have names, so the table can be built much faster at
7653 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
7655 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
7656 change. Suggested by David Kastrup.
7658 * simple.el (compose-mail): Check for incompatibilities and warn.
7659 (compose-mail-user-agent-warnings): New option.
7661 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
7663 Support showing a single log entry from vc-annotate.
7664 * vc.el (print-log): Add a new argument: START-REVISION.
7665 (vc-print-log-internal): Add a new optional argument and
7666 pass it to the backend.
7667 (vc-print-log, vc-print-root-log): Adjust callers.
7668 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
7669 buffer already displays the requested log entry, use it.
7670 Otherwise display only the log entry in question.
7671 * vc-svn.el (vc-svn-print-log):
7672 * vc-mtn.el (vc-mtn-print-log):
7673 * vc-hg.el (vc-hg-state):
7674 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
7675 (vc-git-show-log-entry): Return t on success.
7676 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
7677 (vc-bzr-show-log-entry): Return t on success.
7678 * vc-rcs.el (vc-rcs-print-log):
7679 * vc-sccs.el (vc-sccs-print-log):
7680 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
7682 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
7684 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
7685 Add menus to the meta mode. (Bug#5043)
7687 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
7689 * ediff-init.el (ediff-event-key): Use event-to-character instead of
7692 * ediff.el (ediff-buffers-internal): Add unwind-protect.
7694 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
7696 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
7697 Berbain <raphael.berbain@gmail.com>.
7699 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
7701 (tramp-initial-end-of-output): New defconst.
7702 (tramp-methods, tramp-find-shell)
7703 (tramp-open-connection-setup-interactive-shell)
7704 (tramp-maybe-open-connection): Use it.
7705 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
7706 existence of `#' and `$'.
7708 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
7709 `tramp-initial-end-of-output'.
7711 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
7713 Get the background mode from the terminal for xterm, and set
7715 * term/xterm.el (xterm-set-background-mode): New function.
7716 (terminal-init-xterm): Use it in case xterm supports background
7717 color queries. Recompute faces after getting the background
7720 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
7722 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
7723 number comment back on its own line, for easier parsing.
7725 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
7727 Make it work for non-file buffers (bug#5102).
7728 * doc-view.el (doc-view-current-cache-dir):
7729 Use doc-view-buffer-file-name rather than buffer-file-name.
7730 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
7732 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
7734 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
7735 author field is too short.
7737 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
7739 * vc-git.el (vc-git-print-log): Handle a limit argument.
7740 Display the short log in graph form and with labels.
7741 (vc-git-log-view-mode): Handle labels.
7743 Make vc-revert change VC state from 'added to 'unregistered.
7744 * vc-git.el (vc-git-revert): Call git reset first.
7746 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
7748 * net/newst-backend.el, net/newst-plainview.el:
7749 * net/newst-reader.el, net/newst-ticker.el:
7750 * net/newst-treeview.el, net/newsticker.el:
7751 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
7753 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
7755 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
7757 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
7758 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
7759 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
7760 Update annotation regexp.
7762 * simple.el (beginning-of-visual-line): Constrain to field
7763 boundaries (Bug#5106).
7765 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
7767 * xml.el (xml-substitute-numeric-entities): Move
7768 newsticker--decode-numeric-entities in newst-backend.el to
7769 xml-substitute-numeric-entities in xml.el. (Bug#5008)
7770 * net/newst-backend.el (newsticker--parse-generic-feed)
7771 (newsticker--parse-generic-items)
7772 (newsticker--decode-numeric-entities): Move
7773 newsticker--decode-numeric-entities in newst-backend.el to
7774 xml-substitute-numeric-entities in xml.el. (Bug#5008)
7776 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
7778 * progmodes/js.el (js--js-not): Add null to the list of values.
7780 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
7782 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
7784 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7786 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
7787 delimiter if it is at the end of the current line.
7788 (bibtex-generate-url-list): Fix docstring.
7790 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
7793 minibuffer's content with itself.
7794 Fold the confirm-after-completion case into the `confirm' case.
7795 (completion-pcm-word-delimiters): Add : and / to the delimiters.
7797 2009-12-06 Kevin Ryde <user42@zip.com.au>
7799 * ffap.el (ffap-rfc-path): Make this a defcustom since
7800 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
7802 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
7803 manuals, similar to existing setup for help-mode. (Bug#3913.)
7805 2009-12-05 Juri Linkov <juri@jurta.org>
7807 Save and restore dired buffer's point positions too. (Bug#4880)
7809 * dired.el (dired-save-positions): Return in the first element
7810 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
7812 (dired-restore-positions): First restore buffer's position.
7813 While restoring window's positions, check if window still displays
7814 the original buffer.
7816 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
7818 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
7821 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
7822 Make argument optional.
7824 * shell.el (shell): Require ansi-color (Bug#5113).
7826 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
7828 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
7830 2009-12-05 Alan Mackenzie <acm@muc.de>
7832 * progmodes/cc-mode.el (c-before-hack-hook)
7833 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
7834 `c-file-style' to work again. This reversion restores the current
7835 software to its state in Emacs 23.1. (Bug#4146)
7837 2009-12-05 Kevin Ryde <user42@zip.com.au>
7839 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
7840 comment-start-skip to comment-end-skip as comment (Bug#4781).
7842 2009-12-05 Juri Linkov <juri@jurta.org>
7844 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
7845 for virtual nodes. (Bug#4147)
7846 (Info-find-node-2): Set `Info-current-node-virtual' to nil
7847 when moving from a virtual node.
7848 (Info-mode-menu): Add `Info-virtual-index' to the menu.
7849 (Info-mode): Add `Info-virtual-index' to the docstring.
7851 2009-12-05 Eric Ludlam <zappo@gnu.org>
7853 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
7854 Describe project macro symbols.
7856 * cedet/semantic/complete.el (semantic-complete-do-completion):
7857 Don't call semantic-collector-current-exact-match.
7859 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
7860 ede-objects as targets.
7862 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
7863 a target's object list even if compiler vars are already in the
7866 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
7867 list of headers producing necessary macros.
7869 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
7871 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
7872 track of the buffer position of the end of a BibTeX entry as this
7873 position may change during reformatting.
7874 (bibtex-format-entry): Remove whitespace before processing
7875 numerical fields so that we recognize the latter properly.
7876 (bibtex-reformat): Do not use push which changes the global value
7877 of bibtex-entry-format.
7878 (bibtex-field-braces-alist, bibtex-field-strings-alist)
7879 (bibtex-field-re-init): Replace only space characters by regexp
7881 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
7882 (bibtex-initialize): Also update bibtex-strings.
7883 (bibtex-kill-field): Preserve white space at end of entry.
7884 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
7885 Update bibtex-reference-keys.
7887 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
7889 * minibuffer.el (completion-pcm--merge-try): Also consider placing
7890 point after a star, if that's the only place where modifications can
7893 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
7895 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
7898 2009-12-04 Juri Linkov <juri@jurta.org>
7900 * proced.el (proced): Call `(proced-update t)' to update process
7901 information instead of only running proced-post-display-hook.
7902 (proced-send-signal): Add a leading space to the buffer name
7903 " *Marked Processes*" to make this buffer ephemeral.
7905 2009-12-04 Juri Linkov <juri@jurta.org>
7907 * dired.el (dired-auto-revert-buffer): New defcustom.
7908 (dired-internal-noselect): Use it.
7910 2009-12-04 Juri Linkov <juri@jurta.org>
7912 Change roles of modes and functions in image-mode.el (Bug#5062).
7914 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
7915 in `auto-mode-alist'.
7916 (image-mode-previous-major-mode): New variable.
7917 (image-minor-mode-map): Rename from `image-mode-text-map'.
7918 (image-mode): Move graceful error-handling code from
7919 `image-minor-mode' to here. On errors call `image-mode-as-text'.
7920 (image-minor-mode): Remove all image-handling code.
7921 Replace `image-mode-text-map' with `image-minor-mode-map'.
7922 Check for `image-type' in mode-line format string.
7923 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
7924 (image-mode-as-text): New function with most code from
7926 (image-toggle-display-text): Move code that removes image
7927 properties from `image-toggle-display' to here.
7928 (image-toggle-display-image): New function with code that adds
7929 image properties copied from `image-toggle-display'.
7930 (image-toggle-display): Remove most code with leaving only code
7931 that toggles between `image-mode-as-text' and `image-mode'.
7933 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
7935 * net/newst-treeview.el
7936 (newsticker--treeview-list-highlight-start): Restored call to
7937 save-excursion: Selected item was stuck.
7938 (newsticker--treeview-list-select): New.
7939 (newsticker--treeview-item-show-text)
7940 (newsticker--treeview-item-show)
7941 (newsticker--treeview-item-update): Use new
7942 newsticker-treeview-item-mode.
7943 (newsticker-treeview-update): Keep current item.
7944 (newsticker-treeview-next-new-or-immortal-item): Doc change.
7945 (newsticker--treeview-first-feed): Doc change.
7946 (newsticker-treeview-list-menu)
7947 (newsticker-treeview-item-menu): Added menu entries.
7948 (newsticker-treeview-item-mode): New.
7950 * net/newst-backend.el (newsticker-customize): Delete other
7953 2009-12-04 Sam Steingold <sds@gnu.org>
7955 * log-view.el (log-view-mode-map): "q" calls quit-window,
7956 like in all the other non-self-insert buffers.
7958 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7961 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
7962 key decoding rather than do it manually via last-input-event +
7964 (term-exec): Use delete-and-extract-region.
7965 (term-handle-ansi-terminal-messages): Remove unused var `end'.
7966 (term-process-pager): Remove unused var `i'.
7967 (term-dynamic-simple-complete): Make obsolete.
7968 (serial-update-config-menu): Remove unused vars `y' and `str'.
7969 (term-update-mode-line): Remove unused var `temp'.
7971 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
7973 Limit the number of log entries displayed by default.
7974 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
7975 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
7976 using a prefix argument.
7978 2009-12-03 Glenn Morris <rgm@gnu.org>
7980 * progmodes/idlwave.el (class): Restore still useful declaration.
7982 2009-12-03 Alan Mackenzie <acm@muc.de>
7984 Enhance `c-parse-state' to run efficiently in "brace deserts".
7986 * progmodes/cc-mode.el (c-basic-common-init):
7987 Call c-state-cache-init.
7988 (c-neutralize-syntax-in-and-mark-CPP): Rename from
7989 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
7990 placing `category' properties value 'c-cpp-delimiter at its boundaries.
7992 * progmodes/cc-langs.el (c-before-font-lock-function):
7993 c-extend-and-neutralize-syntax-in-CPP has been renamed
7994 c-neutralize-syntax-in-and-mark-CPP.
7996 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
7997 with `category' properties now, not `syntax-table' ones.
7999 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8000 enhanced (but slower) version of c-end-of-macro that won't land
8001 inside a literal or on another awkward character.
8002 (c-state-cache-too-far, c-state-cache-start)
8003 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8004 (c-state-nonlit-pos-cache-limit, c-state-point-min)
8005 (c-state-point-min-lit-type, c-state-point-min-lit-start)
8006 (c-state-min-scan-pos, c-state-brace-pair-desert)
8007 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8008 buffer local variables.
8009 (c-state-literal-at, c-state-lit-beg)
8010 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8011 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8012 (c-state-cache-top-paren, c-state-cache-after-top-paren)
8013 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8014 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8015 (c-renarrow-state-cache)
8016 (c-append-lower-brace-pair-to-state-cache)
8017 (c-state-push-any-brace-pair, c-append-to-state-cache)
8018 (c-remove-stale-state-cache)
8019 (c-remove-stale-state-cache-backwards, c-state-cache-init)
8020 (c-invalidate-state-cache-1, c-parse-state-1)
8021 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8022 (c-parse-state): Enhance and refactor.
8023 (c-debug-parse-state): Amend to deal with all the new variables.
8025 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8026 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8027 modify to use category text properties rather than syntax-table ones.
8028 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8029 to switch off/on the syntactic paren property of C++ template
8030 delimiters using the category property.
8031 (c-with-<->-as-parens-suppressed): Macro to invoke code with
8032 template delims suppressed.
8033 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8034 New constant/macros which apply category properties to the start
8035 and end of preprocessor constructs.
8036 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8037 "comment out" the syntactic value of characters in preprocessor
8039 (c-with-cpps-commented-out)
8040 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8041 with characters in all or all but one preprocessor constructs
8044 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8046 * proced.el (proced-filter-alist): Use regexp-quote.
8048 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
8051 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8052 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
8053 arguments. Expand `default-directory'.
8055 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8056 the benefit of returning an expanded localname.
8057 (tramp-tramp-file-p): Handle the case NAME is not a string.
8059 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8061 Add support for bzr shelve/unshelve.
8062 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8063 (vc-bzr-extra-menu-map): New variables.
8064 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8065 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8066 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8067 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8068 (vc-bzr-dir-extra-headers): Display shelves.
8070 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8072 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8074 * textmodes/bibtex.el (bibtex-complete-internal):
8075 Use completion-in-region.
8076 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8078 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8080 Support applying stashes. Improve UI.
8081 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8082 (vc-git-stash-apply, vc-git-stash-pop)
8083 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8084 (vc-git-stash-menu): New functions.
8085 (vc-git-stash-menu-map): New variable.
8086 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8088 2009-12-03 Glenn Morris <rgm@gnu.org>
8090 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8091 (vc-print-log-internal): Fix previous change.
8092 (vc-revert): Correct pluralization.
8094 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * progmodes/make-mode.el (makefile-special-targets-list): No need for
8097 it to be an alist any more.
8098 (makefile-complete): Use completion-in-region.
8100 * progmodes/octave-mod.el (octave-complete-symbol):
8101 Use completion-in-region.
8104 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8105 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8106 (idlwave-complete-class): Don't quote lambda.
8107 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8108 (idlwave-mode-map): Move initialization into declaration.
8109 (idlwave-action-and-binding): Use backquotes.
8110 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8112 (idlwave-is-pointer-dereference): Remove unused var `pos'.
8113 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8114 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8115 `parts', and `all-parts'.
8116 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8117 (idlwave-convert-xml-system-routine-info): Remove unused string
8119 (idlwave-display-user-catalog-widget): Use dolist.
8120 (idlwave-scanning-lib): Declare dynamically-scoped var.
8121 (idlwave-scan-library-catalogs): Remove unused var `flags'.
8122 (completion-highlight-first-word-only): Declare to silence bytecomp.
8123 (idlwave-popup-select): Tighten scope of `resp'.
8124 (idlwave-find-struct-tag): Remove unused var `beg'.
8125 (idlwave-after-load-rinfo-hook): Declare.
8126 (idlwave-sintern-class-info): Remove unused var `taglist'.
8127 (idlwave-find-class-definition): Remove unused var `list'.
8128 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8129 (idlwave-what-module-find-class): Remove unused var `classes'.
8131 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
8133 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8135 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8138 buffers visited. Remove redundant current-buffer-saving.
8140 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8142 Use completion-in-buffer and remove uses of dynamic scoping.
8143 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8144 (pascal-buffer-to-use, pascal-flag): Don't declare.
8145 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8146 (pascal-get-completion-decl, pascal-keyword-completion):
8147 Add `pascal-str' argument, save-excursion,
8148 return the found completions, and don't filter with pascal-pred.
8149 (pascal-completion-cache): New var.
8150 (pascal-completion): Don't switch buffer any more (it was never
8151 necessary). Don't save-excursion any more (it's done by the called
8152 subroutines). Use a cache to avoid redundant computations.
8153 Use complete-with-action rather than pascal-completion-response and
8154 let it apply the predicate as well.
8155 (pascal-complete-word): Use completion-in-buffer when
8156 pascal-toggle-completions is nil.
8157 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8159 (pascal-comp-defun): Don't change buffer any more.
8160 Use complete-with-action rather than pascal-completion-response and
8161 let it apply the predicate as well.
8162 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8165 2009-12-02 Kenichi Handa <handa@m17n.org>
8167 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8168 shape for all Indic scripts.
8170 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8172 Use completion-in-buffer.
8173 * wid-edit.el (widget-field-text-end): New function.
8174 (widget-field-value-get): Use it.
8175 (widget-string-complete, widget-file-complete)
8176 (widget-color-complete): Use it and completion-in-region.
8177 (widget-complete): Don't narrow the buffer.
8179 2009-12-02 Glenn Morris <rgm@gnu.org>
8181 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
8182 (rmail-select-summary): Use rmail-pop-to-buffer.
8183 * mail/rmailsum.el: Replace all pop-to-buffer calls with
8184 rmail-pop-to-buffer, to prevent horizontal splits.
8186 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8187 save-excursion with save-current-buffer.
8188 Widen before searching. (Bug#5093)
8189 (diary-list-sexp-entries): Remove superfluous save-excursion.
8191 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
8193 * woman.el (woman-make-bufname): Handle man-pages with "." in the
8196 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
8198 * ido.el (ido-file-internal): Handle filenames at point that do
8199 not have a directory part. (Bug#5049)
8201 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
8203 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8204 (mpc-songs-jump-to, mpc-resume): Doc fixes.
8206 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
8208 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8209 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8212 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * comint.el (comint-insert-input): Ignore clicks to the right of
8215 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8217 * vc.el (vc-print-log-internal): Don't wait for the process to
8218 terminate before setting up the major mode.
8220 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8223 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8226 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8228 2009-12-01 Glenn Morris <rgm@gnu.org>
8230 * window.el (window--display-buffer-2): Fix previous changes.
8232 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
8234 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8236 2009-12-01 Glenn Morris <rgm@gnu.org>
8238 * Makefile.in (ELCFILES): Add mpc.elc.
8240 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8244 2009-12-01 Glenn Morris <rgm@gnu.org>
8246 * window.el (window-to-use): Define for compiler.
8248 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
8249 consistent with others (no final period).
8251 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
8252 (rmail-mime-show): Downcase the encoding. (Bug#5070)
8254 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
8256 Make vc-print-log buttons work.
8257 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
8259 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
8261 * savehist.el (savehist-autosave-interval): Allow setting to nil
8262 through customize. (Bug#5056)
8264 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
8266 Fix references to jit-lock properties.
8267 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
8268 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
8269 (perl-font-lock-special-syntactic-constructs):
8270 Quote jit-lock-defer-multiline property.
8272 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
8274 * vc-git.el (vc-git-registered): Call vc-git-root only once.
8276 2009-11-30 Juri Linkov <juri@jurta.org>
8278 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
8279 value `buffer' of `multi-isearch-next-buffer-current-function'.
8280 Use `(current-buffer)' when `buffer' is nil.
8281 (multi-isearch-next-buffer-from-list): Don't fallback to
8282 `(current-buffer)' when `buffer' is nil. (Bug#4947)
8284 2009-11-30 Juri Linkov <juri@jurta.org>
8286 * misearch.el (multi-isearch-read-buffers): Move canonicalization
8287 of buffers with `get-buffer' to `multi-isearch-buffers'.
8288 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8289 Canonicalize BUFFERS with `get-buffer'. Doc fix.
8290 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
8291 FILES with `expand-file-name' converting relative file names
8292 to absolute. Doc fix. (Bug#4727)
8294 2009-11-30 Juri Linkov <juri@jurta.org>
8296 * misearch.el (multi-isearch-read-buffers)
8297 (multi-isearch-read-matching-buffers): New functions.
8298 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8299 Use them in the `interactive' spec. Doc fix.
8300 (multi-isearch-read-files, multi-isearch-read-matching-files):
8302 (multi-isearch-files, multi-isearch-files-regexp):
8303 Use them in the `interactive' spec. Doc fix. (Bug#4725)
8305 2009-11-30 Juri Linkov <juri@jurta.org>
8307 * doc-view.el (doc-view-continuous):
8308 Rename from `doc-view-continuous-mode'.
8309 (doc-view-menu): Move "Toggle display" to the top.
8310 Add submenu "Continuous" with radio buttons "Off"/"On"
8311 and "Save as Default".
8312 (doc-view-scroll-up-or-next-page)
8313 (doc-view-scroll-down-or-previous-page)
8314 (doc-view-next-line-or-next-page)
8315 (doc-view-previous-line-or-previous-page): Rename
8316 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
8318 2009-11-30 Juri Linkov <juri@jurta.org>
8320 * comint.el (comint-mode-map): Rebind `M-r' from
8321 `comint-previous-matching-input' to
8322 `comint-history-isearch-backward-regexp'.
8323 Unbind `M-s' to allow global key binding `M-s'.
8324 Add menu items for `comint-history-isearch-backward' and
8325 `comint-history-isearch-backward-regexp'. (Bug#3746)
8327 2009-11-30 Juri Linkov <juri@jurta.org>
8329 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
8330 For def=recenter, replace `recenter' with `recenter-top-bottom'
8331 that is called with `this-command' and `last-command' let-bound
8332 to `recenter-top-bottom'. When the last `def' was not `recenter',
8333 set `recenter-last-op' to nil. (Bug#4981)
8335 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
8337 Minor cleanup and simplification.
8338 * filecache.el (file-cache-add-directory)
8339 (file-cache-add-directory-recursively)
8340 (file-cache-add-from-file-cache-buffer)
8341 (file-cache-delete-file-regexp, file-cache-delete-directory)
8342 (file-cache-files-matching-internal, file-cache-display): Use dolist.
8343 (file-cache-temp-minibuffer-message): Delete function.
8344 (file-cache-minibuffer-complete): Use minibuffer-message instead.
8346 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
8347 Don't signal an error when bumping into EOB in tr, s, or y.
8349 2009-11-29 Juri Linkov <juri@jurta.org>
8351 * startup.el (fancy-about-text): Fix wording of Guided Tour.
8354 * descr-text.el (describe-char-unidata-list): Use lowercase name
8355 for "Unicode name" like in other tags.
8357 2009-11-29 Juri Linkov <juri@jurta.org>
8359 * ediff-util.el (ediff-minibuffer-with-setup-hook):
8360 New compatibility macro.
8361 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
8363 2009-11-29 Juri Linkov <juri@jurta.org>
8365 Add defcustom to define the cycling order of `recenter-top-bottom'.
8368 * window.el (recenter-last-op): Doc fix.
8369 (recenter-positions): New defcustom.
8370 (recenter-top-bottom): Rewrite to use `recenter-positions'.
8371 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
8373 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
8375 Improve integration of Tramp and ange-ftp in eshell.
8377 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
8378 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
8379 (eshell/sudo): Flatten args. Let-bind `default-directory'.
8381 * eshell/esh-util.el (top): Require also Tramp when compiling.
8382 (eshell-directory-files-and-attributes): Check for FTP remote
8384 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
8385 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
8386 (eshell-file-attributes): Handle ".". Return `entry'.
8388 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
8389 (ange-ftp-directory-files-and-attributes)
8390 (ange-ftp-real-directory-files-and-attributes): New defuns.
8392 * net/tramp.el (tramp-maybe-open-connection): Open the remote
8393 shell with "exec" when possible. This prevents trailing prompts
8394 in `start-file-process'.
8396 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8398 Try and remove assumptions about point-min==1.
8399 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
8400 (rng-compute-mode-line-string): Show the validation percentage in
8401 terms of the narrowed text, not the widened text.
8402 (rng-do-some-validation): Don't catch internal errors when debugging.
8403 (rng-first-error): Simplify.
8404 (rng-after-change-function): Remove work around. AFAIK the bug has
8405 been fixed a while ago.
8407 * image-mode.el (image-minor-mode): Exit more gracefully when the image
8408 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
8410 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
8412 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
8413 `cd' doesn't always do it for us (bug#5067).
8415 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
8416 on 2009-10-25 as part of some other change (bug#5067).
8418 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
8422 (byte-compile-warnings): Use byte-compile-warning-types.
8423 (byte-compile-save-excursion): Warn about use of set-buffer right
8424 after save-excursion.
8426 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
8427 the excursion as well.
8429 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
8431 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
8432 providing a Tramp related implementation of "su" and "sudo".
8433 (eshell-unix-initialize): Add "su" and "sudo".
8435 2009-11-27 Daiki Ueno <ueno@unixuser.org>
8437 * net/socks.el (socks-send-command): Convert binary request to
8438 unibyte before sending. This fixes mishandling of some port
8439 numbers such as 129.
8441 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8443 * help.el (describe-bindings-internal): Remove `interactive'.
8445 * man.el (Man-completion-table): Trim a terminating "(".
8446 Remove the space between name page a section.
8447 Add the command's description on the `help-echo' property.
8448 Remove `process-connection-type' binding since it's unused by
8450 Provide completion for the "<section> <name>" format as well.
8451 (Man-default-man-entry): Remove spurious var shadowing the argument.
8453 2009-11-26 Kevin Ryde <user42@zip.com.au>
8455 * log-view.el: Add "Keywords: tools", since its other keywords
8456 aren't in finder-known-keywords, and following vc.el.
8458 * sha1.el (sha1-string-external): default-directory "/" in case
8459 otherwise non-existent. process-connection-type pipe for touch of
8460 efficiency recommended by elisp manual. (An aside in Bug#3911.)
8462 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
8464 Misc coding convention cleanups.
8465 * htmlfontify.el (hfy-init-kludge-hook): Rename from
8466 hfy-init-kludge-hooks.
8467 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
8468 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
8469 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
8471 (hfy-slant, hfy-weight): Use tables rather than code.
8472 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
8473 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
8474 (hfy-face-attr-for-class): Initialize `face-spec' directly.
8475 (hfy-face-to-css): Remove `nconc' with single arg.
8476 (hfy-p-to-face-lennart): Use `or'.
8477 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
8478 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
8479 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
8480 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
8481 (hfy-force-fontification): Use run-hooks.
8483 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
8485 Various minor fixes.
8486 * htmlfontify.el (hfy-default-header): Add toggle_invis since
8487 Javascript belongs in the header, not the body.
8488 (hfy-javascript): Remove.
8489 (hfy-fontify-buffer): Don't insert it any more.
8490 (hfy-face-at): Handle (face0 face1 face2) style face properties.
8491 Fix bug in invis handling when there were no invis props in a chunk.
8493 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
8495 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
8497 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
8499 * finder.el (finder-mode-map): Add a menu.
8501 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
8503 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
8506 (verilog-leap-to-head, verilog-backward-token): Handle "disable
8507 fork" statement better.
8509 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
8511 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
8512 (verilog-delete-auto, verilog-delete-empty-auto-pair)
8513 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
8514 Reported by Clay Douglass.
8516 (verilog-auto-inst, verilog-auto-star-safe)
8517 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
8518 Fix removing "// Interfaces" when saving .* expansions. Reported by
8519 Pierre-David Pfister.
8521 2009-11-26 Glenn Morris <rgm@gnu.org>
8523 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
8526 2009-11-25 Johan Bockgård <bojohan@gnu.org>
8528 * vc-annotate.el (vc-annotate-revision-previous-to-line):
8529 Really use previous revision.
8531 2009-11-25 Kevin Ryde <user42@zip.com.au>
8533 * man.el (Man-completion-table): default-directory "/" in case
8534 doesn't otherwise exist. process-environment COLUMNS=999 so as
8535 not to truncate long names. process-connection-type pipe to avoid
8536 any chance of hitting the pseudo-tty TIOCGWINSZ.
8537 (man): completion-ignore-case t for friendliness and since man
8538 itself is case-insensitive on the command line.
8539 Further to Bug#3717.
8541 * arc-mode.el: Add "Keywords: files", so the details in its
8542 commentary can be reached from finder-by-keyword.
8543 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
8544 editing mode, but it's comms related and sgml-mode.el has "comm"
8546 * textmodes/bibtex-style.el: Add "Keywords: tex".
8547 * international/isearch-x.el, international/ja-dic-cnv.el:
8548 * international/ja-dic-utl.el, international/kkc.el:
8549 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
8551 2009-11-25 Juri Linkov <juri@jurta.org>
8553 * man.el (Man-completion-table): Modify regexp to include
8554 section names to completion strings. (Bug#3717)
8556 2009-11-25 Juri Linkov <juri@jurta.org>
8558 Search recursively in gzipped files. (Bug#4982)
8560 * progmodes/grep.el (grep-highlight-matches): Add new options
8561 `always' and `auto'. Doc fix.
8562 (grep-process-setup): Check `grep-highlight-matches' for
8563 `auto-detect' to determine the need to compute grep defaults.
8564 Move Windows/DOS specific --colors settings handling
8565 to `grep-compute-defaults'. Check `grep-highlight-matches'
8566 to get the value of "--color=".
8567 (grep-compute-defaults): Compute `grep-highlight-matches' when it
8568 has the value `auto-detect'. Move Windows/DOS specific settings
8569 from `grep-process-setup'.
8570 (zrgrep): New command with alias `rzgrep'.
8572 2009-11-25 Juri Linkov <juri@jurta.org>
8574 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
8575 to nil instead of switching off view-mode. (Bug#4896)
8577 2009-11-25 Juri Linkov <juri@jurta.org>
8579 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
8581 * mwheel.el (mwheel-scroll-up-function)
8582 (mwheel-scroll-down-function): New defvars.
8583 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
8584 `scroll-up', and `mwheel-scroll-down-function' instead of
8587 * doc-view.el (doc-view-scroll-up-or-next-page)
8588 (doc-view-scroll-down-or-previous-page): Add optional ARG.
8589 Use this ARG in the call to image-scroll-up/image-scroll-down.
8590 Change `interactive' spec to "P". Goto next/previous page only
8591 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
8592 SPC/DEL case). Doc fix.
8593 (doc-view-next-line-or-next-page)
8594 (doc-view-previous-line-or-previous-page): Rename arg to ARG
8596 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
8597 `doc-view-scroll-up-or-next-page', and buffer-local
8598 `mwheel-scroll-down-function' to
8599 `doc-view-scroll-down-or-previous-page'.
8601 2009-11-25 Juri Linkov <juri@jurta.org>
8603 Provide additional default values (directories at other Dired
8604 windows) via M-n in the minibuffer of some Dired commands.
8606 * dired-aux.el (dired-diff, dired-compare-directories)
8607 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
8608 `minibuffer-default' in `minibuffer-with-setup-hook'.
8609 (dired-dwim-target-directory): Find a window that displays Dired
8610 buffer instead of failing when the next window is not Dired.
8611 Use `get-window-with-predicate' to find for the next Dired window.
8612 (dired-dwim-target-defaults): New function.
8614 * ediff-util.el (ediff-read-file-name):
8615 Use `dired-dwim-target-defaults' to set `minibuffer-default'
8616 in `minibuffer-with-setup-hook'.
8618 2009-11-25 Juri Linkov <juri@jurta.org>
8620 Provide additional default values (file name at point or at the
8621 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
8623 * minibuffer.el (read-file-name-defaults): New function.
8624 (read-file-name): Reset `minibuffer-default' to nil when
8625 it duplicates initial input `insdef'.
8626 Bind `minibuffer-default-add-function' to lambda that
8627 calls `read-file-name-defaults' in `minibuffer-selected-window'.
8628 (minibuffer-insert-file-name-at-point): New command.
8630 * files.el (file-name-at-point-functions): New defcustom.
8631 (find-file-default): Remove defvar.
8632 (find-file-read-args): Don't use `find-file-default'.
8633 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
8634 to `read-file-name'.
8635 (find-file-literally): Use `read-file-name' with
8636 `confirm-nonexistent-file-or-buffer'.
8638 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
8640 * dired.el (dired-read-dir-and-switches):
8641 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
8642 to `read-file-name'.
8643 (dired-file-name-at-point): New function.
8644 (dired-mode): Add hook `dired-file-name-at-point' to
8645 `file-name-at-point-functions'.
8647 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8649 Really make the *Completions* window soft-dedicated (bug#5030).
8650 * window.el (window--display-buffer-2): Add `dedicated' argument.
8651 (display-buffer): Pass it when needed so the dedicated flag is set
8652 after calling set-window-buffer, which would otherwise reset it.
8654 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
8656 * progmodes/meta-mode.el (meta-complete-symbol):
8657 * progmodes/etags.el (complete-tag):
8658 * mail/mailabbrev.el (mail-abbrev-complete-alias):
8659 Use completion-in-region.
8661 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
8662 (dabbrev-completion): Use completion-in-region.
8663 (dabbrev--abbrev-at-point): Simplify regexp.
8665 * abbrev.el (abbrev--before-point): Use word-motion functions
8666 if :regexp is not specified (bug#5031).
8668 * subr.el (string-prefix-p): New function.
8670 * man.el (Man-completion-cache): New var.
8671 (Man-completion-table): Use it.
8673 * vc.el (vc-print-log-internal): Make `limit' optional for better
8674 compatibility (e.g. with vc-annotate.el).
8676 2009-11-24 Kevin Ryde <user42@zip.com.au>
8678 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
8679 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
8681 * emacs-lisp/elint.el (elint-add-required-env): Better error message
8682 when .el source file not found or other error.
8684 2009-11-24 Markus Triska <markus.triska@gmx.at>
8686 * linum.el (linum-update-window): Ignore intangible (bug#4996).
8688 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
8690 Handle the [back] button properly (bug#4979).
8691 * descr-text.el (describe-text-properties): Add a `buffer' argument.
8692 Use help-setup-xref, help-buffer, and with-help-window.
8693 (describe-char): Add `buffer' argument.
8694 Pass proper command to help-setup-xref. Don't meddle with
8695 help-xref-stack-item directly.
8696 (describe-text-category): Use with-help-window and help-buffer.
8698 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
8699 for the displayed buffer (bug#4887).
8701 * man.el (Man-completion-table): New function.
8704 2009-11-24 David Reitter <david.reitter@gmail.com>
8706 * vc-git.el (vc-git-registered): Use checkout directory (where
8707 .git is) rather than the file's directory and a relative path spec
8708 to work around a bug in git.
8710 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
8712 Improve handling of processes on remote hosts.
8714 * eshell/esh-util.el (eshell-path-env): New defvar.
8715 (eshell-parse-colon-path): New defun.
8716 (eshell-file-attributes): Use `eshell-parse-colon-path'.
8718 * eshell/esh-ext.el (eshell-search-path):
8719 Use `eshell-parse-colon-path'.
8720 (eshell-remote-command): Remove argument HANDLER.
8721 (eshell-external-command): Check for FTP remote connection.
8723 * eshell/esh-proc.el (eshell-gather-process-output):
8724 Use `file-truename', in order to start also symlinked files.
8725 Apply `start-file-process' instead of `start-process'.
8726 Shorten `command' to the local file name part.
8728 * eshell/em-cmpl.el (eshell-complete-commands-list):
8729 Use `eshell-parse-colon-path'.
8731 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
8733 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
8734 to `eshell-directory-change-hook'.
8736 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
8738 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
8739 because it could be enabled automatically if view-read-only is non-nil.
8741 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
8743 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
8746 2009-11-24 Glenn Morris <rgm@gnu.org>
8748 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
8749 deleted variable bookmark-bmenu-bookmark-column.
8751 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
8752 Move after definition of global-semantic-idle-tag-highlight-mode.
8754 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
8758 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
8760 * net/browse-url.el (browse-url-filename-alist): On Windows, add
8761 two slashes to the "file:" prefix.
8762 (browse-url-file-url): De-munge Cygwin filenames before passing
8763 them to Windows browser.
8764 (browse-url-default-windows-browser): Use call-process.
8766 2009-11-23 Juri Linkov <juri@jurta.org>
8768 Implement DocView Continuous mode. (Bug#4896)
8769 * doc-view.el (doc-view-continuous-mode): New defcustom.
8770 (doc-view-mode-map): Bind C-n/<down> to
8771 `doc-view-next-line-or-next-page', C-p/<up> to
8772 `doc-view-previous-line-or-previous-page'.
8773 (doc-view-next-line-or-next-page)
8774 (doc-view-previous-line-or-previous-page): New commands.
8776 2009-11-23 Juri Linkov <juri@jurta.org>
8778 Implement Isearch in comint input history. (Bug#3746)
8779 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
8780 `isearch-mode-hook'.
8781 (comint-history-isearch): New defcustom.
8782 (comint-history-isearch-backward)
8783 (comint-history-isearch-backward-regexp): New commands.
8784 (comint-history-isearch-message-overlay): New buffer-local variable.
8785 (comint-history-isearch-setup, comint-history-isearch-end)
8786 (comint-goto-input, comint-history-isearch-search)
8787 (comint-history-isearch-message, comint-history-isearch-wrap)
8788 (comint-history-isearch-push-state)
8789 (comint-history-isearch-pop-state): New functions.
8791 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
8793 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
8795 (tramp-handle-make-symbolic-link)
8796 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
8798 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
8799 (tramp-handle-process-file): Use it.
8801 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * window.el (move-to-window-line-last-op): Remove.
8804 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
8806 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
8808 Make M-r mirror the new cycling behavior of C-l.
8809 * window.el (move-to-window-line-last-op): New var.
8810 (move-to-window-line-top-bottom): New command.
8811 (global-map): Bind M-r move-to-window-line-top-bottom.
8813 2009-11-23 Sven Joachim <svenjoac@gmx.de>
8815 * dired-x.el (dired-guess-shell-alist-default):
8816 Support xz format. (Bug#4953)
8818 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
8820 * cedet/srecode/map.el (srecode-get-maps):
8821 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
8822 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
8823 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
8824 (semantic-toggle-decoration-style):
8825 * cedet/semantic/decorate/include.el
8826 (semantic-decoration-include-describe)
8827 (semantic-decoration-unknown-include-describe)
8828 (semantic-decoration-unparsed-include-describe)
8829 (semantic-decoration-all-include-summary):
8830 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
8831 * cedet/semantic/analyze/complete.el
8832 (semantic-analyze-possible-completions):
8833 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
8834 (semantic-show-unmatched-syntax-mode)
8835 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
8836 (semantic-highlight-func-mode):
8837 * cedet/semantic/util.el (semantic-describe-buffer):
8838 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
8839 (semantic-symref-find-tags-by-name)
8840 (semantic-symref-find-tags-by-regexp)
8841 (semantic-symref-find-tags-by-completion)
8842 (semantic-symref-find-file-references-by-name)
8843 (semantic-symref-find-text):
8844 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
8846 * cedet/semantic/scope.el (semantic-calculate-scope):
8847 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
8848 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
8849 (define-semantic-idle-service):
8850 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
8851 (semantic-complete-analyze-inline-idle):
8852 * cedet/semantic/analyze.el (semantic-analyze-current-context):
8853 * cedet/mode-local.el (describe-mode-local-bindings)
8854 (describe-mode-local-bindings-in-mode):
8855 * cedet/ede/make.el (ede-make-check-version):
8856 * cedet/ede/locate.el (ede-enable-locate-on-project):
8857 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
8858 (cedet-idutils-version-check):
8859 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
8860 (cedet-gnu-global-version-check):
8861 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
8862 (cedet-cscope-version-check): Use called-interactively-p instead
8865 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
8866 Use semantic-format-tag-prototype.
8868 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
8870 * emulation/viper-cmd.el: Use viper-last-command-char instead of
8871 last-command-char/last-command-event.
8872 (viper-prefix-arg-value): Do correct conversion of event-char for
8875 * emulation/viper-util.el, emulation/viper.el:
8876 Use viper-last-command-char instead of
8877 last-command-char/last-command-event.
8879 * ediff-init.el, ediff-mult.el, ediff-util.el:
8880 Replace last-command-char and last-command-event
8881 with (ediff-last-command-char) everywhere.
8883 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
8884 created in fundamental mode.
8886 * ediff.el (ediff-version): Revert the change of interactive-p to
8887 called-interactively-p.
8889 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
8891 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
8892 generation from word-movement command names.
8894 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
8896 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
8897 (semantic-complete-jump-local, semantic-complete-jump):
8898 Improve prompt string.
8900 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
8902 * cus-start.el (all): Add native condition for font-use-system-font.
8904 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
8906 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
8907 Correct the patch from 2009-11-18. (Bug#3910)
8909 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
8911 * progmodes/subword.el: Rename from lisp/subword.el.
8913 * subword.el: Rename to progmodes/subword.el.
8915 * Makefile.in (ELCFILES): Adapt to subword.el move.
8917 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8918 Stefan Monnier <monnier@iro.umontreal.ca>
8920 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
8921 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
8922 (bookmark-bmenu-show-filenames): Use push.
8923 (bookmark-bmenu-hide-filenames): Use local var instead of
8924 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
8925 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
8926 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
8927 filenames now that the bookmark names are always available.
8929 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
8932 (bookmark-search-pattern): Move and leave unbound.
8933 (bookmark-bmenu-mode-map): Change binding.
8934 (bookmark-read-search-input): Simplify.
8935 Don't use text-char-description. Don't error on non-char events.
8936 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
8937 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
8938 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
8939 Use a local var for the timer.
8940 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
8941 (i.e. bookmark-bmenu-search).
8943 2009-11-21 Glenn Morris <rgm@gnu.org>
8945 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
8947 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
8949 * net/browse-url.el (browse-url-default-windows-browser):
8950 Use cygstart for cygwin.
8952 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
8954 * bookmark.el: Formatting and doc fixes only:
8955 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
8956 (bookmark-bmenu-search): Wrap to fit within 80 columns.
8957 Minor grammar and punctuation fixes in doc string.
8958 (bookmark-read-search-input): Adjust to fit within 80 columns.
8960 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
8962 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
8963 (c-backward-into-nomenclature): Adapt to subword renaming.
8965 * subword.el (subword-forward, subword-backward, subword-mark)
8966 (subword-kill, subword-backward-kill, subword-transpose)
8967 (subword-downcase, subword-upcase, subword-capitalize)
8968 (subword-forward-internal, subword-backward-internal):
8969 Rename from forward-subword, backward-subword, mark-subword,
8970 kill-subword, backward-kill-subword, transpose-subwords,
8971 downcase-subword, upcase-subword, capitalize-subword,
8972 forward-subword-internal, backward-subword-internal.
8974 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8976 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
8978 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
8980 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
8981 (bookmark-bmenu-filter-alist-by-regexp)
8982 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
8983 (bookmark-bmenu-search): New command.
8984 (bookmark-bmenu-mode-map): Bind it.
8986 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
8988 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
8990 * cedet/semantic/idle.el (define-semantic-idle-service)
8991 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
8993 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
8995 * progmodes/cc-cmds.el: declare-functioned forward-subword and
8996 backward-subword to quit the byte-compiler.
8998 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9000 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9002 * progmodes/cc-cmds.el (c-update-modeline)
9003 (c-forward-into-nomenclature, c-backward-into-nomenclature):
9004 Refer to subword.el functions instead of cc-subword.el.
9006 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9007 subword.el functions instead of cc-subword.el.
9009 * progmodes/cc-subword.el: Rename to subword.el.
9010 * subword.el: Rename from progmodes/cc-subword.el.
9011 (subword-mode-map): Rename from c-subword-mode-map.
9012 (subword-mode): Rename from c-subword-mode.
9013 (global-subword-mode): New global minor mode.
9014 (forward-subword): Rename from c-forward-subword.
9015 (backward-subword): Rename from c-backward-subword.
9016 (mark-subword): Rename from c-mark-subword.
9017 (kill-subword): Rename from c-kill-subword.
9018 (backward-kill-subword): Rename from c-backward-kill-subword.
9019 (transpose-subwords): Rename from c-tranpose-subword.
9020 (downcase-subword): Rename from c-downcase-subword.
9021 (capitalize-subword): Rename from c-capitalize-subword.
9022 (forward-subword-internal): Rename from c-forward-subword-internal.
9023 (backward-subword-internal): Rename from c-backward-subword-internal.
9025 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
9027 * vc.el (vc-deduce-fileset): Allow non-state changing operations
9028 from a dired buffer.
9029 (vc-dired-deduce-fileset): New function.
9030 (vc-root-diff, vc-print-root-log): Use it.
9032 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9033 nil LIMIT argument to vc-print-log-internal.
9035 2009-11-20 Glenn Morris <rgm@gnu.org>
9037 * Makefile.in (ELCFILES): Regenerate.
9039 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
9041 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
9043 * cedet/semantic.el: Enable idle-mode menu items only if
9044 global-semantic-idle-scheduler-mode is enabled.
9045 (semantic-default-submodes): Doc fix.
9047 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
9048 When turning off, disable other idle modes.
9050 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
9052 * calc/calc.el (calc-set-mode-line):
9053 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9054 (math-format-number): Rename `math-format-complement-signed' to
9055 `math-format-twos-complement'.
9057 * calc/calc-bin.el (math-format-twos-complement): Rename from
9058 math-format-complement-signed.
9059 (calc-radix): Rename `calc-complement-signed-mode' to
9060 `calc-twos-complement-mode'.
9061 (calc-octal-radix, calc-hex-radix): Add an argument for
9064 * calc/calc-embed.el (calc-embedded-mode-vars):
9065 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9067 * calc/calc-ext.el (calc-init-extensions):
9068 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9069 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9071 * calc/calc-units.el (math-build-units-table-buffer):
9072 Let `calc-twos-complement-mode' be nil.
9074 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9077 * calc/calc-vec.el (calcFunc-vunpack):
9078 * calc/calc-aent.el (calc-do-calc-eval):
9079 * calc/calc-forms.el (math-format-date):
9080 * calc/calc-graph.el (calc-graph-plot):
9081 * calc/calc-math.el (math-use-emacs-fn):
9082 * calc/calccomp.el (math-compose-expr):
9083 Let `calc-twos-complement-mode' be nil.
9085 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9088 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
9089 * minibuffer.el (completion-in-region-functions): New hook.
9090 (completion-in-region): New function.
9091 * emacs-lisp/lisp.el (lisp-complete-symbol):
9092 * pcomplete.el (pcomplete-std-complete): Use it.
9094 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9096 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9097 (latex-complete-alist): New vars.
9098 (latex-string-prefix-p, latex-complete-bibtex-keys)
9099 (latex-complete-envnames, latex-complete-refkeys)
9100 (latex-complete-data): New functions.
9101 (latex-complete, latex-indent-or-complete): New commands.
9103 * window.el (display-buffer-mark-dedicated): New var.
9104 (display-buffer): Obey it.
9105 * minibuffer.el (minibuffer-completion-help): Use it.
9107 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9109 * filecache.el (file-cache-add-file): Use push and cons.
9110 (file-cache-delete-file-regexp): Use push.
9111 (file-cache-complete): Use completion-in-region.
9113 * simple.el (with-wrapper-hook): Fix thinko.
9115 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9116 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9117 Use with-current-buffer and string-to-number.
9118 (hfy-fallback-colour-values): Use assoc-string.
9119 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9120 (hfy-face-at): Remove unused var `found-face'.
9121 (hfy-compile-stylesheet): Remove unused var `css'.
9122 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9124 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9125 Use with-current-buffer.
9126 (hfy-text-p): Use expand-file-name and fewer setq.
9128 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
9130 * htmlfontify.el, hfy-cmap.el: New files.
9132 2009-11-19 Juri Linkov <juri@jurta.org>
9134 * minibuffer.el (completions-format): New defcustom.
9135 (completion--insert-strings): Implement vertical format.
9137 * simple.el (switch-to-completions): Move point to the first
9138 completion when point was at the beginning of the buffer.
9140 2009-11-19 Juri Linkov <juri@jurta.org>
9142 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
9144 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9146 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
9148 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9149 (mail-signature): Change default to t.
9150 (mail-from-style): Deprecate `system-default' value.
9151 (mail-insert-from-field): For default value of mail-from-style,
9152 default to `angles' unless `angles' needs quoting and `parens'
9154 (mail-citation-prefix-regexp): Use citation regexp from
9157 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
9159 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9160 Set variables for computing the prompt for reading password.
9162 2009-11-19 Glenn Morris <rgm@gnu.org>
9164 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
9166 * textmodes/flyspell.el (sgml-lexical-context): Declare.
9168 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9169 (newsticker-treeview-listwindow-height): Fix custom type.
9171 2009-11-19 Kenichi Handa <handa@m17n.org>
9173 * descr-text.el (describe-char-padded-string): Compose with TAB
9174 only if there's a font for CH.
9175 (describe-char): Fix the condition for detecting a trivial composition.
9177 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
9179 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9180 more accurate version of the regexp. (Bug#3910)
9182 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
9184 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9186 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
9188 * font-setting.el (font-use-system-font): Declare for byte-compiler.
9189 (font-setting-change-default-font): Fix typo in docstring.
9191 2009-11-18 Alan Mackenzie <acm@muc.de>
9193 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9195 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9197 * font-setting.el (font-use-system-font): Move ...
9199 * cus-start.el (all): ... to here.
9201 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
9203 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9204 Don't set `ad-return-value' if `ad-do-it' doesn't.
9206 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9209 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9211 * menu-bar.el: Put "Use system font" in Option-menu.
9212 (menu-bar-options-save): Add font-use-system-font.
9214 * loadup.el: If feature system-font-setting or font-render-setting is
9215 there, load font-setting.
9217 * Makefile.in (ELCFILES): Add font-settings.el.
9218 * font-setting.el: New file.
9220 2009-11-17 Glenn Morris <rgm@gnu.org>
9222 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9224 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9225 Preserve point in the list buffer. (Bug#4939)
9227 (newsticker--treeview-list-update-highlight)
9228 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9230 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9232 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9235 * calc/calc-ext.el (calc-init-extensions): Remove references to
9238 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9240 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9241 * calc/calc-help.el (calc-b-prefix-help): Remove references to
9244 2009-11-16 Kevin Ryde <user42@zip.com.au>
9246 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9247 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9249 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9250 (lm-keywords-list): Allow comma-only separator like "foo,bar".
9251 Ignore trailing spaces by omit-nulls to split-string (fixing
9252 regression from Emacs 21 due to the incompatible split-string
9253 change). (Bug #4928.)
9255 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
9257 * vc.el (vc-log-show-limit): Default to 2000.
9258 (vc-print-log-internal): Insert buttons to request more entries
9259 when limiting the output.
9261 * vc-sccs.el (vc-sccs-print-log):
9262 * vc-rcs.el (vc-rcs-print-log):
9263 * vc-cvs.el (vc-cvs-print-log):
9264 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9267 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9269 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9270 error when `tramp-gvfs-dbus-event-vector' is set.
9271 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9273 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9277 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9279 * net/dbus.el (dbus-unregister-service): New defun.
9280 (dbus-register-property): Register the handlers of
9281 "org.freedesktop.DBus.Properties" for SERVICE.
9282 (dbus-property-handler): Fix docstring.
9284 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9286 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9287 Quote doc string reference in defvaralias as it is not in special form.
9288 (byte-compile-output-docform): Doc fix.
9290 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9292 * calc/calc.el (math-2-word-size, math-half-2-word-size)
9293 (calc-complement-signed-mode): New variables.
9294 (calc-set-mode-line): Add indicator for twos-complements.
9295 (math-format-number): Format twos-complement notation.
9297 * calc/calc-bin.el (calc-word-size): Reset the variables
9298 `math-2-word-size' and `math-half-2-word-size'.
9299 (math-format-complement-signed, math-symclip, calcFunc-symclip)
9300 (calc-symclip): New functions.
9302 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9304 * calc/calc-embed.el (calc-embedded-mode-vars):
9305 Add `calc-complement-signed-mode' to the list of modes.
9307 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9308 (calc-b-oper-keys): Add `calc-symclip' to list.
9310 * calc/calc-ext.el (math-read-number-fancy): Read complement
9312 (calc-init-extensions): Add binding for `calc-symclip'.
9313 Add autoload for `calcFunc-symclip' and `calc-symclip'.
9315 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9317 (calc-modes-menu): Add item for twos complement mode.
9319 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9321 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9323 * register.el (jump-to-register, insert-register): Handle Semantic
9324 tags. From commented-out advice in semantic/senator.el.
9326 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
9328 * vc.el (vc-log-show-limit): New variable.
9329 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
9330 when using a prefix argument.
9331 (vc-print-log-internal): Add new argument LIMIT.
9333 * vc-svn.el (vc-svn-print-log):
9334 * vc-mtn.el (vc-mtn-print-log):
9335 * vc-hg.el (vc-hg-print-log):
9336 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
9337 pass it to the log command when set. Make the BUFFER argument
9340 * vc-sccs.el (vc-sccs-print-log):
9341 * vc-rcs.el (vc-rcs-print-log):
9342 * vc-git.el (vc-git-print-log):
9343 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
9344 ignore it. Make the BUFFER argument non-optional
9346 * bindings.el (mode-line-buffer-identification): Do not purecopy.
9348 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9350 * dired.el (dired-mode-map): Move encryption items to "Operate"
9353 * strokes.el (strokes-update-window-configuration): Make strokes
9354 buffer current before erasing (Bug#4906).
9356 * cedet/semantic/idle.el (semantic-idle-summary-mode)
9357 (semantic-idle-summary-mode): Define using define-minor-mode
9358 instead of define-semantic-idle-service.
9359 (semantic-idle-summary-mode): New function.
9360 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
9361 that mouse motion does not reset the echo area.
9363 2009-11-15 Juri Linkov <juri@jurta.org>
9365 * simple.el (set-mark-default-inactive): Add :type, :group
9366 and :version. (Bug#4876)
9368 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
9370 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
9371 (archive-unique-fname): ... here. (Bug#4929)
9373 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
9375 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
9378 * novice.el (disabled-command-function): Add useful args.
9379 Setup the help buffer so that [back] works.
9380 Remove redundant call to help-mode.
9381 (disabled-command-function): Use `case'.
9382 (en/disable-command): New function extracted from enable-command.
9383 (enable-command, disable-command): Use it.
9385 2009-11-14 Glenn Morris <rgm@gnu.org>
9387 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
9388 constants. (Bug#4913)
9390 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
9392 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
9394 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
9395 defined in C that have no doc-strings. (Bug#1063)
9397 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
9399 * cus-edit.el (data, files):
9400 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
9402 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
9404 * simple.el (shell-command): Doc fix (Bug#4891).
9406 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
9408 2009-11-14 Glenn Morris <rgm@gnu.org>
9410 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
9411 statements for vc-diff, emerge-quit, and rmail-cease-edit.
9412 If they are already loaded, eval-after-load will do the right thing.
9414 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
9417 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
9419 * simple.el (x-selection-owner-p): Declare.
9420 (read-mail-command): Use custom radio type rather than choice.
9421 (completion-no-auto-exit): Doc fix.
9423 * custom.el (defgroup):
9424 * epg-config.el (epg): Doc fixes.
9426 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
9428 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
9429 * international/ccl.el (define-ccl-program): Do not purecopy the
9430 docstring, defconst does it anyway.
9432 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
9434 * add-log.el (add-change-log-entry): Avoid displaying the changelog
9437 * x-dnd.el (x-dnd-maybe-call-test-function):
9438 * window.el (split-window-vertically):
9439 * whitespace.el (whitespace-help-on):
9440 * vc-rcs.el (vc-rcs-consult-headers):
9441 * userlock.el (ask-user-about-lock-help)
9442 (ask-user-about-supersession-help):
9443 * type-break.el (type-break-force-mode-line-update):
9444 * time-stamp.el (time-stamp-conv-warn):
9445 * terminal.el (te-set-output-log, te-more-break, te-filter)
9446 (te-sentinel, terminal-emulator):
9447 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
9448 (term-write-input-ring, term-check-source, term-start-output-log):
9449 (term-display-buffer-line, term-dynamic-list-completions):
9450 (term-ansi-make-term, serial-term):
9451 * subr.el (selective-display):
9452 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
9453 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
9454 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
9455 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
9456 (speedbar-remove-localized-speedbar-support)
9457 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
9458 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
9459 (speedbar-buffers-line-directory):
9460 * simple.el (shell-command-on-region, append-to-buffer)
9461 (prepend-to-buffer):
9462 * shadowfile.el (shadow-save-todo-file):
9463 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
9464 (scroll-bar-maybe-set-window-start):
9465 * sb-image.el (speedbar-image-dump):
9466 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
9467 (load-save-place-alist-from-file):
9468 * ps-samp.el (ps-print-message-from-summary):
9469 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
9470 (ps-background-image, ps-begin-job, ps-do-despool):
9471 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
9472 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
9473 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
9474 (pr-call-process, pr-file-list, pr-interface-save):
9475 * novice.el (disabled-command-function)
9476 (enable-command, disable-command):
9477 * mouse.el (mouse-buffer-menu-alist):
9478 * mouse-copy.el (mouse-kill-preserving-secondary):
9479 * macros.el (kbd-macro-query):
9480 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
9481 * informat.el (batch-info-validate):
9482 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
9483 * hippie-exp.el (try-expand-dabbrev-visible):
9484 * help-mode.el (help-make-xrefs):
9485 * help-fns.el (describe-variable):
9486 * generic-x.el (bat-generic-mode-run-as-comint):
9487 * finder.el (finder-mouse-select):
9488 * find-dired.el (find-dired-sentinel):
9489 * filesets.el (filesets-file-close):
9490 * files.el (list-directory):
9491 * faces.el (list-faces-display, describe-face):
9492 * facemenu.el (list-colors-display):
9493 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
9494 * epg.el (epg--process-filter, epg-cancel):
9495 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
9496 (epa--read-signature-type):
9497 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
9498 (emerge-file-names):
9499 * ehelp.el (electric-helpify):
9500 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
9501 * ediff-vers.el (rcs-ediff-view-revision):
9502 * ediff-util.el (ediff-setup):
9503 * ediff-mult.el (ediff-append-custom-diff):
9504 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
9506 * echistory.el (Electric-command-history-redo-expression):
9507 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
9508 * disp-table.el (describe-display-table):
9509 * dired.el (dired-find-buffer-nocreate):
9510 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
9511 * dabbrev.el (dabbrev--same-major-mode-p):
9512 * chistory.el (list-command-history):
9513 * apropos.el (apropos-documentation):
9514 * allout.el (allout-obtain-passphrase):
9515 (allout-copy-exposed-to-buffer):
9516 (allout-verify-passphrase): Use with-current-buffer.
9518 2009-11-13 Glenn Morris <rgm@gnu.org>
9520 * Makefile.in (ELCFILES): Regenerate.
9522 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
9524 * net/dbus.el (dbus-registered-objects-table): Rename from
9525 `dbus-registered-functions-table', because it contains also properties.
9526 (dbus-unregister-object): Unregister also properties.
9527 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9528 Use a timeout of 500 msec, in order to not block.
9529 (dbus-register-property, dbus-property-handler): New defuns.
9531 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
9533 * simple.el (minibuffer-default-add-completions): Drop deprecated
9536 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
9538 * textmodes/artist.el (artist-mouse-choose-operation):
9539 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
9540 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
9541 (artist-compute-up-event-key): New function.
9542 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
9544 2009-11-13 Kenichi Handa <handa@m17n.org>
9546 * language/japan-util.el: Make sure that the value of jisx0208
9547 property is jisx0208 character.
9549 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
9551 * international/mule.el (auto-coding-regexp-alist): Only purecopy
9552 car or each item, not the whole list.
9554 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
9556 * minibuffer.el (minibuffer-completion-help):
9557 Use minibuffer-hide-completions.
9559 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
9561 * dired.el (dired-save-positions, dired-restore-positions): New funs.
9562 (dired-revert): Use them (bug#4880).
9564 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
9566 * tooltip.el (tooltip-frame-parameters): Undo previous change.
9568 2009-11-12 Juri Linkov <juri@jurta.org>
9570 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
9572 (find-file-literally-at-point): Alias of `ffap-literally'.
9574 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
9576 * textmodes/ispell.el (ispell-skip-region-alist):
9577 * textmodes/css-mode.el (auto-mode-alist):
9578 * progmodes/compile.el (auto-mode-alist):
9579 * international/mule.el (ctext-non-standard-encodings-alist)
9580 (ctext-non-standard-encodings-regexp):
9581 * simple.el (shell-command-switch, text-read-only):
9582 * replace.el (occur-mode-map):
9583 * paths.el (rmail-file-name):
9584 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
9585 * find-file.el (ff-special-constructs):
9586 * files.el (file-name-handler-alist):
9587 * composite.el: Purecopy strings.
9589 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
9591 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
9593 * widget.el (define-widget): Purecopy the docstring.
9594 * international/mule-cmds.el (charset): Do not purecopy the
9595 docstring here, define-widget does it.
9597 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
9598 * textmodes/bibtex-style.el (auto-mode-alist):
9599 * progmodes/inf-lisp.el (inferior-lisp-prompt):
9600 * progmodes/compile.el (compile-command):
9601 * language/korea-util.el (default-korean-keyboard):
9602 * international/mule-conf.el (file-coding-system-alist):
9603 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
9604 * tooltip.el (tooltip-frame-parameters):
9605 * newcomment.el (comment-end, comment-padding):
9606 * dired.el (dired-trivial-filenames):
9607 * comint.el (comint-file-name-prefix): Purecopy initial values.
9609 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
9611 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
9612 (tramp-advice-minibuffer-electric-tilde): Unload advices via
9614 (tramp-advice-make-auto-save-file-name)
9615 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
9616 after removing the advice.
9618 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
9620 * progmodes/grep.el (grep-regexp-alist):
9621 * international/mule-cmds.el (iso-2022-control-alist):
9622 * emacs-lisp/timer.el (timer-duration-words):
9623 * subr.el (version-separator, version-regexp-alist):
9624 * minibuffer.el (completion-styles-alist):
9625 * faces.el (face-attribute-name-alist, list-faces-sample-text):
9626 Change defvars to defconsts.
9628 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
9629 * loadup.el ("international/mule-conf"): Load the byte compiled version.
9630 * international/mule-conf.el: Allow to be byte compiled.
9632 * international/mule.el (define-charset): Purecopy props.
9633 (load-with-code-conversion): Purecopy doc string and file name.
9634 (put-charset-property): Purecopy strings.
9635 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
9637 * international/mule-cmds.el (register-input-method): Purecopy arguments.
9638 (define-char-code-property): Correctly purecopy the table.
9640 * international/ccl.el (define-ccl-program): Purecopy the docstring.
9642 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
9644 * subr.el (add-hook): Purecopy strings.
9645 (eval-after-load): Purecopy load-history-regexp and the form.
9647 * custom.el (custom-declare-group): Purecopy load-file-name.
9649 * subr.el (menu-bar-separator): New defconst.
9650 * net/eudc.el (eudc-tools-menu):
9651 * international/mule-cmds.el (set-coding-system-map)
9653 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
9654 * vc-hooks.el (vc-menu-map):
9655 * replace.el (occur-mode-map):
9656 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
9657 (menu-bar-edit-menu, menu-bar-goto-menu)
9658 (menu-bar-custom-menu, menu-bar-showhide-menu)
9659 (menu-bar-options-menu, menu-bar-tools-menu)
9660 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
9661 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
9662 (menu-bar-help-menu):
9663 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
9664 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
9666 * term/x-win.el (x-gtk-stock-map):
9667 * progmodes/vera-mode.el (auto-mode-alist):
9668 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
9669 (inferior-lisp-program, inferior-lisp-load-command):
9670 * progmodes/hideshow.el (hs-special-modes-alist):
9671 * progmodes/gud.el (same-window-regexps):
9672 * progmodes/grep.el (grep-program, find-program, xargs-program):
9673 * net/telnet.el (same-window-regexps):
9674 * net/rlogin.el (same-window-regexps):
9675 * language/ethiopic.el (font-ccl-encoder-alist):
9676 * vc-sccs.el (vc-sccs-master-templates):
9677 * vc-rcs.el (vc-rcs-master-templates):
9678 * subr.el (cl-assertion-failed):
9679 * simple.el (next-error-overlay-arrow-position):
9680 * lpr.el (lpr-command):
9681 * locate.el (locate-ls-subdir-switches):
9682 * info.el (same-window-regexps, info)
9683 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
9684 * image-mode.el (image-mode, auto-mode-alist):
9685 * hippie-exp.el (hippie-expand-ignore-buffers):
9686 * format.el (format-alist):
9687 * find-dired.el (find-ls-subdir-switches, find-grep-options)
9689 * facemenu.el (facemenu-keybindings):
9690 * dired.el (dired-listing-switches, dired-chown-program):
9691 * diff.el (diff-switches, diff-command):
9692 * cus-edit.el (same-window-regexps):
9693 * bindings.el (mode-line-mule-info)
9694 (mode-line-buffer-identification): Purecopy strings.
9696 2009-11-11 Juri Linkov <juri@jurta.org>
9698 * simple.el (dired-get-filename) <declare-function>:
9699 Tell the byte-compiler about dired-get-filename.
9700 (shell-command): In Dired mode, get filename from the current line
9701 as the default value.
9703 2009-11-10 Glenn Morris <rgm@gnu.org>
9705 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
9706 * calendar/holidays.el, progmodes/cperl-mode.el:
9707 Update x-popup-menu declarations.
9709 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
9710 (list-load-path-shadows): Use dolist.
9711 (list-load-path-shadows): Use with-current-buffer.
9713 2009-11-10 Juri Linkov <juri@jurta.org>
9715 * minibuffer.el (read-file-name): Support a list of default values
9716 in `default-filename'. Use the first file name where only one
9717 element is required. Doc fix.
9719 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
9721 * net/dbus.el (dbus-unregister-object): Release service, if no
9722 other method is registered for it.
9724 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
9726 * bookmark.el (bookmark-completing-read): Sort bookmark names if
9727 bookmark-sort-flag is non-nil (Bug#4653).
9729 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
9731 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
9732 the progress reporter entirely.
9734 * emulation/cua-base.el: Add CUA property to some CC mode commands
9737 2009-11-08 Kevin Ryde <user42@zip.com.au>
9739 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
9740 at end of sentence (Bug#4818).
9742 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
9744 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9745 Handle "see declaration of" MSFT statements (Bug#4100).
9747 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
9749 * net/tramp.el (tramp-advice-make-auto-save-file-name)
9750 (tramp-advice-file-expand-wildcards): Unload via
9753 * net/trampver.el: Update release number.
9755 2009-11-08 Kevin Ryde <user42@zip.com.au>
9757 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
9760 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
9762 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
9763 in order to keep context in SELinux.
9765 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
9767 * dired-aux.el (dired-query): Place cursor in echo area and allow
9770 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
9771 menu item if not on a directory (Bug#4701).
9773 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
9775 Sync with Tramp 2.1.17.
9777 * net/tramp.el (tramp-handle-copy-directory): Don't use
9778 `file-remote-p' (due to compatibility).
9780 * net/tramp-compat.el (tramp-compat-copy-directory)
9781 (tramp-compat-delete-directory): New defuns.
9783 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
9784 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
9785 `tramp-compat-delete-directory'.
9787 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9788 (tramp-smb-handle-delete-directory): Use
9789 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
9791 * net/trampver.el: Update release number.
9793 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
9795 * tar-mode.el (tar-copy): Call write-region on the right buffer
9798 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
9799 by hand, if necessary (Bug#4878).
9801 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
9803 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
9804 align size column (Bug#4839).
9806 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
9809 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
9811 * progmodes/ld-script.el (auto-mode-alist):
9812 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
9814 * cus-face.el (custom-declare-face): Purecopy face spec.
9816 2009-11-06 Kenichi Handa <handa@m17n.org>
9818 * international/uni-bidi.el: Re-generated.
9819 * international/uni-category.el: Re-generated.
9820 * international/uni-combining.el: Re-generated.
9821 * international/uni-mirrored.el: Re-generated.
9823 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
9825 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
9826 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
9827 (tex-start-options, slitex-run-command, latex-run-command)
9828 (tex-run-command, tex-directory):
9829 * textmodes/ispell.el (ispell-html-skip-alists)
9830 (ispell-tex-skip-alists, ispell-tex-skip-alists):
9831 * textmodes/fill.el (adaptive-fill-first-line-regexp):
9832 (adaptive-fill-regexp):
9833 * textmodes/dns-mode.el (auto-mode-alist):
9834 * progmodes/python.el (interpreter-mode-alist):
9835 * progmodes/etags.el (tags-compression-info-list):
9836 * progmodes/etags.el (tags-file-name):
9837 * net/browse-url.el (browse-url-galeon-program)
9838 (browse-url-firefox-program):
9839 * mail/sendmail.el (mail-signature-file)
9840 (mail-citation-prefix-regexp):
9841 * international/mule-conf.el (eight-bit):
9842 * international/latexenc.el (latex-inputenc-coding-alist):
9843 * international/fontset.el (x-pixel-size-width-font-regexp):
9844 * emacs-lisp/warnings.el (warning-type-format):
9845 * emacs-lisp/trace.el (trace-buffer):
9846 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
9847 (emacs-lisp-mode-map):
9848 * calendar/holidays.el (holiday-solar-holidays)
9849 (holiday-bahai-holidays, holiday-islamic-holidays)
9850 (holiday-christian-holidays, holiday-hebrew-holidays)
9851 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
9852 (hebrew-holidays-1, holiday-oriental-holidays)
9853 (holiday-general-holidays):
9854 * x-dnd.el (x-dnd-known-types):
9855 * tool-bar.el (tool-bar):
9856 * startup.el (site-run-file):
9857 * shell.el (shell-dumb-shell-regexp):
9858 * rfn-eshadow.el (file-name-shadow-tty-properties)
9859 (file-name-shadow-properties):
9860 * paths.el (remote-shell-program, news-directory):
9861 * mouse.el ([C-down-mouse-3]):
9862 * menu-bar.el (menu-bar-tools-menu):
9863 * jka-cmpr-hook.el (jka-compr-load-suffixes)
9864 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
9865 (jka-compr-compression-info-list):
9866 * isearch.el (search-whitespace-regexp):
9867 * image-file.el (image-file-name-extensions):
9868 * find-dired.el (find-ls-option):
9869 * files.el (directory-listing-before-filename-regexp)
9870 (directory-free-space-args, insert-directory-program)
9871 (list-directory-brief-switches, magic-fallback-mode-alist)
9872 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
9873 (automount-dir-prefix):
9874 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
9875 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
9876 (face-font-registry-alternatives, face-font-registry-alternatives)
9877 (face-font-family-alternatives):
9878 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
9879 (facemenu-foreground-menu, facemenu-face-menu):
9880 * epa-hook.el (epa-file-name-regexp):
9881 * dnd.el (dnd-protocol-alist):
9882 * textmodes/rst.el (auto-mode-alist):
9883 * button.el (default-button): Purecopy strings.
9885 2009-11-06 Glenn Morris <rgm@gnu.org>
9887 * Makefile.in (ELCFILES): Update.
9889 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
9891 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
9892 * emacs-lisp/levents.el: Move to obsolete/levents.el.
9894 * nxml/xsd-regexp.el (xsdre-gen-categories):
9895 * nxml/xmltok.el (xmltok-parse-entity):
9896 * nxml/rng-parse.el (rng-parse-validate-file):
9897 * nxml/rng-maint.el (rng-format-manual)
9898 (rng-manual-output-force-new-line):
9899 * nxml/rng-loc.el (rng-save-schema-location-1):
9900 * nxml/rng-cmpct.el (rng-c-parse-file):
9901 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
9902 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
9904 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
9906 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
9907 Remove extra save-excursions and make-variable-buffer-local's.
9908 Suggested by Stefan Monnier.
9910 (verilog-getopt-file, verilog-module-inside-filename-p)
9911 (verilog-set-define): Merge GNU 1.35 and repair changes from
9912 switching to using with-current-buffer.
9914 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
9915 being treated as a number and confusing AUTORESET.
9916 Reported by Dan Dever.
9918 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
9919 Add verilog-auto-ignore-concat to fix backward compatibility with
9920 older verilog-modes. Reported by Dan Katz.
9922 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
9923 containing closing anchors "...$".
9925 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
9926 Reported by Wade Smith.
9928 (verilog-batch-execute-func): Comment on function usage.
9930 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
9932 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
9935 (verilog-label-re, verilog-calc-1): Support proper indent of named
9938 (verilog-backward-token, verilog-basic-complete-re)
9939 (verilog-beg-of-statement, verilog-indent-re): Support proper
9940 indent of the assert statement at the beginning of a block of text.
9942 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
9943 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
9946 2009-11-05 Glenn Morris <rgm@gnu.org>
9948 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
9949 Emacs 19. (Bug#1531)
9950 (byte-compile-fix-header): Update for the above change.
9951 Drop test for epoch::version.
9953 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
9954 * cus-dep.el (custom-make-dependencies):
9955 * finder.el (finder-compile-keywords):
9956 Use autoload-rubric's feature argument.
9958 * calendar/diary-lib.el (top-level): Make load behave more like require.
9960 * vc-git.el (vc-git-stash-map): Move definition before use.
9962 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
9964 * custom.el (custom-declare-group): Purecopy standard-value.
9965 (custom-declare-group): Purecopy custom-prefix.
9967 * international/mule.el (load-with-code-conversion):
9968 Call do-after-load-evaluation unconditionally.
9970 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
9972 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
9974 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
9976 2009-11-04 Glenn Morris <rgm@gnu.org>
9978 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
9979 (byte-compile-compatibility): Remove option.
9980 (byte-compile-close-variables, byte-compile-fix-header)
9981 (byte-compile-insert-header, byte-compile-output-docform)
9982 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
9983 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
9984 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
9985 (byte-compile-insert, byte-compile-defun):
9986 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
9987 (byte-defop-compiler19): Remove.
9988 Without byte-compile-compatibility, the 'emacs19-opcode property is not
9989 used by anything. Replace all calls with byte-defop-compiler.
9991 2009-11-04 Juri Linkov <juri@jurta.org>
9993 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
9994 (menu-bar-options-menu): Don't quote the `prop' arg of
9995 `menu-bar-make-mm-toggle'.
9997 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
9999 * calendar/calendar.el (cal-loaddefs):
10000 * calendar/diary-lib.el (diary-loaddefs):
10001 * calendar/holidays.el (hol-loaddefs):
10002 * eshell/esh-module.el (esh-groups): Load rather than require.
10004 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10006 * calendar/todo-mode.el (todo-add-category): Don't hardcode
10008 (todo-top-priorities): Only display-buffer when called interactively.
10009 (todo-item-start): Don't save excursion point.
10010 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
10011 (todo-insert-item-here, todo-file-item, todo-remove-item):
10012 Adjust uses of todo-item-start and todo-item-end.
10014 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10015 (autoload-rubric): Don't use any more.
10016 * cedet/semantic/fw.el (semantic/loaddefs):
10017 * cedet/srecode.el (srecode/loaddefs):
10018 * cedet/ede.el (ede/loaddefs): Load rather than require.
10019 * cedet/ede/cpp-root.el:
10020 * cedet/ede/emacs.el:
10021 * cedet/ede/files.el:
10022 * cedet/ede/linux.el:
10023 * cedet/ede/locate.el:
10024 * cedet/ede/make.el:
10025 * cedet/ede/shell.el:
10026 * cedet/ede/speedbar.el:
10027 * cedet/ede/system.el:
10028 * cedet/ede/util.el:
10029 * cedet/semantic/analyze.el:
10030 * cedet/semantic/bovine.el:
10031 * cedet/semantic/complete.el:
10032 * cedet/semantic/ctxt.el:
10033 * cedet/semantic/db-file.el:
10034 * cedet/semantic/db-find.el:
10035 * cedet/semantic/db-global.el:
10036 * cedet/semantic/db-mode.el:
10037 * cedet/semantic/db-typecache.el:
10038 * cedet/semantic/db.el:
10039 * cedet/semantic/debug.el:
10040 * cedet/semantic/dep.el:
10041 * cedet/semantic/doc.el:
10042 * cedet/semantic/edit.el:
10043 * cedet/semantic/find.el:
10044 * cedet/semantic/format.el:
10045 * cedet/semantic/html.el:
10046 * cedet/semantic/ia-sb.el:
10047 * cedet/semantic/ia.el:
10048 * cedet/semantic/idle.el:
10049 * cedet/semantic/lex-spp.el:
10050 * cedet/semantic/lex.el:
10051 * cedet/semantic/mru-bookmark.el:
10052 * cedet/semantic/scope.el:
10053 * cedet/semantic/senator.el:
10054 * cedet/semantic/sort.el:
10055 * cedet/semantic/symref.el:
10056 * cedet/semantic/tag-file.el:
10057 * cedet/semantic/tag-ls.el:
10058 * cedet/semantic/tag-write.el:
10059 * cedet/semantic/tag.el:
10060 * cedet/semantic/util-modes.el:
10061 * cedet/semantic/analyze/complete.el:
10062 * cedet/semantic/analyze/refs.el:
10063 * cedet/semantic/bovine/c.el:
10064 * cedet/semantic/bovine/gcc.el:
10065 * cedet/semantic/bovine/make.el:
10066 * cedet/semantic/bovine/scm.el:
10067 * cedet/semantic/decorate/include.el:
10068 * cedet/semantic/decorate/mode.el:
10069 * cedet/semantic/symref/cscope.el:
10070 * cedet/semantic/symref/global.el:
10071 * cedet/semantic/symref/grep.el:
10072 * cedet/semantic/symref/idutils.el:
10073 * cedet/semantic/symref/list.el:
10074 * cedet/semantic/wisent/java-tags.el:
10075 * cedet/semantic/wisent/javascript.el:
10076 * cedet/srecode/compile.el:
10077 * cedet/srecode/cpp.el:
10078 * cedet/srecode/document.el:
10079 * cedet/srecode/el.el:
10080 * cedet/srecode/expandproto.el:
10081 * cedet/srecode/getset.el:
10082 * cedet/srecode/insert.el:
10083 * cedet/srecode/java.el:
10084 * cedet/srecode/map.el:
10085 * cedet/srecode/mode.el:
10086 * cedet/srecode/template.el:
10087 * cedet/srecode/texi.el: Remove the file-local setting of
10088 generated-autoload-feature.
10090 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10091 and only put a prop if it is non-nil.
10093 2009-11-03 Juri Linkov <juri@jurta.org>
10095 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10096 (menu-bar-options-menu): Fix list quoting (Bug#4429).
10098 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10099 and "Menu" to make top-level menu item visually one unit (like
10100 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10101 multi-word menu items). Fix :help string for quit-window.
10103 2009-11-03 Glenn Morris <rgm@gnu.org>
10105 * cedet/mode-local.el (with-mode-local): Doc fix.
10107 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10108 (byte-compile-file-form-define-abbrev-table)
10109 (byte-compile-file-form-custom-declare-variable)
10110 (byte-compile-variable-ref, byte-compile-defvar):
10111 Whether or not a warning is enabled should only affect whether we issue
10112 the warning, not whether or not we collect the relevant data.
10113 Eg warnings can be turned on and off throughout the course of a file.
10115 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10116 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10118 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10121 * play/mpuz.el (mpuz-create-buffer):
10122 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10123 (lm-print-y,s,noise, lm-print-w0, lm-init):
10124 * play/gomoku.el (gomoku-prompt-for-move):
10125 * play/fortune.el (fortune-in-buffer):
10126 * play/dissociate.el (dissociated-press):
10127 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10128 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10129 * mail/supercite.el (sc-eref-show):
10130 * mail/smtpmail.el (smtpmail-send-it):
10131 * mail/rmailsum.el (rmail-summary-next-labeled-message)
10132 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10133 (rmail-summary-undelete-many, rmail-summary-rmail-update)
10134 (rmail-summary-goto-msg, rmail-summary-expunge)
10135 (rmail-summary-get-new-mail, rmail-summary-search-backward)
10136 (rmail-summary-add-label, rmail-summary-output-menu)
10137 (rmail-summary-output-body):
10138 * mail/rfc822.el (rfc822-addresses):
10139 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10140 * mail/mailpost.el (post-mail-send-it):
10141 * mail/hashcash.el (hashcash-generate-payment):
10142 * mail/feedmail.el (feedmail-run-the-queue)
10143 (feedmail-queue-send-edit-prompt-help-first)
10144 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10145 (feedmail-deduce-address-list):
10146 * eshell/esh-ext.el (eshell-remote-command):
10147 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10148 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10149 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10150 (viper-save-string-in-file, viper-valid-marker):
10151 * emulation/viper-keym.el (viper-toggle-key):
10152 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10153 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10154 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10155 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10156 (viper-exec-form-in-emacs, viper-brac-function):
10157 * emulation/viper.el (viper-delocalize-var):
10158 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10159 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10160 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10161 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10162 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10163 * emulation/edt.el (edt-electric-helpify):
10164 * emulation/cua-rect.el (cua--rectangle-aux-replace):
10165 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10166 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10167 (cua-indent-to-global-mark-column):
10168 * calendar/diary-lib.el (calendar-mark-1):
10169 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10170 Use with-current-buffer.
10171 * emulation/viper.el (viper-delocalize-var): Use dolist.
10173 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
10175 * comint.el (comint-replace-by-expanded-history-before-point):
10176 Replace !! with the previous input string literally (Bug#1795).
10178 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
10180 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10181 to be made up of whitespace.
10183 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
10185 * minibuffer.el (read-file-name): Don't use file dialogs for
10186 remote directories (Bug#99).
10188 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
10190 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10192 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
10194 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10195 instead of deleting the window or frame.
10197 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10199 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10200 Support face colors.
10202 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10203 New function. Support face colors (Bug#1168).
10204 (tex-common-initialization): Use it.
10206 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10207 mode allows it (Bug#1168).
10209 2009-10-31 Juri Linkov <juri@jurta.org>
10211 * facemenu.el (list-colors-display): Don't mark buffer as
10212 modified (Bug#3948).
10214 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10216 * international/mule-diag.el (list-character-sets-1): Minor
10217 message fix (Bug#3526).
10219 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10220 face property (Bug#4834).
10221 (etags-list-tags, etags-tags-apropos-additional)
10222 (etags-tags-apropos, tags-select-tags-table): Add follow-link
10225 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10228 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
10231 * cedet/ede.el (ede-minor-mode):
10232 * cedet/semantic.el (semantic-mode): Toggle menu separators.
10234 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
10236 * textmodes/two-column.el (2C-split):
10237 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10238 * textmodes/tex-mode.el (tex-set-buffer-directory):
10239 * textmodes/spell.el (spell-region, spell-string):
10240 * textmodes/reftex.el (reftex-erase-buffer):
10241 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10242 * textmodes/reftex-toc.el (reftex-toc-promote-action):
10243 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10244 (reftex-select-item):
10245 * textmodes/reftex-ref.el (reftex-label-info-update)
10246 (reftex-offer-label-menu):
10247 * textmodes/reftex-index.el (reftex-index-change-entry)
10248 (reftex-index-phrases-info):
10249 * textmodes/reftex-global.el (reftex-create-tags-file)
10250 (reftex-save-all-document-buffers, reftex-ensure-write-access):
10251 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10252 (reftex-view-crossref-from-bibtex):
10253 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10254 (reftex-extract-bib-entries-from-thebibliography)
10255 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10256 * textmodes/refbib.el (r2b-capitalize-title):
10257 (r2b-convert-buffer, r2b-help):
10258 * textmodes/page-ext.el (pages-directory)
10259 (pages-directory-goto-with-mouse):
10260 * textmodes/bibtex.el (bibtex-validate-globally):
10261 * textmodes/bib-mode.el (bib-capitalize-title):
10262 * textmodes/artist.el (artist-clear-buffer, artist-system):
10263 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10264 (local-set-scheme-interaction-buffer, xscheme-process-filter)
10265 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10266 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10267 (xscheme-send-control-g-interrupt, xscheme-start-process)
10268 (xscheme-process-sentinel, xscheme-cd):
10269 * progmodes/verilog-mode.el (verilog-read-always-signals)
10270 (verilog-set-define, verilog-getopt-file)
10271 (verilog-module-inside-filename-p):
10272 * progmodes/sh-script.el:
10273 * progmodes/python.el (python-pdbtrack-get-source-buffer)
10274 (python-pdbtrack-grub-for-buffer, python-execute-file):
10275 * progmodes/octave-inf.el (inferior-octave):
10276 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10277 (idlwave-shell-compile-helper-routines, idlwave-set-local)
10278 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10279 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10280 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10281 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10282 (idlwave-shell-filter, idlwave-shell-examine-highlight)
10283 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10284 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10285 (idlwave-shell-examine-display, idlwave-shell-run-region)
10286 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10287 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10288 * progmodes/idlw-help.el (idlwave-help-get-special-help)
10289 (idlwave-help-get-help-buffer):
10290 * progmodes/gud.el (gud-basic-call, gud-find-class)
10291 (gud-tooltip-activate-mouse-motions-if-enabled):
10292 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10293 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10294 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10295 (ebrowse-tags-next-file):
10296 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10297 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10298 (ebnf-eps-finish-and-write):
10299 * progmodes/cpp.el (cpp-edit-save):
10300 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10301 * progmodes/cc-defs.el (c-emacs-features):
10302 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10303 (antlr-directory-dependencies):
10304 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10305 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10306 (ada-find-any-references, ada-make-filename-from-adaname)
10307 (ada-make-body-gnatstub):
10308 * obsolete/rnews.el (news-list-news-groups):
10309 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10310 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10311 * net/rcirc.el (rcirc-debug):
10312 * net/newst-treeview.el (newsticker--treeview-list-add-item)
10313 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10314 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10315 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10316 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10317 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10318 (newsticker--treeview-list-clear-highlight)
10319 (newsticker--treeview-list-update-highlight)
10320 (newsticker--treeview-list-highlight-start)
10321 (newsticker--treeview-tree-update-highlight)
10322 (newsticker--treeview-get-selected-item)
10323 (newsticker-treeview-mark-list-items-old)
10324 (newsticker--treeview-set-current-node):
10325 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10326 * net/newst-backend.el (newsticker--get-news-by-funcall)
10327 (newsticker--get-news-by-wget, newsticker--image-get)
10328 (newsticker--image-sentinel):
10329 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10330 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10331 (eudc-ph-close-session):
10332 * net/eudc.el (eudc-save-options):
10333 * language/thai-word.el (thai-update-word-table):
10334 * language/japan-util.el (japanese-string-conversion):
10335 * international/titdic-cnv.el (tsang-quick-converter)
10336 (ziranma-converter, ctlau-converter):
10337 * international/mule-cmds.el (describe-language-environment):
10338 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10339 (skkdic-convert-postfix, skkdic-convert-prefix):
10340 (skkdic-convert-okuri-nasi, skkdic-convert):
10341 * emacs-lisp/re-builder.el (reb-update-overlays):
10342 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10343 * emacs-lisp/gulp.el (gulp-send-requests):
10344 * emacs-lisp/find-gc.el (trace-call-tree):
10345 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10346 (eieio-describe-generic):
10347 * emacs-lisp/eieio-base.el (eieio-persistent-read):
10348 * emacs-lisp/edebug.el (edebug-outside-excursion):
10349 * emacs-lisp/debug.el (debugger-make-xrefs):
10350 * emacs-lisp/cust-print.el (custom-prin1-to-string):
10351 * emacs-lisp/chart.el (chart-new-buffer):
10352 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10353 Use with-current-buffer.
10354 * textmodes/artist.el (artist-system): Don't call
10355 copy-sequence on a fresh string.
10356 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10358 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
10360 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10361 is no item to edit. (Bug#4820)
10362 (todo-top-priorities): Restore point and restore narrowing in Todo
10365 2009-10-31 Glenn Morris <rgm@gnu.org>
10367 * net/ange-ftp.el (top-level): Don't require dired when compiling.
10368 (comint-last-output-start, comint-last-input-start)
10369 (comint-last-input-end): Don't defvar when compiling.
10370 (ange-ftp-process-file): Use bound-and-true-p.
10372 * pcmpl-rpm.el (top-level): Move provide statement to end.
10373 (pcmpl-rpm): Remove unused custom group.
10375 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10377 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10379 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10380 (byte-compile-warnings): Add `constants' as an option.
10381 (byte-compile-callargs-warn, byte-compile-arglist-warn)
10382 (display-call-tree): Update for byte-compile-fdefinition possibly
10383 returning `(macro lambda ...)'. (Bug#4778)
10384 (byte-compile-variable-ref, byte-compile-setq-default):
10385 Respect `constants' member of byte-compile-warnings.
10387 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
10388 Use mapc rather than mapcar because the return value is never used.
10390 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
10391 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
10392 * cedet/semantic/html.el:
10393 Suppress harmless warnings about setting up semantic-imenu (not
10394 part of Emacs) variables.
10396 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * vc-bzr.el (vc-bzr-revision-keywords): New var.
10399 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10402 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
10403 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
10404 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
10405 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
10406 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
10407 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
10408 (semantic-analyzer-debug-global-symbol)
10409 (semantic-analyzer-debug-missing-innertype)
10410 (semantic-analyzer-debug-insert-include-summary):
10411 * cedet/semantic/util.el (semantic-file-tag-table):
10412 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
10413 (semantic-recursive-find-nonterminal-by-name):
10414 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
10415 * cedet/semantic/tag-file.el (semantic-prototype-file):
10416 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
10417 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
10418 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
10419 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
10420 (semantic-idle-summary-maybe-highlight):
10421 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
10422 (semantic-ia-sb-tag-info):
10423 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
10424 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
10425 * cedet/semantic/ede-grammar.el (project-compile-target):
10426 (ede-proj-makefile-insert-variables):
10427 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
10428 (semantic-debug-set-source-location, semantic-debug-interface-layout)
10429 (semantic-debug-mode, semantic-debug):
10430 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
10431 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
10432 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
10433 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
10434 (semanticdb-find-translate-path-includes--internal)
10435 (semanticdb-reset-log, semanticdb-find-log-activity):
10436 * cedet/semantic/db-file.el (object-write):
10437 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
10438 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
10439 (semanticdb-create-ebrowse-database):
10440 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
10441 * cedet/semantic/complete.el (semantic-displayor-focus-request)
10442 (semantic-collector-calculate-completions-raw)
10443 (semantic-complete-read-tag-analyzer):
10444 * cedet/semantic/analyze.el (semantic-analyze-pulse):
10445 * cedet/ede/util.el (ede-update-version-in-source):
10446 * cedet/ede/proj.el (project-delete-target):
10447 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
10448 (ede-proj-flush-autoconf):
10449 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
10450 (ede-proj-configure-synchronize):
10451 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
10452 * cedet/ede/linux.el (ede-linux-version):
10453 * cedet/ede/emacs.el (ede-emacs-version):
10454 * cedet/ede/dired.el (ede-dired-add-to-target):
10455 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
10456 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
10457 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
10458 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
10459 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
10460 (cedet-idutils-version-check):
10461 * cedet/cedet-global.el (cedet-gnu-global-call):
10462 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
10463 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
10464 * cedet/cedet-cscope.el (cedet-cscope-call)
10465 (cedet-cscope-expand-filename, cedet-cscope-version-check):
10466 Use with-current-buffer.
10467 * cedet/ede.el (ede-make-project-local-variable)
10468 (ede-set-project-variables, ede-set): Use dolist.
10470 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
10472 * textmodes/ispell.el (ispell-skip-region-alist):
10473 * international/mule-conf.el (eight-bit):
10474 * international/fontset.el (font-encoding-alist):
10475 * startup.el (pure-space-overflow-message):
10476 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10477 * paths.el (gnus-nntp-service, rmail-spool-directory)
10478 (term-file-prefix):
10479 * files.el (save-some-buffers-action-alist):
10480 * cmuscheme.el (same-window-buffer-names):
10481 * ielm.el (same-window-buffer-names):
10482 * shell.el (same-window-buffer-names):
10483 * mail/sendmail.el (same-window-buffer-names):
10484 * progmodes/inf-lisp.el (same-window-buffer-names):
10485 * bindings.el (mode-line-client)
10486 (mode-line-column-line-number-mode-map):
10487 * language/tibetan.el (tibetan-precomposition-rule-regexp)
10488 (tibetan-precomposed-regexp): Purecopy string arguments.
10490 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
10493 (calcDigit-nondigit):
10494 * calc/calc-yank.el (calc-copy-to-buffer):
10495 * calc/calc-units.el (calc-invalidate-units-table):
10496 * calc/calc-trail.el (calc-trail-yank):
10497 * calc/calc-store.el (calc-insert-variables):
10498 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
10499 * calc/calc-prog.el (calc-read-parse-table):
10500 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
10501 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
10502 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
10503 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
10504 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
10505 (calc-graph-name, calc-graph-find-command, calc-graph-view)
10506 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
10507 * calc/calc-ext.el (calc-realign):
10508 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
10509 (calc-embedded-finish-edit, calc-embedded-make-info)
10510 (calc-embedded-finish-command, calc-embedded-stack-change):
10511 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
10513 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
10514 (overload-docstring-extension): Use that info.
10515 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
10516 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
10517 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
10518 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
10519 (semantic-nonterminal-full-name): Add the new `when' info.
10520 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
10523 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
10524 shell-dynamic-complete-filename in preference to
10525 comint-dynamic-complete-filename.
10527 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
10528 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
10529 Don't consider whether the display supports colors.
10530 (bookmark-import-new-list): Use dolist.
10531 (bookmark-bmenu-mode-map): Move initialization into declaration.
10532 (bookmark-bmenu-list): Use dolist, simplify.
10533 (bookmark-show-all-annotations): Use save-selected-window and dolist.
10534 (menu-bar-final-items): Use push.
10536 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
10538 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
10539 it works on remote files.
10540 (vc-hg-diff): Don't pass any `--cwd' argument.
10542 2009-10-27 Kevin Ryde <user42@zip.com.au>
10544 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
10545 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
10546 (Further to Bug#3921).
10548 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
10550 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
10551 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
10552 calling `tramp-imap-put-file'. Add file size to the call.
10553 (tramp-imap-get-file-entries): Compute also user name, file size,
10555 (tramp-imap-handle-insert-directory): Insert uid and gid.
10556 (tramp-imap-handle-file-attributes): Transform uid and gid
10557 according to `id-format'.
10558 (tramp-imap-put-file): New optional parameter SIZE. Encode file
10559 size in header X-Size.
10561 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
10563 * simple.el (transpose-subr): Give clearer error when the mark
10564 is not set. (Bug#4807)
10566 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
10568 * net/tramp.el (tramp-perl-file-truename): New defconst.
10569 Perl code contributed by yary <not.com@gmail.com> (tiny change).
10570 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
10571 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
10572 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
10574 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
10575 Ignore `dired-call-process'.
10576 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
10578 2009-10-26 Julian Scheid <julians37@gmail.com>
10580 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
10581 (tramp-get-remote-readlink): New defun.
10582 (tramp-handle-file-truename): Use it.
10583 (tramp-handle-file-exists-p): Check file-attributes cache, assume
10584 file exists if cache value present.
10585 (tramp-check-cached-permissions): New defun.
10586 (tramp-handle-file-readable-p): Use it.
10587 (tramp-handle-file-writable-p): Likewise.
10588 (tramp-handle-file-executable-p): Likewise.
10589 (tramp-handle-file-name-all-completions): Try using Perl to get
10590 partial completions. When perl not available, combine `cd' and
10591 `ls' into single remote operation and use shell expansion to get
10592 partial remote directory contents. Set `file-exists-p' cache for
10593 directory and any files returned by ls. Change cache handling to
10594 support partial directory contents. Use error message emitted by
10595 remote `cd' or Perl code for local tramp-error.
10596 (tramp-do-copy-or-rename-file-directly): Avoid separate
10597 tramp-send-command-and-check call.
10598 (tramp-handle-process-file): Merge three remote ops into one.
10599 Do not flush all caches when `process-file-side-effects' is set.
10600 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
10601 file-attributes shows uid/gid to be set already.
10603 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
10605 * textmodes/tex-mode.el (tex-dvi-view-command)
10606 (tex-show-queue-command, tex-open-quote):
10607 * progmodes/ruby-mode.el (auto-mode-alist)
10608 (interpreter-mode-alist): Purecopy strings.
10610 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
10612 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
10613 string for the hook, keymap and abbrev table.
10615 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
10617 * x-dnd.el (x-dnd-xdnd-to-action):
10618 * startup.el (fancy-startup-text, fancy-about-text): Change to
10619 defconst from defvar.
10621 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
10623 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
10624 Purecopy initialization strings.
10626 * mail/sendmail.el (mail-header-separator)
10627 (mail-personal-alias-file):
10628 * mail/rmail.el (rmail-default-dont-reply-to-names)
10629 (rmail-ignored-headers, rmail-retry-ignored-headers)
10630 (rmail-highlighted-headers, rmail-secondary-file-directory)
10631 (rmail-secondary-file-regexp):
10632 * files.el (null-device, file-name-invalid-regexp)
10633 (locate-dominating-stop-dir-regexp)
10634 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
10635 (interpreter-mode-alist): Use mapcar instead of mapc.
10637 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
10639 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
10640 (completion-ignored-extensions):
10641 (debug-ignored-errors): Purecopy strings.
10643 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
10646 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
10647 (pcomplete--here): Use push.
10649 * subr.el (all-completions): Declare the 4th arg obsolete.
10651 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10653 * pcomplete.el (pcomplete-unquote-argument-function): New var.
10654 (pcomplete-unquote-argument): New function.
10655 (pcomplete--common-suffix): Always pay attention to case.
10656 (pcomplete--table-subvert): Quote and unquote the text.
10657 (pcomplete--common-quoted-suffix): New function.
10658 (pcomplete-std-complete): Use it and pcomplete-begin.
10660 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
10661 we're inside a dedicated or minibuffer window.
10663 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * cedet/semantic/fw.el (semantic-alias-obsolete)
10666 (semantic-varalias-obsolete): Make the `when' arg mandatory.
10667 (define-mode-overload-implementation):
10668 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
10669 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
10670 * cedet/semantic/util.el (semantic-file-token-stream)
10671 (semantic-something-to-stream):
10672 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
10673 (semantic-expand-nonterminal):
10674 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
10675 (semantic-find-dependency, semantic-find-nonterminal)
10676 (semantic-find-dependency):
10677 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
10678 (semantic-flex-text, semantic-flex-make-keyword-table)
10679 (semantic-flex-keyword-p, semantic-flex-keyword-put)
10680 (semantic-flex-keyword-get, semantic-flex-map-keywords)
10681 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
10682 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
10683 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
10684 (semantic-after-idle-scheduler-reparse-hooks):
10685 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
10686 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
10687 * cedet/semantic.el (semantic-toplevel-bovine-table)
10688 (semantic-toplevel-bovine-cache)
10689 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
10690 (semantic-init-mode-hooks, semantic-init-db-hooks)
10691 (semantic-bovination-working-type): Provide the `when' arg.
10693 2009-10-24 Karl Fogel <kfogel@red-bean.com>
10695 * bookmark.el: Update documentation, especially documentation
10696 of `bookmark-alist' and of the bookmark file format.
10697 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
10699 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
10701 * mail/emacsbug.el (report-emacs-bug): Clarify that the
10702 keybindings apply to the mail buffer (Bug#4003). Shrink help
10705 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10706 (global-whitespace-mode, global-whitespace-newline-mode)
10707 (whitespace-toggle-options, global-whitespace-toggle-options):
10708 Doc fix (Bug#3660).
10710 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
10711 of xmltok-start before the end tag was inserted (Bug#2840).
10713 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
10714 patterns that are preceded by an open-paren (Bug#1320).
10716 2009-10-24 Sven Joachim <svenjoac@gmx.de>
10718 * files.el (delete-directory): Delete symlinks to directories with
10719 delete-file (Bug#4739).
10721 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
10723 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
10724 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
10725 argument to make-obsolete.
10727 * cedet/semantic/fw.el (semantic-alias-obsolete)
10728 (semantic-varalias-obsolete): Add optional WHEN argument.
10730 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
10732 * vc.el (vc-backend-for-registration): Rename from
10733 vc-get-backend-for-registration. Update callers.
10735 * international/mule-cmds.el (set-language-info-alist):
10737 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
10738 (charset): Purecopy the name.
10739 (define-char-code-property): Purecopy string arguments.
10741 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10742 Purecopy string arguments.
10744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10745 * ediff-hook.el (menu-bar-ediff-menu):
10746 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
10747 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
10749 2009-10-24 Glenn Morris <rgm@gnu.org>
10751 * comint.el (comint-dynamic-list-completions):
10752 * term.el (term-dynamic-list-completions): Use choose-completion rather
10753 than obsolete alias mouse-choose-completion.
10755 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
10756 file-cache-choose-completion.
10757 (file-cache-choose-completion): Handle an optional event argument.
10758 (file-cache-mouse-choose-completion): Make it an obsolete alias.
10760 * progmodes/octave-mod.el (octave-complete-symbol):
10761 Use choose-completion if mouse-choose-completion is ever removed.
10763 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
10766 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
10769 * vc-hooks.el (vc-responsible-backend): Fix declaration.
10771 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10773 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
10774 Ignore `pred' now that we receive one.
10775 Handle test-completion specially.
10777 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
10779 * vc.el (vc-responsible-backend): Throw an error if not backend is
10780 found. Remove the REGISTER argument. Move the code dealing with
10782 (vc-get-backend-for-registration): ... here. New function.
10783 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
10784 of vc-responsible-backend, pass the file name instead of the
10787 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
10791 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
10792 (pcomplete-comint-setup): Don't modify a global var via
10793 accidental side-effects.
10794 (pcomplete-shell-setup): Adjust call accordingly.
10795 (pcomplete-parse-comint-arguments): Use push.
10797 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
10799 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
10800 Allow uncapitalized info node names (Bug#3921).
10802 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
10803 to the DEBUG file (Bug#3781).
10805 2009-10-23 Jari Aalto <jari.aalto@cante.net>
10807 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
10808 dictionary entry (Bug#4579).
10810 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
10812 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
10813 from `rfn-eshadow-update-overlay-hook' when unloading.
10814 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
10815 "rsyncc". Adjust doc string.
10816 (tramp-temp-buffer-file-name): New buffer-local defvar.
10817 (tramp-handle-insert-file-contents, tramp-handle-write-region):
10818 Keep temporary file when indicated by method ("rsync" and
10820 (tramp-handle-write-region): Handle APPEND.
10821 (tramp-delete-temp-file-function): New defun. Added to
10822 `kill-buffer-hook'.
10824 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
10826 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
10828 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
10830 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
10831 (color-name-rgb-alist, tty-standard-colors)
10832 (tty-color-mode-alist): Change to defconst.
10834 * simple.el (mark-inactive): Purecopy message.
10836 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
10837 (global-map, yank-menu):
10838 * textmodes/ispell.el (ispell-menu-map):
10839 * net/eudc.el (eudc-tools-menu):
10840 * international/mule-cmds.el (describe-language-environment-map)
10841 (setup-language-environment-map, set-coding-system-map)
10842 (mule-menu-keymap):
10843 * vc-hooks.el (vc-menu-entry, vc-menu-map):
10844 * replace.el (occur-mode-map):
10845 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
10847 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
10849 * calc/calc.el (math-read-number, math-read-number-simple): Use
10852 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10854 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
10855 rather than fiddling with global-map bindings, since it should only
10856 affect per-terminal settings.
10857 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
10859 * minibuffer.el (completion-table-with-terminator): Allow to specify
10860 the terminator-regexp.
10862 * simple.el (switch-to-completions): Look for *Completions* in other
10865 * pcomplete.el: Allow the use of completion-tables.
10866 (pcomplete-std-complete): New command.
10867 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
10868 (pcomplete--here): Use a function for `form' rather than an expression,
10869 so it can be byte-compiled.
10870 (pcomplete-here, pcomplete-here*): Adjust accordingly.
10871 Add edebug declaration.
10872 (pcomplete-show-completions): Remove unused var `curbuf'.
10873 (pcomplete-do-complete, pcomplete-stub):
10874 Don't assume `completions' is a list of strings any more.
10876 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
10878 * find-dired.el (find-name-arg): Fix typo in docstring.
10880 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
10883 (pcmpl-linux-fs-types): Same, and update to new modules layout.
10885 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
10888 * comint.el (comint-read-input-ring, comint-write-input-ring)
10889 (comint-substitute-in-file-name)
10890 (comint-dynamic-complete-as-filename)
10891 (comint-dynamic-simple-complete)
10892 (comint-dynamic-list-filename-completions)
10893 (comint-dynamic-list-completions)
10894 (comint-redirect-results-list-from-process): Minor simplifications.
10896 2009-10-21 Kevin Ryde <user42@zip.com.au>
10898 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
10899 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
10900 the first form. And insert a blank line after ";;; Code" since
10901 that's usual style. (Bug#4612)
10903 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
10905 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * minibuffer.el (completion-table-with-terminator): Properly implement
10908 boundaries, in case `terminator' appears in the suffix.
10909 (completion--embedded-envvar-table): Don't return boundaries if
10910 there's no valid completion. Simplify.
10911 (completion-file-name-table): New completion table extracted from
10912 completion--file-name-table.
10913 (completion--file-name-table): Use it.
10914 (read-file-name-predicate): Declare obsolete.
10915 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
10916 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
10917 completion-file-name-table, and use the `pred' argument.
10918 * files.el (locate-file-completion-table): Use the `pred' arg rather
10919 than read-file-name-predicate.
10920 (abbreviate-file-name): Use \` rather than ^ for BOS.
10922 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
10924 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
10925 vc-responsible-backend to register, it causes problems.
10927 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
10929 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
10931 2009-10-21 Eric Ludlam <zappo@gnu.org>
10933 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
10934 (semantic-c-debug-mode-init-pch): New functions.
10935 (semantic-c-debug-mode-init-last-mode): New var.
10936 (semantic-c-parse-lexical-token): Use them.
10938 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
10939 When extracting the argument list, limit only by point-max.
10941 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
10943 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
10944 (tramp-smb-handle-file-attributes): Use it.
10945 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
10946 (tramp-smb-handle-insert-directory): Use `mapc' rather than
10947 `mapcar'. Use `tramp-smb-get-stat-capability'.
10948 Add `dired-filename' text properties.
10949 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
10950 (tramp-smb-maybe-open-connection): Simplify check for smbclient
10953 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
10955 * subr.el (read-key-delay): Reduce to 0.01.
10956 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
10959 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
10963 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
10964 (Info-menu): Remove unused vars `last' and `completions'.
10965 (Info-index-nodes): Remove unused var `node'.
10967 * info.el (Info-complete-menu-item): Use complete-with-action.
10969 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
10971 Make vc-annotate work through copies and renames.
10972 * vc-annotate.el (vc-annotate-extract-revision-at-line):
10973 Return the file name too.
10974 (vc-annotate-revision-at-line)
10975 (vc-annotate-find-revision-at-line)
10976 (vc-annotate-revision-previous-to-line)
10977 (vc-annotate-show-log-revision-at-line): Update to get the file
10978 name from vc-annotate-extract-revision-at-line.
10979 (vc-annotate-show-diff-revision-at-line-internal): Change the
10980 argument to mean whether to show a file diff or not. Get the file
10981 name from vc-annotate-extract-revision-at-line.
10982 (vc-annotate-show-diff-revision-at-line):
10983 Update vc-annotate-show-diff-revision-at-line call.
10984 (vc-annotate-warp-revision): Add an optional file argument.
10986 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
10987 (vc-git-annotate-extract-revision-at-line): Also return the file
10990 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
10991 command. Remove unused code.
10992 (vc-hg-annotate-re): Update to match --follow output.
10993 (vc-hg-annotate-extract-revision-at-line): Also return the file
10996 * vc.el: Update annotate-extract-revision-at-line documentation.
10998 2009-10-18 Kevin Ryde <user42@zip.com.au>
11000 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11001 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11003 * net/browse-url.el (browse-url): Identify alist with "consp and
11004 not functionp" and let all other things go down the `apply' leg,
11005 as suggested by Stefan. (Further to bug#4531.)
11007 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
11009 * minibuffer.el (read-file-name): Check for repeat before putting
11010 a default argument in file-name-history (Bug#4657).
11012 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11013 read syntax (Bug#4737).
11015 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11017 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11019 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11020 (html-tag-alist, html-tag-help): Add descriptions for undocumented
11021 entries and make note of obsolete tags.
11023 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11025 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11027 2009-10-18 Glenn Morris <rgm@gnu.org>
11029 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11030 grep, so that binary files (eg international/uni-bidi.el) can match.
11031 Remove test for "UnicodeData" files, since it is hopefully unnecessary
11032 now, and in any case the file header format has changed.
11034 2009-10-17 Glenn Morris <rgm@gnu.org>
11036 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11037 (flyspell-get-word, flyspell-large-region)
11038 (flyspell-auto-correct-previous-word): Doc/error message fixes.
11040 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11042 * Makefile.in (ELCFILES): Add ede/shell.
11044 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
11046 * term/common-win.el (x-colors): Purecopy it.
11048 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11051 permissive for when the buffer is empty.
11052 (tar-header-block-tokenize): Decode the username and groupname.
11053 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11055 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11057 * cedet/srecode/srt.el:
11058 * cedet/srecode/compile.el:
11059 * cedet/semantic/mru-bookmark.el:
11060 * cedet/semantic/debug.el:
11061 * cedet/semantic/complete.el:
11062 * cedet/semantic/analyze.el: Require CL when compiling.
11064 2009-10-17 Eric Ludlam <zappo@gnu.org>
11066 * cedet/semantic/scope.el
11067 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
11068 tmpscope so that the regular scope will continue to work.
11070 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
11071 Use semantic-idle-summary-highlight-face as the highlighting.
11073 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
11074 contains multibyte characters, choose first applicable coding
11075 system automatically.
11077 * cedet/ede/project-am.el (project-run-target): New method.
11078 (project-run-target): New method.
11080 * cedet/ede.el (ede-target): Add run target menu item.
11081 (ede-project, ede-minor-keymap): Add ede-run-target binding.
11082 (ede-run-target): New function.
11083 (ede-target::project-run-target): New method.
11085 * cedet/ede/proj.el (project-run-target): New method.
11087 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
11088 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
11090 (ede-proj-target-makefile-shared-object): Only libtool compilers
11091 now available. Add linkers for libtool.
11092 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
11093 (ede-proj-makefile-target-name): Always use .la extension.
11095 * cedet/ede/proj-prog.el (project-run-target): New method.
11097 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
11098 (ede-g++-linker): Change Change link lines.
11100 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
11101 When searching for old variables, go to the end of the buffer and
11102 search backward from there.
11103 (ede-proj-makefile-automake-insert-subdirs)
11104 (ede-proj-makefile-automake-insert-extradist): New methods.
11105 (ede-proj-makefile-create): Use them.
11107 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
11108 Force FILE to expand to the current target. Use file-exists-p to
11109 check that it exists.
11111 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
11112 (ede-linux-load): Wrap dir in file-name-as-directory.
11115 * cedet/ede/files.el (ede-get-locator-object): When enabling
11116 locate, do so on "top".
11118 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
11119 file-name-as-directory during compare.
11120 (ede-emacs-version): Return Emacs/XEmacs differentiator.
11121 Get version number from different places. Don't call egrep.
11122 (ede-emacs-load): Set :version slot. Call file-name-as-directory
11123 to set the directory.
11125 * cedet/ede/shell.el: New file.
11127 * cedet/inversion.el (inversion-decoders): Allow for stray . in
11128 alpha/beta variants.
11130 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11132 * international/mule-cmds.el (select-safe-coding-system): If the file
11133 has a coding cookie, use it regardless of any other setting (bug#4712).
11135 2009-10-17 Glenn Morris <rgm@gnu.org>
11137 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
11138 All errors should have messages.
11140 * foldout.el (foldout-mouse-swallow-events):
11141 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11143 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11144 (dired-keep-marker-copy, dired-keep-marker-hardlink)
11145 (dired-keep-marker-symlink, dired-dwim-target)
11146 (dired-copy-preserve-time): Do not autoload these defcustoms.
11148 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11149 messages from messing up the file coding. (Bug#4623)
11151 2009-10-17 Jari Aalto <jari.aalto@cante.net>
11153 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11154 if no match is found for the current dictionary. (Bug#4578)
11156 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11157 optional, since that is how it is documented, and this is often called
11158 with a nil argument. (Bug#4577)
11159 (flyspell-external-point-words, flyspell-auto-correct-word)
11160 (flyspell-correct-word-before-point, flyspell-word-search-forward)
11161 (flyspell-word-search-backward): Remove nil argument in calls to
11162 flyspell-get-word, since it is not needed now.
11164 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
11166 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
11168 2009-10-16 Glenn Morris <rgm@gnu.org>
11170 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11172 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11174 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11175 (ange-ftp-file-size): New function.
11176 (ange-ftp-file-attributes): Use it.
11178 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
11180 * net/tramp-smb.el (tramp-smb-version): New defvar.
11181 (tramp-smb-maybe-open-connection): Use it, in order to avoid
11184 2009-10-16 Glenn Morris <rgm@gnu.org>
11186 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11187 Maybe copy some custom properties from old to new name. (Bug#4706)
11189 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
11191 * subr.el (error, sit-for, start-process-shell-command)
11192 (start-file-process-shell-command): Set the calling convention
11193 after the function definition.
11195 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
11197 * subr.el (error, sit-for, start-process-shell-command)
11198 (start-file-process-shell-command): Use the new
11199 set-advertised-calling-convention feature.
11201 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
11203 * international/ucs-normalize.el (ucs-normalize-version):
11205 (check-range): Adjust for Unicode 5.2.
11207 2009-10-15 Juri Linkov <juri@jurta.org>
11209 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11210 to the `menu-item' format.
11212 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
11214 * net/tramp.el (tramp-replace-environment-variables): Do not fail
11215 if the environment variable does not exist.
11217 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11218 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11220 (tramp-smb-handle-add-name-to-file)
11221 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11222 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11223 (tramp-smb-handle-file-attributes)
11224 (tramp-smb-do-file-attributes-with-stat)
11225 (tramp-smb-handle-file-local-copy)
11226 (tramp-smb-handle-insert-directory)
11227 (tramp-smb-handle-make-directory)
11228 (tramp-smb-handle-make-directory-internal)
11229 (tramp-smb-handle-make-symbolic-link)
11230 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11231 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11232 (tramp-smb-maybe-open-connection): Apply the changed parameters.
11233 (tramp-smb-read-file-entry): Read Disk names in compressed format.
11234 Handle long file names.
11235 (tramp-smb-get-cifs-capabilities): Check, whether the connection
11236 process is running.
11237 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11238 Read share names with "-g" option.
11240 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
11242 * net/rcirc.el (rcirc-view-log-file): New command.
11243 (rcirc-track-minor-mode-map): Remove C-c ` binding.
11244 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11247 2009-10-15 Glenn Morris <rgm@gnu.org>
11249 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11250 from the second command-line argument.
11251 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11252 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11253 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11254 w32-batch-update-autoloads.
11255 * emacs-lisp/autoload.el (autoload-make-program): New variable.
11256 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11258 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11259 the headers cannot be located. Simplify, subtracting superflous
11262 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
11264 Replace completion-base-size by completion-base-position to fix bugs
11265 such as (bug#4699).
11266 * simple.el (completion-base-position): New var.
11267 (completion-base-size): Mark as obsolete.
11268 (choose-completion): Make it work for mouse events as well.
11269 Pass the new base-position to choose-completion-string.
11270 (choose-completion-guess-base-position): New function, extracted from
11271 choose-completion-delete-max-match.
11272 (choose-completion-delete-max-match): Use it. Make obsolete.
11273 (choose-completion-string): Use the new base-position info.
11274 (completion-root-regexp): Delete.
11275 (completion-setup-function): Preserve completion-base-position.
11276 Eliminate obsolete base-size manipulation.
11277 * minibuffer.el (display-completion-list): Don't mess with base-size.
11278 (minibuffer-completion-help): Set completion-base-position instead.
11279 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11281 * textmodes/bibtex.el (bibtex-complete):
11282 * emacs-lisp/crm.el (crm--choose-completion-string):
11283 Adjust to new calling convention.
11284 * complete.el (partial-completion-mode): Use minibufferp to avoid
11285 bumping into incompatible change to choose-completion-string-functions.
11286 * ido.el (ido-choose-completion-string): Make its calling convention
11288 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11289 base-size manipulation.
11290 (comint-dynamic-list-input-ring): Use dotimes and push.
11291 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11292 fundamental-mode. Use `or'.
11294 2009-10-14 Juri Linkov <juri@jurta.org>
11296 * misearch.el (multi-isearch-next-buffer-from-list)
11297 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
11299 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11301 * Makefile.in (compile-onefile): Load `bytecomp' rather than
11304 * minibuffer.el (completion-pcm--merge-completions): Make sure the
11305 string we return is all made up of text from the completions rather
11306 than part from the completions and part from the input (bug#4219).
11308 * ido.el (ido-everywhere): Use define-minor-mode.
11310 * buff-menu.el (list-buffers, ctl-x-map):
11311 Mark the entry points with ;;;###autoload cookies.
11313 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
11315 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11316 correctly in the detached head case.
11317 (vc-git-print-log): Remove unused binding.
11319 * vc.el (vc-responsible-backend): When a directory is passed for
11320 for registration create a VC repository if no backend is
11321 responsible for the directory argument.
11322 (vc-deduce-fileset): Tell vc-responsible-backend to register.
11324 * vc.el: Move comments about RCS and SCCS ...
11326 * vc-sccs.el: ... here, respectively.
11328 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11330 * minibuffer.el (completion--file-name-table): Return nil if there's
11331 no file completion, even if substitute-in-file-name changed
11332 the string (bug#4708).
11334 2009-10-13 Juri Linkov <juri@jurta.org>
11336 * files-x.el (read-file-local-variable-value): Don't filter out
11337 minor modes from mode name completion (bug#4664).
11339 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11341 * international/mule-cmds.el (ucs-names): Remove exclusion of
11342 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11344 2009-10-13 Kenichi Handa <handa@m17n.org>
11346 * international/uni-name.el: Regenerated.
11348 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11350 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
11351 should be automatically buffer-local, but isn't.)
11353 2009-10-12 Sam Steingold <sds@gnu.org>
11355 * progmodes/compile.el (compilation-next-error-function): Fix the
11356 timestamps if the buffer has been visited before.
11357 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11358 non-anchored patterns, like the perl one (bug#3928).
11360 2009-10-12 Glenn Morris <rgm@gnu.org>
11362 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11365 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
11367 * proced.el (proced-unload-function): New function.
11369 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11370 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11373 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11375 2009-10-11 Juri Linkov <juri@jurta.org>
11377 * files-x.el (read-file-local-variable-value):
11378 Provide default value only for bound variables (bug#4664).
11380 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
11382 * net/tramp.el (tramp-local-host-p): Function shall return nil for
11383 connection methods like smb.
11385 * net/tramp-cache.el (tramp-flush-connection-property): The hash
11388 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11389 (tramp-smb-file-name-handler-alist): Add handlers for
11390 `add-name-to-file', `make-symbolic-link'.
11391 (tramp-smb-handle-add-name-to-file)
11392 (tramp-smb-do-file-attributes-with-stat)
11393 (tramp-smb-handle-make-symbolic-link)
11394 (tramp-smb-get-cifs-capabilities): New defuns.
11395 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11396 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11397 (tramp-smb-handle-file-local-copy)
11398 (tramp-smb-handle-make-directory-internal)
11399 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11400 The file name syntax depends on cifs capabilities.
11401 (tramp-smb-handle-file-attributes):
11402 Call `tramp-smb-do-file-attributes-with-stat' if possible.
11403 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11404 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11406 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
11408 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11409 (eieio-defclass): Apply deftype handler and setf-method properties
11411 (eieio-add-new-slot): Avoid union function from cl library.
11412 (eieio--typep): New function.
11413 (eieio-perform-slot-validation): Use it.
11415 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11417 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11418 Update documentation to refer to the variables documented in r1.135.
11421 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11423 * bookmark.el (Info-suffix-list): Remove this unused variable.
11424 (bookmark-current-point): Remove this obsolete variable.
11425 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11426 Adjust for removal of bookmark-current-point.
11428 (bookmarks-already-loaded, bookmark-current-buffer)
11429 (bookmark-yank-point): Document. (Bug#4188)
11431 2009-10-10 Glenn Morris <rgm@gnu.org>
11433 * frame.el (frame-height): Doc fix.
11435 * calendar/calendar.el (calendar-split-width-threshold): New option.
11436 (calendar-basic-setup): Use calendar-split-width-threshold.
11438 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
11440 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
11441 Use .la for Automake.
11443 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
11445 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
11446 Use "autoreconf -i". Suggested by Andreas Schwab.
11448 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
11450 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11451 Ideographic Supplement" range (U+1F200..U+1F2FF).
11453 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11455 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11456 since the list will have been rebuilt anyway. (Bug#4349)
11458 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11460 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11461 (bookmark-bmenu-execute-deletions): Don't save here, as
11462 bookmark-delete will now do so if necessary.
11463 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11466 2009-10-09 Glenn Morris <rgm@gnu.org>
11468 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11470 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11472 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11473 (bookmark-jump-other-window): Just invoke bookmark-jump with new
11474 argument now, so the two function's behaviors will match. (Bug#3645)
11476 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
11478 * cedet/ede/proj.el (project-make-dist, project-compile-project):
11480 (ede-proj-dist-makefile): Use expand-file-name instead of concat
11481 to expand file names.
11483 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
11485 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11486 (tramp-file-name-real-host, tramp-file-name-port):
11487 Apply `save-match-data'.
11489 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11490 case both directories are remote.
11491 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11492 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11494 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
11496 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
11497 (ede-proj-target-makefile-objectcode): Use it.
11499 * cedet/ede/source.el (ede-want-any-source-files-p)
11500 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
11501 Return search result. This error was introduced while merging.
11503 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11505 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11507 2009-10-07 Glenn Morris <rgm@gnu.org>
11509 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11512 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11514 * files-x.el (read-file-local-variable): Include some
11515 non-user-variables in the completion table (bug#4664).
11517 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
11519 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
11522 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11523 (tramp-smb-file-name-handler-alist): Add handler for
11524 `copy-directory', `expand-file-name', `set-file-modes'.
11525 (tramp-smb-handle-copy-directory)
11526 (tramp-smb-handle-expand-file-name)
11527 (tramp-smb-handle-set-file-modes): New defuns.
11528 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
11529 (tramp-smb-handle-file-attributes): Simplify check for retrieving
11531 (tramp-smb-handle-insert-directory): Don't flush the cache.
11532 (tramp-smb-maybe-open-connection): Check for samba client and
11535 2009-10-07 Eli Zaretskii <eliz@gnu.org>
11537 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
11538 to not error out of search for "^lisp=" fails.
11540 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11542 * makefile.w32-in (WINS_UPDATES): New macro.
11543 (custom-deps, finder-data, autoloads): Use it.
11545 2009-10-07 Glenn Morris <rgm@gnu.org>
11547 * Makefile.in (autoloads): Revert previous change.
11548 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
11549 the list of preloaded files passed on the command-line, get
11550 it from src/Makefile.
11552 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
11553 show the original buffer rather than a random one.
11555 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
11557 * help.el (describe-no-warranty): Place point in a slightly better
11558 position in the GPLv3 text.
11560 2009-10-06 Sam Steingold <sds@gnu.org>
11562 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
11563 the comm attribute is present before calling regexp-quote.
11565 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
11567 * play/animate.el (animate-string): For good effect, make sure
11568 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
11570 * play/animate.el (animate-sequence, animate-birthday-present):
11571 * misc.el (butterfly): Don't set `indent-tabs-mode'.
11573 2009-10-06 Glenn Morris <rgm@gnu.org>
11575 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
11577 * emacs-lisp/autoload.el (autoload-excludes): New variable.
11578 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
11579 (batch-update-autoloads): Process a string value of autoload-excludes,
11580 set during the build process.
11581 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
11583 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
11584 inside with-parsed... macro so that `v' is defined.
11586 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
11587 * progmodes/fortran.el (fortran-end-of-block)
11588 (fortran-beginning-of-block):
11589 Also push mark in the macro case.
11591 * emerge.el (emerge-show-file-name):
11592 * calc/calc.el (calc-quit):
11593 * calc/calc-misc.el (calc-big-or-small):
11594 * calc/calc-graph.el (calc-graph-view):
11595 * calc/calc-ext.el (calc-reset):
11596 * calendar/calendar.el (calendar-basic-setup):
11597 Use window-full-height-p.
11599 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
11600 header we don't understand, don't insert another. (Bug#4624)
11601 If changing mime charset, insert the new one in the right place.
11603 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
11605 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
11606 (cal-tex-cursor-month): Correctly increment the end date for diary and
11607 holiday listing. (Bug#4626)
11609 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11611 * help-fns.el (describe-function-1): Don't burp if the function is not
11614 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
11616 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
11617 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
11618 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
11619 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
11621 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
11622 (eieio-default-superclass): Reflow docstrings.
11623 (this, class-option-assoc, defclass, eieio-class-un-autoload)
11624 (eieio-unbind-method-implementations, defmethod)
11625 (eieio-validate-slot-value, eieio-validate-class-slot-value)
11626 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
11627 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
11628 (eieio-slot-originating-class-p, eieio-slot-name-index)
11629 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
11630 (constructor, initialize-instance, no-next-method, object-print)
11631 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
11632 Fix typos in docstrings.
11633 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
11634 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
11635 (next-method-p): Doc fixes.
11636 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
11637 Fix typos in error messages.
11638 (eieio-defmethod): Fix typo in description of generic method.
11640 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
11641 (eieio-persistent-save-interactive, slot-missing):
11642 Fix typos in docstrings.
11643 (eieio-instance-inheritor-slot-boundp): Doc fix.
11645 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
11646 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
11648 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
11649 (eieio-custom-object-apply-reset):
11650 Fix typos in docstrings and error messages.
11652 * emacs-lisp/eieio-datadebug.el (data-debug-show):
11653 Fix typo in docstring.
11655 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
11656 (eieio-browse-tree): Doc fix.
11657 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
11658 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
11659 Fix typos in docstrings.
11661 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
11662 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
11663 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
11664 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
11667 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
11669 * vc-hg.el (log-view-vc-backend): Declare for compiler.
11670 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
11671 Set log-view-vc-backend so that diff can work.
11673 * log-view.el (log-view-diff): Use vc-diff-internal instead of
11675 (vc-diff-internal): Autoload this instead of vc-version-diff.
11677 2009-10-05 Eli Zaretskii <eliz@gnu.org>
11679 * simple.el (eval-expression): Doc fix.
11681 * progmodes/cwarn.el (cwarn-mode): Doc fix.
11683 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
11685 * files.el (directory-files-no-dot-files-regexp): New defconst.
11686 (delete-directory): Use it.
11687 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
11689 * net/tramp.el (tramp-verbose): Fix docstring.
11690 (tramp-methods): Add recursive option to `tramp-copy-args'.
11691 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
11692 "scp1_old", "scp2_old", "rsync", "rsyncc".
11693 (tramp-default-method): Check also for `auth-source-user-or-password'.
11694 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
11695 Add handler for `copy-directory'.
11696 (tramp-handle-copy-directory): New defun.
11697 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
11698 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
11699 Optimize sent command.
11701 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11703 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
11704 window if necessary.
11706 * calendar/calendar.el (calendar-basic-setup): Don't call
11707 switch-to-buffer in a dedicated window.
11709 2009-10-05 Karl Fogel <kfogel@red-bean.com>
11711 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
11712 don't do anything related to relocating, just return nil.
11713 (bookmark-error-no-filename): New error.
11714 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
11715 bookmark has no file. Don't even attempt to handle things that
11716 are not files; the whole point of custom handlers is to keep that
11717 knowledge elsewhere anyway. Tighten some comments.
11718 (bookmark-file-or-variation-thereof): Remove now-unused function.
11719 (bookmark-location): Doc string fix.
11722 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11724 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
11725 don't use a file dialog, because they usually don't know how to read
11726 a directory target from the user. (Bug#4230)
11727 Also, make sure the prompt can display directories as well as files.
11729 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11731 * bookmark.el (bookmark-set, bookmark-buffer-name):
11732 Improve doc strings. (Bug#1193)
11734 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11736 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
11737 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
11738 (bookmark-get-annotation, bookmark-set-annotation)
11739 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
11740 (bookmark-set-position, bookmark-get-front-context-string)
11741 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
11742 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
11743 (bookmark-jump-other-window, bookmark-handle-bookmark)
11744 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
11745 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
11746 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
11747 Improve doc strings to say whether bookmark can be a string or
11748 a record or both, and make other consistency and clarity fixes.
11749 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
11750 (bookmark-default-annotation-text, bookmark-yank-word)
11751 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
11752 (bookmark-import-new-list, bookmark-maybe-rename)
11753 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
11754 (bookmark-bmenu-bookmark): Give these doc strings.
11755 (bookmark-bmenu-check-position): Give this a doc string, but also
11756 add a FIXME comment about how the function may be pointless.
11757 (bookmark-default-handler): Rework doc string and change a
11758 parameter name, to clarify that this takes a bookmark record
11759 not a bookmark name.
11760 (bookmark-set): Change a parameter name to indicate its meaning,
11761 and improve the doc string a bit.
11764 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11766 * bookmark.el (bookmark-alist): Document the new `handler' element
11767 in the param alist.
11768 (bookmark-make-record-function): Adjust documentation for above.
11771 2009-10-04 Karl Fogel <kfogel@red-bean.com>
11773 * info.el (Info-bookmark-make-record): Document this function.
11774 (Info-bookmark-jump): Document with a doc string, not just a comment.
11777 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
11779 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
11780 (semantic-new-buffer-fcn): Call parser setup functions here.
11781 (semantic-mode): Don't call parser setup functions here, it's done
11782 in semantic-new-buffer-fcn now.
11783 (semantic-mode): Parse all existing buffers when enabled.
11785 * cedet/srecode/compile.el (srecode-compile-file):
11786 Call semantic-new-buffer-fcn if the buffer has not been parsed.
11788 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
11790 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
11792 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
11793 (proj-comp-insert-variable-once): New macro, renamed from
11794 ede-pmake-insert-variable-once in ede/pmake.edl.
11795 (ede-proj-makefile-insert-variables): Use it.
11797 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
11799 * files.el (copy-directory): New defun.
11801 * dired-aux.el (dired-copy-file-recursive): Use it.
11803 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
11805 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
11806 (makefile-end-of-command):
11807 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
11808 (semantic-end-of-context): Fix previous change. Doc fixes.
11810 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
11812 * files-x.el (modify-dir-local-variable)
11813 (copy-dir-locals-to-file-locals-prop-line):
11814 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
11815 (makefile-end-of-command):
11816 * cedet/semantic/lex.el (semantic-lex-token):
11817 * cedet/semantic/analyze/fcn.el
11818 (semantic-analyze-dereference-metatype-1):
11819 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
11820 (semantic-lex-cpp-undef):
11821 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
11822 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
11823 (semantic-end-of-context): Fix typos in docstrings.
11825 * recentf.el (recentf-unload-function): New function.
11827 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
11829 * cedet/ede.el (ede-project-placeholder-cache-file):
11830 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
11831 * cedet/srecode/map.el (srecode-map-save-file):
11832 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
11834 2009-10-04 Glenn Morris <rgm@gnu.org>
11836 * window.el (window-full-height-p): Add doc string.
11838 2009-10-04 Martin Rudalics <rudalics@gmx.at>
11840 * window.el (window-full-height-p): New function. (Bug#4543)
11842 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
11844 * cedet/srecode/insert.el: Require srecode/args.
11846 * cedet/srecode/args.el: Require srecode/dictionary instead of
11849 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
11851 * files.el (auto-mode-alist): Add .srt and Project.ede.
11853 * cedet/semantic.el (semantic-mode):
11854 Handle srecode-template-mode-hook as well.
11855 (semantic-mode): Use js-mode-hook for Javascript hook.
11857 * cedet/srecode/template.el: Remove hook variable.
11859 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
11861 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
11863 (ede-project-placeholder-cache-file): Default to a file in
11864 user-emacs-directory.
11866 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
11867 templates in data-directory.
11868 (srecode-map-save-file): Default to a file in user-emacs-directory.
11870 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
11873 2009-09-30 Eric Ludlam <zappo@gnu.org>
11875 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
11878 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
11879 Only insert each variable once.
11881 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
11882 (ede-pmake-insert-variable-shared): Use it.
11884 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
11885 for lexical table iff table is nil.
11887 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
11889 * vc.el: Remove commented out code.
11890 (vc-derived-from-dir-mode): Remove, unused.
11891 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
11893 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
11895 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11896 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
11897 there could be recursive loading when `default-directory' is a
11898 remote file name. (Bug#4614)
11900 2009-10-03 Glenn Morris <rgm@gnu.org>
11902 * calendar/calendar.el (calendar-basic-setup): Handle the case where
11904 (calendar-generate-window): Test for shrinkability rather than width.
11906 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
11907 declaration, currently false.
11909 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
11910 reusing existing buffers, in case we happen to visit two files with the
11911 same basename. (Bug#4593)
11913 2009-10-02 Eli Zaretskii <eliz@gnu.org>
11915 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
11916 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
11917 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
11918 subdirs of cedet as well.
11919 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
11921 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11923 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
11924 Obey advertised-signature-table.
11926 * help-fns.el (help-function-arglist): Don't check
11927 advertised-signature-table.
11928 (describe-function-1): Do it here instead so it also applies to subrs.
11930 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
11932 * simple.el (start-file-process): Say in the doc-string, that file
11933 handlers might not support pty association, if PROGRAM is nil.
11935 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
11936 HOST and USER are strings. They are nil, when there are
11937 incomplete entries in ~/.netrc, for example.
11938 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
11939 root directory ("device busy" error otherwise).
11941 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
11942 Flush file properties of created directory.
11944 2009-10-02 Eli Zaretskii <eliz@gnu.org>
11946 * makefile.w32-in (WINS_BASIC): Remove cedet.
11947 (WINS_CEDET): Add cedet.
11948 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
11950 2009-10-02 Kevin Ryde <user42@zip.com.au>
11952 * net/browse-url.el (browse-url): Pass any symbol in
11953 browse-url-browser-function to `apply', since if you've mistakenly put
11954 an unbound symbol then the error is clearer. (Bug#4531)
11956 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
11958 * allout.el (allout-init, allout-back-to-current-heading)
11959 (allout-beginning-of-current-entry, allout-ascend-to-depth)
11960 (allout-ascend, allout-up-current-level, allout-end-of-level)
11961 (allout-previous-visible-heading, allout-forward-current-level)
11962 (allout-backward-current-level, allout-show-children):
11963 * apropos.el (apropos-describe-plist):
11964 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
11965 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
11966 * completion.el (add-completion, add-permanent-completion):
11967 * descr-text.el (describe-text-category, describe-char):
11968 * desktop.el (desktop-lazy-abort):
11969 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
11970 * dired.el (dired-build-subdir-alist):
11971 * ediff.el (ediff-version):
11972 * elide-head.el (elide-head, elide-head-show):
11973 * emerge.el (emerge-version):
11975 * face-remap.el (variable-pitch-mode):
11976 * faces.el (describe-face):
11977 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
11979 * files.el (find-file-existing, auto-save-mode):
11980 * font-lock.el (font-lock-fontify-buffer):
11981 * help-fns.el (describe-function, describe-variable)
11982 (describe-syntax, describe-categories):
11983 * help.el (view-lossage, describe-bindings, describe-key)
11985 * hexl.el (hexl-current-address):
11986 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
11987 * info.el (Info-goto-emacs-key-command-node):
11988 * log-edit.el (log-edit-insert-cvs-template)
11989 (log-edit-insert-cvs-rcstemplate):
11990 * menu-bar.el (menu-bar-mode):
11991 * mouse.el (mouse-appearance-menu):
11992 * newcomment.el (comment-indent-new-line):
11993 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
11994 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
11995 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
11996 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
11997 * recentf.el (recentf-mode):
11998 * savehist.el (savehist-mode, savehist-save):
11999 * shadowfile.el (shadow-copy-files):
12000 * simple.el (kill-ring-save, next-line, previous-line)
12001 (normal-erase-is-backspace-mode):
12002 * strokes.el (strokes-update-window-configuration)
12003 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12004 (strokes-xpm-for-stroke):
12005 * time.el (emacs-uptime, emacs-init-time):
12006 * tutorial.el (tutorial--describe-nonstandard-key)
12007 (tutorial--detailed-help):
12008 * type-break.el (type-break-mode)
12009 (type-break-mode-line-message-mode, type-break-query-mode)
12010 (type-break-guesstimate-keystroke-threshold):
12011 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12012 * version.el (emacs-version):
12013 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12014 * winner.el (winner-mode):
12015 * calendar/timeclock.el (timeclock-in, timeclock-out)
12016 (timeclock-status-string, timeclock-change)
12017 (timeclock-workday-remaining-string)
12018 (timeclock-workday-elapsed-string)
12019 (timeclock-when-to-leave-string):
12020 * calendar/todo-mode.el (todo-add-category):
12021 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12022 * emacs-lisp/autoload.el (update-file-autoloads):
12023 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12024 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12025 (checkdoc-message-text, checkdoc-defun):
12026 * emacs-lisp/debug.el (debugger-list-functions):
12027 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12028 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12029 (eieio-describe-generic):
12030 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12031 * emacs-lisp/shadow.el (list-load-path-shadows):
12032 * emulation/cua-base.el (cua-mode):
12033 * emulation/edt.el (edt-set-scroll-margins):
12034 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12035 (tpu-toggle-regexp, tpu-toggle-search-direction)
12036 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12037 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12038 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12039 (viper-set-parsing-style-toggling-macro)
12040 (viper-set-emacs-state-searchstyle-macros):
12041 * emulation/viper.el (viper-set-hooks):
12042 * eshell/esh-mode.el (eshell-truncate-buffer):
12043 * international/mule-cmds.el (prefer-coding-system)
12044 (describe-input-method, describe-language-environment):
12045 * international/mule-diag.el (list-character-sets)
12046 (describe-character-set, describe-coding-system)
12047 (describe-fontset, list-fontsets, list-input-methods):
12048 * mail/sendmail.el (mail-signature):
12049 * net/ange-ftp.el (ange-ftp-copy-file):
12050 * net/browse-url.el (browse-url):
12051 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12052 * net/quickurl.el (quickurl-add-url):
12053 * net/rcirc.el (names, topic):
12054 * net/xesam.el (xesam-mode):
12055 * play/5x5.el (5x5-new-game):
12056 * play/yow.el (apropos-zippy):
12057 * progmodes/ada-mode.el (ada-mode-version):
12058 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12060 (f90-beginning-of-block):
12061 * progmodes/fortran.el (fortran-end-of-block)
12062 (fortran-beginning-of-block):
12063 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12064 * progmodes/python.el (python-describe-symbol, python-shell):
12065 * term/ns-win.el (ns-print-buffer):
12066 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12067 * textmodes/flyspell.el (flyspell-mode-on):
12068 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12069 (pages-directory-for-addresses):
12070 * textmodes/table.el (table-recognize-cell)
12071 (table-query-dimension, table-generate-source)
12072 (table-insert-sequence, table--warn-incompatibility):
12073 * textmodes/tex-mode.el (tex-validate-buffer):
12074 * textmodes/texinfmt.el (texinfmt-version)
12075 (texinfo-format-buffer):
12076 Use `called-interactively-p' instead of `interactive-p'.
12078 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12080 * image-mode.el (image-toggle-display):
12081 * emacs-lisp/elp.el (elp-instrument-function):
12082 * emacs-lisp/advice.el (ad-make-advised-definition):
12083 * emacs-lisp/easy-mmode.el (define-minor-mode):
12084 * net/browse-url.el (browse-url-maybe-new-window):
12085 * progmodes/sh-script.el (sh-learn-buffer-indent):
12086 Pass new argument 'any to `called-interactively-p'.
12088 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12090 * international/uni-bidi.el:
12091 * international/uni-category.el:
12092 * international/uni-combining.el:
12093 * international/uni-comment.el:
12094 * international/uni-decimal.el:
12095 * international/uni-decomposition.el:
12096 * international/uni-digit.el:
12097 * international/uni-lowercase.el:
12098 * international/uni-mirrored.el:
12099 * international/uni-name.el:
12100 * international/uni-numeric.el:
12101 * international/uni-old-name.el:
12102 * international/uni-titlecase.el:
12103 * international/uni-uppercase.el:
12104 Regenerate from Unicode 5.2.0 data.
12106 2009-10-01 Glenn Morris <rgm@gnu.org>
12108 * Makefile.in (ELCFILES): Regenerate.
12110 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12112 * subr.el (interactive-p): Mark obsolete.
12113 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12114 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12115 advertised-signature-table for subroutines as well.
12117 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12118 (set-advertised-calling-convention): New function.
12119 (make-obsolete, define-obsolete-function-alias)
12120 (make-obsolete-variable, define-obsolete-variable-alias):
12121 Make the optional-ness of `when' obsolete.
12122 (define-obsolete-face-alias): Make `when' non-optional.
12123 * help-fns.el (help-function-arglist):
12124 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12125 Use advertised-signature-table.
12127 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12129 * files.el (delete-directory): New defun. The original function
12130 in fileio.c has been renamed to `delete-directory-internal'.
12132 * dired.el (dired-delete-file): Call `delete-directory' with
12133 RECURSIVE parameter.
12135 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12136 parameter RECURSIVE. Implementation is missing.
12138 * net/tramp.el (tramp-handle-make-directory): Flush upper
12139 directory's file properties.
12140 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12141 (tramp-handle-dired-recursive-delete-directory): Flush directory
12142 properties after the remove command only.
12144 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12145 Handle optional parameter RECURSIVE.
12147 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12148 Handle optional parameter RECURSIVE.
12150 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12151 connection timeout.
12152 (tramp-smb-handle-delete-directory): Handle optional parameter
12155 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12157 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12158 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12159 (byte-compile-defmacro): Use backquotes.
12161 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12163 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12164 has no associated file.
12165 (vc-resynch-buffer): Use vc-dir-buffers.
12167 2009-10-01 Glenn Morris <rgm@gnu.org>
12169 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12170 (chart-file-count):
12171 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12172 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12173 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12174 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12175 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12176 (eieio-copy-parents-into-subclass, make-instance, class-children)
12177 (eieio-generic-form):
12178 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
12179 * cedet/cedet-idutils.el (cedet-idutils-search)
12180 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
12181 (cedet-idutils-version-check):
12182 * cedet/cedet.el (cedet-version):
12183 * cedet/data-debug.el (data-debug-insert-overlay-button)
12184 (data-debug-insert-overlay-list-button)
12185 (data-debug-insert-buffer-button)
12186 (data-debug-insert-buffer-list-button)
12187 (data-debug-insert-process-button, data-debug-insert-ring-button)
12188 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
12189 (data-debug-insert-stuff-vector-button)
12190 (data-debug-insert-symbol-button, data-debug-insert-string)
12191 (data-debug-insert-number, data-debug-insert-lambda-expression)
12192 (data-debug-insert-nil, data-debug-insert-simple-thing)
12193 (data-debug-insert-custom, data-debug-edebug-expr):
12194 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
12195 (global-ede-mode-map, ede-new, ede-debug-target)
12196 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
12197 * cedet/semantic.el (semantic-minimum-working-buffer-size)
12198 (semantic-fetch-tags, semantic-submode-list)
12199 (semantic-default-submodes):
12200 * cedet/ede/source.el (ede-source-match):
12201 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
12202 (project-am-package-info):
12203 * cedet/ede/proj.el (ede-proj-target, project-new-target):
12204 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
12205 * cedet/ede/proj-comp.el (ede-current-build-list):
12206 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
12207 * cedet/ede/files.el (ede-toplevel-project-or-nil):
12208 * cedet/ede/cpp-root.el (initialize-instance):
12209 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
12210 (autoconf-parameter-strip, autoconf-insert-new-macro):
12211 * cedet/semantic/wisent.el (wisent-lex-eoi):
12212 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
12213 (semantic-show-parser-state-mode):
12214 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
12215 * cedet/semantic/tag.el (semantic-tag-new-variable)
12216 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
12217 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
12218 (semantic--tag-deep-copy-tag-list)
12219 (semantic-tag-components-with-overlays-default):
12220 * cedet/semantic/symref.el (semantic-symref-find-text):
12221 * cedet/semantic/senator.el (senator-yank-tag)
12222 (senator-transpose-tags-up):
12223 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
12224 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
12225 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
12226 * cedet/semantic/lex.el (semantic-lex-comment-regex)
12227 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
12228 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
12229 * cedet/semantic/lex-spp.el
12230 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
12231 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
12232 * cedet/semantic/idle.el
12233 (semantic-idle-summary-current-symbol-info-brutish)
12234 (semantic-idle-summary-current-symbol-info-default):
12235 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
12236 (semantic--grammar-macro-compl-dict):
12237 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
12238 * cedet/semantic/format.el (semantic-format-tag-custom-list)
12239 (semantic-format-tag-canonical-name-default):
12240 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
12241 (semantic-find-tags-for-completion)
12242 (semantic-find-tags-by-scope-protection-default)
12243 (semantic-deep-find-tags-for-completion):
12244 * cedet/semantic/edit.el
12245 (semantic-edits-incremental-reparse-failed-hook)
12246 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
12247 (semantic-edits-splice-remove, semantic-edits-splice-replace):
12248 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
12249 * cedet/semantic/dep.el (semantic-dependency-include-path):
12250 * cedet/semantic/db.el (semanticdb-default-find-index-class)
12251 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
12252 (semanticdb-project-roots):
12253 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
12254 (semanticdb-find-adebug-insert-scanned-tag-cons)
12255 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
12256 (semanticdb-brute-deep-find-tags-for-completion):
12257 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
12258 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
12259 (semantic-end-of-context-default)
12260 (semantic-ctxt-current-function-default)
12261 (semantic-ctxt-scoped-types-default):
12262 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
12263 (semantic-complete-inline-tag-engine)
12264 (semantic-complete-inline-custom-type)
12265 (semantic-complete-read-tag-analyzer):
12266 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
12267 (semantic-chart-database-size):
12268 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
12269 (semantic-analyze-current-context):
12270 * cedet/semantic/symref/list.el (semantic-symref)
12271 (semantic-symref-hide-buffer, semantic-symref-symbol):
12272 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
12273 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
12274 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
12275 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
12276 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
12277 (semantic-c-dereference-template):
12278 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
12279 (semantic--analyze-refs-full-lookup-with-parents)
12280 (semantic--analyze-refs-full-lookup-simple):
12281 * cedet/semantic/analyze/complete.el
12282 (semantic-analyze-possible-completions):
12283 * cedet/srecode/table.el (srecode-mode-table-new):
12284 * cedet/srecode/srt.el (srecode-read-variable-name):
12285 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
12286 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
12287 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
12288 * cedet/srecode/map.el (srecode-current-map):
12289 * cedet/srecode/insert.el (srecode-insert)
12290 (srecode-insert-variable-secondname-handler, srecode-insert-method)
12291 (srecode-template-inserter-point-override)
12292 (srecode-insert-include-lookup):
12293 * cedet/srecode/getset.el (srecode-auto-choose-class):
12294 * cedet/srecode/extract.el (srecode-inserter-extract):
12295 * cedet/srecode/document.el
12296 (srecode-document-autocomment-return-last-alist)
12297 (srecode-document-autocomment-param-type-alist)
12298 (srecode-document-insert-function-comment)
12299 (srecode-document-insert-variable-one-line-comment)
12300 (srecode-document-function-name-comment):
12301 * cedet/srecode/dictionary.el (srecode-create-dictionary)
12302 (srecode-compound-toString):
12303 * cedet/srecode/compile.el (srecode-flush-active-templates):
12304 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
12307 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12308 match-data. (Bug#4555).
12310 * cedet/semantic/bovine/gcc.el
12311 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
12312 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
12314 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12315 rather than parsing it as a regexp. This relaxes the layout
12316 requirements and makes errors easier to detect.
12317 (check-declare-verify): Check file is regular.
12318 (check-declare-directory): Doc fix.
12319 * subr.el (declare-function): Doc fix.
12321 * ibuffer.el (ibuffer-format-qualifier):
12322 * isearch.el (hi-lock-regexp-okay):
12323 * calc/calc.el (math-zerop):
12324 * mail/uce.el (rmail-msgbeg, rmail-msgend):
12325 * term/w32-win.el (setup-default-fontset, set-fontset-font):
12326 Remove unused declarations.
12328 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12330 * cedet/semantic/wisent/javat-wy.el
12331 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
12333 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
12335 * cedet/srecode/expandproto.el: Fix provide statement.
12337 2009-09-30 Eric Ludlam <zappo@gnu.org>
12339 * emacs-lisp/eieio.el (boolean-p): Delete.
12341 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
12343 * cedet/ede/srecode.el: Fix provide statement.
12345 2009-09-30 Glenn Morris <rgm@gnu.org>
12347 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
12348 * cedet/ede/proj-aux.el (ede-aux-source):
12349 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
12351 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
12352 (semantic-mrub-switch-tags): Fix doc typos.
12354 * cedet/semantic/db-global.el (data-debug-new-buffer)
12355 (data-debug-insert-thing): Remove unneeded declarations (one broken).
12356 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
12358 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
12360 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
12361 use of CL function `remove-if-not'.
12363 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12365 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12366 filename is not a string.
12368 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
12370 * files.el (safe-local-eval-forms): Fix typo.
12372 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12374 * vc-hooks.el (vc-dir-buffers): New var.
12375 (vc-state-refresh): New function.
12376 (vc-state): Use it.
12377 (vc-after-save): Always ask the backend to recompute the new state.
12378 Always call vc-dir if necessary, using vc-dir-buffers.
12379 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12380 Use vc-dir-buffers.
12381 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12382 (vc-dir-prepare-status-buffer, vc-dir-update)
12383 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12384 Don't call expand-file-name on default-directory.
12386 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12388 * speedbar.el (speedbar-item-delete):
12389 * calc/calc-prog.el (calc-kbd-if):
12390 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12392 * epa.el (epa-key-list-mode-map):
12393 * hi-lock.el (hi-lock-menu): Fix typos in menus.
12395 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12396 (hs-show-hook): Fix typo in docstring.
12398 2009-09-29 Glenn Morris <rgm@gnu.org>
12400 * cedet/semantic/symref/idutils.el:
12401 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
12403 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
12405 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
12406 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
12407 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
12408 Mark declarations not understood by check-declare.
12410 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12411 file-name-nondirectory call preventing location of cedet files.
12412 (check-declare-verify): Use literal search rather than re-search.
12413 Add basic defmethod and defclass, and define-overloadable-function.
12415 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12416 Use tramp-compat-file-attributes rather than nonexistent
12417 tramp-compat-handle-file-attributes.
12419 * Makefile.in (lisptagsfiles4): New.
12420 (AUTOGENEL): Add cedet loaddefs files.
12421 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12422 (update-elclist, compile-always, backup-compiled-files)
12423 (bootstrap-clean): Add yet another directory level.
12424 (update-elclist): Use LC_COLLATE rather than COLLATE.
12425 (ELCFILES): Update, via `make update-elclist'.
12427 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12429 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12430 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12431 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12433 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
12435 * Makefile.in (lisptagsfiles3): Define.
12436 (TAGS, TAGS-LISP): Use it.
12437 (update-elclist): Add third directory level to look for elc files.
12438 (compile-always): Likewise.
12439 (backup-compiled-files): Likewise.
12440 (bootstrap-clean): Likewise.
12441 (ELCFILES): Update.
12443 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
12445 * Makefile.in (ELCFILES): Add CEDET files.
12447 2009-09-28 Eric Ludlam <zappo@gnu.org>
12449 CEDET (development tools) package merged.
12453 * cedet/semantic/*.el:
12454 * cedet/srecode/*.el: New files.
12456 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
12458 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12460 * net/tramp.el (top): Require tramp-imap.
12462 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12463 Use `tramp-compat-handle-file-attributes'.
12465 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
12467 * net/tramp-imap.el: New package.
12469 2009-09-28 Eric Ludlam <zappo@gnu.org>
12471 * emacs-lisp/chart.el:
12472 * emacs-lisp/eieio-base.el:
12473 * emacs-lisp/eieio-comp.el:
12474 * emacs-lisp/eieio-custom.el:
12475 * emacs-lisp/eieio-datadebug.el:
12476 * emacs-lisp/eieio-opt.el:
12477 * emacs-lisp/eieio-speedbar.el:
12478 * emacs-lisp/eieio.el: New files.
12480 * cedet/cedet-cscope.el:
12481 * cedet/cedet-files.el:
12482 * cedet/cedet-global.el:
12483 * cedet/cedet-idutils.el:
12484 * cedet/data-debug.el:
12485 * cedet/inversion.el:
12486 * cedet/mode-local.el:
12487 * cedet/pulse.el: New files.
12489 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12491 * whitespace.el (whitespace-trailing-regexp)
12492 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12495 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
12497 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12500 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12501 menu-bar-ediff-menu.
12503 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12504 define-overloadable-function.
12506 * progmodes/autoconf.el: Provide autoconf as well, so that this
12507 file can be `require'd.
12509 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12511 * emacs-lisp/autoload.el (generated-autoload-feature)
12512 (generated-autoload-load-name): New vars.
12513 (autoload-rubric, autoload-generate-file-autoloads): Use them.
12514 (make-autoload): Recognize define-overloadable-function and
12515 defclass forms (for EIEIO).
12517 * Makefile.in (update-subdirs): Exclude cedet directory.
12519 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
12521 * term/ns-win.el: Don't set the region face background. (Bug#4381)
12523 * faces.el: Default light-background background for region face to
12524 ns_selection_color under NS.
12526 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
12528 * net/imap-hash.el: New library, see NEWS.
12530 * Makefile.in (ELCFILES): Add imap-hash.el.
12532 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
12534 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
12535 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
12536 * help-macro.el (make-help-screen): Avoid using an ambiguous function
12537 definition where the docstring could be taken for the return value.
12539 2009-09-26 Glenn Morris <rgm@gnu.org>
12541 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
12542 Add option to only show images below a certain size.
12543 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
12544 save-excursion calls.
12546 2009-09-26 Eli Zaretskii <eliz@gnu.org>
12548 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
12549 subdirectories) and eieio.
12551 2009-09-26 Alan Mackenzie <acm@muc.de>
12553 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
12554 buggy bracketing. (Bug#4289)
12556 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
12557 character constants (as case labels). (Bug#4289)
12559 2009-09-25 Juri Linkov <juri@jurta.org>
12561 * files.el (safe-local-eval-forms): Allow time-stamp in
12562 before-save-hook (Bug#4554).
12564 2009-09-25 Drew Adams <drew.adams@oracle.com>
12566 * menu-bar.el (list-buffers-directory): Doc fix.
12568 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
12570 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
12571 Try and avoid copying twice the same paragraph.
12572 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
12573 Remove save-excursion.
12574 (log-edit-changelog-entry): Do it here instead.
12576 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
12578 * bs.el (bs--get-file-name): Use `list-buffers-directory'
12579 when available, instead of hardcoding mode names. Doc fix.
12581 * menu-bar.el (list-buffers-directory): Add docstring.
12582 Make automatically buffer-local.
12584 * dired.el (dired-mode):
12585 * files.el (cd-absolute):
12586 * pcvs.el (cvs-temp-buffer):
12587 * pcvs-util.el (cvs-get-buffer-create):
12588 * shell.el (shell-mode):
12589 * vc-dir.el (vc-dir-mode):
12590 Don't make `list-buffers-directory' buffer local.
12592 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
12594 * comint.el (comint-exec, comint-run, make-comint):
12595 Doc fixes (Bug#4542).
12597 2009-09-25 Glenn Morris <rgm@gnu.org>
12599 * mail/rmailmm.el (rmail-mime): New custom group.
12600 Move all defcustoms in this file into this group.
12601 (rmail-mime-media-type-handlers-alist): Revert previous change.
12602 (rmail-mime-show-images): New option.
12603 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
12604 references to it, since it wasn't actually used for anything.
12605 (rmail-mime-insert-image): New function.
12606 (rmail-mime-image): Use rmail-mime-insert-image.
12607 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
12608 obey the value of `rmail-mime-show-images' option. Print the size of
12611 2009-09-25 David Engster <deng@randomsample.de>
12613 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
12615 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12617 * whitespace.el: Does not highlight trailing spaces While point is
12618 at end of line. Does not highligt spaces at beginning of buffer
12619 while point is at beginning of buffer. Does not highlight spaces
12620 at end of buffer while point is at end of buffer. (Bug#4177)
12622 (whitespace-display-mappings): Adjust initialization.
12623 (whitespace-point, whitespace-font-lock-refontify): New vars.
12624 (whitespace-color-on, whitespace-color-off): Adjust code.
12625 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
12626 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
12627 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
12629 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
12631 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
12633 * textmodes/sgml-mode.el: Remove xml-mode alias.
12635 * files.el (auto-mode-alist, conf-mode-maybe)
12636 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
12638 2009-09-24 Alan Mackenzie <acm@muc.de>
12640 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
12641 c-forward-conditionals, but it doesn't move point and doesn't set
12643 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
12644 (c-down-conditional-with-else, c-backward-conditional)
12645 (c-forward-conditional): Refactor to use c-scan-conditionals.
12647 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12649 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
12650 (help-default-arg-highlight): Remove.
12651 (help-highlight-arg): New function.
12652 (help-do-arg-highlight): Use it.
12653 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
12655 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * term.el (term-set-scroll-region, term-handle-ansi-escape):
12658 Undo last change, which didn't fix the problem and introduced others.
12660 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
12662 * progmodes/gdb-mi.el: Don't require speedbar.
12663 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
12665 2009-09-24 Glenn Morris <rgm@gnu.org>
12667 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
12669 * term/ns-win.el (ns-reg-to-script): Define for compiler.
12671 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
12672 there is no newline after the final mime boundary. (Bug#4539)
12673 Move markers on insertion so that any buttons inserted don't end up in
12674 the next part of a multipart message.
12675 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
12676 (rmail-mime-bulk-handler): Optionally handle images.
12677 (rmail-mime-image): New button action.
12678 (rmail-mime-image-handler): New function.
12679 (rmail-mime-mode): New mode.
12680 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
12682 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
12684 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
12685 than just dropping elements from it (bug#4504).
12687 * term.el (term-set-scroll-region): Don't move cursor any more.
12688 (term-handle-ansi-escape): Call term-goto here instead.
12689 Suggested by Ivan Kanis <apple@kanis.eu>.
12691 * term.el: Require CL.
12692 (term-ansi-reset): New function.
12693 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
12694 (term-handle-colors-array): Simplify.
12696 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
12698 * allout.el (allout-overlay-interior-modification-handler)
12699 (allout-obtain-passphrase):
12700 * epa-file.el (epa-file-write-region):
12701 * ps-print.el (ps-begin-job):
12702 * vc-hooks.el (vc-toggle-read-only):
12703 * vc-rcs.el (vc-rcs-rollback):
12704 * vc-sccs.el (vc-sccs-rollback):
12705 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
12706 (vc-version-diff, vc-revert, vc-rollback):
12707 * wdired.el (wdired-check-kill-buffer):
12708 * emacs-lisp/authors.el (authors):
12709 * net/socks.el (socks-open-connection):
12710 * net/zeroconf.el (zeroconf-service-add-hook):
12711 * obsolete/vc-mcvs.el (vc-mcvs-register):
12712 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
12713 (gdb-select-frame):
12714 * progmodes/grep.el (lgrep, rgrep):
12715 * progmodes/idlw-help.el (idlwave-help-check-locations)
12716 (idlwave-help-html-link, idlwave-help-assistant-open-link):
12717 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12718 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
12719 (reftex-toc-rename-label): Fix typos in error messages.
12721 * dired-aux.el (dired-do-shell-command): Reflow docstring.
12722 (dired-copy-how-to-fn): Doc fix.
12723 (dired-files-attributes, dired-read-shell-command):
12724 Fix typos in docstrings.
12726 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
12727 (dired-x-find-file-other-window): Reflow docstrings.
12728 (dired-omit-marker-char, dired-read-shell-command)
12729 (dired-x-submit-report): Fix typos in docstrings.
12731 * shell.el (shell-mode-hook):
12732 * view.el (View-scroll-line-forward):
12733 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
12734 Fix typos in docstrings.
12736 * net/dig.el (dig-invoke): Fix typo in docstring.
12737 (query-dig): Reflow docstring.
12739 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
12740 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
12741 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
12742 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
12743 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
12744 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
12745 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
12746 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
12747 (idlwave-completion-map, idlwave-current-indent)
12748 (idlwave-custom-ampersand-surround, idlwave-customize)
12749 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
12750 (idlwave-define-abbrev, idlwave-determine-class-special)
12751 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
12752 (idlwave-end-block-reg, idlwave-end-of-statement)
12753 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
12754 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
12755 (idlwave-explicit-class-listed, idlwave-file-header)
12756 (idlwave-fill-paragraph, idlwave-find-class-definition)
12757 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
12758 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
12759 (idlwave-in-quote, idlwave-indent-action-table)
12760 (idlwave-indent-expand-table, idlwave-indent-line)
12761 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
12762 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
12763 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
12764 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
12765 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
12766 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
12767 (idlwave-outlawed-buffers, idlwave-popup-select)
12768 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
12769 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
12770 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
12771 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
12772 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
12773 (idlwave-statement-type, idlwave-struct-skip)
12774 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
12775 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
12776 (idlwave-what-module-find-class): Fix typos in docstrings.
12777 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
12778 (idlwave-calculate-cont-indent, idlwave-expand-equal)
12779 (idlwave-find-module, idlwave-find-structure-definition)
12780 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
12781 (idlwave-list-load-path-shadows, idlwave-next-statement)
12782 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
12783 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
12784 (idlwave-template): Reflow docstrings.
12786 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
12787 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
12788 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
12789 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
12790 (idlwave-shell-display-line, idlwave-shell-display-wframe)
12791 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
12792 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
12793 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
12794 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
12795 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
12796 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
12797 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
12798 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
12799 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
12800 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
12801 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
12802 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
12803 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
12804 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
12805 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
12806 Fix typos in docstrings.
12807 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
12808 (idlwave-shell-hide-output, idlwave-shell-mode)
12809 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
12812 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
12814 2009-09-24 Ivan Kanis <apple@kanis.eu>
12816 * term.el (term-bold-attribute): New var.
12817 (term-handle-colors-array): Use it.
12819 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
12821 * progmodes/gdb-mi.el (gdb-version): New variable.
12822 (gdb-non-stop-handler): Set gdb-version.
12823 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
12824 Condition "--thread" option on gdb-version.
12825 (gdb-invalidate-threads): Remove unused argument.
12827 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12829 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
12830 to looking-back to avoid ridiculous slow down in large files (bug#4511).
12832 2009-09-23 Glenn Morris <rgm@gnu.org>
12834 * mail/rmail.el (rmail-reply): Don't try to add a References header when
12835 replying to mail without References or Message-Id. (Bug#4525)
12837 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
12839 * term/ns-win.el (ns-reg-to-script): New variable.
12841 2009-09-23 Daiki Ueno <ueno@unixuser.org>
12843 * epg.el (epg-wait-for-status): Preserve existing 'error results.
12845 2009-09-22 Sam Steingold <sds@gnu.org>
12847 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
12848 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
12849 to 1 because hg returns status 1 when nothing is found.
12850 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
12852 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
12854 * textmodes/fill.el: Convert to utf-8 encoding.
12855 (fill-french-nobreak-p): Remove redundant » and « inherited from our
12858 * add-log.el (change-log-fill-forward-paragraph): New function.
12859 (change-log-mode): Use it so fill-region DTRT.
12860 Set fill-indent-according-to-mode here rather than in
12861 change-log-fill-paragraph.
12862 (change-log-fill-paragraph): Remove.
12864 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
12866 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
12867 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
12869 2009-09-22 Glenn Morris <rgm@gnu.org>
12871 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
12872 the scroll-bar scroll the calendar window rather than the buffer.
12874 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
12875 commands that move point (as opposed to scrolling).
12877 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
12879 * emacs-lisp/elint.el (elint): New custom group.
12880 (elint-log-buffer): Make it a defcustom.
12881 (elint-scan-preloaded, elint-ignored-warnings)
12882 (elint-directory-skip-re): New options.
12883 (elint-builtin-variables): Doc fix.
12884 (elint-preloaded-env): New variable.
12885 (elint-unknown-builtin-args): Add an entry for encode-time.
12886 (elint-extra-errors): Make it a variable rather than a constant.
12887 (elint-preloaded-skip-re): New constant.
12888 (elint-directory): Skip files matching elint-directory-skip-re.
12889 (elint-features): New variable, local to linted buffers.
12890 (elint-update-env): Initialize elint-features. Possibly add
12891 elint-preloaded-env to the buffer's environment.
12892 (elint-get-top-forms): Bind elint-current-pos, for log messages.
12894 (elint-init-form): New function, extracted from elint-init-env.
12895 Make non-list forms a warning rather than an error.
12896 Add the mode-map for define-derived-mode. Handle define-minor-mode,
12897 easy-menu-define, put that adds an error-condition, and provide.
12898 When requiring cl, also require cl-macs. Really require cl, to handle
12899 some cl macros. Store required libraries in the list elint-features,
12900 so as not to re-load them. Treat cc-require like require.
12901 (elint-init-env): Call elint-init-form to do the work.
12902 Handle eval-and-compile and such like.
12903 (elint-add-required-env): Do not clear messages.
12904 (elint-special-forms): Add handlers for function, defalias, if, when,
12906 (elint-form): Add optional argument to ignore elint-special-forms,
12907 useful to prevent recursive calls from handlers. Doc fix.
12908 Respect elint-ignored-warnings.
12909 (elint-form): Respect elint-ignored-warnings.
12910 (elint-bound-variable, elint-bound-function): New variables.
12911 (elint-unbound-variable): Respect elint-bound-variable.
12912 (elint-get-args): Respect elint-bound-function.
12913 (elint-check-cond-form): Add some simple handling for (f)boundp and
12915 (elint-check-defalias-form): New handler.
12916 (elint-check-let-form): Make an empty let a warning rather than an
12918 (elint-check-setq-form): Make an empty setq a warning rather than an
12919 error. Respect elint-ignored-warnings.
12920 (elint-check-defvar-form): Accept null doc-strings.
12921 (elint-check-conditional-form): New handler. Does some simple-minded
12922 checking of featurep and (f)boundp tests.
12923 (elint-put-function-args): New function.
12924 (elint-initialize): Use elint-scan-doc-file rather than
12925 elint-find-builtin-variables. Use elint-put-function-args.
12926 Possibly scan preloaded-file-list.
12927 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
12928 extend to handle functions as well.
12930 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
12932 * linum.el (linum-delete-overlays, linum-update-window):
12933 Do not modify the right margin. (Bug#3971)
12935 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
12937 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
12938 nxml-mode instead of xml-mode.
12940 2009-09-21 Kevin Ryde <user42@zip.com.au>
12942 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
12944 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12946 * net/dig.el (dig-mode): Use define-derived-mode.
12948 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
12950 * vc-dispatcher.el (vc-do-command): Return the process object in
12951 the asynchronous case. Use when instead of if. Do not run
12952 vc-exec-after to display a message if not enabled. (Bug#4463)
12954 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
12955 properties to the stash strings.
12956 (vc-git-stash-list): Return a list of strings.
12957 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
12958 (vc-git-stash-show-at-point): New functions.
12959 (vc-git-stash-map): New keymap.
12961 * register.el (ctl-x-r-map): Define the keys here instead of
12964 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
12966 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
12967 list, to workaround performance problem (bug#4485).
12969 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
12971 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
12973 2009-09-20 Daiki Ueno <ueno@unixuser.org>
12975 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
12976 Document that this option is not recommended to use.
12978 2009-09-19 Glenn Morris <rgm@gnu.org>
12980 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
12983 * calc/calc-alg.el (var):
12984 * calc/calcalg2.el (var): Define for compiler.
12986 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
12988 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
12989 Doc fix (Bug#3932).
12991 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
12993 * time-stamp.el (time-stamp-month-dd-yyyy)
12994 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
12995 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
12996 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
12997 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
12998 Remove functions that have been obsolete since 1995 (Bug#4436).
13000 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13001 indent buffer only if called interactively (Bug#4452).
13003 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13004 Eli Zaretskii <eliz@gnu.org>
13006 This fixes bug#4197 (merged to bug#865, though not identical).
13007 * server.el (server-auth-dir): Add docstring note about FAT32.
13008 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13009 but warn against using them.
13011 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13013 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13014 older GDB where there is no has_more field.
13016 2009-09-19 Glenn Morris <rgm@gnu.org>
13018 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13020 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13022 * files.el (auto-mode-alist): Change default for XML files to nXML
13025 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13027 * server.el (server-ensure-safe-dir): Pass 'integer
13028 to `file-attributes', as suggested.
13030 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13032 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13033 (dired-query): Use read-key.
13035 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13037 * cus-start.el (ns-use-qd-smoothing): Remove.
13039 2009-09-18 Glenn Morris <rgm@gnu.org>
13041 * allout.el (top-level): Remove unnecessary progn.
13043 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13045 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13046 definition of abbrev table.
13048 * speedbar.el (speedbar-track-mouse):
13049 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13050 * net/eudc.el (eudc-expand-inline):
13051 * net/newst-backend.el (newsticker--cache-read-feed):
13052 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13053 condition-case handlers.
13055 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13057 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13058 (gdb-var-list): Add an element for has_more field.
13059 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13060 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13061 (gdb-var-update-handler-1): Parse output of dynamic variable
13062 objects (STL containers).
13063 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13064 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13066 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13068 (gud-speedbar-buttons): Make node expandable if expression "has more"
13071 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13073 * startup.el (emacs-quick-startup): Remove variable and all uses.
13074 (command-line): Set `inhibit-x-resources' instead.
13075 (command-line-1): Use `inhibit-x-resources' instead.
13077 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13079 * subr.el: Fix last change to avoid using the `unless' macro,
13080 which breaks bootstrapping.
13082 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13085 extended definitions, in case we reload subr.el after having
13087 (eval-next-after-load): Mark as obsolete.
13089 2009-09-17 Juri Linkov <juri@jurta.org>
13091 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13092 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13093 (menu-bar-showhide-menu, menu-bar-tools-menu)
13094 (menu-bar-describe-menu, menu-bar-help-menu)
13095 (minibuffer-local-completion-map, minibuffer-local-map):
13098 2009-09-17 Glenn Morris <rgm@gnu.org>
13100 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13101 arguments, whether or not it has a handler.
13103 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13105 * simple.el (hard-newline): Give it a doc-string.
13107 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13108 (lisp-mode-syntax-table): Give them doc-strings.
13110 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13112 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13113 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13114 (menu-bar-options-menu, menu-bar-showhide-menu)
13115 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13116 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13117 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13118 (menu-bar-options-menu, menu-bar-tools-menu)
13119 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13120 (menu-bar-help-menu):
13121 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13124 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13125 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13126 calls for the menu names and :help.
13128 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13130 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13131 to :minor-mode-function (bug#4455).
13133 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13135 * startup.el (command-line): Initialize the window-system after
13136 processing the command-line.
13138 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13139 page-delimiter matches the empty string.
13141 2009-09-16 Glenn Morris <rgm@gnu.org>
13143 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13144 byte-compile-not-obsolete-var. It's a list now.
13145 (byte-compile-not-obsolete-funcs): New variable.
13146 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13147 byte-compile-not-obsolete-funcs.
13148 (byte-compile-variable-ref, byte-compile-defvar): Update for
13149 byte-compile-not-obsolete-vars name-change and list nature.
13150 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13151 and variables behind (f)boundp tests.
13152 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13154 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13156 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13158 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13160 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13161 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13164 2009-09-15 Stephen Eglen <stephen@gnu.org>
13166 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13167 the virtual-buffers, use the name of the buffer specified by
13168 find-file-noselect, as the match may be a symlink. (This was a
13169 problem if the target and the symlink had different names.)
13171 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13173 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13175 * desktop.el (desktop-path): Check user-emacs-directory.
13177 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13179 * loadup.el: Use after-load-functions to GC after loading each file.
13180 Remove the explicit GC calls that used to be sprinkled around.
13182 * subr.el (after-load-functions): New hook.
13183 (do-after-load-evaluation): Run it. Use string-match-p to detect
13184 `obsolete' packages, rather than painfully extracting the relevant
13187 2009-09-15 Glenn Morris <rgm@gnu.org>
13189 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13190 free variable `doc'.
13192 * dired.el (dired-mode-map): Add menu entry for async shell command.
13194 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13195 variables, also consider the .elc files, since the .el files are
13196 normally gzipped (subsequent code locates the .el.gz from the .elc).
13198 * calc/calc-prog.el (arglist): Define for compiler.
13200 * calendar/diary-lib.el (diary-display-function): Change the default to
13202 (body): Define for compiler.
13204 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13205 (byte-compile-file-form, byte-compile-lambda)
13206 (byte-compile-top-level-body, byte-compile-form)
13207 (byte-compile-variable-ref, byte-compile-setq)
13208 (byte-compile-setq-default, byte-compile-body)
13209 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13210 (batch-byte-compile): Give some more local variables with common names
13211 a "bytecomp-" prefix to avoid masking warnings about free variables.
13213 * startup.el (command-line-1): Give local variables with common names a
13214 distinguishing prefix, so as not to hide free variable warnings during
13217 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13218 clever and add a suffix to make a unique name, just let the user decide
13219 whether or not to overwrite it. If the input is a directory, write the
13220 default filename to that directory. (Bug#4388)
13221 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13222 is a filename-as-a-directory.
13224 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * textmodes/page.el (what-page): Don't move to beginning of line.
13227 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13229 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13231 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13233 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13235 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13236 * help.el (help-for-help-internal): Add purecopy calls for text.
13238 * vc.el (top): print-log method now takes an optional SHORTLOG
13239 argument. Add a new method: root.
13240 (vc-root-diff, vc-print-root-log): New functions.
13241 (vc-log-short-style): New variable.
13242 (vc-print-log-internal): Add support for showing short logs.
13244 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13245 vc-print-root-log and vc-print-root-diff.
13247 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13248 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13249 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13252 * vc-cvs.el (vc-cvs-print-log):
13253 * vc-mtn.el (vc-mtn-print-log):
13254 * vc-rcs.el (vc-rcs-print-log):
13255 * vc-sccs.el (vc-sccs-print-log):
13256 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13257 that is ignored for now.
13259 * vc-mtn.el (vc-mtn-annotate-command):
13260 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13262 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13264 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13265 to function-key-map, and give them ascii-character property.
13266 * term/x-win.el (x-alternatives-map):
13267 * term/ns-win.el (ns-alternatives-map):
13268 * term/internal.el (msdos-key-remapping-map):
13269 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13271 2009-09-14 Glenn Morris <rgm@gnu.org>
13273 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13274 temp-buffers (2009-09-12).
13276 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13279 the new read-key function.
13281 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13283 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13284 is defined (Bug#4405).
13286 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13288 * recentf.el (recentf-cleanup): Use a hash table to find
13289 duplicates (Bug#4407).
13291 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13293 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13294 kp-0 to ascii equivalents (Bug#4325).
13296 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13298 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13300 * eshell/em-hist.el:
13301 * eshell/em-dirs.el (eshell-complete-user-reference):
13302 Declare pcomplete functions and variables to avoid compiler warnings.
13304 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13306 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13307 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13308 * eshell/em-alias.el (eshell-aliases-file):
13309 * eshell/em-hist.el (eshell-history-file-name):
13310 Use expand-file-name instead of concat to make file names (Bug#4308).
13312 2009-09-13 Glenn Morris <rgm@gnu.org>
13314 * ediff-merg.el (ediff-do-merge):
13315 * filesets.el (filesets-run-cmd):
13316 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13317 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13318 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13319 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13320 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13321 Replace empty `let's with `progn'.
13323 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13325 * mail/sendmail.el (send-mail-function):
13326 * tooltip.el (tooltip-mode):
13327 * simple.el (transient-mark-mode):
13328 * rfn-eshadow.el (file-name-shadow-mode):
13329 * frame.el (blink-cursor-mode):
13330 * font-core.el (global-font-lock-mode):
13331 * files.el (temporary-file-directory)
13332 (small-temporary-file-directory, auto-save-file-name-transforms):
13333 * epa-hook.el (auto-encryption-mode):
13334 * composite.el (global-auto-composition-mode):
13335 Use custom-initialize-delay.
13336 * startup.el (command-line): Don't explicitly call
13337 custom-reevaluate-setting for all the above vars.
13338 * custom.el (custom-initialize-safe-set)
13339 (custom-initialize-safe-default): Delete.
13341 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13343 * term/x-win.el (x-initialize-window-system):
13344 * term/w32-win.el (w32-initialize-window-system):
13345 * term/ns-win.el (ns-initialize-window-system): Don't call
13346 mouse-wheel-mode since it's enabled globally by default already.
13348 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13349 actually define the variable, but only silences the byte-compiler.
13350 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13351 before looking it up.
13352 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13355 2009-09-12 Glenn Morris <rgm@gnu.org>
13357 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13359 (elint-add-required-env): Don't beep on error.
13360 (elint-forms): In case of error, return ENV unchanged.
13361 (elint-init-env): Skip non-list forms.
13362 (elint-log): Handle unknown file positions.
13364 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13366 * epg.el (epg-make-context): Add autoload cookie.
13367 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13368 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13369 (epg-verify-string, epg-start-sign, epg-sign-file)
13370 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13371 (epg-encrypt-string, epg-start-export-keys)
13372 (epg-export-keys-to-file, epg-export-keys-to-string)
13373 (epg-start-import-keys, epg-import-keys-from-file)
13374 (epg-import-keys-from-string, epg-start-receive-keys)
13375 (epg-receive-keys, epg-import-keys-from-server)
13376 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13377 (epg-sign-keys, epg-start-generate-key)
13378 (epg-generate-key-from-file, epg-generate-key-from-string):
13379 Remove autoload cookie.
13381 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13383 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13384 reevaluation of trash-directory.
13386 * mwheel.el: Fix last change.
13387 (mouse-wheel-mode): New defvar.
13388 (mouse-wheel-mode): Remove autoload cookie.
13390 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13392 * mwheel.el (mwheel-installed-bindings): New var.
13393 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13394 the bindings we set last time. Use custom-initialize-delay.
13395 * loadup.el: Load mwheel after term/*-win.el.
13396 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13397 and mouse-wheel-up-event now that their first evaluation is done
13398 sufficiently late to be correct.
13400 * startup.el (tutorial-directory): Make it a defcustom.
13401 Use custom-initialize-delay rather than eval-at-startup to set it.
13402 * image.el (image-load-path): Make it a defcustom.
13403 Use custom-initialize-delay rather than eval-at-startup to set it.
13404 * subr.el (eval-at-startup): Remove.
13405 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13407 * subr.el (do-after-load-evaluation): Warn the user after loading an
13410 2009-09-12 Glenn Morris <rgm@gnu.org>
13412 * proced.el (proced-mark-alt): Remove alias.
13413 (proced-mode-map): Remove proced-mark-alt.
13415 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13416 Elint file and directory. Remove initialization entry.
13418 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13420 (elint-current-buffer): Set mode-line-process.
13421 (elint-init-env): Handle define-derived-mode.
13422 Fix declare-function with unspecified arglist. Guard against odd
13423 defalias statements (eg iso-insert's 8859-1-map).
13424 (elint-add-required-env): Use a temp buffer.
13425 (elint-form): Just print the function/macro name, not the whole form.
13426 Return env unchanged if we fail to parse a macro.
13427 (elint-forms): Guard against parse errors.
13428 (elint-output): New function, to handle batch mode.
13429 (elint-log-message): Add optional argument. Use elint-output.
13430 (elint-set-mode-line): New function.
13432 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
13434 * emacs-lisp/elp.el (elp-not-profilable): Add more
13435 functions (Bug#4233).
13437 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
13439 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13440 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13442 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13444 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13445 (gdb-var-list-children): Use json parsing.
13447 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
13449 * progmodes/js.el (js--proper-indentation): Handle the case where
13450 char-before is null. Reported by Deniz Dogan.
13452 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13454 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13456 2009-09-11 Daiki Ueno <ueno@unixuser.org>
13458 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13459 (epg-digest-algorithm-alist): Add SHA224.
13460 (epg-context-set-passphrase-callback)
13461 (epg-context-set-progress-callback): Add description about
13464 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13466 * custom.el (custom-delayed-init-variables): New var.
13467 (custom-initialize-delay): New function.
13468 * startup.el (command-line): "Re"evaluate all vars in
13469 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
13470 explicitly any more.
13471 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13472 to avoid creating a ~/.emacs.d at build-time (bug#4347).
13474 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13476 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13478 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13479 (gdb-var-update-handler): Use json parsing.
13481 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13483 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13484 decode annotated text, regardless of language environment. (Bug#2741)
13486 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13488 * Makefile.in (autoloads): Make rmail.el writable as well.
13490 2009-09-11 Glenn Morris <rgm@gnu.org>
13492 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13494 * dired.el: Regenerate with extracted autoloads.
13495 * Makefile.in (autoloads): Make dired.el writable.
13497 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13498 * ibuffer.el: Regenerate with extracted autoloads.
13499 * Makefile.in (autoloads): Make ibuffer.el writable.
13501 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13502 * version.el (emacs-copyright, emacs-major-version)
13503 (emacs-minor-version): Reformat doc-strings for make-docfile.
13505 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13506 functions and variables, since they must be stuff specific to some other
13508 (apropos-print): Make mouse-click message less specific about button.
13510 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13511 that records where a macro was defined.
13512 * help-fns.el (describe-function-1): Mention if a function has a
13514 * help-mode.el (help-function-cmacro): New button.
13516 * locate.el (top-level): Always require dired.
13517 (locate-mode-map): Initialize inside the defvar.
13519 * net/ange-ftp.el (dired-compress-file): Declare.
13520 (ange-ftp-dired-compress-file): Add doc string.
13522 * term/ns-win.el (x-display-name, x-setup-function-keys):
13523 Unify doc-strings with X versions.
13525 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13527 * emulation/crisp.el (crisp-mode-map): Move initialization
13529 (crisp-mode): Use define-minor-mode.
13531 * progmodes/xscheme.el (xscheme-evaluation-commands):
13532 Put a :advertised-binding property rather than using
13533 advertised-xscheme-send-previous-expression.
13534 (advertised-xscheme-send-previous-expression): Declare obsolete.
13535 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
13537 (crisp-mode): Add corresponding bindings to
13538 undo's :advertised-binding instead.
13539 * dired.el (dired-mode-map): Put a :advertised-binding property rather
13540 than using dired-advertised-find-file.
13541 (dired-advertised-find-file):
13542 * simple.el (advertised-undo):
13543 * wid-edit.el (advertised-widget-backward): Declare obsolete.
13544 (widget-keymap): Put a :advertised-binding property rather
13545 than using advertised-widget-backward.
13546 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
13547 than using advertised-undo.
13548 * tutorial.el (tutorial--default-keys): Adjust accordingly.
13550 2009-09-10 Simon South <ssouth@slowcomputing.org>
13552 * progmodes/delphi.el (delphi-tab): Indent region when Transient
13553 Mark mode is enabled and region is active; otherwise indent or
13554 insert TAB as usual.
13555 (delphi-mode): Update description of TAB-key binding.
13557 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
13559 * subr.el (define-key-rebound-commands): Mark obsolete.
13560 * startup.el (precompute-menubar-bindings): Remove.
13561 (normal-top-level): Remove obsolete code that tried to precompute
13563 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
13564 define-key-rebound-commands and precompute-menubar-bindings.
13566 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
13568 * net/imap.el (imap-interactive-login): Better messages.
13569 (imap-open): Fix bug with renamed buffer on reconnect.
13570 (imap-authenticate): Add buffer-local imap-last-authenticator variable
13571 for easier debugging and cleaner code. On successful (guessed based on
13572 server capabilities) secondary authentication, set imap-state
13574 (imap-last-authenticator): Define imap-last-authenticator as a variable
13577 2009-09-10 Glenn Morris <rgm@gnu.org>
13579 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
13581 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
13582 (byte-compile-file-form-autoload): Don't warn about unknown functions
13583 where the autoload statement comes after the use.
13584 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
13585 that any handlers inside the body (eg require) are in turn respected.
13587 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
13590 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
13591 and syntax and abbrev tables basic docs, if they don't have any.
13593 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
13595 * international/mule-cmds.el (top-level): Require cl when compiling.
13596 (view-hello-file): Use default-value rather than
13597 default-enable-multibyte-characters.
13599 * progmodes/fortran.el: Move all safe and risky properties into the
13602 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
13603 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
13604 * mail/undigest.el:
13605 Put autoloads in rmail.el rather than loaddefs.el.
13606 * mail/rmail.el: Regenerate with extracted autoloads.
13608 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
13609 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
13611 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
13613 Reported in thread for Bug#4375.
13614 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
13615 "-data-evaluate-expression" instead of print.
13616 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
13617 (gdb-tooltip-print): Parse output from above MI command.
13618 (gdb): Revert 2009-08-11 change. User should detach inferior
13621 Remove the word "separate" from IO functions as inferior
13622 output is now never displayed in the GUD buffer.
13624 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
13626 * startup.el (command-line-normalize-file-name): On Windows and
13627 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
13629 2009-09-10 Juri Linkov <juri@jurta.org>
13631 * isearch.el (isearch-text-char-description): Propertize escape
13632 character sequences with the `escape-glyph' face. (Bug#4344)
13634 * simple.el (shell-command): Set asynchronous process filter to
13635 `comint-output-filter'. (Bug#4343)
13637 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
13638 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
13639 the list. Move "asm" to the bottom.
13640 (grep-find-ignored-directories): Add `choice' with nil value
13641 to empty the list easily.
13642 (grep-find-ignored-files): New option.
13643 (grep-files-history): Set to nil by default instead of '("ch" "el").
13644 (grep-compute-defaults): Add "<X>" to `grep-template'.
13645 (grep-read-files): Bind new local variables `default-alias' and
13646 `default-extension'. Use a list of default values for the file prompt.
13647 (lgrep): Add `--exclude=' command line options composed from
13648 `grep-find-ignored-files'.
13649 (rgrep): Add `-name' command line options composed from
13650 `grep-find-ignored-files'. (Bug#4301)
13652 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
13654 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
13657 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
13659 * calendar/time-date.el (autoload):
13660 Expand define-obsolete-function-alias into defalias and make-obsolete
13661 for old Emacsen that Gnus supports.
13662 (with-no-warnings): Define it for old Emacsen.
13663 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
13665 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
13666 float-time is available; suppress compile warning for time-to-seconds.
13668 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
13670 * net/imap.el (imap-message-map): Docstring fix.
13672 2009-09-09 Glenn Morris <rgm@gnu.org>
13674 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
13675 line numbers too. (Bug#4374)
13677 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * smerge-mode.el (smerge-remove-props, smerge-refine):
13680 Use with-silent-modifications (bug#4342).
13682 * subr.el (with-silent-modifications): New macro.
13684 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
13686 * files.el (top-level): Require `cl' when compiling.
13688 2009-09-07 Glenn Morris <rgm@gnu.org>
13690 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
13692 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
13693 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
13695 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
13697 * vc-git.el (vc-git-annotate-command): Use separator to parse
13698 arguments correctly.
13700 2009-09-06 Eli Zaretskii <eliz@gnu.org>
13702 * proced.el (proced-mode): Doc fix.
13704 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
13706 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
13708 (tramp-do-file-attributes-with-ls): Check for file existence at
13710 (tramp-do-file-attributes-with-stat): Likewise.
13711 (tramp-convert-file-attributes): Return nil when attr is nil.
13713 2009-09-05 Glenn Morris <rgm@gnu.org>
13715 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
13716 properties to this button.
13717 (diary-fancy-display): Don't extend the button to the final newline.
13718 (diary-fancy-display-mode): Continue to define "q" as a local key.
13720 * calendar/cal-china.el (holiday-chinese): Make it slightly more
13723 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
13725 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
13726 (byte-compile-dest-file-function): New option.
13727 (byte-compile-dest-file): Doc fix.
13728 Obey byte-compile-dest-file-function.
13729 (byte-compile-cl-file-p): New function.
13730 (byte-compile-eval): Only suppress noruntime warnings about cl functions
13731 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
13732 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
13733 than for file being previously loaded.
13734 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
13735 (byte-compile-file-form-require): Handle the case where requiring a file
13736 indirectly causes CL to be loaded.
13738 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13740 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
13741 before killing the old buffer, since by the time `kill-buffer' is
13742 run so many buffer variables have been set to nil that it may not
13743 behave as expected. (Bug#4061)
13745 2009-09-05 Karl Fogel <kfogel@red-bean.com>
13747 * files.el (find-alternate-file): If the old buffer is modified
13748 and visiting a file, behave similarly to `kill-buffer' when
13749 killing it, thus reverting to the pre-1.878 behavior; see
13750 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
13751 for discussion. Also, consult `buffer-file-name' as a variable
13752 not as a function, for consistency with the rest of the code.
13754 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
13756 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
13757 also when adding a new directory.
13759 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
13762 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
13764 * files.el (locate-file-completion-table): Make it provide boundary
13765 information, so partial-completion works better.
13767 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
13769 * mail/footnote.el (Footnote-text-under-cursor):
13770 Check footnote-text-marker-alist before using it (bug#4324).
13772 2009-09-04 Glenn Morris <rgm@gnu.org>
13774 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
13775 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
13776 * play/solitaire.el, play/tetris.el:
13777 Remove leading * from defcustom and defface docs.
13779 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
13781 (diary-fancy-overriding-map): New variable.
13782 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
13785 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
13788 2009-09-03 Glenn Morris <rgm@gnu.org>
13790 * arc-mode.el (archive-mode):
13791 * dos-fns.el (set-default-process-coding-system):
13792 * man.el (Man-getpage-in-background):
13793 * menu-bar.el (menu-bar-describe-menu):
13794 * server.el (server-process-filter):
13795 * startup.el (command-line):
13796 * tar-mode.el (tar-header-block-tokenize, tar-extract):
13797 * w32-fns.el (set-default-process-coding-system):
13798 * x-dnd.el (x-dnd-handle-file-name):
13799 * international/mule-cmds.el (mule-menu-keymap)
13800 (set-default-coding-systems, language-info-alist, set-language-info)
13801 (set-language-environment, standard-display-european-internal)
13802 (set-locale-environment):
13803 * international/mule-diag.el (mule-diag):
13804 * mail/emacsbug.el (report-emacs-bug):
13805 * mail/rmail.el (rmail-mode):
13806 * mail/sendmail.el (mail-setup):
13807 Use default-value rather than default-enable-multibyte-characters.
13809 * progmodes/f90.el: Move all safe properties into the defcustoms.
13810 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
13812 * calendar/appt.el (appt-check):
13813 * calendar/diary-lib.el (diary-set-header, diary-live-p)
13814 (diary-check-diary-file, diary-list-entries)
13815 (diary-include-other-diary-files, diary-simple-display)
13816 (diary-fancy-display, diary-print-entries)
13817 (diary-mark-included-diary-files, diary-make-entry):
13818 Don't call substitute-in-file-name on diary-file.
13820 2009-09-03 Eduard Wiebe <usenet@pusto.de>
13821 Stefan Monnier <monnier@iro.umontreal.ca>
13823 * mail/footnote.el (footnote-prefix): Make it a defcustom.
13824 (footnote-mode-map): Move initialization into the declaration.
13825 (footnote-minor-mode-map): Define it rather than changing global-map.
13826 (footnote-mode): Use define-minor-mode.
13828 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
13830 * net/tramp.el (tramp-handle-file-attributes-with-ls)
13831 (tramp-do-file-attributes-with-perl)
13832 (tramp-do-file-attributes-with-stat): Rename from
13833 `tramp-handle-file-attributes-with-*'.
13834 (tramp-handle-file-attributes): Use them.
13835 (tramp-do-directory-files-and-attributes-with-perl)
13836 (tramp-do-directory-files-and-attributes-with-stat): Rename from
13837 `tramp-handle-directory-files-and-attributes-with-*'.
13838 (tramp-handle-directory-files-and-attributes): Use them.
13839 (tramp-method-out-of-band-p): Additional parameter SIZE.
13840 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
13841 (tramp-handle-write-region): Use it.
13842 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
13843 (tramp-handle-vc-registered): Check, whether the first run did
13844 return files to be tested.
13845 (tramp-advice-make-auto-save-file-name): Do not call directly
13846 `tramp-handle-make-auto-save-file-name', because this would bypass
13847 the locking mechanism.
13849 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
13850 (file-remote-p, process-file, start-file-process, set-file-times)
13851 (tramp-compat-file-attributes): Compatibility functions shall not
13852 call directly `tramp-handle-*', because this would bypass the
13854 (tramp-compat-number-sequence): New defun.
13856 2009-09-02 Glenn Morris <rgm@gnu.org>
13858 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
13859 alias for float-time.
13860 (time-to-number-of-days): In Emacs, use float-time.
13861 * net/newst-backend.el (time-add): Suppress warnings from compat
13863 * time.el (emacs-uptime, emacs-init-time):
13864 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
13865 Use float-time rather than time-to-seconds.
13867 * minibuffer.el (completion-initials-expand): Fix typo.
13869 * faces.el (modeline, modeline-inactive, modeline-highlight)
13870 (modeline-buffer-id):
13871 * info.el (info-menu-5): Mark these face aliases as obsolete.
13873 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13875 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
13877 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
13878 no "--thread" option.
13879 (gdb-stopped): Don't print "Switched to thread" message when it is
13882 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
13884 * minibuffer.el (completion-try-completion)
13885 (completion-all-completions): Remove ill-defined (and
13886 mistakenly installed and luckily never used nor documented)
13887 `completion-styles' property.
13888 (completion-initials-expand, completion-initials-all-completions)
13889 (completion-initials-try-completion): New functions.
13890 (completion-styles-alist): Add doc to each entry.
13891 Add new `initials' entry.
13893 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
13895 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
13896 MI command -var-evaluate-expression.
13897 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
13898 and tweak for case of string child.
13899 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
13901 2009-09-01 Glenn Morris <rgm@gnu.org>
13903 * add-log.el (change-log-date-face, change-log-name-face)
13904 (change-log-email-face, change-log-file-face, change-log-list-face)
13905 (change-log-conditionals-face, change-log-function-face)
13906 (change-log-acknowledgement-face):
13907 * cus-edit.el (custom-invalid-face, custom-rogue-face)
13908 (custom-modified-face, custom-set-face, custom-changed-face)
13909 (custom-saved-face, custom-button-face, custom-button-pressed-face)
13910 (custom-documentation-face, custom-state-face, custom-comment-face)
13911 (custom-comment-tag-face, custom-variable-tag-face)
13912 (custom-variable-button-face, custom-face-tag-face)
13913 (custom-group-tag-face-1, custom-group-tag-face):
13914 * diff-mode.el (diff-header-face, diff-file-header-face)
13915 (diff-index-face, diff-hunk-header-face, diff-removed-face)
13916 (diff-added-face, diff-changed-face, diff-function-face)
13917 (diff-context-face, diff-nonexistent-face):
13918 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
13919 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
13920 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
13921 (Info-title-4-face):
13922 * isearch.el (isearch-lazy-highlight-face):
13923 * log-view.el (log-view-file-face, log-view-message-face):
13924 * paren.el (show-paren-match-face, show-paren-mismatch-face):
13925 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
13926 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
13928 * smerge-mode.el (smerge-mine-face, smerge-other-face)
13929 (smerge-base-face, smerge-markers-face):
13930 * wid-edit.el (widget-documentation-face, widget-button-face)
13931 (widget-field-face, widget-single-line-field-face)
13932 (widget-inactive-face, widget-button-pressed-face):
13933 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
13934 (woman-addition-face):
13935 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
13936 (eshell-ls-executable-face, eshell-ls-readonly-face)
13937 (eshell-ls-unreadable-face, eshell-ls-special-face)
13938 (eshell-ls-missing-face, eshell-ls-archive-face)
13939 (eshell-ls-backup-face, eshell-ls-product-face)
13940 (eshell-ls-clutter-face):
13941 * eshell/em-prompt.el (eshell-prompt-face):
13942 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
13943 * obsolete/old-whitespace.el (whitespace-highlight-face):
13944 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
13945 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
13946 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
13947 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
13948 (antlr-font-lock-literal-face):
13949 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
13950 (ebrowse-root-class-face, ebrowse-file-name-face)
13951 (ebrowse-default-face, ebrowse-member-attribute-face)
13952 (ebrowse-member-class-face, ebrowse-progress-face):
13953 * progmodes/make-mode.el (makefile-space-face):
13954 * progmodes/sh-script.el (sh-heredoc-face):
13955 * textmodes/flyspell.el (flyspell-incorrect-face)
13956 (flyspell-duplicate-face):
13957 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
13958 * textmodes/texinfo.el (texinfo-heading-face):
13959 Mark face aliases with "-face" suffix as obsolete.
13961 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
13964 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
13965 (eudc-bob-sound-menu): Use defvar rather than defconst, since
13966 easy-menu-define wants to modify these.
13968 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
13970 * net/browse-url.el (browse-url-file-url):
13971 * term/internal.el (dos-codepage-setup):
13972 Use default-value rather than default-enable-multibyte-characters.
13974 * progmodes/etags.el (etags-goto-tag-location):
13975 * progmodes/flymake.el (flymake-highlight-line)
13976 (flymake-goto-file-and-line, flymake-goto-line):
13977 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
13978 (gdb-goto-breakpoint):
13979 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
13980 * progmodes/python.el (python-find-function)
13981 (python-pdbtrack-track-stack-file):
13982 * progmodes/verilog-mode.el (verilog-surelint-off):
13983 * term/ns-win.el (ns-open-file-select-line):
13984 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
13985 Use forward-line rather than goto-line.
13987 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
13988 * textmodes/reftex-index.el (reftex-display-index):
13989 * textmodes/reftex-ref.el (reftex-offer-label-menu):
13990 * textmodes/reftex-toc.el (reftex-toc):
13991 Remove unnecessary bindings of default-major-mode (all are followed by
13992 major-mode check and possible mode switch).
13994 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
13996 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13997 Handle watchpoints (bug#4282).
13998 (def-gdb-thread-buffer-command): Enable thread to be selected by
13999 clicking without selecting threads buffer first.
14000 (gdb-current-context-command): Use selected frame so that "up",
14001 "down" etc work in the GUD buffer.
14002 (gdb-update): Find selected frame before rendering stack buffer.
14003 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14005 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14007 * progmodes/sym-comp.el (displayed-completions): Remove.
14008 (symbol-complete): Use minibuffer-complete.
14010 2009-08-31 Glenn Morris <rgm@gnu.org>
14012 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14014 * apropos.el (apropos-symbols-internal):
14015 Handle (obsolete) face aliases.
14017 * faces.el (describe-face): Adjust the output format to be more like
14018 describe-variable, and to mention (obsolete) face aliases.
14019 Adjust the whitespace so that help-setup-xref works.
14021 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14022 * calendar/diary-lib.el (diary-button-face):
14023 Mark these face aliases as obsolete.
14025 * calendar/calendar.el (calendar-today): Doc fix.
14027 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14029 * progmodes/gdb-mi.el (gdb-control-all-threads)
14030 (gdb-control-current-thread): Force tool bar update.
14031 (gdb-non-stop-handler): New function.
14032 (gdb-init-1): Use it to test if non-stop mode is supported.
14033 Remove unused gdbmi buffer type.
14035 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14037 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14038 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14040 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14042 * comint.el (comint-exec-1): Check command is non-null first.
14043 Part of gdb-mi.el change (2009-08-28).
14045 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14047 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14049 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14051 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14052 instead of `dolist' to avoid a recursive require when bootstrapping.
14054 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14056 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14058 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14060 * net/imap.el (imap-send-command): Simplify.
14061 (imap-wait-for-tag): point-max -> buffer-size.
14063 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14065 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14066 with constant argument.
14068 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14070 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14072 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14073 Change default, since most of our files don't have a history.
14074 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14077 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14080 * calc/calc.el: Improve commenting convention.
14081 (calc-digit-map, toplevel): Simplify.
14083 * comint.el (comint-insert-input): Be careful to only set point if we
14084 don't delegate to some other command.
14086 * proced.el (proced-signal-list): Make it an alist.
14087 (proced-grammar-alist): Capitalize names.
14088 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14089 Disable undo manually and make it read-only.
14090 Use completion-annotate-function.
14092 * minibuffer.el (minibuffer-message): If the current buffer is not
14093 a minibuffer, insert the message in the echo area rather than at the
14095 (completion-annotate-function): New variable.
14096 (minibuffer-completion-help): Use it.
14097 (completion--embedded-envvar-table): Environment vars are
14098 always case-sensitive.
14100 2009-08-30 Glenn Morris <rgm@gnu.org>
14102 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14103 from fortran-current-defun.
14104 (fortran-beginning-of-subprogram): Be more precise about finding the
14105 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14106 (fortran-end-of-subprogram): Simplify.
14107 (fortran-current-defun): Use fortran-start-prog-re.
14109 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14111 * subr.el (do-after-load-evaluation): Simplify.
14113 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14115 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14117 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14118 (vc-rcs-print-log): Use it.
14120 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14122 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14124 * paths.el (abbrev-file-name): Move to abbrev.el.
14125 * abbrev.el (abbrev-file-name): Move from paths.el.
14126 Obey user-emacs-directory.
14127 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14128 user-emacs-directory.
14129 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14130 abbrev-file-name and calc-settings-file any more.
14131 * startup.el (command-line): Recompute abbrev-file-name and
14132 abbreviated-home-dir.
14133 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14134 of the special code for when C-h bindings haven't been changed.
14135 (display-startup-echo-area-message): Use with-current-buffer.
14136 (command-line-1): Use a list of strings, rather than a list of lists
14137 of strings for longopts.
14139 * files.el (get-free-disk-space): Use / for default-directory.
14141 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14142 Use with-current-buffer.
14144 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14145 Recognize immutable variables like most-positive-fixnum.
14146 (byte-compile-setq-default): Check and warn if trying to assign
14147 to an immutable variable, or a non-variable.
14149 * progmodes/cc-vars.el (c-comment-continuation-stars):
14150 * progmodes/cc-engine.el (c-looking-at-bos):
14151 * progmodes/cc-cmds.el (c-toggle-auto-state)
14152 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14153 (c-comment-line-break-function): Add version of obsolescence.
14155 2009-08-28 Juri Linkov <juri@jurta.org>
14157 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14158 associated with `archive-mode'.
14160 * image.el (image-type-header-regexps): Use only JPEG magic number
14161 to determine JPEG images, and don't use `image-jpeg-p' because
14162 Emacs can display non-JFIF non-Exif JPEG images.
14164 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14166 * arc-mode.el (archive-mode):
14167 * emacs-lisp/re-builder.el (re-builder-unload-function):
14168 Protect against the default value of `major-mode' being nil.
14170 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14172 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14173 Fix typos in docstrings.
14175 * progmodes/js.el (js--macro-decl-re): Doc fix.
14176 (js--plain-method-re, js--split-name): Refloc docstring.
14177 (js--class-styles, js--make-merged-item, js--splice-into-items):
14178 Fix typos in docstrings; reflow docstrings.
14179 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14180 (js--variable-decl-matcher, js--inside-pitem-p)
14181 (js--parse-state-at-point, js--get-all-known-symbols)
14182 (js--symbol-history, js-find-symbol, js--js-references)
14183 (js--moz-interactor, js--js-encode-value, js--read-tab):
14184 Fix typos in docstrings.
14186 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14188 * textmodes/reftex.el (reftex-get-file-buffer-force):
14189 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14190 * emulation/viper.el (viper-go-away, viper-set-hooks):
14191 * emacs-lisp/re-builder.el (re-builder-unload-function):
14192 * emacs-lisp/bytecomp.el (byte-compile-file):
14193 * ses.el (ses-unload-function):
14194 * hexl.el (hexl-find-file):
14195 * files.el (normal-mode):
14196 * ehelp.el (with-electric-help):
14197 * autoinsert.el (auto-insert-alist):
14198 * arc-mode.el (archive-mode):
14199 Use (default-value 'major-mode) instead of default-major-mode.
14201 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14202 * international/mule.el (load-with-code-conversion):
14203 * emacs-lisp/debug.el (debug):
14204 * ediff-vers.el (ediff-rcs-get-output-buffer):
14205 * dired.el (dired-internal-noselect): Don't let-bind
14206 default-major-mode around code that doesn't use it.
14207 E.g. buffer creation via get-buffer-create doesn't use it.
14209 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14211 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14212 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14213 when writing the temp file. Otherwise, epa-file gets confused.
14214 (tramp-register-file-name-handlers): Make it a defun. Move also
14215 `epa-file-handler' to the front of `file-name-handler-alist'.
14217 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14219 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14220 start right after a ^M.
14221 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14222 (tramp-completion-file-name-regexp-separate)
14223 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14224 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14225 Don't modify last-coding-system-used by accident.
14226 (tramp-completion-file-name-handler): Apply the checks here,
14227 instead during registration.
14228 (tramp-register-file-name-handlers): Renamed from
14229 `tramp-register-file-name-handler'. Register both
14230 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14231 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14233 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14235 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14236 Remove variable ...
14237 (gdb-init-1, gdb-display-separate-io-buffer)
14238 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14240 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14241 (gdb-inferior-filter): Use comint-output-filter to stop
14242 echoing and remove ^M characters.
14244 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14246 * emulation/viper-init.el (viper-restore-cursor-type):
14247 * emulation/cua-base.el (cua--update-indications):
14248 Replace default-cursor-type with (default-value 'cursor-type).
14250 * mail/sendmail.el (mail-recover-1):
14251 * international/mule-diag.el (describe-current-coding-system-briefly)
14252 (describe-current-coding-system):
14253 * international/mule-cmds.el (select-safe-coding-system)
14254 (select-message-coding-system)
14255 (set-language-environment-coding-systems, set-locale-environment):
14256 * hexl.el (hexl-insert-multibyte-char):
14257 * dos-w32.el (find-buffer-file-type-coding-system):
14258 * simple.el (what-cursor-position):
14259 Replace uses of default-buffer-file-coding-system
14260 with (default-value 'buffer-file-coding-system).
14262 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14263 Replace uses of default-cursor-in-non-selected-windows
14264 with (default-value 'cursor-in-non-selected-windows).
14265 Use with-current-buffer.
14267 * mail/feedmail.el: Use CL macros.
14268 (feedmail-run-the-queue, feedmail-send-it-immediately):
14269 * dos-w32.el (find-buffer-file-type): Replace uses of
14270 default-buffer-file-type with (default-value 'buffer-file-type).
14272 2009-08-28 Glenn Morris <rgm@gnu.org>
14274 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14275 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14276 Use default-value of major-mode rather than default-major-mode.
14278 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14280 * Makefile.in (update-elcfiles): Report left over elc files.
14282 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14283 expand-file-name and with-current-buffer.
14284 (mail-get-names, mail-directory): Use with-current-buffer.
14286 * vc.el (vc-read-revision): New function.
14287 (vc-version-diff, vc-merge): Use it.
14289 2009-08-27 Sam Steingold <sds@gnu.org>
14291 * simple.el (kill-do-not-save-duplicates): New user option.
14292 (kill-new): When it is non-nil, and the new string is the same as
14293 the latest kill, set replace to t to avoid duplicates in kill-ring.
14295 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14297 * net/tramp.el (tramp-handle-process-file): Do not flush all
14298 caches when `process-file-side-effects' is set.
14299 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14300 instead of `tramp-find-file-exists-command'.
14301 Unset `process-file-side-effects'.
14303 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14305 * net/tramp.el (tramp-methods): New method "rsyncc".
14306 (top): Add completion function for "rsyncc".
14307 (tramp-message-show-message): New defvar.
14308 (tramp-message, tramp-error): Use it.
14309 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14311 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14312 `tramp-methods' entry `copy-env' of "rsyncc".
14313 (tramp-vc-registered-read-file-names): New defconst.
14314 (tramp-vc-registered-file-names): New defvar.
14315 (tramp-handle-vc-registered): Implement optimization strategy.
14316 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14317 (tramp-vc-file-name-handler): New defun.
14318 (tramp-get-ls-command, tramp-get-test-command)
14319 (tramp-get-file-exists-command, tramp-get-remote-ln)
14320 (tramp-get-remote-perl, tramp-get-remote-stat)
14321 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14323 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14324 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14326 (tramp-get-file-property): Check for timestamps in
14327 `tramp-cache-inhibit-cache'.
14328 (tramp-set-file-property): Write timestamp.
14330 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14332 * language/japan-util.el (japanese-symbol-table): Add entries for
14335 * international/characters.el: Add category `j' to cp932-2-byte.
14337 2009-08-27 Kenichi Handa <handa@m17n.org>
14339 * international/fontset.el (build-default-fontset-data): New macro.
14340 (setup-default-fontset): Use build-default-fontset-data for CJK,
14341 tibetan, ethiopic, and ipa.
14343 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14345 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14346 (enable-multibyte-characters): Not customizable any more.
14348 * subr.el (default-mode-line-format, default-header-line-format)
14349 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14350 (default-direction-reversed, default-truncate-lines)
14351 (default-left-margin, default-tab-width, default-case-fold-search)
14352 (default-left-margin-width, default-right-margin-width)
14353 (default-left-fringe-width, default-right-fringe-width)
14354 (default-fringes-outside-margins, default-scroll-bar-width)
14355 (default-vertical-scroll-bar, default-indicate-empty-lines)
14356 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14357 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14358 (default-scroll-down-aggressively, default-fill-column)
14359 (default-cursor-type, default-buffer-file-type)
14360 (default-cursor-in-non-selected-windows)
14361 (default-buffer-file-coding-system, default-major-mode)
14362 (default-enable-multibyte-characters): Mark as obsolete.
14364 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14366 * vc-dir.el (vc-dir-update): Remove debug helper.
14368 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14370 2009-08-26 Sam Steingold <sds@gnu.org>
14372 * simple.el (save-interprogram-paste-before-kill): New user option.
14373 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14374 save the interprogram-paste into kill-ring before overriding it
14375 with the Emacs kill.
14377 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14379 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14380 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14381 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14382 and move to vc-rcs.el.
14383 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14385 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14386 (vc-rcs-update-changelog): Remove.
14387 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14388 and move to vc-rcs.el.
14390 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14391 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14393 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14394 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14395 vc.el, renamed to be RCS specific.
14397 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14399 (vc-cvs-update-changelog): Move here from vc.el.
14401 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14404 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
14406 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14408 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14410 * vc-git.el (vc-git-register): Use "git add" for directories.
14411 (vc-git-stash, vc-git-stash-show): New functions.
14412 (vc-git-extra-menu-map): Bind them.
14414 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14415 directory correctly in case the item is a directory itself.
14417 * vc.el: Document the desired behavior for reverted files in the
14419 (vc-default-prettify-state-info): Remove function, unused.
14421 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14423 2009-08-26 Glenn Morris <rgm@gnu.org>
14425 * bindings.el (standard-mode-line-format): Reposition dashes in
14426 which-func entry. (Bug#4217)
14428 * files.el (enable-local-variables, enable-local-eval)
14429 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14431 (auto-mode-alist, ignored-local-variables)
14432 (save-some-buffers-action-alist): Move risky declarations to the
14434 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14435 (font-lock-defaults, format-alist, imenu--index-alist)
14436 (imenu-generic-expression, input-method-alist, minor-mode-alist)
14437 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14438 (mode-line-modified, mode-line-mule-info, mode-line-position)
14439 (mode-line-process, mode-line-remote, outline-level)
14440 (parse-time-rules, rmail-output-file-alist)
14441 (special-display-buffer-names, vc-mode):
14442 Move risky declarations to the relevant files.
14443 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14444 (mode-line-modified, mode-line-process, mode-line-position)
14445 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14446 * font-core.el (font-lock-defaults):
14447 * format.el (format-alist):
14448 * vc-hooks.el (vc-mode):
14449 * window.el (special-display-buffer-names):
14450 * international/mule-cmds.el (input-method-alist):
14451 Define riskiness here (dumped file) rather than in files.el.
14452 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14453 * imenu.el (imenu-generic-expression, imenu--index-alist):
14454 * outline.el (outline-level):
14455 * time.el (display-time-string):
14456 * calendar/parse-time.el (parse-time-rules):
14457 * mail/rmailout.el (rmail-output-file-alist):
14458 Autoload riskiness here, rather than placing in files.el.
14460 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
14462 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14464 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
14466 * simple.el (process-file-side-effects): New defvar.
14468 * dired-aux.el (dired-show-file-type):
14469 * vc.el (vc-diff-internal):
14470 * vc-arch.el (vc-arch-diff):
14471 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14472 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14473 * vc-git.el (vc-git-registered, vc-git-working-revision)
14474 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14475 (vc-git--empty-db-p):
14476 * vc-hooks.el (vc-user-login-name):
14477 * vc-svn.el (vc-svn-registered, vc-svn-state)
14478 (vc-svn-dir-extra-headers, vc-svn-find-revision):
14479 * progmodes/grep.el (grep-probe): Let-bind
14480 `process-file-side-effects' with nil.
14482 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14484 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14485 daemon. Replace ping by checking for running service for bluez
14486 and zeroconf. (Bug#4239)
14488 2009-08-25 Kevin Ryde <user42@zip.com.au>
14490 * net/dig.el (dig): Add autoload cookie.
14492 2009-08-25 Glenn Morris <rgm@gnu.org>
14494 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14495 load-history for absolute file-names.
14496 (byte-compile-file-form-require): Warn about use of the cl package.
14498 * format.el (format-alist): Doc fix.
14500 * play/bubbles.el (top-level): Don't require cl at run-time.
14502 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14505 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
14507 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14509 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14511 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
14513 * calc/calc-alg.el (math-trig-rewrite)
14514 (math-hyperbolic-trig-rewrite): New functions.
14515 (calc-simplify): Simplify trig functions when asked.
14517 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14519 * diff-mode.el (diff-find-source-location): Avoid goto-line.
14521 2009-08-24 Kenichi Handa <handa@m17n.org>
14523 * language/ind-util.el (mapthread): Delete it.
14524 (combinatorial): New function.
14525 (indian--puthash-cv): Use combinatorial instead of mapthread.
14527 2009-08-22 Kevin Ryde <user42@zip.com.au>
14529 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
14530 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
14531 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
14532 Clarify docstring that the value is strings not symbols.
14533 (checkdoc-list-of-strings-p): New function.
14535 2009-08-22 Glenn Morris <rgm@gnu.org>
14537 * files.el (auto-mode-alist):
14538 * hippie-exp.el (he-concat-directory-file-name):
14539 * lpr.el (lpr-windows-system, printer-name):
14540 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
14541 * ps-print.el (ps-windows-system):
14542 * startup.el (command-line):
14543 * emulation/viper-ex.el (viper-glob-function):
14544 * international/mule-cmds.el (set-language-environment-coding-systems):
14545 * net/ange-ftp.el (ange-ftp-write-region):
14546 * obsolete/fast-lock.el (fast-lock-cache-name):
14547 Remove code for defunct system-types emx, macos, mswindows, next-mach,
14548 unisoft-unix, vax-vms, win32, w32.
14550 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
14551 given name if the pattern is not more specific.
14553 * calendar/lunar.el (lunar-phase-names): New option.
14554 (lunar-phase): Doc fix.
14555 (lunar-cycles-per-year): New constant.
14556 (lunar-index): New function.
14557 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
14558 (lunar-phase-name): Use lunar-phase-names.
14559 (calendar-lunar-phases): Use format.
14560 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
14562 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
14563 Copy imenu-example--name-and-position function here for own use.
14564 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
14566 * bs.el (bs--redisplay):
14567 * cus-edit.el (custom-redraw):
14568 * ibuffer.el (ibuffer-bury-buffer):
14569 * server.el (server-goto-line-column):
14570 * startup.el (command-line-1):
14571 * strokes.el (strokes-xpm-for-stroke):
14572 * term.el (term-display-buffer-line):
14573 * view.el (View-goto-line):
14574 * calc/calc.el (calc-do, calc-trail-buffer):
14575 * play/gamegrid.el (gamegrid-add-score-insecure):
14576 * progmodes/ada-mode.el (ada-compile-goto-error):
14577 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
14578 (ebrowse-select-1st-to-9nth):
14579 * progmodes/cperl-mode.el (cperl-time-fontification):
14580 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
14581 * progmodes/gud.el (gud-display-line):
14582 (idlwave-shell-display-line):
14583 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
14584 * progmodes/make-mode.el (makefile-browser-toggle):
14585 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
14586 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
14587 * textmodes/picture.el (picture-draw-rectangle):
14588 * textmodes/reftex-index.el (reftex-index-goto-letter):
14589 (reftex-select-jump-to-previous):
14590 * textmodes/reftex-sel.el (reftex-find-start-point)
14591 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
14592 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
14593 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
14594 * textmodes/tex-mode.el (tex-compilation-parse-errors):
14595 * textmodes/two-column.el (2C-associated-buffer):
14596 Use forward-line rather than goto-line.
14598 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
14601 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
14602 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
14603 (quick-check-list-to-regexp): Declare.
14605 * progmodes/make-mode.el (makefile-browser-insert-selection):
14606 Use goto-char rather than goto-line.
14608 * progmodes/prolog.el (compilation-error-regexp-alist)
14609 (compilation-forget-errors): Declare.
14611 2009-08-22 Juri Linkov <juri@jurta.org>
14613 * progmodes/grep.el (lgrep, rgrep): At the beginning
14614 set `dir' to `default-directory' unless `dir' is a non-nil
14615 readable directory. (Bug#4052)
14616 (lgrep, rgrep): Change a weird way to report an error
14617 from using `read-string' to using `error'.
14618 Instead of using interactive arguments in the function body,
14619 add new argument `confirm'.
14621 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
14623 * textmodes/remember.el (remember-buffer):
14624 * progmodes/cperl-mode.el (cperl-vc-header-alist):
14625 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
14626 (icalendar-extract-ical-from-buffer):
14627 * net/newst-treeview.el (newsticker-groups-filename):
14628 * net/newst-backend.el (newsticker-cache-filename):
14629 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
14630 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
14631 (speedbar-add-ignored-path-regexp, speedbar-line-path)
14632 (speedbar-buffers-line-path, speedbar-path-line)
14633 (speedbar-buffers-line-path):
14634 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
14636 * epa.el (epa-display-verify-result):
14637 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
14639 2009-08-21 Glenn Morris <rgm@gnu.org>
14641 * progmodes/js.el (inferior-moz-process): Fix declaration.
14643 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
14645 * obsolete/rnewspost.el (news-mail-reply):
14646 Use goto-char rather than goto-line.
14648 * term/ns-win.el (ns-open-file-select-line):
14649 Use line-beginning-position rather than goto-line.
14651 * apropos.el (apropos-command):
14652 * ehelp.el (electric-helpify):
14653 * printing.el (pr-show-setup):
14654 * strokes.el (strokes-help):
14655 * tutorial.el (tutorial--describe-nonstandard-key)
14656 (tutorial--detailed-help):
14657 * woman.el (woman-mini-help, woman-display-extended-fonts):
14658 * calc/calc-help.el (calc-describe-key):
14659 * emulation/edt.el (edt-electric-helpify):
14660 * international/mule-diag.el (mule-diag):
14661 * play/yow.el (apropos-zippy):
14662 * progmodes/python.el (python-describe-symbol):
14663 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
14664 * textmodes/table.el (*table--cell-describe-mode)
14665 (*table--cell-describe-bindings):
14666 Use help-print-return-message rather than the now obsolete alias.
14668 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
14669 (calendar-cursor-to-visible-date):
14670 * play/5x5.el (5x5-position-cursor):
14671 * play/decipher.el (decipher):
14672 * play/gomoku.el (gomoku-goto-xy):
14673 * play/landmark.el (lm-goto-xy):
14674 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
14675 (mpuz-paint-digit):
14676 Use forward-line, not goto-line.
14678 * mail/rmail.el (rmail-obsolete): Delete custom group.
14679 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
14680 (rmail-remote-password, rmail-remote-password-required):
14681 Remove unneeded :set-after and :set properties.
14683 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
14685 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
14687 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
14689 * loadup.el: Remove leftover macos code.
14691 * vc-git.el (vc-git-annotate-command): Run asynchronously.
14692 Explicitly pass the date format to git blame so that user local
14693 so that the output format can be parsed.
14695 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
14697 * net/dbus.el (top): Don't check for (getenv
14698 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
14700 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
14702 * log-edit.el (log-edit-strip-single-file-name): New var.
14703 (log-edit-insert-changelog): Use it. Bug#3571
14705 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14707 * subr.el (read-passwd): Use read-key so keypad keys work as well.
14710 * help.el (help-print-return-message): Rename from
14711 print-help-return-message.
14713 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
14714 cvs-mode-map parent hack.
14715 (log-view-mode): Derive from special-mode.
14717 * linum.el (linum-mode): window-size-change-functions is redundant.
14718 Adapt to new window-configuration-change-hook behavior.
14719 (linum-after-size, linum-after-config): Remove.
14721 * imenu.el (imenu-example--name-and-position)
14722 (imenu-example--lisp-extract-index-name)
14723 (imenu-example--create-lisp-index, imenu-example--create-c-index):
14726 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
14727 (inferior-prolog-mode): Use it.
14728 (inferior-prolog-load-file): Reset list of errors.
14730 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14732 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
14734 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
14736 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
14738 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
14739 is running already.
14741 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14743 * subr.el (listify-key-sequence-1): Use normal syntax since those
14744 integers are nowadays always represented by the same (positive) number
14746 (read-key-empty-map): New const.
14747 (read-key-delay): New var.
14748 (read-key): New function.
14749 (force-mode-line-update): Use with-current-buffer.
14750 (locate-user-emacs-file): Don't forget to abbreviate the file name.
14751 (start-process-shell-command, start-file-process-shell-command):
14752 Discourage the use of command-args.
14754 2009-08-19 Glenn Morris <rgm@gnu.org>
14756 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
14758 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
14760 * simple.el (choose-completion-string): Don't rely on
14761 minibuffer-completing-file-name and ad-hoc checks to decide whether
14762 to continue completion or not.
14764 * minibuffer.el (minibuffer-hide-completions): New function.
14765 (completion--do-completion): Use it.
14766 (completions-annotations): New face.
14767 (completion--insert-strings): Use it.
14768 (completion-pcm--delim-wild-regex): Add docstring.
14769 (completion-pcm--string->pattern): Add support for 0-width delimiters
14770 in completion-pcm--delim-wild-regex.
14772 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
14774 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
14775 Remove unused var `buffer-modified-p'.
14777 * minibuffer.el (completion--do-completion): Move point for the #b001
14778 case as well (bug#4176).
14779 (minibuffer-complete, minibuffer-complete-word): Don't move point.
14781 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
14783 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
14784 and :session buses.
14786 2009-08-18 Kenichi Handa <handa@m17n.org>
14788 * international/ucs-normalize.el (ucs-normalize-version):
14790 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
14791 (utf-8-hfs): Make it perform normalization on encoding too.
14793 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
14794 (sentence-end-without-space): Delete duplicated chars.
14795 (sentence-end-base): Likewise.
14797 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
14798 (html-mode): Delete duplicated chars from sentence-end-base.
14800 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
14801 (texinfo-mode): Delete duplicated chars from sentence-end-base.
14803 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
14805 * files.el (hack-one-local-variable): If the mode function is for
14806 a minor mode, pass it an argument (Bug#4148).
14808 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
14810 * net/tramp.el (tramp-register-completion-file-name-handler):
14811 Check also for (member 'partial-completion completion-styles).
14813 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14815 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
14818 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
14820 * progmodes/cperl-mode.el: Merge upstream 6.2.
14821 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
14822 (cperl-forward-re): Check cperl-brace-recursing.
14823 (cperl-highlight-charclass): New function.
14824 (cperl-find-pods-heres): Use it.
14825 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
14826 (cperl-beautify-regexp-piece): Fix column calculation.
14827 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
14828 (cperl-beautify-level): Don't process entire regexp.
14829 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
14831 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
14832 (cperl-init-faces): Build a list in the normal way.
14834 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14836 * calendar/parse-time.el (parse-time-string-chars): Save match
14839 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
14841 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
14842 (sql-product): Use it.
14843 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
14844 (sql-set-product): Add completion.
14845 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
14846 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
14847 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
14848 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
14849 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
14850 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
14851 (sql-highlight-db2-keywords): Remove.
14852 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
14853 (sql-highlight-product): Use derived-mode-p.
14854 (sql-set-sqli-buffer): Use with-current-buffer.
14855 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
14858 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
14860 * term.el: Fix commenting convention, turn comments into docstrings.
14862 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
14864 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
14866 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
14868 * calendar/parse-time.el (parse-time-string-chars): Compute using
14869 character classes, to handle non-ascii characters (Bug#3190).
14871 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
14873 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
14874 another heredoc if the user adds another < (Bug#3226).
14876 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
14877 Don't initialize based on window-system (Bug#4124).
14879 * facemenu.el (facemenu-read-color): Use a completion function
14880 that accepts any defined color, such as RGB triplets (Bug#3677).
14882 * files.el (get-free-disk-space): Change fallback default
14883 directory to /. Expand DIR argument before switching to fallback.
14884 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
14886 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14888 * files.el (load-library): Doc fix.
14890 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
14892 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
14893 (viper-if-string): Redefine C-s in the minibuffer to insert the last
14894 incremental search string.
14896 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
14899 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
14900 (ediff-merge-region-is-non-clash)
14901 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
14902 Also check if the job is really a merge job.
14904 * ediff.el (ediff-current-file): New function.
14906 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
14908 * progmodes/js.el: Edit docstrings throughout to follow Emacs
14910 (js-insert-and-indent): Delete function.
14911 (js-mode-map): Don't bind keys to js-insert-and-indent.
14912 (js-beginning-of-defun): Rename from js--beginning-of-defun.
14913 (js-end-of-defun): Rename from js--end-of-defun.
14914 (js-auto-indent-flag): Delete variable.
14916 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
14918 * progmodes/js.el: Remove proclaim statement.
14919 Defvar which-func-imenu-joiner-function to silence compiler.
14921 * files.el (auto-mode-alist): Use js-mode for .js files.
14923 * progmodes/js2-mode.el: Remove file.
14925 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
14927 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
14929 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
14931 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
14932 Karl Landstrom <karl.landstrom@brgeight.se>
14934 * progmodes/js.el: New file.
14936 2009-08-14 Mark A. Hershberger <mah@everybody.org>
14938 * timezone.el (timezone-parse-date): Add ability to understand ISO
14939 basic format (minimal separators) dates in addition to the
14940 already-supported extended format dates.
14942 2009-08-14 Eli Zaretskii <eliz@gnu.org>
14944 * international/ucs-normalize.el: Add a `coding' file variable.
14946 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
14948 2009-08-14 Sam Steingold <sds@gnu.org>
14950 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
14952 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
14954 * faces.el (help-argument-name): Define it here instead of
14955 help-fns.el, because in daemon mode help-fns.el may be loaded when
14956 faces are still uninitialized (Bug#1078).
14958 * help-fns.el (help-argument-name): Move defface to faces.el.
14960 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
14962 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
14963 create buffer with a pty but no process so that GDB can make the
14964 inferior the controlling process.
14966 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
14968 * international/ucs-normalize.el: New file.
14970 2009-08-13 Richard Stallman <rms@gnu.org>
14972 * mail/rmail.el (rmail-get-attr-names):
14973 Accept an attribute header that is too short.
14975 * mail/rmail.el (rmail-forget-messages):
14976 Ignore nil elt in rmail-message-vector. Use dotimes.
14978 * progmodes/compile.el (compilation-goto-locus):
14979 Use next-error-move-function.
14981 * simple.el (next-error-move-function): New variable.
14983 2009-08-12 Juri Linkov <juri@jurta.org>
14985 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
14986 always non-nil. (Bug#4052)
14988 * replace.el (read-regexp): Return empty string when
14989 `default-value' is nil.
14990 (keep-lines-read-args): Don't use empty string as the
14991 default value for `read-regexp'. (Bug#2495)
14993 2009-08-12 Juri Linkov <juri@jurta.org>
14995 * international/mule-cmds.el (ucs-insert): Change arguments
14996 from `arg' to `character', `count', `inherit' to be the same
14997 as in `insert-char'. Doc fix. (Bug#4039)
14999 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15001 2009-08-12 Juri Linkov <juri@jurta.org>
15003 * files-x.el: New file.
15005 * files.el: Move code that deals with adding/deleting
15006 file/directory-local variables to files-x.el.
15008 * Makefile.in (ELCFILES): Add files-x.elc.
15010 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15012 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15013 to use `goto-line'.
15014 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15016 (gdb-invalidate-disassembly): Do not refresh upon receiving
15017 'update signal. Instead, update all disassembly buffers only after
15019 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15020 (gdb-starting): Moved -data-list-register-names...
15021 (gdb-stopped): ...here so it's sent when first thread stops.
15022 (gdb-registers-handler-custom): Do nothing if register names are
15025 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15026 from `gdb-mi.el' to avoid extra tangling.
15028 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15029 change which breaks `gud-def' definitions used in `gdb'.
15030 (gdb-update-gud-running): No extra fuss for updating frame number.
15032 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15034 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15035 (describe-language-environment-map, setup-language-environment-map)
15036 (set-coding-system-map): Move initialization into declaration.
15037 (set-language-info-alist): Last arg to define-key-after can be skipped.
15039 * international/quail.el (quail-completion-1): Simplify.
15040 (quail-define-rules): Use slightly more compact code.
15041 (quail-insert-decode-map): Propertize keys, compact columns.
15043 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15046 2009-08-10 Miles Bader <miles@gnu.org>
15048 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15049 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15050 (js2-instance-member, js2-private-member, js2-private-function-call)
15051 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15052 (js2-magic-paren, js2-external-variable):
15053 Remove "-face" suffix from face names.
15054 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15055 (js2-highlight-undeclared-vars, js2-peek-token)
15056 (js2-parse-function-params, js2-mode-show-errors)
15057 (js2-mode-show-warnings, js2-make-magic-delimiter)
15058 (js2-mode-highlight-magic-parens): Update to use new face names.
15060 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15062 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15063 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15065 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15067 * subr.el: Provide hashtable-print-readable.
15069 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15070 hs-c-like-adjust-block-beginning.
15071 (hs-hide-block-at-point): Stop hiding at the beginning of
15072 hs-block-end-regexp (Bug#700).
15074 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15076 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15078 (gdb-registers-handler-custom): Do not fail when register names
15081 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15083 * progmodes/gdb-mi.el (gdb-control-all-threads)
15084 (gdb-control-current-thread): Interactive setters for
15085 `gdb-gud-control-all-threads' to use in menu.
15086 (gdb-show-run-p): Show «Go» when process is not active.
15087 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15088 gud/thread.xpm and gud/all.xpm.
15090 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15092 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15093 (nslookup-font-lock-keywords): Make it a variable.
15094 (net-utils-mode): New mode for viewing diagnostic network output.
15095 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15096 (net-utils-run-simple): New function.
15097 (ifconfig, iwconfig, netstat, arp, route): Use it.
15099 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15101 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15102 (gdb-memory-set-address, def-gdb-set-positive-number)
15103 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15104 after changing settings.
15105 (gdb-invalidate-disassembly): Update when first shown.
15106 (gdb-edit-locals-value): Fixed.
15107 (gdb-registers-handler-custom): Print registers in right order and
15108 allow changing register values (only for current thread yet).
15109 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15110 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15111 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15112 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15114 (gdb-registers-mode-map): TAB to switch to locals.
15116 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15118 * mail/rmail.el (rmail-add-mbox-headers)
15119 (rmail-set-message-counters-counter): Search for
15120 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15122 2009-08-08 Glenn Morris <rgm@gnu.org>
15124 * Makefile.in (ELCFILES): Update.
15126 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15128 * mail/sendmail.el (mail-yank-original): Set
15129 buffer-file-coding-system from the one used by the message whose
15132 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15133 to "windows" when "pgnuplot" is used.
15134 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15135 call accept-process-output if "pgnuplot" is used.
15136 (calc-graph-init): Don't send -display and -geometry to
15137 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15138 running "pgnuplot -V" with shell-command-to-string.
15140 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15143 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15145 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15148 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15150 * vc-dispatcher.el (vc-resynch-window): Update comment.
15152 * term.el (term-handle-ansi-escape): Add comments with the
15153 terminfo capabilities implemented.
15155 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15157 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15158 (gdb-var-create-handler): Rewritten using JSON parser.
15159 (gdb-propertize-header): Moved earlier.
15160 (gdb-set-header): Removed to avoid duplication.
15161 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15162 Refresh disassembly buffers only after threads list have been
15164 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15167 2009-08-04 Juri Linkov <juri@jurta.org>
15169 * files.el: Commands to add/delete file/directory-local variables.
15170 (read-file-local-variable, read-file-local-variable-value)
15171 (read-file-local-variable-mode, modify-file-local-variable)
15172 (modify-file-local-variable-prop-line)
15173 (modify-dir-local-variable): New functions.
15174 (add-file-local-variable, delete-file-local-variable)
15175 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15176 (add-dir-local-variable, delete-dir-local-variable)
15177 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15178 (copy-dir-locals-to-file-locals-prop-line): New commands.
15180 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15182 * abbrev.el (insert-abbrev-table-description): Prettify output.
15183 Suggested by Karl Chen.
15185 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15187 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15188 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15189 (gdb-overlay-arrow-position, gdb-thread-position)
15190 (gdb-disassembly-position): Declare variables.
15191 (gdb-wait-for-pending): Function now.
15192 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15193 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15194 compilation goes smoothly.
15195 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15196 (gdb-non-stop-setting): New customization setting which replaces
15197 `gdb-non-stop' so changing it doesn't break active GDB session.
15198 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15199 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15200 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15201 (gdb-show-threads-by-default): New customization options.
15202 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15204 (gdb-get-buffer-create): Send buffers update signal when they are
15206 (gdb-invalidate-locals, gdb-invalidate-registers)
15207 (gdb-invalidate-breakpoints)
15208 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15209 (gdb-invalidate-memory): Accept update signal.
15210 (gdb-current-context-command): Use --frame option.
15211 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15212 Implement `gdb-frame-number' selection logic.
15213 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15214 whether to show GUD toolbar buttons.
15215 (gdb-thread-exited): Unselect current thread when it exits.
15216 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15217 (gdb-mark-line): Routine which sets overlay arrow or inverses
15218 video on fringeless displays.
15219 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15220 to build aligned columns of data in GDB buffers and set text
15221 properties line-by-line.
15222 (gdb-invalidate-breakpoints)
15223 (gdb-breakpoints-list-handler-custom)
15224 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15225 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15226 (gdb-registers-handler-custom): Align data columns.
15227 (gdb-locals-handler-custom): Now prints data like in variable
15229 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15230 Removed confusing buttons.
15231 (gdb-invalidate-threads): Append --frame.
15232 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15233 between breakpoints/threads buffers.
15234 (gdb-set-window-buffer): Now can ignore dedicated windows.
15235 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15236 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15237 (def-gdb-thread-buffer-gud-command): Replaces
15238 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15239 for fine thread control.
15240 (gdb-preempt-existing-or-display-buffer): New function used to
15241 display bound buffers without breaking window layout.
15242 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15243 (gdb-select-frame): New version of `gdb-frames-select' which now
15244 sets `gdb-frame-number' so commands may use --frame option instead
15245 of inner debugger state.
15246 (gdb-frame-handler): Do not set `gdb-frame-number'.
15247 (gdb-threads-mode-map): Select threads with mouse.
15249 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15250 avoid compilation warning.
15251 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15254 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15255 Argument `key' renamed to `buffer-type'.
15256 (gdb-current-context-buffer-name): Do not add thread info to
15257 buffer name when no thread is selected.
15258 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15259 command (bug 3794).
15260 (gdb-thread-selected): Handle `=thread-selected' notification.
15261 (gdb-wait-for-pending): New macro to deal with congestion problems.
15262 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15264 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15265 This fixes problem similar to one described in bug 3947.
15266 (gud-menu-map): More menu items.
15267 (gdb-init-1): Reset `gdb-thread-number' to nil.
15269 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15272 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15273 (gdb-current-context-command): Do not append --thread if
15274 `gdb-thread-number' is nil.
15275 (gdb-running-threads-count, gdb-stopped-threads-count): New
15277 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15278 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15279 customization options.
15280 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15282 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15283 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15284 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15285 set `gdb-thread-number' and update `gud-running' properly.
15286 (gdb-running): Update threads list when new threads appear.
15287 (gdb-stopped): Support non-stop operation and new thread switching
15289 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15290 (gdb-json-partial-output): New set of JSON routines.
15291 (def-gdb-auto-update-trigger): New `signal-list' optional
15293 (gdb-thread-list-handler-custom): Update `gud-running',
15294 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15295 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15296 (gdb-continue-thread, gdb-step-thread): New commands for fine
15297 thread execution control.
15298 (gud-menu-map): New menu items to switch non-stop options.
15299 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15300 (gdb-send): Mimic RET properly (bug 3794).
15302 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15303 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15305 (def-gdb-auto-update-handler): New nopreserve optional argument.
15306 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15308 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15309 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15310 (gdb-parent-mode): New mode to derive other GDB modes from.
15311 (gdb-display-disassembly-for-thread)
15312 (gdb-frame-disassembly-for-thread): New commands for threads
15315 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15316 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15317 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15318 (gdb-update): We now store all GDB buffers in a list so that they
15319 can be updated by traversing a list instead of calling invalidate
15320 triggers explicitly.
15321 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15322 pair for GDB buffer.
15323 (gdb-stack-buffer-name): Add thread information.
15324 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15325 handle pending triggers.
15326 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15327 (def-gdb-thread-buffer-simple-command)
15328 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15329 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15330 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15331 New commands which show buffers bound to thread.
15332 (gdb-stack-list-locals-regexp): Removed unused regexp.
15334 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15335 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15336 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15337 to (gud-comint-buffer) in *-buffer-name functions
15338 because (gdb-get-target-string) already does that.
15339 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15340 (gdb-changed-registers-handler): Rewritten without regexps.
15342 * progmodes/gdb-mi.el: Basic thread selection support.
15343 (gdb-thread-number): New variable.
15344 (gdb-current-context-command): New macro which adds --thread
15346 (gdb-threads-mode-map): Select thread with SPC.
15347 (gdb-thread-list-handler-custom): Mark current thread with overlay
15348 arrow. Synchronize GDB thread and Emacs thread.
15349 (gdb-select-thread): New command which selects current thread.
15350 (gdb-invalidate-frames, gdb-invalidate-locals)
15351 (gdb-invalidate-registers): Use --thread option.
15353 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15355 * net/tramp.el (top): Make check for tramp-gvfs loading more
15357 (tramp-handle-insert-file-contents): `unwind-protect' must be
15358 inside `with-parsed-tramp-file-name'.
15360 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15363 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15365 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15366 directory if CLASSPATH is not set.
15368 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15370 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15372 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15374 2009-08-02 Kevin Ryde <user42@zip.com.au>
15376 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15377 Update freshmeat link. Delete newsforge.com as it seems gone.
15379 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15381 * select.el (x-set-selection): Doc fix (Bug#4021).
15383 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15385 * help-fns.el (describe-variable): Treat list return values from
15386 dir-locals-find-file properly (Bug#4005).
15388 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15390 * net/tramp.el (tramp-debug-message): Print also microseconds.
15392 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15394 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15396 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15397 (tramp-get-debug-buffer): Change `outline-regexp' according to new
15400 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15401 (tramp-get-file-property): Use it.
15403 * autorevert.el (auto-revert-handler): Allow
15404 `auto-revert-tail-mode' for remote files.
15406 2009-08-02 Jason Rumney <jasonr@gnu.org>
15408 * minibuffer.el (read-file-name): Treat confirm options to
15409 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
15411 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15413 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15414 (font-lock-variable-name-face, font-lock-constant-face): Darken
15415 the colors for light backgrounds.
15417 2009-08-01 Eli Zaretskii <eliz@gnu.org>
15419 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15420 month names. (Bug#3987)
15422 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
15424 * simple.el (line-move-finish): Pass whole number to
15425 line-move-to-column.
15426 (line-move-visual): Perform hscroll to the recorded position.
15428 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
15430 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15432 2009-07-29 Alan Mackenzie <acm@muc.de>
15434 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15436 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
15438 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15439 (gdb-place-breakpoints): Use full path when setting breakpoints.
15441 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
15443 * calc/calc.el (calc-mode-map): Add keybinding for
15444 `calc-transpose-lines'.
15446 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
15448 * calc/calc-misc.el (calc-transpose-lines): New function.
15450 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
15452 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15453 Simplify check for out-of-band methods.
15454 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15455 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
15457 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
15459 * vc-git.el (vc-git-checkin): Fix typo.
15461 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
15463 * progmodes/js2-mode.el: New file.
15465 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
15467 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15468 (gud-menu-map): Adjust tooltip accordingly.
15470 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
15472 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15473 (vc-bzr-log-view-mode): Adjust log-view-file-re.
15475 * add-log.el (change-log-mode-map): Add a menu.
15477 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
15479 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15480 function returns nil.
15481 (dbus-handle-event): Handle special return value :ignore.
15482 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15484 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
15486 * view.el (view-mode-enable): Don't define Helper-return-blurb if
15489 2009-07-25 Eli Zaretskii <eliz@gnu.org>
15493 * w32-vars.el (x-select-enable-clipboard): Doc fix.
15495 * term/pc-win.el (x-display-name, x-colors)
15496 (x-select-enable-clipboard, x-select-text): Doc fix.
15498 * term/common-win.el (x-display-name, x-colors): Doc fix.
15500 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15501 (xw-defined-colors): Doc fix.
15503 * w32-fns.el (x-select-text, x-setup-function-keys)
15504 (x-get-selection, x-set-selection): Doc fix.
15506 * term/x-win.el (x-select-text, x-setup-function-keys)
15507 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15509 * select.el (x-set-selection): Doc fix.
15511 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
15513 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15514 instead of "IsNSSSupportAvailable". Avahi ought to work also when
15515 "IsNSSSupportAvailable" method is not available. Reported by
15516 Steve Youngs <steve@sxemacs.org>.
15518 2009-07-24 Kenichi Handa <handa@m17n.org>
15520 * international/characters.el: Fix setting of category ?C, ?|, ?K,
15521 and ?H. Fix setting of case for Latin Extended and Greek Extended.
15522 (build-unicode-category-table): Fix range checks.
15524 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
15526 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
15527 the buffer we try to sync is current when calling
15530 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
15531 not show up to date files.
15533 2009-07-24 Glenn Morris <rgm@gnu.org>
15535 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
15536 Add autoload cookies. If necessary, initialize.
15537 (elint-log): Handle non-file buffers.
15538 (elint-initialize): Add optional argument to reinitialize.
15539 (elint-find-builtin-variables): Save excursion.
15541 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
15543 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
15546 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
15548 * vc.el (vc-print-log-internal): New function, split out from ...
15549 (vc-print-log): ... here.
15550 (vc-dir-move-to-goal-column): Declare.
15552 * vc-git.el (vc-git-add-signoff): New variable.
15553 (vc-git-checkin): Use it.
15554 (vc-git-toggle-signoff): New function.
15555 (vc-git-extra-menu-map): Bind it to menu.
15556 (vc-git--run-command-string): Accept a nil FILE argument.
15557 (vc-git-stash-list): New function.
15558 (vc-git-dir-extra-headers): Use it.
15560 2009-07-23 Glenn Morris <rgm@gnu.org>
15562 * help-fns.el (describe-variable): Describe ignored and risky local
15563 variables in a similar way to that in which we describe safe ones.
15565 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
15566 (byte-compile-output-file-form, byte-compile-output-docform)
15567 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
15568 Give some more local variables with common names a "bytecomp-" prefix,
15569 so as not to shadow things during compilation.
15570 * emacs-lisp/cl-macs.el (load-time-value)
15571 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
15572 `outbuffer' to `bytecomp-outbuffer'.
15574 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
15575 since the next two variables cover them automatically now.
15576 (elint-builtin-variables, elint-autoloaded-variables): New.
15577 (elint-unknown-builtin-args): Remove all members, since they can be
15578 parsed automatically now.
15579 (elint-extra-errors): New.
15580 (elint-env-add-env, elint-env-add-macro): Use cadr.
15581 (elint-current-buffer): Use or. Change final message.
15582 (elint-get-top-forms): Use line-end-position.
15583 (elint-init-env): Use cadr. Handle autoload, declare-function,
15585 (elint-add-required-env): Doc fix. Use or. Standardize error.
15586 (regexp-assoc): Remove unused function.
15587 (elint-top-form): Set elint-current-pos, to record the start of the
15588 top-level form, for compilation-mode.
15589 (elint-form): Trap errors in macro expansion. Use dolist.
15590 (elint-unbound-variable): Use elint-builtin-variables and
15591 elint-autoloaded-variables.
15592 (elint-get-args): Use cadr, or.
15593 (elint-check-cond-form): Use dolist, cadr.
15594 (elint-check-condition-case-form): Doc fix. Use cadr.
15595 Use elint-extra-errors.
15596 (elint-log): New function.
15597 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
15598 Distinguish errors and warnings.
15599 (elint-log-message): Use with-current-buffer. Inhibit read-only.
15600 Use a bytecomp-style format.
15601 (elint-clear-log): Preserve default-directory. Inhibit read-only.
15602 (elint-get-log-buffer): Use compilation mode. Disable undo.
15603 Don't truncate lines.
15604 (elint-initialize): Set builtin and autoloaded variable lists.
15605 Only process elint-unknown-builtin-args if non-nil.
15606 (elint-find-builtin-variables, elint-find-autoloaded-variables):
15608 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
15610 2009-07-22 Kevin Ryde <user42@zip.com.au>
15612 * net/newst-backend.el (newsticker--parse-atom-1.0)
15613 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
15614 (newsticker--parse-rss-1.0):
15615 * progmodes/idlwave.el (idlwave-mode):
15616 * progmodes/idlw-shell.el (idlwave-shell-mode):
15617 * progmodes/vera-mode.el (vera-mode):
15618 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
15619 * progmodes/vhdl-mode.el (vhdl-mode):
15620 * textmodes/table.el (table-generate-source)
15621 (table--warn-incompatibility):
15622 Hyperlink urls in docstrings with URL `...'.
15624 2009-07-22 Glenn Morris <rgm@gnu.org>
15626 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
15627 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
15628 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
15629 Remove leading * from defcustom docs.
15631 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
15633 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
15635 (list-load-path-shadows): Optionally, just return shadows as a string.
15637 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
15639 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
15641 * mail/rmailedit.el (rmail-edit-mode): Use
15642 auto-save-include-big-deletions.
15644 * mail/rmail.el (rmail-variables): Use
15645 auto-save-include-big-deletions.
15647 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
15650 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
15652 * calc/calc.el (calc-undo-length): New variable.
15653 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
15655 2009-07-21 Richard Stallman <rms@gnu.org>
15657 * files.el (auto-save-mode): Handle buffer-save-size = -2
15660 2009-07-21 Glenn Morris <rgm@gnu.org>
15662 * textmodes/ispell.el (ispell-looking-back): Update declaration.
15664 * calendar/todo-mode.el (calendar-current-date): Update declaration.
15666 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
15667 silence compiler. Instead...
15668 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
15669 (ps-print-ensure-fontified): Update for above function name changes.
15671 * printing.el (pr-mh-get-msg-num, pr-mh-show)
15672 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
15673 silence compiler. Instead...
15674 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
15675 (mh-show-buffer): Only define for compiler.
15676 (pr-mh-current-message): Update for above function name changes.
15678 * files.el (abort-if-file-too-large): Explicitly pass `filename'
15680 (find-file-noselect, insert-file-1): Update for above change.
15682 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
15684 * mail/mailclient.el (mailclient-send-it): Fix message.
15686 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
15687 (edebug-eval): Check cl-debug-env is bound.
15688 (print-level, print-circle): Don't redefine built-in variables.
15690 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
15691 (custom-print-vectors): Remove old comments from doc.
15693 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
15694 (emerge-version): Make the variable an obsolete alias for the
15695 emacs-version variable. Make the function obsolete.
15696 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
15697 Emerge options, rather than merging in into the main Options menu.
15698 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
15699 and auto advance modes. Disable edit/fast items when not relevant.
15701 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
15703 * term/vt420.el (terminal-init-vt420): Fix typo.
15705 2009-07-20 Sam Steingold <sds@gnu.org>
15707 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
15708 variable (removed from compile.el on 2004-03-11).
15710 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
15712 * files.el (hack-local-variables-filter): Fix last change.
15714 2009-07-19 Juri Linkov <juri@jurta.org>
15716 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
15717 (dir-local-variables-alist): New buffer-local variable.
15718 (hack-local-variables-filter): If variable is not dir-local,
15719 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
15720 because file-local overrides dir-local.
15721 (c-postprocess-file-styles) <declare-function>:
15722 Remove obsolete declaration.
15723 (hack-dir-local-variables): Add dir-local variable/value pair to
15724 `dir-local-variables-alist' and remove duplicates. Doc fix.
15726 * help-fns.el (describe-variable): Add information about
15727 file-local and dir-local variables.
15729 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
15731 * files.el (hack-local-variables-filter): Rewrite.
15733 2009-07-19 Glenn Morris <rgm@gnu.org>
15735 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
15736 Silence compiler by only defining on XEmacs.
15738 * international/mule.el (auto-coding-regexp-alist): Only match
15739 BABYL... at the start of buffer, not of lines. (Bug#3790)
15741 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
15742 non-calendar buffers (Bug#3862). Restore "not on a date" message.
15743 (cal-menu-context-mouse-menu): Doc fix.
15745 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
15747 * simple.el (mail-user-agent): Doc fix. Set :version tag.
15749 2009-07-18 Juri Linkov <juri@jurta.org>
15751 * info.el: Virtual Info keyword finder.
15752 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
15753 (Info-finder-file): New variable.
15754 (Info-finder-find-file): New function.
15755 (finder-known-keywords, finder-package-info)
15756 (find-library-name, lm-commentary): Use defvar and
15757 declare-function to silence compiler warnings.
15758 (Info-finder-find-node): New function.
15759 (info-finder): New command.
15761 * subr.el (process-kill-buffer-query-function): New function.
15762 (add-hook)<kill-buffer-query-functions>: Add hook
15763 `process-kill-buffer-query-function'.
15765 2009-07-18 Alan Mackenzie <acm@muc.de>
15767 * progmodes/cc-mode.el (c-before-hack-hook)
15768 (c-postprocess-file-styles): Give invocation of `c-set-style'
15769 DONT-OVERRIDE parameter of t. Already set style variables will
15770 thus not be overridden by style settings given by `c-file-syle'.
15772 * files.el (hack-local-variables-filter): Remove entries with
15773 duplicate keys from `file-local-variables-alist'.
15775 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15777 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
15778 x-set-selection if display-selections-p returns nil for the
15781 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
15783 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
15785 2009-07-18 Eli Zaretskii <eliz@gnu.org>
15787 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
15788 Accept nil in addition to a regexp.
15789 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
15790 Accept nil in addition to a regexp.
15791 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
15792 buffers that have an associated file. Handle nil values of
15793 desktop-buffers-not-to-save and desktop-files-not-to-save.
15796 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15797 (x-disown-selection-internal): New functions.
15799 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
15801 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
15803 (gdb-breakpoints-header): Move forward to avoid compiler warning.
15804 (gdb-make-header-line-mouse-map): Remove duplicate definition.
15806 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
15808 * simple.el (set-mark): Revert last change.
15810 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
15812 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
15813 rendering of pngs is not possible instead of messaging a long
15816 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
15818 * w32-fns.el (x-selection-owner-p): New function.
15820 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
15821 (mouse-yank-at-click, mouse-yank-primary): If
15822 select-active-regions is non-nil, deactivate the mark before
15825 * simple.el (deactivate-mark, set-mark): Only save selection if we
15828 2009-07-17 Kenichi Handa <handa@m17n.org>
15830 * case-table.el (describe-buffer-case-table): Fix for the case
15831 that KEY is a cons.
15833 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
15835 * vc-rcs.el (vc-rcs-find-file-hook):
15836 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
15838 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
15840 * net/tramp.el (tramp-wait-for-output): Handle the case when
15841 commands do not return a newline but a null byte before the shell
15844 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15846 * term/ns-win.el (ns-set-alpha): Don't declare.
15847 (ns-set-background-alpha): Remove function.
15849 2009-07-16 Kevin Ryde <user42@zip.com.au>
15851 * emacs-lisp/copyright.el (copyright-update): Save match-data across
15852 y-or-n-p, for safety.
15854 2009-07-16 Richard Stallman <rms@gnu.org>
15856 * files.el (auto-save-mode): If buffer-saved-size is -2,
15859 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
15860 (rmail-retry-ignored-headers): Add more uninteresting fields.
15862 2009-07-15 Jari Aalto <jari.aalto@cante.net>
15864 * net/rcirc.el (rcirc): Use history variables.
15865 (rcirc-server-name-history, rcirc-nick-name-history)
15866 (rcirc-server-port-history): New variables.
15868 2009-07-15 Kenichi Handa <handa@m17n.org>
15870 * international/mule-cmds.el (set-language-environment-charset):
15871 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
15874 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
15875 Delete unibyte-display.
15877 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15879 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
15881 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
15883 * simple.el (deactivate-mark): Optional argument FORCE.
15884 (set-mark): Use deactivate-mark.
15886 * info.el (Info-search): No need to check transient-mark-mode
15887 before calling deactivate-mark.
15889 * select.el (x-set-selection): Doc fix.
15890 (x-valid-simple-selection-p): Allow buffer values.
15891 (xselect--selection-bounds): Handle buffer values. Suggested by
15892 David De La Harpe Golden.
15894 * mouse.el (mouse-set-region, mouse-drag-track): Call
15895 copy-region-as-kill before setting the mark, to let
15896 select-active-regions work.
15898 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
15900 * simple.el (deactivate-mark): If select-active-regions is
15901 non-nil, copy the selection data into a string.
15902 (activate-mark): If select-active-regions is non-nil, set the
15903 selection to the current buffer.
15904 (set-mark): Update selection if select-active-regions is non-nil.
15906 * select.el (x-valid-simple-selection-p): Allow buffer values.
15908 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
15910 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
15911 and more featureful message-mode.
15913 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
15915 * select.el (x-set-selection): Doc fix.
15916 (x-valid-simple-selection-p): Disallow selection data consisting
15917 of a list or cons of integers, since that is not used.
15918 (xselect--selection-bounds, xselect--int-to-cons): New functions.
15919 (xselect-convert-to-string, xselect-convert-to-length)
15920 (xselect-convert-to-filename, xselect-convert-to-charpos)
15921 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
15923 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
15925 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
15926 output in -break-info command (Emacs bug #3794).
15928 2009-07-14 Glenn Morris <rgm@gnu.org>
15930 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
15931 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
15932 (edebug-print-length, edebug-print-level, edebug-print-circle)
15933 (edebug-sit-for-seconds, edebug-view-outside)
15934 (edebug-bounce-point, edebug-set-global-break-condition)
15935 (edebug-Go-nonstop-mode, edebug-trace-mode)
15936 (edebug-Trace-fast-mode, edebug-continue-mode)
15937 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
15938 (edebug-visit-eval-list): Doc fixes.
15940 * subr.el (def-edebug-spec): Doc fix.
15942 2009-07-14 Kenichi Handa <handa@m17n.org>
15944 * international/characters.el: Fix setting of category ?C.
15946 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
15948 * term/ns-win.el (x-select-font): defalias x-select-font to
15949 ns-popup-font-panel instead of generate-fontset-menu.
15951 2009-07-12 Eli Zaretskii <eliz@gnu.org>
15953 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
15955 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
15957 * arc-mode.el (archive-find-type): Allow for a PK00 string before
15958 the PK\003\004 header (Bug#3770).
15960 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
15962 * pcomplete.el (pcomplete-comint-setup): Check for
15963 shell-dynamic-complete-filename too.
15965 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
15967 * simple.el (temporary-goal-column): Change the value for
15968 line-move-visual to a cons cell.
15969 (line-move-visual): Record or set the window hscroll, if
15970 necessary (Bug#3494).
15971 (line-move-1): Handle cons value of temporary-goal-column.
15973 2009-07-11 Kenichi Handa <handa@m17n.org>
15975 * international/mule-diag.el (describe-character-set): Don't show
15978 2009-07-10 Sam Steingold <sds@gnu.org>
15980 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15981 Omake sometimes indents the errors it prints, so allow all
15982 regexps to start with spaces.
15984 2009-07-10 Eli Zaretskii <eliz@gnu.org>
15986 * cus-edit.el (customize-changed-options-previous-release):
15987 Bump value to 22.1. (Bug#3804)
15989 2009-07-08 Sam Steingold <sds@gnu.org>
15991 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
15992 to be a cons cell (test . ignored-directory) to selectively ignore
15993 some directories depending on the location of the search.
15995 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
15997 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
15998 remote user is root, on the local host.
15999 (tramp-local-host-p): Either the local user or the remote user
16000 must be root. (Bug#3771)
16002 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16004 * progmodes/gdb-mi.el (gdb): Remove description of
16005 gdb-use-separate-io-buffer.
16006 (menu): Don't allow toggling of or enable
16007 gdb-use-separate-io-buffer from menubar.
16009 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16011 * mail/unrmail.el (unrmail): Make sure the message ends with two
16012 newlines (Bug#3769).
16014 2009-07-08 Glenn Morris <rgm@gnu.org>
16016 * calendar/calendar.el (calendar-current-date): Rework previous change.
16018 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16020 * calendar/calendar.el (calendar-current-date):
16021 Add an optional argument giving an offset from today.
16023 2009-07-08 Glenn Morris <rgm@gnu.org>
16025 * tutorial.el (tutorial--describe-nonstandard-key):
16026 Adjust the message for when a key has been unbound.
16027 (help-with-tutorial): Hide the arch-tag.
16029 2009-07-08 Kenichi Handa <handa@m17n.org>
16031 * international/fontset.el (setup-default-fontset): For each
16032 script, append (not set) font-specs.
16034 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16037 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16039 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16040 -data-list-register-names to ...
16041 (gdb-starting): ... here because GDB 7.0 requires execution to
16042 have started when using this MI command.
16043 (gdb-set-header): New function to distinguish select and
16044 unselected tabs in gdb buffers.
16045 (gdb-propertize-header): New macro that uses gdb-set-header.
16046 (gdb-breakpoints-header, gdb-locals-header): Use it.
16047 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16049 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16051 * Makefile.in (ELCFILES): Remove fadr.elc.
16053 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16055 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16056 may contain frame information, so `string-match' should be used.
16057 (gdb-update): Disassembly is invalidated through
16058 `gdb-get-selected-frame'.
16059 (gdb-pad-string): New function to pad string with spaces.
16060 (gdb-invalidate-disassembly): Invalidate only if the buffer
16062 (gdb-disassembly-handler-custom): Column alignment.
16063 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16065 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16067 (gdb-frame-handler): Match convention to for disassembly buffer
16069 (gdb-stack-list-frames-handler): Rewritten without regexps.
16070 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16071 not highlight breakpoints without line information.
16072 (gdb-input): Add trailing newline to command.
16074 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16076 (gdb-breakpoints-list-handler-custom): Replacement for
16077 `gdb-break-list-handler'. Using real parser instead of regexps
16079 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16080 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16081 to place breakpoints.
16082 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16084 (gdb-disassembly-handler-custom): Show overlay arrow.
16085 (gdb-disassembly-place-breakpoints): Show breakpoints in
16086 disassembly buffer.
16087 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16088 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16089 instead of parsing breakpoints buffer. Fixed old menu references
16094 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16095 (gdb-memory-address): New variable which holds top address of
16096 memory page shown in memory buffer.
16097 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16098 customization variables.
16100 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16101 display the memory buffer.
16102 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16103 buffer display parameters.
16104 (def-gdb-memory-format, gdb-memory-format-binary)
16105 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16106 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16107 Functions for setting memory buffer format.
16108 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16109 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16110 unit size used in memory buffer.
16111 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16112 to next/previous page of memory buffer.
16113 Now using (bindat-get-field) instead of fadr functions.
16115 2009-07-07 Sam Steingold <sds@gnu.org>
16117 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16118 non-top-level files.
16120 2009-07-07 Kenichi Handa <handa@m17n.org>
16122 * international/mule-cmds.el (reset-language-environment): Put
16123 the highset priority to the charset iso-8859-1.
16125 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16127 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16128 to the end of the line when locating the block (Bug#700).
16130 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16132 * net/tramp.el (tramp-handle-write-region): Flush file properties
16133 in case of short track.
16135 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16137 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16138 Coded custom representation of verilog error regular expressions
16139 to work with Emacs-22's new format.
16140 (verilog-error-regexp-xemacs-alist): Coded custom representation
16141 of verilog error regular expressions to work with XEmacs format.
16142 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16143 error recognition into XEmacs.
16144 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16145 error recognition into Emacs-22.
16147 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16149 * woman.el: Remove stand-alone closing parentheses.
16150 (woman-file-name, woman2-format-paragraphs)
16151 (woman-leave-blank-lines): Code cleanup.
16152 (woman-use-own-frame): Change default to nil.
16153 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16154 defaults to inherit from default faces.
16155 (woman2-process-escapes): Consume the newline after a stand-alone
16156 filler character (Bug#3651).
16158 2009-07-06 Glenn Morris <rgm@gnu.org>
16160 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16161 (top-level): Move provide to the end.
16162 (ffap): Remove defunct URL from custom group.
16164 * subr.el (eval-after-load): Doc fix.
16166 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16168 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16169 `calc-embedded-word' is called twice.
16171 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16173 * files.el (find-alternate-file-other-window, find-alternate-file):
16174 Obey confirm-nonexistent-file-or-buffer.
16176 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16178 * dired-aux.el (dired-show-file-type): Handle remote files.
16180 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16182 * desktop.el (desktop-globals-to-save):
16183 Add file-name-history (Bug#2750).
16185 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16187 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16189 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16191 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16192 property on entire argument since this is what eshell-lisp-command
16195 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16197 * net/tramp-gvfs.el (tramp-gvfs-methods)
16198 (tramp-gvfs-zeroconf-domain)
16199 (tramp-bluez-discover-devices-timeout): Add version flag.
16200 (tramp-gvfs-handler-mounted-unmounted)
16201 (tramp-gvfs-connection-mounted-p): Polish handling of
16202 incompatibilities between GVFS 0.2 and 1.0.
16204 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16206 * cus-start.el (all): Add make-pointer-invisible.
16208 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16210 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16211 formatted correctly.
16213 2009-07-02 Juri Linkov <juri@jurta.org>
16215 * info.el: Virtual Info files and nodes.
16216 (Info-virtual-files, Info-virtual-nodes): New variables.
16217 (Info-current-node-virtual): New variable.
16218 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16220 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16221 to check for a virtual file instead of checking a fixed list
16223 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16224 instead of ad-hoc processing of "dir" and (apropos history toc).
16225 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16226 instead of ad-hoc processing of "dir" and (apropos history toc).
16227 Reread a file when moving from a virtual node.
16228 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16229 (Info-directory-toc-nodes, Info-directory-find-file)
16230 (Info-directory-find-node): New functions.
16231 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16232 (Info-history): Move part of code to
16233 `Info-history-find-node'.
16234 (Info-history-toc-nodes, Info-history-find-file)
16235 (Info-history-find-node): New functions.
16236 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16237 (Info-toc): Move part of code to `Info-toc-find-node'.
16238 (Info-toc-find-node): New function.
16239 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16240 the current Info file name to references because now the node
16241 "*TOC*" belongs to the same Info manual.
16242 (Info-toc-build): Rename from `Info-build-toc'.
16243 (Info-toc-nodes): Rename input argument `file' to `filename'.
16244 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16245 instead of ad-hoc processing of ("dir" apropos history toc).
16246 (Info-index-nodes): Use Info-virtual-file-p
16247 to check for a virtual file instead of checking a fixed list
16249 (Info-index-node): Add check for `Info-current-node-virtual'.
16250 Raise `save-match-data' higher up the tree to contain
16251 `search-forward' too (bug fix).
16252 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16253 (Info-virtual-index-nodes): New variable.
16254 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16255 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16256 (Info-apropos-file, Info-apropos-nodes): New variables.
16257 (Info-apropos-toc-nodes, Info-apropos-find-file)
16258 (Info-apropos-find-node, Info-apropos-matches): New functions.
16259 (info-apropos): Move part of code to `Info-apropos-find-node' and
16260 `Info-apropos-matches'.
16261 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16262 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16263 for a virtual file instead of checking a fixed list of node names.
16265 * simple.el (async-shell-command): New command.
16267 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16269 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16270 instead of `mount-info'.
16272 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16274 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16275 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16277 2009-07-02 Kenichi Handa <handa@m17n.org>
16279 * international/mule.el (set-keyboard-coding-system): Force *-unix
16280 coding-system to avoid eol conversion.
16282 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16285 Add handler for `process-file', `shell-command' and
16286 `start-file-process'.
16287 (tramp-gvfs-handle-shell-command)
16288 (tramp-gvfs-handle-start-file-process)
16289 (tramp-gvfs-handle-process-file): New defuns.
16290 (tramp-synce-list-devices): Simplify check for existence of property.
16292 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16294 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16296 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16298 * language/korean.el (set-language-info-alist): Add korean-cp949,
16301 2009-07-01 Kenichi Handa <handa@m17n.org>
16303 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16305 * international/encoded-kb.el: Deleted.
16307 * international/mule.el (set-keyboard-coding-system): Perform the
16308 necessary setup here instead of calling encoded-kbd-setup-display.
16310 2009-07-01 Glenn Morris <rgm@gnu.org>
16312 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16314 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16316 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16318 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16320 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16321 Handle also the 'rename case, when setting file modes. (Bug#3712)
16322 (tramp-default-file-modes): Remove execute permissions.
16324 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16325 (top): Add a default for "synce" in `tramp-default-user-alist'.
16326 Add completion function for "synce" method.
16327 (tramp-hal-service, tramp-hal-path-manager)
16328 (tramp-hal-interface-manager, tramp-hal-interface-device):
16330 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16331 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16334 * net/trampver.el: Update release number.
16336 2009-06-30 Kenichi Handa <handa@m17n.org>
16338 * international/fontset.el (setup-default-fontset): Add CJK fonts
16339 for symbols and the other miscellaneous characters.
16341 * language/korea-util.el (setup-korean-environment-internal):
16342 Make char-width-table suitable for Korean environments.
16343 (exit-korean-environment): Cancel above.
16345 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16346 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16347 setup-function to make char-width-table suitable for respective
16348 environments, and an exit-function to cancel that.
16350 * language/japan-util.el (setup-japanese-environment-internal):
16351 Call use-cjk-char-width-table with arg `ja_JP'.
16353 * international/characters.el (cjk-char-width-table): Delete it.
16354 (cjk-char-width-table-list): New variable.
16355 (use-cjk-char-width-table): New arg local-name.
16356 (use-default-char-width-table): Fix for the case that Emacs is
16357 already using the default char-width-table.
16359 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16361 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16362 modes mandatory. (Bug#3712)
16364 2009-06-29 Alan Mackenzie <acm@muc.de>
16366 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16367 correction between the visible width of TABs and their number of bytes.
16369 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16371 * server.el (server-buffer-done): Prevent kill-buffer from
16372 prompting by clearing the buffer modification flag (Bug#3696).
16374 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16376 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16377 (verilog-endcomment-reason-re): Support unique case and priority case.
16378 (verilog-basic-complete-re): Support localparam lineup.
16379 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16380 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16382 (verilog-leap-to-case-head): Now support *nested* unique &
16383 priority case statements.
16384 (verilog-auto-lineup): Make just declarations the default (as it
16386 (verilog-leap-to-case-head): Support priority/unique case statements.
16387 (verilog-auto-lineup): Rework to give users radio buttons to
16388 select the various styles of automatic lineup.
16389 (verilog-error-regexp-alist): Rework to support the XEmacs style
16390 of error regular expressions from compilers, lint tools &
16391 simulators. Note that GNU Emacs has made it impossible for a mode
16392 to load such things.
16393 (electric-verilog-terminate-line, verilog-indent-declaration)
16394 (verilog-auto-wiure): Rework for radio button selection of
16395 auto-lineup selection of specification of auto lineup.
16396 (verilog-beg-of-statement-1): Redesign to support proper operation
16397 in additional code, based on testing with auto-lineup.
16398 (verilog-calculate-indent, assignments & declarations)
16399 (verilog-backward-token): Enhance to support auto-lineup of
16400 assignments & declarations.
16401 (verilog-in-directive-p, verilog-at-struct-p): New function for
16402 easy test of whether we are.
16403 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16404 to support safe execution at almost anyline.
16405 (verilog-calc-1): Properly support indenting deep inside generate
16407 (verilog-init-font): Remove definition & use of verilog-init-font,
16408 as it is redundant with font-lock-defaults.
16409 (verilog-mode): Alter the definition of verilog-font-lock-defaults
16410 to avoid circular calls if syntax-ppss is a function (as is the
16411 case now in 22.x GNU Emacs) as that function would sometimes call
16412 itself, leading to (nearly) infinite recursion.
16413 (verilog-ovm-begin-re, verilog-ovm-end-re)
16414 (verilog-ovm-statement-re, verilog-leap-to-head)
16415 (verilog-backward-token): Add support for OVM macros. Some are
16416 complete statements, and others open and close scopes like begin
16418 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16419 (verilog-defun-level-generate-only-re): Really fix the defun-list
16421 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16422 coverpoint, constraint and cross statements.
16423 (verilog-defun-level-list, verilog-generate-defun-level-list)
16424 (verilog-all-defun-level-list): Redo these specifications - it is
16425 too hard to support eval-when compile aggregation of lists also
16426 built at when-compile time.
16427 (verilog-defun-level-list): Place defconsts of variables used in
16428 building regular expressions which are built in eval-when-compile
16429 bodies in the same eval-when-compile body to facilitate compile
16431 (verilog-beg-block-re-ordered): Support indenting
16432 virtual/protected tasks and functions.
16433 (verilog-defun-level-list, verilog-in-generate-region-p)
16434 (verilog-backward-ws&directives, verilog-calc-1): Speed up
16435 indentation of some module items (generate items).
16436 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16437 across virtual/protected tasks and functions.
16439 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
16441 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16442 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
16443 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16444 in concatenations. Reported by Yishay Belkind.
16445 (verilog-auto-ascii-enum): Support one-hot state machines in
16446 AUTOASCIIENUM. Suggested by Lloyd Gomez.
16447 (verilog-auto-inst, verilog-auto-inst-port): Include interface
16448 modport in AUTOINST and add vl-modport for users. Reported by
16450 (verilog-auto-inout-module, verilog-auto-inst)
16451 (verilog-decls-get-interfaces, verilog-insert-definition)
16452 (verilog-insert-one-definition, verilog-read-decls)
16453 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16454 (verilog-sig-modport, verilog-signals-combine-bus)
16455 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16456 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16457 Suggested by David Rogoff.
16458 (verilog-repair-open-comma): Fix non-insertion of comma when
16459 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
16460 (verilog-make-width-expression): Simplify [A-1:0] expression
16461 widths to just {A{1'b0}}.
16462 (verilog-mode): Cleanup checkdoc warnings.
16463 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16464 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16465 inputs/outputs or data type. Suggested by Vasu Kandadi.
16466 (next-error-last-buffer): Fix byte-compiler warning.
16467 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16468 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16469 or shell command text during AUTO expansion. Suggested by Tad Truex.
16470 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16471 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16472 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16473 in AUTOINOUT. Reported by Matthew Lovell.
16474 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16475 causing use of <= assignments. Reported by Alex Reed.
16476 (verilog-read-decls): Fix triand, trior, wand, wor to be
16477 recognized by AUTOWIRE. Reported by Spencer Isaacson.
16478 (verilog-extended-complete-re): Support import "DPI-C" functions.
16479 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16480 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
16481 (verilog-insert-date, verilog-insert-year)
16482 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16483 Windows systems. Reported by Michael Potts.
16484 (verilog-read-module-name): Fix AUTOINST when the child module
16485 declaration's name is a tick define. Reported by Elliot Mednick.
16486 (verilog-read-decls): Fix V2K parameter bit subscripts getting
16487 passed to next parameter's definition. Reported by Bruce T.
16488 (verilog-read-decls): Fix detecting "parameter int" when using
16489 AUTOINSTPARAM. Reported by Bruce T.
16490 (verilog-goto-defun): Fix goto not finding modules unless first
16491 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
16492 (verilog-mode): Expand -f flag arguments on entry to mode so
16493 verilog-goto-defun will work. Reported by Lawrence Butcher.
16494 (verilog-getopt): Expand environment variables in -f file
16495 arguments. Suggested by Lawrence Butcher.
16496 (verilog-set-define): Fix "Symbol's value as variable is void"
16497 when reading enumerations.
16498 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16499 Suggested by Stephen Peltan.
16500 (verilog-read-defines): Fix reading of enumerations in include
16501 files. Reported by Steve Peltan.
16503 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16505 * files.el (trash-directory): Fix defcustom type.
16507 2009-06-28 Juri Linkov <juri@jurta.org>
16509 * help-fns.el (describe-function-1): Correctly locate adviced
16510 functions in hyperlink (Bug#2438).
16512 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
16514 * files.el (trash-directory): Change default to nil.
16515 (move-file-to-trash): If trash-directory is nil and
16516 system-move-file-to-trash is unbound, perform freedesktop-style
16519 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16521 * files.el (move-file-to-trash): Add freedesktop trash
16524 2009-06-28 Glenn Morris <rgm@gnu.org>
16526 * autorevert.el (global-auto-revert-non-file-buffers)
16527 (global-auto-revert-mode): Doc fixes.
16529 2009-06-27 Johan Bockgård <bojohan@gnu.org>
16531 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
16533 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
16535 * faces.el (x-handle-named-frame-geometry): Ensure that we have
16536 opened an X connection before calling x-get-resource (Bug#3194).
16538 * play/doctor.el: Remove reference to obsolete website.
16539 (make-doctor-variables): Correct grammar mistake (Bug#2633).
16541 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
16543 Remove find-file-not-found-hook VC method. (Bug#2757)
16544 * vc-hooks.el (vc-file-not-found-hook)
16545 (vc-default-find-file-not-found-hook): Remove functions.
16546 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
16547 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
16550 * vc-git.el: Do not mention find-file-not-found-hook VC method.
16552 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
16554 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
16555 compatibility function for `looking-back'.
16557 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16558 Use `ispell-looking-back'.
16560 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
16562 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
16563 rather than `filename'.
16565 2009-06-23 Miles Bader <miles@gnu.org>
16567 * face-remap.el (text-scale-set): New function.
16569 2009-06-23 Glenn Morris <rgm@gnu.org>
16571 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
16573 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
16575 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
16577 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
16579 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
16580 Simplify Persian conditionals.
16582 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
16583 variable `filename'.
16585 * comint.el (comint-insert-input): Doc fix.
16587 * Makefile.in (ELCFILES): Fix typo in previous change.
16589 2009-06-23 Miles Bader <miles@gnu.org>
16591 * cus-start.el: Add entry for `recenter-redisplay'.
16593 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16595 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
16596 Add an optional argument for the backend, use it instead of
16597 calling vc-backend.
16598 (vc-mode-line): Add an optional argument for the backend.
16599 Pass the backend to vc-state and vc-working-revision. Move code for
16600 special handling for vc-state being a buffer to ...
16602 * vc-rcs.el (vc-rcs-find-file-hook):
16603 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
16605 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
16606 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
16607 vc-stay-local-p and vc-mode-line calls.
16609 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
16610 (vc-cvs-diff, vc-cvs-annotate-command)
16611 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
16612 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
16613 vc-mode-line calls.
16615 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
16617 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
16618 backend when calling vc-mode-line.
16619 (vc-register): Do not create a closure for calling the vc register
16620 function, call it directly.
16622 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
16624 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
16625 to make it obvious item can be clicked.
16627 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
16629 2009-06-23 Kenichi Handa <handa@m17n.org>
16631 * language/korea-util.el (korean-key-bindings): Change the binding
16632 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
16635 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
16637 Sync with Tramp 2.1.16.
16639 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
16641 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
16642 when a loading of a package fails. Completion function for rsync
16643 is `tramp-completion-function-alist-ssh'.
16644 (all): Replace all calls of `split-string' and
16645 `tramp-split-string' by `tramp-compat-split-string'.
16646 (tramp-default-method): Use `tramp-compat-process-running-p'.
16647 (tramp-default-proxies-alist): Allow also Lisp forms.
16648 (tramp-remote-path): Add choice "Private Directories".
16649 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
16650 (tramp-domain-regexp): Allow also "-", "_" and ".".
16651 (tramp-end-of-output): Remove newlines, and add "$" at the end.
16652 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
16653 (tramp-debug-message): Insert header line in debug buffer.
16654 (tramp-handle-directory-files-and-attributes-with-stat):
16655 Care about filenames with spaces, or starting with "-".
16656 (tramp-handle-dired-uncache): New defun.
16657 (tramp-handle-insert-directory): Don't flush the directory from
16658 cache, this is handled by `dired-uncache' now.
16659 (tramp-handle-insert-file-contents): Improve error handling.
16660 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16661 Quote `tramp-end-of-output'.
16662 (tramp-action-password): Improve trace message.
16663 (tramp-check-for-regexp): Both echoes must be present, before removing.
16664 (tramp-open-connection-setup-interactive-shell): Trace coding system.
16665 (tramp-compute-multi-hops): Eval cons cells of
16666 `tramp-default-proxies-alist'.
16667 (tramp-maybe-open-connection): Use the same command pattern for
16668 first hop and further hops.
16669 (tramp-wait-for-output): Remove handling of newlines.
16670 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
16671 (tramp-split-string): Remove function. It is handled in
16674 * net/tramp-cmds.el (tramp-bug):
16675 Recommend `tramp-cleanup-all-connections' in the bug mail.
16677 * net/tramp-compat.el (tramp-compat-split-string)
16678 (tramp-compat-process-running-p): New defuns.
16680 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
16681 for `dired-uncache'.
16683 * net/tramp-gvfs.el: New package.
16685 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
16686 Add handler for `dired-uncache'.
16687 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
16689 * net/trampver.el: Update release number. Make version check fit
16692 2009-06-22 Jim Meyering <meyering@redhat.com>
16694 Automatically handle .xz suffix (XZ-compressed files), too.
16695 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
16696 XZ is the successor to LZMA: <http://tukaani.org/xz/>
16698 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
16699 Nick Roberts <nickrob@snap.net.nz>
16701 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
16702 repository (http://sphinx.net.ru/hg/gdb-mi/).
16704 2009-06-22 Glenn Morris <rgm@gnu.org>
16706 * files.el (dir-locals-collect-mode-variables): Allow for any number of
16707 `mode' and `eval' entries. (Bug#3430)
16709 * Makefile.in (ELCFILES): Add fadr.elc.
16711 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
16712 differing behavior of \n and ^ in strings. (Bug#3385)
16714 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
16716 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
16718 (lisp-indent-function): Make it a defcustom.
16720 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
16722 * progmodes/gdb-ui.el: Replace with ...
16723 * progmodes/gdb-mi.el: ... this file.
16724 * progmodes/gud.el: Modify for gdb-mi.el.
16726 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
16728 * fadr.el: New file.
16730 See ChangeLog.14 for earlier changes.
16732 ;; Local Variables:
16736 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
16738 This file is part of GNU Emacs.
16740 GNU Emacs is free software: you can redistribute it and/or modify
16741 it under the terms of the GNU General Public License as published by
16742 the Free Software Foundation, either version 3 of the License, or
16743 (at your option) any later version.
16745 GNU Emacs is distributed in the hope that it will be useful,
16746 but WITHOUT ANY WARRANTY; without even the implied warranty of
16747 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16748 GNU General Public License for more details.
16750 You should have received a copy of the GNU General Public License
16751 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
16753 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1